1 2003-09-16 Angus Leeming <leeming@lyx.org>
9 * text.C: add #include "LColor.h".
11 2003-09-16 Angus Leeming <leeming@lyx.org>
13 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph, setUnderbar,
14 setNoun, setNumber, setColor, setLanguage): no longer return LyXFont &.
15 Store the FontBits::color variable as an int rather than as an LColor::color
16 so that we can move LColor.h out of the lyxfont.h header file.
18 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
19 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot string
22 * lyxrc.C: add #include "LColor.h".
24 2003-09-15 Angus Leeming <leeming@lyx.org>
26 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as a cow_ptr.
28 2003-09-15 Angus Leeming <leeming@lyx.org>
30 * LColor.h: add an EnumLColor wrapper for LColor::color.
32 * lyxfont.[Ch] (color, setColor, realColor):
33 * lyxtext.h, text.C (backgroundColor):
34 pass EnumLColor args to/from the functions, rather than LColor::color ones.
37 * lyxtext.h: forward declare EnumLColor.
39 * lyx_main.C: add #include "LColor.h".
41 2003-09-15 Angus Leeming <leeming@lyx.org>
43 * .cvsignore: add lyx-gtk.
45 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
50 * ParagraphParameters.C
64 * vc-backend.C: remove usage of STRCONV
66 2003-09-15 Angus Leeming <leeming@lyx.org>
68 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
69 explicitly define the color passed to the painter.
71 2003-09-15 Angus Leeming <leeming@lyx.org>
73 * bufferparams.C (BufferParams): reorder member initializers to avoid
76 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
78 * CutAndPaste.C (pasteSelection): remove an outdated #warning
79 * text.C (updateRowPositions): remove an unusual nop
81 2003-09-12 André Pönitz <poenitz@gmx.net>
92 * Counters.[Ch]: finish the 'automatic counters' job
94 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
96 * aspell.C: include <boost/assert.cpp> (compile fix)
98 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
100 * boost.C (assertion_failed): use lyx::support::abort instead of
103 2003-09-10 Angus Leeming <leeming@lyx.org>
105 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
108 2003-09-09 Angus Leeming <leeming@lyx.org>
110 134 files throughtout the source tree: replace 'using namespace abc;'
111 directives with the appropriate 'using abc::xyz;' declarations.
113 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
115 * boost.C (emergencyCleanup): moved here from LAssert.c
116 (assertion_failed): new function, called by BOOST_ASSERT
118 * several files: change Assert to BOOST_ASSERT
120 2003-09-09 Angus Leeming <leeming@lyx.org>
122 * buffer.[Ch]: Add an Impl class and move Buffer's member
123 variables into it. As a result move several header files out of
126 Add header files to lots of .C files all over the tree as a result.
128 2003-09-09 Angus Leeming <leeming@lyx.org>
130 * buffer.[Ch]: make Buffer's member variables private. Add
133 Lots of changes all over the tree as a result.
135 2003-09-08 Angus Leeming <leeming@lyx.org>
137 * graph.C: #include <config.h>.
139 2003-09-08 Angus Leeming <leeming@lyx.org>
143 * BufferView_pimpl.C:
172 * toc.C: remove redundant using directives.
174 2003-09-07 Angus Leeming <leeming@lyx.org>
176 * LaTeXFeatures.h: remove #include "support/types.h".
177 * ToolbarBackend.h: remove #include <algorithm>.
178 * changes.h: remove #include <ctime>.
179 * debug.h: remove #include <iosfwd>.
180 * graph.h: remove #include "support/std_string.h".
181 * lyx_main.h: remove #include <csignal>.
182 * lyxlex_pimpl.h: remove #include <fstream>.
183 * sgml.h: remove #include <algorithm>, <utility>.
184 * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
186 2003-09-07 Angus Leeming <leeming@lyx.org>
188 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
190 * converter.h: forward declare LatexRunParams.
191 * encoding.h: remove #include "lyxrc.h".
192 * lyxtext.h: remove #include "LColor.h".
193 * lyxtextclass.h: remove #include "support/types.h".
194 * trans.h: remove #include "tex-accent.h".
195 * trans_mgr.h: remove #include "tex-accent.h".
196 * insets/inset.h: remove #include "support/types.h", <vector>.
197 * insets/insetcollapsable.h: remove #include "LColor.h".
198 * insets/insetinclude.h: remove #include "dimension.h".
199 * insets/insetlatexaccent.h: remove #include "dimension.h".
200 * insets/insetoptarg.h:: remove #include "insettext.h".
201 * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
203 * insets/renderers.h: add #include "dimension.h".
204 * insets/updatableinset.h: add #include "support/types.h".
206 * many .C files: Associated changes.
208 2003-09-06 Angus Leeming <leeming@lyx.org>
210 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
211 inside testInvariant.
213 * PrinterParams.C: new file.
214 * PrinterParams.[Ch]: move the function bodies out of line.
216 2003-09-06 Angus Leeming <leeming@lyx.org>
218 * ParagraphParameters.h: forward declare ParameterStruct rather than
219 including its header file.
220 (depth): moved out-of-line.
222 2003-09-06 Angus Leeming <leeming@lyx.org>
224 * BufferView_pimpl.h:
227 * lyxfunc.h: forward declare LyXKeySym rather than
228 #include "frontends/LyXKeySym.h".
230 * BufferView_pimpl.C:
233 * lyxfunc.C: associated changes.
235 2003-09-06 Angus Leeming <leeming@lyx.org>
237 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
238 As a result, can remove the #include "insets/inset.h" from BufferView.h
240 2003-09-06 Angus Leeming <leeming@lyx.org>
242 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
243 As a result, can remove the #include "insets/inset.h" from BufferView.h
245 2003-09-06 Angus Leeming <leeming@lyx.org>
251 * bufferview_funcs.C:
252 * BufferView_pimpl.C:
257 * ParagraphParameters.C:
262 * frontends/controllers/ControlDocument.C:
263 * insets/insetcaption.C: rearrange the #includes into some sort of
266 * buffer.h: remove #includes ErrorList.h, undo.h
268 2003-09-06 Angus Leeming <leeming@lyx.org>
270 * support/types.h: add a 'depth_type' typedef, used to store the
271 nesting depth of a paragraph.
274 * ParameterStruct.h: use this lyx::depth_type typedef rather than
279 * ParagraphParameters.h:
280 * sgml.h: use lyx::depth_type rather than Paragraph or
281 ParameterStruct's depth_type.
284 * paragraph_funcs.h: no need to #include paragraph.h anymore.
287 * BufferView_pimpl.C:
289 * ParagraphParameters.C:
292 * bufferview_funcs.C:
299 * frontends/LyXView.C:
300 * frontends/controllers/ControlDocument.C:
301 * frontends/controllers/ControlErrorList.C:
302 * insets/insetbibitem.C:
303 * insets/insetbranch.C:
304 * insets/insetcaption.C:
305 * insets/insetcollapsable.C:
308 * insets/insetfloat.C:
309 * insets/insetfoot.C:
310 * insets/insetfootlike.C:
311 * insets/insetnewline.C:
312 * insets/insetquotes.C:
313 * insets/insettabular.C:
314 * insets/insettext.C:
315 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
317 * frontends/controllers/ControlChanges.C: #include "changes.h".
319 2003-09-06 Angus Leeming <leeming@lyx.org>
321 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
322 #including paragraph.h.
325 * RowList.h: deleted. Superfluous.
335 * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
337 * paragraph.h: don't forward declare ParagraphList.
340 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
341 rather than ParagraphList.h. paragraph.h is still needed for the
342 Paragraph::depth_type parameters.
344 * textcursor.h: enable it to compile stand-alone in light of the
347 * bufferview_funcs.C:
359 * frontends/controllers/ControlParagraph.C:
360 * frontends/controllers/ControlTabular.C:
361 * insets/insetmarginal.C:
362 * insets/insetminipage.C:
363 * insets/insetnote.C:
364 * insets/insetoptarg.C: add header files needed to compile again.
366 2003-09-06 Angus Leeming <leeming@lyx.org>
368 * RowList_fwd.h: new file, forward-declaring Row rather than
374 * insets/insettext.h: use it instead of RowList.h
376 * bufferview_funcs.C:
383 * text3.C: #include "RowList.h".
385 2003-09-05 Angus Leeming <leeming@lyx.org>
387 * factory.C (createInset):
388 * vspace.C (c-tor): replace sscanf call with an istringstream.
389 * ispell.C: re-add missing HP/UX headers.
390 * lyxserver.C: re-add missing os2 headers.
392 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
401 * text3.C: re-add missing system headers, needed for 2.95.2.
403 2003-09-05 Angus Leeming <leeming@lyx.org>
405 Changes most place everywhere due to the removal of using directives
406 from support/std_sstream.h.
408 2003-09-05 Angus Leeming <leeming@lyx.org>
410 Replace LString.h with support/std_string.h,
411 Lsstream.h with support/std_sstream.h,
412 support/LIstream.h with support/std_istream.h,
413 support/LOstream.h with support/std_ostream.h.
415 Changes resulting throughout the tree.
417 2003-09-05 Angus Leeming <leeming@lyx.org>
419 * sgml.h: ensure that the header file can be compiled stand-alone.
420 * *.C: strip out redundant #includes. (320 in total.)
422 2003-09-04 Angus Leeming <leeming@lyx.org>
424 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
425 here (from getPackages).
427 * debug.[Ch]: add a new EXTERNAL tag.
429 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
431 * text2.C (cursorEnd): simplify
433 (getColumnNearX): adjust
435 * text.C (computeBidiTables): adjust
438 * rowpainter.C (paintChars): adjust
439 (paintSelection): adjust
440 (paintChangeBar): adjust
443 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
445 (numberOfSeparators): adjust
447 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
453 * text3.C: Restricts the mouse click functionality
454 of insets like bibtex, include, toc and floatlist to the visible
455 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
456 up the dialogs. Cursor has to be in front of the inset (i.e.
457 start of row) for this to function.
459 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
461 * bufferview_funcs.C (currentState): output row information
463 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
465 * bufferview_funcs.C (currentState): output paragraph position
467 2003-09-04 Angus Leeming <leeming@lyx.org>
469 * FloatList.h: move out #include "Floating.h".
470 * LaTeX.h: move out #include "DepTable.h".
471 * LyXAction.h: move out #include "funcrequest.h".
472 * buffer.h: move out #include "author.h", "iterators.h".
473 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
474 * lyx_main.h: move out #include "errorlist.h".
475 * lyxfunc.h: move out #include "FuncStatus.h".
476 * lyxtext: move out #include "lyxcursor.h".
477 * paragraph_pimpl.h: move out #include "counters.h".
479 2003-09-03 Angus Leeming <leeming@lyx.org>
481 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
482 preamble_snippets list, enabling us to add snippets to the preamble only
483 if the snippet was not there already.
485 2003-09-04 Angus Leeming <leeming@lyx.org>
487 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
489 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
491 * lyxfunc.C (dispatch): if fitCursor did something be sure to
494 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
496 * BranchList.C: point fix, earlier forgotten
498 2003-09-02 Angus Leeming <leeming@lyx.org>
500 * box.C (contains): renamed from 'contained' after a fantastic
503 2003-09-02 John Levon <levon@movementarian.org>
509 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
511 2003-09-02 John Levon <levon@movementarian.org>
513 * text2.C: simplification of cursorEnd(), including partial
516 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
518 * buffer.C (readFile): add a space
520 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
522 * BufferView_pimpl.C (update): remove bogus fitCursor() call
524 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
526 * buffer.C (readFile): new function, take a filename and a
527 ParagraphList::iterator
529 (readFile): adjust, make it private. don't use setStream, make
530 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
531 always contain the filename.
533 * BufferView.C (insertLyXFile): simplify and make it work for
536 2003-08-30 John Levon <levon@movementarian.org>
538 * Makefile.am: fix dist (from Kayvan)
540 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
542 * most files: change to use const Buffer refs
544 2003-08-27 André Pönitz <poenitz@gmx.net>
546 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
547 on top of ownerPar().
549 2003-08-27 John Levon <levon@movementarian.org>
551 * funcrequest.C: properly initialise POD members
553 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
555 * lyxtext.h (top_y): move top_y from here
560 * BufferView_pimpl.[Ch]: to here
561 * frontends/screen.C:
562 * insets/insettabular.C:
563 * insets/insettext.C: adjust
564 * rowpainter.[Ch] (paintRows): remove LyXText & argument
566 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
569 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
571 2003-08-26 André Pönitz <poenitz@gmx.net>
573 * paragraph_func.[Ch] (outerPar): new function
579 * text2.C: remove Inset::par_owner
581 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
586 * text2.C: eliminates the needFullRow/display() stuff
587 altogether, putting the logic in metrics/draw in the insets.
589 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
591 * text2.C (redoParagraphInternal, redoParagraphs):
592 * text.C (redoParagraph): add a call to updateRowPositions at the
593 end of each 'metrics-like' call. Remove all others.
594 (getRow): remove the 'y-computing' version.
595 (getRowNearY): do not compute nor return the real y. Solve the
596 'y < 0' problem and simplify.
598 2003-08-22 Angus Leeming <leeming@lyx.org>
600 * *.[Ch]: clean-up of licence and author blurbs.
601 Also move config.h out of a few .h files and into a few .C files.
603 2003-08-22 André Pönitz <poenitz@gmx.net>
605 * lyxrow.[Ch]: add x_ and *fill_ members
610 * text2.C: adjust/remove prepareToPrint() calls
612 2003-08-22 André Pönitz <poenitz@gmx.net>
614 * lyxrow.[Ch]: add end_ member
616 * lyxrow_funcs.C: use LyXRow::end_
618 * lyxtext.h (singleWidth): add LyXFont parameter
621 * text2.C: adjust LyXText::singleWidth() calls
623 * text.C (redoParagraph): simplify row breaking logic
626 2003-08-19 André Pönitz <poenitz@gmx.net>
628 * funcrequest.C: initialize button_ member
631 * rowpainter.[Ch]: interface consolidation
633 2003-08-18 André Pönitz <poenitz@gmx.net>
636 * BufferView_pimpl.C:
640 * text3.C: remove LyXScreen::draw() and fitCursor calls
642 * BranchList.h: remove spurious semicolons
644 * MenuBackend.C: fix branchlist related crash
646 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
658 * text3.C: implements the 'branch inset'
659 idea. This allows the output of various versions of a document
660 from a single source version, selectively outputing or suppressing
661 output of parts of the text.
662 This implementation contains a 'branch list editor' in a separate
663 tab of the document settings dialog. Branches are user definable
664 and have a "display colour" to distinguish them on-screen.
666 ColorHandler was somewhat cleaned up.
667 (1) make possible a dynamically growing LColor list by allowing
668 the graphic context cache to grow along (vector);
669 (2) eliminate an IMHO unnecessary step in colour allocation.
671 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
673 * BufferView_pimpl.C: compile fix
675 2003-08-15 André Pönitz <poenitz@gmx.net>
677 * rowpainter.C: remove extra metrics calls
679 * lyxtext.h: merge the two constructors into a single one,
680 pass reference to owner's par list
682 * BufferView_pimpl.C:
686 2003-08-15 André Pönitz <poenitz@gmx.net>
696 * text_funcs.C: split LyXText::rowlist_ into individual
697 Paragraph::rows_ chunks
700 * BufferView_pimpl.[Ch]:
703 * text3.C: remove toggleSelection()
705 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
707 * bufferlist.C: beautify two alerts (shorter text of buttons)
708 * buffer.C: Remove redundant ' ' from message
710 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
711 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
712 rename VALIGN_CENTER to VALIGN_MIDDLE
714 2003-08-11 André Pönitz <poenitz@gmx.net>
716 * lyxtext.h (getPar):
717 * text.C: new function
719 2003-08-11 André Pönitz <poenitz@gmx.net>
722 * tracer.[Ch]: remove unneeded files
724 * InsetList.[Ch]: remove resizeInsetsLyXText()
729 * text3.C: merge insertParagraphs() and appendParagraph()
730 remove breakAgain(), update()
732 * BufferView_pimpl.[Ch]:
733 * bufferview_funcs.[Ch]:
737 * tabular.C: adjust after text & InsetList changes.
739 2003-08-08 André Pönitz <poenitz@gmx.net>
741 * text.C (insertChar, backspace): replace rowlist fiddling
742 with rebreak of full par
745 * text.C (breakAgainOneRow, redoHeightOfParagraph,
746 checkParagraph, updateInset): removed
748 2003-08-07 André Pönitz <poenitz@gmx.net>
751 * text3.C: merge some LFUN handlers, remove dead code
753 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
755 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
757 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
759 * text2.C (DEPM): fix part of bug 1255 and 1256
761 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
763 * BufferView_pimpl.C (workAreaDispatch): change to use
764 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
765 that are no mouse related.
767 2003-08-05 André Pönitz <poenitz@gmx.net>
770 * BufferView_pimpl.[Ch]:
771 * bufferview_funcs.C:
773 * text3.C: rip out "deep update"
775 * textcursor.[Ch] (last_sel_cursor): remove unused member
777 2003-08-04 André Pönitz <poenitz@gmx.net>
780 * BufferView_pimpl.[Ch]:
781 * ParagraphParameters.C:
782 * bufferview_funcs.C:
788 * text3.C: replace "complicated" BufferView::update(...) calls with
791 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
793 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
795 * Makefile.am (lyx_SOURCES): add paper.h
797 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
799 * Makefile.am: move things around so that both lyx-qt and
800 lyx-xforms can be built (according to --with-frontend). Then lyx
801 is a symbolic link to lyx-[firstfrontend]
803 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
805 * Always use std::endl with lyxerr
807 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
809 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
811 2003-08-01 André Pönitz <poenitz@gmx.net>
814 * BufferView_pimpl.[Ch]:
816 * text3.C: merge BufferView::repaint() and BufferView::update()
818 2003-08-01 José Matos <jamatos@lyx.org>
820 * buffer.[Ch]: file_format is no longer a buffer data element.
822 2003-08-01 André Pönitz <poenitz@gmx.net>
827 * text2.C: make redoParagraph more independent of current cursor
829 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
831 * text2.C: remove unneeded members
833 2003-07-30 André Pönitz <poenitz@gmx.net>
835 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
837 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
838 create a single function...
840 * paragraph_funcs.C (moveItem): ... here.
843 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
845 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
847 * LColor.[Ch]: Add comment and greyedout logical colors.
849 2003-07-30 André Pönitz <poenitz@gmx.net>
851 * tabular.C: don't use Assert too heavily. This crashes where it
854 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
856 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
857 is disabled (bug 1232)
859 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
861 * factory.C: limited 'arg' scope
863 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
865 * factory.C: fixed Note submenu issues
867 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
869 * factory.C: submenu for Note/Comment/Greyedout
871 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
874 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
876 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
879 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
880 greyedout. Patch provided by Jürgen Spitzmüller.
882 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
884 * kbmap.C (read): fix error message when reading bind files
886 2003-07-29 Angus Leeming <leeming@lyx.org>
888 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
889 certainly does not do what it purports to do. I am doing it, and
890 us, a favour by killing it.
892 2003-07-28 José Matos <jamatos@lyx.org>
894 * buffer.C (readBody, do_writeFile):
895 * paragraph.C(readParagraph): \end_document replaces \the_end.
897 2003-07-29 André Pönitz <poenitz@gmx.net>
900 * BufferView_pimpl.[Ch]:
904 * textcursor.[Ch]: remove toggleToggle & Co
906 2003-07-28 José Matos <jamatos@fep.up.pt>
908 * buffer.C (readParagraph):
909 * params_func (readParToken, readParagraph):
910 * paragraph.C (write): \layout -> \begin_layout.
912 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
914 * lyxlex_pimpl.C (setFile): clean up slightly.
916 * bufferparams.h: add compressed var
918 * buffer_funcs.C (readFile): adjust for LyXLex change
919 (newFile): ditto + simplify
921 * buffer.C (writeFile): handle writing of compressed files
923 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
924 Check if the file is compressed and set a bufferparm if so.
926 * Makefile.am (lyx_LDADD): remove explicit -lz
928 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
930 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
931 makeDocBookFile): put the real LyX version in the first line of
935 * version.C.in: remove lyx_docversion
937 * tabular.C (write_attribute): add a template-based version to
940 2003-07-28 André Pönitz <poenitz@gmx.net>
945 * text3.C: use doubles again for x-coordinates. They are needed.
947 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
949 * messages.C (getLocaleDir): use lyx_localedir()
951 * lyxlex_pimpl.C (setFile): compress stuff
953 * buffer.C (writeFile): add some compression stuff
954 (do_writeFile): new func, dont call expliti close... will this
957 * Makefile.am (lyx_LDADD): add -lz
959 2003-07-28 José Matos <jamatos@fep.up.pt>
961 * buffer.C: increment file format.
962 * paragraph_funcs (readParagraph, readParToken):
963 * paragraph.C (readParagraph): add \end_layout.
965 2003-07-27 Angus Leeming <leeming@lyx.org>
967 * Makefile.am: remove special casing for configure-time setting of
968 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
970 * lyx_main.C (init): remove all Jean-Marc's magic setting of
971 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
973 2003-07-26 André Pönitz <poenitz@gmx.net>
975 * paragraph_func.[Ch]:
976 * paragraph.C (realizeFont): inline it whereever it is used
981 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
984 2003-07-26 André Pönitz <poenitz@gmx.net>
988 * text2.C: get rid of LyXText::need_break_row
990 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
992 * toc.[Ch]: put namespace toc inside namespace lyx
994 * MenuBackend.C (expandToc2): adjust for lyx::toc
997 * lyxfunc.C (dispatch): adjust for lyx::find
999 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1000 lyx::find instead. Reorganize a bit.
1001 (LyXReplace): rename to replace
1002 (LyXFind): rename to find
1004 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1007 2003-07-26 André Pönitz <poenitz@gmx.net>
1009 * text.C (setHeightOfRow): restrict scope of temporary variable
1011 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1012 code (never has been used?)
1014 2003-07-27 Asger Alstrup <alstrup@local>
1016 * text.C (fill): Optimise algorithm to exploit that we can reuse
1017 the LyXFont for many characters.
1018 (setHeightOfRow): Same thing.
1019 (rowBreakPoint): Same thing.
1021 2003-07-26 Asger Alstrup <alstrup@local>
1023 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1025 * text.C (singleWidth): Spurious font copying in hot-spot
1026 singleWidth avoided. Reorder tests for arabic for efficiency.
1028 * text.C (fill): handle empty paragraphs better.
1030 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1033 * encoding.h: add includes
1035 * lyxrc.C: remove reading of bind files
1037 * lyx_main.C (init): setup bindings and menus only if we have a
1040 * kbmap.C (read): new method. Do the actual reading of bind
1043 * converter.C (dvipdfm_options):
1046 (output): adapt PAPER_* enums.
1048 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1050 * bufferparams.h: remove paper-related enums from there
1052 * paper.h: New file. A trivial header file to hold paper-related
1053 enums. It should later expand to contain many paper-related
1056 * lyxrc.C: declare extern displayTranslator
1058 2003-07-27 José Matos <jamatos@fep.up.pt>
1060 * tabular.[Ch] (linuxdoc): add support for tables and figures
1063 2003-07-27 José Matos <jamatos@fep.up.pt>
1065 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1066 consistency in both functions.
1067 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1069 2003-07-26 Asger Alstrup <alstrup@local>
1071 * rowpainter.C (paintRows): Change algorithm to work directly on
1072 the insets rather than asking every character in the document
1073 whether its an inset.
1075 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1077 * buffer.C (openFileWrite): factorize some code
1079 2003-07-26 Angus Leeming <leeming@lyx.org>
1082 * lyx_main.[Ch]: replace occurances of system_tempdir with
1085 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1087 * rename Inset to InsetOld
1089 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1091 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1092 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1093 which I think is a bit clearer. EDIT is gone, since it was
1094 premature optimisation, and broken for mathed anyway.
1095 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1096 with cursor positioning in insets as well (math insets still do not
1097 work, but that's a different story anyway.) It mysteriously
1098 crashes sometimes with undo in the first paragraph, but I'm fairly
1099 confident that this is a compiler bug.
1101 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1103 * paragraph.C (Paragraph): adjust for new clone return type
1105 (copyIntoMinibuffer): ditto
1107 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1109 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1110 by not having a special case, and always doing a full rebreak of
1111 the document after undo.
1113 2003-07-23 Angus Leeming <leeming@lyx.org>
1115 * factory.C (createInset): InsetExternal::setParams now takes a
1118 2003-07-23 Angus Leeming <leeming@lyx.org>
1120 * factory.C (createInset): changed interface to the external and
1121 graphics mailers' string2params functions.
1123 2003-07-23 Angus Leeming <leeming@lyx.org>
1125 * factory.C (createInset): pass a
1126 Buffer const * parameter to InsetExternalMailer's string2params.
1128 2003-07-22 John Levon <levon@movementarian.org>
1130 * Thesaurus.h: include the right aiksaurus header
1132 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1134 * MenuBackend.C (expand): check menu shortcuts unconditionally
1136 2003-07-21 Angus Leeming <leeming@lyx.org>
1138 * factory.C (createInset): pass a
1139 buffer_path parameter to InsetGraphicsMailer's string2params.
1141 2003-07-21 Angus Leeming <leeming@lyx.org>
1143 * BufferView_pimpl.C (buffer):
1146 * lyxfunc.C (dispatch):
1147 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1148 rather than the grfx shortcut.
1150 2003-07-21 André Pönitz <poenitz@gmx.net>
1152 * rowpainter.C: remove unused variables
1155 * tabular_funcs.h: move to tabular.C
1156 * Makefile.am: adjust
1158 * tabular.[Ch]: basic optical cleaning
1160 * author.h: pass references, not values
1162 2003-07-18 André Pönitz <poenitz@gmx.net>
1170 * text3.C: two-phase drawing for InsetText and InsetTabular
1171 some float -> int changes.
1173 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1175 * lyx_main.C: fix the fix
1177 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1179 * lyx_main.C: fix a crash in batch mode if no files specified
1182 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1184 * format.[Ch] (papersize): moved to BufferParams
1185 * converter.[Ch] (dvips_options): moved to BufferParams
1186 (dvipdfm_options): moved to anon namespace
1187 * bufferparams.[Ch]: added above functions.
1189 2003-07-17 André Pönitz <poenitz@gmx.net>
1193 * text2.C: don't call inset->update() anymore
1195 * metricsinfo.[Ch]: add convenience constructor
1197 2003-07-16 André Pönitz <poenitz@gmx.net>
1202 * text2.C: replace the LyXCursor::irow_ member with
1203 on-demand computation of the value
1205 2003-07-16 John Levon <levon@movementarian.org>
1207 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1209 2003-07-15 André Pönitz <poenitz@gmx.net>
1212 * text2.C: remove no more needed refresh_row
1214 2003-07-15 André Pönitz <poenitz@gmx.net>
1219 * text3.C: refresh_status tristate -> need_update bool
1221 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1223 * lyxtext.h (init): remove reinit argument (act as if always true)
1224 * text2.C: adjust to that
1226 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1228 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1229 * text3.C: use it to delete selections in some cases
1230 (bugs 441, 673, 702, 954).
1232 2003-07-14 André Pönitz <poenitz@gmx.net>
1234 * rowpainter.[Ch]: reduce interface
1236 2003-07-14 André Pönitz <poenitz@gmx.net>
1238 * BufferView_pimpl.C:
1239 * text2.C: adjust after removing unused BufferView * argument
1241 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1243 * text2.C (init): fix a crash fired on resize
1245 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1247 * buffer.[Ch]: added new closing signal
1248 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1249 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1250 BufferView::Pimpl via the closing the signal
1252 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1254 * buffer.[Ch]: take out all bv-related from buffer
1256 * BufferView_pimpl.[Ch]: connect to new signals
1257 * CutAndPaste.C: removed useless asserts
1258 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1261 * lyxfunc.C: moved view-related funciontality from vc here
1262 * paragraph.C: removed outdated comments
1265 2003-07-10 André Pönitz <poenitz@gmx.net>
1267 * BufferView_pimpl.C:
1271 * text2.C: remove InsetText::InnerCache, clean up consequences
1273 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1275 * ispell.C: fix two typos in error messages
1277 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1279 * Extend Note inset to other forms of annotation like Comment
1280 and Greyedout. Right button click gives dialog.
1282 Files modified or added (+):
1286 * ControlNote.[Ch] +
1288 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1289 frontends/controllers
1293 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1295 * aspell.C: add missing namespace lyx::support
1297 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1299 * BufferView.[Ch] (newFile): Add
1300 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1301 * LaTeX.[Ch] (message): added this signal and use it
1302 * buffer.[Ch] (busy, message): added these signals and use them
1303 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1307 * importer.C: use buffer signals instead of direct bv calling
1308 * lyx_cb.[Ch] (ShowMessage): removed
1311 * paragraph_funcs.C:
1312 * text2.C: use buffer signals
1314 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1316 * introduce namespace lyx::graphics
1318 2003-07-02 André Pönitz <poenitz@gmx.net>
1320 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1322 2003-07-01 André Pönitz <poenitz@gmx.net>
1329 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1330 text*.C to text_func.C
1332 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1334 * introduce namespace lyx::support
1336 2003-06-30 André Pönitz <poenitz@gmx.net>
1341 * text.C: re-enable --with-included-string
1343 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1345 * textcursor.C: add <config.h>
1347 * text.C (getWord): remove const from word_location arg
1349 * lyxvc.C (getLogFile): fix const type order
1351 * lyxtext.h: remove const from word_location arg, add arg name
1353 * lyxlayout.h: currect type on labeltype.
1355 * importer.C: correct \file
1357 * converter.C (intToFormat): use std:: on ret val, ws changes
1359 * bufferlist.h: correct \file
1361 * buffer.C (makeLinuxDocFile): fix const type order
1362 (makeDocBookFile): ditto
1363 (fillWithBibKeys): use std:: on stdlib args.
1365 * CutAndPaste.C: fix authors.
1366 (availableSelections): use std:: on return vector
1368 2003-06-27 André Pönitz <poenitz@gmx.net>
1370 * BufferView_pimpl.C:
1371 * bufferview_funcs.C:
1379 * text3.C: remove LyXCursor::row_ member
1382 * text.C: rename fullRebreak() to partialRebreak() and implement
1383 a fullRebreak() that really bereks fully
1385 * textcursor.h: new struct for cursor-related data
1387 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1389 * lyx_main.C (LyX): get full path of document loaded on the
1392 2003-06-26 André Pönitz <poenitz@gmx.net>
1394 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1395 remove unused/broken operator>,<,>=.
1397 * text.C: remove only use of broken operator<= in an Assert().
1399 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1401 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1402 moved errorlist_.clear to showErrorList
1404 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1406 * converter.C (scanLog, runLaTeX):
1407 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1408 move the bv->showErrorList call to the callers
1409 * lyxfunc.C: i.e. here...
1411 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1412 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1413 namespace, the second to...
1414 * buffer_funcs (BufferFormat, parseErrors): added
1415 * errorlist.C (ErrorList(TeXErrors const &)): removed
1417 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1419 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1421 2003-06-24 "Garst R. Reese" <reese@isn.net>
1425 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1427 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1429 * version.C.in: change docversion to 1.4
1431 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1433 * buffer.C: fix a bug just introduced
1435 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1437 * buffer.[Ch]: added the parseError signal and use it, removed
1439 * BufferView.[Ch] (addError): moved to ...
1440 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1441 to the Buffer::parseError signal to catch (guess what) parse errors
1442 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1444 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1446 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1447 ability to create a buffer and to return an existing one from
1448 the list. Moved these functions to...
1449 * buffer_funcs.[Ch]: added
1450 * BufferView.[Ch] (loadLyXFile): added
1451 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1452 job removed from bufferlist::loadLyXFile.
1453 * buffer.C (setReadOnly): make it work without view
1454 (i.e added an if (users))
1456 2003-06-19 Angus Leeming <leeming@lyx.org>
1459 * LyXAction.C (init):
1460 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1461 with LFUN_DIALOG_SHOW <name> <data>.
1463 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1465 * CutAndPaste.C (availableSelections): small compilation fix for
1466 ancient (gcc 2.9x) compilers
1468 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1470 * text3.C (cursorNext): add tmp var
1472 * text2.C (updateCounters): for function calling out of for clause
1473 (replaceSelectionWithString): ditto
1474 (insertStringAsParagraphs): ditto
1475 (getColumnNearX): add tmp var
1476 (setCursorFromCoordinates): add tmp var
1477 (cursorDownParagraph): add tmp var
1478 (deleteEmptyParagraphMechanism): add tmp var
1480 * text.C (insertChar): add tmp var
1482 * rowpainter.C (paintDepthBar): add tmp var
1484 * CutAndPaste.C (availableSelections): potentially check all
1485 paragraphs in a cut to fill the shown strings.
1487 2003-06-18 André Pönitz <poenitz@gmx.net>
1489 * kbmap.[Ch]: use vector<> instead of list<>
1491 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1493 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1494 pasteSelection with index
1496 * text2.C (pasteSelection): modify, call pasteSelection with index
1498 * paragraph.C (asString): reimplement version with no interval to
1499 call the one with interval.
1501 * lyxtext.h: add index arg to pasteSelection
1503 * MenuBackend.C (MenuItem): handle PasteRecent
1504 (Menu::read::Menutags): add md_pasterecent
1506 (expandPasteRecent): new function
1509 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1511 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1513 (availableSelections): new function
1515 2003-06-17 Angus Leeming <leeming@lyx.org>
1517 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1519 2003-06-17 Angus Leeming <leeming@lyx.org>
1522 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1524 * lyxfunc.C (dispatch): invoke it.
1526 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1528 * iterators.C (operator++, ParPosition): reintroduce some
1529 const_cast for the benefit of older compilers.
1531 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1533 * text3.C (dispatch): do not modify clipboard when doing
1534 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1535 LFUN_DELETE_SKIP on a selection selection
1537 2003-06-16 André Pönitz <poenitz@gmx.net>
1543 * tabular.[Ch]: IU of clone() and getLabelList();
1545 2003-06-13 André Pönitz <poenitz@gmx.net>
1547 * tabular.h: compactification
1549 2003-06-12 André Pönitz <poenitz@gmx.net>
1553 * tabular_funcs.h: some renaming plus whitespace
1555 2003-06-12 André Pönitz <poenitz@gmx.net>
1558 * BufferView_pimpl.C:
1564 * toc.C: Return a Paragraph & for ParIterator::operator*()
1566 2003-06-11 John Levon <levon@movementarian.org>
1570 * ToolbarBackend.C: add "Toolbars" section and
1573 2003-06-10 Angus Leeming <leeming@lyx.org>
1576 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1578 * lyxfunc.C (dispatch): invoke it.
1580 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1582 * main.C: protect <ios> with HAVE_IOS
1583 (main): protect sync_with_stdio with HAVE_IOS
1585 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1587 * text2.C (cutSelection): adjust
1588 (pasteSelection): adjust
1590 * messages.C: handle get of empty string
1592 * main.C (main): use sync_with_stdio(false)
1594 * lyxfunc.C (dispatch): adjust
1596 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1597 (WriteAs): remove unneeded BufferView arg.
1599 * bufferparams.h: use correct types on papersize, papersize2 and
1602 * bufferparams.C (readToken): adjust for type
1603 (writeLaTeX): add missing cases to switch.
1605 * bufferlist.C (quitWriteBuffer): adjust
1608 * buffer.C (asciiParagraph): remove some commented code.
1610 * CutAndPaste.C: remove current_view extern variable.
1611 (cutSelection): add BufferParams arg.
1612 (eraseSelection): add BufferParams arg.
1613 (pasteSelection): add Buffer const & arg
1615 2003-06-07 John Levon <levon@movementarian.org>
1618 * paragraph_funcs.C:
1619 * paragraph_pimpl.C:
1623 * paragraph.C: allow InsetERT to freely space lines,
1624 and some consolidation of code
1626 2003-06-06 José Matos <jamatos@fep.up.pt>
1628 * buffer.C (makeDocBookFile): fix bug #821
1630 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1632 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1634 2003-06-04 Angus Leeming <leeming@lyx.org>
1636 * buffer.C: bump format to 224.
1638 2003-06-05 André Pönitz <poenitz@gmx.net>
1640 * text2.C (redoParagraphs): remove two const_cast<>
1642 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1644 * ParagraphList.h: remove last remnants of NO_STD_LIST
1646 2003-06-03 Angus Leeming <leeming@lyx.org>
1648 * factory.C (createInset): small change to the way InsetExternal's params
1651 2003-06-04 André Pönitz <poenitz@gmx.net>
1653 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1655 * paragraph_pimpl.h:
1656 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1658 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1660 * undo_funcs.C: make some simple cases of undo work again
1662 2003-06-03 John Levon <levon@movementarian.org>
1664 * ispell.C: HPUX doesn't have sys/select.h
1667 2003-06-03 John Levon <levon@movementarian.org>
1669 * CutAndPaste.C: update tabular and include inset
1674 * paragraph.C: remove owningBuffer(), don't pass Buffer
1677 * factory.C: insetGraphicsParams changed
1679 2003-06-02 John Levon <levon@movementarian.org>
1685 * text3.C: remove insetparent
1687 2003-06-02 John Levon <levon@movementarian.org>
1690 * buffer.C: fix inset_iterator.end(), move out of line
1693 2003-06-01 John Levon <levon@movementarian.org>
1695 * text3.C: use a proper cut/paste when doing inset
1696 insert (from Jürgen Spitzmüller)
1698 2003-06-01 John Levon <levon@movementarian.org>
1700 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1702 2003-05-30 André Pönitz <poenitz@gmx.net>
1704 * rowpainter.C: unify second drawing phase
1706 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1708 * trans_mgr.C: remove one case of current_view
1710 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1712 * paragraph_funcs.h: remove paragraph.h include
1714 * paragraph.h: delete NO_STD_LIST stuff
1716 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1718 * buffer.h: remove paragraph.h include
1720 * ParagraphList.C: delete file
1722 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1724 * toc.C (getTocList): adjust
1726 * paragraph_pimpl.C (validate): adjust
1728 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1730 * paragraph.C (Paragraph): adjust
1731 (getPositionOfInset): use const_iterator, adjust
1732 (bibitem): use const_iterator, adjust
1733 (setInsetOwner): adjust
1735 * iterators.C (operator++): adjust
1737 * InsetList.[Ch]: Replace selfmade iterator with standard
1738 vector::iterator also introduce const_iterator. Remove getPos,
1739 getInset and setInset from InsetTable. Adjust accordingly.
1741 * BufferView.C (lockInset): adjust
1742 (ChangeInsets): adjust
1744 * tabular.[Ch]: delete commented same_id functions
1746 2003-05-28 John Levon <levon@movementarian.org>
1748 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1750 2003-05-28 André Pönitz <poenitz@gmx.net>
1752 * metricsinfo.[Ch]: remove 'fullredraw' member
1754 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1756 * lyxtextclass.C (operator): remove caching.
1758 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1762 * text2.C (cursorBottom): adjust
1763 (setCounter): use ParagraphList::find, adjust
1765 * text.C (workWidth): use ParagraphList::find, adjust
1767 * lyxcursor.C (LyXCursor): adjust
1769 * buffer.C (inset_iterator): adjust
1771 * ParagraphList.h: make iterator(value_type) private, make
1772 ParagraphList a friend of iterator.
1774 * ParagraphList.C (find): new function
1776 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1778 2003-05-27 André Pönitz <poenitz@gmx.net>
1780 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1782 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1784 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1786 2003-05-26 John Levon <levon@movementarian.org>
1788 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1790 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1792 * remove same_id from function signatures, adjust.
1794 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1796 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1798 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1800 * paragraph.C (Paragraph): get rid of same_ids parameter
1802 * ParagraphList.C (insert): adjust
1805 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * paragraph_funcs.C (breakParagraph): adjust
1808 (breakParagraphConservative): adjust
1810 * buffer.C (readParagraph): adjust
1812 * ParagraphList.C (insert): take a reference instead of a pointer
1815 * paragraph.[Ch] (id): new function
1817 * bufferlist.C (newFile): adjust
1819 * ParagraphList.C (ParagraphList): adjust
1821 (push_back): take a reference instead of a pointer.
1823 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1825 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1828 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1829 set else use old code.
1831 * ParagraphList.C: remove all NO_NEXT code and only compile this
1832 code of NO_STD_LIST is set.
1834 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1836 * BufferView_pimpl.C:
1846 * graphics/GraphicsConverter.C:
1847 * graphics/PreviewLoader.C: header adjustment
1849 2003-05-23 Angus Leeming <leeming@lyx.org>
1851 * LaTeXFeatures.[Ch] (useBabel): new method.
1852 * bufferparams.C (writeLaTeX): use it.
1854 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1856 * ParagraphList.h (set): remove unused function.
1858 2003-05-23 André Pönitz <poenitz@gmx.net>
1861 * BufferView_pimpl.C:
1865 * undo_funcs.C: setUndo reworked
1867 * iterators.[Ch]: add access to topmost ParagraphList
1869 * lyxtext.[Ch] (workWidth): add a const
1871 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1873 * texrow.[Ch] (increasePos): remove function
1874 * exporter.C (export): removed unused var and outdated comment
1876 2003-05-23 Angus Leeming <leeming@lyx.org>
1878 * latexrunparams.h: rename fragile as moving_arg.
1879 * paragraph.C (simpleTeXOnePar): ditto.
1880 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1882 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1884 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1886 (textUndoOrRedo): comment out a currently unused var.
1888 * paragraph.h (NO_NEXT): enable NO_NEXT
1890 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1892 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1894 * exporter.C (Export): adjust for removeAutoInsets removal.
1896 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1898 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1900 * BufferView.[Ch] (removeAutoInsets): delete function
1902 2003-05-22 Angus Leeming <leeming@lyx.org>
1904 * latexrunparams.h: add a free_spacing variable.
1906 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1907 to pass moving_arg, as the data is stored in runparams.fragile.
1909 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1910 to Inset::latexOptional or to simpleTeXOnePar.
1912 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1913 free_spacing arg to Inset::latexOptional.
1915 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1918 2003-05-22 Angus Leeming <leeming@lyx.org>
1920 * latexrunparams.h: add fragile and use_babel variables.
1922 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1923 * buffer.C (makeLaTeXFile): store this returned value in
1924 runparams.use_babel, thus passing it to the inset::latex methods.
1926 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1927 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1929 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1930 longer has a fragile arg, as it is stored in runparams.fragile.
1932 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1933 moving_arg parameter as the data is stored in runparams.fragile.
1935 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1936 a fragile parameter as the data is stored in runparams.fragile.
1938 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1940 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1942 2003-05-22 Angus Leeming <leeming@lyx.org>
1944 * latexrunparams.h: add a 'bool nice' which defaults to false.
1946 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1947 now encapsulated within runparams.
1949 * bufferlist.C (updateIncludedTeXfiles):
1950 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1952 2003-05-22 Angus Leeming <leeming@lyx.org>
1954 * latexrunparams.h: new file containing struct LatexRunParams.
1955 * Makefile.am: add new file.
1957 * LaTeX.[Ch] (c-tor, run):
1958 * buffer.[Ch] (makeLaTeXFile):
1959 * bufferlist.[Ch] (updateIncludedTeXfiles):
1960 * converter.C (convert, scanLog):
1961 * converter.[Ch] (runLaTeX):
1962 * exporter.C (Export):
1963 * paragraph.[Ch] (simpleTeXOnePar):
1964 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1965 * paragraph_funcs.[Ch] (latexParagraphs):
1966 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1967 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1968 pass around a LatexRunParams parameter.
1970 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1972 * paragraph.[Ch]: remove unused constructor
1974 * ParagraphList.C (erase): new function, taking two iterators
1976 2003-05-22 André Pönitz <poenitz@gmx.net>
1978 * undo_funcs.C: remove duplicated code
1980 * iterator.[Ch]: operator=
1982 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1984 * tabular.C (SetMultiColumn): ws changes
1986 * rowpainter.C (paintFirst): get rid of a ->previous
1988 * lyx_cb.C (getPossibleLabel): parlist simplification
1990 * BufferView.C (ChangeInsets): simplify slightly.
1992 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1994 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1995 * lfuns.h: new LFUN_SPACE
1996 * lyxfunc.C: protected space has a new lfun
1997 * paragraph_funcs.C: read new space insets
1999 * factory.C: handle new space insets
2001 2003-05-22 André Pönitz <poenitz@gmx.net>
2004 * BufferView_pimpl.C:
2007 * undo_funcs.C: return a ParIterator from getParFromID.
2009 * iterators.[Ch]: add two const's
2011 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2013 * toc.C (getTocList): adjust
2015 * iterators.[Ch]: rework for parlist
2017 * buffer.C (par_iterator_begin): adjust
2018 (par_iterator_end): adjust
2020 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2022 * BufferView.C (removeAutoInsets): adjust
2023 (ChangeInsets): adjust
2025 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2027 * text.C (top_y): fix bug 1110
2029 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2031 * errorlist.[Ch]: added
2034 * BufferView_pimpl.C:
2035 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2038 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2040 * Makefile.am: ensure that lyx is relinked upon changes to the
2041 various "convenience" libs.
2043 2003-05-20 Angus Leeming <leeming@lyx.org>
2045 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2046 files are compiled in alphabetical order again.
2048 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2050 2003-05-19 Angus Leeming <leeming@lyx.org>
2052 * gettext.[Ch]: remove "char const * _(char const *)".
2054 2003-05-19 André Pönitz <poenitz@gmx.net>
2056 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2065 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2067 2003-05-19 André Pönitz <poenitz@gmx.net>
2071 * lyxtextclass.[Ch]:
2073 * paragraph_funcs.[Ch]:
2075 * text3.C: more insetenv work
2077 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2079 * ParagraphParameters.C (params2string): small bug fixed
2081 2003-05-16 André Pönitz <poenitz@gmx.net>
2084 * bufferview_funcs.C: patch from Kornel Benko to prevent
2085 crash when _(...) is called twice in a statement
2087 2003-05-16 André Pönitz <poenitz@gmx.net>
2094 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2096 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2098 * lyx_main.C (init): remove spurious static_cast
2100 2003-05-14 André Pönitz <poenitz@gmx.net>
2102 * BufferView.C: fix format string
2104 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2106 * BufferView.[Ch] (insertErrors): removed
2107 * BufferView.[Ch] (showErrorList): added
2108 * buffer.C (runChkTeX):
2109 * converter.C (scanLog): call showErrorList instead of inserterrors
2111 2003-05-13 André Pönitz <poenitz@gmx.net>
2113 * BufferView_pimpl.C:
2115 * bufferview_func.C:
2122 * tabular_funcs.h: tostr() from its own header
2124 * ParagraphParameters.C:
2129 * text3.C: STRCONV()
2131 2003-05-12 André Pönitz <poenitz@gmx.net>
2134 * BufferView_pimpl.C:
2138 * ParagraphParameters.C:
2142 * bufferview_funcs.C:
2155 * paragraph_funcs.C:
2159 * text3.C: boost::format -> bformat all over the place
2162 2003-05-09 André Pönitz <poenitz@gmx.net>
2164 * LColor.[Ch]: Pimpl the #include <map> away
2166 2003-05-09 John Levon <levon@movementarian.org>
2168 * bufferlist.C: never remove emergency saves
2170 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2172 * Makefile.am: better lib building
2174 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2178 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2179 (simpleTeXSpecialChars): adjust
2180 (simpleTeXSpecialChars): adjust
2181 * paragraph.C (simpleTeXOnePar): adjust
2182 * buffer.C (makeLaTeXFile): adjust
2184 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2186 * text2.C (changeDepth): parlist cleanup
2187 (getColumnNearX): ditto
2189 * rowpainter.C (getLabelFont): parlist cleanup
2191 * bufferlist.C (newFile): parlist cleanup
2193 * CutAndPaste.C (eraseSelection): parlist cleanup
2195 * BufferView_pimpl.C (trackChanges): parlist cleanup
2198 * BufferView.C (lockInset): parlist cleanup.
2199 (ChangeInsets): ditto
2201 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * CutAndPaste.h: Update file header.
2205 * CutAndPaste.C: Update file header.
2206 Store the parts cut out of the Document in a limited_stack.
2207 (copySelection): adjust
2208 (pasteSelection): new function, takes the index in the limited stack.
2209 (nrOfParagraphs): adjust
2210 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2211 simplify error inset insertion.
2212 (checkPastePossible): adjust
2214 2003-05-06 John Levon <levon@movementarian.org>
2216 * text2.C: don't cast wrap inset to float
2218 2003-05-05 André Pönitz <poenitz@gmx.net>
2221 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2223 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2224 few naked Paragraph *.
2226 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2228 * bufferparams.C: Output warning if a document with missing
2229 TeX document class is loaded
2230 * exporter.C: Disable TeX exports if the document class is missing
2233 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2234 isTeXClassAvailable()
2236 2003-05-03 John Levon <levon@movementarian.org>
2239 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2240 explicit cursor show/hide
2242 * BufferView_pimpl.h:
2243 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2244 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2246 * lyxfunc.C: hide cursor before dispatching.
2251 * text3.C: remove explicit cursor hides
2253 2003-05-02 André Pönitz <poenitz@gmx.net>
2255 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2258 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2261 * text2.C: tiny whitespace
2263 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2265 * undo_funcs.C: almost only ws changes.
2267 * ParagraphList.C (splice): just return if pl is empty.
2269 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2271 * ParagraphList.C (splice): new function.
2273 * CutAndPaste.C (pasteSelection): use it
2275 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2277 * CutAndPaste.C (pasteSelection): remove the last next and
2278 previous from this file.
2280 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2282 * CutAndPaste.C (pasteSelection): more clean up, user proper
2283 ParagraphList functions for pasteing.
2285 * ParagraphList.C (insert): new function, three arg insert
2287 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2289 * ParagraphList.C (insert): new function, three arg insert
2291 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2294 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2296 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2298 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2300 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2302 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2304 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2305 (copySelection): clean up a bit.
2306 (pasteSelection): use make_pair
2308 * ParagraphList.C (ParagraphList): implement copy constructor
2309 (operator=): implement, base on copy constructor.
2312 * paragraph.C (erase): return a bool
2314 * paragraph_pimpl.C (erasePos): remove function, move contents...
2315 (erase): ... here. Return a bool.
2316 (erase): call erase instead of erasePos.
2318 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2320 * ParagraphList.h: define PitPosPair
2321 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2322 ParagraphList, fix a bug on pasting multiple pars
2323 * text2.C: change interface to C&P
2325 2003-04-30 André Pönitz <poenitz@gmx.net>
2327 * undo_func.C: revert part of yesterday's patch 2
2329 2003-04-30 John Levon <levon@movementarian.org>
2331 * LColor.C: s/tabular/table/
2333 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2335 * text3.C (dispatch): do not convert iterator -> pointer
2336 * undo_funcs.C (setCursorParUndo): ditto
2337 * text_funcs.C (transposeChars): ditto
2339 * text2.C (setLayout): ws changes only
2341 * text.C (breakParagraph): do not convert iterator -> pointer
2343 (acceptChange): ditto
2344 (rejectChange): ditto
2349 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2352 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2354 * text3.C (gotoInset): YABG (yet another bad getChar)
2356 2003-04-29 André Pönitz <poenitz@gmx.net>
2358 * paragraph.h: make operator= private unimplemented as long as
2361 * ParagraphList.C: whitespace
2364 * paragraph_pimpl.[Ch]:
2365 * paragraph_funcs.C:
2367 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2370 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2372 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2374 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2375 * paragraph.[Ch] (erase):
2376 * paragraph_pimpl.[Ch] (erase): change return type and value
2377 * text2.C (cutSelection): some rework
2379 2003-04-28 John Levon <levon@movementarian.org>
2381 * bufferlist.C: changes for unsaved changes dialog
2383 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2385 * bufferlist.C (newFile): set language (messages_) for new
2388 * buffer.C (readFile): ws changes only.
2390 2003-04-28 André Pönitz <poenitz@gmx.net>
2395 * BufferView_pimpl.C:
2396 * BufferView.C: getParFromID related ParagraphList::iterator changes
2398 2003-04-28 André Pönitz <poenitz@gmx.net>
2400 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2403 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2405 * messages.C: remove one more localedir class variable.
2407 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * messages.C (getLocaleDir): singleton generation function
2411 (Messages): add a default constructor.
2413 * main.C (main): do not setup localedir here, do not call
2416 * gettext.C (_): use it.
2417 (gettext_init): delete funciton
2419 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2421 * gettext.C (getLyXMessages): new singleton generating function.
2423 * buffer.C (updateDocLang): adjust
2425 * Makefile.am (messages.o): add target
2426 (main.o): remove target
2428 2003-04-27 John Levon <levon@movementarian.org>
2433 * lyxvc.C: specify cancel button in Alert::prompt
2435 2003-04-26 John Levon <levon@movementarian.org>
2440 * LyXAction.C: add LFUN_INSET_SETTINGS
2442 * lyxfunc.C: don't enable tabular-feature when there's
2443 just any locking inset
2445 2003-04-26 John Levon <levon@movementarian.org>
2447 * bufferlist.C: re-add Cancel to buffer close question
2449 * lyxfunc.C: fix import UI a bit
2451 2003-04-25 John Levon <levon@movementarian.org>
2453 * gettext.C: remove the broken asserts for now
2455 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2457 * messages.C: make case where setlocale cannot comply work better.
2459 * buffer.C (updateDocLang): new function
2460 (changeLanguage): use it
2463 * text2.C (setCounter): use B_ a bit.
2465 * lyxlayout.C (Read): be sure to trim the label strings.
2467 * messages.C (Messages): fix typo in comment
2469 * buffer.C (readFile): set message_ after file is loaded.
2470 (makeDocBookFile): remove double return
2471 (changeLanguage): reset message_ upon language change.
2472 (B_): new func, use this to get translated buffer strings.
2474 * main.C: add myself and Jean Marc as authors.
2476 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2478 * messages.[hC]: pimplify Messages, and three different pimpls to be
2479 used in different circumstances.
2481 * gettext.[Ch]: change for use with new message code.
2483 2003-04-24 André Pönitz <poenitz@gmx.net>
2485 * factory.C: support for eqref
2487 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2489 * messages.[Ch]: add missing char
2491 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2493 * messages.[Ch]: New files
2495 2003-04-18 John Levon <levon@movementarian.org>
2499 * BufferView_pimpl.C:
2503 * text2.C: remove layout-copy/paste (bug 778)
2505 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2507 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2509 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2511 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2512 if they succeed. Act accordingly.
2514 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2516 * text2.C (setCharFont): adjust
2517 (setCounter): adjust
2518 (insertStringAsLines): adjust
2520 * text.C (leftMargin): adjust
2521 (setHeightOfRow): adjust
2523 * rowpainter.C (paintFirst): adjust
2526 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2528 (isFirstInSequence): ditto
2529 (getEndLabel): ditto
2532 * paragraph.C (getParLanguage): comment out some hard stuff.
2534 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2536 (simpleDocBookOnePar): ditto
2537 (makeDocBookFile): use ParagraphList::iterator
2539 * CutAndPaste.C (pasteSelection): adjust
2541 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * text2.C (getFont): adjust
2544 (getLayoutFont): adjust
2545 (getLabelFont): adjust
2547 * paragraph_funcs.C (TeXOnePar): adjust
2549 * buffer.C (simpleLinuxDocOnePar): adjust
2550 (simpleDocBookOnePar): adjust
2552 * CutAndPaste.C (pasteSelection): adjust
2554 * BufferView.C (getEncoding): adjust
2556 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2558 2003-04-16 John Levon <levon@movementarian.org>
2560 * lyxfind.C: use parlist stuff for search/changes
2562 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2564 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2566 * text2.C (deleteEmptyParagraphMechanism): adjust
2568 * text2.[Ch] (ownerParagraph): delete func (both of them
2570 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2572 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2574 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2576 * ParagraphList.C: prepare for NO_NEXT
2578 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2580 * text2.C (getFont): adjust
2581 (getLayoutFont): adjust
2582 (getLabelFont): adjust
2584 * paragraph.C (getFont): adjust
2585 (getLabelFont): adjust
2586 (getLayoutFont): adjust
2588 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2590 2003-04-15 John Levon <levon@movementarian.org>
2594 * lyx_main.C: handle Include in .ui files
2596 2003-04-15 John Levon <levon@movementarian.org>
2598 * MenuBackend.C: make the doc files length shorter
2601 * ToolbarBackend.C: handle toolbar placement flags,
2604 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2606 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2609 * paragraph_funcs.C (TeXOnePar): adjust
2611 * paragraph.C (getLabelFont): add outerfont arg, adjust
2612 (getLayoutFont): ditto
2613 (simpleTeXOnePar): adjust
2615 * paragraph_pimpl.C (realizeFont): delete func
2617 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2619 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2620 row argument, constify cur argument.
2622 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * text2.C (getFont): adjust
2625 (getLayoutFont): adjust
2626 (getLabelFont): adjust
2628 * paragraph_funcs.C (TeXOnePar): adjust
2629 (outerFont): new func...
2630 (realizeFont): ...moved out from here, changed this to facilitate
2633 * paragraph.C (getFont): take outerfont as arg, adjust
2634 (simpleTeXOnePar): add outerfont arg, adjust
2636 * buffer.C (simpleLinuxDocOnePar): adjust
2637 (simpleDocBookOnePar): adjust
2639 * CutAndPaste.C (pasteSelection): adjust
2641 * BufferView.C (getEncoding): adjust
2643 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * text2.C (setCharFont): adjust
2646 (setCounter): adjust
2648 * text.C (leftMargin): adjust
2649 (setHeightOfRow): adjust
2651 * rowpainter.C (paintFirst): adjust
2654 * paragraph_pimpl.C (realizeFont): adjust
2656 * paragraph.C (isFirstInSequence): move from here...
2657 * paragraph_funcs.C (isFirstInSequence): ...to here
2659 * paragraph.C (outerHook): move from here...
2660 * paragraph_funcs.C (outerHook): ...to here
2662 * paragraph.C (depthHook): move from here...
2663 * paragraph_funcs.C (depthHook): ...to here
2665 * paragraph.C (getEndLabel): move from here...
2666 * paragraph_funcs.C (getEndLabel): ...to here
2668 * text2.C (realizeFont): move from here...
2669 * paragraph_funcs.C (realizeFont): ...to here
2671 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2673 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2675 2003-04-14 Angus Leeming <leeming@lyx.org>
2677 * LColor.[Ch]: scrap LColor mathcursor.
2679 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2681 * lyxlex.[Ch] (text): delete function
2682 * trans.C (Load): adjust
2683 * paragraph_funcs.C (readParToken): adjust
2685 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2687 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2688 vector<char> instead of a char[].
2690 * lyxlex_pimpl.C (getString): adjust
2692 (lex): use getString
2696 * lyxlex.C (text): use pimpl_->getString()
2700 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2702 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2703 (makeFontEntriesLayoutSpecific): temp var for par.size()
2704 (setLayout): temp var for ownerParagraphs().end()
2705 (fullRebreak): temp var for rows().end()
2706 (selectionAsString): temp var for boost::next(startpit), realize
2707 that the while really is a regular for loop.
2708 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2709 setCursor in one place.
2710 (setParagraph): temp vr for ownerParagraphs().end()
2711 (updateCounters): make the while loop a for loop
2712 (cutSelection): temp var for ownerParagraphs().end()
2713 (updateInset): make the do {} while() a regular for loop
2714 (getCursorX): use temp vars
2715 (setCurrentFont): use temp vars
2716 (getColumnNearX): use temp vars
2718 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2720 * text.C (transformChar): use temp var for getChar
2721 (computeBidiTables): use temp var for row->par()
2722 (fill): move temp vars for row->par() and pit->layout() earlier in
2724 (labelFill): use temp var for row->par()
2725 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2726 asc and desc, realize that pit never changes and that firstpit is
2727 just a duplicate and not needed. Exchange rit->par() with pit in a
2729 (breakAgain): use a temp var for boost::next(rit)
2730 (breakAgainOneRow): ditto
2731 (breakParagraph): use a temp var for rows().begin()
2732 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2733 (cursorRightOneWord): use temp var for cursor.par() and
2734 cursor.pos(), remove usage of tmpcursor.
2735 (cursorLeftOneWord): use temp var for cursor.par() and
2736 cursor.pos() only set cur at end of function.
2738 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2740 * text.C, text2.C: exchange all usage of Paragraph::next with
2741 boost::next(ParagraphList::iterator)
2743 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2745 * text2.C (cursorTop): simplify implementation
2746 (cursorBottom): ditto
2747 (setParagraph): use ParagraphList::iterator
2748 (setCurrentFont): adjust
2749 (getColumnNearX): adjust
2750 (cursorRight): adjust
2751 (cursorLeft): remove usage of Paragraph::previous
2752 (cursorUpParagraph): ditto
2753 (deleteEmptyParagraphMechanism): slight cleanup
2755 * text.C (isBoundary): take a Paragraph const & instead of a
2757 (addressBreakPoint): ditto
2758 (leftMargin): remove usage of Paragraph::previous.
2759 (setHeightOfRow): ditto
2760 (cursorLeftOneWord): ditto
2761 (selectNextWordToSpellcheck): ditto
2764 (breakParagraph): remove one usage of Paragraph::next
2765 (redoParagraph): ditto
2766 (acceptChange): ditto
2767 (insertChar): adjust
2768 (rowBreakPoint): adjust
2770 * bufferview_funcs.C (toggleAndShow): adjust
2772 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2774 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2775 methods to access it.
2777 * text.C: Added updateRowPositions to compute all row positions.
2778 Make top_y and getRowNearY() to use the cached y position
2780 2003-04-11 John Levon <levon@movementarian.org>
2782 * text.C (rowBreakPoint): reintroduce the labelEnd
2783 checks, code copied from the row fill stuff. Deep voodoo.
2785 * text.C (fill): add a comment and debugging for the
2788 2003-04-11 John Levon <levon@movementarian.org>
2790 * text.C: make sure fullrow insets get wrapped to the next line,
2791 even when they're in a manual label
2793 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2795 * text2.C (insertParagraph): make it take ParagraphList::iterator
2797 (setLayout): make it return ParagraphList::iterator
2798 (redoParagraphs): ditto
2800 (checkParagraph): ditto
2802 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2804 * text2.C: adjust several funcs.
2805 (realizeFont): take a ParagraphList::iterator as arg.
2806 (getLayoutFont): ditto
2807 (getLabelFont): ditto
2808 (setCharFont): ditto
2810 * text.C: adjust several funcs.
2812 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2814 * text.C (selectNextWordToSpellcheck): don't accidentally
2817 2003-04-10 John Levon <levon@movementarian.org>
2819 * ToolbarBackend.C (getIcon): special handling for
2822 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2824 * text2.C (cursorRight): a getChar assert fixed
2826 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2828 * text2.C (getFont): change to take a ParagraphList::iterator
2829 instead of Paragraph*
2830 Adjust several functions.
2832 * text.C (transformChar): change to take a ParagraphList::iterator
2833 instead of Paragraph*
2834 (singleWidth): ditto
2835 Adjust several functions.
2837 * rowpainter.C: adjust several functions
2838 * rowpainter.h:store a ParagraphList::iterator and not a
2842 2003-04-09 John Levon <levon@movementarian.org>
2847 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2848 and the "help" bits as well
2850 2003-04-09 John Levon <levon@movementarian.org>
2853 * ToolbarBackend.C: allow multiple toolbars
2855 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2857 * undo_funcs.C (setCursorParUndo): adjust
2859 * text_funcs.C (transposeChars): adjust
2861 * text3.C (gotoNextInset): adjust
2864 * text2.C (setLayout): adjust
2865 (changeDepth): adjust
2867 (redoParagraphs): adjust
2868 (selectionAsString): adjust
2869 (setParagraph): adjust
2870 (insertInset): adjust
2871 (cutSelection): adjust
2872 (copySelection): adjust
2873 (pasteSelection): adjust
2874 (insertStringAsLines): adjust
2875 (updateInset): adjust
2876 (setCursor): change to take a ParagraphList::iterator parameter
2877 (setCursorIntern): change to take a ParagraphList::iterator parameter
2878 (setCurrentFont): adjust
2879 (cursorLeft): adjust
2880 (cursorRight): adjust
2881 (deleteEmptyParagraphMechanism): adjust
2883 * text.C (breakParagraph): adjust
2884 (insertChar): adjust
2885 (acceptChange): adjust
2886 (rejectChange): adjust
2887 (selectNextWordToSpellcheck): adjust
2888 (changeCase): adjust
2892 * lyxfind.C (SearchForward): adjust
2893 (SearchBackward): adjust
2894 (nextChange): adjust
2896 * lyxcursor.C (par): adjust
2898 * lyxcursor.h: store a ParagraphList::iterator instead of a
2901 * lyx_cb.C (getPossibleLabel): adjust
2903 * bufferview_funcs.C (toggleAndShow): adjust
2905 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2908 * BufferView.C (removeAutoInsets): adjust
2909 (lockedInsetStoreUndo): adjust
2911 2003-04-09 John Levon <levon@movementarian.org>
2913 * ToolbarBackend.C: try icon without argument
2914 if with argument fails
2916 2003-04-08 John Levon <levon@movementarian.org>
2919 * ToolbarBackend.C: add getIcon(), handle tooltip,
2920 and change from "Icon" to "Item".
2922 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2924 * BufferView.C (lockInset): another bad getchar crunched
2926 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2928 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2931 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2933 * lyxfind.C (searchForward, searchBackwards): bug 782
2935 2003-04-07 John Levon <levon@movementarian.org>
2937 * paragraph.C: remove dead comment
2939 * text.C: remove troublesome depth-fiddling code
2940 in leftMargin() and rightMargin() (bug 1017)
2942 * text.C: fix breaking of rows in nested lists
2945 * text2.C (updateCounters): fix up depth values
2948 2003-04-07 John Levon <levon@movementarian.org>
2950 * BufferView_pimpl.C: clear message when doc finishes resizing,
2951 and after a mouse event
2953 * lyxfunc.C: clear message after exiting inset
2955 2003-04-07 John Levon <levon@movementarian.org>
2957 * bufferview_funcs.C: show math status not outside
2958 status in the statusbar
2960 2003-04-07 John Levon <levon@movementarian.org>
2962 * lyxfunc.C: note status changed after a depth change
2964 2003-04-04 Angus Leeming <leeming@lyx.org>
2966 * LaTeX.h: move AuxInfo operator==, != out of line.
2967 Remove LaTeX virtual destructor; nothing derives from it.
2968 Move operator()() out of public area and rename it startscript().
2969 Change protected for private.
2971 2003-04-04 Angus Leeming <leeming@lyx.org>
2974 * text2.C: remove unneeded #includes.
2976 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2978 * text2.C (dEPM): fix the heigth of the next row
2980 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2982 * text.C: squashed an invalid getChar requester + some ws changes
2984 2003-04-03 John Levon <levon@movementarian.org>
2986 * bufferview_funcs.h:
2987 * bufferview_funcs.C:
2990 * text2.C: make getStatus work for the env depth lfuns
2992 2003-04-03 John Levon <levon@movementarian.org>
2994 * bufferview_funcs.h:
2995 * bufferview_funcs.C:
2998 * text2.C: parlistize decDepth(), by merging it with incDepth()
3000 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3002 * lyxrow.h: store a ParagraphList::iterator instead of a
3003 Paragraph* and adjust other class functions to suit.
3005 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3008 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3010 * text2.C (setCursor): do not anchor to cursor row for the time being
3012 2003-04-02 John Levon <levon@movementarian.org>
3019 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3021 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3023 * paragraph.h: make ParagraphList and ParagraphList::iterator
3024 friends of Paragraph.
3026 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3028 * ParagraphList.C: Use the private next_ and previous_ from
3031 2003-04-01 John Levon <levon@movementarian.org>
3035 * Makefile.am: rename, remove defaults gunk
3038 * MenuBackend.C: remove defaults gunk
3041 * Languages.C: remove defaults gunk
3044 * lyx_main.C: error out if files couldn't be found.
3046 2003-04-02 John Levon <levon@movementarian.org>
3048 * text2.C: make incDepth() use parlist
3050 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3052 * undo_funcs.C (firstUndoParagraph): adjust
3054 * text3.C (gotoInset): adjust
3055 (dispatch): adjust, and rewrite loop.
3057 * text2.C (init): adjust, and rewrite loop.
3058 (redoParagraphs): adjust
3059 (updateInset): adjust, and rewrite loop.
3060 (deleteEmptyParagraphMechanism): adjust
3062 * tabular.C (LyXTabular): adjust
3063 (SetMultiColumn): adjust
3066 * lyxtext.[Ch] (ownerParagraph): delete function
3067 (ownerParagraphs): new function returns a ParagraphList.
3069 * BufferView.C (removeAutoInsets): adjust
3070 (insertErrors): adjust
3071 (setCursorFromRow): adjust
3073 2003-04-01 Angus Leeming <leeming@lyx.org>
3075 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3078 2003-04-02 John Levon <levon@movementarian.org>
3084 * text_funcs.C: make transposeChars a free function
3086 * lyxrow_funcs.C: remove wrong comment
3088 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3091 * rowpainter.C: adjust
3096 * lyxrow_funcs. [Ch]: new files
3098 * lyxrow.[Ch]: remove next and previous pointers
3099 (next,previous): remove accessor functions
3100 (isParEnd): move to lyxrow_funcs
3101 (lastPos): move to lyxrow_funcs
3102 (nextRowIsAllInset): move to lyxrow_funcs
3103 (lastPrintablePos): move to lyxrow_funcs
3104 (numberOfSeparators): move to lyxrow_funcs
3105 (numberOfHfills): move to lyxrow_funcs
3106 (numberOfLabelHfills): move to lyxrow_funcs
3107 (hfillExpansion): move to lyxrow_funcs
3111 * bufferview_funcs.C (toggleAndShow): adjust
3113 * RowList.h: Remove class RowList from file leave just a
3116 * RowList.C: delete file
3118 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3121 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3123 * text3.C (cursorPrevious): adjust
3124 (cursorNext): adjust
3127 * text2.C (redoHeightOfParagraph): adjust
3128 (redoDrawingOfParagraph): adjust
3131 * text.C (breakParagraph): adjust
3132 (insertChar): adjust
3135 * rowpainter.C (RowPainter): adjust
3136 (leftMargin): simplify and adjust
3137 (most rowpainter functions): adjust.
3139 * rowpainter.h: store the row as RowList::iterator not as Row*
3141 * lyxcursor.C (row): taka RowList::iterator as arg
3144 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3147 2003-04-01 Angus Leeming <leeming@lyx.org>
3149 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3150 stuff like bool Bool.
3152 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3154 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3157 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3159 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3162 * lyxtext.h (rows): drop one version and leve a const variant that
3163 returns a RowList::iterator.
3165 2003-03-31 Angus Leeming <leeming@lyx.org>
3167 * text.C (fill): ensure that the signature is the same as that in the
3170 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3172 * text2.C (redoParagraphs): adjust
3173 (updateCounters): adjust
3174 (checkParagraph): adjust
3175 (getColumnNearX): adjust and reformat a bit.
3177 * text.C (top_y): adjust
3179 (leftMargin): adjust
3180 (prepareToPrint): adjust
3182 (getRowNearY): adjust
3184 * lyxtext.h: make rowlist_ mutable.
3186 * RowList.h: add const_iterator
3187 * RowList.C: adjust for RowList::const_iterator.
3189 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3192 2003-03-31 John Levon <levon@movementarian.org>
3195 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3197 * lyx_main.C: set default fonts from using lyx_gui funcs
3199 * exporter.C: pdf_mode moved from lyxrc
3202 * lyxfunc.C: changes from above
3204 2003-03-31 John Levon <levon@movementarian.org>
3206 * lyx_main.C: fix to the last fix
3208 2003-03-31 John Levon <levon@movementarian.org>
3210 * bufferlist.C: "Load original" -> "Load Original"
3216 * format.C: more Alert cleanups
3218 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3220 * text2.C (removeParagraph): make it take a RowList::iterator as
3222 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3223 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3225 * text.C (anchor_row): make it take a RowList::iterator as arg,
3227 (computeBidiTables): make it take a const reference to Row instead
3228 of Row pointer, adjust.
3229 (leftMargin): make it take a RowList::iterator as arg, adjust.
3230 (rowBreakPoint): adjust
3231 (breakAgainOneRow): make it take a RowList::iterator as arg,
3233 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3235 * bufferview_funcs.C (toggleAndShow): adjust
3237 2003-03-30 John Levon <levon@movementarian.org>
3241 * boost-inst.C: moved to support
3243 * several files: changes as a result
3245 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3247 * text2.C (LyXText): adjust.
3249 (removeRow): make it take a RowList::iterator as arg, adjust.
3250 (fullRebreak): adjust
3251 (deleteEmptyParagraphMechanism): adjust
3252 (clearPaint): adjust
3255 * text.C (top_y): adjust
3256 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3257 (breakAgain): make it take a RowList::iterator as arg, adjust.
3258 (breakParagraph): adjust
3259 (insertChar): adjust
3262 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3263 need_break_row, and refresh_row.
3265 * text3.C (dispatch): adjust
3267 * text2.C (checkParagraph): adjust
3269 (setCursorFromCoordinates): adjust
3271 * text.C (top_y): adjust
3273 (getRow): make it return a RowList::iterator, adjust
3274 (getRowNearY): make it return a RowList::iterator, adjust
3276 * text2.C (init): adjust
3277 (insertRow): remove function
3278 (insertParagraph): adjust
3279 (redoParagraphs): adjust
3280 (fullRebreak): adjust
3281 (updateCounters): adjust
3283 * text.C (top_y): rewrite to use RowList iterators.
3285 (setHeightOfRow): rewrite to sue RowList iterators.
3286 (appendParagraph): adjust
3287 (breakAgain): adjust
3288 (breakAgainOneRow): adjust
3289 (breakParagraph): adjust
3291 (getRowNearY): adjust, and remove commented code.
3293 * lyxtext.h (firstRow): delete function
3294 (lastRow): delete function
3295 (rows): new function (const and non-const versions.)
3296 (insertRow): delete function
3298 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3300 2003-03-29 John Levon <levon@movementarian.org>
3302 * BufferView_pimpl.C: always update scrollbar top
3303 because pasting text when we're anchored could mean we
3304 miss an update altogether
3306 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3308 * text2.C (init): use rowlist_.end() and not 0.
3309 (insertRow): change to take a RowList::iterator as arg, adjust
3311 (insertParagraph): change to take a RowList::iterator as arg,
3313 (redoParagraphs): remove some debug msgs.
3315 * text.C (appendParagraph): change to take a RowList::iterator
3316 arg, adjust for this.
3317 (breakAgain): add an assert
3318 (breakAgainOneRow): ditto
3320 2003-03-29 John Levon <levon@movementarian.org>
3322 * text2.C: do not clear selection after inc/decDepth
3325 2003-03-29 John Levon <levon@movementarian.org>
3328 * buffer.C: fix broken strerrors according to Lars
3330 2003-03-29 John Levon <levon@movementarian.org>
3332 * converters.C: more Alert cleanups
3334 2003-03-29 John Levon <levon@movementarian.org>
3336 * bufferview_funcs.C: remove pointless Alert
3338 * buffer.C: fix confusing error message when
3339 a template is chmoded 000
3341 2003-03-29 John Levon <levon@movementarian.org>
3345 * BufferView_pimpl.C: Alert fixes
3349 * tabular-old.C: remove unused table compat reading
3351 2003-03-29 John Levon <levon@movementarian.org>
3356 * lyx_cb.C: more Alert cleanups
3358 * lyxfunc.C: don't allow chktex if not latex document
3360 2003-03-29 John Levon <levon@movementarian.org>
3364 * buffer.C: warnings pushed down from support/,
3367 2003-03-29 John Levon <levon@movementarian.org>
3369 * lyxfunc.C: safety check for C-r (revert)
3371 2003-03-29 John Levon <levon@movementarian.org>
3374 * bufferlist.C: several UI fixes using Alert::prompt.
3375 Fix the pointless looping quit code. Fix stupid revert
3380 * lyx_cb.C: use Alert::prompt
3382 * lyx_main.C: remove a silly question
3384 * lyxfunc.C: remove a couple of silly questions,
3387 2003-03-28 John Levon <levon@movementarian.org>
3389 * text2.C: fix bug 974 (End on empty par)
3391 2003-03-28 John Levon <levon@movementarian.org>
3393 * BufferView_pimpl.C:
3395 * lfuns.h: remove do-nothing math greek lfuns
3397 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3399 * lyxgluelength.h (isValidGlueLength): add default arg on
3400 parameter 2. Remove default arg from friend in class.
3402 * lyxlength.h (isValidLength): add default arg on parameter 2.
3403 Remove default arg from friend in class.
3405 * text2.C (LyXText): adjust, initialize refresh_row.
3409 (insertParagraph): adjst
3410 (redoParagraphs): adjust
3411 (fullRebreak): adjust
3412 (updateCounters): adjust
3413 (deleteEmptyParagraphMechanism): first attempt at fixing a
3416 * text.C (top_y): adjust
3417 (setHeightOfRow): adjust
3419 (getRowNearY): adjust
3421 * lyxtext.h: include RowList.h
3422 (~LyXText): not needed anymore, deleted.
3423 (firstRow): modify for RowList
3424 (lastRow): new function
3425 Delete firstrow and lastrow class variables, add a Rowlist
3426 rowlist_ class variable.
3428 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3431 * RowList.C (insert): fix case where it == begin().
3433 2003-03-26 Angus Leeming <leeming@lyx.org>
3435 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3436 the thesaurus dialog.
3438 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3440 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3442 * RowList.[Ch]: new files
3444 * ParagraphList.C (erase): handle the case where it == begin
3447 2003-03-25 John Levon <levon@movementarian.org>
3451 * aspell.C: add new aspell support
3454 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3457 2003-03-25 Angus Leeming <leeming@lyx.org>
3460 * LyXAction.C (init): new LFUN_INSET_INSERT.
3462 * BufferView_pimpl.C (dispatch): split out part of the
3463 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3465 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3468 2003-03-25 Angus Leeming <leeming@lyx.org>
3470 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3472 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3475 * text3.C: remove useless row->height(0)
3477 2003-03-25 John Levon <levon@movementarian.org>
3481 * text3.C: rename the refreshing stuff to better names
3483 2003-03-24 John Levon <levon@movementarian.org>
3485 * BufferView_pimpl.h:
3486 * BufferView_pimpl.C: update layout choice on a mouse
3489 2003-03-23 John Levon <levon@movementarian.org>
3491 * Makefile.am: fix commandtags.h reference
3493 2003-03-22 John Levon <levon@movementarian.org>
3495 * BufferView_pimpl.C:
3500 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3502 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3505 * text.C: take the rtl methods out of line
3507 2003-03-21 André Pönitz <poenitz@gmx.net>
3509 * metricsinfo.[Ch]: new files containing structures to be passed around
3510 during the two-phase-drawing...
3512 2003-03-21 André Pönitz <poenitz@gmx.net>
3514 * lyxtextclass.C: read 'environment' tag.
3516 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3518 * text2.C (removeRow): fix bug 964
3520 2003-03-20 John Levon <levon@movementarian.org>
3524 * text2.C: paint cleanups. Inset::update() dropped font
3527 2003-03-19 John Levon <levon@movementarian.org>
3529 * lyxfunc.C: only fitcursor/markDirty if available()
3531 2003-03-19 John Levon <levon@movementarian.org>
3533 * commandtags.h: rename to ...
3535 * lfuns.h: ... this, and renumber / cleanup
3537 2003-03-19 John Levon <levon@movementarian.org>
3539 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3540 fit the cursor after an lfun
3544 * BufferView_pimpl.h:
3545 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3547 * LyXAction.C: layout-character should have ReadOnly
3549 * ParagraphParameters.C:
3551 * bufferview_funcs.C:
3558 * undo_funcs.C: changes from above
3560 2003-03-18 John Levon <levon@movementarian.org>
3562 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3563 remove it from update()
3565 * lyxfunc.C: update layout choice after an lfun
3567 * text3.C: remove extra updateLayoutChoice()s
3569 2003-03-18 John Levon <levon@movementarian.org>
3571 * text.C: top_y change means full repaint, fix
3572 a drawing bug with cursor movement
3574 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3578 * text2.C: anchor row on setCursor
3580 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3582 * lyxtext.h: remove almost all mutable keywords
3585 * text3.C: remove const keywords accordingly
3587 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3589 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3591 (TeXEnvironment): ditto
3594 2003-03-17 John Levon <levon@movementarian.org>
3596 * text.C (rowBreakPoint): remove attempt to fix displayed
3597 math insets inside a manual label
3599 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3601 * lyxtext.h: remove BufferView* as first arg from almost all class
3603 * other files: adjust.
3605 2003-03-17 John Levon <levon@movementarian.org>
3609 * text2.C: more paint cleanups
3611 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3614 * rowpainter.C: remove "smart" background painting code
3616 2003-03-16 John Levon <levon@movementarian.org>
3621 * text3.C: add helper functions for setting refresh_row/y
3623 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3625 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3626 newline inset which *can* get inserted in the pass_thru layouts.
3627 This is primarily for literate documents.
3629 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3631 * buffer.C: increment LYX_FORMAT to 223
3633 2003-03-14 André Pönitz <poenitz@gmx.net>
3635 * textclass.h: prepare for environment handling, ws changes
3636 * lyxlayout.C: read latexheader and latexfooter tags
3638 2003-03-14 John Levon <levon@movementarian.org>
3640 * text2.C: rewrite ::status() a bit
3642 2003-03-13 John Levon <levon@movementarian.org>
3644 * lyxtext.h: add some docs
3646 2003-03-13 John Levon <levon@movementarian.org>
3651 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3653 2003-03-13 John Levon <levon@movementarian.org>
3655 * text3.C: fix appendix redrawing
3657 2003-03-13 John Levon <levon@movementarian.org>
3659 * text.C (setHeightOfRow):
3661 * rowpainter.C: make appendix mark have the text
3662 "Appendix" so the user knows what it is
3665 * LColor.C: s/appendixline/appendix/ from above
3667 2003-03-13 John Levon <levon@movementarian.org>
3669 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3671 * text.C: fix a getChar(pos) bug properly
3673 2003-03-13 Angus Leeming <leeming@lyx.org>
3676 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3677 Probably only temporary. Let's see how things pan out.
3679 * BufferView.C (unlockInset):
3680 * BufferView_pimpl.C (fitCursor):
3681 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3683 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3684 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3686 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3687 new functions that convert ParagraphParameters to and from a string.
3689 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3690 BufferView::Pimpl's dispatch.
3691 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3693 2003-03-13 André Pönitz <poenitz@gmx.net>
3697 * factory.C: make it aware of InsetEnv
3699 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * text2.C (setCursor): never ask for one past last
3702 (setCursor): add some debugging messages.
3704 * text.C (singleWidth): never ask for one past last
3705 (singleWidth): ditto
3707 (rightMargin): ditto
3708 (rowBreakPoint): ditto
3709 (setHeightOfRow): ditto
3710 (prepareToPrint): ditto
3712 * rowpainter.C (paintBackground): never ask for one past last
3713 (paintText): never ask for one past last
3715 * paragraph_pimpl.C (getChar): make the assert stricter, never
3716 allow the one past last pos to be taken
3718 * paragraph.C (getChar): ws changes only
3720 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3721 (numberOfSeparators): ditto
3722 (numberOfHfills): ditto
3724 2003-03-12 John Levon <levon@movementarian.org>
3730 * paragraph_funcs.C: fix per-buffer authorlists
3732 2003-03-12 John Levon <levon@movementarian.org>
3734 * text.C: fix newline in right address
3736 2003-03-12 Angus Leeming <leeming@lyx.org>
3738 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3739 duplicate those in LyXFunc::dispatch.
3743 * ToolbarDefaults.C:
3744 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3745 Add LFUN_FONTFREE_UPDATE.
3747 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3748 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3750 * bufferview_func.[Ch]: several new functions to facilliate
3751 transfer of data to and from the character dialog.
3753 2003-03-12 John Levon <levon@movementarian.org>
3758 * paragraph_funcs.C:
3759 * paragraph_pimpl.C:
3763 * text3.C: remove META_NEWLINE in favour of an inset
3766 * rowpainter.C: remove paintNewline (done by inset)
3768 2003-03-12 John Levon <levon@movementarian.org>
3770 * paragraph_pimpl.C: complain about bad getChar()s
3771 for a while at least
3773 2003-03-12 John Levon <levon@movementarian.org>
3776 * buffer.C: move paragraph read into a separate function,
3777 a little renaming to reflect that.
3780 * bufferparams.C: remove the author_ids map, not necessary now
3783 * factory.C: moved Buffer::readInset to here
3785 * paragraph_funcs.h:
3786 * paragraph_funcs.C: readParagraph free function moved from
3789 * tabular.C: name change
3791 2003-03-12 John Levon <levon@movementarian.org>
3794 * ParagraphParameters.C: move par params input to
3797 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3798 behave like a normal read from the stream wrt reading
3799 a line vs. a \\token
3801 2003-03-12 John Levon <levon@movementarian.org>
3804 * ParagraphParameters.h:
3805 * ParagraphParameters.C: move output code to a
3808 2003-03-12 John Levon <levon@movementarian.org>
3810 * BufferView.C (insertLyXFile):
3813 * tabular.C: use a parlist iterator for creating the
3816 2003-03-12 John Levon <levon@movementarian.org>
3818 * buffer.C: make current_change static local not
3821 2003-03-12 John Levon <levon@movementarian.org>
3823 * buffer.C: fix insertStringAsLines for change tracking
3825 2003-03-12 John Levon <levon@movementarian.org>
3832 * bufferparams.C: move author list into params. Rename some
3833 functions. Move the header reading into a separate token
3834 loop. Move the header token reading into BufferParams.
3836 2003-03-12 John Levon <levon@movementarian.org>
3838 * changes.C: put debug inside lyxerr.debugging() checks
3840 2003-03-11 André Pönitz <poenitz@gmx.net>
3842 * factory.C: make it aware of InsetHFill
3844 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3846 * buffer.C (latexParagraphs): move function from here...
3847 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3850 2003-03-10 Angus Leeming <leeming@lyx.org>
3852 * LyXAction.C (init): fix bug in poplating array with multiple entries
3853 with the same LFUN (spotted by JMarc).
3855 2003-03-10 John Levon <levon@movementarian.org>
3858 * text2.C: move getColumnNearX() near its
3861 2003-03-10 John Levon <levon@movementarian.org>
3863 * text.C: fix break before a minipage
3865 2003-03-10 John Levon <levon@movementarian.org>
3867 * text.C: fix the last commit
3869 2003-03-09 John Levon <levon@movementarian.org>
3873 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3874 bug 365 (don't break before insets unless needed). Don't
3875 return a value > last under any circumstances.
3877 2003-03-09 Angus Leeming <leeming@lyx.org>
3879 * BufferView_pimpl.C (trackChanges, dispatch): call
3880 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3882 2003-03-09 Angus Leeming <leeming@lyx.org>
3884 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3885 than Dialogs::showAboutlyx().
3887 2003-03-09 Angus Leeming <leeming@lyx.org>
3889 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3890 than Dialogs::showTabularCreate().
3892 2003-03-09 John Levon <levon@movementarian.org>
3896 * text2.C: 3rd arg to nextBreakPoint was always the same.
3899 2003-03-08 John Levon <levon@movementarian.org>
3906 * text2.C: Remove the "main" bit from the "main body"
3909 2003-03-08 John Levon <levon@movementarian.org>
3911 * text.C (leftMargin): The left margin of an empty
3912 manual label paragraph should not include the label width
3915 * text.C (prepareToPrint): don't attempt to measure hfills
3916 for empty manual label paragraphs - the answer should be 0
3918 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3920 * CutAndPaste.C: remove commented code and reindent.
3922 2003-03-08 John Levon <levon@movementarian.org>
3925 * lyxfunc.C: move reloadBuffer()
3928 * BufferView.C: to here
3930 * lyxvc.C: add comment
3933 * vc-backend.C: call bv->reload() to avoid
3934 getStatus() check on MENURELOAD
3936 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3938 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3939 to an old format .dep file.
3941 2003-03-07 Angus Leeming <leeming@lyx.org>
3943 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3944 when the LFUN_MOUSE_RELEASE should have been handled by
3945 inset->localDispatch.
3947 2003-03-07 Angus Leeming <leeming@lyx.org>
3949 * BufferView_pimpl.C (dispatch):
3950 * LyXAction.C (init):
3951 * ToolbarDefaults.C (init):
3953 * lyxfunc.C (getStatus):
3954 remove LFUN_INSET_GRAPHICS.
3956 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3958 2003-03-07 Angus Leeming <leeming@lyx.org>
3961 * LyXAction.C (init):
3962 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3964 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3967 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3969 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3970 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3972 2003-03-07 Angus Leeming <leeming@lyx.org>
3974 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3977 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3979 * ParagraphList.C (front): new function
3982 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3984 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3985 and top_row_offset_. removed var first_y.
3987 * text2.C (LyXText, removeRow):
3989 * BufferView_pimpl.C:
3990 use these methods instead of using first_y
3992 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3994 * text2.C (pasteSelection): adjust for checkPastePossible
3996 * CutAndPaste.C: remove Paragraph * buf and replace with
3997 ParagraphList paragraphs.
3998 (DeleteBuffer): delete
3999 (cutSelection): change the tc type to textclass_type
4000 (copySelection): change the tc type to textclass_type
4001 (copySelection): adjust for ParagraphList
4002 (pasteSelection): change the tc type to textclass_type
4003 (pasteSelection): adjust for Paragraphlist
4004 (nrOfParagraphs): simplify for ParagraphList
4005 (checkPastePossible): simplify for ParagraphList
4006 (checkPastePossible): remove unused arg
4008 * ParagraphList.C (insert): handle the case where there are no
4011 * CutAndPaste.h: make CutAndPaste a namespace.
4013 * text3.C (dispatch): adjust
4015 * text.C (breakParagraph): add a ParagraphList as arg
4017 * paragraph_funcs.C (breakParagraph): change to take a
4018 BufferParams and a ParagraphList as args.
4019 (breakParagraphConservative): ditto
4020 (mergeParagraph): ditto
4021 (TeXDeeper): add a ParagraphList arg
4022 (TeXEnvironment): ditto
4025 * buffer.C (readLyXformat2): adjust
4026 (insertStringAsLines): adjust
4027 (latexParagraphs): adjust
4029 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4030 (cutSelection): adjust
4031 (pasteSelection): adjust
4033 * BufferView_pimpl.C (insertInset): adjust
4035 2003-03-05 Angus Leeming <leeming@lyx.org>
4038 * LyXAction.C (init):
4039 * BufferView_pimpl.C (dispatch):
4040 * lyxfunc.C (getStatus):
4041 remove LFUN_CHILD_INSERT.
4043 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4045 2003-03-05 Angus Leeming <leeming@lyx.org>
4048 * LyXAction.C (init):
4049 * src/factory.C (createInset):
4050 * lyxfunc.C (getStatus):
4051 * text3.C (dispatch):
4052 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4054 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4056 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * ParagraphList.C (insert): handle insert right before end()
4059 (erase): fix cases where it can be first or last paragraph.
4061 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4063 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4064 Paragraph::next and Paragraph::previous
4067 * text.C (breakParagraph): adjust
4069 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4070 BufferParams& as arg.
4071 (breakParagraph): use ParagraphList::insert
4072 (breakParagraphConservative): take a Buffer* instead of a
4073 BufferParams& as arg.
4074 (breakParagraphConservative): use ParagraphList::insert.
4076 * buffer.C (insertStringAsLines): un-const it
4077 (insertStringAsLines): adjust
4079 * ParagraphList.C (insert): new function
4081 * CutAndPaste.C (pasteSelection): adjust
4083 * text.C (backspace): adjust
4085 * tabular.C (SetMultiColumn): adjust
4087 * CutAndPaste.C (cutSelection): adjust
4088 (pasteSelection): adjust
4090 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4091 Buffer const * as arg
4093 * ParagraphList.C (erase): new function
4094 * paragraph_funcs.C (mergeParagraph): use it
4095 (mergeParagraph): make it take a Buffer* instead of a
4096 BufferParams* as arg
4098 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4100 (breakParagraphConservative): ditto
4102 * paragraph.h: remove the breakParagraph friend
4104 * paragraph.C (eraseIntern): new function
4105 (setChange): new function
4107 * paragraph_funcs.C (mergeParagraph): make it take a
4108 ParagraphList::iterator instead of a Paragraph *, adjust
4111 * paragraph.h: move an #endif so that the change tracking stuff
4112 also works in the NO_NEXT case.
4114 2003-03-04 Angus Leeming <leeming@lyx.org>
4117 * LyXAction.C: new LFUN_INSET_MODIFY.
4119 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4120 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4122 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4124 * several files: ws changes only
4126 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4127 (TeXEnvironment): ditto
4130 * buffer.C (makeLaTeXFile): adjust
4131 (latexParagraphs): make it take ParagraphList::iterator as args
4133 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4135 * buffer.C (latexParagraphs): adjust
4137 * paragraph.C (TeXOnePar): move function...
4138 (optArgInset): move function...
4139 (TeXEnvironment): move function...
4140 * paragraph_pimpl.C (TeXDeeper): move function...
4141 * paragraph_funcs.C: ...here
4143 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4145 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4147 * buffer.C (readInset): remove compability code for old Figure and
4150 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4152 * buffer.C: ws changes
4155 * BufferView_pimpl.C: ditto
4158 * bufferlist.h: ditto
4162 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4164 * converter.[Ch]: split into itself +
4167 * Makefile.am: += graph.[Ch] + format.[Ch]
4174 * lyxrc.C: added #include "format.h"
4176 2003-02-27 Angus Leeming <leeming@lyx.org>
4178 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4181 * factory.C (createInset): add "label" to the factory.
4183 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4184 string and do no more.
4186 2003-02-27 Angus Leeming <leeming@lyx.org>
4189 * LyXAction.C (init):
4190 * factory.C (createInset):
4191 * BufferView_pimpl.C (dispatch):
4192 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4194 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4196 * lyxfunc.C (dispatch):
4197 * text3.C (dispatch): pass name to params2string.
4199 2003-02-26 Angus Leeming <leeming@lyx.org>
4201 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4203 Rearrange the ~includes. Strip out the unnecessary ones.
4205 * factory.C (createInset): reformat.
4206 create new insets for the various LFUN_XYZ_APPLY lfuns.
4208 2003-02-26 John Levon <levon@movementarian.org>
4211 * lyxrow.C: add isParStart,isParEnd helpers
4213 * paragraph.h: make isInserted/DeletedText take refs
4215 * paragraph_funcs.h:
4216 * paragraph_funcs.C: remove #if 0'd code
4221 * text.C: use lyxrow helpers above.
4222 Move draw and paint routines to RowPainter.
4223 Make several methods use refs not pointers.
4224 Make backgroundColor() const.
4225 Add markChangeInDraw(), isInInset().
4226 Merge changeRegionCase into changeCase.
4227 Make workWidth() shouldn't-happen code into an Assert.
4230 * rowpainter.C: new class for painting a row.
4233 * vspace.C: make inPixels take a ref
4235 2003-02-26 Angus Leeming <leeming@lyx.org>
4237 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4240 2003-02-25 John Levon <levon@movementarian.org>
4242 * ispell.C: give the forked command a more accurate name
4244 2003-02-22 John Levon <levon@movementarian.org>
4247 * toc.C: make TocItem store an id not a Paragraph *
4250 2003-02-21 Angus Leeming <leeming@lyx.org>
4252 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4253 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4254 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4255 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4256 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4257 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4259 * BufferView_pimpl.C (dispatch):
4260 * LyXAction.C (init):
4261 * factory.C (createInset):
4262 * lyxfunc.C (getStatus, dispatch):
4263 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4265 2003-02-21 Angus Leeming <leeming@lyx.org>
4267 * BufferView_pimpl.C (MenuInsertLyXFile):
4268 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4269 * lyxfunc.C (menuNew, open, doImport):
4270 no longer pass a LyXView & to fileDlg.
4272 2003-02-21 Angus Leeming <leeming@lyx.org>
4274 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4275 * LyXAction.C: change, BIBKEY to BIBITEM.
4276 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4277 Change InsetBibKey to InsetBibitem.
4278 Change BIBKEY_CODE to BIBITEM_CODE.
4279 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4280 * factory.C: replace insetbib.h with insetbibitem.h.
4281 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4282 * paragraph.C: replace insetbib.h with insetbibitem.h.
4283 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4284 Change bibkey() to bibitem().
4285 * text.C: remove insetbib.h.
4286 * text2.C: replace insetbib.h with insetbibitem.h.
4287 change bibkey() to bibitem().
4288 * text3.C: remove insetbib.h.
4289 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4291 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4293 * lyxrc.C (output): enclose user email in quotes (in case there are
4296 2003-02-18 John Levon <levon@movementarian.org>
4298 * buffer.h: add std::
4300 2003-02-17 John Levon <levon@movementarian.org>
4306 * pspell.C: reworking. Especially in ispell, a large
4307 number of clean ups and bug fixes.
4309 * lyxfunc.C: fix revert to behave sensibly
4311 2003-02-17 André Pönitz <poenitz@gmx.net>
4314 * commandtags.h: new LFUN_INSERT_BIBKEY
4324 * paragraph_func.C: remove special bibkey handling
4326 2003-02-17 John Levon <levon@movementarian.org>
4328 * text.C (Delete): fix case where delete at the end of
4329 the very first paragraph would not merge the pars
4331 2003-02-17 John Levon <levon@movementarian.org>
4333 * lyxrow.C: fix lastPrintablePos()
4335 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4337 * bufferparams.C (writeLaTeX): add a std:here
4339 * buffer.C: and remove a using directive there
4341 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4343 * buffer.C (makeLaTeXFile): move the code that generates the
4346 * bufferparams.C (writeLaTeX): ... in this new method
4348 * LaTeXFeatures.C (getEncodingSet): make const
4349 (getLanguages): make const
4351 * MenuBackend.C (binding): returns the binding associated to this
4353 (add): sets the status of each item by calling getStatus. Adds
4355 (read): add support for OptSubMenu
4356 (expand): remove extra separator at the end of expanded menu
4358 2003-02-15 John Levon <levon@movementarian.org>
4361 * BufferView_pimpl.C:
4363 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4364 inset code that had no actual effect. Remove unneeded status
4367 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4369 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4372 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4374 * text.C (drawLengthMarker): also draw an arrow marker for
4375 symbolic lengths (medskip...)
4377 2003-02-14 John Levon <levon@movementarian.org>
4380 * tabular.C: better method names
4382 2003-02-14 John Levon <levon@movementarian.org>
4384 * BufferView_pimpl.C:
4389 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4390 it's a more accurate name. Remove some pointless uses.
4392 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4394 * text2.C (LyXText): change order of initilizers to shut off
4397 2003-02-14 John Levon <levon@movementarian.org>
4399 * buffer.C: use ParIterator for getParFromID()
4403 * paragraph_pimpl.h:
4404 * paragraph_pimpl.C: remove unused getParFromID()
4406 2003-02-14 John Levon <levon@movementarian.org>
4408 * buffer.C: remove some very old #if 0'd parse code
4410 2003-02-13 John Levon <levon@movementarian.org>
4414 * text2.C: move hfillExpansion(), numberOfSeparators(),
4415 rowLast(), rowLastPrintable(), numberofHfills(),
4416 numberOfLabelHfills() ...
4419 * lyxrow.C: ... to member functions here.
4424 * text.C: remove LyXText::beginningOfMainBody(), and call
4425 p->beginningOfMainBody() directly. Move the check for
4426 LABEL_MANUAL into the latter.
4433 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4439 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4440 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4442 2003-02-13 John Levon <levon@movementarian.org>
4444 * CutAndPaste.C: remove debug
4446 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4448 * paragraph.C (asString): remove two unused variables
4450 * lyxtextclass.C (readTitleType):
4452 (LyXTextClass): handle new members titletype_ and titlename_
4454 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4456 2003-02-09 John Levon <levon@movementarian.org>
4459 * buffer.C: replace hand-coded list with a map for the dep clean
4461 2003-02-08 John Levon <levon@movementarian.org>
4463 * LaTeX.C: consolidate code into showRunMessage() helper
4465 2003-02-08 John Levon <levon@movementarian.org>
4470 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4471 and pass the size in explicitly
4473 * BufferView_pimpl.h:
4474 * BufferView_pimpl.C:
4476 * BufferView.C: add getCurrentChange()
4478 * BufferView_pimpl.h:
4479 * BufferView_pimpl.C: handle change lfuns
4481 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4482 for changes. Mark pasted paragraphs as new.
4484 * support/lyxtime.h:
4485 * support/lyxtime.C:
4486 * DepTable.C: abstract time_t as lyx::time_type
4489 * LColor.C: add colours for new text, deleted text, changebars
4491 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4492 package use "usenames" option.
4496 * LyXAction.C: add change lfuns
4500 * author.C: author handling
4503 * buffer.C: add a per-buffer author list, with first entry as
4504 current author. Handle new .lyx tokens for change tracking. Output
4505 author list to .lyx file. Output dvipost stuff to .tex preamble.
4506 Bump lyx format to 222.
4509 * bufferlist.C: add setCurrentAuthor() to reset current author details
4513 * bufferparams.C: add param for tracking
4515 * bufferview_funcs.C: output change info in minibuffer
4519 * changes.C: add change-tracking structure
4522 * debug.C: add CHANGES debug flag
4525 * lyxfind.C: add code for finding the next change piece
4528 * lyxrc.C: add user_name and user_email
4531 * lyxrow.C: add a metric for the top of the text line
4534 * text.C: implement accept/rejectChange()
4537 * text.C: paint changebars. Paint new/deleted text in the chosen
4538 colours. Strike through deleted text.
4542 * paragraph_pimpl.h:
4543 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4544 in the current change to the insert functions. Rework erase to
4545 mark text as deleted, adding an eraseIntern() and a range-based
4546 erase(). Implement per-paragraph change lookup and
4549 * paragraph_funcs.C: Fixup paste for change tracking.
4551 * tabular.C: mark added row/columns as new.
4553 * text.C: fix rowLast() to never return -1. Don't allow
4554 spellchecking of deleted text. Track transpose changes. Don't
4555 allow paragraph break or merge where appropriate.
4557 * text2.C: leave cursor at end of selection after a cut.
4559 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4561 * text.C (getLengthMarkerHeight):
4562 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4563 visible on screen too.
4565 2003-02-07 John Levon <levon@movementarian.org>
4567 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4569 2003-02-05 Angus Leeming <leeming@lyx.org>
4571 * lyxserver.C (read_ready): revert my patch of 11 September last year
4572 as it sends PC cpu through the roof. Presumably this means that
4573 the lyxserver will no longer run on an Alpha...
4575 2003-01-30 Angus Leeming <leeming@lyx.org>
4577 * factory.C (createInset): create an InsetCommandParam of type "index"
4578 and use it to 'do the right thing'.
4580 * text2.C (getStringToIndex): ensure that cursor position is always
4581 reset to the reset_cursor position.
4583 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4585 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4588 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4592 * lyxfunc.C: Output messages with identical spelling, punctuation,
4595 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4597 * MenuBackend.C (expandFormats): List only viewable export formats
4600 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4603 * lyxfunc.C (getStatus): Make sure that formats other than
4604 "fax" can also be disabled
4606 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4608 * text3.C (dispatch): put the lfuns that insert insets in 3
4609 groups, and call doInsertInset with appropriate arguments.
4610 (doInsertInset): new function, that creates an inset and inserts
4611 it according to some boolean parameters.
4613 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * buffer.C (readFile): remember to pass on 'par' when calling
4616 readFile recursively.
4618 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4620 * MenuBackend.C (expandFormats): add "..." to import formats.
4622 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4624 * paragraph.C (asString): Remove XForms RTL hacks.
4626 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4627 * buffer.C: fix typo
4629 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4631 * Makefile.am (LIBS): delete var
4632 (lyx_LDADD): add @LIBS@ here instead.
4634 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4636 * Clarify the meaning of "wheel mouse jump"
4638 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4640 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4643 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4645 * importer.C (Loaders): do not preallocate 3 elements in the
4646 vector, since one ends up with 6 elements otherwise
4648 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4650 * DepTable.C (write): write the file name as last element of the
4651 .dep file (because it may contain spaces)
4652 (read): read info in the right order
4654 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4656 * paragraph_pimpl.C (simpleTeXBlanks):
4657 (simpleTeXSpecialChars):
4658 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4660 * tabular.C (latex): add some missing case statements. Reindent.
4662 * MenuBackend.C (expandToc): remove unused variable.
4664 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4673 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4676 2003-01-05 John Levon <levon@movementarian.org>
4679 * BufferView.C: add getEncoding()
4682 * kbsequence.C: do not store last keypress
4685 * lyxfunc.C: store last keypress here instead. Pass encoding
4688 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4690 * lyx_main.C (init): remove annoying error message when following
4691 symbolic links (bug #780)
4693 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4695 * text.C (insertChar):
4696 * lyxrc.C (getDescription): remove extra spaces
4698 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4700 * lyxrc.C (getDescription): remove extra spaces
4702 2002-12-20 John Levon <levon@movementarian.org>
4704 * text3.C: hack fix for page up/down across tall rows
4706 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4708 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4711 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4713 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4714 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4715 thesaurus is not compiled in
4717 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4719 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4721 2002-12-16 Angus Leeming <leeming@lyx.org>
4724 * lyx_main.C (init): remove override_x_deadkeys stuff.
4726 2002-12-12 John Levon <levon@movementarian.org>
4728 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4729 insert. Only remove shift modifier under strict
4732 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4734 * MenuBackend.C (expandToc): fix crash.
4736 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * MenuBackend.C (expandToc): gettext on float names.
4740 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4742 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4743 implement bool empty() [bug 490]
4745 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4747 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4749 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4751 * several files: ws changes
4753 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4755 * text2.C (setCounter): clean up a bit, use boost.format.
4756 (updateCounters): initialize par upon declaration.
4758 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4759 if the layout exists. We do not just store the layout any more.
4760 (SwitchLayoutsBetweenClasses): use boost.format
4762 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4764 * converter.C (convert): if from and to files are the same, use a
4765 temporary files as intermediary
4767 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4770 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4772 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4774 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4776 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4778 * tabular.C (asciiPrintCell): use string(size, char) instead of
4781 * sgml.C (openTag): fix order of arguments to string constructor
4784 * lyxfunc.C (dispatch): use boost.format
4786 * lots of files: change "c" -> 'c'
4788 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4790 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4792 2002-11-25 Angus Leeming <leeming@lyx.org>
4794 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4796 * lyx_main.C (init): compile fix.
4798 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * lyx_cb.C (start): boost.formatify
4801 do not include <iostream>
4803 * lengthcommon.C: ws only
4805 * boost-inst.C,BoostFormat.h: add more explict instantations
4807 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * lots of files: handle USE_BOOST_FORMAT
4811 2002-11-21 John Levon <levon@movementarian.org>
4813 * pspell.C: fix compile
4815 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4817 * lyxfunc.C (dispatch): use boost::format
4821 * lyxfont.C (stateText): use boost::format
4823 * lyx_main.C (LyX): use boost::format
4825 (queryUserLyXDir): ditto
4828 (typedef boost::function): use the recommened syntax.
4830 * importer.C (Import): use boost::format
4832 * debug.C (showLevel): use boost::format
4834 * converter.C (view): use boost::format
4839 * bufferview_funcs.C (currentState): use boost::format
4841 * bufferlist.C (emergencyWrite): use boost::format
4843 * buffer.C (readLyXformat2): use boost::format
4844 (parseSingleLyXformat2Token): ditto
4846 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4848 * LaTeX.C (run): use boost::format
4850 * Chktex.C (scanLogFile): use boost::format
4852 * BufferView_pimpl.C (savePosition): use boost::format
4853 (restorePosition): ditto
4854 (MenuInsertLyXFile): ditto
4856 * BoostFormat.h: help file for explicit instation.
4858 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4860 * tabular.C (latex): Support for block alignment in fixed width
4863 2002-11-17 John Levon <levon@movementarian.org>
4865 * BufferView_pimpl.C:
4867 * lyxfunc.C: split filedialog into open/save
4869 2002-11-08 Juergen Vigna <jug@sad.it>
4871 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4872 by my last patch (hopefully).
4874 2002-11-08 John Levon <levon@movementarian.org>
4883 * toc.C: ParConstIterator, and use it (from Lars)
4885 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4887 * lyxtextclass.[Ch]: revise and add doxygen comments
4889 2002-11-07 John Levon <levon@movementarian.org>
4891 * text.C: fix progress value for spellchecker
4893 * toc.C: fix navigate menu for insetwrap inside minipage
4895 * paragraph_funcs.C: added FIXME for suspect code
4897 2002-11-07 John Levon <levon@movementarian.org>
4899 * BufferView_pimpl.C: fix redrawing of insets
4902 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4904 * text2.C (updateCounters): fix bug 668
4906 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4908 * text3.C (dispatch): Do not make the buffer dirty when moving the
4911 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * vc-backend.C: STRCONV
4916 * text2.C (setCounter): STRCONV
4918 * paragraph.C (asString): STRCONV
4920 * lyxlength.C (asString): STRCONV
4921 (asLatexString): ditto
4923 * lyxgluelength.C (asString): STRCONV
4924 (asLatexString): ditto
4926 * lyxfunc.C (dispatch): STRCONV
4929 * lyxfont.C (stateText): STRCONV
4931 * importer.C (Import): STRCONV
4933 * counters.C (labelItem): STRCONV
4934 (numberLabel): ditto
4935 (numberLabel): remove unused ostringstream o
4940 * bufferview_funcs.C (currentState): STRCONV
4942 * buffer.C (readFile): STRCONV
4943 (asciiParagraph): ditto
4944 (makeLaTeXFile): ditto
4946 * Spacing.C (writeEnvirBegin): STRCONV
4948 * LaTeXFeatures.C (getLanguages): STRCONV
4949 (getPackages): ditto
4951 (getBabelOptions): ditto
4952 (getTClassPreamble): ditto
4953 (getLyXSGMLEntities): ditto
4954 (getIncludedFiles): ditto
4958 (scanAuxFile): ditto
4961 * LString.h: add the STRCONV macros
4963 * BufferView_pimpl.C (savePosition): STRCONV
4964 (restorePosition): ditto
4965 (MenuInsertLyXFile): ditto
4967 * vc-backend.C (scanMaster): change from submatch[...] to
4970 * funcrequest.C: include config.h
4972 * factory.C: include config.h
4974 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4976 * box.C: include config.h
4978 * LaTeX.C (scanAuxFile): change from submatch[...] to
4982 2002-10-25 Angus Leeming <leeming@lyx.org>
4984 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4986 * ispell.[Ch] (setError): new method.
4987 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4988 Use setError() insetead of goto END.
4990 * lyx_cb.C (AutoSave): move out child process into new class
4993 2002-10-30 John Levon <levon@movementarian.org>
4995 * text3.C: make start appendix undoable
4997 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4999 * lyxlength.C (inPixels): Fix returned value.
5001 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5004 2002-10-24 Angus Leeming <leeming@lyx.org>
5006 * lyxgluelength.h: no need to forward declare BufferParams
5007 or BufferView, so don't.
5009 2002-10-21 John Levon <levon@movementarian.org>
5011 * BufferView.C: menuUndo ->undo, redo
5013 * BufferView.h: document, remove dead, make some methods private
5015 * paragraph_funcs.h:
5016 * paragraph_funcs.C:
5017 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5022 * sgml.C: move sgml open/close tag into sgml.C
5024 * bufferview_funcs.h: unused prototype
5027 * lyxfunc.C: remove unused
5030 * text.C: remove unused
5032 2002-10-21 John Levon <levon@movementarian.org>
5036 * BufferView_pimpl.h:
5037 * BufferView_pimpl.C: fix mouse wheel handling based on
5038 patch from Darren Freeman
5040 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5042 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5044 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5046 * lyxlength.C (inPixels): Fix hanfling of negative length.
5047 Fix LyXLength::MU case.
5049 2002-10-16 John Levon <levon@movementarian.org>
5051 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5053 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5055 * converter.C (view): add support for $$i (file name) and $$p
5056 (file path) for the viewer command. If $$i is not specified, then
5057 it is appended to the command (for compatibility with old syntax)
5059 2002-10-14 Juergen Vigna <jug@sad.it>
5061 * undo_funcs.C (textHandleUndo): alter the order in which the
5062 new undopar is added to the LyXText, as we have to set first
5063 the right prev/next and then add it as otherwise the rebuild of
5064 LyXText is not correct. Also reset the cursor to the right paragraph,
5065 with this IMO we could remove the hack in "redoParagraphs()".
5067 2002-10-09 Angus Leeming <leeming@lyx.org>
5069 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5070 to turn off an optimisation if a new inset is to be inserted.
5072 2002-10-11 André Pönitz <poenitz@gmx.net>
5074 * lyxtext.h: make some functions public to allow access
5075 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5077 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5079 * text3.C (dispatch): when changing layout, avoid an infinite loop
5082 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5084 * lyxrc.C (read): treat a viewer or converter command of "none" as
5087 * MenuBackend.C (expandFormats): for an update, also allow the
5088 formats that are not viewable
5090 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5091 script if it is newer than the lyxrc.defaults in user directory
5093 2002-10-07 André Pönitz <poenitz@gmx.net>
5095 * text.C: Vitaly Lipatov's small i18n fix
5097 2002-09-25 Angus Leeming <leeming@lyx.org>
5099 * ispell.h: doxygen fix.
5101 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5103 * buffer.h (readFile): Add a new argument to the method, to allow
5104 reading of old-format templates.
5106 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5108 * toc.C (getTocList): Get TOC from InsetWrap.
5110 2002-09-16 John Levon <levon@movementarian.org>
5112 * lyxfunc.C: check tabular for cut/copy too
5114 2002-09-12 John Levon <levon@movementarian.org>
5119 * factory.C: add header
5121 * paragraph_funcs.h:
5122 * paragraph_funcs.C: cleanup
5124 2002-09-11 John Levon <levon@movementarian.org>
5126 * PrinterParams.h: odd/even default to true
5128 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5130 * PrinterParams.h: update printer parameters for new xforms dialog
5132 2002-09-11 Angus Leeming <leeming@lyx.org>
5134 * lyxserver.C (read_ready): re-write to make it more transparent
5135 and to make it work in coherent fashion under Tru64 Unix.
5137 2002-09-11 André Pönitz <poenitz@gmx.net>
5141 * text3.C: implement LFUN_WORDSEL
5143 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5145 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5146 make floatlist_ a boost::shared_ptr<FloatList>
5148 * lyxtextclass.C: include FloatList.h
5149 (LyXTextClass): initialize floatlist_
5150 (TextClassTags): add TC_NOFLOAT
5151 (Read): match "nofloat" to TC_NOFLOAT and use it.
5152 (readFloat): modify call to floatlist_
5156 * FloatList.[Ch] (FloatList): remove commented out float
5158 (erase): new function
5160 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5162 * MenuBackend.C (expandToc): fix crash when there is no document
5165 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5167 * many files: Add insetwrap.
5169 2002-09-09 John Levon <levon@movementarian.org>
5171 * text2.C: remove confusing and awkward depth wraparound
5173 2002-09-09 John Levon <levon@movementarian.org>
5175 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5178 * buffer.C: remove getIncludeonlyList()
5181 * lyxfunc.C: remove headers
5183 2002-09-09 Juergen Vigna <jug@sad.it>
5185 * text.C (getColumnNearX): fix form Michael this is most
5186 probably a cut&paste bug.
5188 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5190 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5192 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5193 references, ws changes.
5195 * text2.C (init): update counters after init
5196 (insertParagraph): no need to set counter on idividual paragraphs.
5197 (setCounter): access the counters object in the textclass object
5198 on in the buffer object.
5199 (updateCounters): ditto
5201 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5202 shared_ptr<Counters> to avoid loading counters.h in all
5204 (LyXTextClass): initialize ctrs_
5205 (TextClassTags): add TC_COUNTER, and ...
5206 (Read): use it here.
5207 (CounterTags): new tags
5208 (readCounter): new function
5209 (counters): new funtion
5210 (defaultLayoutName): return a const reference
5212 * counters.C (Counters): remove contructor
5213 (newCounter): remove a couple of unneeded statements.
5214 (newCounter): simplify a bit.
5215 (numberLabel): some small formatting changes.
5217 * buffer.[Ch]: remove all traces of counters, move the Counters
5218 object to the LyXTextClass.
5220 2002-09-06 Alain Castera <castera@in2p3.fr>
5222 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5223 package to set the horizontal alignment on fixed width columns.
5226 * lyx_sty.h: added tabularnewline macro def.
5228 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5230 2002-09-06 John Levon <levon@movementarian.org>
5232 * LyXAction.C: tooltips for sub/superscript
5234 * MenuBackend.C: a bit more verbose
5236 * lyxfunc.C: tiny clean
5238 * undo_funcs.C: document undo_frozen
5240 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5242 * counters.C (Counters): add missing algorithm counter.
5244 * text2.C (setCounter): lookup the counter with layouts latexname
5245 instead of by section number.
5246 (setCounter): use a hackish way to lookup the correct enum
5248 a float name->type change
5249 reset enum couners with counter name directly instead of depth value.
5251 * counters.C (Counters): remove the push_backs, change to use the
5252 float type not the float name.
5253 (labelItem): remove unused string, float name->type change
5255 * counters.h: don't include vector, loose the enums and sects vectors
5257 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5259 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5260 (Read): add float->TC_FLOAT to textclassTags
5261 (Read): and handle it in the switch
5262 (readFloat): new function
5264 * FloatList.C (FloatList): comment out the hardcoded float
5267 * lyxlayout.h: ws change.
5269 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5271 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5273 2002-09-03 Angus Leeming <leeming@lyx.org>
5275 * BufferView_pimpl.h: qualified name is not allowed in member
5276 declaration: WorkArea & Pimpl::workarea() const;
5278 * factory.C: added using std::endl directive.
5280 * text3.C: added using std::find and std::vector directives.
5282 2002-08-29 André Pönitz <poenitz@gmx.net>
5285 * text2.C: remove unused member number_of_rows
5288 * BufferView2.C: remove file, move contents to...
5289 * BufferView.C: ... here
5291 * BufferView_pimpl.C:
5292 * factory.C: move more inset creation to factory
5294 * vspace.C: avoid direct usage of LyXText, ws changes
5297 don't provide direct access to WorkArea, use two simple
5298 acessors haveSelction() and workHeight() instead
5301 2002-08-29 John Levon <levon@movementarian.org>
5303 * BufferView_pimpl.C (dispatch): do not continue when
5306 2002-08-28 André Pönitz <poenitz@gmx.net>
5308 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5311 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5313 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5315 * buffer.C: increment LYX_FORMAT to 221
5317 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5318 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5320 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5322 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5324 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5326 * factory.C (createInset): use LyXTextClass::floats
5328 * MenuBackend.C (expandFloatListInsert):
5329 (expandFloatInsert):
5332 * text2.C (setCounter):
5334 * LaTeXFeatures.C (useFloat):
5335 (getFloatDefinitions):
5337 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5339 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5340 floatlist_, with accessor floats().
5342 * FloatList.h: remove global FloatList
5344 2002-08-26 André Pönitz <poenitz@gmx.net>
5346 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5350 * BufferView_pimpl.C:
5351 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5353 2002-08-25 John Levon <levon@movementarian.org>
5355 * LyXAction.C: fix margin note description
5357 2002-08-24 John Levon <levon@movementarian.org>
5361 * bufferview_funcs.C:
5363 * undo_funcs.C: cleanups
5365 * lyxfunc.C: disable CUT/COPY when no selection
5367 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5369 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5370 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5372 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5373 Add backward compatibility to "mono", "gray" and "no".
5375 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5377 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5378 (and file_format >= 200).
5380 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5382 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5384 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5386 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5388 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5390 * BufferView_pimpl.C:
5397 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5398 inset and code to make it work with the paragraph code. The inset
5399 can be anywhere in the paragraph, but will only do the expected
5400 thing in LaTeX if the layout file contains the parameter line
5402 (or more generally, a nonzero value) for that layout.
5404 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5406 * paragraph.h: remove the declaration of undefined counters class
5409 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5411 * text2.C (setCounter): fixed enumeration mis-count as reported by
5412 Dr. Richard Hawkins.
5414 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5416 * paragraph_funcs.h: remove some unneeded includes
5418 * text.C (backspace): pasteParagraph now in global scipe
5420 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5421 (pasteSelection): ditto
5423 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5424 * paragraph_funcs.C (pasteParagraph): ... here
5426 2002-08-20 André Pönitz <poenitz@gmx.net>
5428 * commandtags.h: new LFUNs for swapping/copying table row/colums
5431 * lyxfunc.C: support for new lfuns
5433 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5436 * buffer.[Ch]: remove NO_COMPABILITY stuff
5438 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5440 * boost.C (throw_exception): new file, with helper function for
5441 boost compiled without exceptions.
5446 * ParameterStruct.h:
5447 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5449 * bufferlist.C (emergencyWriteAll): use boost bind
5451 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5453 * text.C: include paragraph_funcs.h
5454 (breakParagraph): breakParagraph is now in global scope
5456 * paragraph_funcs.[Ch]: new files
5458 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5461 * buffer.C: include paragraph_funcs.h
5462 (insertStringAsLines): breakParagraph is now in global scope
5464 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5467 * CutAndPaste.C: include paragraph_funcs.h
5468 (cutSelection): breakParagraphConservative is now in global scope
5469 (pasteSelection): ditto
5471 * buffer.h: declare oprator== and operator!= for
5472 Buffer::inset_iterator
5474 * bufferlist.C (emergencyWrite): don't use fmt(...)
5476 * text3.C: add using std::endl
5478 * BufferView.C (moveCursorUpdate): remove default arg
5480 2002-08-20 André Pönitz <poenitz@gmx.net>
5482 * buffer.[Ch]: move inline functions to .C
5485 * BufferView_pimpl.C:
5487 * buffer.[Ch]: use improved inset_iterator
5490 * paragraph.[Ch]: write one paragraph at a time
5492 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5494 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5495 style if style is not specified.
5497 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5499 * text2.C (setCounter): when searching for right label for a
5500 caption, make sure to recurse to parent insets (so that a caption
5501 in a minipage in a figure float works) (bug #568)
5503 2002-08-20 André Pönitz <poenitz@gmx.net>
5505 * text3.C: new file for LyXText::dispatch() and helpers
5507 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5509 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5511 2002-08-19 André Pönitz <poenitz@gmx.net>
5514 * text.C: new LyXText::dispatch()
5516 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5518 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5520 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5522 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5525 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5527 * Makefile.am: use $(variables) instead of @substitutions@
5529 2002-08-15 André Pönitz <poenitz@gmx.net>
5532 * BufferView_pimpl.C: streamlining mathed <-> outer world
5536 * LyXAction.C: remove unused LFUN_MATH
5538 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5540 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5542 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5544 * paragraph.C (Paragraph): reformat a bit
5545 (cutIntoMinibuffer): use builtin InsetList function instad of
5549 * buffer.C: include boost/bind.hpp, add using std::for_each
5550 (writeFileAscii): use ParagraphList iterators
5551 (validate): use for_each for validate traversal of paragraphs
5552 (getBibkeyList): use ParagraphList iterators
5553 (resizeInsets): use for_each to resizeInsetsLyXText for all
5555 (getParFromID): use ParagraphList iterators
5557 * BufferView2.C (lockInset): use paragraph list and iterators
5559 2002-08-14 John Levon <levon@movementarian.org>
5561 * lyxserver.C: remove spurious xforms include
5563 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5565 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5567 2002-08-13 André Pönitz <poenitz@gmx.net>
5570 * lyxfunc.C: further cleaning
5572 2002-08-13 André Pönitz <poenitz@gmx.net>
5574 * funcrequest.h: new constructor
5576 * funcrequest.C: move stuff here from .h
5579 * BufferView_pimpl.C:
5582 * lyxfunc.C: subsequent changes
5584 * lyxfunc.h: new view() member function
5586 * lyxfunc.C: subsequent changes
5588 2002-08-13 Angus Leeming <leeming@lyx.org>
5591 * BufferView_pimpl.C:
5599 changes due to the changed LyXView interface that now returns references
5600 to member variables not pointers.
5602 2002-08-13 Angus Leeming <leeming@lyx.org>
5604 * WordLangTuple (word, lang_code): return references to strings,
5609 * lyxtext.h: forward-declare WordLangTuple.
5614 * text.C: #include "WordLangTuple.h".
5617 * text.C: (selectNextWordToSpellcheck): constify return type.
5619 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5625 * paragraph_pimpl.h:
5628 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5630 Made updateCounter always count from start of buffer, and removed
5631 second argument (par).
5632 Reverted floats number display to '#'. Perhaps I'll try again when the
5633 code base is sanitized a bit.
5635 2002-08-12 Angus Leeming <leeming@lyx.org>
5637 * buffer.[Ch] (getLabelList): constify.
5639 2002-08-07 André Pönitz <poenitz@gmx.net>
5641 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5643 * funcrequest.h: extension to keep mouse (x,y) position
5645 2002-08-12 Juergen Vigna <jug@sad.it>
5647 * BufferView2.C (insertErrors): forbid undo when inserting error
5650 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5652 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5654 * ParagraphList.[Ch]: new files
5656 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5658 * BufferView2.C (lockInset): ParagraphList changes
5661 * bufferlist.C: ditto
5665 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5668 unused class variable counter_,
5670 * paragraph.[Ch] (getFirstCounter): delete unused function
5672 * counters.C: include LAssert.h
5673 (reset): add a new function with no arg, change other version to
5674 not have def. arg and to not allow empty arg.
5676 * text2.C (setCounter): remove empty arg from call to Counters::reset
5678 2002-08-11 John Levon <levon@movementarian.org>
5680 * Makefile.am: add WordLangTuple.h
5682 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5684 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5685 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5687 * insets/insettext.C: InsetList changes
5689 * graphics/GraphicsSupport.C (operator()): InsetList changes
5691 * toc.C (getTocList): InsetList changes
5693 * paragraph_pimpl.[Ch]: InsetList changes
5695 * paragraph.[Ch]: InsetList changes
5697 * buffer.C (inset_iterator): InsetList changes
5698 (setParagraph): ditto
5699 * buffer.h (inset_iterator): ditto
5700 * iterators.C (operator++): ditto
5701 * iterators.h: ditto
5703 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5705 * InsetList.[Ch]: new files, most InsetList handling moved out of
5708 * BufferView2.C (removeAutoInsets): InsetList changes
5710 (ChangeInsets): ditto
5712 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * paragraph_pimpl.h (empty): new function
5716 * paragraph.[Ch] (empty): new function
5718 * other files: use the new Paragraph::empty function
5720 2002-08-09 John Levon <levon@movementarian.org>
5722 * lyxtext.h: remove unused refresh_height
5724 2002-08-09 John Levon <levon@movementarian.org>
5731 * paragraph.C: move sgml char escaping out of paragraph
5734 * paragraph.C: remove id setter
5738 * paragraph_pimpl.C: remove dead tex_code_break_column
5740 * bufferview_funcs.C: small cleanup
5742 * lyxfunc.C: remove dead proto
5744 * lyxtext.h: make some stuff private. Remove some dead stuff.
5746 * lyxgluelength.C: make as[LyX]String() readable
5748 2002-08-08 John Levon <levon@movementarian.org>
5753 * ToolbarDefaults.C:
5756 * toc.C: lyxaction cleanup
5758 2002-08-08 John Levon <levon@movementarian.org>
5760 * BufferView2.C: small cleanup
5763 * lyxfind.C: move unnecessary header into the .C
5765 2002-08-08 John Levon <levon@movementarian.org>
5767 * funcrequest.h: just tedious nonsense
5770 * lyx_main.C: cleanups
5773 * vspace.C: remove dead header lyx_main.h
5775 2002-08-07 Angus Leeming <leeming@lyx.org>
5778 * paragraph_pimpl.h:
5779 Forward declare class Counters in paragraph.h by moving the ctrs member
5780 variable into Paragraph::Pimpl.
5781 (counters): new method, returning a reference to pimpl_->ctrs.
5783 * text2.C: ensuing changes.
5785 2002-08-07 John Levon <levon@movementarian.org>
5787 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5789 * BufferView_pimpl.C: announce X selection on double/triple
5792 * lyx_main.C: use correct bool in batch dispatch
5794 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5796 2002-08-07 André Pönitz <poenitz@gmx.net>
5798 * funcrequest.h: new class to wrap a kb_action and its argument
5801 * BufferView_pimpl[Ch]:
5805 * lyxrc.C: subsequent changes
5808 2002-08-07 John Levon <levon@movementarian.org>
5810 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5811 document options change.
5813 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5818 * makefile.am: move counters functionality over from
5819 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5821 2002-08-06 John Levon <levon@movementarian.org>
5823 * WordLangTuple.h: new file for word + language code tuple
5834 * BufferView2.C: use WordLangTuple
5837 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5839 2002-08-06 John Levon <levon@movementarian.org>
5841 * lyx_main.C: fix cmdline batch handling
5843 2002-08-06 André Pönitz <poenitz@gmx.net>
5845 * lyxrc.C: set default for show_banner to true
5847 2002-08-06 John Levon <levon@movementarian.org>
5849 * pspell.C: fix a crash, and allow new aspell to work
5851 2002-08-06 John Levon <levon@movementarian.org>
5854 * kbmap.C: small cleanup
5857 * vspace.C: add const
5859 2002-08-05 John Levon <levon@movementarian.org>
5861 * LyXAction.C: back to tabular-insert
5863 2002-08-04 John Levon <levon@movementarian.org>
5866 * BufferView.C: cosmetic change
5868 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5878 * BufferView2.C: purge all "Lyx" not "LyX" strings
5881 * lyxcursor.C: attempt to add some documentation
5886 * ToolbarDefaults.C:
5887 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5888 merge with LFUN_TABULAR_INSERT
5895 * pspell.C: split up i/pspell implementations into separate
5896 files, many cleanups
5898 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5900 * text2.C: some cleanup
5902 * lyxfunc.C: don't check for isp_command == "none" any more, it
5903 didn't make any sense
5905 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5910 * makefile.am: move counters functionality over
5911 from text2.C/paragraph.[Ch] to counters.[Ch], and
5913 2002-08-02 John Levon <levon@movementarian.org>
5915 * buffer.C: s/lyxconvert/lyx2lyx/
5917 2002-08-02 Angus Leeming <leeming@lyx.org>
5919 * lyxlex.C: revert John's change as it breaks reading of the user
5922 2002-08-02 Angus Leeming <leeming@lyx.org>
5924 * importer.C (Import):
5925 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5926 changes due to LyXView::view() now returning a boost::shared_ptr.
5928 2002-08-02 John Levon <levon@movementarian.org>
5930 * lyxlex.C: small cleanup
5932 2002-08-02 John Levon <levon@movementarian.org>
5934 * text2.C (status): small cleanup, no logic change
5936 2002-08-01 John Levon <levon@movementarian.org>
5939 * buffer.C (writeFile): don't output alerts, caller
5943 * lyx_cb.C: from above
5945 * lyxfunc.C: allow to open non-existent files
5947 2002-07-31 John Levon <levon@movementarian.org>
5949 * lyxserver.C: don't let incidental errors get
5952 2002-07-30 John Levon <levon@movementarian.org>
5954 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5956 2002-07-30 John Levon <levon@movementarian.org>
5959 * lyxserver.C: remove I/O callback too
5961 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5963 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5966 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5968 * many files: strip,frontStrip -> trim,ltrim,rtrim
5970 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5972 * PrinterParams.h: remove extern containsOnly, and include
5973 support/lstrings.h instead.
5975 * LaTeX.C (scanAuxFile): modify because of strip changes
5977 * buffer.C (makeLaTeXFile): ditto
5978 * bufferparams.C (writeFile): ditt
5979 * lyxfont.C (stateText): ditto
5980 * lyxserver.C (read_ready): ditto
5981 * vc-backend.C (scanMaster): ditto
5983 * BufferView_pimpl.h: ws changes
5985 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5987 2002-07-26 André Pönitz <poenitz@gmx.net>
5989 * kb_sequence.C: remove unnedred usings
5991 2002-07-26 Juergen Vigna <jug@sad.it>
5993 * lyxfind.C (LyXReplace): we have to check better if the returned
5994 text is not of theLockingInset()->getLockingInset().
5996 2002-07-25 Juergen Vigna <jug@sad.it>
5998 * lyxfind.C (LyXReplace): don't replace if we don't get the
6001 * undo_funcs.C (createUndo): remove debugging code.
6003 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6005 * buffer.C (parseSingleLyXformat2Token): Use default placement
6006 when reading old floats.
6008 * FloatList.C (FloatList): Change the default placement of figure
6009 and tables to "tbp".
6011 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6013 * MenuBackend.C: using std::max
6015 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6017 * MenuBackend.C (expandToc):
6018 (expandToc2): code moved from xforms menu frontend. It is now
6019 generic and TOCs are transparent to menu frontends.
6021 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6023 * toc.C (getTocList): protect against buf=0
6025 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6026 Menu as first parameter. Now, this calls itself recursively to
6027 expand a whole tree (this will be useful for TOC handling)
6028 (expandFloatInsert): remove 'wide' version of floats
6030 * MenuBackend.h (submenuname): returns the name of the submenu.
6031 (submenu): returns the submenu itself, provided it has been
6032 created by MenuBackend::expand
6034 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6036 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6037 insets which have noFontChange == true. (bug #172)
6039 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6041 * BufferView_pimpl.C: add connection objects and use them...
6044 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6046 * MenuBackend.C (expandLastfiles):
6049 (expandFloatListInsert):
6050 (expandFloatInsert):
6051 (expand): split expand in parts
6053 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6055 * lyx_gui.C: use lyx_gui::exit()
6057 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6059 * LyXAction.C: show the failing pseudo action
6061 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6063 * buffer.C (readFile): Run the lyxconvert script in order to read
6066 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6070 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6072 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6076 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6078 2002-07-22 Herbert Voss <voss@lyx.org>
6081 * lyxlength.[Ch]: add support for the vertical lengths
6083 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6085 * toc.[Ch]: std:: fixes
6087 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6089 * lyxrc.C: do not include lyx_main.h
6091 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6097 * BufferView2.C: include "lyxlex.h"
6100 * bufferparams.h: do not #include "lyxlex.h"
6102 * lyxtextclasslist.C (Add): remove method
6103 (classlist): renamed to classlist_
6105 * paragraph_pimpl.C:
6109 * bufferview_funcs.C:
6114 * toc.C (getTocList): use BufferParams::getLyXTextClass
6116 * toc.C (getTocList): use InsetFloat::addToToc
6118 * toc.[Ch]: new files, containing helper functions to handle table
6121 * lyxfunc.C (dispatch): no need to remove spaces around command
6123 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6124 first command of the sequence; it is not very clever, but I do not
6125 have a better idea, actually
6127 * LyXAction.C (LookupFunc): make sure to remove space at the
6128 beginning and end of the command
6130 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6132 * MenuBackend.C (getMenubar): new method: return the menubar of
6134 (read): treat differently reading of menu and menubar (in
6135 particular, the menubar has no name now)
6136 (Menu::menubar): remove
6138 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6141 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6143 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6144 a bibitem inset in a RTL paragraph.
6146 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6148 * paragraph_pimpl.C: constify
6150 * BufferView_pimpl.C:
6152 * lyxfunc.C: fix dispatch in a nicer way
6154 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6156 * lyxfunc.C (dispatch):
6157 * BufferView_pimpl.C:
6158 * BufferView_pimpl.h:
6160 * BufferView.h: rename Dispatch() to dispatch()
6162 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6164 * lyxlayout.C (Read): honor DependsOn tag
6166 * lyxlayout.[Ch] (depends_on): new method
6168 * version.C.in: update lyx_docversion
6170 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6172 * paragraph.C (validate): remove from here...
6173 * paragraph_pimpl.C (validate): ... and move here
6174 (isTextAt): make it const
6176 * buffer.C (getLists): ws cleanup
6178 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6180 * language.C (read): Use iso8859-1 encoding in latex_lang
6181 (this prevents LyX from crashing when using iso10646-1 encoding).
6183 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6185 * text2.C (toggleInset): if cursor is inside an inset, close the
6186 inset and leave cursor _after_ it
6188 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6190 * lyxfunc.C: move minibuffer completion handling out of here
6192 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6194 * BufferView_pimpl.C:
6195 * LaTeX.C: fix dispatch calls
6197 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6199 * text.C (drawChars): Fix Arabic text rendering.
6201 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6205 * lyxfunc.C: remove message-push/pop
6209 * lyxfunc.C: rationalise some code by removing verboseDispatch
6210 in favour of a bool argument to dispatch()
6212 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6214 * lyx_main.C (init): make sure to read symlinks as absolute paths
6216 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6219 * lyxfunc.C: no need for commandshortcut to be a member
6221 2002-07-15 André Pönitz <poenitz@gmx.net>
6223 * converter.C: add support for $$s (scripts from lib/scripts dir)
6224 * lyx_main.C: white space
6226 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6230 * lyxrc.C: remove second exit confirmation
6232 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6237 * BufferView_pimpl.h:
6238 * BufferView_pimpl.C:
6239 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6241 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6243 * MenuBackend.C (expand): add numeric shortcuts to document menu
6245 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6247 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6249 * lyxfont.C (setLyXFamily):
6256 * buffer.C (asciiParagraph): use ascii_lowercase
6258 2002-07-15 Mike Fabian <mfabian@suse.de>
6260 * lyxlex_pimpl.C (search_kw):
6261 * lyxlex.C (getLongString):
6262 * converter.h (operator<):
6263 * converter.C (operator<):
6264 * buffer.C (parseSingleLyXformat2Token):
6266 * ToolbarDefaults.C (read):
6267 * MenuBackend.C (checkShortcuts):
6269 * LColor.C (getFromGUIName):
6270 (getFromLyXName): use the compare_ascii_no_case instead of
6271 compare_no_case, because in turkish, 'i' is not the lowercase
6272 version of 'I', and thus turkish locale breaks parsing of tags.
6274 2002-07-16 Angus Leeming <leeming@lyx.org>
6276 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6277 now takes a Buffer const & argument.
6279 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6281 * BufferView.C (resize): check there's a buffer to resize
6283 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6285 * lyxfunc.C: remove dead code
6288 * lyxserver.C: use lyx_guii::set_read_callback
6290 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6292 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6293 an inset in a RTL paragraph.
6295 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6297 * lyxfunc.C: repaint after a font size update
6299 2002-07-15 André Pönitz <poenitz@gmx.net>
6301 * lyxlength.C: inBP should be able to return negative values
6303 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6305 * lyxfunc.C: use lyx_gui::update_fonts()
6307 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6309 * lyxfunc.C: use lyx_gui::update_color()
6311 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6317 * lyxrc.C: remove file->new asks for name option, and let
6318 buffer-new take an argument
6320 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6322 * BufferView_pimpl.C: remove unneeded extra repaint()
6324 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6326 * LyXAction.C: allow command-sequence with NoBuffer
6328 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6330 2002-07-10 Angus Leeming <leeming@lyx.org>
6332 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6334 2002-07-09 Angus Leeming <leeming@lyx.org>
6336 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6338 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6340 * lengthcommon.h: whitespace
6342 * lyxfunc.C: update scrollbar after goto paragraph
6344 * lyxtext.h: factor out page break drawing, and fix it so
6345 page break/added space paints as selected nicely
6347 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6349 * BufferView_pimpl.C: add FIXMEs, clean up a little
6351 2002-07-09 André Pönitz <poenitz@gmx.net>
6353 * lyxfont.[Ch]: support for wasy symbols
6355 2002-07-08 André Pönitz <poenitz@gmx.net>
6357 * BufferView_pimpl.C: apply John's patch for #93.
6359 2002-07-05 Angus Leeming <leeming@lyx.org>
6361 * BufferView_pimpl.C (buffer): generate previews if desired.
6363 * LColor.h: add "preview" to the color enum.
6365 * LColor.C (LColor): add a corresponding entry to the items array.
6367 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6370 2002-07-05 Angus Leeming <leeming@lyx.org>
6372 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6373 The body of the code is now in the method that is passed an ostream &
6374 rather than a file name.
6375 Pass an additional only_preamble parameter, useful for the forthcoming
6378 2002-07-03 André Pönitz <poenitz@gmx.net>
6380 * lyxfunc.C: simplify getStatus() a bit for math stuff
6382 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6384 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6386 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6388 * text.C (changeRegionCase): do not change case of all the
6389 document when region ends at paragraph end (bug #461)
6391 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6393 * paragraph.C (startTeXParParams):
6394 (endTeXParParams): add \protect when necessary
6396 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6398 * BufferView_pimpl.C (workAreaExpose): remove warning
6400 2002-06-27 Angus Leeming <leeming@lyx.org>
6402 * Makefile.am: add lyxlayout_ptr_fwd.h.
6404 2002-06-26 André Pönitz <poenitz@gmx.net>
6406 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6408 2002-06-25 Angus Leeming <leeming@lyx.org>
6410 * lyxfunc.C (dispatch): Comment out the call to
6411 grfx::GCache::changeDisplay. The method no longer exists now that the
6412 pixmap generation part of the graphics loader has been moved into
6415 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6417 * text2.C: layout as layout
6419 * text.C: layout as layout
6421 * tabular.C (OldFormatRead): layout as layout
6423 * paragraph_pimpl.C (TeXDeeper): layout as layout
6424 (realizeFont): layout as layout
6426 * paragraph.C (writeFile): layout as layout
6427 (validate): layout as layout
6428 (getFont): layout as layout
6429 (getLabelFont): layout as layout
6430 (getLayoutFont): layout as layout
6431 (breakParagraph): layout as layout
6432 (stripLeadingSpaces): layout as layout
6433 (getEndLabel): layout as layout
6434 (getMaxDepthAfter): layout as layout
6435 (applyLayout): layout as layout
6436 (TeXOnePar): layout as layout
6437 (simpleTeXOnePar): layout as layout
6438 (TeXEnvironment): layout as layout
6439 (layout): layout as layout
6440 (layout): layout as layout
6442 * lyxtextclass.C (compare_name): new functor to work with
6443 shared_ptr, layout as layout
6444 (Read): layout as layout
6445 (hasLayout): layout as layout
6446 (operator): layout as layout
6447 (delete_layout): layout as layout
6448 (defaultLayout): layout as layout
6450 * lyxlayout_ptr_fwd.h: new file
6452 * lyxlayout.C (Read): layout as layout
6454 * lyx_cb.C (MenuInsertLabel): layout as layout
6456 * bufferlist.C (newFile): layout as layout
6458 * buffer.C (readLyXformat2): layout as layout
6459 (parseSingleLyXformat2Token): layout as layout
6460 (insertStringAsLines): layout as layout
6461 (asciiParagraph): layout as layout
6462 (latexParagraphs): layout as layout
6463 (makeLinuxDocFile): layout as layout
6464 (simpleLinuxDocOnePar): layout as layout
6465 (makeDocBookFile): layout as layout
6466 (simpleDocBookOnePar): layout as layout
6467 (getLists): layout as layout
6469 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6471 * CutAndPaste.C (cutSelection): layout as layout
6472 (pasteSelection): layout as layout
6473 (SwitchLayoutsBetweenClasses): layout as layout
6475 * BufferView_pimpl.C (Dispatch): layout as layout
6476 (smartQuote): layout as layout
6478 * BufferView2.C (unlockInset): layout as layout
6480 2002-06-24 André Pönitz <poenitz@gmx.net>
6482 * lyxfunc.C: fix #487
6484 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6488 * lyxfunc.C: remove display_shortcuts, show_banner
6490 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6492 * Buffer_pimpl.C: oops, update on resize
6494 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6501 * BufferView.C: use repaint()
6503 * BufferView_pimpl.h:
6504 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6505 as it's a clearer description. Remove superfluous
6508 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6510 * text.C: fix bug 488. Not ideal, but getting
6511 getWord() to work properly for the insets that
6512 matter is more difficult ...
6514 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6516 * BufferView_pimpl.C:
6519 * lyxfunc.C: remove the six million index lyxfuncs to just
6520 one, and DTRT (bug 458)
6522 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6526 * BufferView_pimpl.h:
6527 * BufferView_pimpl.C: clean up resize() stuff,
6528 and unnecessary updateScreen()s
6530 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6534 * BufferView_pimpl.h:
6535 * BufferView_pimpl.C:
6538 * minibuffer.C: remove focus management of workarea,
6539 not needed. Use screen's greyOut()
6541 2002-06-17 Herbert Voss <voss@lyx.org>
6543 * converter.C: (convert) do not post a message, when converting
6544 fails, let the calling function decide what to do in this case
6546 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6548 * lyxfunc.C: tidy up a little
6550 2002-06-16 <alstrup@diku.dk>
6552 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6553 Got rid of FORMS_H_LOCATION include. Now we are
6556 2002-06-15 LyX Development team <lyx@rilke>
6558 * buffer.[Ch] (sgmlOpenTag):
6559 (sgmlCloseTag): Added support for avoiding pernicious mixed
6560 content. Return number of lines written.
6563 (makeDocBookFile): Fixed calls to sgml*Tag.
6564 Simple white space clean.
6566 (simpleDocBookOnePar): Simple white space clean.
6568 * tabular.[Ch] (docBook): Renamed to docbook and got another
6569 argument to related with the pernicious mixed content.
6571 (docbookRow): Fixed calls for docbook inset method.
6573 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6575 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6576 so it's X11 independent.
6580 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6582 2002-06-15 Lyx Development team <lyx@electronia>
6584 * intl.h: Renamed getTrans to getTransManager.
6586 2002-06-14 Angus Leeming <leeming@lyx.org>
6588 * Makefile.am: nuke forgotten stl_string_fwd.h.
6590 2002-06-12 Angus Leeming <leeming@lyx.org>
6592 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6594 2002-06-13 Angus Leeming <leeming@lyx.org>
6597 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6599 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6601 * kbmap.C (getiso): add support for cyrillic and greek
6603 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6607 * BufferView_pimpl.h:
6608 * BufferView_pimpl.C: move bogus scrolling logic
6611 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6614 * BufferView_pimpl.C: view->resize() change
6616 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6618 * BufferView_pimpl.C: topCursorVisible
6621 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6625 * lyx_gui.C: move to frontends/
6629 * lyx_main.C: changes from above
6631 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6638 * lyx_main.C: minor tidy
6640 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6642 * BufferView_pimpl.h:
6643 * BufferView_pimpl.C:
6645 * BufferView.C: make painter() const,
6648 * BufferView2.C: use screen() accessor
6651 * lyx_main.C: some minor cleanup
6653 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6655 * BufferView_pimpl.h:
6656 * BufferView_pimpl.C: remove enter/leaveView,
6659 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6664 * BufferView_pimpl.h:
6665 * BufferView_pimpl.C: only construct screen once,
6668 * lyxrc.C: remove pointless comment
6670 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6673 * BufferView.C: remove active() and belowMouse()
6675 * BufferView_pimpl.h:
6676 * BufferView_pimpl.C: use workarea() not workarea_,
6677 and make it use a scoped_ptr instead
6679 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6681 * lyx_gui.C: add debug message on BadWindow
6683 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6685 * sp_spell.C: fdopen is not part of the C++ standard.
6687 * paragraph.C (InsetIterator): use >= instead of ==
6689 2002-06-07 Angus Leeming <leeming@lyx.org>
6691 Fixes needed to compile with Compaq cxx 6.5.
6692 * BufferView_pimpl.C:
6699 * lyxtextclasslist.C:
6704 all c-library variables have been moved into namespace std. Wrap
6705 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6710 Add a using std::abs declaration.
6712 * kbmap.h (modifier_pair):
6713 * paragraph.h (InsetTable, InsetList):
6714 * lyxfont.h (FontBits):
6715 type definition made public.
6717 * bufferlist.C (emergencyWriteAll): the compiler complains that
6718 there is more than one possible lyx::class_fun template to choose from.
6719 I re-named the void specialisation as lyx::void_class_fun.
6721 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6723 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6724 the compiler is is unable to find tostr in write_attribute.
6726 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6728 * buffer.C (sgmlError): hide #warning
6730 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6732 * xtl/*: get rid of xtl, which is not in use anyway
6734 * LyXAction.C (init):
6735 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6736 were unimplemented xtl experimentation
6738 2002-06-04 André Pönitz <poenitz@gmx.net>
6740 * lyxfunc.C: disable array operation on simple formulae
6742 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6744 * converter.C: constify a bit
6746 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6748 * lyx_gui.C: check xforms version correctly
6750 2002-04-30 Herbert Voss <voss@lyx.org>
6752 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6755 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6757 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6758 attempt to register it with a VCS)
6760 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6762 * lyx_main.C (init): honor variables LYX_DIR_13x and
6765 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6769 * lyx_main.C: fix a crash on bad command line,
6770 and give a useful exit status on error
6772 * lyxfunc.C (doImport): allow -i lyx to work
6774 2002-03-30 André Pönitz <poenitz@gmx.net>
6776 * lyxfunc.C: mathed font changes
6778 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6793 * trans_mgr.h: srcdocs, and some minor cleanups
6795 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6797 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6798 call getFont all the time)
6800 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6802 * switch from SigC signals to boost::signals
6804 2002-05-29 André Pönitz <poenitz@gmx.net>
6806 * paragraph_pimpl.C (getChar): don't call size() too often...
6808 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6810 * paragraph_pimpl.C (insertChar): do not try to update tables when
6811 appending (pos == size())
6813 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6814 in order to reduce drastically the number of comparisons needed to
6815 parse a large document
6817 2002-05-29 André Pönitz <poenitz@gmx.net>
6823 * textclasslist.[Ch]:
6824 * sp_ispell.h: whitespace change
6826 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6828 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6829 lyxaction directly now.
6831 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6835 * lyxvc.C: remove unused headers
6837 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6844 * undo_funcs.C: some cleanups. Use shared_ptr
6845 and a template for the undo stacks.
6847 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6849 * BufferView_pimpl.h:
6850 * BufferView_pimpl.C:
6857 * text2.C: use key_state/mouse_state
6859 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6861 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6864 * chset.C: change include order
6865 (loadFile): use boost regex and get rid of LRegex and LSubstring
6867 * Makefile.am (BOOST_LIBS): new variable
6870 * LaTeX.C: change include order.
6871 (scanAuxFile): use boost regex and get rid of LRegex and
6875 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6880 * FontInfo.C: moved to frontends/xforms/
6883 * FontLoader.C: moved into frontends for GUIIzation
6888 * lyxfunc.C: changes from above
6890 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6892 * LColor.C: remove spurious X include
6894 * BufferView_pimpl.C:
6899 * text2.C: move font metrics to frontends/
6901 2002-05-24 Juergen Vigna <jug@sad.it>
6903 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6904 setting the undo_cursor.
6906 * ParagraphParameters.h: include local includes first.
6908 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6910 * BufferView_pimpl.C:
6911 * BufferView_pimpl.h:
6915 * screen.C: move WorkArea into frontends/
6921 * BufferView2.C: move LyXScreen into frontends/
6925 * lyx_gui.C: move lyxlookup into frontends/xforms/
6927 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6930 * BufferView_pimpl.C:
6940 * bufferview_funcs.C:
6953 * vc-backend.C: move LyX/XFormsView into frontends/
6955 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6967 * text2.C: move Painter to frontends/
6969 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6971 * buffer.C: comment out some some code that depend upon lyx_format
6974 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6975 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6977 * buffer.h (NO_COMPABILITY): turn off compability
6979 * ColorHandler.C: include scoped_array.hpp
6981 * font.C: Use more specific smart_ptr header.
6984 * ShareContainer.h: ditto
6988 * BufferView_pimpl.h: ditto
6989 * ColorHandler.h: ditto
6991 * kbmap.C (defkey): change call to shared_ptr::reset
6993 2002-05-21 Juergen Vigna <jug@sad.it>
6995 * buffer.C (insertErtContents): fix to insert ert asis if it is
6996 non empty. Skip it completely if it contains only whitespaces.
6998 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7000 * BufferView_pimpl.C:
7001 * BufferView2.C: clear selection on paste (bug 393)
7003 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7005 * DepTable.C: include ctime
7007 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7009 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7011 2002-05-14 Juergen Vigna <jug@sad.it>
7013 * text.C (breakParagraph): fixed function to honor the keepempty
7014 layout in the right maner and also to permit the right breaking
7015 algorithm on empty or non empyt keepempty paragraphs.
7017 * paragraph.C (breakParagraph): we have to check also if the par
7018 is really empty (!size()) for isempty otherwise we do the wrong
7021 2002-05-10 Juergen Vigna <jug@sad.it>
7023 * buffer.[Ch] : The following are only changes to the ert
7024 compatibility read reading old LaTeX layout and font stuff and
7025 convert it to ERTInsets.
7027 * buffer.h: added isErtInset().
7029 * buffer.C (struct ErtComp): add a fromlayout bool to check
7030 if we're inside a LaTeX layout.
7031 (isErtInset): new helper function.
7032 (insertErtContents): look for other ert insets before this one
7033 and insert the contents there, so that we don't have subsequent
7034 ERT insets with nothing between them. This way we create only one
7035 inset with multiple paragraphs. Also check if we don't insert only
7036 spaces ' ' as they are ignored anyway afterwards in the .tex file
7037 so if we have only spaces we will ignore this latex part in the
7039 (parseSingleLyXformat2Token \\layout): better compatibility when
7040 reading layout-latex stuff.
7041 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7043 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7044 stuff after reading the inset only get the information back from
7047 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7049 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7051 * LaTeXFeatures.C (getBabelOptions): New method.
7053 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7055 * BufferView_pimpl.C (Dispatch): work around missing argument for
7058 2002-05-08 Juergen Vigna <jug@sad.it>
7060 * text.C (leftMargin): handle paragraph leftindent.
7062 * paragraph.C (writeFile): write the new \\leftindent tag.
7063 (validate): handle leftindent code.
7064 (TeXEnvironment): handle paragraphleftindent code again.
7066 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7068 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7069 for paragrap_extra indent code and new token \\leftindent.
7070 (latexParagraphs): handle the leftindent as environment.
7072 * ParameterStruct.h: added leftindent support.
7074 * ParagraphParameters.C (leftIndent): added support functions for
7075 the paragraph left indent.
7077 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7080 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7082 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7085 * text.C (computeBidiTables): No bidi in insetERT.
7087 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7090 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7092 * version.C.in: pre 5
7094 2002-05-02 José Matos <jamatos@fep.up.pt>
7095 * buffer.C (makeDocBookFile): white space changes, add newline to
7097 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7099 * tabular.C (docBook): fix typo.
7101 2002-05-03 Juergen Vigna <jug@sad.it>
7103 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7104 change in LyXText as we can not be sure it was not freed.
7105 (drawOneRow): remove unused code.
7107 * text.C (drawInset): redo the calculation of the need_break_row as
7108 it could have a row which was already freed.
7109 (draw): look at the return value of drawInset and return false if
7110 it also returned false.
7111 (paintRowText): look at the return value of draw and return false if
7112 it also returned false.
7114 * lyxtext.h: added bool return type to drawInset() and draw() so that
7115 if we have a change in the row so that the rowbreak has to be redone
7116 we abort drawing as it will be called again.
7118 2002-05-02 Juergen Vigna <jug@sad.it>
7120 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7121 a change in the maintext also if we're inside an inset.
7122 (Dispatch): set the cursor again after a break line and after the
7123 screen has been updated as it could be we're in a different row.
7125 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7126 to set the cursor behind the pargraph with > size().
7127 (setCursor): check also for the same paragraph when checking where
7128 to put the cursor if we have a NFR inset.
7130 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7131 parts of layout read further up as it still was in the wrong
7134 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7136 * screen.C (drawFromTo): change sine fullRebreak always return
7139 * buffer.C (parseSingleLyXformat2Token): reindent some
7141 * BufferView_pimpl.C (update): change since fullRebreak always
7143 (Dispatch): git rid of the last hardcoded "Standard"s.
7145 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7147 * text2.[Ch] (fullRebreak): make it return void now that we always
7150 2002-04-30 Juergen Vigna <jug@sad.it>
7152 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7153 ert compatibility check for "latex" layout.
7155 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7157 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7158 minipages: use col% instead of p%, and also use the current font.
7159 (makeLaTeXFile): Fix use babel condition.
7160 (parseSingleLyXformat2Token): Correct font when reading old floats.
7162 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7164 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7165 inserting list of floats.
7167 2002-04-25 Herbert Voss <voss@lyx.org>
7169 * MenuBackend.C (expand): don't add the graphics extensions to the
7172 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7174 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7175 non-existing layout, do not complain if it was the default layout
7176 of the original class (bug #342)
7178 2002-04-24 Juergen Vigna <jug@sad.it>
7180 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7181 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7183 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7185 * buffer.C (getBibkeyList): If using \bibliography, return the
7186 option field with the reference itself. Enables us to provide natbib
7187 support when using \bibliography.
7189 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7191 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7193 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7194 natbib is provided by the LaTeX class.
7196 2002-04-23 Juergen Vigna <jug@sad.it>
7198 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7201 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7203 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7205 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7207 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7208 ensuremath around textordmasculine, textordfeminine and
7211 2002-04-19 Juergen Vigna <jug@sad.it>
7213 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7214 reinitializing the buffer otherwise row-dimensions may be wrong.
7215 (update): reset also the selection cursors if they do exits otherwise
7216 their x/y positions may be wrong.
7218 * text2.C (cursorDown): don't enter the inset if we came from a row
7219 above and are one row over the inset.
7221 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7222 really leaving an inset.
7224 2002-04-18 Juergen Vigna <jug@sad.it>
7226 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7227 of the selected paragraph does not have the selected layout also if
7230 * text2.C (setLayout): fixed bug which did not change last selected
7233 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7234 changed the read and substituted \\end_float with \\end_inset!
7236 * BufferView_pimpl.C (cursorPrevious):
7237 (cursorNext): fixed to make it work with rows heigher than the work
7238 area without moving the cursor only the draw of the row.
7239 (workAreaMotionNotify): fix jumping over high rows.
7241 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7243 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7246 2002-04-16 Juergen Vigna <jug@sad.it>
7248 * text2.C (setCursor): set also the irow().
7249 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7251 (cursorDown): support for locking an inset if the x_fix value goes
7252 inside it. That way I can transverse insets too with cursor up/down.
7254 * lyxrow.h: added irow helper function same as other (i) functions.
7256 * BufferView_pimpl.C (cursorPrevious):
7257 (cursorNext): fixed for insets!
7259 2002-04-15 Juergen Vigna <jug@sad.it>
7261 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7262 position otherwise it is wrong in some cases.
7264 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7265 inside the inset before the call.
7267 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7269 * buffer.[Ch] (getBibkeyList): make it const.
7271 2002-04-12 Juergen Vigna <jug@sad.it>
7273 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7275 * text2.C (getCursorX): new helper function
7276 (setCursor): compute also ix_
7277 (setCursorFromCoordinates): set also ix.
7279 * lyxcursor.h: added ix_ and helper functions.
7281 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7283 * buffer.C (insertStringAsLines): dont break paragraph if the this
7284 paragraph is inside an inset which does not permit it!
7286 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7287 also with no chars on this paragraph.
7288 (paintRowText): only paint stuff if it's inside the workarea!
7290 * paragraph.C (breakParagraph): honor keepempty flag and break the
7291 paragraph always below not above.
7293 * BufferView2.C (unlockInset): update the paragraph layout on inset
7294 unlock as we changed paragraph in such a case.
7296 * lyxfind.C (LyXFind): clear the former selection if not found!
7298 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7299 again called in insertChar().
7301 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7302 an inset which uses the whole row!
7303 (rightMargin): ditto.
7304 (insertChar): force a rebreak if we inserted an inset!
7306 2002-03-28 Herbert Voss <voss@lyx.org>
7308 * lyxlength.[Ch]: add inBP() to get the right PS-point
7309 units (BigPoint). With inPixels we have rounding errors
7311 2002-04-11 Juergen Vigna <jug@sad.it>
7313 * text2.C (setCursorFromCoordinates): set iy to the right value.
7314 (setCursor): add check if row->previous exists!
7316 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7317 an old float_type as this was the case in the old code!
7319 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7321 * BufferView2.C (showLockedInsetCursor): use iy
7322 (fitLockedInsetCursor): ditto
7324 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7325 locked insets as there we have the right value now.
7327 * lyxcursor.C: added iy_ variable and iy functions to set to the
7328 baseline of cursor-y of the locked inset.
7330 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7331 (setCursor): fixed for insets which need a full row.
7333 * text.C (rowLastPrintable): don't ignore the last space when before
7334 an inset which needs a full row.
7335 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7336 as last character of a row when before a inset which needs a full row.
7338 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7340 * version.C.in: update date
7342 * text2.C (fullRebreak): try to always return true and see what
7345 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7347 * MenuBackend.C (expand): use Floating::listName
7349 * FloatList.C (FloatList): add listName argument to the built-in
7352 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7353 text associated with the float.
7355 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7357 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7359 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7361 * ShareContainer.h: add a couple of missing typenames.
7363 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7365 * lyxrc.C (getDescription): use _() correctly rather than N_().
7367 2002-03-28 Herbert Voss <voss@lyx.org>
7369 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7370 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7372 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7374 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7375 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7377 2002-03-29 Juergen Vigna <jug@sad.it>
7379 * lyxfunc.C (dispatch): add a missing fitCursor call.
7381 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7382 it was scrolled by a cursor move, so return the bool status.
7384 * BufferView.C (fitCursor): return the bool flag also to the outside
7385 world as this is needed.
7387 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7389 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7390 call the edit() as it is not needed (and wrong) IMO.
7391 (workAreaButtonPress): set the screen_first variable before evt.
7392 unlock the inset as this may change screen_first and then we have
7393 a wrong y position for the click!
7395 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7397 * MenuBackend.C (expand): another translation that I missed
7399 2002-03-28 Juergen Vigna <jug@sad.it>
7401 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7403 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7405 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7407 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7409 * MenuBackend.C (expand): fix export/view/update when there is no
7412 2002-03-27 Herbert Voss <voss@lyx.org>
7414 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7417 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7419 * bufferview_funcs.C (currentState): only show paragraph number
7420 for is DEVEL_VERSION is set.
7422 * lyxfunc.C (dispatch): put warning in INFO channel
7424 * MenuBackend.C (expand): translate the name of floats
7426 * FloatList.C (FloatList): mark the float names for translation
7428 * converter.C (convert): use LibScriptSearch
7430 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7432 * MenuBackend.C (defaults): fix default menu (we might as well get
7435 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7437 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7440 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7442 * lyxvc.C: reorder includes.
7444 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7446 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7449 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7451 * CutAndPaste.C: change layouts earlier on paste
7452 to avoid crashing when calling getFont()
7454 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7456 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7459 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7461 * WorkArea.C: remove 'Pending' debug message.
7463 * most files: ws cleanup
7465 * buffer.[Ch]: ws changes
7467 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7469 2002-03-21 Juergen Vigna <jug@sad.it>
7471 * tabular.C (SetMultiColumn): collapse also the contents of the
7472 cells and set the last border right. Added a Buffer const * param.
7474 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7476 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7479 2002-03-19 Juergen Vigna <jug@sad.it>
7481 * text2.C (clearSelection): reset also xsel_cache.
7483 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7484 where it needs to be called (John tells us to do so too :)
7485 (selectionLost): reset sel_cache.
7487 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7489 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7491 * text2.C (setCursorIntern): put debuging code in INSETS channel
7493 2002-03-19 André Pönitz <poenitz@gmx.net>
7495 * lyxfunc.C: tiny whitespace change
7497 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7499 * ToolbarDefaults.C (init):
7500 * LyXAction.C (init):
7502 * BufferView_pimpl.C (Dispatch):
7503 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7505 2002-03-19 Allan Rae <rae@lyx.org>
7507 * exporter.C (Export): removeAutoInsets before doing anything else.
7508 While I've just introduced a dependency on BufferView this really is
7509 the best place to clean the buffer otherwise you need to cleanup in
7510 a dozen places before calling export or cleanup in a dozen functions
7513 * converter.C (runLaTeX):
7514 (scanLog): Better handling of removeAutoInsets and screen updates.
7516 * lyxfunc.C (dispatch): small whitespace changes
7518 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7520 * WorkArea.C (C_WorkAreaEvent): return a value.
7521 (event_cb): return 1 if we handled the event, 0 otherwise.
7523 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7525 2002-03-18 Juergen Vigna <jug@sad.it>
7527 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7528 (GetAdditionalWidth): ditto.
7532 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7533 inset if we're there actually (probably not used right now but this
7534 is the direction to go for unifying code).
7535 (paste): disable code to clear the selection.
7537 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7538 inside an InsetText and move the check further up as it is in the
7541 * text2.C (pasteSelection): set a selection over the pasted text.
7543 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7545 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7546 and libgraphics to build on Cygwin.
7548 2002-03-15 Juergen Vigna <jug@sad.it>
7550 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7551 inserting an Inset into the paragraph. I know this is not the best
7552 fix but we already use current_view in CutAndPaste so we will remove
7553 all of it's using at the same time.
7555 * buffer.C (sgmlError): deactivated function till it is rewritten in
7556 the right mode, now it can create problems.
7558 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7559 before accessing it.
7561 2002-03-14 Juergen Vigna <jug@sad.it>
7563 * undo_funcs.C (textHandleUndo): do the right thing when updating
7564 the inset after the undo/redo.
7566 * text2.C (setCursor): just some testcode for #44 not ready yet.
7568 * undo_funcs.C (textHandleUndo): set the next() and previous()
7569 pointers of the paragraph to 0 before deleting otherwise we have
7570 problems with the Paragraph::[destructor].
7572 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7573 on a paragraph insertion.
7575 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7577 * buffer.C (asciiParagraph): use += operator for char append to
7580 * paragraph.C (getFontSettings): compare >= not just >
7581 (highestFontInRange): ditto
7584 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7586 * paragraph.C: change several algorithm to be more appripriate for
7587 the problem domain. This is lookip in FontList and in the InsetList.
7589 2002-03-13 André Pönitz <poenitz@gmx.net>
7592 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7594 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7599 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7601 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7603 * Painter.C (display): anon helper function, adjust code for this
7605 (pixmap): remove function.
7607 * Painter.h: remove private display variable.
7609 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7611 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7613 * WorkArea.[Ch]: remove figinset_canvas cruft.
7615 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7617 * lyxtextclass.C (operator): add one item cache optimization.
7619 * bufferlist.h: doxy changes
7621 * bufferlist.C: ws changes
7623 * DepTable.[Ch] (ext_exist): place const in the right spot.
7625 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7627 (workAreaExpose): call resizeInsets when the with BufferView changes.
7628 (Dispatch): adjust for protectedBlank removal
7629 (specialChar): call updateInset if the insert went ok.
7631 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7632 specialChar instead.
7634 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7636 * BufferView.h: doxy change
7638 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7640 * lyxtextclass.C (operator[]): remove non-const version
7641 (defaultLayout): remove non-const version
7643 2002-03-12 Juergen Vigna <jug@sad.it>
7645 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7646 did resize the LyXText too.
7648 * buffer.C (readLyXformat2): set layout information on newly allocated
7651 * tabular.C (OldFormatRead): set layout information on the paragraph.
7653 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7655 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7657 2002-03-11 Juergen Vigna <jug@sad.it>
7659 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7661 (resizeCurrentBuffer): force also the insets to resize themselfes.
7662 (moveCursorUpdate): fixed up for InsetText.
7664 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7667 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7668 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7669 value of Dialogs::tooltipsEnabled().
7670 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7672 2002-03-08 Juergen Vigna <jug@sad.it>
7674 * BufferView_pimpl.C (updateInset): update inset inside inset also
7675 if it isn't inside theLockingInset().
7677 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7679 * buffer.C (asciiParagraph): redo some of the word and line length
7681 (getLists): look for Caption instead of caption.
7683 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7685 * buffer.C (Buffer): initialize niceFile to true
7688 (makeDocBookFile): make sure niceFile is true on exit
7690 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7692 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7694 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7696 * LyXSendto.C: remove.
7697 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7698 * lyx_gui.C: remove now-redundant comment.
7699 * ColorHandler.h: remove forward declaration of class WorkArea.
7700 * lyxfunc.C: remove #include "WorkArea.h".
7702 2002-03-07 Juergen Vigna <jug@sad.it>
7704 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7705 got moved away with the DEPM and also set the inset_owner always
7706 right which before could have been omitted.
7708 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7710 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7711 wanted layout is not found.
7713 2002-03-07 Juergen Vigna <jug@sad.it>
7715 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7717 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7719 * paragraph.C (breakParagraph): use default layout not layout of
7721 (Paragraph): clear ParagraphParameters.
7723 2002-03-06 Juergen Vigna <jug@sad.it>
7725 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7726 otherwise it would not be a valid lenght. Fixed a special case in
7727 the minipage compatibility read where we end the document with a
7730 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7731 was set as it could be 0 for InsetTexts first entry.
7733 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7735 * paragraph.C (writeFile): if layout is empty write out
7736 defaultLayoutName().
7738 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7739 file without named layout we set layout to defaultLayoutName().
7741 2002-03-06 Juergen Vigna <jug@sad.it>
7743 * CutAndPaste.C (copySelection): set layout for new paragraph.
7745 * text.C (prepareToPrint): leave ERT inset left aligned
7746 (leftMargin): don't indent paragraphs inside ERT insets
7748 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7750 * paragraph.C (breakParagraph): dont call clear do the work manually
7752 * paragraph.[Ch] (clear): remove function
7754 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7756 * paragraph.C (Paragraph): dont call clear, the work has already
7759 * lyxtextclass.C (operator): assert if n is empty
7761 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7762 work manually instead.
7764 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7766 * BufferView_pimpl.C: protect selectionLost against text == 0
7768 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7770 * text.C (breakParagraph): fix a setting layout to '0' problem.
7772 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7774 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7775 final location of file, for the included files, and graphics.
7777 2002-03-05 Juergen Vigna <jug@sad.it>
7779 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7781 2002-03-04 Juergen Vigna <jug@sad.it>
7783 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7785 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7786 last column of multicolumn cells.
7787 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7789 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7791 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7792 file if it doesn't go to a temporary file.
7794 * buffer.C (sgmlOpenTag):
7795 (sgmlCloseTag): remove extra newline insertion.
7797 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7799 * text.C (getRowNearY): comment out debug msg
7801 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7803 * text2.C: first -> first_y
7805 * text.C (getRowNearY): add some attemts at a possible
7806 optimization, not working.
7808 * tabular.[Ch]: add BufferParams to several function so that newly
7809 created paragraph can be initialized to he default layotu for the
7812 * tabular-old.C (ReadOld): add buf->params to call of Init
7814 * screen.C: rename text->first to text->first_y
7816 * paragraph.C (breakParagraph): always set layout in the broken
7819 * lyxtextclass.C (Read): remove lowercase
7822 (delete_layout): ditto
7824 * lyxtext.h: rename first -> first_y
7826 * lyxlayout.C (Read): remove lowercase
7829 (obsoleted_by): ditto
7831 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7833 * buffer.C (insertErtContents): add params are to InsetERT
7834 (parseSingleLyXformat2Token): add code to check if a paragraphs
7835 layout really exist.
7836 (parseSingleLyXformat2Token): add params to several inset
7838 (asciiParagraph): remove lowercase, do the layout comparisons with
7841 * BufferView_pimpl.C (cursorNext): first -> first_y
7842 (resizeCurrentBuffer): first -> first_y
7843 (updateScrollbar): first -> first_y
7844 (scrollCB): first -> first_y
7845 (workAreaMotionNotify): first -> first_y
7846 (workAreaButtonPress): first -> first_y
7847 (checkInsetHit): first -> first_y
7848 (cursorPrevious): first -> first_y
7849 (cursorNext): first -> first_y
7850 (Dispatch): add buffer_->params to severl inset contructors
7852 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7854 * lyxlayout.C (Read): remove some debug info that I forgot.
7856 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7857 clean up the code slightly.
7858 (makeLinuxDocFile): ditto
7859 (makeDocBookFile): ditto
7861 * text2.C: layout as string
7863 * text.C: layout as string
7865 * paragraph_pimpl.C: layout as string
7867 * paragraph.[Ch]: layout as string
7869 * lyxtextclasslist.[Ch]: layout as string
7871 * lyxtextclass.[Ch]: layout as string
7873 * lyxtext.h: layout as string
7875 * lyxlayout.[Ch]: layout as string
7877 * lyx_cb.C: layout as string
7879 * bufferview_funcs.C: layout as string
7881 * bufferparams.C: layout as string
7883 * buffer.C: layout as string
7885 * LyXView.[Ch]: layout as string
7887 * LaTeXFeatures.[Ch]: layout as string
7889 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7891 * BufferView_pimpl.C: change current_layout to string, remove
7896 (workAreaButtonRelease): layout as string
7898 * BufferView2.C (unlockInset): adjust
7900 * vspace.C (asLatexCommand): use an explict temp variable.
7902 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7904 * Makefile.am: use FRONTEND_*
7906 2002-03-01 Juergen Vigna <jug@sad.it>
7908 * tabular.C (SetWidthOfMulticolCell): changed to something better
7909 I hope but still work in progress.
7910 (recalculateMulticolumnsOfColumn): renamed function from
7911 recalculateMulticolCells as it is more appropriate now.
7912 (SetWidthOfCell): calculate multicols better.
7914 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7916 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7918 * lyxfunc.C (processKeySym): print sequence also if it is
7919 `deleted' (complete)
7921 * kbsequence.C (print): print sequence even if it is deleted
7922 (complete would be a better word, actually).
7924 * lyxfunc.C (dispatch): print complete options after a prefix key
7926 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7928 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7930 * text2.C (setCharFont): eliminate setCharFont code duplication.
7932 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7934 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7935 LFUN_TABULAR_FEATURE (bug #177)
7937 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7939 * Makefile.am: remove figure.h
7941 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7943 * Bufferview_pimpl.C:
7955 * text2.C: remove #include "lyx_gui_misc.h".
7957 * LaTeX.C: added #include <cstdio>
7959 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7961 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7962 that the paragraph following this one can have.
7964 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7966 * vspace.C (asLatexCommand): fix bogus gcc warning
7968 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7970 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7972 * text2.C (setLayout): get rid of redundant code
7974 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7976 * text2.C (incDepth): make sure depth cannot be increased beyond
7979 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7981 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7982 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7984 * PainterBase.h (image):
7985 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7988 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7992 * BufferView_pimpl.C:
7993 * BufferView_pimpl.h:
8013 * sp_spell.C: remove fig inset, and the crap house of
8014 cards that follows it
8016 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8022 * nt_defines.h: move .h into support/
8024 * vms_defines.h: remove
8026 * WorkArea.C: add space in debug output
8030 * buffer.C: add WITH_WARNINGS
8034 * bufferlist.C: s/retrive/retrieve/, add docs
8045 * lyxgui.C: add ID to X error handler
8047 * lyxtestclass.c: fix typo
8049 2002-02-26 Juergen Vigna <jug@sad.it>
8051 * tabular_funcs.C (write_attribute): changed so that some default
8052 attributes are not written at all.
8053 (getTokenValue): set default values before trying to read the
8054 value so we have the return value always set as default if we don't
8055 find the token we search for.
8057 * tabular.C (Write): write bools as bools not as strings!
8059 2002-02-22 Juergen Vigna <jug@sad.it>
8061 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8062 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8064 * text.C (leftMargin): don't add an indent for paragraphs inside
8065 tabular cells (fix #208).
8067 2002-02-21 José Matos <jamatos@fep.up.pt>
8069 * tabular.C (docBook): fixed support for long tables.
8071 2002-02-20 Juergen Vigna <jug@sad.it>
8073 * text2.C (getFont): get the drawing font of the Inset if this
8074 paragraph is inside an inset (only important for InsetERT for now).
8076 * buffer.C (insertErtContents): use new lanugage params in ERT
8079 * CutAndPaste.C: commenting out seemingly uneeded code.
8081 2002-02-19 Allan Rae <rae@lyx.org>
8083 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8084 Iterators might be simple to use but they also get invalidated.
8085 (removeAutoInsets): renamed saved cursor tracking variables and added
8086 some comments to clarify what everything does.
8088 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8095 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8096 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8099 * vc-backend.h: remove #include "support/syscall.h"
8103 * converter.C: rearrange #includes in Lars' approved fashion.
8105 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8106 forward declare class Timeout in the header file.
8108 * XFormsView.C: changes due to the above.
8110 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8113 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8114 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8116 2002-02-18 José Matos <jamatos@fep.up.pt>
8118 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8121 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8123 * a lot of small ws changes
8124 * add a lot of using std::XXX
8125 * use std construcs some places where approp.
8126 * use some exisint stuff from lyxfunctional where approp.
8127 * Make file changes to use partial linking (lets test this now...)
8129 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8133 remove #include "support/syscontr.h" as it's redundant. Always has been.
8141 change Systemcalls::System to Systemcalls::Wait and
8142 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8143 No change of functionality, just reflects the stripped down Systemcalls
8146 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8148 * debug.[Ch]: add a GRAPHICS type to the enum.
8150 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8152 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8154 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8157 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8159 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8160 match the changes below.
8162 * text2.C (toggleInset): if there is not editable inset at cursor
8163 position, try to see if cursor is _inside_ a collapsable inset
8166 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8168 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8169 document menu has a nice checkbox
8171 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8173 * lyxlength.C (asLatexString): change PW to output as percent of
8176 * lengthcommon.C: change '%' to 't%'
8178 * lyxfunc.C (dispatch): a few comments from Martin
8180 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8184 * BufferView_pimpl.h:
8185 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8188 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8190 * vspace.C (inPixels): fix compiler warning
8192 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8194 * lyxfunc.C (getStatus): fix status message for disabled commands.
8196 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8198 * BufferView_pimpl.C: fix crash on close buffer
8199 during selection (#227)
8201 2002-01-27 Herbert Voss <voss@lyx.org>
8203 * buffer.C: link old Figure to new graphic inset
8205 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8207 * FontLoader.C (getFontinfo): Change the latex font names in order
8208 to match the names of type1inst.
8210 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8212 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8214 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8217 (remove_files_with_extension): ditto
8218 (remove_file): ditto
8221 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8222 document is smaller than the work area height. Do not initialize
8223 static variables to 0.
8225 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8227 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8229 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8230 LFUN_LAYOUT_PARAGRAPHS.
8232 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8233 tabular. It is possible to provide a possible cell, which will
8234 typically be the actcell from the corresponding insettabular
8236 * lyxfunc.C (getStatus): small cleanup; disable
8237 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8240 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8242 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8244 * paragraph.C (startTeXParParams):
8245 (endTeXParParams): new methods. The LaTeX code to
8246 start/end paragraph formatting
8247 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8248 empty (fixes bug #200)
8250 * vspace.C (inPixels): adapt to the change below
8251 (inPixels): [later] more cleanups (remove unused variables)
8253 * lyxlength.C (inPixels): change to use a width and a height as
8256 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8258 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8259 Replaced with \paperwidth
8261 * DepTable.C (insert): add std:: qualifier
8263 2002-01-18 Allan Rae <rae@lyx.org>
8265 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8268 * text.C (drawInset): Turned out I didn't know enough about how
8269 rebreaking worked. This fixes most of the redraw problems. I see
8270 an occasional cursor trail when a line is broken now and the cursor
8271 placement can seem out by a few pixels also after a rebreak.
8273 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8275 * buffer.C (parseSingleLyXformat2Token): update because minipage
8276 width is now a LyXLength
8278 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8280 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8283 2002-01-17 Juergen Vigna <jug@sad.it>
8285 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8287 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8288 is set correctly and the inset is updated correctly.
8290 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8292 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8293 the beginning of the loop.
8295 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8297 * lyxrc.C: improve help for use_scalable_fonts
8299 2002-01-17 Allan Rae <rae@lyx.org>
8301 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8303 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8305 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8306 make sure to set their inset_owner to the right value (bug #171)
8308 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8311 * DepTable.C: Implement mtime checking to reduce time spent doing
8314 2002-01-16 Juergen Vigna <jug@sad.it>
8316 * tabular.C (GetAdditionalHeight): one of error fixed.
8318 * lyxrc.C (output): small fix in writing use_pspell.
8320 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8322 * sp_base.h: #include LString.h
8324 2002-01-16 Allan Rae <rae@lyx.org>
8326 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8327 Can someone check this please?
8329 * text.C (drawInset): It was possible that p.row would be removed by
8330 breakAgainOneRow upsetting a few other settings. There may be another
8331 small tweak possible by setting need_break_row = 0 when p.row has been
8332 removed but I don't know enough about the logic here.
8334 2002-01-15 Allan Rae <rae@lyx.org>
8336 * text.C (insertChar): removed conditional truism.
8338 * BufferView2.C (removeAutoInsets): More tweaks.
8339 cur_par_prev could be a stray pointer. Check for trailing empty line
8340 in case last line was cur_par and only had an error inset on it.
8342 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8344 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8347 * vc-backend.C (most methods):
8348 * exporter.C (Export):
8349 * converter.C (convert):
8351 * LyXSendto.C (SendtoApplyCB):
8352 * lyxfunc.C (dispatch):
8356 * lyx_cb.C (AutoSave):
8358 * BufferView_pimpl.C (MenuInsertLyXFile):
8359 * buffer.C (runChktex): use Buffer::filePath().
8361 * buffer.h: rename filename to filename_; rename filepath to
8362 filepath_ and make it private
8363 (filePath): new method
8365 * buffer.C (writeFile): use fileName()
8368 * lyx_main.C (init): fix starting of LyX when the binary is a
8369 link from so,ewhere else.
8371 * minibuffer.C: include <cctype> for isprint
8373 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8375 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8376 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8377 name clash with InsetCollapsable's width function.
8379 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8381 * lastfiles.C: include <iterator>
8383 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8385 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8388 * buffer.C (makeLaTeXFile): ditto.
8389 Also make loop operation more transparent.
8391 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8393 * ToolbarDefaults.C: remove trailing comma closing namespace.
8395 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8397 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8400 * trans.C (Load): comment out unused variable, allowed.
8402 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8404 * minibuffer.[Ch] (append_char): new method to recieve input from the
8405 drop-down completion browser. If a key was pressed, then recieve this
8406 char and append it to the existing string.
8407 (peek_event): modify the positioning data passed to the completion
8408 browser so that it can be placed above the minibuffer rather than below.
8409 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8411 * LyXAction.C (init): alloe error-next for readonly documents.
8413 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8416 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8418 * bufferlist.C (readFile): create the buffer _after_ checking that
8421 * lyxfunc.C (verboseDispatch): fix handling of arguments
8423 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8425 * lyxrc.C: use string::erase() instead of initializing to "".
8428 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8430 * BufferView_pimpl.h:
8431 * BufferView_pimpl.C:
8434 * text2.C: tell X when we have made a selection for copying
8436 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8438 * BufferView_pimpl.C (MenuInsertLyXFile):
8439 * lyxfunc.C (menuNew):
8441 (doImport): add shortcuts to directory buttons
8443 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8446 * lyxfunc.C (setStatusMessage):
8447 (getStatusMessage): new methods
8448 (getStatus):use setStatusMessage instead of setErrorMessage
8449 (dispatch): when function is disabled, set error message here
8450 [instead of in getStatus previously]
8452 * BufferView_pimpl.C (workAreaButtonRelease): update
8453 toolbar/menubar here too.
8455 2002-01-13 Allan Rae <rae@lyx.org>
8457 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8458 Now seems indestructible. Remaining task is to audit all other
8459 code affected by deleteEmptyParagraphMechanism. One small quirk
8460 left is that an empty document with an error in the preamble can
8461 be made to report an error but no error box appears. I don't know
8463 (removeAutoInsets): Improved comments.
8465 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8468 * Thesaurus.C: update for Aiksaurus 0.14
8470 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8472 * text2.C (firstParagraph): removed member function, all uses
8473 replaces with ownerParagraph
8474 (redoParagraphs): here
8476 (toggleAppendix): here
8477 * BufferView2.C (insertErrors): here
8478 (setCursorFromRow): here
8480 2002-01-13 Allan Rae <rae@lyx.org>
8482 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8483 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8484 There is still a way to segfault this although you may have to do this
8485 multiple times: Have an InsetERT with an unknown command in it.
8486 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8487 <down-arrow>, <Enter> again, View->DVI, BANG!
8489 * text2.C (setCursor):
8490 (deleteEmptyParagraphMechanism):
8491 * lyxtext.h (setCursor):
8492 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8493 Making use of the return value may help fix other bugs.
8495 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8497 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8499 * LyXView.C (updateMenubar): call MenuBar::update here
8500 (updateToolbar): but not here
8501 (showState): do not update toolbar/menubar
8503 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8504 should need to care about that.
8506 * lyxfunc.C (verboseDispatch): simplify a bit
8507 (getStatus): have a version which takes a pseudoaction, and
8508 another which requires a (kb_action,string).
8510 * LyXAction.C (retrieveActionArg): make it work also when action
8511 is not a pseudo-action.
8512 (getActionName): simplify a bit
8515 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8517 * lyxfunc.C (verboseDispatch): new families of methods with
8518 several ways to specify a command and a bool to indicate whether
8519 the command name and shortcut should be displayed in minibuffer
8520 (eventually, we could extend that to a finer bitmask like
8521 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8522 (dispatch): the pristine dispatch command which just, well,
8523 dispatchs! Note it still sets its result to minibuffer; I'm not
8526 * lyxfunc.h: remove setHintMessage
8528 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8530 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8532 * BufferView_pimpl.C (specialChar): delete new inset if we have
8533 not been able to insert it.
8535 * kbmap.C: revert to using int instead of kb_action, since all we
8536 are dealing with is pseudo-actions.
8538 * LyXAction.C (searchActionArg): change to return int instead of
8539 kb_action, since the result is a pseudoaction.
8541 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8543 * buffer.C (insertErtContents): Fix (partially) the font bug.
8545 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8547 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8548 as the other one is broken on my machine!
8550 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8553 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8555 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8557 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8558 reflect their actual use. Provide compatibility code for older lyxrc
8561 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8563 change names of popup font variables in line with the changes to lyxrc.C
8565 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8567 * buffer.C (asciiParagraph): avoid outputing a word twice after
8570 * lyxrc.C (getDescription): document that document_path and
8571 template_path can be empty.
8573 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8575 * LaTeXFeatures.C (getMacros):
8576 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8578 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8580 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8582 (getPackages): rename feature "floats" to "float". Use an array to
8583 iterate over 'simple' features (i.e. just a \usepackage). Add
8584 handling of "amsmath" (renamed from "amsstyle").
8586 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8588 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8591 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8593 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8594 FuncStaus::FuncStatus & FuncStaus::some_method().
8596 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8598 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8599 of the func_satus stuff. Edited and massaged in various ways by
8602 * lyxfunc.C (getStatus): use FuncStatus
8604 2002-01-08 Juergen Vigna <jug@sad.it>
8606 * text.C (nextBreakPoint): use function Inset::isChar().
8608 * paragraph.C (TeXOnePar): use function
8609 Inset::forceDefaultParagraphs.
8611 * buffer.C (latexParagraphs): use function
8612 Inset::forceDefaultParagraphs.
8614 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8616 * lyx_gui.C (init): set the style of the menu popups to
8617 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8619 2002-01-07 Juergen Vigna <jug@sad.it>
8621 * text.C (setHeightOfRow): small fix
8622 (prepareToPrint): don't look at alignment if we don't have the place
8625 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8627 * box.C: New file. Move the Box methods and functions out of box.h,
8628 following Lars' suggestion.
8630 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8632 * box.h: #include "support/LOstream.h", needed for inlined function.
8635 * lyxtextclasslist.C: added some using std declarations.
8637 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8639 * box.h: make signed dimensions to allow insets wider than
8640 the screen (bug #162)
8642 * BufferView_pimpl.C: add some insetHit debug
8644 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8646 * vc-backend.C: add FIXME
8648 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8650 * lyxfunc.C (getStatus): enable code for showing math font status
8653 2002-01-07 Juergen Vigna <jug@sad.it>
8655 * text.C (nextBreakPoint): removed debug output not needed anymore.
8657 2002-01-06 Juergen Vigna <jug@sad.it>
8659 * text.C (nextBreakPoint): fixed up this function we had this bug
8660 since ever but now hopefully we break row better.
8661 (insertChar): we have to check if an inset is the next char as it
8662 could now happen that a large inset is causing a break.
8664 2002-01-05 Juergen Vigna <jug@sad.it>
8666 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8667 if it doesn't like to be drawed.
8669 2002-01-04 Juergen Vigna <jug@sad.it>
8671 * BufferView2.C (lockInset): forgot to set a cursor.
8673 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8675 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8680 * form_maths_panel.C:
8681 * form_maths_panel.h:
8682 * form_maths_panel.fd: implemented sub- and super- buttons in math
8685 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8686 (or ^ space) to be used as in TeX (req'd by André).
8688 * lyxfunc.C: Allow ^ and _ again to be used both as
8689 super/subscript (mathed) and as themselves (in text).
8691 2002-01-03 Allan Rae <rae@lyx.org>
8693 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8694 "LyX" or the filename of the current buffer if it has one. This is a
8695 modified form of John Levon's patch.
8697 * XFormsView.C (setWindowTitle): also set icon title.
8699 * LyXView.h (setWindowTitle): signature changed.
8700 * XFormsView.h (setWindowTitle): ditto.
8702 2002-01-02 Juergen Vigna <jug@sad.it>
8704 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8706 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8708 * screen.C (topCursorVisible): introduce a temp var for
8709 text->cursor.row(), handle the case where this row is null. (kindo
8712 * text2.C (setCursor): add a couple of asserts.
8714 * paragraph.h (inset_iterator): add -> operator
8716 * paragraph.[Ch] (autoDeleteInsets): remove member function
8718 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8719 cursor pos correctly and handle inset deletion by itself.
8720 (insertErrors): move iterator declaration out of for expression
8722 * lyxtextclass.C: add <algorithm>
8724 * Makefile.am: added the new files to sources, removed layout.C
8726 * layout.C: removed file
8728 * layout.h: remove LYX_DUMMY_LAYOUT
8730 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8734 * lyxtextclass.[Ch]:
8735 * lyxtextclasslist.[Ch]: new files
8737 * include order changes to a lot of files, also changes because of
8740 2001-12-27 Juergen Vigna <jug@sad.it>
8742 * buffer.C (asciiParagraph): more fixes.
8744 * tabular.C (ascii): make ascii export support export of only the
8745 data separated by a column-delimiter.
8746 (ascii): better support for ascii export.
8748 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8750 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8752 * tabular_funcs.C: use a "using std::getline" instead of the
8753 previous fix from Angus (necessary for cxx + lyxstring)
8755 2001-12-24 Juergen Vigna <jug@sad.it>
8757 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8759 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8760 problems. First check a minipage also if we have some ert-contents
8761 (not only on par->size(), second set the right depth of the paragraph
8762 on the relink to the root-paragraph-list!
8764 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8765 which then did not anymore update the main paragraphs on undo/redo!
8767 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8769 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8770 code. Support all font-changing funcs (even those which are not in
8771 menu currently). Support for reporting font settings in
8772 mathed (disabled until Andre provides a function on mathed's side).
8774 * func_status.h (toggle): small helper function to set toggle
8777 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8779 * tabular_funcs.C: getline -> std::getline
8781 2001-12-21 Juergen Vigna <jug@sad.it>
8783 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8784 accessed and could be 0 (I couldn't generate this but it seems
8787 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8789 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8790 * tabular_funcs.h: here and include iosfwd
8792 2001-12-20 Juergen Vigna <jug@sad.it>
8794 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8795 inside inset but undo_par was.
8797 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8799 * Thesaurus.C: always include <config.h> in sources.
8803 * box.h: do not include <config.h> in header files
8805 * text.C (paintLastRow): remove unused variable
8807 * text.C (transformChar):
8809 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8812 * font.C (width): rewrite to use uppercase() instead of
8815 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8817 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8819 * lyxfind.C: clean up of find failure position change
8821 2001-12-20 Juergen Vigna <jug@sad.it>
8823 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8825 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8826 (TeXRow): added to LaTeX a single tabular row.
8827 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8828 (Latex): simplified and finally good LT-h/f support.
8829 (various_functions): just small adaptions for LT-h/f support.
8831 * tabular_funcs.[hC]: added and moved here all not classfunctions
8834 2001-12-19 Juergen Vigna <jug@sad.it>
8836 * tabular.[Ch]: better support for longtabular options (not finished
8839 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8841 * text.C (paintLastRow): use the label font instead of the font of
8842 the last character to compute the size of *_BOX. This makes more
8843 sense and avoids a crash with empty paragraphs.
8844 Use Painter::rectangle to draw EMPTY_BOX.
8846 2001-12-19 Juergen Vigna <jug@sad.it>
8848 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8849 the paragraphs if the replaced paragraph is not the first one!
8850 Tried to delete not used paragraphs but does not work yet so for
8851 now it's inside #ifdef's and by default off!
8853 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8855 * MenuBackend.C: include "lyx_main.h" instead of declaring
8856 lastfiles (actually was declared as LastFiles* instead of a
8859 2001-12-17 Juergen Vigna <jug@sad.it>
8861 * tabular.C (AppendColumn): applied John's fix
8863 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8867 * BufferView_pimpl.h:
8868 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8871 * box.h: new start of class for above
8873 * lyxfunc.C: ignore space-only minibuffer dispatches.
8874 Show the command name when it doesn't exist
8876 * minibuffer.C: don't add empty lines to the history
8878 * minibuffer.C: add a space on dropdown completion
8880 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8882 * text.C: fix line above/below drawing in insets
8884 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8886 * lyxlength.C (LyXLength): Initialize private variables.
8888 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8890 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8891 when inserting error insets.
8893 2001-12-13 Juergen Vigna <jug@sad.it>
8895 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8896 actually sometimes the before-paragraph.
8897 (setUndo): don't clear the redostack if we're not actually undoing!
8899 2001-12-06 Juergen Vigna <jug@sad.it>
8901 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8902 and fixed redoing of main paragraph, so we can use it now ;)
8904 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8906 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8908 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8911 2001-12-13 André Pönitz <poenitz@gmx.net>
8914 * undo_func.C: minor cleanup
8916 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8918 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8919 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8920 font in urw-fonts package which is marked as -urw-fontspecific and
8921 does not work (incidentally, changing the encoding in the
8922 fonts.dir of this package to -adobe-fontspecific fixes the
8925 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8926 is a crash when undoing first paragraph (Juergen, please take a
8927 look). THis does not mean the undo fix is wrong, just that it
8930 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8931 the (Paragraph*) version when needed instead of duplicating the
8934 * text.C (workWidth): use Inset::parOwner to find out where the
8935 inset has been inserted. This is a huge performance gain for large
8936 documents with lots of insets. If Inset::parOwner is not set, fall
8937 back on the brute force method
8939 * paragraph_pimpl.C (insertInset):
8940 * paragraph.C (Paragraph):
8941 (cutIntoMinibuffer): set parOwner of insets when
8942 inserting/removing them
8944 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8946 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8952 * mathed/formulabase.C:
8953 * mathed/math_cursor.[Ch]:
8954 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8957 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8959 * lyxlength.[Ch] (operator!=): new function
8961 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8963 * text.C (workWidth): use Inset::parOwner to find out where the
8964 inset has been inserted. This is a huge performance gain for large
8965 documents with lots of insets. If Inset::parOwner is not set, fall
8966 back on the brute force method
8968 * paragraph_pimpl.C (insertInset):
8969 * paragraph.C (Paragraph):
8970 (cutIntoMinibuffer): set parOwner of insets when
8971 inserting/removing them
8973 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8975 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8977 * tabular-old.C (getTokenValue):
8978 * tabular.C (getTokenValue):
8979 (write_attribute): new versions for LyXLength
8980 (everywhere): adjust the use of widths
8982 * tabular.h: change the type of widths from string to LyXLength
8984 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8986 * paragraph.C: fixed missing line number count when exporting
8987 Environments to LaTeX file
8989 * buffer.C: added informational message for checking line numbers.
8991 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8993 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8994 paragraph, do the 'double space' part, but not the 'empty
8997 * text.C (workWidth): small optimization
8998 (getLengthMarkerHeight): use minimal size for negative lengths.
9000 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9002 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9004 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9006 2001-12-11 André Pönitz <poenitz@gmx.net>
9009 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9011 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9013 * text2.C: keep selection on a setFont()
9015 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9017 * lyx_cb.C: another bv->text misuse, from insert label
9019 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9022 * kbsequence.C: re-instate nmodifier mask
9024 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9026 * lyx_main.h: make lyxGUI private.
9028 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9030 * lyxfind.C: place the cursor correctly on failed search
9032 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9034 * text.C (getLengthMarkerHeight): for small heights, the arrows
9035 are not always on top/bottom of the text
9036 (drawLengthMarker): smaller arrows; take the left margin in
9037 account; draw also vfills.
9039 (paintLastRow): remove special code for vfill and standard spaces,
9040 since everything is handled in drawLengthMarker now.
9042 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9044 * buffer.C (insertErtContents): try to handle font and language
9045 interaction a bit better.g
9047 * ColorHandler.C (updateColor): change the hash to cover the whole
9048 LColor enum, ws cleanup
9049 (getGCLinepars): ditto
9050 (getGCLinepars): only lookup in the linecache once.
9052 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9054 * iterators.C (operator++): Make the iterator more robust
9056 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9058 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9060 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9063 * text.C: better added space drawing
9065 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9068 * BufferView2.C: fix layout combo update on inset unlock
9070 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9072 * Makefile.am: don't compile unused files
9074 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9078 * LyXAction.C: remove old LFUN_LAYOUTNO
9080 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9082 * paragraph_pimpl.h:
9083 * paragraph_pimpl.C: isTextAt() doesn't need font param
9085 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9088 * lyxlex.C: little cleanup
9090 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9092 * BufferView_pimpl.C: fix insertAscii for insets
9094 2001-12-05 Juergen Vigna <jug@sad.it>
9096 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9097 set the right font on the "multi" paragraph paste!
9099 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9105 * lyxlength.C: remove out-commented code.
9121 * vc-backend.C: change "while(" to "while ("
9123 * lyxlength.[Ch]: add zero function to check if length is zero or
9125 * lyxgluelength.C: use it
9127 2001-12-05 Allan Rae <rae@lyx.org>
9129 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9130 Works for 2.95.3, from what I understand of Garst's reports this should
9131 work for other g++ versions. We're screwed if the abs(int) definition
9132 changed between bugfix releases of gcc.
9134 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9136 * text.C: fix chapter label offset !
9138 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9141 * text.C: fix hfill at end of line, clean up
9143 2001-12-04 Juergen Vigna <jug@sad.it>
9145 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9146 that we force an update of the inset and it's owners if neccessary.
9148 2001-12-03 Juergen Vigna <jug@sad.it>
9150 * text.C (rowLast): simplified code
9152 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9154 * lyxfunc.C: fix show options on timeout
9156 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9158 * screen.C (topCursorVisible): scroll half a page when the cursor
9159 reached top of bottom of screen
9161 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9163 * minibuffer.C: deactivate on loss of focus
9165 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9167 * vspace.[Ch] (operator!=): add operator.
9169 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9171 * BufferView_pimpl.C: refuse to open an inset when
9172 there's a selection.
9174 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9176 * BufferView_pimpl.C: allow to click on RHS of full row insets
9178 2001-11-30 Juergen Vigna <jug@sad.it>
9180 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9181 insets for undo reasons.
9183 2001-11-28 André Pönitz <poenitz@gmx.net>
9185 * vspace.[Ch]: cosmetical changes
9187 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9197 * kbsequence.C: part re-write of old kb code
9200 * WorkArea.C: remove Lgb_bug_find_hack
9202 2001-11-30 José Matos <jamatos@fep.up.pt>
9204 * buffer.C (makeDocBookFile): add a comment to point a hack.
9205 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9206 Fixed a double write of labels.
9208 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9211 * LaTeX.h Fixed bug in LaTeX class where it would not
9212 re-run latex if no depfiles were changed, but the .dvi was removed.
9214 2001-11-28 André Pönitz <poenitz@gmx.net>
9216 * all the files from the change on 2001/11/26:
9217 use lyx::layout_type instead of LyXTextClass::size_type
9218 use lyx::textclass_type instead of LyXTextClassList::size_type
9220 2001-11-29 Juergen Vigna <jug@sad.it>
9222 * text.C: added support for paragraph::isFreeSpacing()
9224 * buffer.C: same as above
9226 * paragraph.h: inserted isFreeSpacing() function to enable
9227 FreeSpacing inside InsetERT.
9229 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9230 of the paragraph's in the cut/copy buffer to 0!
9232 * text2.C (removeRow): remove the assert as it can!
9234 * lyxtext.h: added helper function firstRow returning firstrow and
9235 made firstrow private again.
9237 * BufferView2.C (lockInset): don't relock if we're already locked!
9239 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9241 (removeRow): added Assert::(firstrow)
9243 * debug.C: forgot to add INSETTEXT here.
9245 2001-11-28 Juergen Vigna <jug@sad.it>
9247 * sp_spell.C (initialize): changed error text to more general
9248 spellchecker command use (not only ispell!)
9250 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9252 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9254 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9256 * vspace.C: initialise lyxgluelength on failure
9258 2001-11-28 Allan Rae <rae@lyx.org>
9260 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9261 declaration & definition that looks like a function declaration.
9263 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9265 * BufferView2.C (copy):
9266 (copyEnvironment): do not clear the selection when doing a copy.
9268 * text.C (paintFirstRow): compilation fix
9270 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9272 * tabular.C (Latex): correct line count when writing latex.
9274 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9276 * paragraph_pimpl.h:
9277 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9280 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9284 * LColor.C: change vfillline->added_space
9286 * text.C: add markers and text for added space
9288 * vspace.C: fix comment
9290 2001-11-28 André Pönitz <poenitz@gmx.net>
9292 * paragraph.C: whitespace changes
9293 * all the other files from the change on 2001/11/26:
9294 change *::pos_type into lyx::pos_type
9296 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9298 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9299 language of the document when inserting error insets.
9301 2001-11-26 André Pönitz <poenitz@gmx.net>
9303 * BufferView_pimpl.[Ch]:
9311 * paragraph_pimpl.[Ch]:
9314 * text2.C: reduce header dependencies, introduce type for positions
9316 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9318 * <various>: change to use Alert.h
9320 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9322 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9323 when encountering an unknown token.
9324 (readLyXformat2): Show an error message if there were unknown tokens.
9326 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9329 * BufferView_pimpl.C:
9333 * text2.C: use par->isInset()
9335 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9337 * paragraph_pimpl.h:
9338 * paragraph_pimpl.C: cleanup
9340 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9342 * text2.C (removeRow):
9343 * text.C (setHeightOfRow): remove useless (and costly) call to
9346 2001-11-20 Allan Rae <rae@lyx.org>
9348 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9349 Now need Inset*::checkInsertChar() to return true for appropriate
9350 cases so that the characters in the minibuffer will actually be
9353 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9355 * text.C: change the order of the includes.
9356 (workWidth): initialize it at once.
9357 (workWidth): make maxw unsigned
9358 (setHeightOfRow): remove unused variable (inset)
9359 (selectSelectedWord): remove unused variable (inset)
9360 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9362 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9364 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9365 server is not running.
9367 (closeConnection): add debug info when server is disabled.
9369 * ColorHandler.C (getGCForeground): send debug message to GUI
9372 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9374 * kbmap.C (bind): modify because return conventions of
9375 kb_sequence::parse have changed.
9377 * kbsequence.C (parse): only ignore spaces and not any stupid
9378 control character. This avoids tests like s[i] <= ' ', which are
9379 guaranteed to fail with 8bit characters and signed chars.
9380 Change return code to string::npos when there have been no error
9381 (0 was a bad idea when error is at first character)
9383 2001-11-14 José Matos <jamatos@fep.up.pt>
9386 * buffer.C (simpleDocBookOnePar): removed unused argument.
9388 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9390 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9391 insets which are part of a word. Paragraph::isLetter takes care of
9392 that now. Use Paragraph::isInset to identify insets.
9393 (selectSelectedWord): do not test for hyphenation break.
9395 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9396 that protected spaces are considered as spaces.
9398 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9401 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9404 * lyxserver.C: fix it. and small cleanup.
9406 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9408 * BufferView_pimpl.C: use inline helpers
9411 * LaTeXFeatures.C: fix typos
9414 * Spacing.C: move spacing_string into class
9416 * ToolbarDefaults.C: move stuff into namespace anon
9418 * layout.h: update enum
9420 * lyxfunc.C: use better debug
9422 * minibuffer.h: fix typo
9426 * WorkArea.C: add and use Debug::WORKAREA
9430 * text2.C: code re-organisation, inline helpers
9432 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9434 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9435 std::vector.empty().
9437 2001-11-09 Allan Rae <rae@lyx.org>
9439 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9440 '\n's after tables. Tabular and ERT inset work now makes this no
9443 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9446 * minibuffer.C: fix crash, improve drop-down completion
9448 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9451 * lyxserver.C: invalidate fd's when doing endPipe()
9453 2001-11-08 José Matos <jamatos@fep.up.pt>
9455 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9456 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9459 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9461 2001-11-07 José Matos <jamatos@fep.up.pt>
9464 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9467 * buffer.C (sgmlOpenTag):
9468 * buffer.C (sgmlCloseTag): removed debug info.
9470 * buffer.h (sgmlOpenTag):
9471 * buffer.h (sgmlCloseTag): made public.
9473 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9475 * buffer.C (saveParamsAsDefaults):
9476 * lyx_cb.C (MenuLayoutSave): remove
9478 * LyXAction.C (init):
9480 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9482 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9484 * buffer.C (setPaperStuff): removed from here...
9486 * bufferparams.C (setPaperStuff): ... and moved there.
9488 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9492 * XFormsView.C: add support for drop-down completion
9494 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9496 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9499 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9501 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9504 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9506 * lyx_main.C: change ref to known bugs
9508 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9510 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9511 to work around older babel problems.
9513 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9515 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9517 2001-10-24 Juergen Vigna <jug@sad.it>
9519 * tabular-old.C (ReadOld): below variable changes reflected.
9521 * tabular.[Ch]: added ltType struct for longtable header/footer
9522 defines and changed all instances where they are used. Added
9523 future support for double top/bottom rows.
9525 2001-10-24 José Matos <jamatos@fep.up.pt>
9527 * buffer.h (docbookHandleCaption):
9528 * buffer.C (docbookHandleCaption): removed unused function.
9529 (makeDocBookFile): moved docbook supported version to v4.1.
9531 2001-10-24 José Matos <jamatos@fep.up.pt>
9534 * tabular.C (docbookRow): new function to export docbook code of a row.
9535 (DocBook): now honors the longtable flags.
9537 2001-10-23 José Matos <jamatos@fep.up.pt>
9540 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9541 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9543 * buffer.C (makeLinuxDocFile):
9544 (makeDocBookFile): reworked the preamble, more clean, and with
9545 support for lyx defined entities. Changed the document declaration
9546 to be more XML friendly.
9548 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9549 if we need to output XML that should be done with a filter.
9551 2001-10-22 Juergen Vigna <jug@sad.it>
9553 * sp_pspell.h (class PSpell): add alive function needed in the
9554 controller to see if the spellchecker could be started.
9556 2001-10-22 Juergen Vigna <jug@sad.it>
9558 * buffer.C (insertStringAsLines): modify the font for inserting
9559 chars in certain conditions by calling checkInsertChar(font).
9561 2001-10-19 Juergen Vigna <jug@sad.it>
9563 * text.C (workWidth): use getRow instead of wrong algorithm.
9564 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9566 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9571 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9573 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9575 * text.C (workWidth): do not search for the exact row when
9576 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9577 optimization for big documents.
9579 2001-10-18 Juergen Vigna <jug@sad.it>
9581 * text.C (workWidth): new function with added Inset * parameter.
9583 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9585 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9587 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9588 change return type of getColumnNearX.
9591 * text.C (changeRegionCase): use uppercase/lowercase instead of
9594 (rightMargin): simplify code by factoring out the uses of
9599 (appendParagraph): use Paragraph::size_type
9601 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9603 * vspace.C (asLatexString): add a missing break
9605 2001-10-15 Herbert Voss <voss@perce.de>
9607 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9609 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9611 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9614 2001-10-10 André Pönitz <poenitz@gmx.net>
9616 * lyxfunc.C: removed greek_kb_flag.
9618 2001-10-10 Herbert Voss <voss@perce.de>
9620 * lyx_main.C: delete global string help_lyxdir.
9622 2001-10-09 Herbert Voss <voss@perce.de>
9624 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9626 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9628 * lyx_main.C: added global string help_lyxdir.
9630 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9632 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9634 * lyxrc.C (set_font_norm_type): support iso8859-4
9636 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9638 * LaTeX.C (deplog): add another regex for MikTeX
9640 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9642 * lyxrc.C (set_font_norm_type): support iso8859-3
9644 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9646 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9648 * LaTeXFeatures.C: remove special case of french and index
9650 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9651 before \begin{document}). This solves several incompatibilities.
9653 2001-10-03 Garst Reese <reese@isn.net>
9655 * lyx_cb.C: change CheckTex error msg.
9657 2001-10-03 José Matos <jamatos@fep.up.pt>
9659 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9661 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9663 * .cvsignore: update
9665 * lyx_main.C (commandLineVersionInfo): use new style version info.
9667 * buffer.C (writeFile):
9670 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9672 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9674 * version.h: update to use stuff in version.C
9676 * version.C.in: new file. Contains version information determined
9677 at compile time. This is a merging of version.h and
9680 2001-10-03 Juergen Vigna <jug@sad.it>
9682 * BufferView_pimpl.C (update): don't change "dirty" status in
9685 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9687 * WorkArea.C (c-tor): re-position version string slightly.
9689 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9691 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9692 revert to previous code.
9694 WorkArea.[Ch]: (show, destroySplash): methods removed.
9696 WorkArea.C: rework code so that it's an amalgam of the codes before and
9697 after the splash screen was moved to WorkArea.
9699 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9702 * vspace.C (inPixels):
9705 * buffer.C (insertStringAsLines):
9706 (asciiParagraph): fix types to be large enough
9708 * lyxlex_pimpl.h: change member status from short to int
9710 * layout.h: fix type of endlabeltype
9713 * kbsequence.C (parse): change return type to string::size_type
9715 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9718 * Bullet.C (bulletSize):
9719 (bulletEntry): do not use short ints as parameters
9721 * BufferView2.C (insertLyXFile): change a char to an int.
9723 * WorkArea.C (WorkArea): remove unneeded floats in computation
9725 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9727 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9729 * paragraph.C (asString): Do not ignore newline/hfill chars when
9730 copying to the clipboard.
9732 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9734 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9735 after a multi-line inset.
9737 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9739 * paragraph.C (validate): Set NeedLyXFootnoteCode
9741 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9743 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9744 and decrease-error to decrease.
9746 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9748 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9749 it more readable (should be equivalent)
9751 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9753 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9755 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9757 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9758 of a cursor (row, etc.) after a character has been deleted
9759 (deleteEmptyParagraphMechanism): call the method above on _all_
9760 cursors held by the LyXText when a double space has been
9763 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9765 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9767 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9769 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9770 background. Use greyOut() and the new show() methods to toggle between
9771 the foreground and background. Add code to remove the splash after
9772 its initial showing.
9774 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9775 (create_forms): no longer call Dialogs::showSplash.
9777 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9779 * .cvsignore: add version_info.h
9781 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9783 * version_info.h.in: new file
9785 * Makefile.am: add version_info.h.in
9787 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9788 version_info.h instead of VERSION_INFO
9790 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9792 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9793 The ERT inset now returns string().
9795 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9797 * lyxtext.h, text.C (selectNextWord): renamed as
9798 selectNextWordToSpellcheck.
9800 * text.C (selectNextWordToSpellcheck): Modified to not select
9801 words inside an ERT inset.
9803 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9805 * lyx_cb.C (MenuLayoutSave): change a bit the question
9807 * sp_base.h: include <sys/types.h>
9809 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9811 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9813 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9815 * several files: fix typos in user-visible strings
9817 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9819 * text2.C (pasteSelection): do not set the selection, since it
9820 will be cleared later. Actually, the intent was to fix the way the
9821 selection was set, but I figured rmoving the code was just as good.
9823 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9825 * FontLoader.C (available): Check if font is available without
9828 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9830 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9832 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9834 * lyxrc.[Ch]: added display_graphics variable and associated code.
9836 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9838 * bufferparams.C (hasClassDefaults): new method. Returns true if
9839 the buffer parameters correspond to known class defaults
9841 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9843 * XFormsView.C (show): set minimum size to the main window.
9845 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9847 * text2.C (copySelection):
9849 * lyxfind.C (LyXReplace):
9850 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9851 LyXText::selectionAsString.
9853 * paragraph.C (asString): add "label" argument to the second form
9855 * text2.C (selectionAsString): add "label" argument and pass it to
9856 Paragraph::asString.
9858 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9860 * lyx_main.C (commandLineHelp): remove version information
9862 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9864 * lyx_main.C: add -version commandline option
9866 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9868 * paragraph.h: make the optional constructor arg required instead.
9869 some modifications to other files because of this.
9871 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9873 * lyxserver.C (C_LyXComm_callback): make it static
9875 * lyx_main.C (error_handler): make it static
9877 * lyx_gui.C (LyX_XErrHandler): make it static
9879 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9881 * WorkArea.C: make the extern "C" methods static.
9883 * Makefile.am (lyx_LDADD): simplify
9885 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9887 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9888 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9890 * LyXAction.C (init):
9891 * lyxfunc.C (dispatch): associated code removal.
9893 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9895 * lyxfont.h (isSymbolFont): shut off warning
9897 * text.C (setHeightOfRow):
9898 (getVisibleRow): fix crash with empty paragraphs which have a
9901 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9903 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9906 2001-09-04 José Matos <jamatos@fep.up.pt>
9909 * tabular.C (docbook): rename docBook method to docbook.
9911 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9913 * Makefile.am: add dependencies to main.o.
9915 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9917 * FontLoader.C (available): Return false if !lyxrc.use_gui
9919 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9921 * FontInfo.C (query):
9922 * converter.C (view):
9923 * importer.C (Import):
9924 * exporter.C (Export): Can not -> cannot.
9926 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9928 * BufferView_pimpl.C: allow to create index inset even if
9931 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9933 * buffer.C (getLists): replace boost::tie code with an explicit pair
9934 as boost::tie can break some compilers.
9936 * iterators.h: Added a std:: declaration to the return type of
9939 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9941 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9944 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9946 * iterators.[Ch]: New files. Provide paragraph iterators.
9948 * buffer.C (changeLanguage): Use paragraph iterators.
9949 (isMultiLingual): ditto
9951 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9953 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9955 * FontLoader.C: Support for cmr font.
9957 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9959 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9960 (available): New method.
9962 * FontInfo.C (getFontname): Use scalable fonts even when
9963 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9966 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9968 * converter.C (Formats::view): reverted! Incorrect fix.
9970 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9972 * converter.C (Formats::view): only output the -paper option
9973 if the dvi viewer is xdvi, thereby fixing bug #233429.
9975 2001-08-23 Herbert Voss <voss@perce>
9977 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9979 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9981 * Spacing.h (Spacing): Set space to Default on in the default
9984 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9986 * vc-backend.h (RCS::versionString): add RCS to version
9987 (CVS::versionString): add CVS to version
9989 * vc-backend.C (scanMaster): do not add CVS to version.
9990 (scanMaster): do not add RCS to version
9992 * lyxvc.C (versionString): new method
9994 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9996 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9998 * Spacing.C (set): initialize fval
10000 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10002 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10005 2001-08-16 Juergen Vigna <jug@sad.it>
10007 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10009 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10011 * BufferView_pimpl.C:
10014 * text2.C: setParagraph takes linespacing now
10016 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10018 * LyxAction.C: add internal LFUN_CITATION_INSERT
10020 * LyXView.C: actually apply fix
10022 * bufferlist.C: fix open non-existent file
10024 * lyxfind.C: fix indentation
10026 * lyxfunc.C: remove unneeded assert, fix typo
10028 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10030 * MenuBackend.C: use "Floatname List"
10032 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10034 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10035 when converting LaTeX layout to insetERT.
10036 Generate a non-collapsed float when reading old float
10038 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10040 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10043 2001-08-13 Juergen Vigna <jug@sad.it>
10045 * text.C (fill): return 0 instead of 20 as this seems to be the more
10048 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10050 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10053 2001-08-13 Juergen Vigna <jug@sad.it>
10055 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10057 (SearchBackward): comment out the unlocking of the inset_owner this
10058 should not be needed!
10060 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10062 * Many files: Remove inherit_language, and add latex_language
10064 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10065 collapsible insets.
10067 2001-08-10 Juergen Vigna <jug@sad.it>
10069 * text.C (prepareToPrint): fixed hfill-width in draw!
10071 * BufferView2.C (selectLastWord): save the selection cursor as this
10072 now is cleared in the function LyXText::clearSelection!
10074 2001-08-08 Juergen Vigna <jug@sad.it>
10076 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10077 BACKSPACE type functions.
10079 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10080 is only cutted from the document but not put in the cut-buffer, where
10081 still the old stuff should be.
10083 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10085 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10087 * tabular.C (SetWidthOfCell): fixed special case where the width
10089 (LeftLine): handle '|' in align_special.
10091 (LeftAlreadyDrawed): ditto
10092 (SetWidthOfCell): ditto
10094 2001-08-07 Juergen Vigna <jug@sad.it>
10096 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10098 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10100 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10101 * lyxlex.[hC]: ditto
10103 2001-08-06 Juergen Vigna <jug@sad.it>
10105 * text.C (getVisibleRow): fix up row clearing a bit.
10107 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10109 * minibuffer.C: make sure the X server sees the changes in the input.
10111 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10113 * paragraph.C (getFont): split into...
10114 (getLabelFont): this
10115 (getLayoutFont): and this
10116 * paragraph_pimpl.C (realizeFont): calling this
10118 * text2.C (getFont): split into...
10119 (getLayoutFont): this
10120 (getLabelFont): and this
10121 (realizeFont): all three calling this
10123 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10126 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10128 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10130 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10132 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10133 layouts from the Quote inset insertion.
10135 2001-08-03 Juergen Vigna <jug@sad.it>
10137 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10139 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10140 only if status not is already CHANGED_IN_DRAW (second level).
10142 * text.C (draw): don't set the need_break_row when inside an
10145 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10147 * buffer.C (parseSingleLyXformat2Token): handle more latex
10150 * bufferview_funcs.[hC]: change function names to
10151 begin with small char, adjust other files.
10153 2001-08-02 André Pönitz <poenitz@gmx.net>
10156 BufferView_pimpl.C: remove broken special code for math-greek
10158 2001-08-02 Juergen Vigna <jug@sad.it>
10160 * BufferView_pimpl.C (update): redone this function so that we
10161 update the text again if there was a CHANGE_IN_DRAW.
10163 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10164 (drawFromTo): added a new internal bool which is used by draw() and
10166 (general): some cursor drawing problems fixed.
10168 2001-08-01 Juergen Vigna <jug@sad.it>
10170 * lyxfind.C (LyXFind): fixed
10171 (SearchForward): ditto
10172 (SearchBackward): ditto
10174 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10175 spurius drawing of the cursor in the main area.
10177 * text2.C (status): small fix which could lead to a segfault!
10178 (clearSelection): remove unneeded BufferView param.
10180 2001-08-01 André Pönitz <poenitz@gmx.net>
10182 * lyxfunc.C: small change due to changed mathed interface
10184 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10186 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10188 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10190 * lyxfunc.c: fail gracefully if file doesn't exist
10195 * BufferView_pimpl.C: IsDirWriteable() proto changed
10197 * LyXView.C: fix updateWindowTitle() to store the last title
10199 2001-07-31 Juergen Vigna <jug@sad.it>
10201 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10202 the font (wrong since using of Paragraph::highestFontInRange).
10204 * paragraph.C (highestFontInRange): added a default_size parameter.
10206 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10207 (setHeightOfRow): reformat
10209 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10211 * converter.[hC] + affected files: move to (inital-char)lowercase
10214 * ParagraphParameters.C (ParagraphParameters): remove commented code
10216 * PainterBase.[Ch]: remove commented code
10218 * LaTeXFeatures.h: add "bool floats" for float.sty
10220 * LaTeXFeatures.C (LaTeXFeatures): init floats
10221 (require): handle float
10222 (getPackages): do it with floats
10224 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10226 * BufferView_pimpl.C (Dispatch): improve handling of
10227 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10229 * commandtags.h: #include lyxfont.h here temporarily to avoid
10232 * bufferlist.h: include LString.h here.
10234 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10236 * text2.C (getStringToIndex): new method.
10238 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10240 * *: Reduced header file dependencies all over.
10242 2001-07-30 Baruch Even <baruch@lyx.org>
10244 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10246 2001-07-29 Baruch Even <baruch@lyx.org>
10248 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10250 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10252 * ParameterStruct.h (endif): add a default constructor to make
10253 sure that all variables is initialized.
10255 * ParagraphParameters.C (ParagraphParameters): adjust
10257 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10259 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10260 index; also, check that there is something to index, and that it
10261 does not span over several paragraphs.
10262 (doubleClick): use WHOLE_WORD_STRICT for double click.
10264 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10266 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10269 2001-07-26 Baruch Even <baruch@lyx.org>
10271 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10272 an InsetFig figure, backwards compatible reading of old figure code.
10274 2001-07-27 Juergen Vigna <jug@sad.it>
10276 * text2.C: font.realize function adaption.
10278 * text.C (draw): add a warnings lyxerr text if needed.
10280 * layout.C: font.realize function adaption.
10282 * language.C: add inherit_language and implement it's handlings
10284 * bufferview_funcs.C (StyleReset): remove language parameter from
10285 font creation (should be language_inherit now).
10287 * bufferparams.C (writeFile): handle ignore_language.
10289 * paragraph.C (getFontSettings): the language has to be resolved
10290 otherwise we have problems in LyXFont!
10292 * lyxfont.C (lyxWriteChanges): added document_language parameter
10293 (update): removed unneeded language parameter
10295 * paragraph.C (validate): fixed wrong output of color-package when
10296 using interface colors for certain fonts in certain environments,
10297 which should not seen as that on the final output.
10299 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10301 * BufferView_pimpl.C:
10306 * LyXAction.C: add thesaurus support
10309 * lyxfind.C: add "once" parameter, for thesaurus, to not
10310 move to the next match
10312 2001-07-26 Juergen Vigna <jug@sad.it>
10314 * lyxfont.C (realize): honor ignore_language too!
10317 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10319 * text.C (draw): one place more for ignore_language to not draw
10322 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10324 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10326 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10328 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10329 the minipage conversion problem.
10331 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10333 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10336 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10338 * BufferView.h: don't forward declare WorkArea
10340 * BufferView.C: don't include WorkArea.h
10342 2001-07-25 André Pönitz <poenitz@gmx.net>
10346 * lyxfunc.C: new LFUN 'math-space'
10348 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10350 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10352 * text2.C (toggleInset): call open/close
10354 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10356 * lyxfunc.C (dispatch): add debug for the disabled case
10358 * font.C (buttonText): make similar to rectText
10360 * buffer.C (readInset): comment out parsing of insetlist and
10363 * PainterBase.C (rectText): small correction
10365 * BufferView_pimpl.C: comment out insettheorem and insetlist
10366 * LyXAction.C: ditto
10367 * commandtags.h: ditto
10369 2001-07-24 Juergen Vigna <jug@sad.it>
10371 * text.C (draw): honor the ignore_language.
10373 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10375 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10377 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10380 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10382 * lyxtext.h: remove unused (and unimplemented) methods
10384 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10386 * text.C (getVisibleRow): honor background color
10389 * Painter.h: remove default color argument for fillRectangle
10391 * text.C (backgroundColor): new method
10393 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10395 * text.C (getVisibleRow): adjust
10397 * font.[Ch] (rectText): new method, metrics
10398 (buttonText): new method, metrics
10400 * PainterBase.[hC]: make rectText and buttonText always draw and take
10403 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10405 * ToolbarDefaults.C (read):
10406 * MenuBackend.C (read): allow escaping in all strings
10408 * BufferView_pimpl.C (insertAndEditInset): new method.
10409 (Dispatch): use insertAndEditInset whenever appropriate.
10411 * BufferView_pimpl.C (insertNote): removed
10413 * BufferView_pimpl.C (smartQuote): new method, moved from
10414 BufferView; if an insetquote cannot be inserted, insert a '"'
10417 * BufferView2.C: remove insertCorrectQuote();
10419 * lyxfunc.C (getStatus): Add support for all remaingin
10420 inset-insert lfuns.
10422 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10424 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10425 command (necessary to pass " as parameter of self-insert.
10427 * text.C (selectWordWhenUnderCursor):
10428 (selectWord): add word_location parameter
10429 (selectWordWhenUnderCursor): same + remove special code for word
10431 (selectNextWord): use kind() to guess type of insetspecialchar,
10434 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10435 (insertErtContents): create ert insets as collapsed.
10436 (readInset): better compatibility code for Info inset.
10438 2001-07-20 Juergen Vigna <jug@sad.it>
10440 * lyxfunc.C (dispatch): use always LyXFind now!
10442 * text2.C (init): add a reinit flag so that the LyXText can be
10443 reinited instead of deleted and reallocated (used in InsetText).
10445 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10451 2001-07-18 Juergen Vigna <jug@sad.it>
10453 * text.C (selectNextWord): handle insets inside inset by calling
10454 always the bv->text functions so that we can go up the_locking_inset!
10456 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10457 in strange locations when inside an inset!
10459 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10460 handling to include insets.
10462 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10464 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10466 * LyXAction.C (init):
10468 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10469 LIGATURE_BREAK, since the name is so stupid.
10471 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10473 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10476 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10478 * sp_form.[Ch]: remove.
10480 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10482 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10485 * src/buffer.C (readInset): ditto.
10487 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10489 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10490 menuSeparator(), endOfSentenceDot(), ldots() and
10491 hyphenationPoint(), which are therefore removed.
10492 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10494 * LyXAction.C (init):
10495 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10497 * paragraph.C (getWord): removed.
10499 * BufferView_pimpl.C (Dispatch): use last word or selection for
10500 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10502 * lyx_main.C (queryUserLyXDir): do not ask before creating
10503 user_dir, except if it has been named explicitely.
10505 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10507 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10508 a document of zero size.
10510 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10512 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10513 approriately in the c-tor and in require().
10514 (getPackages): output the appropriate LaTeX for natbib support.
10516 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10517 variables "use_natbib" and "use_numerical_citations" when reading the
10519 (readInset): read the various natbib cite commands.
10520 (validate): white-space change.
10522 * bufferparams.[Ch]: new variables "bool use_natbib" and
10523 "bool use_numerical_citations".
10524 (writeFile): output them in the LyX file.
10526 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10528 * lyxfunc.C (getStatus): add support for all the inset insertion
10531 * text2.C (insertInset):
10532 * paragraph.C (insetAllowed):
10533 * BufferView_pimpl.C (insertInset): update to take in account the
10534 renaming of insertInsetAllowed
10536 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10538 * text2.C (getInset): new method. returns inset at cursor position.
10540 * BufferView_pimpl.C (Dispatch): changes because of this.
10542 * LyXAction.C (init): rename open-stuff to inset-toggle.
10544 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10546 * text2.C (toggleInset): renamed from openStuff; use
10549 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10551 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10553 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10555 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10557 * buffer.C (readLyXformat2): Add filename to the error dialog
10559 2001-07-18 Juergen Vigna <jug@sad.it>
10561 * tabular.C (GetCellNumber): put an assert here instead of the check!
10563 2001-07-17 Juergen Vigna <jug@sad.it>
10565 * BufferView_pimpl.C (toggleSelection): adapted too.
10567 * text.C (selectNextWord): adapted for use with insets.
10568 (selectSelectedWord): ditto
10570 2001-07-17 Juergen Vigna <jug@sad.it>
10572 * sp_spell.C (PSpell): fix initialitation order.
10574 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10576 * paragraph.C: spacing
10578 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10580 * sp_spell.C: repair language selection for pspell
10582 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10584 * lyxfunc.h: change more methods to begin with lower char.
10586 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10588 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10589 for unknown layouts.
10591 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10593 * buffer.C (readLyXformat2): Generate an error dialog if there are
10596 2001-07-16 Juergen Vigna <jug@sad.it>
10598 * sp_spell.C: always compile ISpell part.
10600 * lyxrc.C: added use_pspell entry and it's handling.
10602 2001-07-13 Juergen Vigna <jug@sad.it>
10604 * sp_spell.C: removed double includes.
10606 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10608 Consistent use of Lsstream.h:
10609 * Lsstream.h: added using std::stringstream for consistencies sake.
10611 * buffer.C: removed using std::stringstream
10613 * lyxfont.C (stateText):
10614 * paragraph.C (asString):
10615 * text.C (selectNextWord, selectSelectedWord):
10616 * text2.C (setCounter):
10617 * vspace.C (asString, asLatexString):
10618 std::ostringstream -> ostringstream.
10620 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10622 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10623 * commandtags.h: add LFUN_HELP_ABOUTLYX
10624 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10626 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10628 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10630 * lyx_gui_misc.C: remove spellchecker
10631 * lyxfunc.C: showSpellchecker
10633 * sp_ispell.h: added
10634 * sp_pspell.h: added
10635 * sp_spell.C: added
10636 * sp_form.[Ch]: removed
10637 * spellchecker.[Ch]: removed
10639 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10641 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10643 (simpleTeXSpecialChars): Simply print the input character without
10644 any special translation if pass_thru is set.
10646 * layout.h: Added bool pass_thru to layout class for being able to
10647 implement pass through of a paragraph for Literate Programming.
10649 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10650 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10651 * layout.C (Read): add "passthru" to list of layout tags and add
10652 code to set the pass_thru boolean when it is read.
10654 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10656 * trans_decl.h: remove allowed from KmodInfo
10658 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10659 remove allowed code
10662 * paragraph_pimpl.C (erase): use boost::prior
10664 * Painter.C (text): use data() instead of c_str() when length is
10666 * WorkArea.C (putClipboard): ditto
10667 * font.h (width): ditto
10669 * BufferView2.C: use it-> instead of (*it). for iterators
10671 * paragraph_pimpl.C: ditto
10672 * paragraph.C: ditto
10673 * minibuffer.C: ditto
10674 * language.C: ditto
10676 * encoding.C: ditto
10677 * counters.C: ditto
10678 * converter.C: ditto
10680 * Variables.C: ditto
10681 * TextCache.C: ditto
10682 * MenuBackend.C: ditto
10683 * LyXAction.C: ditto
10685 * FloatList.C: ditto
10686 * DepTable.C: ditto
10687 * ColorHandler.C (LyXColorHandler): ditto
10689 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10691 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10693 * text2.C (openStuff): reintroduce this method (which had been
10694 nuked in NEW_INSETS frenzy).
10696 * lyxfunc.C (Dispatch): when an action has not been handled, use
10697 its name in the error message, not its number.
10699 * paragraph.C (inInset): change method name to begin with lowercase.
10702 * text2.C: updates because of this.
10704 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10706 * ToolbarDefaults.C (add): add spaces in error message
10708 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10710 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10711 (readLyXformat2): rename return_par to first_par, use lyxlex's
10712 pushToken and remove the manual push handling.
10713 (parseSingleLyXformat2Token): add another ert comp. variable:
10714 in_tabular, rename return_par to first_par. handle newlines better
10716 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10718 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10720 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10722 * text2.C (getParFromID): removed
10724 * buffer.C (getParFromID): new method moved form lyxtext.
10725 * BufferView2.C (insertErrors): adjust
10726 (setCursorFromRow): adjust
10727 * BufferView_pimpl.C (restorePosition): adjust
10728 * lyxfunc.C (Dispatch): adjust
10729 * undo_funcs.C (textUndo): adjust
10731 (textHandleUndo): adjust
10732 (textHandleUndo): adjust
10734 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10736 * buffer.C: up' the LYX_FORMAT
10738 * lyxfont.h: turn NO_LATEX on as default
10740 * buffer.C (insertErtContents): new methods of tex style compability.
10741 (parseSingleLyXformat2Token): use it several places.
10742 * tabular.C (OldFormatRead): and here
10744 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10746 * text2.C: remove some commented code.
10749 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10750 * trans.C: changes because of the above.
10752 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10754 * text2.C (setCounter): Fix counters bug with bibliography layout.
10756 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10758 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10759 own member functions
10760 (simpleTeXSpecialChars): ditto
10762 2001-07-06 Juergen Vigna <jug@sad.it>
10764 * a lot of files: changed the access to LyXText::status and the
10765 call of undo-functions.
10767 * undo.[Ch]: added a inset_id to the undo informations.
10769 * undo_funcs.[Ch]: added and moved here all undo functions.
10771 * lyxtext.h: give the status enum a weight, made status_ a private
10772 variable and made accessor functions for it, removed the whole bunch
10773 of undo-functions as they are now in their own file, make some
10774 functions publically available. Added function ownerParagraph with
10777 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10778 made InInset() a const function, added getParFromID() function.
10780 * buffer.[Ch]: added const version for inset_iterator functions,
10781 added getInsetFromID() function.
10783 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10784 changed undo functions for new version.
10786 2001-07-05 Juergen Vigna <jug@sad.it>
10788 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10789 unknow mechanism does not call the proper constructor but only this
10790 one also if I request the other!?
10792 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10794 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10796 * text2.C (LyXText): use initialization lists.
10798 * lyxtext.h (Selection): initialize set_ and mark_
10799 (init): remove method
10801 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10803 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10805 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10807 * screen.[Ch]: change method names to begin with lowercase
10809 * BufferView_pimpl.C (updateScrollbar): simplify further and
10810 hopefully make it a bit faster.
10812 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10814 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10815 calling directly xforms functions.
10817 * Painter.C (Painter):
10818 * lyx_cb.C (MenuWrite):
10819 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10822 * lyx_gui.C: remove bogus guiruntime extern declaration.
10824 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10826 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10828 (redoDrawingOfParagraph): ditto
10829 (redoParagraphs): ditto
10830 (cutSelection): don't create a object for CutAndPaste use the
10831 static method directly
10832 (pasteSelection): ditto
10834 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10837 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10839 * modifications to some other files because of this.
10841 * Makefile.am (lyx_SOURCES): add XFormsView
10843 * XFormsView.[Ch]: new files
10845 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10846 the main window. Move the gui dependent stuff to XFormsView
10848 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10850 * tabular.C (GetCellInset): update cur_cell also in the row/col
10851 version of this function.
10853 * lyxfunc.C: no need to include figure_form.h here.
10859 * lyxvc.C: no need to include forms.h here.
10861 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10863 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10865 * lyxfunc.C (Dispatch):
10867 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10868 constructor argument.
10870 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10872 * paragraph.C (Paragraph): dont't clear, and just set layout.
10873 (makeSameLayout): use params's copy contructor.
10875 * ParagraphParameters.[Ch] (makeSame): delete method
10877 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10879 * Variables.[Ch]: fix indentation, rename set to isSet
10881 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10883 * lyxfunc.C (Dispatch): fix typo
10885 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10887 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10890 * bufferlist.C: include assert.h for emergencyWrite().
10892 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10894 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10895 give up at last (bug #425202) !
10897 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10903 * spellchecker.C: strip spellchecker options and bring up
10904 preferences tab instead
10906 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10908 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10909 the istringstream constructor
10911 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10913 * paragraph.C (getLayout): fix return value
10915 * paragraph.h: do not declare getLayout as inline.
10917 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10919 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10921 * lyxcursor.h (operator<): new func
10922 (operator>): new func
10923 (operator>=): new func
10924 (operator<=): new func
10926 * text.C (changeCase): use selection.start and selection.end
10927 (changeRegionCase): require from to be <= to. Require par to be a
10930 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10932 2001-06-27 Juergen Vigna <jug@sad.it>
10934 * text.C (cursorLeftOneWord): changed to return the cursor and added
10935 overlay with BufferView * parameter which calls this one.
10937 (selectWord): use new getWord function.
10938 (changeCase): renamed from changeWordCase as and extended to work
10939 also on selections.
10941 * lyxtext.h: added enum word_location
10943 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10944 changeCase as this operates now also on selections.
10946 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10948 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10950 * many files: send debug output to Debug::INFO instead of
10953 * converter.C (View):
10955 (Move): send debug output to Debug::FILES instead of console.
10957 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10959 * lyxfunc.C (getStatus): use func_status
10961 * func_status.h: new header, describing the results of
10962 LyXFunc::getStatus;
10964 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10967 2001-06-25 The LyX Project <jug@sad.it>
10969 * buffer.C (sgmlOpenTag):
10971 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10973 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10975 * text2.C: remove some dead code
10977 * tabular.C (GetCellInset): store the last cell checked (gotten)
10979 * tabular.h: add the helper for the speedup
10981 * lyxtext.h: remove some dead code
10983 2001-06-26 The LyX Project <Asger>
10985 * paragraph.C: Change export to LaTeX of alignment to
10986 \begin{center} and family for better roundtrip work with reLyX.
10988 * Tune the math drawing a bit.
10990 2001-06-25 The LyX Project <Asger>
10992 * LColor.C (LColor): New color for math background. New color
10995 2001-06-25 The LyX Project <jug@sad.it>
10997 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10999 * lyxfunc.C (Open):
11000 * bufferlist.C (newFile): do not restrict to files ending with
11003 * BufferView_pimpl.C (MenuInsertLyXFile):
11005 2001-06-24 The LyX Project <jug@sad.it>
11007 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11010 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11012 * lyxtext.h: rename most methods to begin with a small char.
11013 Lots of changes because of this.
11015 * paragraph.C (Paragraph): do not call fitToSize
11016 (erase): call Pimpl::erase
11017 (insertChar): call Pimpl::insertChar
11018 (insertInset): call Pipl::insertInset
11019 (breakParagraph): do not call fitToSize
11020 (breakParagraphConservative): do not call fitToSize
11021 (fitToSize): remove method
11023 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11025 2001-06-24 The LyX Project <Asger>
11027 * Fix Qt compilation^2
11029 2001-06-24 The LyX Project <jug@sad.it>
11031 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11032 depthHook(getDepth()-1).
11035 * ParagraphParameters.h:
11036 * ParameterStruct.h: change type of depth to unsigned int ==
11037 depth_type. Many adaptations to other files before of that.
11039 2001-06-24 The LyX Project <Asger>
11041 * Fix Qt compilation.
11043 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11045 * paragraph.h: renamed several methods to begin with small letter.
11046 several changes to many parts of the code because of this.
11048 2001-06-23 The LyX Project <jug@sad.it>
11050 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11051 rewritten to discard all double spaces when KeepEmpty is off
11052 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11053 to only handle newlines but not fiddle with spaces and friends.
11055 * lyxfunc.C (MenuNew): when doing 'new from template', use
11056 template_path as default directory
11058 2001-06-23 The LyX Project <Asger>
11060 * Clean-up of header file includes all over
11061 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11063 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11065 * paragraph.h: renamed from lyxparagraph.h
11067 2001-06-23 Asger <lyx@violet.home.sad.it>
11069 * Buffer.h: Removed Buffer::resize
11070 * BufferList.h: Removed BufferList::resize
11071 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11072 the document lazily when we change the width, or the font settings.
11074 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11076 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11078 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11080 * buffer.h: remove out of date comment
11082 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11085 * screen.C: fix "theoretical" GC leak
11087 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11089 * LaTeX.C (scanAuxFile):
11090 (deplog): remove trailing \r when reading stream (useful under
11093 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11095 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11096 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11097 and BufferView::theLockingInset(Inset*), so should use them and not
11098 access bv_->text->the_locking_inset directly.
11100 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11102 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11105 * tex-defs.h: remove old unused file
11107 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11109 * BufferView_pimpl.C: fix typo, remove minibuffer message
11110 when buffer has loaded
11112 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11114 * lyxfunc.C (Dispatch): use stringstream
11115 (MenuNew): use stringstream
11116 (Open): use stringstream
11118 * importer.C (Import): use stringstream
11120 * bufferview_funcs.C (CurrentState): use stringstream
11122 * LaTeX.C (run): use stringstream
11124 * BufferView_pimpl.C (savePosition): use stringstream
11125 (restorePosition): use stringstream
11126 (MenuInsertLyXFile): use stringstream
11128 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11141 * vspace.C: removed // -*- C++ -*- as first line.
11144 * version.h: added // -*- C++ -*- as first line.
11146 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11148 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11150 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11153 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11155 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11158 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11160 * gettext.C: include LString.h even when --disable-nls is on.
11162 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11164 * converter.h (Get): changed argument type from int to
11165 FormatList::size_type to avoid unnecessary conversion.
11167 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11170 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11172 * gettext.h: include LString.h even when --disable-nls is on.
11174 2001-06-07 Juergen Vigna <jug@sad.it>
11176 * text.C (BreakAgain): subst spaces with tabs.
11178 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11179 (resizeInsetsLyXText): set force on resizeLyXText.
11181 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11183 * gettext.h (gettext_init):
11184 (locale_init): use a real definition instead of a macro
11186 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11188 * Bufferview_pimpl.C:
11190 * LColor.C: further lcolor tidies
11192 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11194 * BufferView_pimpl.C (updateScrollbar): simplify.
11196 * BufferView2.C: don't include insets/insetinfo.h, change
11197 prototype for insertInset and call the Pimpl version. let
11198 updateInset call Pimpl version.
11200 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11201 gotoInset to BufferView::Pimpl
11203 2001-06-01 Juergen Vigna <jug@sad.it>
11205 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11206 inside a LockingInset (is the update needed at all?).
11208 2001-05-31 Juergen Vigna <jug@sad.it>
11210 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11211 here not the old one otherwise how should we compare it afterwards
11214 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11219 * FontInfo.C: bring C functions into global namespace when
11222 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11224 * LString.h: make sure config.h has been loaded before LString.h.
11226 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11227 (one for each char read by EatLine!).
11229 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11232 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11234 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11235 to the same as the par we break from
11237 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11239 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11241 * MenuBackend.C (expand): also create menu entries for wide
11242 versions of the floats.
11244 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11246 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11248 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11249 frontends/Makefile.am
11255 * tabular.C (getTokenValue): add std::
11257 * tabular-old.C (getTokenValue): add std::
11258 (getTokenValue): ditto
11259 (getTokenValue): ditto
11261 * screen.C (ToggleSelection): adjust
11263 * lyxtext.h: put selection cursors inside a Selection struct.
11265 * lyxfunc.C (moveCursorUpdate): adjust
11267 * lyxfont.C (latexWriteStartChanges): add std::
11269 * lyxfind.C: adjust
11271 * font.h: delete with(char const *, LyXFont const &)
11273 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11275 * FontInfo.C (getFontname): add std::
11277 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11278 (workAreaButtonPress): adjust
11279 (tripleClick): adjust
11281 (moveCursorUpdate): adjust
11284 * BufferView2.C (gotoInset): adjust
11286 2001-05-30 Juergen Vigna <jug@sad.it>
11288 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11289 to check pspell I add this as default as I now have new pspell
11290 libraries and they seem to use this.
11292 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11294 * text2.C (CutSelection): make the cursor valid before the call to
11297 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11299 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11300 relied on 0 terminated strings and other horrors. Bug found due to
11301 the new assert in lyxstring!
11303 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11306 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11308 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11311 * lyxfunc.C (processKeySym): change method of getting to the
11314 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11315 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11316 * BufferView_pimpl.[Ch]: here as private methods.
11318 2001-05-28 Juergen Vigna <jug@sad.it>
11320 * text.C (SetHeightOfRow): added the update() call again as it is
11321 needed to initialize inset dimensions!
11323 2001-05-16 Juergen Vigna <jug@sad.it>
11325 * text2.C (SetCharFont): Add new function with BufferView * and
11326 bool toggleall parameters for setting insets internal fonts.
11327 (SetFont): Freeze the undo as we may change fonts in Insets and
11328 all this change should be inside only one Undo!
11330 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11331 setting font's in insets as for them we have the SetFont function!
11333 2001-05-15 Juergen Vigna <jug@sad.it>
11335 * text2.C (ClearSelection): to be sure we REALLY don't have any
11338 * tabular.C (TeXCellPreamble): fixed the left border problem for
11341 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11343 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11346 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11348 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11349 LFUN_BREAKPARAGRAPH.
11351 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11352 help test to "internal only", similar for LFUN_INSERT_URL
11354 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11355 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11356 auto_region_delete and deadkeys.
11358 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11361 * LColor.C: remove some dead entries, tidy a little
11363 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11365 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11367 (Dispatch): implement LFUN_ESCAPE
11369 * commandtags.h: add LFUN_ESCAPE
11371 * LyXAction.C (init): add entry for LFUN_ESCAPE
11373 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11374 Remove commented code.
11375 (insertNote): moved here
11376 (open_new_inset): moved here
11378 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11381 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11383 * kbmap.C (findbinding): clean it up and make it work correctly.
11385 * lyx_main.C (init): do not pass argc and argv as parameters
11387 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11389 * buffer.C: fix path for OS/2 & Win32
11393 * lyx_main.C: Added os:: class.
11395 * os2_defines.h: update
11397 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11399 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11400 better by trying again with reduced state.
11402 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11404 * lyxrc.C (read): print error about invalid key sequence only when
11405 debugging (because not all latinX keysyms are known to some X
11408 * kbsequence.C (getiso): add a few std:: qualifiers
11409 (getiso): comment out extra return statement.
11411 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11413 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11415 (Dispatch): enhance the accent inset a bit. (not perfect)
11417 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11419 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11421 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11423 * bufferlist.C (emergencyWrite): fix assert() call
11425 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11427 * text.C (InsertChar): Added trivial patch to only send the "you
11428 can not do multiple spaces this way" message once during a
11431 2001-05-08 Baruch Even <baruch@lyx.org>
11433 * Makefile.am: Changed order of libraries to get LyX to link properly
11434 with the gnome frontend.
11436 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11438 * LaTeXFeatures.h: add a std:: qualifier
11440 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11442 * paragraph.C (String): use stringstream
11444 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11446 * paragraph.C (writeFile): remove footflag arg
11448 * buffer.C (makeLaTeXFile): use stringstream
11449 (latexParagraphs): remove footnot gurba
11451 * LaTeXFeatures.C (getPackages): use stringstream
11452 (getMacros): likewise
11453 (getTClassPreamble): likewise
11454 (getFloatDefinitions): new method
11456 * paragraph.C (writeFile): reindent
11459 * WorkArea.h: revert the xpos + etc changes.
11461 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11463 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11465 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11466 (pasteSelection): likewise
11467 * text2.C (CreateUndo): likewise
11469 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11471 * minibuffer.C (peek_event): temporarily reduce the functionality
11472 of the minibuffer (to allow args on lfuns)
11474 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11475 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11477 * buffer.C (readInset): add compability reading of old float
11478 lists, add reading of new style float list.
11479 (readInset): avoid reevaluation of inscmd.getCmdName()
11480 (getLists): reindent
11482 * MenuBackend.C (MenuItem): implement parsing of
11483 md_floatlistinsert and md_floatinsert.
11484 (expand::LastFiles): move initalizaton of iterators out of loop,
11485 avoid reevaluation.
11486 (expand::Documents): introduce typdedef vector<string> Strings,
11488 (expand::ExportFormats): introduce typedef vector<Format const *>
11489 Formats, and use it.
11490 (expand): implement FloatListInsert and FloatInsert.
11492 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11493 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11494 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11496 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11498 (Dispatch::LFUN_FLOAT_LIST): implement
11500 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11502 * LaTeX.C (run): Fix problem with --export code.
11504 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11506 * BufferView.[Ch] (workarea): removed.
11507 (getClipboard) new method; wrapper for workarea()->getClipboard()
11509 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11512 * WorkArea.h (width, height, xpos, ypos): These methods all
11513 returned the dimensions of the work_area sub-area of WorkArea,
11514 resulting in a position error if the WorkArea were resized. Now
11515 return the dimensions of the entire WorkArea.
11517 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11519 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11521 * LaTeX.C (deplog): correct the syntax of regex reg1
11523 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11525 * undo.C: remove !NEW_INSETS cruft
11527 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11529 * text2.C: remove !NEW_INSETS cruft
11531 * text.C: remove !NEW_INSETS cruft
11533 * tabular.C: remove !NEW_INSETS cruft
11535 * spellchecker.C: remove !NEW_INSETS cruft
11537 * lyxtext.h: remove !NEW_INSETS cruft
11539 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11541 * lyxfunc.C: remove !NEW_INSETS cruft
11543 * lyxfind.C: remove !NEW_INSETS cruft
11545 * lyx_cb.C: remove !NEW_INSETS cruft
11547 * figureForm.C: remove !NEW_INSETS cruft
11549 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11551 * buffer.[Ch]: remove !NEW_INSETS cruft
11553 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11555 * CutAndPaste.C: remove !NEW_INSETS cruft
11557 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11559 * BufferView2.C: remove !NEW_INSETS cruft
11561 * BufferView.h: remove !NEW_INSETS cruft
11563 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11565 * Lsstream.h: include LString.h before the sstream headers to
11566 fix problem with gcc 2.95.3 and lyxstring
11568 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11570 * lyx_main.C: add using directives when needed for C functions
11571 declared in std:: namespace.
11573 2001-04-27 Juergen Vigna <jug@sad.it>
11575 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11576 (SetHeightOfRow): comment out the update call should not be needed!
11578 2001-04-13 Juergen Vigna <jug@sad.it>
11580 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11581 (LyXTabular): tried to minimize operator= operations (and realized
11582 hopfully Lars wish).
11584 2001-04-27 Juergen Vigna <jug@sad.it>
11586 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11588 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11590 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11592 * buffer.C (readInset): hack to make listof algorithm work
11594 * BufferView_pimpl.C: hack to make listof algorithm work
11596 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11598 * LyXAction.C: removed all !NEW_INSETS cruft
11599 (init): moved lfun_item in method
11601 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11603 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11605 * BufferView2.C (theLockingInset): white space.
11607 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11609 * minibuffer.C: include <iostream>
11611 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11613 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11615 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11617 * text.[Ch] (TransposeChars): new method
11619 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11621 * call message directly through LyXView instead of through LyXFunc
11622 * BufferView2.C: adjust
11623 * BufferView_pimpl.C: adjust
11624 * FontLoader.C: adjust
11626 * bufferview_funcs.C: adjust
11627 * converter.C: adjust
11628 * figureForm.C: adjust
11629 * importer.C: adjust
11631 * lyx_gui_misc.C: adjust
11632 * lyxfunc.C: adjust
11635 + more files in subdirs
11637 * lyxparagraph.h (size): move up int file
11640 * adjust all uses of Assert to lyx::Assert.
11642 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11643 lyxfunctional in namespace lyx
11644 * layout.C (hasLayout): ditto
11647 (delete_layout): ditto
11648 (NumberOfClass): ditto
11649 * converter.C (GetFormat): ditto
11654 * bufferlist.C (getFileNames): ditto
11655 (emergencyWriteAll): ditto
11658 * MenuBackend.C (hasSubmenu): ditto
11661 * BufferView_pimpl.C (getInsetByCode): ditto
11663 2001-04-18 Juergen Vigna <jug@sad.it>
11665 * vspace.C (asLatexString): fixed the 100% problem.
11667 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11669 * lyxfunc.C (Dispatch):
11671 * minibuffer.h: add a few std:: qualifiers
11673 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11675 * minibuffer.[Ch]: reimplement so that commands is initiated and
11676 run from lyxfunc, simplified som handling, and made the completion
11677 and history code for complete. wip.
11679 * lyxfunc.C (processKeySym): call message
11680 (miniDispatch): new temporary method
11681 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11682 (LFUN_MESSAGE): implement
11683 (LFUN_MESSAGE_PUSH): implement
11684 (LFUN_MESSAGE_POP): implement
11685 (initMiniBuffer): the initial/defualt minibuffer message.
11687 * lyxfont.[Ch]: inline some more getters
11689 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11691 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11693 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11694 (AutoSave): use LFUN_MESSAGE
11695 (Reconfigure): ditto
11697 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11699 * figureForm.C: use LFUN_MESSAGE
11701 * converter.C (runLaTeX): use LFUN_MESSAGE
11703 * bufferview_funcs.C: use LFUN_MESSAGE
11705 (changeDepth): ditto
11707 * bufferparams.h: use boost::
11709 * bufferlist.h: inherit privately from noncopyable
11711 * bufferlist.C (loadLyXFile): remove some commented code.
11713 * buffer.C (runChktex): use LFUN_MESSAGE
11715 * ShareContainer.h: inherit privately from noncopyable
11717 * ParagraphParameters.[hC] (depth): inline it.
11719 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11721 (message): new method
11722 (messagePush): ditto
11723 (messagePop): ditto
11724 (show): init minibuffer
11725 (showState): direct call
11727 * LaTeX.[Ch]: inherit privately from noncopyable
11728 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11729 instead of WriteStatus.
11731 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11733 * BufferView_pimpl.C (buffer): don't init minibuffer
11734 (workAreaButtonPress): use LFUN_MESSAGE
11735 (workAreaButtonRelease): ditto
11736 (savePosition): ditto
11737 (restorePosition): ditto
11738 (MenuInsertLyXFile): ditto
11739 (workAreaExpose): don't init minibuffer
11740 (update): remove commented code, simplify
11742 * BufferView2.C (openStuff): use LFUN_MESSAGE
11743 (toggleFloat): ditto
11746 (copyEnvironment): ditto
11747 (pasteEnvironment): ditto
11752 (updateInset): remove some commented code
11754 * lastfiles.h: inherit privately from noncopyable
11757 * lyx_main.h: ditto
11759 * lyxlex_pimpl.h: ditto
11761 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11762 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11763 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11765 * LyXAction.h: inherit privately from noncopyable, add methods
11766 func_begin, func_end, returning iterators to the func map.
11768 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11769 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11770 (func_begin): new method
11771 (func_end): new method
11773 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11775 (copySelection): ditto
11776 (pasteSelection): ditto
11778 * BufferView.C: whitespace change
11779 * BufferView.h: inherit privately from noncopyable
11781 2001-04-16 Allan Rae <rae@lyx.org>
11783 * tabular-old.C (l_getline):
11784 * spellchecker.C (sc_check_word):
11785 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11786 an unrecognised preprocessor directive. So ensure they're wrapped.
11788 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11790 * src/exporter.C (Export): Give an error message when path to file
11793 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11795 * LaTeX.C (deplog): Always check that foundfile exists.
11797 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11800 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11802 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11804 * tabular.[Ch] (getLabelList): implement new method
11806 * minibuffer.h: comment ouf setTiimer
11808 * minibuffer.C (ExecutingCB): constify res
11809 (peek_event): constify s
11810 (Set): constify ntext
11811 (Init): constify nicename
11813 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11815 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11816 (savePosition): use two params to Minibuffer::Set
11817 (restorePosition): ditto
11819 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11821 * lyx_main.C: include language.h
11823 * Makefile.am (lyx_main.o): add language.h
11825 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11831 * CutAndPaste.C: include gettext.h
11833 * lyxfont.h: remove old hack with ON and OFF.
11836 * lyxfont.h: do not include language.h...
11841 * bufferview_funcs.C:
11847 * paragraph.C: ... but do it here instead
11849 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11851 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11853 * tabular.C: small reformat
11855 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11858 (BreakParagraph): ditto
11859 (SetOnlyLayout): ditto
11862 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11865 * lastfiles.C: removed most using decl, add std:: where needed
11867 * buffer.C: ws changes
11869 * MenuBackend.C (class compare_format): put into anon namespace
11870 (expand): constify label, names, action, action2
11873 * text.C (SingleWidth): constify font
11874 (IsBoundary): constify rtl2
11875 (GetVisibleRow): constify ww
11877 * LaTeX.C (deplog): constify logfile
11879 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11881 (workAreaExpose): constify widthChange, heightChange
11883 * lyxrow.C (par): moved
11886 * lyxrow.h: as inlines here
11888 * lyxfont.h (shape): moved from lyxfont.C
11889 (emph): moved from lyxfont.C
11891 * lyxfont.C (LyXFont): use initialization list for all
11893 (shape): move to lyxfont.h as inline
11894 (emph): move to lyxfont.h as inline
11897 2001-04-04 Juergen Vigna <jug@sad.it>
11899 * vspace.C: had to include stdio.h for use of sscanf
11901 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11904 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11905 independent of xforms.
11907 2001-04-02 Juergen Vigna <jug@sad.it>
11909 * spellchecker.C: fixed namespace placing!
11911 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11913 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11914 the LyXParagraph * is 0.
11916 2001-03-29 Juergen Vigna <jug@sad.it>
11918 * vspace.C: added support for %, c%, p%, l%.
11919 (stringFromUnit): added helper function.
11920 (asLatexString): changed to give right results for the %-values.
11922 * buffer.C: convert the widthp in a width%.
11924 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11926 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11929 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11930 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11932 * lyx_cb.[Ch]: see above.
11934 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11938 * lyx.[Ch]: replaced by figure_form.[Ch].
11942 * lyxfunc.C: changed headers associated with above changes.
11944 2001-03-27 Juergen Vigna <jug@sad.it>
11946 * BufferView_pimpl.C: set the temporary cursor right!
11948 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11950 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11952 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11954 * LString.h: removed "using std::getline"!
11956 * BufferView_pimpl.C (Dispatch): changes due to changes in
11957 InsetInclude::Params.
11959 * buffer.C (tag_name): removed redundant break statements as they were
11960 producing lots of warnings with my compiler.
11962 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11964 * LString.h: add "using std::getline" when using the real <string>.
11966 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11968 * buffer.C: removed bitset usage.
11969 PAR_TAG moved to an anonymous name space.
11970 (tag_name): new funtion, also in the anonymous namespace.
11971 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11972 (makeDocBookFile): clean code. Completed transition from string arrays
11974 (SimpleDocBookOnePar): code clean.
11976 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11978 * tabular.C: add some comments.
11980 2001-03-22 Juergen Vigna <jug@sad.it>
11982 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11983 compatibility read a bit and fixed bug with minipage in different
11986 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11988 * buffer.C (pop_tag): removed.
11989 (push_tag): removed.
11990 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11991 array replaced with vector. Added support for CDATA sections.
11992 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11994 (makeDocBookFile): XML conformant declaration of CDATA section,
11995 fixed bug related to <emphasis> in the first paragraph char.
11996 (sgmlOpenTag): exclude empty tags.
11997 (sgmlCloseTag): ditto.
11999 * buffer.h (pop_tag): removed.
12000 (push_tag): removed.
12002 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12004 * language.h (Languages): added size_type and size().
12006 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12008 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12009 response on compability reading of minipages. One probliem is that
12010 the old usage of minipages was «flertydig»
12012 * several files here and in subdirs: don't use static at file
12013 scope use anon namespaces instead.
12015 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12017 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12018 LaTeX output. This is necessary for Literate document
12021 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12023 * buffer.C: insert hfill when needed.
12025 * tabular.C (l_getline): use string::erase, small whitespace change.
12027 * BufferView_pimpl.C: try the anon namespace.
12028 * WorkArea.C: ditto
12030 2001-03-16 Juergen Vigna <jug@sad.it>
12032 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12033 otherwise it won't open options-dialogs.
12035 * buffer.C: honor pextraWidth(p) on converting minipages.
12037 * tabular.C (l_getline): changed the functions to strip trailing \r.
12039 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12041 * BufferView_pimpl.C:
12042 * minibuffer..C: added "using SigC::slot" declaration.
12044 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12046 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12052 * paragraph.C: ditto
12054 * lyxtext.h: NO_PEXTRA
12056 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12058 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12059 * ParameterStruct.h: ditto
12060 * ParagraphParameters.h: ditto
12061 * lyxparagraph.h: ditto
12063 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12065 * buffer.C: add compability for minipage alignment.
12066 (latexParagraphs): remove unwanted pextra check.
12068 * several files: remove CXX_WORKING_NAMESPACES
12070 * buffer.C (pop_tag): tie is in namespace boost
12072 * BufferView.h: noncopyable is in namespace boost
12074 * lyx_main.h: ditto
12077 * lastfiles.h: ditto
12078 * bufferlist.h: ditto
12079 * ShareContainer.h: ditto
12081 * LyXAction.h: ditto
12084 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12086 * Merging changes from BRANCH_MVC back into HEAD.
12088 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12090 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12092 * BufferView_pimpl.C: change from intl.C
12096 * Makefile.am: move combox.*
12102 * intl.C: remove dialog (covered by prefs)
12104 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12106 * lyxfunc.C (Dispatch): removed redundant break statement.
12108 2001-03-14 Juergen Vigna <jug@sad.it>
12110 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12112 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12114 * buffer.C: add hack to fix compability reading of minipages.
12116 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12118 * buffer.C (getLists): Cleanup.
12120 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12122 * lyxfont.C (update): don't honor toggleall on font size.
12124 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12128 * Makefile.am: moved to frontends/xforms/
12132 * BufferView_pimpl.C: changes for moved mathpanel
12134 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12136 * gettext.h: fix gettext_init() in --disable-nls
12138 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12140 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12142 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12145 * lyx.h: strip external form
12147 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12149 * BufferView_pimpl.C: add comment, destroySplash()
12151 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12153 * BufferView_pimpl.C:
12157 * lyxfunc.C: use re-worked insetinclude
12159 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12161 * buffer.C: add using std::stringstream.
12163 * lyx_cb.C: readd using std::ios.
12165 * buffer.C: add using std::map.
12167 * BufferView_pimpl.C: add using std::vector.
12169 * ShareContainer.h: add std:: to swap.
12171 * buffer.h: add some typedefs
12172 * buffer.C (getLists): use them
12173 (getLists): renamed from getTocList.
12174 add a counter for the different float types and use it in the
12176 (getLists): use the same counter for the NEW_INSETS and the "non"
12179 * lyx_cb.h: remove unused items, includes, using etc.
12181 * ShareContainer.h: remove some commented code, add more comments
12182 and "documentation".
12184 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12186 * buffer.C (getTocList): make the list also when NEW_INSETS is
12189 * buffer.h: remove TocType
12191 * buffer.C (getTocList): change to return a map<string,
12192 vector<TocItem> >, implement for dynamic number of list.
12194 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12195 * text2.C (PasteSelection): adjust
12196 * CutAndPaste.C (pasteSelection): adjust
12198 * FloatList.C (FloatList): update from the new_insets branch.
12199 * Floating.[Ch]: ditto
12200 * LaTeXFeatures.C: ditto
12202 * lyxlex_pimpl.C: ditto
12204 * paragraph.C (Last): remove when NEW_INSETS is defined.
12206 * other file: changes because of the above.
12208 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12210 * lyxparagraph.h: rename next to next_, previous to previous_,
12211 make them private for NEW_INSETS. Rename Next() to next(),
12212 Previous() to previous().
12214 * other files: changes because of the above.
12216 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12219 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12222 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12224 * main.C (main): pass lyx_localedir to gettext_init().
12226 * gettext.h: remove locale_init and gettext_init macros
12228 * gettext.C (locale_init): new function
12229 (gettext_init): new function
12231 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12234 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12236 * Moved credits to frontends:
12237 * credits.[Ch]: removed
12238 * credits_form.[Ch]: removed
12239 * lyx_gui_misc.C: remove credits stuff
12242 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12244 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12246 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12247 unneeded destructor.
12249 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12250 a standalone pointer again.
12252 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12254 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12260 * ToolbarDefaults.C:
12269 * BufferView_pimpl.C: use new file dialog in GUII
12272 * lyx_cb.C: remove LayoutsCB to Toolbar
12274 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12276 * ShareContainer.h (get): add std:: qualifier
12278 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12280 * ShareContainer.h: define a proper ShareContainer::value_type
12281 type (and use typename to please compaq cxx)
12283 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12285 * lyxparagraph.h: move serveral local vars to
12286 ParameterStruct/ParagraphParameters., use ShareContainer in
12287 FontTable., make vars in FontTable private and add getter and
12290 * paragraph.C: changes because of the above.
12292 * lyxfont.h: remove copy constructor and copy assignment. (the
12293 default ones is ok), move number inside FontBits. move inlines to
12296 * lyxfont.C: add number to initializaton of statics, move several
12297 inlines here. constify several local vars. some whitespace
12298 cleanup. Dont hide outerscope variables.
12300 * Spacing.h: add two new constructors to match the set methods.
12302 * ShareContainer.h: new file, will perhaps be moved to support
12304 * ParameterStruct.h: new file
12306 * ParagraphParameters.h: new file
12308 * ParagraphParameters.C: new file
12310 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12311 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12313 * BufferView_pimpl.C: ParagraphParameter changes.
12314 * buffer.C: Likewise.
12315 * bufferview_funcs.C: Likewise.
12316 * text.C: Likewise.
12317 * text2.C: Likewise.
12319 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12321 * lyxfind.C (LyXReplace): do not redefine default argument in
12323 (IsStringInText): ditto
12324 (SearchForward): ditto
12325 (SearchBackward): ditto
12327 2001-03-06 Juergen Vigna <jug@sad.it>
12329 * lyxfind.C (IsStringInText): put parentes around expressions.
12331 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12333 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12335 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12337 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12339 * stl_string_fwd.h: add comment
12341 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12344 * tabular.C: remove unused DocBook methods
12350 killed DO_USE_DEFAULT_LANGUAGE
12352 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12354 * lyx_gui.C: do not include language.h.
12356 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12357 arguments in function implementation.
12359 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12361 * BufferView_pimpl.C: add <ctime>
12363 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12365 * BufferView_pimpl.C: add using std::find_if
12367 2001-02-27 José Matos <jamatos@fep.up.pt>
12369 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12372 2001-02-11 José Matos <jamatos@fep.up.pt>
12374 * buffer.C (makeDocBookFile): command styles now have a parameter as
12375 "title" by default.
12377 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12379 * layout_forms.[Ch]: removed
12380 * lyx_cb.[Ch]: out character
12381 * lyx_gui.C: out character
12382 * lyx_gui_misc.C: out character
12383 * bufferview_funcs.C: : out character,
12384 added toggleall as parameter in ToggleAndShow
12386 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12388 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12390 * text2.C (SetCurrentFont): Disable number property at boundary.
12392 2001-02-26 Juergen Vigna <jug@sad.it>
12394 * lyxfunc.C (getStatus): added a string argument override function so
12395 that this is correctly called from LyXFunc::Dispatch if it contains a
12396 do_not_use_argument which is used!
12397 (Dispatch): added check for "custom" export and call appropriate func.
12399 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12401 * lyxrc.C: Add language_command_local, language_use_babel and
12402 language_global_options.
12404 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12406 * buffer.C (makeLaTeXFile): Use language_use_babel and
12407 language_global_options.
12409 2001-02-23 Juergen Vigna <jug@sad.it>
12411 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12412 which works with LyXText and putted it inside BufferView. Here now we
12413 only call for that part the BufferView::Dispatch() function.
12415 * BufferView.C (Dispatch): added.
12417 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12418 functions which needs to use a LyXText over from LyXFunc.
12419 (MenuInsertLyXFile): added
12420 (getInsetByCode): added
12421 (moveCursorUpdate): added
12422 (static TEXT): added
12424 2001-02-22 Juergen Vigna <jug@sad.it>
12426 * BufferView_pimpl.C (update): call a status update to see if LyXText
12429 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12431 * vc-backend.C (revert): implement for CVS
12432 (getLog): implement for CVS
12434 2001-02-20 Juergen Vigna <jug@sad.it>
12436 * text2.C (ClearSelection): added BufferView param for inset_owner call
12438 * lyxfunc.C (TEXT): added this function and use it instead of
12439 directly owner->view()-text of getLyXText().
12441 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12443 * src/layout_forms.C: out preamble
12444 * src/layout_forms.h: out preamble
12445 * src/lyx_cb.C: out preamble
12446 * src/lyx_cb.h: out preamble
12447 * src/lyx_gui.C: out preamble
12448 * src/lyx_gui_misc.C: out preamble
12449 * src/lyxfunc.C: connect with guii preamble
12451 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12453 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12455 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12457 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12458 whether to run bibtex.
12460 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12462 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12464 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12466 * Makefile.am (lyx_SOURCES): removed bibforms.h
12468 * vspace.h: doxygen
12470 * text.C (GetVisibleRow): make several local vars const
12472 * tabular.C: small cleanup.
12474 * lyxserver.C (callback): use compare instead of strncmp
12476 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12477 inlines to after class or to paragraph.C
12479 * lyxfont.h: remove friend operator!=
12481 * converter.h: move friend bool operator< to non friend and after
12484 * combox.h: small cleanup
12486 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12487 to inlines after class def.
12489 * buffer.C (pop_tag): use string operations instead of strcmp
12491 * bmtable.c: doxygen, small cleanup
12493 * LaTeX.h: remove friend operator==
12495 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12507 * BufferView_pimpl.C:
12508 * BufferView.[Ch]: remove cruft
12510 2001-02-14 Juergen Vigna <jug@sad.it>
12512 * lyxfunc.C: removed #if 0 unused code
12514 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12516 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12518 * text2.C (SetSelection): added a BufferView * parameter
12520 2001-02-13 Juergen Vigna <jug@sad.it>
12522 * lyxfunc.C (Dispatch): fixed protected blank problem.
12523 * BufferView2.C (protectedBlank): added LyxText * parameter.
12525 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12526 (AppendColumn): same as above for column_info.
12528 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12529 (moveCursorUpdate): use a LyXText param for support of InsetText.
12531 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12532 (tripleClick): ditto
12534 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12536 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12538 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12540 * text2.C (SetSelection): set correct update status if inset_owner
12541 (ToggleFree): ditto
12543 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12545 * tabular.C: remove some commented code.
12547 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12549 * BufferView_pimpl.C: call hideSplash()
12551 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12554 * bibforms.h: remove
12557 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12558 add LFUN_CHILD_CREATE
12560 * counters.h: fix tiny typo
12565 * lyx.C: move splash to frontends/xforms/
12567 * lyx_gui_misc.C: move Include and Bibform to frontends
12569 * lyxvc.h: clarify comment
12571 * vspace.C: tiny housekeeping
12573 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12575 * text.C (PrepareToPrint): RTL Fix.
12577 * paragraph.C (GetUChar): New method.
12578 (String): Use GetUChar.
12580 * buffer.C (asciiParagraph): Use GetUChar.
12582 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12584 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12586 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12589 * buffer.C: rename to getLogName(), handle
12590 build log / latex log nicely
12592 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12595 * MenuBackend.h: remove support for reference menuitem type.
12597 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12599 * BufferView_pimpl.C: housekeeping
12600 * BufferView_pimpl.h:
12605 * minibuffer.h: move Timeout GUI-I
12607 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12609 * lyxrc.C (read): Update converters data-structures.
12611 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12613 * LaTeX.h (operator!=): add operator != for Aux_Info
12615 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12617 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12619 * LaTeXLog.C: deleted, useful code moved to Buffer
12622 * buffer.C: new function getLatexLogName()
12628 * lyxfunc.C: use frontends for LaTeX and VC logs
12630 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12632 * LaTeX.h: yet another std:: that Allan forgot.
12634 * Variables.C (set): renamed from isset(), because this clashes
12635 with some HP-UX macros (grr).
12637 2001-02-06 Allan Rae <rae@lyx.org>
12639 * LaTeX.h: Another bug fix. Missing std:: this time.
12641 2001-02-04 Allan Rae <rae@lyx.org>
12643 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12644 floats problem. I've left it commented out because it's not quite
12645 correct. It should also test that the current object is a table or
12646 figure inset. But I haven't gotten around to figuring out how to do
12647 that. I *think* it'll be something like: "table" == inset.type()
12649 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12652 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12654 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12655 all the citation/databases/styles in the auxilary file.
12656 (run): Rerun latex if there was a babel language error.
12658 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12660 * text.C (Backspace): Preserve the font when changing newline char
12662 (BreakParagraph): If the cursor is before a space, delete the space.
12664 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12666 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12668 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12669 new argument (code).
12670 (ChangeCitationsIfUnique): New method.
12672 * paragraph.C (GetPositionOfInset): Handle bibkey.
12674 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12676 * BufferView_pimpl.h: change type of Position::par_pos to
12677 LyXParagraph::size_type.
12679 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12681 * BufferView_pimpl.C (savePosition, restorePosition): Write
12682 messages to minibuffer.
12684 2001-01-28 José Matos <jamatos@fep.up.pt>
12686 * buffer.C (makeDocBookFile): adds support for document language.
12687 A silly restriction on the name of LatexCommand types where removed.
12688 Added support for CDATA sections, allows to chars unescaped, used
12689 among others in code, to avoid escape < and >.
12691 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12693 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12694 saved positions instrad of a stack. Furthermore, a position is
12695 stored using paragraph id/paragraph position.
12697 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12698 Remove LFUN_REF_BACK.
12700 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12702 * converter.C (dvipdfm_options): New method.
12704 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12706 * vspace.C (isValidLength): Fix for empty input string.
12708 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12710 * LyXAction.C (init): change description of LFUN_FIGURE to
12713 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12715 * LaTeX.C: add using directive
12717 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12719 * MenuBackend.C (expand): Fix the sorting of the formats.
12721 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12723 * lyx_main.C: tiny error message fix
12725 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12727 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12728 calling fl_initialize(). This fixes the problem with ',' as
12729 decimal separator in text files.
12731 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12733 * trans.C (process): Fix the keymap bug.
12735 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12737 * LaTeX.C (scanAuxFiles): New method. Provides support for
12738 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12739 (scanLogFile) Scan for "run BibTeX" messages.
12741 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12742 OT1 font encoding. Also, load the aecompl package if the ae
12745 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12747 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12749 * texrow.C (increasePos): turn two error messages into debug
12752 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12754 * LaTeX.C (scanAux): Handle the \@input macro.
12755 (runBibTeX): Use scanAux().
12757 * language.C (latex_options_): New field.
12759 * LaTeXFeatures.C (getMacros): Add language macros.
12761 * buffer.C (makeLaTeXFile): Small fix.
12763 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12765 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12767 * text2.C: add a using directive.
12769 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12774 * lyxfunc.C: kill LyXBell.
12776 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12778 * text.C (IsBoundary): Remove the error message
12780 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12782 * lyxrc.C (setDefaults): Correct initialization value for
12785 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12787 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12790 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12791 and GotoNextNote().
12793 * src/LyXAction.C: Added reference-next.
12795 * text.C (InsertChar): Use contains instead of strchr.
12797 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12799 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12801 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12802 alignment commands (when needed).
12804 * text.C (InsertChar): Add ':' to number separator chars.