1 2003-09-15 Angus Leeming <leeming@lyx.org>
3 * bufferparams.C (BufferParams): reorder member initializers to avoid
6 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
8 * CutAndPaste.C (pasteSelection): remove an outdated #warning
9 * text.C (updateRowPositions): remove an unusual nop
11 2003-09-12 André Pönitz <poenitz@gmx.net>
22 * Counters.[Ch]: finish the 'automatic counters' job
24 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
26 * aspell.C: include <boost/assert.cpp> (compile fix)
28 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
30 * boost.C (assertion_failed): use lyx::support::abort instead of
33 2003-09-10 Angus Leeming <leeming@lyx.org>
35 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
38 2003-09-09 Angus Leeming <leeming@lyx.org>
40 134 files throughtout the source tree: replace 'using namespace abc;'
41 directives with the appropriate 'using abc::xyz;' declarations.
43 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
45 * boost.C (emergencyCleanup): moved here from LAssert.c
46 (assertion_failed): new function, called by BOOST_ASSERT
48 * several files: change Assert to BOOST_ASSERT
50 2003-09-09 Angus Leeming <leeming@lyx.org>
52 * buffer.[Ch]: Add an Impl class and move Buffer's member
53 variables into it. As a result move several header files out of
56 Add header files to lots of .C files all over the tree as a result.
58 2003-09-09 Angus Leeming <leeming@lyx.org>
60 * buffer.[Ch]: make Buffer's member variables private. Add
63 Lots of changes all over the tree as a result.
65 2003-09-08 Angus Leeming <leeming@lyx.org>
67 * graph.C: #include <config.h>.
69 2003-09-08 Angus Leeming <leeming@lyx.org>
102 * toc.C: remove redundant using directives.
104 2003-09-07 Angus Leeming <leeming@lyx.org>
106 * LaTeXFeatures.h: remove #include "support/types.h".
107 * ToolbarBackend.h: remove #include <algorithm>.
108 * changes.h: remove #include <ctime>.
109 * debug.h: remove #include <iosfwd>.
110 * graph.h: remove #include "support/std_string.h".
111 * lyx_main.h: remove #include <csignal>.
112 * lyxlex_pimpl.h: remove #include <fstream>.
113 * sgml.h: remove #include <algorithm>, <utility>.
114 * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
116 2003-09-07 Angus Leeming <leeming@lyx.org>
118 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
120 * converter.h: forward declare LatexRunParams.
121 * encoding.h: remove #include "lyxrc.h".
122 * lyxtext.h: remove #include "LColor.h".
123 * lyxtextclass.h: remove #include "support/types.h".
124 * trans.h: remove #include "tex-accent.h".
125 * trans_mgr.h: remove #include "tex-accent.h".
126 * insets/inset.h: remove #include "support/types.h", <vector>.
127 * insets/insetcollapsable.h: remove #include "LColor.h".
128 * insets/insetinclude.h: remove #include "dimension.h".
129 * insets/insetlatexaccent.h: remove #include "dimension.h".
130 * insets/insetoptarg.h:: remove #include "insettext.h".
131 * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
133 * insets/renderers.h: add #include "dimension.h".
134 * insets/updatableinset.h: add #include "support/types.h".
136 * many .C files: Associated changes.
138 2003-09-06 Angus Leeming <leeming@lyx.org>
140 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
141 inside testInvariant.
143 * PrinterParams.C: new file.
144 * PrinterParams.[Ch]: move the function bodies out of line.
146 2003-09-06 Angus Leeming <leeming@lyx.org>
148 * ParagraphParameters.h: forward declare ParameterStruct rather than
149 including its header file.
150 (depth): moved out-of-line.
152 2003-09-06 Angus Leeming <leeming@lyx.org>
154 * BufferView_pimpl.h:
157 * lyxfunc.h: forward declare LyXKeySym rather than
158 #include "frontends/LyXKeySym.h".
160 * BufferView_pimpl.C:
163 * lyxfunc.C: associated changes.
165 2003-09-06 Angus Leeming <leeming@lyx.org>
167 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
168 As a result, can remove the #include "insets/inset.h" from BufferView.h
170 2003-09-06 Angus Leeming <leeming@lyx.org>
172 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
173 As a result, can remove the #include "insets/inset.h" from BufferView.h
175 2003-09-06 Angus Leeming <leeming@lyx.org>
181 * bufferview_funcs.C:
182 * BufferView_pimpl.C:
187 * ParagraphParameters.C:
192 * frontends/controllers/ControlDocument.C:
193 * insets/insetcaption.C: rearrange the #includes into some sort of
196 * buffer.h: remove #includes ErrorList.h, undo.h
198 2003-09-06 Angus Leeming <leeming@lyx.org>
200 * support/types.h: add a 'depth_type' typedef, used to store the
201 nesting depth of a paragraph.
204 * ParameterStruct.h: use this lyx::depth_type typedef rather than
209 * ParagraphParameters.h:
210 * sgml.h: use lyx::depth_type rather than Paragraph or
211 ParameterStruct's depth_type.
214 * paragraph_funcs.h: no need to #include paragraph.h anymore.
217 * BufferView_pimpl.C:
219 * ParagraphParameters.C:
222 * bufferview_funcs.C:
229 * frontends/LyXView.C:
230 * frontends/controllers/ControlDocument.C:
231 * frontends/controllers/ControlErrorList.C:
232 * insets/insetbibitem.C:
233 * insets/insetbranch.C:
234 * insets/insetcaption.C:
235 * insets/insetcollapsable.C:
238 * insets/insetfloat.C:
239 * insets/insetfoot.C:
240 * insets/insetfootlike.C:
241 * insets/insetnewline.C:
242 * insets/insetquotes.C:
243 * insets/insettabular.C:
244 * insets/insettext.C:
245 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
247 * frontends/controllers/ControlChanges.C: #include "changes.h".
249 2003-09-06 Angus Leeming <leeming@lyx.org>
251 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
252 #including paragraph.h.
255 * RowList.h: deleted. Superfluous.
265 * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
267 * paragraph.h: don't forward declare ParagraphList.
270 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
271 rather than ParagraphList.h. paragraph.h is still needed for the
272 Paragraph::depth_type parameters.
274 * textcursor.h: enable it to compile stand-alone in light of the
277 * bufferview_funcs.C:
289 * frontends/controllers/ControlParagraph.C:
290 * frontends/controllers/ControlTabular.C:
291 * insets/insetmarginal.C:
292 * insets/insetminipage.C:
293 * insets/insetnote.C:
294 * insets/insetoptarg.C: add header files needed to compile again.
296 2003-09-06 Angus Leeming <leeming@lyx.org>
298 * RowList_fwd.h: new file, forward-declaring Row rather than
304 * insets/insettext.h: use it instead of RowList.h
306 * bufferview_funcs.C:
313 * text3.C: #include "RowList.h".
315 2003-09-05 Angus Leeming <leeming@lyx.org>
317 * factory.C (createInset):
318 * vspace.C (c-tor): replace sscanf call with an istringstream.
319 * ispell.C: re-add missing HP/UX headers.
320 * lyxserver.C: re-add missing os2 headers.
322 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
331 * text3.C: re-add missing system headers, needed for 2.95.2.
333 2003-09-05 Angus Leeming <leeming@lyx.org>
335 Changes most place everywhere due to the removal of using directives
336 from support/std_sstream.h.
338 2003-09-05 Angus Leeming <leeming@lyx.org>
340 Replace LString.h with support/std_string.h,
341 Lsstream.h with support/std_sstream.h,
342 support/LIstream.h with support/std_istream.h,
343 support/LOstream.h with support/std_ostream.h.
345 Changes resulting throughout the tree.
347 2003-09-05 Angus Leeming <leeming@lyx.org>
349 * sgml.h: ensure that the header file can be compiled stand-alone.
350 * *.C: strip out redundant #includes. (320 in total.)
352 2003-09-04 Angus Leeming <leeming@lyx.org>
354 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
355 here (from getPackages).
357 * debug.[Ch]: add a new EXTERNAL tag.
359 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
361 * text2.C (cursorEnd): simplify
363 (getColumnNearX): adjust
365 * text.C (computeBidiTables): adjust
368 * rowpainter.C (paintChars): adjust
369 (paintSelection): adjust
370 (paintChangeBar): adjust
373 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
375 (numberOfSeparators): adjust
377 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
383 * text3.C: Restricts the mouse click functionality
384 of insets like bibtex, include, toc and floatlist to the visible
385 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
386 up the dialogs. Cursor has to be in front of the inset (i.e.
387 start of row) for this to function.
389 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
391 * bufferview_funcs.C (currentState): output row information
393 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
395 * bufferview_funcs.C (currentState): output paragraph position
397 2003-09-04 Angus Leeming <leeming@lyx.org>
399 * FloatList.h: move out #include "Floating.h".
400 * LaTeX.h: move out #include "DepTable.h".
401 * LyXAction.h: move out #include "funcrequest.h".
402 * buffer.h: move out #include "author.h", "iterators.h".
403 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
404 * lyx_main.h: move out #include "errorlist.h".
405 * lyxfunc.h: move out #include "FuncStatus.h".
406 * lyxtext: move out #include "lyxcursor.h".
407 * paragraph_pimpl.h: move out #include "counters.h".
409 2003-09-03 Angus Leeming <leeming@lyx.org>
411 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
412 preamble_snippets list, enabling us to add snippets to the preamble only
413 if the snippet was not there already.
415 2003-09-04 Angus Leeming <leeming@lyx.org>
417 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
419 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
421 * lyxfunc.C (dispatch): if fitCursor did something be sure to
424 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
426 * BranchList.C: point fix, earlier forgotten
428 2003-09-02 Angus Leeming <leeming@lyx.org>
430 * box.C (contains): renamed from 'contained' after a fantastic
433 2003-09-02 John Levon <levon@movementarian.org>
439 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
441 2003-09-02 John Levon <levon@movementarian.org>
443 * text2.C: simplification of cursorEnd(), including partial
446 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
448 * buffer.C (readFile): add a space
450 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
452 * BufferView_pimpl.C (update): remove bogus fitCursor() call
454 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
456 * buffer.C (readFile): new function, take a filename and a
457 ParagraphList::iterator
459 (readFile): adjust, make it private. don't use setStream, make
460 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
461 always contain the filename.
463 * BufferView.C (insertLyXFile): simplify and make it work for
466 2003-08-30 John Levon <levon@movementarian.org>
468 * Makefile.am: fix dist (from Kayvan)
470 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
472 * most files: change to use const Buffer refs
474 2003-08-27 André Pönitz <poenitz@gmx.net>
476 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
477 on top of ownerPar().
479 2003-08-27 John Levon <levon@movementarian.org>
481 * funcrequest.C: properly initialise POD members
483 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
485 * lyxtext.h (top_y): move top_y from here
490 * BufferView_pimpl.[Ch]: to here
491 * frontends/screen.C:
492 * insets/insettabular.C:
493 * insets/insettext.C: adjust
494 * rowpainter.[Ch] (paintRows): remove LyXText & argument
496 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
499 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
501 2003-08-26 André Pönitz <poenitz@gmx.net>
503 * paragraph_func.[Ch] (outerPar): new function
509 * text2.C: remove Inset::par_owner
511 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
516 * text2.C: eliminates the needFullRow/display() stuff
517 altogether, putting the logic in metrics/draw in the insets.
519 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
521 * text2.C (redoParagraphInternal, redoParagraphs):
522 * text.C (redoParagraph): add a call to updateRowPositions at the
523 end of each 'metrics-like' call. Remove all others.
524 (getRow): remove the 'y-computing' version.
525 (getRowNearY): do not compute nor return the real y. Solve the
526 'y < 0' problem and simplify.
528 2003-08-22 Angus Leeming <leeming@lyx.org>
530 * *.[Ch]: clean-up of licence and author blurbs.
531 Also move config.h out of a few .h files and into a few .C files.
533 2003-08-22 André Pönitz <poenitz@gmx.net>
535 * lyxrow.[Ch]: add x_ and *fill_ members
540 * text2.C: adjust/remove prepareToPrint() calls
542 2003-08-22 André Pönitz <poenitz@gmx.net>
544 * lyxrow.[Ch]: add end_ member
546 * lyxrow_funcs.C: use LyXRow::end_
548 * lyxtext.h (singleWidth): add LyXFont parameter
551 * text2.C: adjust LyXText::singleWidth() calls
553 * text.C (redoParagraph): simplify row breaking logic
556 2003-08-19 André Pönitz <poenitz@gmx.net>
558 * funcrequest.C: initialize button_ member
561 * rowpainter.[Ch]: interface consolidation
563 2003-08-18 André Pönitz <poenitz@gmx.net>
566 * BufferView_pimpl.C:
570 * text3.C: remove LyXScreen::draw() and fitCursor calls
572 * BranchList.h: remove spurious semicolons
574 * MenuBackend.C: fix branchlist related crash
576 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
588 * text3.C: implements the 'branch inset'
589 idea. This allows the output of various versions of a document
590 from a single source version, selectively outputing or suppressing
591 output of parts of the text.
592 This implementation contains a 'branch list editor' in a separate
593 tab of the document settings dialog. Branches are user definable
594 and have a "display colour" to distinguish them on-screen.
596 ColorHandler was somewhat cleaned up.
597 (1) make possible a dynamically growing LColor list by allowing
598 the graphic context cache to grow along (vector);
599 (2) eliminate an IMHO unnecessary step in colour allocation.
601 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
603 * BufferView_pimpl.C: compile fix
605 2003-08-15 André Pönitz <poenitz@gmx.net>
607 * rowpainter.C: remove extra metrics calls
609 * lyxtext.h: merge the two constructors into a single one,
610 pass reference to owner's par list
612 * BufferView_pimpl.C:
616 2003-08-15 André Pönitz <poenitz@gmx.net>
626 * text_funcs.C: split LyXText::rowlist_ into individual
627 Paragraph::rows_ chunks
630 * BufferView_pimpl.[Ch]:
633 * text3.C: remove toggleSelection()
635 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
637 * bufferlist.C: beautify two alerts (shorter text of buttons)
638 * buffer.C: Remove redundant ' ' from message
640 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
641 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
642 rename VALIGN_CENTER to VALIGN_MIDDLE
644 2003-08-11 André Pönitz <poenitz@gmx.net>
646 * lyxtext.h (getPar):
647 * text.C: new function
649 2003-08-11 André Pönitz <poenitz@gmx.net>
652 * tracer.[Ch]: remove unneeded files
654 * InsetList.[Ch]: remove resizeInsetsLyXText()
659 * text3.C: merge insertParagraphs() and appendParagraph()
660 remove breakAgain(), update()
662 * BufferView_pimpl.[Ch]:
663 * bufferview_funcs.[Ch]:
667 * tabular.C: adjust after text & InsetList changes.
669 2003-08-08 André Pönitz <poenitz@gmx.net>
671 * text.C (insertChar, backspace): replace rowlist fiddling
672 with rebreak of full par
675 * text.C (breakAgainOneRow, redoHeightOfParagraph,
676 checkParagraph, updateInset): removed
678 2003-08-07 André Pönitz <poenitz@gmx.net>
681 * text3.C: merge some LFUN handlers, remove dead code
683 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
685 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
687 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
689 * text2.C (DEPM): fix part of bug 1255 and 1256
691 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
693 * BufferView_pimpl.C (workAreaDispatch): change to use
694 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
695 that are no mouse related.
697 2003-08-05 André Pönitz <poenitz@gmx.net>
700 * BufferView_pimpl.[Ch]:
701 * bufferview_funcs.C:
703 * text3.C: rip out "deep update"
705 * textcursor.[Ch] (last_sel_cursor): remove unused member
707 2003-08-04 André Pönitz <poenitz@gmx.net>
710 * BufferView_pimpl.[Ch]:
711 * ParagraphParameters.C:
712 * bufferview_funcs.C:
718 * text3.C: replace "complicated" BufferView::update(...) calls with
721 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
723 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
725 * Makefile.am (lyx_SOURCES): add paper.h
727 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
729 * Makefile.am: move things around so that both lyx-qt and
730 lyx-xforms can be built (according to --with-frontend). Then lyx
731 is a symbolic link to lyx-[firstfrontend]
733 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
735 * Always use std::endl with lyxerr
737 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
739 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
741 2003-08-01 André Pönitz <poenitz@gmx.net>
744 * BufferView_pimpl.[Ch]:
746 * text3.C: merge BufferView::repaint() and BufferView::update()
748 2003-08-01 José Matos <jamatos@lyx.org>
750 * buffer.[Ch]: file_format is no longer a buffer data element.
752 2003-08-01 André Pönitz <poenitz@gmx.net>
757 * text2.C: make redoParagraph more independent of current cursor
759 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
761 * text2.C: remove unneeded members
763 2003-07-30 André Pönitz <poenitz@gmx.net>
765 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
767 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
768 create a single function...
770 * paragraph_funcs.C (moveItem): ... here.
773 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
775 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
777 * LColor.[Ch]: Add comment and greyedout logical colors.
779 2003-07-30 André Pönitz <poenitz@gmx.net>
781 * tabular.C: don't use Assert too heavily. This crashes where it
784 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
786 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
787 is disabled (bug 1232)
789 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
791 * factory.C: limited 'arg' scope
793 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
795 * factory.C: fixed Note submenu issues
797 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
799 * factory.C: submenu for Note/Comment/Greyedout
801 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
804 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
806 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
809 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
810 greyedout. Patch provided by Jürgen Spitzmüller.
812 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * kbmap.C (read): fix error message when reading bind files
816 2003-07-29 Angus Leeming <leeming@lyx.org>
818 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
819 certainly does not do what it purports to do. I am doing it, and
820 us, a favour by killing it.
822 2003-07-28 José Matos <jamatos@lyx.org>
824 * buffer.C (readBody, do_writeFile):
825 * paragraph.C(readParagraph): \end_document replaces \the_end.
827 2003-07-29 André Pönitz <poenitz@gmx.net>
830 * BufferView_pimpl.[Ch]:
834 * textcursor.[Ch]: remove toggleToggle & Co
836 2003-07-28 José Matos <jamatos@fep.up.pt>
838 * buffer.C (readParagraph):
839 * params_func (readParToken, readParagraph):
840 * paragraph.C (write): \layout -> \begin_layout.
842 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
844 * lyxlex_pimpl.C (setFile): clean up slightly.
846 * bufferparams.h: add compressed var
848 * buffer_funcs.C (readFile): adjust for LyXLex change
849 (newFile): ditto + simplify
851 * buffer.C (writeFile): handle writing of compressed files
853 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
854 Check if the file is compressed and set a bufferparm if so.
856 * Makefile.am (lyx_LDADD): remove explicit -lz
858 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
860 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
861 makeDocBookFile): put the real LyX version in the first line of
865 * version.C.in: remove lyx_docversion
867 * tabular.C (write_attribute): add a template-based version to
870 2003-07-28 André Pönitz <poenitz@gmx.net>
875 * text3.C: use doubles again for x-coordinates. They are needed.
877 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
879 * messages.C (getLocaleDir): use lyx_localedir()
881 * lyxlex_pimpl.C (setFile): compress stuff
883 * buffer.C (writeFile): add some compression stuff
884 (do_writeFile): new func, dont call expliti close... will this
887 * Makefile.am (lyx_LDADD): add -lz
889 2003-07-28 José Matos <jamatos@fep.up.pt>
891 * buffer.C: increment file format.
892 * paragraph_funcs (readParagraph, readParToken):
893 * paragraph.C (readParagraph): add \end_layout.
895 2003-07-27 Angus Leeming <leeming@lyx.org>
897 * Makefile.am: remove special casing for configure-time setting of
898 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
900 * lyx_main.C (init): remove all Jean-Marc's magic setting of
901 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
903 2003-07-26 André Pönitz <poenitz@gmx.net>
905 * paragraph_func.[Ch]:
906 * paragraph.C (realizeFont): inline it whereever it is used
911 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
914 2003-07-26 André Pönitz <poenitz@gmx.net>
918 * text2.C: get rid of LyXText::need_break_row
920 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
922 * toc.[Ch]: put namespace toc inside namespace lyx
924 * MenuBackend.C (expandToc2): adjust for lyx::toc
927 * lyxfunc.C (dispatch): adjust for lyx::find
929 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
930 lyx::find instead. Reorganize a bit.
931 (LyXReplace): rename to replace
932 (LyXFind): rename to find
934 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
937 2003-07-26 André Pönitz <poenitz@gmx.net>
939 * text.C (setHeightOfRow): restrict scope of temporary variable
941 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
942 code (never has been used?)
944 2003-07-27 Asger Alstrup <alstrup@local>
946 * text.C (fill): Optimise algorithm to exploit that we can reuse
947 the LyXFont for many characters.
948 (setHeightOfRow): Same thing.
949 (rowBreakPoint): Same thing.
951 2003-07-26 Asger Alstrup <alstrup@local>
953 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
955 * text.C (singleWidth): Spurious font copying in hot-spot
956 singleWidth avoided. Reorder tests for arabic for efficiency.
958 * text.C (fill): handle empty paragraphs better.
960 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
963 * encoding.h: add includes
965 * lyxrc.C: remove reading of bind files
967 * lyx_main.C (init): setup bindings and menus only if we have a
970 * kbmap.C (read): new method. Do the actual reading of bind
973 * converter.C (dvipdfm_options):
976 (output): adapt PAPER_* enums.
978 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
980 * bufferparams.h: remove paper-related enums from there
982 * paper.h: New file. A trivial header file to hold paper-related
983 enums. It should later expand to contain many paper-related
986 * lyxrc.C: declare extern displayTranslator
988 2003-07-27 José Matos <jamatos@fep.up.pt>
990 * tabular.[Ch] (linuxdoc): add support for tables and figures
993 2003-07-27 José Matos <jamatos@fep.up.pt>
995 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
996 consistency in both functions.
997 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
999 2003-07-26 Asger Alstrup <alstrup@local>
1001 * rowpainter.C (paintRows): Change algorithm to work directly on
1002 the insets rather than asking every character in the document
1003 whether its an inset.
1005 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1007 * buffer.C (openFileWrite): factorize some code
1009 2003-07-26 Angus Leeming <leeming@lyx.org>
1012 * lyx_main.[Ch]: replace occurances of system_tempdir with
1015 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1017 * rename Inset to InsetOld
1019 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1021 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1022 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1023 which I think is a bit clearer. EDIT is gone, since it was
1024 premature optimisation, and broken for mathed anyway.
1025 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1026 with cursor positioning in insets as well (math insets still do not
1027 work, but that's a different story anyway.) It mysteriously
1028 crashes sometimes with undo in the first paragraph, but I'm fairly
1029 confident that this is a compiler bug.
1031 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1033 * paragraph.C (Paragraph): adjust for new clone return type
1035 (copyIntoMinibuffer): ditto
1037 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1039 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1040 by not having a special case, and always doing a full rebreak of
1041 the document after undo.
1043 2003-07-23 Angus Leeming <leeming@lyx.org>
1045 * factory.C (createInset): InsetExternal::setParams now takes a
1048 2003-07-23 Angus Leeming <leeming@lyx.org>
1050 * factory.C (createInset): changed interface to the external and
1051 graphics mailers' string2params functions.
1053 2003-07-23 Angus Leeming <leeming@lyx.org>
1055 * factory.C (createInset): pass a
1056 Buffer const * parameter to InsetExternalMailer's string2params.
1058 2003-07-22 John Levon <levon@movementarian.org>
1060 * Thesaurus.h: include the right aiksaurus header
1062 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1064 * MenuBackend.C (expand): check menu shortcuts unconditionally
1066 2003-07-21 Angus Leeming <leeming@lyx.org>
1068 * factory.C (createInset): pass a
1069 buffer_path parameter to InsetGraphicsMailer's string2params.
1071 2003-07-21 Angus Leeming <leeming@lyx.org>
1073 * BufferView_pimpl.C (buffer):
1076 * lyxfunc.C (dispatch):
1077 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1078 rather than the grfx shortcut.
1080 2003-07-21 André Pönitz <poenitz@gmx.net>
1082 * rowpainter.C: remove unused variables
1085 * tabular_funcs.h: move to tabular.C
1086 * Makefile.am: adjust
1088 * tabular.[Ch]: basic optical cleaning
1090 * author.h: pass references, not values
1092 2003-07-18 André Pönitz <poenitz@gmx.net>
1100 * text3.C: two-phase drawing for InsetText and InsetTabular
1101 some float -> int changes.
1103 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1105 * lyx_main.C: fix the fix
1107 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1109 * lyx_main.C: fix a crash in batch mode if no files specified
1112 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1114 * format.[Ch] (papersize): moved to BufferParams
1115 * converter.[Ch] (dvips_options): moved to BufferParams
1116 (dvipdfm_options): moved to anon namespace
1117 * bufferparams.[Ch]: added above functions.
1119 2003-07-17 André Pönitz <poenitz@gmx.net>
1123 * text2.C: don't call inset->update() anymore
1125 * metricsinfo.[Ch]: add convenience constructor
1127 2003-07-16 André Pönitz <poenitz@gmx.net>
1132 * text2.C: replace the LyXCursor::irow_ member with
1133 on-demand computation of the value
1135 2003-07-16 John Levon <levon@movementarian.org>
1137 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1139 2003-07-15 André Pönitz <poenitz@gmx.net>
1142 * text2.C: remove no more needed refresh_row
1144 2003-07-15 André Pönitz <poenitz@gmx.net>
1149 * text3.C: refresh_status tristate -> need_update bool
1151 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1153 * lyxtext.h (init): remove reinit argument (act as if always true)
1154 * text2.C: adjust to that
1156 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1158 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1159 * text3.C: use it to delete selections in some cases
1160 (bugs 441, 673, 702, 954).
1162 2003-07-14 André Pönitz <poenitz@gmx.net>
1164 * rowpainter.[Ch]: reduce interface
1166 2003-07-14 André Pönitz <poenitz@gmx.net>
1168 * BufferView_pimpl.C:
1169 * text2.C: adjust after removing unused BufferView * argument
1171 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1173 * text2.C (init): fix a crash fired on resize
1175 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1177 * buffer.[Ch]: added new closing signal
1178 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1179 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1180 BufferView::Pimpl via the closing the signal
1182 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1184 * buffer.[Ch]: take out all bv-related from buffer
1186 * BufferView_pimpl.[Ch]: connect to new signals
1187 * CutAndPaste.C: removed useless asserts
1188 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1191 * lyxfunc.C: moved view-related funciontality from vc here
1192 * paragraph.C: removed outdated comments
1195 2003-07-10 André Pönitz <poenitz@gmx.net>
1197 * BufferView_pimpl.C:
1201 * text2.C: remove InsetText::InnerCache, clean up consequences
1203 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1205 * ispell.C: fix two typos in error messages
1207 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1209 * Extend Note inset to other forms of annotation like Comment
1210 and Greyedout. Right button click gives dialog.
1212 Files modified or added (+):
1216 * ControlNote.[Ch] +
1218 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1219 frontends/controllers
1223 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1225 * aspell.C: add missing namespace lyx::support
1227 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1229 * BufferView.[Ch] (newFile): Add
1230 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1231 * LaTeX.[Ch] (message): added this signal and use it
1232 * buffer.[Ch] (busy, message): added these signals and use them
1233 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1237 * importer.C: use buffer signals instead of direct bv calling
1238 * lyx_cb.[Ch] (ShowMessage): removed
1241 * paragraph_funcs.C:
1242 * text2.C: use buffer signals
1244 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1246 * introduce namespace lyx::graphics
1248 2003-07-02 André Pönitz <poenitz@gmx.net>
1250 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1252 2003-07-01 André Pönitz <poenitz@gmx.net>
1259 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1260 text*.C to text_func.C
1262 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1264 * introduce namespace lyx::support
1266 2003-06-30 André Pönitz <poenitz@gmx.net>
1271 * text.C: re-enable --with-included-string
1273 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1275 * textcursor.C: add <config.h>
1277 * text.C (getWord): remove const from word_location arg
1279 * lyxvc.C (getLogFile): fix const type order
1281 * lyxtext.h: remove const from word_location arg, add arg name
1283 * lyxlayout.h: currect type on labeltype.
1285 * importer.C: correct \file
1287 * converter.C (intToFormat): use std:: on ret val, ws changes
1289 * bufferlist.h: correct \file
1291 * buffer.C (makeLinuxDocFile): fix const type order
1292 (makeDocBookFile): ditto
1293 (fillWithBibKeys): use std:: on stdlib args.
1295 * CutAndPaste.C: fix authors.
1296 (availableSelections): use std:: on return vector
1298 2003-06-27 André Pönitz <poenitz@gmx.net>
1300 * BufferView_pimpl.C:
1301 * bufferview_funcs.C:
1309 * text3.C: remove LyXCursor::row_ member
1312 * text.C: rename fullRebreak() to partialRebreak() and implement
1313 a fullRebreak() that really bereks fully
1315 * textcursor.h: new struct for cursor-related data
1317 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1319 * lyx_main.C (LyX): get full path of document loaded on the
1322 2003-06-26 André Pönitz <poenitz@gmx.net>
1324 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1325 remove unused/broken operator>,<,>=.
1327 * text.C: remove only use of broken operator<= in an Assert().
1329 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1331 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1332 moved errorlist_.clear to showErrorList
1334 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1336 * converter.C (scanLog, runLaTeX):
1337 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1338 move the bv->showErrorList call to the callers
1339 * lyxfunc.C: i.e. here...
1341 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1342 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1343 namespace, the second to...
1344 * buffer_funcs (BufferFormat, parseErrors): added
1345 * errorlist.C (ErrorList(TeXErrors const &)): removed
1347 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1349 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1351 2003-06-24 "Garst R. Reese" <reese@isn.net>
1355 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1357 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1359 * version.C.in: change docversion to 1.4
1361 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1363 * buffer.C: fix a bug just introduced
1365 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1367 * buffer.[Ch]: added the parseError signal and use it, removed
1369 * BufferView.[Ch] (addError): moved to ...
1370 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1371 to the Buffer::parseError signal to catch (guess what) parse errors
1372 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1374 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1376 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1377 ability to create a buffer and to return an existing one from
1378 the list. Moved these functions to...
1379 * buffer_funcs.[Ch]: added
1380 * BufferView.[Ch] (loadLyXFile): added
1381 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1382 job removed from bufferlist::loadLyXFile.
1383 * buffer.C (setReadOnly): make it work without view
1384 (i.e added an if (users))
1386 2003-06-19 Angus Leeming <leeming@lyx.org>
1389 * LyXAction.C (init):
1390 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1391 with LFUN_DIALOG_SHOW <name> <data>.
1393 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1395 * CutAndPaste.C (availableSelections): small compilation fix for
1396 ancient (gcc 2.9x) compilers
1398 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1400 * text3.C (cursorNext): add tmp var
1402 * text2.C (updateCounters): for function calling out of for clause
1403 (replaceSelectionWithString): ditto
1404 (insertStringAsParagraphs): ditto
1405 (getColumnNearX): add tmp var
1406 (setCursorFromCoordinates): add tmp var
1407 (cursorDownParagraph): add tmp var
1408 (deleteEmptyParagraphMechanism): add tmp var
1410 * text.C (insertChar): add tmp var
1412 * rowpainter.C (paintDepthBar): add tmp var
1414 * CutAndPaste.C (availableSelections): potentially check all
1415 paragraphs in a cut to fill the shown strings.
1417 2003-06-18 André Pönitz <poenitz@gmx.net>
1419 * kbmap.[Ch]: use vector<> instead of list<>
1421 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1423 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1424 pasteSelection with index
1426 * text2.C (pasteSelection): modify, call pasteSelection with index
1428 * paragraph.C (asString): reimplement version with no interval to
1429 call the one with interval.
1431 * lyxtext.h: add index arg to pasteSelection
1433 * MenuBackend.C (MenuItem): handle PasteRecent
1434 (Menu::read::Menutags): add md_pasterecent
1436 (expandPasteRecent): new function
1439 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1441 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1443 (availableSelections): new function
1445 2003-06-17 Angus Leeming <leeming@lyx.org>
1447 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1449 2003-06-17 Angus Leeming <leeming@lyx.org>
1452 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1454 * lyxfunc.C (dispatch): invoke it.
1456 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1458 * iterators.C (operator++, ParPosition): reintroduce some
1459 const_cast for the benefit of older compilers.
1461 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1463 * text3.C (dispatch): do not modify clipboard when doing
1464 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1465 LFUN_DELETE_SKIP on a selection selection
1467 2003-06-16 André Pönitz <poenitz@gmx.net>
1473 * tabular.[Ch]: IU of clone() and getLabelList();
1475 2003-06-13 André Pönitz <poenitz@gmx.net>
1477 * tabular.h: compactification
1479 2003-06-12 André Pönitz <poenitz@gmx.net>
1483 * tabular_funcs.h: some renaming plus whitespace
1485 2003-06-12 André Pönitz <poenitz@gmx.net>
1488 * BufferView_pimpl.C:
1494 * toc.C: Return a Paragraph & for ParIterator::operator*()
1496 2003-06-11 John Levon <levon@movementarian.org>
1500 * ToolbarBackend.C: add "Toolbars" section and
1503 2003-06-10 Angus Leeming <leeming@lyx.org>
1506 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1508 * lyxfunc.C (dispatch): invoke it.
1510 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1512 * main.C: protect <ios> with HAVE_IOS
1513 (main): protect sync_with_stdio with HAVE_IOS
1515 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1517 * text2.C (cutSelection): adjust
1518 (pasteSelection): adjust
1520 * messages.C: handle get of empty string
1522 * main.C (main): use sync_with_stdio(false)
1524 * lyxfunc.C (dispatch): adjust
1526 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1527 (WriteAs): remove unneeded BufferView arg.
1529 * bufferparams.h: use correct types on papersize, papersize2 and
1532 * bufferparams.C (readToken): adjust for type
1533 (writeLaTeX): add missing cases to switch.
1535 * bufferlist.C (quitWriteBuffer): adjust
1538 * buffer.C (asciiParagraph): remove some commented code.
1540 * CutAndPaste.C: remove current_view extern variable.
1541 (cutSelection): add BufferParams arg.
1542 (eraseSelection): add BufferParams arg.
1543 (pasteSelection): add Buffer const & arg
1545 2003-06-07 John Levon <levon@movementarian.org>
1548 * paragraph_funcs.C:
1549 * paragraph_pimpl.C:
1553 * paragraph.C: allow InsetERT to freely space lines,
1554 and some consolidation of code
1556 2003-06-06 José Matos <jamatos@fep.up.pt>
1558 * buffer.C (makeDocBookFile): fix bug #821
1560 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1562 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1564 2003-06-04 Angus Leeming <leeming@lyx.org>
1566 * buffer.C: bump format to 224.
1568 2003-06-05 André Pönitz <poenitz@gmx.net>
1570 * text2.C (redoParagraphs): remove two const_cast<>
1572 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1574 * ParagraphList.h: remove last remnants of NO_STD_LIST
1576 2003-06-03 Angus Leeming <leeming@lyx.org>
1578 * factory.C (createInset): small change to the way InsetExternal's params
1581 2003-06-04 André Pönitz <poenitz@gmx.net>
1583 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1585 * paragraph_pimpl.h:
1586 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1588 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1590 * undo_funcs.C: make some simple cases of undo work again
1592 2003-06-03 John Levon <levon@movementarian.org>
1594 * ispell.C: HPUX doesn't have sys/select.h
1597 2003-06-03 John Levon <levon@movementarian.org>
1599 * CutAndPaste.C: update tabular and include inset
1604 * paragraph.C: remove owningBuffer(), don't pass Buffer
1607 * factory.C: insetGraphicsParams changed
1609 2003-06-02 John Levon <levon@movementarian.org>
1615 * text3.C: remove insetparent
1617 2003-06-02 John Levon <levon@movementarian.org>
1620 * buffer.C: fix inset_iterator.end(), move out of line
1623 2003-06-01 John Levon <levon@movementarian.org>
1625 * text3.C: use a proper cut/paste when doing inset
1626 insert (from Jürgen Spitzmüller)
1628 2003-06-01 John Levon <levon@movementarian.org>
1630 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1632 2003-05-30 André Pönitz <poenitz@gmx.net>
1634 * rowpainter.C: unify second drawing phase
1636 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * trans_mgr.C: remove one case of current_view
1640 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1642 * paragraph_funcs.h: remove paragraph.h include
1644 * paragraph.h: delete NO_STD_LIST stuff
1646 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1648 * buffer.h: remove paragraph.h include
1650 * ParagraphList.C: delete file
1652 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1654 * toc.C (getTocList): adjust
1656 * paragraph_pimpl.C (validate): adjust
1658 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1660 * paragraph.C (Paragraph): adjust
1661 (getPositionOfInset): use const_iterator, adjust
1662 (bibitem): use const_iterator, adjust
1663 (setInsetOwner): adjust
1665 * iterators.C (operator++): adjust
1667 * InsetList.[Ch]: Replace selfmade iterator with standard
1668 vector::iterator also introduce const_iterator. Remove getPos,
1669 getInset and setInset from InsetTable. Adjust accordingly.
1671 * BufferView.C (lockInset): adjust
1672 (ChangeInsets): adjust
1674 * tabular.[Ch]: delete commented same_id functions
1676 2003-05-28 John Levon <levon@movementarian.org>
1678 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1680 2003-05-28 André Pönitz <poenitz@gmx.net>
1682 * metricsinfo.[Ch]: remove 'fullredraw' member
1684 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1686 * lyxtextclass.C (operator): remove caching.
1688 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1692 * text2.C (cursorBottom): adjust
1693 (setCounter): use ParagraphList::find, adjust
1695 * text.C (workWidth): use ParagraphList::find, adjust
1697 * lyxcursor.C (LyXCursor): adjust
1699 * buffer.C (inset_iterator): adjust
1701 * ParagraphList.h: make iterator(value_type) private, make
1702 ParagraphList a friend of iterator.
1704 * ParagraphList.C (find): new function
1706 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1708 2003-05-27 André Pönitz <poenitz@gmx.net>
1710 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1712 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1714 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1716 2003-05-26 John Levon <levon@movementarian.org>
1718 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1720 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1722 * remove same_id from function signatures, adjust.
1724 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1726 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1728 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1730 * paragraph.C (Paragraph): get rid of same_ids parameter
1732 * ParagraphList.C (insert): adjust
1735 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1737 * paragraph_funcs.C (breakParagraph): adjust
1738 (breakParagraphConservative): adjust
1740 * buffer.C (readParagraph): adjust
1742 * ParagraphList.C (insert): take a reference instead of a pointer
1745 * paragraph.[Ch] (id): new function
1747 * bufferlist.C (newFile): adjust
1749 * ParagraphList.C (ParagraphList): adjust
1751 (push_back): take a reference instead of a pointer.
1753 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1755 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1758 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1759 set else use old code.
1761 * ParagraphList.C: remove all NO_NEXT code and only compile this
1762 code of NO_STD_LIST is set.
1764 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1766 * BufferView_pimpl.C:
1776 * graphics/GraphicsConverter.C:
1777 * graphics/PreviewLoader.C: header adjustment
1779 2003-05-23 Angus Leeming <leeming@lyx.org>
1781 * LaTeXFeatures.[Ch] (useBabel): new method.
1782 * bufferparams.C (writeLaTeX): use it.
1784 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1786 * ParagraphList.h (set): remove unused function.
1788 2003-05-23 André Pönitz <poenitz@gmx.net>
1791 * BufferView_pimpl.C:
1795 * undo_funcs.C: setUndo reworked
1797 * iterators.[Ch]: add access to topmost ParagraphList
1799 * lyxtext.[Ch] (workWidth): add a const
1801 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1803 * texrow.[Ch] (increasePos): remove function
1804 * exporter.C (export): removed unused var and outdated comment
1806 2003-05-23 Angus Leeming <leeming@lyx.org>
1808 * latexrunparams.h: rename fragile as moving_arg.
1809 * paragraph.C (simpleTeXOnePar): ditto.
1810 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1812 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1814 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1816 (textUndoOrRedo): comment out a currently unused var.
1818 * paragraph.h (NO_NEXT): enable NO_NEXT
1820 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1822 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1824 * exporter.C (Export): adjust for removeAutoInsets removal.
1826 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1828 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1830 * BufferView.[Ch] (removeAutoInsets): delete function
1832 2003-05-22 Angus Leeming <leeming@lyx.org>
1834 * latexrunparams.h: add a free_spacing variable.
1836 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1837 to pass moving_arg, as the data is stored in runparams.fragile.
1839 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1840 to Inset::latexOptional or to simpleTeXOnePar.
1842 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1843 free_spacing arg to Inset::latexOptional.
1845 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1848 2003-05-22 Angus Leeming <leeming@lyx.org>
1850 * latexrunparams.h: add fragile and use_babel variables.
1852 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1853 * buffer.C (makeLaTeXFile): store this returned value in
1854 runparams.use_babel, thus passing it to the inset::latex methods.
1856 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1857 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1859 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1860 longer has a fragile arg, as it is stored in runparams.fragile.
1862 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1863 moving_arg parameter as the data is stored in runparams.fragile.
1865 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1866 a fragile parameter as the data is stored in runparams.fragile.
1868 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1870 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1872 2003-05-22 Angus Leeming <leeming@lyx.org>
1874 * latexrunparams.h: add a 'bool nice' which defaults to false.
1876 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1877 now encapsulated within runparams.
1879 * bufferlist.C (updateIncludedTeXfiles):
1880 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1882 2003-05-22 Angus Leeming <leeming@lyx.org>
1884 * latexrunparams.h: new file containing struct LatexRunParams.
1885 * Makefile.am: add new file.
1887 * LaTeX.[Ch] (c-tor, run):
1888 * buffer.[Ch] (makeLaTeXFile):
1889 * bufferlist.[Ch] (updateIncludedTeXfiles):
1890 * converter.C (convert, scanLog):
1891 * converter.[Ch] (runLaTeX):
1892 * exporter.C (Export):
1893 * paragraph.[Ch] (simpleTeXOnePar):
1894 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1895 * paragraph_funcs.[Ch] (latexParagraphs):
1896 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1897 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1898 pass around a LatexRunParams parameter.
1900 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * paragraph.[Ch]: remove unused constructor
1904 * ParagraphList.C (erase): new function, taking two iterators
1906 2003-05-22 André Pönitz <poenitz@gmx.net>
1908 * undo_funcs.C: remove duplicated code
1910 * iterator.[Ch]: operator=
1912 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1914 * tabular.C (SetMultiColumn): ws changes
1916 * rowpainter.C (paintFirst): get rid of a ->previous
1918 * lyx_cb.C (getPossibleLabel): parlist simplification
1920 * BufferView.C (ChangeInsets): simplify slightly.
1922 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1924 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1925 * lfuns.h: new LFUN_SPACE
1926 * lyxfunc.C: protected space has a new lfun
1927 * paragraph_funcs.C: read new space insets
1929 * factory.C: handle new space insets
1931 2003-05-22 André Pönitz <poenitz@gmx.net>
1934 * BufferView_pimpl.C:
1937 * undo_funcs.C: return a ParIterator from getParFromID.
1939 * iterators.[Ch]: add two const's
1941 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1943 * toc.C (getTocList): adjust
1945 * iterators.[Ch]: rework for parlist
1947 * buffer.C (par_iterator_begin): adjust
1948 (par_iterator_end): adjust
1950 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1952 * BufferView.C (removeAutoInsets): adjust
1953 (ChangeInsets): adjust
1955 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1957 * text.C (top_y): fix bug 1110
1959 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1961 * errorlist.[Ch]: added
1964 * BufferView_pimpl.C:
1965 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1968 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1970 * Makefile.am: ensure that lyx is relinked upon changes to the
1971 various "convenience" libs.
1973 2003-05-20 Angus Leeming <leeming@lyx.org>
1975 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1976 files are compiled in alphabetical order again.
1978 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1980 2003-05-19 Angus Leeming <leeming@lyx.org>
1982 * gettext.[Ch]: remove "char const * _(char const *)".
1984 2003-05-19 André Pönitz <poenitz@gmx.net>
1986 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1995 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1997 2003-05-19 André Pönitz <poenitz@gmx.net>
2001 * lyxtextclass.[Ch]:
2003 * paragraph_funcs.[Ch]:
2005 * text3.C: more insetenv work
2007 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2009 * ParagraphParameters.C (params2string): small bug fixed
2011 2003-05-16 André Pönitz <poenitz@gmx.net>
2014 * bufferview_funcs.C: patch from Kornel Benko to prevent
2015 crash when _(...) is called twice in a statement
2017 2003-05-16 André Pönitz <poenitz@gmx.net>
2024 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2026 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2028 * lyx_main.C (init): remove spurious static_cast
2030 2003-05-14 André Pönitz <poenitz@gmx.net>
2032 * BufferView.C: fix format string
2034 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2036 * BufferView.[Ch] (insertErrors): removed
2037 * BufferView.[Ch] (showErrorList): added
2038 * buffer.C (runChkTeX):
2039 * converter.C (scanLog): call showErrorList instead of inserterrors
2041 2003-05-13 André Pönitz <poenitz@gmx.net>
2043 * BufferView_pimpl.C:
2045 * bufferview_func.C:
2052 * tabular_funcs.h: tostr() from its own header
2054 * ParagraphParameters.C:
2059 * text3.C: STRCONV()
2061 2003-05-12 André Pönitz <poenitz@gmx.net>
2064 * BufferView_pimpl.C:
2068 * ParagraphParameters.C:
2072 * bufferview_funcs.C:
2085 * paragraph_funcs.C:
2089 * text3.C: boost::format -> bformat all over the place
2092 2003-05-09 André Pönitz <poenitz@gmx.net>
2094 * LColor.[Ch]: Pimpl the #include <map> away
2096 2003-05-09 John Levon <levon@movementarian.org>
2098 * bufferlist.C: never remove emergency saves
2100 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2102 * Makefile.am: better lib building
2104 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2106 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2108 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2109 (simpleTeXSpecialChars): adjust
2110 (simpleTeXSpecialChars): adjust
2111 * paragraph.C (simpleTeXOnePar): adjust
2112 * buffer.C (makeLaTeXFile): adjust
2114 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2116 * text2.C (changeDepth): parlist cleanup
2117 (getColumnNearX): ditto
2119 * rowpainter.C (getLabelFont): parlist cleanup
2121 * bufferlist.C (newFile): parlist cleanup
2123 * CutAndPaste.C (eraseSelection): parlist cleanup
2125 * BufferView_pimpl.C (trackChanges): parlist cleanup
2128 * BufferView.C (lockInset): parlist cleanup.
2129 (ChangeInsets): ditto
2131 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2133 * CutAndPaste.h: Update file header.
2135 * CutAndPaste.C: Update file header.
2136 Store the parts cut out of the Document in a limited_stack.
2137 (copySelection): adjust
2138 (pasteSelection): new function, takes the index in the limited stack.
2139 (nrOfParagraphs): adjust
2140 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2141 simplify error inset insertion.
2142 (checkPastePossible): adjust
2144 2003-05-06 John Levon <levon@movementarian.org>
2146 * text2.C: don't cast wrap inset to float
2148 2003-05-05 André Pönitz <poenitz@gmx.net>
2151 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2153 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2154 few naked Paragraph *.
2156 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2158 * bufferparams.C: Output warning if a document with missing
2159 TeX document class is loaded
2160 * exporter.C: Disable TeX exports if the document class is missing
2163 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2164 isTeXClassAvailable()
2166 2003-05-03 John Levon <levon@movementarian.org>
2169 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2170 explicit cursor show/hide
2172 * BufferView_pimpl.h:
2173 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2174 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2176 * lyxfunc.C: hide cursor before dispatching.
2181 * text3.C: remove explicit cursor hides
2183 2003-05-02 André Pönitz <poenitz@gmx.net>
2185 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2188 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2191 * text2.C: tiny whitespace
2193 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2195 * undo_funcs.C: almost only ws changes.
2197 * ParagraphList.C (splice): just return if pl is empty.
2199 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2201 * ParagraphList.C (splice): new function.
2203 * CutAndPaste.C (pasteSelection): use it
2205 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * CutAndPaste.C (pasteSelection): remove the last next and
2208 previous from this file.
2210 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2212 * CutAndPaste.C (pasteSelection): more clean up, user proper
2213 ParagraphList functions for pasteing.
2215 * ParagraphList.C (insert): new function, three arg insert
2217 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2219 * ParagraphList.C (insert): new function, three arg insert
2221 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2224 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2226 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2228 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2230 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2232 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2234 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2235 (copySelection): clean up a bit.
2236 (pasteSelection): use make_pair
2238 * ParagraphList.C (ParagraphList): implement copy constructor
2239 (operator=): implement, base on copy constructor.
2242 * paragraph.C (erase): return a bool
2244 * paragraph_pimpl.C (erasePos): remove function, move contents...
2245 (erase): ... here. Return a bool.
2246 (erase): call erase instead of erasePos.
2248 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2250 * ParagraphList.h: define PitPosPair
2251 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2252 ParagraphList, fix a bug on pasting multiple pars
2253 * text2.C: change interface to C&P
2255 2003-04-30 André Pönitz <poenitz@gmx.net>
2257 * undo_func.C: revert part of yesterday's patch 2
2259 2003-04-30 John Levon <levon@movementarian.org>
2261 * LColor.C: s/tabular/table/
2263 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2265 * text3.C (dispatch): do not convert iterator -> pointer
2266 * undo_funcs.C (setCursorParUndo): ditto
2267 * text_funcs.C (transposeChars): ditto
2269 * text2.C (setLayout): ws changes only
2271 * text.C (breakParagraph): do not convert iterator -> pointer
2273 (acceptChange): ditto
2274 (rejectChange): ditto
2279 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2282 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2284 * text3.C (gotoInset): YABG (yet another bad getChar)
2286 2003-04-29 André Pönitz <poenitz@gmx.net>
2288 * paragraph.h: make operator= private unimplemented as long as
2291 * ParagraphList.C: whitespace
2294 * paragraph_pimpl.[Ch]:
2295 * paragraph_funcs.C:
2297 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2300 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2302 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2304 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2305 * paragraph.[Ch] (erase):
2306 * paragraph_pimpl.[Ch] (erase): change return type and value
2307 * text2.C (cutSelection): some rework
2309 2003-04-28 John Levon <levon@movementarian.org>
2311 * bufferlist.C: changes for unsaved changes dialog
2313 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2315 * bufferlist.C (newFile): set language (messages_) for new
2318 * buffer.C (readFile): ws changes only.
2320 2003-04-28 André Pönitz <poenitz@gmx.net>
2325 * BufferView_pimpl.C:
2326 * BufferView.C: getParFromID related ParagraphList::iterator changes
2328 2003-04-28 André Pönitz <poenitz@gmx.net>
2330 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2333 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2335 * messages.C: remove one more localedir class variable.
2337 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * messages.C (getLocaleDir): singleton generation function
2341 (Messages): add a default constructor.
2343 * main.C (main): do not setup localedir here, do not call
2346 * gettext.C (_): use it.
2347 (gettext_init): delete funciton
2349 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2351 * gettext.C (getLyXMessages): new singleton generating function.
2353 * buffer.C (updateDocLang): adjust
2355 * Makefile.am (messages.o): add target
2356 (main.o): remove target
2358 2003-04-27 John Levon <levon@movementarian.org>
2363 * lyxvc.C: specify cancel button in Alert::prompt
2365 2003-04-26 John Levon <levon@movementarian.org>
2370 * LyXAction.C: add LFUN_INSET_SETTINGS
2372 * lyxfunc.C: don't enable tabular-feature when there's
2373 just any locking inset
2375 2003-04-26 John Levon <levon@movementarian.org>
2377 * bufferlist.C: re-add Cancel to buffer close question
2379 * lyxfunc.C: fix import UI a bit
2381 2003-04-25 John Levon <levon@movementarian.org>
2383 * gettext.C: remove the broken asserts for now
2385 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2387 * messages.C: make case where setlocale cannot comply work better.
2389 * buffer.C (updateDocLang): new function
2390 (changeLanguage): use it
2393 * text2.C (setCounter): use B_ a bit.
2395 * lyxlayout.C (Read): be sure to trim the label strings.
2397 * messages.C (Messages): fix typo in comment
2399 * buffer.C (readFile): set message_ after file is loaded.
2400 (makeDocBookFile): remove double return
2401 (changeLanguage): reset message_ upon language change.
2402 (B_): new func, use this to get translated buffer strings.
2404 * main.C: add myself and Jean Marc as authors.
2406 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2408 * messages.[hC]: pimplify Messages, and three different pimpls to be
2409 used in different circumstances.
2411 * gettext.[Ch]: change for use with new message code.
2413 2003-04-24 André Pönitz <poenitz@gmx.net>
2415 * factory.C: support for eqref
2417 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2419 * messages.[Ch]: add missing char
2421 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2423 * messages.[Ch]: New files
2425 2003-04-18 John Levon <levon@movementarian.org>
2429 * BufferView_pimpl.C:
2433 * text2.C: remove layout-copy/paste (bug 778)
2435 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2437 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2439 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2441 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2442 if they succeed. Act accordingly.
2444 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2446 * text2.C (setCharFont): adjust
2447 (setCounter): adjust
2448 (insertStringAsLines): adjust
2450 * text.C (leftMargin): adjust
2451 (setHeightOfRow): adjust
2453 * rowpainter.C (paintFirst): adjust
2456 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2458 (isFirstInSequence): ditto
2459 (getEndLabel): ditto
2462 * paragraph.C (getParLanguage): comment out some hard stuff.
2464 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2466 (simpleDocBookOnePar): ditto
2467 (makeDocBookFile): use ParagraphList::iterator
2469 * CutAndPaste.C (pasteSelection): adjust
2471 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2473 * text2.C (getFont): adjust
2474 (getLayoutFont): adjust
2475 (getLabelFont): adjust
2477 * paragraph_funcs.C (TeXOnePar): adjust
2479 * buffer.C (simpleLinuxDocOnePar): adjust
2480 (simpleDocBookOnePar): adjust
2482 * CutAndPaste.C (pasteSelection): adjust
2484 * BufferView.C (getEncoding): adjust
2486 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2488 2003-04-16 John Levon <levon@movementarian.org>
2490 * lyxfind.C: use parlist stuff for search/changes
2492 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2494 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2496 * text2.C (deleteEmptyParagraphMechanism): adjust
2498 * text2.[Ch] (ownerParagraph): delete func (both of them
2500 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2502 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2504 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * ParagraphList.C: prepare for NO_NEXT
2508 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2510 * text2.C (getFont): adjust
2511 (getLayoutFont): adjust
2512 (getLabelFont): adjust
2514 * paragraph.C (getFont): adjust
2515 (getLabelFont): adjust
2516 (getLayoutFont): adjust
2518 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2520 2003-04-15 John Levon <levon@movementarian.org>
2524 * lyx_main.C: handle Include in .ui files
2526 2003-04-15 John Levon <levon@movementarian.org>
2528 * MenuBackend.C: make the doc files length shorter
2531 * ToolbarBackend.C: handle toolbar placement flags,
2534 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2536 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2539 * paragraph_funcs.C (TeXOnePar): adjust
2541 * paragraph.C (getLabelFont): add outerfont arg, adjust
2542 (getLayoutFont): ditto
2543 (simpleTeXOnePar): adjust
2545 * paragraph_pimpl.C (realizeFont): delete func
2547 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2549 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2550 row argument, constify cur argument.
2552 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2554 * text2.C (getFont): adjust
2555 (getLayoutFont): adjust
2556 (getLabelFont): adjust
2558 * paragraph_funcs.C (TeXOnePar): adjust
2559 (outerFont): new func...
2560 (realizeFont): ...moved out from here, changed this to facilitate
2563 * paragraph.C (getFont): take outerfont as arg, adjust
2564 (simpleTeXOnePar): add outerfont arg, adjust
2566 * buffer.C (simpleLinuxDocOnePar): adjust
2567 (simpleDocBookOnePar): adjust
2569 * CutAndPaste.C (pasteSelection): adjust
2571 * BufferView.C (getEncoding): adjust
2573 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2575 * text2.C (setCharFont): adjust
2576 (setCounter): adjust
2578 * text.C (leftMargin): adjust
2579 (setHeightOfRow): adjust
2581 * rowpainter.C (paintFirst): adjust
2584 * paragraph_pimpl.C (realizeFont): adjust
2586 * paragraph.C (isFirstInSequence): move from here...
2587 * paragraph_funcs.C (isFirstInSequence): ...to here
2589 * paragraph.C (outerHook): move from here...
2590 * paragraph_funcs.C (outerHook): ...to here
2592 * paragraph.C (depthHook): move from here...
2593 * paragraph_funcs.C (depthHook): ...to here
2595 * paragraph.C (getEndLabel): move from here...
2596 * paragraph_funcs.C (getEndLabel): ...to here
2598 * text2.C (realizeFont): move from here...
2599 * paragraph_funcs.C (realizeFont): ...to here
2601 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2603 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2605 2003-04-14 Angus Leeming <leeming@lyx.org>
2607 * LColor.[Ch]: scrap LColor mathcursor.
2609 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2611 * lyxlex.[Ch] (text): delete function
2612 * trans.C (Load): adjust
2613 * paragraph_funcs.C (readParToken): adjust
2615 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2617 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2618 vector<char> instead of a char[].
2620 * lyxlex_pimpl.C (getString): adjust
2622 (lex): use getString
2626 * lyxlex.C (text): use pimpl_->getString()
2630 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2632 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2633 (makeFontEntriesLayoutSpecific): temp var for par.size()
2634 (setLayout): temp var for ownerParagraphs().end()
2635 (fullRebreak): temp var for rows().end()
2636 (selectionAsString): temp var for boost::next(startpit), realize
2637 that the while really is a regular for loop.
2638 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2639 setCursor in one place.
2640 (setParagraph): temp vr for ownerParagraphs().end()
2641 (updateCounters): make the while loop a for loop
2642 (cutSelection): temp var for ownerParagraphs().end()
2643 (updateInset): make the do {} while() a regular for loop
2644 (getCursorX): use temp vars
2645 (setCurrentFont): use temp vars
2646 (getColumnNearX): use temp vars
2648 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2650 * text.C (transformChar): use temp var for getChar
2651 (computeBidiTables): use temp var for row->par()
2652 (fill): move temp vars for row->par() and pit->layout() earlier in
2654 (labelFill): use temp var for row->par()
2655 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2656 asc and desc, realize that pit never changes and that firstpit is
2657 just a duplicate and not needed. Exchange rit->par() with pit in a
2659 (breakAgain): use a temp var for boost::next(rit)
2660 (breakAgainOneRow): ditto
2661 (breakParagraph): use a temp var for rows().begin()
2662 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2663 (cursorRightOneWord): use temp var for cursor.par() and
2664 cursor.pos(), remove usage of tmpcursor.
2665 (cursorLeftOneWord): use temp var for cursor.par() and
2666 cursor.pos() only set cur at end of function.
2668 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2670 * text.C, text2.C: exchange all usage of Paragraph::next with
2671 boost::next(ParagraphList::iterator)
2673 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2675 * text2.C (cursorTop): simplify implementation
2676 (cursorBottom): ditto
2677 (setParagraph): use ParagraphList::iterator
2678 (setCurrentFont): adjust
2679 (getColumnNearX): adjust
2680 (cursorRight): adjust
2681 (cursorLeft): remove usage of Paragraph::previous
2682 (cursorUpParagraph): ditto
2683 (deleteEmptyParagraphMechanism): slight cleanup
2685 * text.C (isBoundary): take a Paragraph const & instead of a
2687 (addressBreakPoint): ditto
2688 (leftMargin): remove usage of Paragraph::previous.
2689 (setHeightOfRow): ditto
2690 (cursorLeftOneWord): ditto
2691 (selectNextWordToSpellcheck): ditto
2694 (breakParagraph): remove one usage of Paragraph::next
2695 (redoParagraph): ditto
2696 (acceptChange): ditto
2697 (insertChar): adjust
2698 (rowBreakPoint): adjust
2700 * bufferview_funcs.C (toggleAndShow): adjust
2702 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2704 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2705 methods to access it.
2707 * text.C: Added updateRowPositions to compute all row positions.
2708 Make top_y and getRowNearY() to use the cached y position
2710 2003-04-11 John Levon <levon@movementarian.org>
2712 * text.C (rowBreakPoint): reintroduce the labelEnd
2713 checks, code copied from the row fill stuff. Deep voodoo.
2715 * text.C (fill): add a comment and debugging for the
2718 2003-04-11 John Levon <levon@movementarian.org>
2720 * text.C: make sure fullrow insets get wrapped to the next line,
2721 even when they're in a manual label
2723 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2725 * text2.C (insertParagraph): make it take ParagraphList::iterator
2727 (setLayout): make it return ParagraphList::iterator
2728 (redoParagraphs): ditto
2730 (checkParagraph): ditto
2732 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2734 * text2.C: adjust several funcs.
2735 (realizeFont): take a ParagraphList::iterator as arg.
2736 (getLayoutFont): ditto
2737 (getLabelFont): ditto
2738 (setCharFont): ditto
2740 * text.C: adjust several funcs.
2742 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2744 * text.C (selectNextWordToSpellcheck): don't accidentally
2747 2003-04-10 John Levon <levon@movementarian.org>
2749 * ToolbarBackend.C (getIcon): special handling for
2752 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2754 * text2.C (cursorRight): a getChar assert fixed
2756 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * text2.C (getFont): change to take a ParagraphList::iterator
2759 instead of Paragraph*
2760 Adjust several functions.
2762 * text.C (transformChar): change to take a ParagraphList::iterator
2763 instead of Paragraph*
2764 (singleWidth): ditto
2765 Adjust several functions.
2767 * rowpainter.C: adjust several functions
2768 * rowpainter.h:store a ParagraphList::iterator and not a
2772 2003-04-09 John Levon <levon@movementarian.org>
2777 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2778 and the "help" bits as well
2780 2003-04-09 John Levon <levon@movementarian.org>
2783 * ToolbarBackend.C: allow multiple toolbars
2785 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2787 * undo_funcs.C (setCursorParUndo): adjust
2789 * text_funcs.C (transposeChars): adjust
2791 * text3.C (gotoNextInset): adjust
2794 * text2.C (setLayout): adjust
2795 (changeDepth): adjust
2797 (redoParagraphs): adjust
2798 (selectionAsString): adjust
2799 (setParagraph): adjust
2800 (insertInset): adjust
2801 (cutSelection): adjust
2802 (copySelection): adjust
2803 (pasteSelection): adjust
2804 (insertStringAsLines): adjust
2805 (updateInset): adjust
2806 (setCursor): change to take a ParagraphList::iterator parameter
2807 (setCursorIntern): change to take a ParagraphList::iterator parameter
2808 (setCurrentFont): adjust
2809 (cursorLeft): adjust
2810 (cursorRight): adjust
2811 (deleteEmptyParagraphMechanism): adjust
2813 * text.C (breakParagraph): adjust
2814 (insertChar): adjust
2815 (acceptChange): adjust
2816 (rejectChange): adjust
2817 (selectNextWordToSpellcheck): adjust
2818 (changeCase): adjust
2822 * lyxfind.C (SearchForward): adjust
2823 (SearchBackward): adjust
2824 (nextChange): adjust
2826 * lyxcursor.C (par): adjust
2828 * lyxcursor.h: store a ParagraphList::iterator instead of a
2831 * lyx_cb.C (getPossibleLabel): adjust
2833 * bufferview_funcs.C (toggleAndShow): adjust
2835 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2838 * BufferView.C (removeAutoInsets): adjust
2839 (lockedInsetStoreUndo): adjust
2841 2003-04-09 John Levon <levon@movementarian.org>
2843 * ToolbarBackend.C: try icon without argument
2844 if with argument fails
2846 2003-04-08 John Levon <levon@movementarian.org>
2849 * ToolbarBackend.C: add getIcon(), handle tooltip,
2850 and change from "Icon" to "Item".
2852 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2854 * BufferView.C (lockInset): another bad getchar crunched
2856 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2858 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2861 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2863 * lyxfind.C (searchForward, searchBackwards): bug 782
2865 2003-04-07 John Levon <levon@movementarian.org>
2867 * paragraph.C: remove dead comment
2869 * text.C: remove troublesome depth-fiddling code
2870 in leftMargin() and rightMargin() (bug 1017)
2872 * text.C: fix breaking of rows in nested lists
2875 * text2.C (updateCounters): fix up depth values
2878 2003-04-07 John Levon <levon@movementarian.org>
2880 * BufferView_pimpl.C: clear message when doc finishes resizing,
2881 and after a mouse event
2883 * lyxfunc.C: clear message after exiting inset
2885 2003-04-07 John Levon <levon@movementarian.org>
2887 * bufferview_funcs.C: show math status not outside
2888 status in the statusbar
2890 2003-04-07 John Levon <levon@movementarian.org>
2892 * lyxfunc.C: note status changed after a depth change
2894 2003-04-04 Angus Leeming <leeming@lyx.org>
2896 * LaTeX.h: move AuxInfo operator==, != out of line.
2897 Remove LaTeX virtual destructor; nothing derives from it.
2898 Move operator()() out of public area and rename it startscript().
2899 Change protected for private.
2901 2003-04-04 Angus Leeming <leeming@lyx.org>
2904 * text2.C: remove unneeded #includes.
2906 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2908 * text2.C (dEPM): fix the heigth of the next row
2910 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2912 * text.C: squashed an invalid getChar requester + some ws changes
2914 2003-04-03 John Levon <levon@movementarian.org>
2916 * bufferview_funcs.h:
2917 * bufferview_funcs.C:
2920 * text2.C: make getStatus work for the env depth lfuns
2922 2003-04-03 John Levon <levon@movementarian.org>
2924 * bufferview_funcs.h:
2925 * bufferview_funcs.C:
2928 * text2.C: parlistize decDepth(), by merging it with incDepth()
2930 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2932 * lyxrow.h: store a ParagraphList::iterator instead of a
2933 Paragraph* and adjust other class functions to suit.
2935 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2938 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2940 * text2.C (setCursor): do not anchor to cursor row for the time being
2942 2003-04-02 John Levon <levon@movementarian.org>
2949 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2951 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2953 * paragraph.h: make ParagraphList and ParagraphList::iterator
2954 friends of Paragraph.
2956 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2958 * ParagraphList.C: Use the private next_ and previous_ from
2961 2003-04-01 John Levon <levon@movementarian.org>
2965 * Makefile.am: rename, remove defaults gunk
2968 * MenuBackend.C: remove defaults gunk
2971 * Languages.C: remove defaults gunk
2974 * lyx_main.C: error out if files couldn't be found.
2976 2003-04-02 John Levon <levon@movementarian.org>
2978 * text2.C: make incDepth() use parlist
2980 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2982 * undo_funcs.C (firstUndoParagraph): adjust
2984 * text3.C (gotoInset): adjust
2985 (dispatch): adjust, and rewrite loop.
2987 * text2.C (init): adjust, and rewrite loop.
2988 (redoParagraphs): adjust
2989 (updateInset): adjust, and rewrite loop.
2990 (deleteEmptyParagraphMechanism): adjust
2992 * tabular.C (LyXTabular): adjust
2993 (SetMultiColumn): adjust
2996 * lyxtext.[Ch] (ownerParagraph): delete function
2997 (ownerParagraphs): new function returns a ParagraphList.
2999 * BufferView.C (removeAutoInsets): adjust
3000 (insertErrors): adjust
3001 (setCursorFromRow): adjust
3003 2003-04-01 Angus Leeming <leeming@lyx.org>
3005 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3008 2003-04-02 John Levon <levon@movementarian.org>
3014 * text_funcs.C: make transposeChars a free function
3016 * lyxrow_funcs.C: remove wrong comment
3018 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3021 * rowpainter.C: adjust
3026 * lyxrow_funcs. [Ch]: new files
3028 * lyxrow.[Ch]: remove next and previous pointers
3029 (next,previous): remove accessor functions
3030 (isParEnd): move to lyxrow_funcs
3031 (lastPos): move to lyxrow_funcs
3032 (nextRowIsAllInset): move to lyxrow_funcs
3033 (lastPrintablePos): move to lyxrow_funcs
3034 (numberOfSeparators): move to lyxrow_funcs
3035 (numberOfHfills): move to lyxrow_funcs
3036 (numberOfLabelHfills): move to lyxrow_funcs
3037 (hfillExpansion): move to lyxrow_funcs
3041 * bufferview_funcs.C (toggleAndShow): adjust
3043 * RowList.h: Remove class RowList from file leave just a
3046 * RowList.C: delete file
3048 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3051 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3053 * text3.C (cursorPrevious): adjust
3054 (cursorNext): adjust
3057 * text2.C (redoHeightOfParagraph): adjust
3058 (redoDrawingOfParagraph): adjust
3061 * text.C (breakParagraph): adjust
3062 (insertChar): adjust
3065 * rowpainter.C (RowPainter): adjust
3066 (leftMargin): simplify and adjust
3067 (most rowpainter functions): adjust.
3069 * rowpainter.h: store the row as RowList::iterator not as Row*
3071 * lyxcursor.C (row): taka RowList::iterator as arg
3074 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3077 2003-04-01 Angus Leeming <leeming@lyx.org>
3079 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3080 stuff like bool Bool.
3082 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3084 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3087 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3089 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3092 * lyxtext.h (rows): drop one version and leve a const variant that
3093 returns a RowList::iterator.
3095 2003-03-31 Angus Leeming <leeming@lyx.org>
3097 * text.C (fill): ensure that the signature is the same as that in the
3100 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3102 * text2.C (redoParagraphs): adjust
3103 (updateCounters): adjust
3104 (checkParagraph): adjust
3105 (getColumnNearX): adjust and reformat a bit.
3107 * text.C (top_y): adjust
3109 (leftMargin): adjust
3110 (prepareToPrint): adjust
3112 (getRowNearY): adjust
3114 * lyxtext.h: make rowlist_ mutable.
3116 * RowList.h: add const_iterator
3117 * RowList.C: adjust for RowList::const_iterator.
3119 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3122 2003-03-31 John Levon <levon@movementarian.org>
3125 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3127 * lyx_main.C: set default fonts from using lyx_gui funcs
3129 * exporter.C: pdf_mode moved from lyxrc
3132 * lyxfunc.C: changes from above
3134 2003-03-31 John Levon <levon@movementarian.org>
3136 * lyx_main.C: fix to the last fix
3138 2003-03-31 John Levon <levon@movementarian.org>
3140 * bufferlist.C: "Load original" -> "Load Original"
3146 * format.C: more Alert cleanups
3148 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * text2.C (removeParagraph): make it take a RowList::iterator as
3152 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3153 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3155 * text.C (anchor_row): make it take a RowList::iterator as arg,
3157 (computeBidiTables): make it take a const reference to Row instead
3158 of Row pointer, adjust.
3159 (leftMargin): make it take a RowList::iterator as arg, adjust.
3160 (rowBreakPoint): adjust
3161 (breakAgainOneRow): make it take a RowList::iterator as arg,
3163 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3165 * bufferview_funcs.C (toggleAndShow): adjust
3167 2003-03-30 John Levon <levon@movementarian.org>
3171 * boost-inst.C: moved to support
3173 * several files: changes as a result
3175 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3177 * text2.C (LyXText): adjust.
3179 (removeRow): make it take a RowList::iterator as arg, adjust.
3180 (fullRebreak): adjust
3181 (deleteEmptyParagraphMechanism): adjust
3182 (clearPaint): adjust
3185 * text.C (top_y): adjust
3186 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3187 (breakAgain): make it take a RowList::iterator as arg, adjust.
3188 (breakParagraph): adjust
3189 (insertChar): adjust
3192 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3193 need_break_row, and refresh_row.
3195 * text3.C (dispatch): adjust
3197 * text2.C (checkParagraph): adjust
3199 (setCursorFromCoordinates): adjust
3201 * text.C (top_y): adjust
3203 (getRow): make it return a RowList::iterator, adjust
3204 (getRowNearY): make it return a RowList::iterator, adjust
3206 * text2.C (init): adjust
3207 (insertRow): remove function
3208 (insertParagraph): adjust
3209 (redoParagraphs): adjust
3210 (fullRebreak): adjust
3211 (updateCounters): adjust
3213 * text.C (top_y): rewrite to use RowList iterators.
3215 (setHeightOfRow): rewrite to sue RowList iterators.
3216 (appendParagraph): adjust
3217 (breakAgain): adjust
3218 (breakAgainOneRow): adjust
3219 (breakParagraph): adjust
3221 (getRowNearY): adjust, and remove commented code.
3223 * lyxtext.h (firstRow): delete function
3224 (lastRow): delete function
3225 (rows): new function (const and non-const versions.)
3226 (insertRow): delete function
3228 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3230 2003-03-29 John Levon <levon@movementarian.org>
3232 * BufferView_pimpl.C: always update scrollbar top
3233 because pasting text when we're anchored could mean we
3234 miss an update altogether
3236 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3238 * text2.C (init): use rowlist_.end() and not 0.
3239 (insertRow): change to take a RowList::iterator as arg, adjust
3241 (insertParagraph): change to take a RowList::iterator as arg,
3243 (redoParagraphs): remove some debug msgs.
3245 * text.C (appendParagraph): change to take a RowList::iterator
3246 arg, adjust for this.
3247 (breakAgain): add an assert
3248 (breakAgainOneRow): ditto
3250 2003-03-29 John Levon <levon@movementarian.org>
3252 * text2.C: do not clear selection after inc/decDepth
3255 2003-03-29 John Levon <levon@movementarian.org>
3258 * buffer.C: fix broken strerrors according to Lars
3260 2003-03-29 John Levon <levon@movementarian.org>
3262 * converters.C: more Alert cleanups
3264 2003-03-29 John Levon <levon@movementarian.org>
3266 * bufferview_funcs.C: remove pointless Alert
3268 * buffer.C: fix confusing error message when
3269 a template is chmoded 000
3271 2003-03-29 John Levon <levon@movementarian.org>
3275 * BufferView_pimpl.C: Alert fixes
3279 * tabular-old.C: remove unused table compat reading
3281 2003-03-29 John Levon <levon@movementarian.org>
3286 * lyx_cb.C: more Alert cleanups
3288 * lyxfunc.C: don't allow chktex if not latex document
3290 2003-03-29 John Levon <levon@movementarian.org>
3294 * buffer.C: warnings pushed down from support/,
3297 2003-03-29 John Levon <levon@movementarian.org>
3299 * lyxfunc.C: safety check for C-r (revert)
3301 2003-03-29 John Levon <levon@movementarian.org>
3304 * bufferlist.C: several UI fixes using Alert::prompt.
3305 Fix the pointless looping quit code. Fix stupid revert
3310 * lyx_cb.C: use Alert::prompt
3312 * lyx_main.C: remove a silly question
3314 * lyxfunc.C: remove a couple of silly questions,
3317 2003-03-28 John Levon <levon@movementarian.org>
3319 * text2.C: fix bug 974 (End on empty par)
3321 2003-03-28 John Levon <levon@movementarian.org>
3323 * BufferView_pimpl.C:
3325 * lfuns.h: remove do-nothing math greek lfuns
3327 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3329 * lyxgluelength.h (isValidGlueLength): add default arg on
3330 parameter 2. Remove default arg from friend in class.
3332 * lyxlength.h (isValidLength): add default arg on parameter 2.
3333 Remove default arg from friend in class.
3335 * text2.C (LyXText): adjust, initialize refresh_row.
3339 (insertParagraph): adjst
3340 (redoParagraphs): adjust
3341 (fullRebreak): adjust
3342 (updateCounters): adjust
3343 (deleteEmptyParagraphMechanism): first attempt at fixing a
3346 * text.C (top_y): adjust
3347 (setHeightOfRow): adjust
3349 (getRowNearY): adjust
3351 * lyxtext.h: include RowList.h
3352 (~LyXText): not needed anymore, deleted.
3353 (firstRow): modify for RowList
3354 (lastRow): new function
3355 Delete firstrow and lastrow class variables, add a Rowlist
3356 rowlist_ class variable.
3358 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3361 * RowList.C (insert): fix case where it == begin().
3363 2003-03-26 Angus Leeming <leeming@lyx.org>
3365 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3366 the thesaurus dialog.
3368 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3370 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3372 * RowList.[Ch]: new files
3374 * ParagraphList.C (erase): handle the case where it == begin
3377 2003-03-25 John Levon <levon@movementarian.org>
3381 * aspell.C: add new aspell support
3384 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3387 2003-03-25 Angus Leeming <leeming@lyx.org>
3390 * LyXAction.C (init): new LFUN_INSET_INSERT.
3392 * BufferView_pimpl.C (dispatch): split out part of the
3393 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3395 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3398 2003-03-25 Angus Leeming <leeming@lyx.org>
3400 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3402 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3405 * text3.C: remove useless row->height(0)
3407 2003-03-25 John Levon <levon@movementarian.org>
3411 * text3.C: rename the refreshing stuff to better names
3413 2003-03-24 John Levon <levon@movementarian.org>
3415 * BufferView_pimpl.h:
3416 * BufferView_pimpl.C: update layout choice on a mouse
3419 2003-03-23 John Levon <levon@movementarian.org>
3421 * Makefile.am: fix commandtags.h reference
3423 2003-03-22 John Levon <levon@movementarian.org>
3425 * BufferView_pimpl.C:
3430 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3432 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3435 * text.C: take the rtl methods out of line
3437 2003-03-21 André Pönitz <poenitz@gmx.net>
3439 * metricsinfo.[Ch]: new files containing structures to be passed around
3440 during the two-phase-drawing...
3442 2003-03-21 André Pönitz <poenitz@gmx.net>
3444 * lyxtextclass.C: read 'environment' tag.
3446 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3448 * text2.C (removeRow): fix bug 964
3450 2003-03-20 John Levon <levon@movementarian.org>
3454 * text2.C: paint cleanups. Inset::update() dropped font
3457 2003-03-19 John Levon <levon@movementarian.org>
3459 * lyxfunc.C: only fitcursor/markDirty if available()
3461 2003-03-19 John Levon <levon@movementarian.org>
3463 * commandtags.h: rename to ...
3465 * lfuns.h: ... this, and renumber / cleanup
3467 2003-03-19 John Levon <levon@movementarian.org>
3469 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3470 fit the cursor after an lfun
3474 * BufferView_pimpl.h:
3475 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3477 * LyXAction.C: layout-character should have ReadOnly
3479 * ParagraphParameters.C:
3481 * bufferview_funcs.C:
3488 * undo_funcs.C: changes from above
3490 2003-03-18 John Levon <levon@movementarian.org>
3492 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3493 remove it from update()
3495 * lyxfunc.C: update layout choice after an lfun
3497 * text3.C: remove extra updateLayoutChoice()s
3499 2003-03-18 John Levon <levon@movementarian.org>
3501 * text.C: top_y change means full repaint, fix
3502 a drawing bug with cursor movement
3504 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3508 * text2.C: anchor row on setCursor
3510 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3512 * lyxtext.h: remove almost all mutable keywords
3515 * text3.C: remove const keywords accordingly
3517 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3519 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3521 (TeXEnvironment): ditto
3524 2003-03-17 John Levon <levon@movementarian.org>
3526 * text.C (rowBreakPoint): remove attempt to fix displayed
3527 math insets inside a manual label
3529 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3531 * lyxtext.h: remove BufferView* as first arg from almost all class
3533 * other files: adjust.
3535 2003-03-17 John Levon <levon@movementarian.org>
3539 * text2.C: more paint cleanups
3541 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3544 * rowpainter.C: remove "smart" background painting code
3546 2003-03-16 John Levon <levon@movementarian.org>
3551 * text3.C: add helper functions for setting refresh_row/y
3553 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3555 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3556 newline inset which *can* get inserted in the pass_thru layouts.
3557 This is primarily for literate documents.
3559 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3561 * buffer.C: increment LYX_FORMAT to 223
3563 2003-03-14 André Pönitz <poenitz@gmx.net>
3565 * textclass.h: prepare for environment handling, ws changes
3566 * lyxlayout.C: read latexheader and latexfooter tags
3568 2003-03-14 John Levon <levon@movementarian.org>
3570 * text2.C: rewrite ::status() a bit
3572 2003-03-13 John Levon <levon@movementarian.org>
3574 * lyxtext.h: add some docs
3576 2003-03-13 John Levon <levon@movementarian.org>
3581 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3583 2003-03-13 John Levon <levon@movementarian.org>
3585 * text3.C: fix appendix redrawing
3587 2003-03-13 John Levon <levon@movementarian.org>
3589 * text.C (setHeightOfRow):
3591 * rowpainter.C: make appendix mark have the text
3592 "Appendix" so the user knows what it is
3595 * LColor.C: s/appendixline/appendix/ from above
3597 2003-03-13 John Levon <levon@movementarian.org>
3599 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3601 * text.C: fix a getChar(pos) bug properly
3603 2003-03-13 Angus Leeming <leeming@lyx.org>
3606 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3607 Probably only temporary. Let's see how things pan out.
3609 * BufferView.C (unlockInset):
3610 * BufferView_pimpl.C (fitCursor):
3611 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3613 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3614 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3616 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3617 new functions that convert ParagraphParameters to and from a string.
3619 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3620 BufferView::Pimpl's dispatch.
3621 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3623 2003-03-13 André Pönitz <poenitz@gmx.net>
3627 * factory.C: make it aware of InsetEnv
3629 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3631 * text2.C (setCursor): never ask for one past last
3632 (setCursor): add some debugging messages.
3634 * text.C (singleWidth): never ask for one past last
3635 (singleWidth): ditto
3637 (rightMargin): ditto
3638 (rowBreakPoint): ditto
3639 (setHeightOfRow): ditto
3640 (prepareToPrint): ditto
3642 * rowpainter.C (paintBackground): never ask for one past last
3643 (paintText): never ask for one past last
3645 * paragraph_pimpl.C (getChar): make the assert stricter, never
3646 allow the one past last pos to be taken
3648 * paragraph.C (getChar): ws changes only
3650 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3651 (numberOfSeparators): ditto
3652 (numberOfHfills): ditto
3654 2003-03-12 John Levon <levon@movementarian.org>
3660 * paragraph_funcs.C: fix per-buffer authorlists
3662 2003-03-12 John Levon <levon@movementarian.org>
3664 * text.C: fix newline in right address
3666 2003-03-12 Angus Leeming <leeming@lyx.org>
3668 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3669 duplicate those in LyXFunc::dispatch.
3673 * ToolbarDefaults.C:
3674 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3675 Add LFUN_FONTFREE_UPDATE.
3677 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3678 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3680 * bufferview_func.[Ch]: several new functions to facilliate
3681 transfer of data to and from the character dialog.
3683 2003-03-12 John Levon <levon@movementarian.org>
3688 * paragraph_funcs.C:
3689 * paragraph_pimpl.C:
3693 * text3.C: remove META_NEWLINE in favour of an inset
3696 * rowpainter.C: remove paintNewline (done by inset)
3698 2003-03-12 John Levon <levon@movementarian.org>
3700 * paragraph_pimpl.C: complain about bad getChar()s
3701 for a while at least
3703 2003-03-12 John Levon <levon@movementarian.org>
3706 * buffer.C: move paragraph read into a separate function,
3707 a little renaming to reflect that.
3710 * bufferparams.C: remove the author_ids map, not necessary now
3713 * factory.C: moved Buffer::readInset to here
3715 * paragraph_funcs.h:
3716 * paragraph_funcs.C: readParagraph free function moved from
3719 * tabular.C: name change
3721 2003-03-12 John Levon <levon@movementarian.org>
3724 * ParagraphParameters.C: move par params input to
3727 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3728 behave like a normal read from the stream wrt reading
3729 a line vs. a \\token
3731 2003-03-12 John Levon <levon@movementarian.org>
3734 * ParagraphParameters.h:
3735 * ParagraphParameters.C: move output code to a
3738 2003-03-12 John Levon <levon@movementarian.org>
3740 * BufferView.C (insertLyXFile):
3743 * tabular.C: use a parlist iterator for creating the
3746 2003-03-12 John Levon <levon@movementarian.org>
3748 * buffer.C: make current_change static local not
3751 2003-03-12 John Levon <levon@movementarian.org>
3753 * buffer.C: fix insertStringAsLines for change tracking
3755 2003-03-12 John Levon <levon@movementarian.org>
3762 * bufferparams.C: move author list into params. Rename some
3763 functions. Move the header reading into a separate token
3764 loop. Move the header token reading into BufferParams.
3766 2003-03-12 John Levon <levon@movementarian.org>
3768 * changes.C: put debug inside lyxerr.debugging() checks
3770 2003-03-11 André Pönitz <poenitz@gmx.net>
3772 * factory.C: make it aware of InsetHFill
3774 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3776 * buffer.C (latexParagraphs): move function from here...
3777 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3780 2003-03-10 Angus Leeming <leeming@lyx.org>
3782 * LyXAction.C (init): fix bug in poplating array with multiple entries
3783 with the same LFUN (spotted by JMarc).
3785 2003-03-10 John Levon <levon@movementarian.org>
3788 * text2.C: move getColumnNearX() near its
3791 2003-03-10 John Levon <levon@movementarian.org>
3793 * text.C: fix break before a minipage
3795 2003-03-10 John Levon <levon@movementarian.org>
3797 * text.C: fix the last commit
3799 2003-03-09 John Levon <levon@movementarian.org>
3803 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3804 bug 365 (don't break before insets unless needed). Don't
3805 return a value > last under any circumstances.
3807 2003-03-09 Angus Leeming <leeming@lyx.org>
3809 * BufferView_pimpl.C (trackChanges, dispatch): call
3810 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3812 2003-03-09 Angus Leeming <leeming@lyx.org>
3814 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3815 than Dialogs::showAboutlyx().
3817 2003-03-09 Angus Leeming <leeming@lyx.org>
3819 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3820 than Dialogs::showTabularCreate().
3822 2003-03-09 John Levon <levon@movementarian.org>
3826 * text2.C: 3rd arg to nextBreakPoint was always the same.
3829 2003-03-08 John Levon <levon@movementarian.org>
3836 * text2.C: Remove the "main" bit from the "main body"
3839 2003-03-08 John Levon <levon@movementarian.org>
3841 * text.C (leftMargin): The left margin of an empty
3842 manual label paragraph should not include the label width
3845 * text.C (prepareToPrint): don't attempt to measure hfills
3846 for empty manual label paragraphs - the answer should be 0
3848 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3850 * CutAndPaste.C: remove commented code and reindent.
3852 2003-03-08 John Levon <levon@movementarian.org>
3855 * lyxfunc.C: move reloadBuffer()
3858 * BufferView.C: to here
3860 * lyxvc.C: add comment
3863 * vc-backend.C: call bv->reload() to avoid
3864 getStatus() check on MENURELOAD
3866 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3868 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3869 to an old format .dep file.
3871 2003-03-07 Angus Leeming <leeming@lyx.org>
3873 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3874 when the LFUN_MOUSE_RELEASE should have been handled by
3875 inset->localDispatch.
3877 2003-03-07 Angus Leeming <leeming@lyx.org>
3879 * BufferView_pimpl.C (dispatch):
3880 * LyXAction.C (init):
3881 * ToolbarDefaults.C (init):
3883 * lyxfunc.C (getStatus):
3884 remove LFUN_INSET_GRAPHICS.
3886 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3888 2003-03-07 Angus Leeming <leeming@lyx.org>
3891 * LyXAction.C (init):
3892 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3894 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3897 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3899 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3900 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3902 2003-03-07 Angus Leeming <leeming@lyx.org>
3904 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3907 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3909 * ParagraphList.C (front): new function
3912 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3914 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3915 and top_row_offset_. removed var first_y.
3917 * text2.C (LyXText, removeRow):
3919 * BufferView_pimpl.C:
3920 use these methods instead of using first_y
3922 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3924 * text2.C (pasteSelection): adjust for checkPastePossible
3926 * CutAndPaste.C: remove Paragraph * buf and replace with
3927 ParagraphList paragraphs.
3928 (DeleteBuffer): delete
3929 (cutSelection): change the tc type to textclass_type
3930 (copySelection): change the tc type to textclass_type
3931 (copySelection): adjust for ParagraphList
3932 (pasteSelection): change the tc type to textclass_type
3933 (pasteSelection): adjust for Paragraphlist
3934 (nrOfParagraphs): simplify for ParagraphList
3935 (checkPastePossible): simplify for ParagraphList
3936 (checkPastePossible): remove unused arg
3938 * ParagraphList.C (insert): handle the case where there are no
3941 * CutAndPaste.h: make CutAndPaste a namespace.
3943 * text3.C (dispatch): adjust
3945 * text.C (breakParagraph): add a ParagraphList as arg
3947 * paragraph_funcs.C (breakParagraph): change to take a
3948 BufferParams and a ParagraphList as args.
3949 (breakParagraphConservative): ditto
3950 (mergeParagraph): ditto
3951 (TeXDeeper): add a ParagraphList arg
3952 (TeXEnvironment): ditto
3955 * buffer.C (readLyXformat2): adjust
3956 (insertStringAsLines): adjust
3957 (latexParagraphs): adjust
3959 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3960 (cutSelection): adjust
3961 (pasteSelection): adjust
3963 * BufferView_pimpl.C (insertInset): adjust
3965 2003-03-05 Angus Leeming <leeming@lyx.org>
3968 * LyXAction.C (init):
3969 * BufferView_pimpl.C (dispatch):
3970 * lyxfunc.C (getStatus):
3971 remove LFUN_CHILD_INSERT.
3973 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3975 2003-03-05 Angus Leeming <leeming@lyx.org>
3978 * LyXAction.C (init):
3979 * src/factory.C (createInset):
3980 * lyxfunc.C (getStatus):
3981 * text3.C (dispatch):
3982 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3984 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3986 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3988 * ParagraphList.C (insert): handle insert right before end()
3989 (erase): fix cases where it can be first or last paragraph.
3991 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3994 Paragraph::next and Paragraph::previous
3997 * text.C (breakParagraph): adjust
3999 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4000 BufferParams& as arg.
4001 (breakParagraph): use ParagraphList::insert
4002 (breakParagraphConservative): take a Buffer* instead of a
4003 BufferParams& as arg.
4004 (breakParagraphConservative): use ParagraphList::insert.
4006 * buffer.C (insertStringAsLines): un-const it
4007 (insertStringAsLines): adjust
4009 * ParagraphList.C (insert): new function
4011 * CutAndPaste.C (pasteSelection): adjust
4013 * text.C (backspace): adjust
4015 * tabular.C (SetMultiColumn): adjust
4017 * CutAndPaste.C (cutSelection): adjust
4018 (pasteSelection): adjust
4020 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4021 Buffer const * as arg
4023 * ParagraphList.C (erase): new function
4024 * paragraph_funcs.C (mergeParagraph): use it
4025 (mergeParagraph): make it take a Buffer* instead of a
4026 BufferParams* as arg
4028 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4030 (breakParagraphConservative): ditto
4032 * paragraph.h: remove the breakParagraph friend
4034 * paragraph.C (eraseIntern): new function
4035 (setChange): new function
4037 * paragraph_funcs.C (mergeParagraph): make it take a
4038 ParagraphList::iterator instead of a Paragraph *, adjust
4041 * paragraph.h: move an #endif so that the change tracking stuff
4042 also works in the NO_NEXT case.
4044 2003-03-04 Angus Leeming <leeming@lyx.org>
4047 * LyXAction.C: new LFUN_INSET_MODIFY.
4049 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4050 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4052 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4054 * several files: ws changes only
4056 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4057 (TeXEnvironment): ditto
4060 * buffer.C (makeLaTeXFile): adjust
4061 (latexParagraphs): make it take ParagraphList::iterator as args
4063 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4065 * buffer.C (latexParagraphs): adjust
4067 * paragraph.C (TeXOnePar): move function...
4068 (optArgInset): move function...
4069 (TeXEnvironment): move function...
4070 * paragraph_pimpl.C (TeXDeeper): move function...
4071 * paragraph_funcs.C: ...here
4073 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4075 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4077 * buffer.C (readInset): remove compability code for old Figure and
4080 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * buffer.C: ws changes
4085 * BufferView_pimpl.C: ditto
4088 * bufferlist.h: ditto
4092 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4094 * converter.[Ch]: split into itself +
4097 * Makefile.am: += graph.[Ch] + format.[Ch]
4104 * lyxrc.C: added #include "format.h"
4106 2003-02-27 Angus Leeming <leeming@lyx.org>
4108 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4111 * factory.C (createInset): add "label" to the factory.
4113 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4114 string and do no more.
4116 2003-02-27 Angus Leeming <leeming@lyx.org>
4119 * LyXAction.C (init):
4120 * factory.C (createInset):
4121 * BufferView_pimpl.C (dispatch):
4122 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4124 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4126 * lyxfunc.C (dispatch):
4127 * text3.C (dispatch): pass name to params2string.
4129 2003-02-26 Angus Leeming <leeming@lyx.org>
4131 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4133 Rearrange the ~includes. Strip out the unnecessary ones.
4135 * factory.C (createInset): reformat.
4136 create new insets for the various LFUN_XYZ_APPLY lfuns.
4138 2003-02-26 John Levon <levon@movementarian.org>
4141 * lyxrow.C: add isParStart,isParEnd helpers
4143 * paragraph.h: make isInserted/DeletedText take refs
4145 * paragraph_funcs.h:
4146 * paragraph_funcs.C: remove #if 0'd code
4151 * text.C: use lyxrow helpers above.
4152 Move draw and paint routines to RowPainter.
4153 Make several methods use refs not pointers.
4154 Make backgroundColor() const.
4155 Add markChangeInDraw(), isInInset().
4156 Merge changeRegionCase into changeCase.
4157 Make workWidth() shouldn't-happen code into an Assert.
4160 * rowpainter.C: new class for painting a row.
4163 * vspace.C: make inPixels take a ref
4165 2003-02-26 Angus Leeming <leeming@lyx.org>
4167 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4170 2003-02-25 John Levon <levon@movementarian.org>
4172 * ispell.C: give the forked command a more accurate name
4174 2003-02-22 John Levon <levon@movementarian.org>
4177 * toc.C: make TocItem store an id not a Paragraph *
4180 2003-02-21 Angus Leeming <leeming@lyx.org>
4182 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4183 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4184 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4185 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4186 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4187 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4189 * BufferView_pimpl.C (dispatch):
4190 * LyXAction.C (init):
4191 * factory.C (createInset):
4192 * lyxfunc.C (getStatus, dispatch):
4193 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4195 2003-02-21 Angus Leeming <leeming@lyx.org>
4197 * BufferView_pimpl.C (MenuInsertLyXFile):
4198 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4199 * lyxfunc.C (menuNew, open, doImport):
4200 no longer pass a LyXView & to fileDlg.
4202 2003-02-21 Angus Leeming <leeming@lyx.org>
4204 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4205 * LyXAction.C: change, BIBKEY to BIBITEM.
4206 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4207 Change InsetBibKey to InsetBibitem.
4208 Change BIBKEY_CODE to BIBITEM_CODE.
4209 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4210 * factory.C: replace insetbib.h with insetbibitem.h.
4211 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4212 * paragraph.C: replace insetbib.h with insetbibitem.h.
4213 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4214 Change bibkey() to bibitem().
4215 * text.C: remove insetbib.h.
4216 * text2.C: replace insetbib.h with insetbibitem.h.
4217 change bibkey() to bibitem().
4218 * text3.C: remove insetbib.h.
4219 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4221 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4223 * lyxrc.C (output): enclose user email in quotes (in case there are
4226 2003-02-18 John Levon <levon@movementarian.org>
4228 * buffer.h: add std::
4230 2003-02-17 John Levon <levon@movementarian.org>
4236 * pspell.C: reworking. Especially in ispell, a large
4237 number of clean ups and bug fixes.
4239 * lyxfunc.C: fix revert to behave sensibly
4241 2003-02-17 André Pönitz <poenitz@gmx.net>
4244 * commandtags.h: new LFUN_INSERT_BIBKEY
4254 * paragraph_func.C: remove special bibkey handling
4256 2003-02-17 John Levon <levon@movementarian.org>
4258 * text.C (Delete): fix case where delete at the end of
4259 the very first paragraph would not merge the pars
4261 2003-02-17 John Levon <levon@movementarian.org>
4263 * lyxrow.C: fix lastPrintablePos()
4265 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4267 * bufferparams.C (writeLaTeX): add a std:here
4269 * buffer.C: and remove a using directive there
4271 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4273 * buffer.C (makeLaTeXFile): move the code that generates the
4276 * bufferparams.C (writeLaTeX): ... in this new method
4278 * LaTeXFeatures.C (getEncodingSet): make const
4279 (getLanguages): make const
4281 * MenuBackend.C (binding): returns the binding associated to this
4283 (add): sets the status of each item by calling getStatus. Adds
4285 (read): add support for OptSubMenu
4286 (expand): remove extra separator at the end of expanded menu
4288 2003-02-15 John Levon <levon@movementarian.org>
4291 * BufferView_pimpl.C:
4293 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4294 inset code that had no actual effect. Remove unneeded status
4297 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4299 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4302 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4304 * text.C (drawLengthMarker): also draw an arrow marker for
4305 symbolic lengths (medskip...)
4307 2003-02-14 John Levon <levon@movementarian.org>
4310 * tabular.C: better method names
4312 2003-02-14 John Levon <levon@movementarian.org>
4314 * BufferView_pimpl.C:
4319 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4320 it's a more accurate name. Remove some pointless uses.
4322 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4324 * text2.C (LyXText): change order of initilizers to shut off
4327 2003-02-14 John Levon <levon@movementarian.org>
4329 * buffer.C: use ParIterator for getParFromID()
4333 * paragraph_pimpl.h:
4334 * paragraph_pimpl.C: remove unused getParFromID()
4336 2003-02-14 John Levon <levon@movementarian.org>
4338 * buffer.C: remove some very old #if 0'd parse code
4340 2003-02-13 John Levon <levon@movementarian.org>
4344 * text2.C: move hfillExpansion(), numberOfSeparators(),
4345 rowLast(), rowLastPrintable(), numberofHfills(),
4346 numberOfLabelHfills() ...
4349 * lyxrow.C: ... to member functions here.
4354 * text.C: remove LyXText::beginningOfMainBody(), and call
4355 p->beginningOfMainBody() directly. Move the check for
4356 LABEL_MANUAL into the latter.
4363 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4369 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4370 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4372 2003-02-13 John Levon <levon@movementarian.org>
4374 * CutAndPaste.C: remove debug
4376 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4378 * paragraph.C (asString): remove two unused variables
4380 * lyxtextclass.C (readTitleType):
4382 (LyXTextClass): handle new members titletype_ and titlename_
4384 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4386 2003-02-09 John Levon <levon@movementarian.org>
4389 * buffer.C: replace hand-coded list with a map for the dep clean
4391 2003-02-08 John Levon <levon@movementarian.org>
4393 * LaTeX.C: consolidate code into showRunMessage() helper
4395 2003-02-08 John Levon <levon@movementarian.org>
4400 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4401 and pass the size in explicitly
4403 * BufferView_pimpl.h:
4404 * BufferView_pimpl.C:
4406 * BufferView.C: add getCurrentChange()
4408 * BufferView_pimpl.h:
4409 * BufferView_pimpl.C: handle change lfuns
4411 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4412 for changes. Mark pasted paragraphs as new.
4414 * support/lyxtime.h:
4415 * support/lyxtime.C:
4416 * DepTable.C: abstract time_t as lyx::time_type
4419 * LColor.C: add colours for new text, deleted text, changebars
4421 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4422 package use "usenames" option.
4426 * LyXAction.C: add change lfuns
4430 * author.C: author handling
4433 * buffer.C: add a per-buffer author list, with first entry as
4434 current author. Handle new .lyx tokens for change tracking. Output
4435 author list to .lyx file. Output dvipost stuff to .tex preamble.
4436 Bump lyx format to 222.
4439 * bufferlist.C: add setCurrentAuthor() to reset current author details
4443 * bufferparams.C: add param for tracking
4445 * bufferview_funcs.C: output change info in minibuffer
4449 * changes.C: add change-tracking structure
4452 * debug.C: add CHANGES debug flag
4455 * lyxfind.C: add code for finding the next change piece
4458 * lyxrc.C: add user_name and user_email
4461 * lyxrow.C: add a metric for the top of the text line
4464 * text.C: implement accept/rejectChange()
4467 * text.C: paint changebars. Paint new/deleted text in the chosen
4468 colours. Strike through deleted text.
4472 * paragraph_pimpl.h:
4473 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4474 in the current change to the insert functions. Rework erase to
4475 mark text as deleted, adding an eraseIntern() and a range-based
4476 erase(). Implement per-paragraph change lookup and
4479 * paragraph_funcs.C: Fixup paste for change tracking.
4481 * tabular.C: mark added row/columns as new.
4483 * text.C: fix rowLast() to never return -1. Don't allow
4484 spellchecking of deleted text. Track transpose changes. Don't
4485 allow paragraph break or merge where appropriate.
4487 * text2.C: leave cursor at end of selection after a cut.
4489 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4491 * text.C (getLengthMarkerHeight):
4492 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4493 visible on screen too.
4495 2003-02-07 John Levon <levon@movementarian.org>
4497 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4499 2003-02-05 Angus Leeming <leeming@lyx.org>
4501 * lyxserver.C (read_ready): revert my patch of 11 September last year
4502 as it sends PC cpu through the roof. Presumably this means that
4503 the lyxserver will no longer run on an Alpha...
4505 2003-01-30 Angus Leeming <leeming@lyx.org>
4507 * factory.C (createInset): create an InsetCommandParam of type "index"
4508 and use it to 'do the right thing'.
4510 * text2.C (getStringToIndex): ensure that cursor position is always
4511 reset to the reset_cursor position.
4513 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4515 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4518 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4522 * lyxfunc.C: Output messages with identical spelling, punctuation,
4525 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4527 * MenuBackend.C (expandFormats): List only viewable export formats
4530 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4533 * lyxfunc.C (getStatus): Make sure that formats other than
4534 "fax" can also be disabled
4536 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4538 * text3.C (dispatch): put the lfuns that insert insets in 3
4539 groups, and call doInsertInset with appropriate arguments.
4540 (doInsertInset): new function, that creates an inset and inserts
4541 it according to some boolean parameters.
4543 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4545 * buffer.C (readFile): remember to pass on 'par' when calling
4546 readFile recursively.
4548 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4550 * MenuBackend.C (expandFormats): add "..." to import formats.
4552 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4554 * paragraph.C (asString): Remove XForms RTL hacks.
4556 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4557 * buffer.C: fix typo
4559 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * Makefile.am (LIBS): delete var
4562 (lyx_LDADD): add @LIBS@ here instead.
4564 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4566 * Clarify the meaning of "wheel mouse jump"
4568 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4570 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4573 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4575 * importer.C (Loaders): do not preallocate 3 elements in the
4576 vector, since one ends up with 6 elements otherwise
4578 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4580 * DepTable.C (write): write the file name as last element of the
4581 .dep file (because it may contain spaces)
4582 (read): read info in the right order
4584 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4586 * paragraph_pimpl.C (simpleTeXBlanks):
4587 (simpleTeXSpecialChars):
4588 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4590 * tabular.C (latex): add some missing case statements. Reindent.
4592 * MenuBackend.C (expandToc): remove unused variable.
4594 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4603 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4606 2003-01-05 John Levon <levon@movementarian.org>
4609 * BufferView.C: add getEncoding()
4612 * kbsequence.C: do not store last keypress
4615 * lyxfunc.C: store last keypress here instead. Pass encoding
4618 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4620 * lyx_main.C (init): remove annoying error message when following
4621 symbolic links (bug #780)
4623 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4625 * text.C (insertChar):
4626 * lyxrc.C (getDescription): remove extra spaces
4628 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4630 * lyxrc.C (getDescription): remove extra spaces
4632 2002-12-20 John Levon <levon@movementarian.org>
4634 * text3.C: hack fix for page up/down across tall rows
4636 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4638 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4641 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4643 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4644 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4645 thesaurus is not compiled in
4647 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4649 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4651 2002-12-16 Angus Leeming <leeming@lyx.org>
4654 * lyx_main.C (init): remove override_x_deadkeys stuff.
4656 2002-12-12 John Levon <levon@movementarian.org>
4658 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4659 insert. Only remove shift modifier under strict
4662 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4664 * MenuBackend.C (expandToc): fix crash.
4666 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4668 * MenuBackend.C (expandToc): gettext on float names.
4670 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4672 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4673 implement bool empty() [bug 490]
4675 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4677 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4679 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4681 * several files: ws changes
4683 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4685 * text2.C (setCounter): clean up a bit, use boost.format.
4686 (updateCounters): initialize par upon declaration.
4688 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4689 if the layout exists. We do not just store the layout any more.
4690 (SwitchLayoutsBetweenClasses): use boost.format
4692 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4694 * converter.C (convert): if from and to files are the same, use a
4695 temporary files as intermediary
4697 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4700 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4702 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4704 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4706 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4708 * tabular.C (asciiPrintCell): use string(size, char) instead of
4711 * sgml.C (openTag): fix order of arguments to string constructor
4714 * lyxfunc.C (dispatch): use boost.format
4716 * lots of files: change "c" -> 'c'
4718 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4720 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4722 2002-11-25 Angus Leeming <leeming@lyx.org>
4724 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4726 * lyx_main.C (init): compile fix.
4728 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4730 * lyx_cb.C (start): boost.formatify
4731 do not include <iostream>
4733 * lengthcommon.C: ws only
4735 * boost-inst.C,BoostFormat.h: add more explict instantations
4737 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4739 * lots of files: handle USE_BOOST_FORMAT
4741 2002-11-21 John Levon <levon@movementarian.org>
4743 * pspell.C: fix compile
4745 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4747 * lyxfunc.C (dispatch): use boost::format
4751 * lyxfont.C (stateText): use boost::format
4753 * lyx_main.C (LyX): use boost::format
4755 (queryUserLyXDir): ditto
4758 (typedef boost::function): use the recommened syntax.
4760 * importer.C (Import): use boost::format
4762 * debug.C (showLevel): use boost::format
4764 * converter.C (view): use boost::format
4769 * bufferview_funcs.C (currentState): use boost::format
4771 * bufferlist.C (emergencyWrite): use boost::format
4773 * buffer.C (readLyXformat2): use boost::format
4774 (parseSingleLyXformat2Token): ditto
4776 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4778 * LaTeX.C (run): use boost::format
4780 * Chktex.C (scanLogFile): use boost::format
4782 * BufferView_pimpl.C (savePosition): use boost::format
4783 (restorePosition): ditto
4784 (MenuInsertLyXFile): ditto
4786 * BoostFormat.h: help file for explicit instation.
4788 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4790 * tabular.C (latex): Support for block alignment in fixed width
4793 2002-11-17 John Levon <levon@movementarian.org>
4795 * BufferView_pimpl.C:
4797 * lyxfunc.C: split filedialog into open/save
4799 2002-11-08 Juergen Vigna <jug@sad.it>
4801 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4802 by my last patch (hopefully).
4804 2002-11-08 John Levon <levon@movementarian.org>
4813 * toc.C: ParConstIterator, and use it (from Lars)
4815 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4817 * lyxtextclass.[Ch]: revise and add doxygen comments
4819 2002-11-07 John Levon <levon@movementarian.org>
4821 * text.C: fix progress value for spellchecker
4823 * toc.C: fix navigate menu for insetwrap inside minipage
4825 * paragraph_funcs.C: added FIXME for suspect code
4827 2002-11-07 John Levon <levon@movementarian.org>
4829 * BufferView_pimpl.C: fix redrawing of insets
4832 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4834 * text2.C (updateCounters): fix bug 668
4836 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4838 * text3.C (dispatch): Do not make the buffer dirty when moving the
4841 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4843 * vc-backend.C: STRCONV
4846 * text2.C (setCounter): STRCONV
4848 * paragraph.C (asString): STRCONV
4850 * lyxlength.C (asString): STRCONV
4851 (asLatexString): ditto
4853 * lyxgluelength.C (asString): STRCONV
4854 (asLatexString): ditto
4856 * lyxfunc.C (dispatch): STRCONV
4859 * lyxfont.C (stateText): STRCONV
4861 * importer.C (Import): STRCONV
4863 * counters.C (labelItem): STRCONV
4864 (numberLabel): ditto
4865 (numberLabel): remove unused ostringstream o
4870 * bufferview_funcs.C (currentState): STRCONV
4872 * buffer.C (readFile): STRCONV
4873 (asciiParagraph): ditto
4874 (makeLaTeXFile): ditto
4876 * Spacing.C (writeEnvirBegin): STRCONV
4878 * LaTeXFeatures.C (getLanguages): STRCONV
4879 (getPackages): ditto
4881 (getBabelOptions): ditto
4882 (getTClassPreamble): ditto
4883 (getLyXSGMLEntities): ditto
4884 (getIncludedFiles): ditto
4888 (scanAuxFile): ditto
4891 * LString.h: add the STRCONV macros
4893 * BufferView_pimpl.C (savePosition): STRCONV
4894 (restorePosition): ditto
4895 (MenuInsertLyXFile): ditto
4897 * vc-backend.C (scanMaster): change from submatch[...] to
4900 * funcrequest.C: include config.h
4902 * factory.C: include config.h
4904 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4906 * box.C: include config.h
4908 * LaTeX.C (scanAuxFile): change from submatch[...] to
4912 2002-10-25 Angus Leeming <leeming@lyx.org>
4914 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4916 * ispell.[Ch] (setError): new method.
4917 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4918 Use setError() insetead of goto END.
4920 * lyx_cb.C (AutoSave): move out child process into new class
4923 2002-10-30 John Levon <levon@movementarian.org>
4925 * text3.C: make start appendix undoable
4927 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4929 * lyxlength.C (inPixels): Fix returned value.
4931 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4934 2002-10-24 Angus Leeming <leeming@lyx.org>
4936 * lyxgluelength.h: no need to forward declare BufferParams
4937 or BufferView, so don't.
4939 2002-10-21 John Levon <levon@movementarian.org>
4941 * BufferView.C: menuUndo ->undo, redo
4943 * BufferView.h: document, remove dead, make some methods private
4945 * paragraph_funcs.h:
4946 * paragraph_funcs.C:
4947 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4952 * sgml.C: move sgml open/close tag into sgml.C
4954 * bufferview_funcs.h: unused prototype
4957 * lyxfunc.C: remove unused
4960 * text.C: remove unused
4962 2002-10-21 John Levon <levon@movementarian.org>
4966 * BufferView_pimpl.h:
4967 * BufferView_pimpl.C: fix mouse wheel handling based on
4968 patch from Darren Freeman
4970 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4972 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4974 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4976 * lyxlength.C (inPixels): Fix hanfling of negative length.
4977 Fix LyXLength::MU case.
4979 2002-10-16 John Levon <levon@movementarian.org>
4981 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4983 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4985 * converter.C (view): add support for $$i (file name) and $$p
4986 (file path) for the viewer command. If $$i is not specified, then
4987 it is appended to the command (for compatibility with old syntax)
4989 2002-10-14 Juergen Vigna <jug@sad.it>
4991 * undo_funcs.C (textHandleUndo): alter the order in which the
4992 new undopar is added to the LyXText, as we have to set first
4993 the right prev/next and then add it as otherwise the rebuild of
4994 LyXText is not correct. Also reset the cursor to the right paragraph,
4995 with this IMO we could remove the hack in "redoParagraphs()".
4997 2002-10-09 Angus Leeming <leeming@lyx.org>
4999 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5000 to turn off an optimisation if a new inset is to be inserted.
5002 2002-10-11 André Pönitz <poenitz@gmx.net>
5004 * lyxtext.h: make some functions public to allow access
5005 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5007 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5009 * text3.C (dispatch): when changing layout, avoid an infinite loop
5012 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5014 * lyxrc.C (read): treat a viewer or converter command of "none" as
5017 * MenuBackend.C (expandFormats): for an update, also allow the
5018 formats that are not viewable
5020 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5021 script if it is newer than the lyxrc.defaults in user directory
5023 2002-10-07 André Pönitz <poenitz@gmx.net>
5025 * text.C: Vitaly Lipatov's small i18n fix
5027 2002-09-25 Angus Leeming <leeming@lyx.org>
5029 * ispell.h: doxygen fix.
5031 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5033 * buffer.h (readFile): Add a new argument to the method, to allow
5034 reading of old-format templates.
5036 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5038 * toc.C (getTocList): Get TOC from InsetWrap.
5040 2002-09-16 John Levon <levon@movementarian.org>
5042 * lyxfunc.C: check tabular for cut/copy too
5044 2002-09-12 John Levon <levon@movementarian.org>
5049 * factory.C: add header
5051 * paragraph_funcs.h:
5052 * paragraph_funcs.C: cleanup
5054 2002-09-11 John Levon <levon@movementarian.org>
5056 * PrinterParams.h: odd/even default to true
5058 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5060 * PrinterParams.h: update printer parameters for new xforms dialog
5062 2002-09-11 Angus Leeming <leeming@lyx.org>
5064 * lyxserver.C (read_ready): re-write to make it more transparent
5065 and to make it work in coherent fashion under Tru64 Unix.
5067 2002-09-11 André Pönitz <poenitz@gmx.net>
5071 * text3.C: implement LFUN_WORDSEL
5073 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5075 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5076 make floatlist_ a boost::shared_ptr<FloatList>
5078 * lyxtextclass.C: include FloatList.h
5079 (LyXTextClass): initialize floatlist_
5080 (TextClassTags): add TC_NOFLOAT
5081 (Read): match "nofloat" to TC_NOFLOAT and use it.
5082 (readFloat): modify call to floatlist_
5086 * FloatList.[Ch] (FloatList): remove commented out float
5088 (erase): new function
5090 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5092 * MenuBackend.C (expandToc): fix crash when there is no document
5095 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5097 * many files: Add insetwrap.
5099 2002-09-09 John Levon <levon@movementarian.org>
5101 * text2.C: remove confusing and awkward depth wraparound
5103 2002-09-09 John Levon <levon@movementarian.org>
5105 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5108 * buffer.C: remove getIncludeonlyList()
5111 * lyxfunc.C: remove headers
5113 2002-09-09 Juergen Vigna <jug@sad.it>
5115 * text.C (getColumnNearX): fix form Michael this is most
5116 probably a cut&paste bug.
5118 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5122 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5123 references, ws changes.
5125 * text2.C (init): update counters after init
5126 (insertParagraph): no need to set counter on idividual paragraphs.
5127 (setCounter): access the counters object in the textclass object
5128 on in the buffer object.
5129 (updateCounters): ditto
5131 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5132 shared_ptr<Counters> to avoid loading counters.h in all
5134 (LyXTextClass): initialize ctrs_
5135 (TextClassTags): add TC_COUNTER, and ...
5136 (Read): use it here.
5137 (CounterTags): new tags
5138 (readCounter): new function
5139 (counters): new funtion
5140 (defaultLayoutName): return a const reference
5142 * counters.C (Counters): remove contructor
5143 (newCounter): remove a couple of unneeded statements.
5144 (newCounter): simplify a bit.
5145 (numberLabel): some small formatting changes.
5147 * buffer.[Ch]: remove all traces of counters, move the Counters
5148 object to the LyXTextClass.
5150 2002-09-06 Alain Castera <castera@in2p3.fr>
5152 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5153 package to set the horizontal alignment on fixed width columns.
5156 * lyx_sty.h: added tabularnewline macro def.
5158 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5160 2002-09-06 John Levon <levon@movementarian.org>
5162 * LyXAction.C: tooltips for sub/superscript
5164 * MenuBackend.C: a bit more verbose
5166 * lyxfunc.C: tiny clean
5168 * undo_funcs.C: document undo_frozen
5170 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5172 * counters.C (Counters): add missing algorithm counter.
5174 * text2.C (setCounter): lookup the counter with layouts latexname
5175 instead of by section number.
5176 (setCounter): use a hackish way to lookup the correct enum
5178 a float name->type change
5179 reset enum couners with counter name directly instead of depth value.
5181 * counters.C (Counters): remove the push_backs, change to use the
5182 float type not the float name.
5183 (labelItem): remove unused string, float name->type change
5185 * counters.h: don't include vector, loose the enums and sects vectors
5187 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5190 (Read): add float->TC_FLOAT to textclassTags
5191 (Read): and handle it in the switch
5192 (readFloat): new function
5194 * FloatList.C (FloatList): comment out the hardcoded float
5197 * lyxlayout.h: ws change.
5199 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5201 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5203 2002-09-03 Angus Leeming <leeming@lyx.org>
5205 * BufferView_pimpl.h: qualified name is not allowed in member
5206 declaration: WorkArea & Pimpl::workarea() const;
5208 * factory.C: added using std::endl directive.
5210 * text3.C: added using std::find and std::vector directives.
5212 2002-08-29 André Pönitz <poenitz@gmx.net>
5215 * text2.C: remove unused member number_of_rows
5218 * BufferView2.C: remove file, move contents to...
5219 * BufferView.C: ... here
5221 * BufferView_pimpl.C:
5222 * factory.C: move more inset creation to factory
5224 * vspace.C: avoid direct usage of LyXText, ws changes
5227 don't provide direct access to WorkArea, use two simple
5228 acessors haveSelction() and workHeight() instead
5231 2002-08-29 John Levon <levon@movementarian.org>
5233 * BufferView_pimpl.C (dispatch): do not continue when
5236 2002-08-28 André Pönitz <poenitz@gmx.net>
5238 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5241 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5243 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5245 * buffer.C: increment LYX_FORMAT to 221
5247 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5248 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5250 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5252 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5254 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5256 * factory.C (createInset): use LyXTextClass::floats
5258 * MenuBackend.C (expandFloatListInsert):
5259 (expandFloatInsert):
5262 * text2.C (setCounter):
5264 * LaTeXFeatures.C (useFloat):
5265 (getFloatDefinitions):
5267 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5269 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5270 floatlist_, with accessor floats().
5272 * FloatList.h: remove global FloatList
5274 2002-08-26 André Pönitz <poenitz@gmx.net>
5276 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5280 * BufferView_pimpl.C:
5281 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5283 2002-08-25 John Levon <levon@movementarian.org>
5285 * LyXAction.C: fix margin note description
5287 2002-08-24 John Levon <levon@movementarian.org>
5291 * bufferview_funcs.C:
5293 * undo_funcs.C: cleanups
5295 * lyxfunc.C: disable CUT/COPY when no selection
5297 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5299 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5300 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5302 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5303 Add backward compatibility to "mono", "gray" and "no".
5305 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5307 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5308 (and file_format >= 200).
5310 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5312 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5314 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5316 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5318 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5320 * BufferView_pimpl.C:
5327 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5328 inset and code to make it work with the paragraph code. The inset
5329 can be anywhere in the paragraph, but will only do the expected
5330 thing in LaTeX if the layout file contains the parameter line
5332 (or more generally, a nonzero value) for that layout.
5334 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5336 * paragraph.h: remove the declaration of undefined counters class
5339 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5341 * text2.C (setCounter): fixed enumeration mis-count as reported by
5342 Dr. Richard Hawkins.
5344 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5346 * paragraph_funcs.h: remove some unneeded includes
5348 * text.C (backspace): pasteParagraph now in global scipe
5350 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5351 (pasteSelection): ditto
5353 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5354 * paragraph_funcs.C (pasteParagraph): ... here
5356 2002-08-20 André Pönitz <poenitz@gmx.net>
5358 * commandtags.h: new LFUNs for swapping/copying table row/colums
5361 * lyxfunc.C: support for new lfuns
5363 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5366 * buffer.[Ch]: remove NO_COMPABILITY stuff
5368 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5370 * boost.C (throw_exception): new file, with helper function for
5371 boost compiled without exceptions.
5376 * ParameterStruct.h:
5377 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5379 * bufferlist.C (emergencyWriteAll): use boost bind
5381 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5383 * text.C: include paragraph_funcs.h
5384 (breakParagraph): breakParagraph is now in global scope
5386 * paragraph_funcs.[Ch]: new files
5388 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5391 * buffer.C: include paragraph_funcs.h
5392 (insertStringAsLines): breakParagraph is now in global scope
5394 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5397 * CutAndPaste.C: include paragraph_funcs.h
5398 (cutSelection): breakParagraphConservative is now in global scope
5399 (pasteSelection): ditto
5401 * buffer.h: declare oprator== and operator!= for
5402 Buffer::inset_iterator
5404 * bufferlist.C (emergencyWrite): don't use fmt(...)
5406 * text3.C: add using std::endl
5408 * BufferView.C (moveCursorUpdate): remove default arg
5410 2002-08-20 André Pönitz <poenitz@gmx.net>
5412 * buffer.[Ch]: move inline functions to .C
5415 * BufferView_pimpl.C:
5417 * buffer.[Ch]: use improved inset_iterator
5420 * paragraph.[Ch]: write one paragraph at a time
5422 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5424 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5425 style if style is not specified.
5427 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5429 * text2.C (setCounter): when searching for right label for a
5430 caption, make sure to recurse to parent insets (so that a caption
5431 in a minipage in a figure float works) (bug #568)
5433 2002-08-20 André Pönitz <poenitz@gmx.net>
5435 * text3.C: new file for LyXText::dispatch() and helpers
5437 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5439 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5441 2002-08-19 André Pönitz <poenitz@gmx.net>
5444 * text.C: new LyXText::dispatch()
5446 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5448 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5450 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5452 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5455 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5457 * Makefile.am: use $(variables) instead of @substitutions@
5459 2002-08-15 André Pönitz <poenitz@gmx.net>
5462 * BufferView_pimpl.C: streamlining mathed <-> outer world
5466 * LyXAction.C: remove unused LFUN_MATH
5468 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5470 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5472 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5474 * paragraph.C (Paragraph): reformat a bit
5475 (cutIntoMinibuffer): use builtin InsetList function instad of
5479 * buffer.C: include boost/bind.hpp, add using std::for_each
5480 (writeFileAscii): use ParagraphList iterators
5481 (validate): use for_each for validate traversal of paragraphs
5482 (getBibkeyList): use ParagraphList iterators
5483 (resizeInsets): use for_each to resizeInsetsLyXText for all
5485 (getParFromID): use ParagraphList iterators
5487 * BufferView2.C (lockInset): use paragraph list and iterators
5489 2002-08-14 John Levon <levon@movementarian.org>
5491 * lyxserver.C: remove spurious xforms include
5493 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5495 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5497 2002-08-13 André Pönitz <poenitz@gmx.net>
5500 * lyxfunc.C: further cleaning
5502 2002-08-13 André Pönitz <poenitz@gmx.net>
5504 * funcrequest.h: new constructor
5506 * funcrequest.C: move stuff here from .h
5509 * BufferView_pimpl.C:
5512 * lyxfunc.C: subsequent changes
5514 * lyxfunc.h: new view() member function
5516 * lyxfunc.C: subsequent changes
5518 2002-08-13 Angus Leeming <leeming@lyx.org>
5521 * BufferView_pimpl.C:
5529 changes due to the changed LyXView interface that now returns references
5530 to member variables not pointers.
5532 2002-08-13 Angus Leeming <leeming@lyx.org>
5534 * WordLangTuple (word, lang_code): return references to strings,
5539 * lyxtext.h: forward-declare WordLangTuple.
5544 * text.C: #include "WordLangTuple.h".
5547 * text.C: (selectNextWordToSpellcheck): constify return type.
5549 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5555 * paragraph_pimpl.h:
5558 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5560 Made updateCounter always count from start of buffer, and removed
5561 second argument (par).
5562 Reverted floats number display to '#'. Perhaps I'll try again when the
5563 code base is sanitized a bit.
5565 2002-08-12 Angus Leeming <leeming@lyx.org>
5567 * buffer.[Ch] (getLabelList): constify.
5569 2002-08-07 André Pönitz <poenitz@gmx.net>
5571 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5573 * funcrequest.h: extension to keep mouse (x,y) position
5575 2002-08-12 Juergen Vigna <jug@sad.it>
5577 * BufferView2.C (insertErrors): forbid undo when inserting error
5580 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5582 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5584 * ParagraphList.[Ch]: new files
5586 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5588 * BufferView2.C (lockInset): ParagraphList changes
5591 * bufferlist.C: ditto
5595 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5597 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5598 unused class variable counter_,
5600 * paragraph.[Ch] (getFirstCounter): delete unused function
5602 * counters.C: include LAssert.h
5603 (reset): add a new function with no arg, change other version to
5604 not have def. arg and to not allow empty arg.
5606 * text2.C (setCounter): remove empty arg from call to Counters::reset
5608 2002-08-11 John Levon <levon@movementarian.org>
5610 * Makefile.am: add WordLangTuple.h
5612 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5614 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5615 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5617 * insets/insettext.C: InsetList changes
5619 * graphics/GraphicsSupport.C (operator()): InsetList changes
5621 * toc.C (getTocList): InsetList changes
5623 * paragraph_pimpl.[Ch]: InsetList changes
5625 * paragraph.[Ch]: InsetList changes
5627 * buffer.C (inset_iterator): InsetList changes
5628 (setParagraph): ditto
5629 * buffer.h (inset_iterator): ditto
5630 * iterators.C (operator++): ditto
5631 * iterators.h: ditto
5633 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5635 * InsetList.[Ch]: new files, most InsetList handling moved out of
5638 * BufferView2.C (removeAutoInsets): InsetList changes
5640 (ChangeInsets): ditto
5642 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5644 * paragraph_pimpl.h (empty): new function
5646 * paragraph.[Ch] (empty): new function
5648 * other files: use the new Paragraph::empty function
5650 2002-08-09 John Levon <levon@movementarian.org>
5652 * lyxtext.h: remove unused refresh_height
5654 2002-08-09 John Levon <levon@movementarian.org>
5661 * paragraph.C: move sgml char escaping out of paragraph
5664 * paragraph.C: remove id setter
5668 * paragraph_pimpl.C: remove dead tex_code_break_column
5670 * bufferview_funcs.C: small cleanup
5672 * lyxfunc.C: remove dead proto
5674 * lyxtext.h: make some stuff private. Remove some dead stuff.
5676 * lyxgluelength.C: make as[LyX]String() readable
5678 2002-08-08 John Levon <levon@movementarian.org>
5683 * ToolbarDefaults.C:
5686 * toc.C: lyxaction cleanup
5688 2002-08-08 John Levon <levon@movementarian.org>
5690 * BufferView2.C: small cleanup
5693 * lyxfind.C: move unnecessary header into the .C
5695 2002-08-08 John Levon <levon@movementarian.org>
5697 * funcrequest.h: just tedious nonsense
5700 * lyx_main.C: cleanups
5703 * vspace.C: remove dead header lyx_main.h
5705 2002-08-07 Angus Leeming <leeming@lyx.org>
5708 * paragraph_pimpl.h:
5709 Forward declare class Counters in paragraph.h by moving the ctrs member
5710 variable into Paragraph::Pimpl.
5711 (counters): new method, returning a reference to pimpl_->ctrs.
5713 * text2.C: ensuing changes.
5715 2002-08-07 John Levon <levon@movementarian.org>
5717 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5719 * BufferView_pimpl.C: announce X selection on double/triple
5722 * lyx_main.C: use correct bool in batch dispatch
5724 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5726 2002-08-07 André Pönitz <poenitz@gmx.net>
5728 * funcrequest.h: new class to wrap a kb_action and its argument
5731 * BufferView_pimpl[Ch]:
5735 * lyxrc.C: subsequent changes
5738 2002-08-07 John Levon <levon@movementarian.org>
5740 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5741 document options change.
5743 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5748 * makefile.am: move counters functionality over from
5749 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5751 2002-08-06 John Levon <levon@movementarian.org>
5753 * WordLangTuple.h: new file for word + language code tuple
5764 * BufferView2.C: use WordLangTuple
5767 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5769 2002-08-06 John Levon <levon@movementarian.org>
5771 * lyx_main.C: fix cmdline batch handling
5773 2002-08-06 André Pönitz <poenitz@gmx.net>
5775 * lyxrc.C: set default for show_banner to true
5777 2002-08-06 John Levon <levon@movementarian.org>
5779 * pspell.C: fix a crash, and allow new aspell to work
5781 2002-08-06 John Levon <levon@movementarian.org>
5784 * kbmap.C: small cleanup
5787 * vspace.C: add const
5789 2002-08-05 John Levon <levon@movementarian.org>
5791 * LyXAction.C: back to tabular-insert
5793 2002-08-04 John Levon <levon@movementarian.org>
5796 * BufferView.C: cosmetic change
5798 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5808 * BufferView2.C: purge all "Lyx" not "LyX" strings
5811 * lyxcursor.C: attempt to add some documentation
5816 * ToolbarDefaults.C:
5817 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5818 merge with LFUN_TABULAR_INSERT
5825 * pspell.C: split up i/pspell implementations into separate
5826 files, many cleanups
5828 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5830 * text2.C: some cleanup
5832 * lyxfunc.C: don't check for isp_command == "none" any more, it
5833 didn't make any sense
5835 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5840 * makefile.am: move counters functionality over
5841 from text2.C/paragraph.[Ch] to counters.[Ch], and
5843 2002-08-02 John Levon <levon@movementarian.org>
5845 * buffer.C: s/lyxconvert/lyx2lyx/
5847 2002-08-02 Angus Leeming <leeming@lyx.org>
5849 * lyxlex.C: revert John's change as it breaks reading of the user
5852 2002-08-02 Angus Leeming <leeming@lyx.org>
5854 * importer.C (Import):
5855 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5856 changes due to LyXView::view() now returning a boost::shared_ptr.
5858 2002-08-02 John Levon <levon@movementarian.org>
5860 * lyxlex.C: small cleanup
5862 2002-08-02 John Levon <levon@movementarian.org>
5864 * text2.C (status): small cleanup, no logic change
5866 2002-08-01 John Levon <levon@movementarian.org>
5869 * buffer.C (writeFile): don't output alerts, caller
5873 * lyx_cb.C: from above
5875 * lyxfunc.C: allow to open non-existent files
5877 2002-07-31 John Levon <levon@movementarian.org>
5879 * lyxserver.C: don't let incidental errors get
5882 2002-07-30 John Levon <levon@movementarian.org>
5884 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5886 2002-07-30 John Levon <levon@movementarian.org>
5889 * lyxserver.C: remove I/O callback too
5891 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5893 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5896 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5898 * many files: strip,frontStrip -> trim,ltrim,rtrim
5900 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5902 * PrinterParams.h: remove extern containsOnly, and include
5903 support/lstrings.h instead.
5905 * LaTeX.C (scanAuxFile): modify because of strip changes
5907 * buffer.C (makeLaTeXFile): ditto
5908 * bufferparams.C (writeFile): ditt
5909 * lyxfont.C (stateText): ditto
5910 * lyxserver.C (read_ready): ditto
5911 * vc-backend.C (scanMaster): ditto
5913 * BufferView_pimpl.h: ws changes
5915 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5917 2002-07-26 André Pönitz <poenitz@gmx.net>
5919 * kb_sequence.C: remove unnedred usings
5921 2002-07-26 Juergen Vigna <jug@sad.it>
5923 * lyxfind.C (LyXReplace): we have to check better if the returned
5924 text is not of theLockingInset()->getLockingInset().
5926 2002-07-25 Juergen Vigna <jug@sad.it>
5928 * lyxfind.C (LyXReplace): don't replace if we don't get the
5931 * undo_funcs.C (createUndo): remove debugging code.
5933 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5935 * buffer.C (parseSingleLyXformat2Token): Use default placement
5936 when reading old floats.
5938 * FloatList.C (FloatList): Change the default placement of figure
5939 and tables to "tbp".
5941 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5943 * MenuBackend.C: using std::max
5945 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5947 * MenuBackend.C (expandToc):
5948 (expandToc2): code moved from xforms menu frontend. It is now
5949 generic and TOCs are transparent to menu frontends.
5951 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5953 * toc.C (getTocList): protect against buf=0
5955 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5956 Menu as first parameter. Now, this calls itself recursively to
5957 expand a whole tree (this will be useful for TOC handling)
5958 (expandFloatInsert): remove 'wide' version of floats
5960 * MenuBackend.h (submenuname): returns the name of the submenu.
5961 (submenu): returns the submenu itself, provided it has been
5962 created by MenuBackend::expand
5964 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5966 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5967 insets which have noFontChange == true. (bug #172)
5969 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5971 * BufferView_pimpl.C: add connection objects and use them...
5974 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5976 * MenuBackend.C (expandLastfiles):
5979 (expandFloatListInsert):
5980 (expandFloatInsert):
5981 (expand): split expand in parts
5983 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5985 * lyx_gui.C: use lyx_gui::exit()
5987 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5989 * LyXAction.C: show the failing pseudo action
5991 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5993 * buffer.C (readFile): Run the lyxconvert script in order to read
5996 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6000 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6002 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6006 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6008 2002-07-22 Herbert Voss <voss@lyx.org>
6011 * lyxlength.[Ch]: add support for the vertical lengths
6013 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6015 * toc.[Ch]: std:: fixes
6017 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6019 * lyxrc.C: do not include lyx_main.h
6021 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6027 * BufferView2.C: include "lyxlex.h"
6030 * bufferparams.h: do not #include "lyxlex.h"
6032 * lyxtextclasslist.C (Add): remove method
6033 (classlist): renamed to classlist_
6035 * paragraph_pimpl.C:
6039 * bufferview_funcs.C:
6044 * toc.C (getTocList): use BufferParams::getLyXTextClass
6046 * toc.C (getTocList): use InsetFloat::addToToc
6048 * toc.[Ch]: new files, containing helper functions to handle table
6051 * lyxfunc.C (dispatch): no need to remove spaces around command
6053 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6054 first command of the sequence; it is not very clever, but I do not
6055 have a better idea, actually
6057 * LyXAction.C (LookupFunc): make sure to remove space at the
6058 beginning and end of the command
6060 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6062 * MenuBackend.C (getMenubar): new method: return the menubar of
6064 (read): treat differently reading of menu and menubar (in
6065 particular, the menubar has no name now)
6066 (Menu::menubar): remove
6068 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6071 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6073 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6074 a bibitem inset in a RTL paragraph.
6076 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6078 * paragraph_pimpl.C: constify
6080 * BufferView_pimpl.C:
6082 * lyxfunc.C: fix dispatch in a nicer way
6084 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6086 * lyxfunc.C (dispatch):
6087 * BufferView_pimpl.C:
6088 * BufferView_pimpl.h:
6090 * BufferView.h: rename Dispatch() to dispatch()
6092 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6094 * lyxlayout.C (Read): honor DependsOn tag
6096 * lyxlayout.[Ch] (depends_on): new method
6098 * version.C.in: update lyx_docversion
6100 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6102 * paragraph.C (validate): remove from here...
6103 * paragraph_pimpl.C (validate): ... and move here
6104 (isTextAt): make it const
6106 * buffer.C (getLists): ws cleanup
6108 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6110 * language.C (read): Use iso8859-1 encoding in latex_lang
6111 (this prevents LyX from crashing when using iso10646-1 encoding).
6113 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6115 * text2.C (toggleInset): if cursor is inside an inset, close the
6116 inset and leave cursor _after_ it
6118 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6120 * lyxfunc.C: move minibuffer completion handling out of here
6122 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6124 * BufferView_pimpl.C:
6125 * LaTeX.C: fix dispatch calls
6127 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6129 * text.C (drawChars): Fix Arabic text rendering.
6131 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6135 * lyxfunc.C: remove message-push/pop
6139 * lyxfunc.C: rationalise some code by removing verboseDispatch
6140 in favour of a bool argument to dispatch()
6142 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6144 * lyx_main.C (init): make sure to read symlinks as absolute paths
6146 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6149 * lyxfunc.C: no need for commandshortcut to be a member
6151 2002-07-15 André Pönitz <poenitz@gmx.net>
6153 * converter.C: add support for $$s (scripts from lib/scripts dir)
6154 * lyx_main.C: white space
6156 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6160 * lyxrc.C: remove second exit confirmation
6162 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6167 * BufferView_pimpl.h:
6168 * BufferView_pimpl.C:
6169 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6171 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6173 * MenuBackend.C (expand): add numeric shortcuts to document menu
6175 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6177 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6179 * lyxfont.C (setLyXFamily):
6186 * buffer.C (asciiParagraph): use ascii_lowercase
6188 2002-07-15 Mike Fabian <mfabian@suse.de>
6190 * lyxlex_pimpl.C (search_kw):
6191 * lyxlex.C (getLongString):
6192 * converter.h (operator<):
6193 * converter.C (operator<):
6194 * buffer.C (parseSingleLyXformat2Token):
6196 * ToolbarDefaults.C (read):
6197 * MenuBackend.C (checkShortcuts):
6199 * LColor.C (getFromGUIName):
6200 (getFromLyXName): use the compare_ascii_no_case instead of
6201 compare_no_case, because in turkish, 'i' is not the lowercase
6202 version of 'I', and thus turkish locale breaks parsing of tags.
6204 2002-07-16 Angus Leeming <leeming@lyx.org>
6206 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6207 now takes a Buffer const & argument.
6209 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6211 * BufferView.C (resize): check there's a buffer to resize
6213 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6215 * lyxfunc.C: remove dead code
6218 * lyxserver.C: use lyx_guii::set_read_callback
6220 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6222 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6223 an inset in a RTL paragraph.
6225 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6227 * lyxfunc.C: repaint after a font size update
6229 2002-07-15 André Pönitz <poenitz@gmx.net>
6231 * lyxlength.C: inBP should be able to return negative values
6233 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6235 * lyxfunc.C: use lyx_gui::update_fonts()
6237 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6239 * lyxfunc.C: use lyx_gui::update_color()
6241 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6247 * lyxrc.C: remove file->new asks for name option, and let
6248 buffer-new take an argument
6250 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6252 * BufferView_pimpl.C: remove unneeded extra repaint()
6254 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6256 * LyXAction.C: allow command-sequence with NoBuffer
6258 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6260 2002-07-10 Angus Leeming <leeming@lyx.org>
6262 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6264 2002-07-09 Angus Leeming <leeming@lyx.org>
6266 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6268 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6270 * lengthcommon.h: whitespace
6272 * lyxfunc.C: update scrollbar after goto paragraph
6274 * lyxtext.h: factor out page break drawing, and fix it so
6275 page break/added space paints as selected nicely
6277 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6279 * BufferView_pimpl.C: add FIXMEs, clean up a little
6281 2002-07-09 André Pönitz <poenitz@gmx.net>
6283 * lyxfont.[Ch]: support for wasy symbols
6285 2002-07-08 André Pönitz <poenitz@gmx.net>
6287 * BufferView_pimpl.C: apply John's patch for #93.
6289 2002-07-05 Angus Leeming <leeming@lyx.org>
6291 * BufferView_pimpl.C (buffer): generate previews if desired.
6293 * LColor.h: add "preview" to the color enum.
6295 * LColor.C (LColor): add a corresponding entry to the items array.
6297 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6300 2002-07-05 Angus Leeming <leeming@lyx.org>
6302 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6303 The body of the code is now in the method that is passed an ostream &
6304 rather than a file name.
6305 Pass an additional only_preamble parameter, useful for the forthcoming
6308 2002-07-03 André Pönitz <poenitz@gmx.net>
6310 * lyxfunc.C: simplify getStatus() a bit for math stuff
6312 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6314 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6316 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6318 * text.C (changeRegionCase): do not change case of all the
6319 document when region ends at paragraph end (bug #461)
6321 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6323 * paragraph.C (startTeXParParams):
6324 (endTeXParParams): add \protect when necessary
6326 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6328 * BufferView_pimpl.C (workAreaExpose): remove warning
6330 2002-06-27 Angus Leeming <leeming@lyx.org>
6332 * Makefile.am: add lyxlayout_ptr_fwd.h.
6334 2002-06-26 André Pönitz <poenitz@gmx.net>
6336 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6338 2002-06-25 Angus Leeming <leeming@lyx.org>
6340 * lyxfunc.C (dispatch): Comment out the call to
6341 grfx::GCache::changeDisplay. The method no longer exists now that the
6342 pixmap generation part of the graphics loader has been moved into
6345 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6347 * text2.C: layout as layout
6349 * text.C: layout as layout
6351 * tabular.C (OldFormatRead): layout as layout
6353 * paragraph_pimpl.C (TeXDeeper): layout as layout
6354 (realizeFont): layout as layout
6356 * paragraph.C (writeFile): layout as layout
6357 (validate): layout as layout
6358 (getFont): layout as layout
6359 (getLabelFont): layout as layout
6360 (getLayoutFont): layout as layout
6361 (breakParagraph): layout as layout
6362 (stripLeadingSpaces): layout as layout
6363 (getEndLabel): layout as layout
6364 (getMaxDepthAfter): layout as layout
6365 (applyLayout): layout as layout
6366 (TeXOnePar): layout as layout
6367 (simpleTeXOnePar): layout as layout
6368 (TeXEnvironment): layout as layout
6369 (layout): layout as layout
6370 (layout): layout as layout
6372 * lyxtextclass.C (compare_name): new functor to work with
6373 shared_ptr, layout as layout
6374 (Read): layout as layout
6375 (hasLayout): layout as layout
6376 (operator): layout as layout
6377 (delete_layout): layout as layout
6378 (defaultLayout): layout as layout
6380 * lyxlayout_ptr_fwd.h: new file
6382 * lyxlayout.C (Read): layout as layout
6384 * lyx_cb.C (MenuInsertLabel): layout as layout
6386 * bufferlist.C (newFile): layout as layout
6388 * buffer.C (readLyXformat2): layout as layout
6389 (parseSingleLyXformat2Token): layout as layout
6390 (insertStringAsLines): layout as layout
6391 (asciiParagraph): layout as layout
6392 (latexParagraphs): layout as layout
6393 (makeLinuxDocFile): layout as layout
6394 (simpleLinuxDocOnePar): layout as layout
6395 (makeDocBookFile): layout as layout
6396 (simpleDocBookOnePar): layout as layout
6397 (getLists): layout as layout
6399 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6401 * CutAndPaste.C (cutSelection): layout as layout
6402 (pasteSelection): layout as layout
6403 (SwitchLayoutsBetweenClasses): layout as layout
6405 * BufferView_pimpl.C (Dispatch): layout as layout
6406 (smartQuote): layout as layout
6408 * BufferView2.C (unlockInset): layout as layout
6410 2002-06-24 André Pönitz <poenitz@gmx.net>
6412 * lyxfunc.C: fix #487
6414 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6418 * lyxfunc.C: remove display_shortcuts, show_banner
6420 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6422 * Buffer_pimpl.C: oops, update on resize
6424 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6431 * BufferView.C: use repaint()
6433 * BufferView_pimpl.h:
6434 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6435 as it's a clearer description. Remove superfluous
6438 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6440 * text.C: fix bug 488. Not ideal, but getting
6441 getWord() to work properly for the insets that
6442 matter is more difficult ...
6444 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6446 * BufferView_pimpl.C:
6449 * lyxfunc.C: remove the six million index lyxfuncs to just
6450 one, and DTRT (bug 458)
6452 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6456 * BufferView_pimpl.h:
6457 * BufferView_pimpl.C: clean up resize() stuff,
6458 and unnecessary updateScreen()s
6460 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6464 * BufferView_pimpl.h:
6465 * BufferView_pimpl.C:
6468 * minibuffer.C: remove focus management of workarea,
6469 not needed. Use screen's greyOut()
6471 2002-06-17 Herbert Voss <voss@lyx.org>
6473 * converter.C: (convert) do not post a message, when converting
6474 fails, let the calling function decide what to do in this case
6476 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6478 * lyxfunc.C: tidy up a little
6480 2002-06-16 <alstrup@diku.dk>
6482 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6483 Got rid of FORMS_H_LOCATION include. Now we are
6486 2002-06-15 LyX Development team <lyx@rilke>
6488 * buffer.[Ch] (sgmlOpenTag):
6489 (sgmlCloseTag): Added support for avoiding pernicious mixed
6490 content. Return number of lines written.
6493 (makeDocBookFile): Fixed calls to sgml*Tag.
6494 Simple white space clean.
6496 (simpleDocBookOnePar): Simple white space clean.
6498 * tabular.[Ch] (docBook): Renamed to docbook and got another
6499 argument to related with the pernicious mixed content.
6501 (docbookRow): Fixed calls for docbook inset method.
6503 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6505 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6506 so it's X11 independent.
6510 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6512 2002-06-15 Lyx Development team <lyx@electronia>
6514 * intl.h: Renamed getTrans to getTransManager.
6516 2002-06-14 Angus Leeming <leeming@lyx.org>
6518 * Makefile.am: nuke forgotten stl_string_fwd.h.
6520 2002-06-12 Angus Leeming <leeming@lyx.org>
6522 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6524 2002-06-13 Angus Leeming <leeming@lyx.org>
6527 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6529 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6531 * kbmap.C (getiso): add support for cyrillic and greek
6533 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6537 * BufferView_pimpl.h:
6538 * BufferView_pimpl.C: move bogus scrolling logic
6541 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6544 * BufferView_pimpl.C: view->resize() change
6546 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6548 * BufferView_pimpl.C: topCursorVisible
6551 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6555 * lyx_gui.C: move to frontends/
6559 * lyx_main.C: changes from above
6561 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6568 * lyx_main.C: minor tidy
6570 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6572 * BufferView_pimpl.h:
6573 * BufferView_pimpl.C:
6575 * BufferView.C: make painter() const,
6578 * BufferView2.C: use screen() accessor
6581 * lyx_main.C: some minor cleanup
6583 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6585 * BufferView_pimpl.h:
6586 * BufferView_pimpl.C: remove enter/leaveView,
6589 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6594 * BufferView_pimpl.h:
6595 * BufferView_pimpl.C: only construct screen once,
6598 * lyxrc.C: remove pointless comment
6600 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6603 * BufferView.C: remove active() and belowMouse()
6605 * BufferView_pimpl.h:
6606 * BufferView_pimpl.C: use workarea() not workarea_,
6607 and make it use a scoped_ptr instead
6609 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6611 * lyx_gui.C: add debug message on BadWindow
6613 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6615 * sp_spell.C: fdopen is not part of the C++ standard.
6617 * paragraph.C (InsetIterator): use >= instead of ==
6619 2002-06-07 Angus Leeming <leeming@lyx.org>
6621 Fixes needed to compile with Compaq cxx 6.5.
6622 * BufferView_pimpl.C:
6629 * lyxtextclasslist.C:
6634 all c-library variables have been moved into namespace std. Wrap
6635 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6640 Add a using std::abs declaration.
6642 * kbmap.h (modifier_pair):
6643 * paragraph.h (InsetTable, InsetList):
6644 * lyxfont.h (FontBits):
6645 type definition made public.
6647 * bufferlist.C (emergencyWriteAll): the compiler complains that
6648 there is more than one possible lyx::class_fun template to choose from.
6649 I re-named the void specialisation as lyx::void_class_fun.
6651 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6653 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6654 the compiler is is unable to find tostr in write_attribute.
6656 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6658 * buffer.C (sgmlError): hide #warning
6660 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6662 * xtl/*: get rid of xtl, which is not in use anyway
6664 * LyXAction.C (init):
6665 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6666 were unimplemented xtl experimentation
6668 2002-06-04 André Pönitz <poenitz@gmx.net>
6670 * lyxfunc.C: disable array operation on simple formulae
6672 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6674 * converter.C: constify a bit
6676 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6678 * lyx_gui.C: check xforms version correctly
6680 2002-04-30 Herbert Voss <voss@lyx.org>
6682 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6685 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6687 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6688 attempt to register it with a VCS)
6690 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6692 * lyx_main.C (init): honor variables LYX_DIR_13x and
6695 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6699 * lyx_main.C: fix a crash on bad command line,
6700 and give a useful exit status on error
6702 * lyxfunc.C (doImport): allow -i lyx to work
6704 2002-03-30 André Pönitz <poenitz@gmx.net>
6706 * lyxfunc.C: mathed font changes
6708 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6723 * trans_mgr.h: srcdocs, and some minor cleanups
6725 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6727 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6728 call getFont all the time)
6730 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6732 * switch from SigC signals to boost::signals
6734 2002-05-29 André Pönitz <poenitz@gmx.net>
6736 * paragraph_pimpl.C (getChar): don't call size() too often...
6738 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6740 * paragraph_pimpl.C (insertChar): do not try to update tables when
6741 appending (pos == size())
6743 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6744 in order to reduce drastically the number of comparisons needed to
6745 parse a large document
6747 2002-05-29 André Pönitz <poenitz@gmx.net>
6753 * textclasslist.[Ch]:
6754 * sp_ispell.h: whitespace change
6756 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6758 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6759 lyxaction directly now.
6761 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6765 * lyxvc.C: remove unused headers
6767 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6774 * undo_funcs.C: some cleanups. Use shared_ptr
6775 and a template for the undo stacks.
6777 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6779 * BufferView_pimpl.h:
6780 * BufferView_pimpl.C:
6787 * text2.C: use key_state/mouse_state
6789 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6791 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6794 * chset.C: change include order
6795 (loadFile): use boost regex and get rid of LRegex and LSubstring
6797 * Makefile.am (BOOST_LIBS): new variable
6800 * LaTeX.C: change include order.
6801 (scanAuxFile): use boost regex and get rid of LRegex and
6805 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6810 * FontInfo.C: moved to frontends/xforms/
6813 * FontLoader.C: moved into frontends for GUIIzation
6818 * lyxfunc.C: changes from above
6820 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6822 * LColor.C: remove spurious X include
6824 * BufferView_pimpl.C:
6829 * text2.C: move font metrics to frontends/
6831 2002-05-24 Juergen Vigna <jug@sad.it>
6833 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6834 setting the undo_cursor.
6836 * ParagraphParameters.h: include local includes first.
6838 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6840 * BufferView_pimpl.C:
6841 * BufferView_pimpl.h:
6845 * screen.C: move WorkArea into frontends/
6851 * BufferView2.C: move LyXScreen into frontends/
6855 * lyx_gui.C: move lyxlookup into frontends/xforms/
6857 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6860 * BufferView_pimpl.C:
6870 * bufferview_funcs.C:
6883 * vc-backend.C: move LyX/XFormsView into frontends/
6885 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6897 * text2.C: move Painter to frontends/
6899 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6901 * buffer.C: comment out some some code that depend upon lyx_format
6904 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6905 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6907 * buffer.h (NO_COMPABILITY): turn off compability
6909 * ColorHandler.C: include scoped_array.hpp
6911 * font.C: Use more specific smart_ptr header.
6914 * ShareContainer.h: ditto
6918 * BufferView_pimpl.h: ditto
6919 * ColorHandler.h: ditto
6921 * kbmap.C (defkey): change call to shared_ptr::reset
6923 2002-05-21 Juergen Vigna <jug@sad.it>
6925 * buffer.C (insertErtContents): fix to insert ert asis if it is
6926 non empty. Skip it completely if it contains only whitespaces.
6928 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6930 * BufferView_pimpl.C:
6931 * BufferView2.C: clear selection on paste (bug 393)
6933 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6935 * DepTable.C: include ctime
6937 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6939 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6941 2002-05-14 Juergen Vigna <jug@sad.it>
6943 * text.C (breakParagraph): fixed function to honor the keepempty
6944 layout in the right maner and also to permit the right breaking
6945 algorithm on empty or non empyt keepempty paragraphs.
6947 * paragraph.C (breakParagraph): we have to check also if the par
6948 is really empty (!size()) for isempty otherwise we do the wrong
6951 2002-05-10 Juergen Vigna <jug@sad.it>
6953 * buffer.[Ch] : The following are only changes to the ert
6954 compatibility read reading old LaTeX layout and font stuff and
6955 convert it to ERTInsets.
6957 * buffer.h: added isErtInset().
6959 * buffer.C (struct ErtComp): add a fromlayout bool to check
6960 if we're inside a LaTeX layout.
6961 (isErtInset): new helper function.
6962 (insertErtContents): look for other ert insets before this one
6963 and insert the contents there, so that we don't have subsequent
6964 ERT insets with nothing between them. This way we create only one
6965 inset with multiple paragraphs. Also check if we don't insert only
6966 spaces ' ' as they are ignored anyway afterwards in the .tex file
6967 so if we have only spaces we will ignore this latex part in the
6969 (parseSingleLyXformat2Token \\layout): better compatibility when
6970 reading layout-latex stuff.
6971 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6973 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6974 stuff after reading the inset only get the information back from
6977 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6979 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6981 * LaTeXFeatures.C (getBabelOptions): New method.
6983 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6985 * BufferView_pimpl.C (Dispatch): work around missing argument for
6988 2002-05-08 Juergen Vigna <jug@sad.it>
6990 * text.C (leftMargin): handle paragraph leftindent.
6992 * paragraph.C (writeFile): write the new \\leftindent tag.
6993 (validate): handle leftindent code.
6994 (TeXEnvironment): handle paragraphleftindent code again.
6996 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6998 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6999 for paragrap_extra indent code and new token \\leftindent.
7000 (latexParagraphs): handle the leftindent as environment.
7002 * ParameterStruct.h: added leftindent support.
7004 * ParagraphParameters.C (leftIndent): added support functions for
7005 the paragraph left indent.
7007 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7010 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7012 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7015 * text.C (computeBidiTables): No bidi in insetERT.
7017 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7020 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7022 * version.C.in: pre 5
7024 2002-05-02 José Matos <jamatos@fep.up.pt>
7025 * buffer.C (makeDocBookFile): white space changes, add newline to
7027 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7029 * tabular.C (docBook): fix typo.
7031 2002-05-03 Juergen Vigna <jug@sad.it>
7033 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7034 change in LyXText as we can not be sure it was not freed.
7035 (drawOneRow): remove unused code.
7037 * text.C (drawInset): redo the calculation of the need_break_row as
7038 it could have a row which was already freed.
7039 (draw): look at the return value of drawInset and return false if
7040 it also returned false.
7041 (paintRowText): look at the return value of draw and return false if
7042 it also returned false.
7044 * lyxtext.h: added bool return type to drawInset() and draw() so that
7045 if we have a change in the row so that the rowbreak has to be redone
7046 we abort drawing as it will be called again.
7048 2002-05-02 Juergen Vigna <jug@sad.it>
7050 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7051 a change in the maintext also if we're inside an inset.
7052 (Dispatch): set the cursor again after a break line and after the
7053 screen has been updated as it could be we're in a different row.
7055 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7056 to set the cursor behind the pargraph with > size().
7057 (setCursor): check also for the same paragraph when checking where
7058 to put the cursor if we have a NFR inset.
7060 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7061 parts of layout read further up as it still was in the wrong
7064 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7066 * screen.C (drawFromTo): change sine fullRebreak always return
7069 * buffer.C (parseSingleLyXformat2Token): reindent some
7071 * BufferView_pimpl.C (update): change since fullRebreak always
7073 (Dispatch): git rid of the last hardcoded "Standard"s.
7075 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7077 * text2.[Ch] (fullRebreak): make it return void now that we always
7080 2002-04-30 Juergen Vigna <jug@sad.it>
7082 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7083 ert compatibility check for "latex" layout.
7085 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7087 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7088 minipages: use col% instead of p%, and also use the current font.
7089 (makeLaTeXFile): Fix use babel condition.
7090 (parseSingleLyXformat2Token): Correct font when reading old floats.
7092 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7094 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7095 inserting list of floats.
7097 2002-04-25 Herbert Voss <voss@lyx.org>
7099 * MenuBackend.C (expand): don't add the graphics extensions to the
7102 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7104 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7105 non-existing layout, do not complain if it was the default layout
7106 of the original class (bug #342)
7108 2002-04-24 Juergen Vigna <jug@sad.it>
7110 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7111 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7113 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7115 * buffer.C (getBibkeyList): If using \bibliography, return the
7116 option field with the reference itself. Enables us to provide natbib
7117 support when using \bibliography.
7119 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7121 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7123 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7124 natbib is provided by the LaTeX class.
7126 2002-04-23 Juergen Vigna <jug@sad.it>
7128 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7131 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7133 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7135 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7137 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7138 ensuremath around textordmasculine, textordfeminine and
7141 2002-04-19 Juergen Vigna <jug@sad.it>
7143 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7144 reinitializing the buffer otherwise row-dimensions may be wrong.
7145 (update): reset also the selection cursors if they do exits otherwise
7146 their x/y positions may be wrong.
7148 * text2.C (cursorDown): don't enter the inset if we came from a row
7149 above and are one row over the inset.
7151 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7152 really leaving an inset.
7154 2002-04-18 Juergen Vigna <jug@sad.it>
7156 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7157 of the selected paragraph does not have the selected layout also if
7160 * text2.C (setLayout): fixed bug which did not change last selected
7163 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7164 changed the read and substituted \\end_float with \\end_inset!
7166 * BufferView_pimpl.C (cursorPrevious):
7167 (cursorNext): fixed to make it work with rows heigher than the work
7168 area without moving the cursor only the draw of the row.
7169 (workAreaMotionNotify): fix jumping over high rows.
7171 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7173 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7176 2002-04-16 Juergen Vigna <jug@sad.it>
7178 * text2.C (setCursor): set also the irow().
7179 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7181 (cursorDown): support for locking an inset if the x_fix value goes
7182 inside it. That way I can transverse insets too with cursor up/down.
7184 * lyxrow.h: added irow helper function same as other (i) functions.
7186 * BufferView_pimpl.C (cursorPrevious):
7187 (cursorNext): fixed for insets!
7189 2002-04-15 Juergen Vigna <jug@sad.it>
7191 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7192 position otherwise it is wrong in some cases.
7194 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7195 inside the inset before the call.
7197 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7199 * buffer.[Ch] (getBibkeyList): make it const.
7201 2002-04-12 Juergen Vigna <jug@sad.it>
7203 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7205 * text2.C (getCursorX): new helper function
7206 (setCursor): compute also ix_
7207 (setCursorFromCoordinates): set also ix.
7209 * lyxcursor.h: added ix_ and helper functions.
7211 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7213 * buffer.C (insertStringAsLines): dont break paragraph if the this
7214 paragraph is inside an inset which does not permit it!
7216 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7217 also with no chars on this paragraph.
7218 (paintRowText): only paint stuff if it's inside the workarea!
7220 * paragraph.C (breakParagraph): honor keepempty flag and break the
7221 paragraph always below not above.
7223 * BufferView2.C (unlockInset): update the paragraph layout on inset
7224 unlock as we changed paragraph in such a case.
7226 * lyxfind.C (LyXFind): clear the former selection if not found!
7228 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7229 again called in insertChar().
7231 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7232 an inset which uses the whole row!
7233 (rightMargin): ditto.
7234 (insertChar): force a rebreak if we inserted an inset!
7236 2002-03-28 Herbert Voss <voss@lyx.org>
7238 * lyxlength.[Ch]: add inBP() to get the right PS-point
7239 units (BigPoint). With inPixels we have rounding errors
7241 2002-04-11 Juergen Vigna <jug@sad.it>
7243 * text2.C (setCursorFromCoordinates): set iy to the right value.
7244 (setCursor): add check if row->previous exists!
7246 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7247 an old float_type as this was the case in the old code!
7249 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7251 * BufferView2.C (showLockedInsetCursor): use iy
7252 (fitLockedInsetCursor): ditto
7254 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7255 locked insets as there we have the right value now.
7257 * lyxcursor.C: added iy_ variable and iy functions to set to the
7258 baseline of cursor-y of the locked inset.
7260 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7261 (setCursor): fixed for insets which need a full row.
7263 * text.C (rowLastPrintable): don't ignore the last space when before
7264 an inset which needs a full row.
7265 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7266 as last character of a row when before a inset which needs a full row.
7268 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7270 * version.C.in: update date
7272 * text2.C (fullRebreak): try to always return true and see what
7275 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7277 * MenuBackend.C (expand): use Floating::listName
7279 * FloatList.C (FloatList): add listName argument to the built-in
7282 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7283 text associated with the float.
7285 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7287 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7289 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7291 * ShareContainer.h: add a couple of missing typenames.
7293 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7295 * lyxrc.C (getDescription): use _() correctly rather than N_().
7297 2002-03-28 Herbert Voss <voss@lyx.org>
7299 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7300 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7302 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7304 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7305 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7307 2002-03-29 Juergen Vigna <jug@sad.it>
7309 * lyxfunc.C (dispatch): add a missing fitCursor call.
7311 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7312 it was scrolled by a cursor move, so return the bool status.
7314 * BufferView.C (fitCursor): return the bool flag also to the outside
7315 world as this is needed.
7317 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7319 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7320 call the edit() as it is not needed (and wrong) IMO.
7321 (workAreaButtonPress): set the screen_first variable before evt.
7322 unlock the inset as this may change screen_first and then we have
7323 a wrong y position for the click!
7325 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7327 * MenuBackend.C (expand): another translation that I missed
7329 2002-03-28 Juergen Vigna <jug@sad.it>
7331 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7333 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7335 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7337 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7339 * MenuBackend.C (expand): fix export/view/update when there is no
7342 2002-03-27 Herbert Voss <voss@lyx.org>
7344 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7347 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7349 * bufferview_funcs.C (currentState): only show paragraph number
7350 for is DEVEL_VERSION is set.
7352 * lyxfunc.C (dispatch): put warning in INFO channel
7354 * MenuBackend.C (expand): translate the name of floats
7356 * FloatList.C (FloatList): mark the float names for translation
7358 * converter.C (convert): use LibScriptSearch
7360 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7362 * MenuBackend.C (defaults): fix default menu (we might as well get
7365 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7367 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7370 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7372 * lyxvc.C: reorder includes.
7374 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7376 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7379 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7381 * CutAndPaste.C: change layouts earlier on paste
7382 to avoid crashing when calling getFont()
7384 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7386 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7389 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7391 * WorkArea.C: remove 'Pending' debug message.
7393 * most files: ws cleanup
7395 * buffer.[Ch]: ws changes
7397 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7399 2002-03-21 Juergen Vigna <jug@sad.it>
7401 * tabular.C (SetMultiColumn): collapse also the contents of the
7402 cells and set the last border right. Added a Buffer const * param.
7404 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7406 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7409 2002-03-19 Juergen Vigna <jug@sad.it>
7411 * text2.C (clearSelection): reset also xsel_cache.
7413 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7414 where it needs to be called (John tells us to do so too :)
7415 (selectionLost): reset sel_cache.
7417 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7419 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7421 * text2.C (setCursorIntern): put debuging code in INSETS channel
7423 2002-03-19 André Pönitz <poenitz@gmx.net>
7425 * lyxfunc.C: tiny whitespace change
7427 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7429 * ToolbarDefaults.C (init):
7430 * LyXAction.C (init):
7432 * BufferView_pimpl.C (Dispatch):
7433 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7435 2002-03-19 Allan Rae <rae@lyx.org>
7437 * exporter.C (Export): removeAutoInsets before doing anything else.
7438 While I've just introduced a dependency on BufferView this really is
7439 the best place to clean the buffer otherwise you need to cleanup in
7440 a dozen places before calling export or cleanup in a dozen functions
7443 * converter.C (runLaTeX):
7444 (scanLog): Better handling of removeAutoInsets and screen updates.
7446 * lyxfunc.C (dispatch): small whitespace changes
7448 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7450 * WorkArea.C (C_WorkAreaEvent): return a value.
7451 (event_cb): return 1 if we handled the event, 0 otherwise.
7453 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7455 2002-03-18 Juergen Vigna <jug@sad.it>
7457 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7458 (GetAdditionalWidth): ditto.
7462 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7463 inset if we're there actually (probably not used right now but this
7464 is the direction to go for unifying code).
7465 (paste): disable code to clear the selection.
7467 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7468 inside an InsetText and move the check further up as it is in the
7471 * text2.C (pasteSelection): set a selection over the pasted text.
7473 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7475 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7476 and libgraphics to build on Cygwin.
7478 2002-03-15 Juergen Vigna <jug@sad.it>
7480 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7481 inserting an Inset into the paragraph. I know this is not the best
7482 fix but we already use current_view in CutAndPaste so we will remove
7483 all of it's using at the same time.
7485 * buffer.C (sgmlError): deactivated function till it is rewritten in
7486 the right mode, now it can create problems.
7488 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7489 before accessing it.
7491 2002-03-14 Juergen Vigna <jug@sad.it>
7493 * undo_funcs.C (textHandleUndo): do the right thing when updating
7494 the inset after the undo/redo.
7496 * text2.C (setCursor): just some testcode for #44 not ready yet.
7498 * undo_funcs.C (textHandleUndo): set the next() and previous()
7499 pointers of the paragraph to 0 before deleting otherwise we have
7500 problems with the Paragraph::[destructor].
7502 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7503 on a paragraph insertion.
7505 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7507 * buffer.C (asciiParagraph): use += operator for char append to
7510 * paragraph.C (getFontSettings): compare >= not just >
7511 (highestFontInRange): ditto
7514 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7516 * paragraph.C: change several algorithm to be more appripriate for
7517 the problem domain. This is lookip in FontList and in the InsetList.
7519 2002-03-13 André Pönitz <poenitz@gmx.net>
7522 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7524 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7529 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7531 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7533 * Painter.C (display): anon helper function, adjust code for this
7535 (pixmap): remove function.
7537 * Painter.h: remove private display variable.
7539 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7541 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7543 * WorkArea.[Ch]: remove figinset_canvas cruft.
7545 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7547 * lyxtextclass.C (operator): add one item cache optimization.
7549 * bufferlist.h: doxy changes
7551 * bufferlist.C: ws changes
7553 * DepTable.[Ch] (ext_exist): place const in the right spot.
7555 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7557 (workAreaExpose): call resizeInsets when the with BufferView changes.
7558 (Dispatch): adjust for protectedBlank removal
7559 (specialChar): call updateInset if the insert went ok.
7561 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7562 specialChar instead.
7564 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7566 * BufferView.h: doxy change
7568 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7570 * lyxtextclass.C (operator[]): remove non-const version
7571 (defaultLayout): remove non-const version
7573 2002-03-12 Juergen Vigna <jug@sad.it>
7575 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7576 did resize the LyXText too.
7578 * buffer.C (readLyXformat2): set layout information on newly allocated
7581 * tabular.C (OldFormatRead): set layout information on the paragraph.
7583 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7585 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7587 2002-03-11 Juergen Vigna <jug@sad.it>
7589 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7591 (resizeCurrentBuffer): force also the insets to resize themselfes.
7592 (moveCursorUpdate): fixed up for InsetText.
7594 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7597 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7598 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7599 value of Dialogs::tooltipsEnabled().
7600 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7602 2002-03-08 Juergen Vigna <jug@sad.it>
7604 * BufferView_pimpl.C (updateInset): update inset inside inset also
7605 if it isn't inside theLockingInset().
7607 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7609 * buffer.C (asciiParagraph): redo some of the word and line length
7611 (getLists): look for Caption instead of caption.
7613 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7615 * buffer.C (Buffer): initialize niceFile to true
7618 (makeDocBookFile): make sure niceFile is true on exit
7620 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7622 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7624 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7626 * LyXSendto.C: remove.
7627 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7628 * lyx_gui.C: remove now-redundant comment.
7629 * ColorHandler.h: remove forward declaration of class WorkArea.
7630 * lyxfunc.C: remove #include "WorkArea.h".
7632 2002-03-07 Juergen Vigna <jug@sad.it>
7634 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7635 got moved away with the DEPM and also set the inset_owner always
7636 right which before could have been omitted.
7638 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7640 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7641 wanted layout is not found.
7643 2002-03-07 Juergen Vigna <jug@sad.it>
7645 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7647 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7649 * paragraph.C (breakParagraph): use default layout not layout of
7651 (Paragraph): clear ParagraphParameters.
7653 2002-03-06 Juergen Vigna <jug@sad.it>
7655 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7656 otherwise it would not be a valid lenght. Fixed a special case in
7657 the minipage compatibility read where we end the document with a
7660 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7661 was set as it could be 0 for InsetTexts first entry.
7663 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7665 * paragraph.C (writeFile): if layout is empty write out
7666 defaultLayoutName().
7668 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7669 file without named layout we set layout to defaultLayoutName().
7671 2002-03-06 Juergen Vigna <jug@sad.it>
7673 * CutAndPaste.C (copySelection): set layout for new paragraph.
7675 * text.C (prepareToPrint): leave ERT inset left aligned
7676 (leftMargin): don't indent paragraphs inside ERT insets
7678 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7680 * paragraph.C (breakParagraph): dont call clear do the work manually
7682 * paragraph.[Ch] (clear): remove function
7684 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7686 * paragraph.C (Paragraph): dont call clear, the work has already
7689 * lyxtextclass.C (operator): assert if n is empty
7691 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7692 work manually instead.
7694 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7696 * BufferView_pimpl.C: protect selectionLost against text == 0
7698 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7700 * text.C (breakParagraph): fix a setting layout to '0' problem.
7702 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7704 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7705 final location of file, for the included files, and graphics.
7707 2002-03-05 Juergen Vigna <jug@sad.it>
7709 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7711 2002-03-04 Juergen Vigna <jug@sad.it>
7713 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7715 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7716 last column of multicolumn cells.
7717 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7719 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7721 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7722 file if it doesn't go to a temporary file.
7724 * buffer.C (sgmlOpenTag):
7725 (sgmlCloseTag): remove extra newline insertion.
7727 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7729 * text.C (getRowNearY): comment out debug msg
7731 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7733 * text2.C: first -> first_y
7735 * text.C (getRowNearY): add some attemts at a possible
7736 optimization, not working.
7738 * tabular.[Ch]: add BufferParams to several function so that newly
7739 created paragraph can be initialized to he default layotu for the
7742 * tabular-old.C (ReadOld): add buf->params to call of Init
7744 * screen.C: rename text->first to text->first_y
7746 * paragraph.C (breakParagraph): always set layout in the broken
7749 * lyxtextclass.C (Read): remove lowercase
7752 (delete_layout): ditto
7754 * lyxtext.h: rename first -> first_y
7756 * lyxlayout.C (Read): remove lowercase
7759 (obsoleted_by): ditto
7761 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7763 * buffer.C (insertErtContents): add params are to InsetERT
7764 (parseSingleLyXformat2Token): add code to check if a paragraphs
7765 layout really exist.
7766 (parseSingleLyXformat2Token): add params to several inset
7768 (asciiParagraph): remove lowercase, do the layout comparisons with
7771 * BufferView_pimpl.C (cursorNext): first -> first_y
7772 (resizeCurrentBuffer): first -> first_y
7773 (updateScrollbar): first -> first_y
7774 (scrollCB): first -> first_y
7775 (workAreaMotionNotify): first -> first_y
7776 (workAreaButtonPress): first -> first_y
7777 (checkInsetHit): first -> first_y
7778 (cursorPrevious): first -> first_y
7779 (cursorNext): first -> first_y
7780 (Dispatch): add buffer_->params to severl inset contructors
7782 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7784 * lyxlayout.C (Read): remove some debug info that I forgot.
7786 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7787 clean up the code slightly.
7788 (makeLinuxDocFile): ditto
7789 (makeDocBookFile): ditto
7791 * text2.C: layout as string
7793 * text.C: layout as string
7795 * paragraph_pimpl.C: layout as string
7797 * paragraph.[Ch]: layout as string
7799 * lyxtextclasslist.[Ch]: layout as string
7801 * lyxtextclass.[Ch]: layout as string
7803 * lyxtext.h: layout as string
7805 * lyxlayout.[Ch]: layout as string
7807 * lyx_cb.C: layout as string
7809 * bufferview_funcs.C: layout as string
7811 * bufferparams.C: layout as string
7813 * buffer.C: layout as string
7815 * LyXView.[Ch]: layout as string
7817 * LaTeXFeatures.[Ch]: layout as string
7819 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7821 * BufferView_pimpl.C: change current_layout to string, remove
7826 (workAreaButtonRelease): layout as string
7828 * BufferView2.C (unlockInset): adjust
7830 * vspace.C (asLatexCommand): use an explict temp variable.
7832 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7834 * Makefile.am: use FRONTEND_*
7836 2002-03-01 Juergen Vigna <jug@sad.it>
7838 * tabular.C (SetWidthOfMulticolCell): changed to something better
7839 I hope but still work in progress.
7840 (recalculateMulticolumnsOfColumn): renamed function from
7841 recalculateMulticolCells as it is more appropriate now.
7842 (SetWidthOfCell): calculate multicols better.
7844 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7846 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7848 * lyxfunc.C (processKeySym): print sequence also if it is
7849 `deleted' (complete)
7851 * kbsequence.C (print): print sequence even if it is deleted
7852 (complete would be a better word, actually).
7854 * lyxfunc.C (dispatch): print complete options after a prefix key
7856 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7858 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7860 * text2.C (setCharFont): eliminate setCharFont code duplication.
7862 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7864 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7865 LFUN_TABULAR_FEATURE (bug #177)
7867 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7869 * Makefile.am: remove figure.h
7871 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7873 * Bufferview_pimpl.C:
7885 * text2.C: remove #include "lyx_gui_misc.h".
7887 * LaTeX.C: added #include <cstdio>
7889 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7891 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7892 that the paragraph following this one can have.
7894 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7896 * vspace.C (asLatexCommand): fix bogus gcc warning
7898 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7900 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7902 * text2.C (setLayout): get rid of redundant code
7904 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7906 * text2.C (incDepth): make sure depth cannot be increased beyond
7909 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7911 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7912 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7914 * PainterBase.h (image):
7915 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7918 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7922 * BufferView_pimpl.C:
7923 * BufferView_pimpl.h:
7943 * sp_spell.C: remove fig inset, and the crap house of
7944 cards that follows it
7946 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7952 * nt_defines.h: move .h into support/
7954 * vms_defines.h: remove
7956 * WorkArea.C: add space in debug output
7960 * buffer.C: add WITH_WARNINGS
7964 * bufferlist.C: s/retrive/retrieve/, add docs
7975 * lyxgui.C: add ID to X error handler
7977 * lyxtestclass.c: fix typo
7979 2002-02-26 Juergen Vigna <jug@sad.it>
7981 * tabular_funcs.C (write_attribute): changed so that some default
7982 attributes are not written at all.
7983 (getTokenValue): set default values before trying to read the
7984 value so we have the return value always set as default if we don't
7985 find the token we search for.
7987 * tabular.C (Write): write bools as bools not as strings!
7989 2002-02-22 Juergen Vigna <jug@sad.it>
7991 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7992 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7994 * text.C (leftMargin): don't add an indent for paragraphs inside
7995 tabular cells (fix #208).
7997 2002-02-21 José Matos <jamatos@fep.up.pt>
7999 * tabular.C (docBook): fixed support for long tables.
8001 2002-02-20 Juergen Vigna <jug@sad.it>
8003 * text2.C (getFont): get the drawing font of the Inset if this
8004 paragraph is inside an inset (only important for InsetERT for now).
8006 * buffer.C (insertErtContents): use new lanugage params in ERT
8009 * CutAndPaste.C: commenting out seemingly uneeded code.
8011 2002-02-19 Allan Rae <rae@lyx.org>
8013 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8014 Iterators might be simple to use but they also get invalidated.
8015 (removeAutoInsets): renamed saved cursor tracking variables and added
8016 some comments to clarify what everything does.
8018 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8025 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8026 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8029 * vc-backend.h: remove #include "support/syscall.h"
8033 * converter.C: rearrange #includes in Lars' approved fashion.
8035 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8036 forward declare class Timeout in the header file.
8038 * XFormsView.C: changes due to the above.
8040 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8043 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8044 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8046 2002-02-18 José Matos <jamatos@fep.up.pt>
8048 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8051 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8053 * a lot of small ws changes
8054 * add a lot of using std::XXX
8055 * use std construcs some places where approp.
8056 * use some exisint stuff from lyxfunctional where approp.
8057 * Make file changes to use partial linking (lets test this now...)
8059 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8063 remove #include "support/syscontr.h" as it's redundant. Always has been.
8071 change Systemcalls::System to Systemcalls::Wait and
8072 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8073 No change of functionality, just reflects the stripped down Systemcalls
8076 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8078 * debug.[Ch]: add a GRAPHICS type to the enum.
8080 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8082 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8084 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8087 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8089 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8090 match the changes below.
8092 * text2.C (toggleInset): if there is not editable inset at cursor
8093 position, try to see if cursor is _inside_ a collapsable inset
8096 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8098 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8099 document menu has a nice checkbox
8101 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8103 * lyxlength.C (asLatexString): change PW to output as percent of
8106 * lengthcommon.C: change '%' to 't%'
8108 * lyxfunc.C (dispatch): a few comments from Martin
8110 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8114 * BufferView_pimpl.h:
8115 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8118 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8120 * vspace.C (inPixels): fix compiler warning
8122 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8124 * lyxfunc.C (getStatus): fix status message for disabled commands.
8126 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8128 * BufferView_pimpl.C: fix crash on close buffer
8129 during selection (#227)
8131 2002-01-27 Herbert Voss <voss@lyx.org>
8133 * buffer.C: link old Figure to new graphic inset
8135 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8137 * FontLoader.C (getFontinfo): Change the latex font names in order
8138 to match the names of type1inst.
8140 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8142 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8144 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8147 (remove_files_with_extension): ditto
8148 (remove_file): ditto
8151 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8152 document is smaller than the work area height. Do not initialize
8153 static variables to 0.
8155 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8157 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8159 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8160 LFUN_LAYOUT_PARAGRAPHS.
8162 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8163 tabular. It is possible to provide a possible cell, which will
8164 typically be the actcell from the corresponding insettabular
8166 * lyxfunc.C (getStatus): small cleanup; disable
8167 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8170 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8172 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8174 * paragraph.C (startTeXParParams):
8175 (endTeXParParams): new methods. The LaTeX code to
8176 start/end paragraph formatting
8177 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8178 empty (fixes bug #200)
8180 * vspace.C (inPixels): adapt to the change below
8181 (inPixels): [later] more cleanups (remove unused variables)
8183 * lyxlength.C (inPixels): change to use a width and a height as
8186 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8188 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8189 Replaced with \paperwidth
8191 * DepTable.C (insert): add std:: qualifier
8193 2002-01-18 Allan Rae <rae@lyx.org>
8195 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8198 * text.C (drawInset): Turned out I didn't know enough about how
8199 rebreaking worked. This fixes most of the redraw problems. I see
8200 an occasional cursor trail when a line is broken now and the cursor
8201 placement can seem out by a few pixels also after a rebreak.
8203 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8205 * buffer.C (parseSingleLyXformat2Token): update because minipage
8206 width is now a LyXLength
8208 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8210 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8213 2002-01-17 Juergen Vigna <jug@sad.it>
8215 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8217 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8218 is set correctly and the inset is updated correctly.
8220 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8222 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8223 the beginning of the loop.
8225 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8227 * lyxrc.C: improve help for use_scalable_fonts
8229 2002-01-17 Allan Rae <rae@lyx.org>
8231 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8233 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8235 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8236 make sure to set their inset_owner to the right value (bug #171)
8238 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8241 * DepTable.C: Implement mtime checking to reduce time spent doing
8244 2002-01-16 Juergen Vigna <jug@sad.it>
8246 * tabular.C (GetAdditionalHeight): one of error fixed.
8248 * lyxrc.C (output): small fix in writing use_pspell.
8250 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8252 * sp_base.h: #include LString.h
8254 2002-01-16 Allan Rae <rae@lyx.org>
8256 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8257 Can someone check this please?
8259 * text.C (drawInset): It was possible that p.row would be removed by
8260 breakAgainOneRow upsetting a few other settings. There may be another
8261 small tweak possible by setting need_break_row = 0 when p.row has been
8262 removed but I don't know enough about the logic here.
8264 2002-01-15 Allan Rae <rae@lyx.org>
8266 * text.C (insertChar): removed conditional truism.
8268 * BufferView2.C (removeAutoInsets): More tweaks.
8269 cur_par_prev could be a stray pointer. Check for trailing empty line
8270 in case last line was cur_par and only had an error inset on it.
8272 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8274 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8277 * vc-backend.C (most methods):
8278 * exporter.C (Export):
8279 * converter.C (convert):
8281 * LyXSendto.C (SendtoApplyCB):
8282 * lyxfunc.C (dispatch):
8286 * lyx_cb.C (AutoSave):
8288 * BufferView_pimpl.C (MenuInsertLyXFile):
8289 * buffer.C (runChktex): use Buffer::filePath().
8291 * buffer.h: rename filename to filename_; rename filepath to
8292 filepath_ and make it private
8293 (filePath): new method
8295 * buffer.C (writeFile): use fileName()
8298 * lyx_main.C (init): fix starting of LyX when the binary is a
8299 link from so,ewhere else.
8301 * minibuffer.C: include <cctype> for isprint
8303 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8305 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8306 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8307 name clash with InsetCollapsable's width function.
8309 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8311 * lastfiles.C: include <iterator>
8313 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8315 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8318 * buffer.C (makeLaTeXFile): ditto.
8319 Also make loop operation more transparent.
8321 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8323 * ToolbarDefaults.C: remove trailing comma closing namespace.
8325 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8327 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8330 * trans.C (Load): comment out unused variable, allowed.
8332 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8334 * minibuffer.[Ch] (append_char): new method to recieve input from the
8335 drop-down completion browser. If a key was pressed, then recieve this
8336 char and append it to the existing string.
8337 (peek_event): modify the positioning data passed to the completion
8338 browser so that it can be placed above the minibuffer rather than below.
8339 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8341 * LyXAction.C (init): alloe error-next for readonly documents.
8343 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8346 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8348 * bufferlist.C (readFile): create the buffer _after_ checking that
8351 * lyxfunc.C (verboseDispatch): fix handling of arguments
8353 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8355 * lyxrc.C: use string::erase() instead of initializing to "".
8358 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8360 * BufferView_pimpl.h:
8361 * BufferView_pimpl.C:
8364 * text2.C: tell X when we have made a selection for copying
8366 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8368 * BufferView_pimpl.C (MenuInsertLyXFile):
8369 * lyxfunc.C (menuNew):
8371 (doImport): add shortcuts to directory buttons
8373 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8376 * lyxfunc.C (setStatusMessage):
8377 (getStatusMessage): new methods
8378 (getStatus):use setStatusMessage instead of setErrorMessage
8379 (dispatch): when function is disabled, set error message here
8380 [instead of in getStatus previously]
8382 * BufferView_pimpl.C (workAreaButtonRelease): update
8383 toolbar/menubar here too.
8385 2002-01-13 Allan Rae <rae@lyx.org>
8387 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8388 Now seems indestructible. Remaining task is to audit all other
8389 code affected by deleteEmptyParagraphMechanism. One small quirk
8390 left is that an empty document with an error in the preamble can
8391 be made to report an error but no error box appears. I don't know
8393 (removeAutoInsets): Improved comments.
8395 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8398 * Thesaurus.C: update for Aiksaurus 0.14
8400 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8402 * text2.C (firstParagraph): removed member function, all uses
8403 replaces with ownerParagraph
8404 (redoParagraphs): here
8406 (toggleAppendix): here
8407 * BufferView2.C (insertErrors): here
8408 (setCursorFromRow): here
8410 2002-01-13 Allan Rae <rae@lyx.org>
8412 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8413 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8414 There is still a way to segfault this although you may have to do this
8415 multiple times: Have an InsetERT with an unknown command in it.
8416 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8417 <down-arrow>, <Enter> again, View->DVI, BANG!
8419 * text2.C (setCursor):
8420 (deleteEmptyParagraphMechanism):
8421 * lyxtext.h (setCursor):
8422 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8423 Making use of the return value may help fix other bugs.
8425 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8427 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8429 * LyXView.C (updateMenubar): call MenuBar::update here
8430 (updateToolbar): but not here
8431 (showState): do not update toolbar/menubar
8433 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8434 should need to care about that.
8436 * lyxfunc.C (verboseDispatch): simplify a bit
8437 (getStatus): have a version which takes a pseudoaction, and
8438 another which requires a (kb_action,string).
8440 * LyXAction.C (retrieveActionArg): make it work also when action
8441 is not a pseudo-action.
8442 (getActionName): simplify a bit
8445 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8447 * lyxfunc.C (verboseDispatch): new families of methods with
8448 several ways to specify a command and a bool to indicate whether
8449 the command name and shortcut should be displayed in minibuffer
8450 (eventually, we could extend that to a finer bitmask like
8451 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8452 (dispatch): the pristine dispatch command which just, well,
8453 dispatchs! Note it still sets its result to minibuffer; I'm not
8456 * lyxfunc.h: remove setHintMessage
8458 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8460 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8462 * BufferView_pimpl.C (specialChar): delete new inset if we have
8463 not been able to insert it.
8465 * kbmap.C: revert to using int instead of kb_action, since all we
8466 are dealing with is pseudo-actions.
8468 * LyXAction.C (searchActionArg): change to return int instead of
8469 kb_action, since the result is a pseudoaction.
8471 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8473 * buffer.C (insertErtContents): Fix (partially) the font bug.
8475 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8477 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8478 as the other one is broken on my machine!
8480 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8483 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8485 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8487 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8488 reflect their actual use. Provide compatibility code for older lyxrc
8491 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8493 change names of popup font variables in line with the changes to lyxrc.C
8495 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8497 * buffer.C (asciiParagraph): avoid outputing a word twice after
8500 * lyxrc.C (getDescription): document that document_path and
8501 template_path can be empty.
8503 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8505 * LaTeXFeatures.C (getMacros):
8506 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8508 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8510 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8512 (getPackages): rename feature "floats" to "float". Use an array to
8513 iterate over 'simple' features (i.e. just a \usepackage). Add
8514 handling of "amsmath" (renamed from "amsstyle").
8516 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8518 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8521 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8523 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8524 FuncStaus::FuncStatus & FuncStaus::some_method().
8526 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8528 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8529 of the func_satus stuff. Edited and massaged in various ways by
8532 * lyxfunc.C (getStatus): use FuncStatus
8534 2002-01-08 Juergen Vigna <jug@sad.it>
8536 * text.C (nextBreakPoint): use function Inset::isChar().
8538 * paragraph.C (TeXOnePar): use function
8539 Inset::forceDefaultParagraphs.
8541 * buffer.C (latexParagraphs): use function
8542 Inset::forceDefaultParagraphs.
8544 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8546 * lyx_gui.C (init): set the style of the menu popups to
8547 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8549 2002-01-07 Juergen Vigna <jug@sad.it>
8551 * text.C (setHeightOfRow): small fix
8552 (prepareToPrint): don't look at alignment if we don't have the place
8555 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8557 * box.C: New file. Move the Box methods and functions out of box.h,
8558 following Lars' suggestion.
8560 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8562 * box.h: #include "support/LOstream.h", needed for inlined function.
8565 * lyxtextclasslist.C: added some using std declarations.
8567 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8569 * box.h: make signed dimensions to allow insets wider than
8570 the screen (bug #162)
8572 * BufferView_pimpl.C: add some insetHit debug
8574 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8576 * vc-backend.C: add FIXME
8578 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8580 * lyxfunc.C (getStatus): enable code for showing math font status
8583 2002-01-07 Juergen Vigna <jug@sad.it>
8585 * text.C (nextBreakPoint): removed debug output not needed anymore.
8587 2002-01-06 Juergen Vigna <jug@sad.it>
8589 * text.C (nextBreakPoint): fixed up this function we had this bug
8590 since ever but now hopefully we break row better.
8591 (insertChar): we have to check if an inset is the next char as it
8592 could now happen that a large inset is causing a break.
8594 2002-01-05 Juergen Vigna <jug@sad.it>
8596 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8597 if it doesn't like to be drawed.
8599 2002-01-04 Juergen Vigna <jug@sad.it>
8601 * BufferView2.C (lockInset): forgot to set a cursor.
8603 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8605 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8610 * form_maths_panel.C:
8611 * form_maths_panel.h:
8612 * form_maths_panel.fd: implemented sub- and super- buttons in math
8615 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8616 (or ^ space) to be used as in TeX (req'd by André).
8618 * lyxfunc.C: Allow ^ and _ again to be used both as
8619 super/subscript (mathed) and as themselves (in text).
8621 2002-01-03 Allan Rae <rae@lyx.org>
8623 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8624 "LyX" or the filename of the current buffer if it has one. This is a
8625 modified form of John Levon's patch.
8627 * XFormsView.C (setWindowTitle): also set icon title.
8629 * LyXView.h (setWindowTitle): signature changed.
8630 * XFormsView.h (setWindowTitle): ditto.
8632 2002-01-02 Juergen Vigna <jug@sad.it>
8634 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8636 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8638 * screen.C (topCursorVisible): introduce a temp var for
8639 text->cursor.row(), handle the case where this row is null. (kindo
8642 * text2.C (setCursor): add a couple of asserts.
8644 * paragraph.h (inset_iterator): add -> operator
8646 * paragraph.[Ch] (autoDeleteInsets): remove member function
8648 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8649 cursor pos correctly and handle inset deletion by itself.
8650 (insertErrors): move iterator declaration out of for expression
8652 * lyxtextclass.C: add <algorithm>
8654 * Makefile.am: added the new files to sources, removed layout.C
8656 * layout.C: removed file
8658 * layout.h: remove LYX_DUMMY_LAYOUT
8660 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8664 * lyxtextclass.[Ch]:
8665 * lyxtextclasslist.[Ch]: new files
8667 * include order changes to a lot of files, also changes because of
8670 2001-12-27 Juergen Vigna <jug@sad.it>
8672 * buffer.C (asciiParagraph): more fixes.
8674 * tabular.C (ascii): make ascii export support export of only the
8675 data separated by a column-delimiter.
8676 (ascii): better support for ascii export.
8678 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8680 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8682 * tabular_funcs.C: use a "using std::getline" instead of the
8683 previous fix from Angus (necessary for cxx + lyxstring)
8685 2001-12-24 Juergen Vigna <jug@sad.it>
8687 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8689 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8690 problems. First check a minipage also if we have some ert-contents
8691 (not only on par->size(), second set the right depth of the paragraph
8692 on the relink to the root-paragraph-list!
8694 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8695 which then did not anymore update the main paragraphs on undo/redo!
8697 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8699 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8700 code. Support all font-changing funcs (even those which are not in
8701 menu currently). Support for reporting font settings in
8702 mathed (disabled until Andre provides a function on mathed's side).
8704 * func_status.h (toggle): small helper function to set toggle
8707 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8709 * tabular_funcs.C: getline -> std::getline
8711 2001-12-21 Juergen Vigna <jug@sad.it>
8713 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8714 accessed and could be 0 (I couldn't generate this but it seems
8717 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8719 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8720 * tabular_funcs.h: here and include iosfwd
8722 2001-12-20 Juergen Vigna <jug@sad.it>
8724 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8725 inside inset but undo_par was.
8727 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8729 * Thesaurus.C: always include <config.h> in sources.
8733 * box.h: do not include <config.h> in header files
8735 * text.C (paintLastRow): remove unused variable
8737 * text.C (transformChar):
8739 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8742 * font.C (width): rewrite to use uppercase() instead of
8745 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8747 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8749 * lyxfind.C: clean up of find failure position change
8751 2001-12-20 Juergen Vigna <jug@sad.it>
8753 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8755 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8756 (TeXRow): added to LaTeX a single tabular row.
8757 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8758 (Latex): simplified and finally good LT-h/f support.
8759 (various_functions): just small adaptions for LT-h/f support.
8761 * tabular_funcs.[hC]: added and moved here all not classfunctions
8764 2001-12-19 Juergen Vigna <jug@sad.it>
8766 * tabular.[Ch]: better support for longtabular options (not finished
8769 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8771 * text.C (paintLastRow): use the label font instead of the font of
8772 the last character to compute the size of *_BOX. This makes more
8773 sense and avoids a crash with empty paragraphs.
8774 Use Painter::rectangle to draw EMPTY_BOX.
8776 2001-12-19 Juergen Vigna <jug@sad.it>
8778 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8779 the paragraphs if the replaced paragraph is not the first one!
8780 Tried to delete not used paragraphs but does not work yet so for
8781 now it's inside #ifdef's and by default off!
8783 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8785 * MenuBackend.C: include "lyx_main.h" instead of declaring
8786 lastfiles (actually was declared as LastFiles* instead of a
8789 2001-12-17 Juergen Vigna <jug@sad.it>
8791 * tabular.C (AppendColumn): applied John's fix
8793 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8797 * BufferView_pimpl.h:
8798 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8801 * box.h: new start of class for above
8803 * lyxfunc.C: ignore space-only minibuffer dispatches.
8804 Show the command name when it doesn't exist
8806 * minibuffer.C: don't add empty lines to the history
8808 * minibuffer.C: add a space on dropdown completion
8810 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8812 * text.C: fix line above/below drawing in insets
8814 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8816 * lyxlength.C (LyXLength): Initialize private variables.
8818 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8820 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8821 when inserting error insets.
8823 2001-12-13 Juergen Vigna <jug@sad.it>
8825 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8826 actually sometimes the before-paragraph.
8827 (setUndo): don't clear the redostack if we're not actually undoing!
8829 2001-12-06 Juergen Vigna <jug@sad.it>
8831 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8832 and fixed redoing of main paragraph, so we can use it now ;)
8834 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8836 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8838 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8841 2001-12-13 André Pönitz <poenitz@gmx.net>
8844 * undo_func.C: minor cleanup
8846 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8848 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8849 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8850 font in urw-fonts package which is marked as -urw-fontspecific and
8851 does not work (incidentally, changing the encoding in the
8852 fonts.dir of this package to -adobe-fontspecific fixes the
8855 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8856 is a crash when undoing first paragraph (Juergen, please take a
8857 look). THis does not mean the undo fix is wrong, just that it
8860 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8861 the (Paragraph*) version when needed instead of duplicating the
8864 * text.C (workWidth): use Inset::parOwner to find out where the
8865 inset has been inserted. This is a huge performance gain for large
8866 documents with lots of insets. If Inset::parOwner is not set, fall
8867 back on the brute force method
8869 * paragraph_pimpl.C (insertInset):
8870 * paragraph.C (Paragraph):
8871 (cutIntoMinibuffer): set parOwner of insets when
8872 inserting/removing them
8874 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8876 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8882 * mathed/formulabase.C:
8883 * mathed/math_cursor.[Ch]:
8884 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8887 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8889 * lyxlength.[Ch] (operator!=): new function
8891 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8893 * text.C (workWidth): use Inset::parOwner to find out where the
8894 inset has been inserted. This is a huge performance gain for large
8895 documents with lots of insets. If Inset::parOwner is not set, fall
8896 back on the brute force method
8898 * paragraph_pimpl.C (insertInset):
8899 * paragraph.C (Paragraph):
8900 (cutIntoMinibuffer): set parOwner of insets when
8901 inserting/removing them
8903 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8905 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8907 * tabular-old.C (getTokenValue):
8908 * tabular.C (getTokenValue):
8909 (write_attribute): new versions for LyXLength
8910 (everywhere): adjust the use of widths
8912 * tabular.h: change the type of widths from string to LyXLength
8914 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8916 * paragraph.C: fixed missing line number count when exporting
8917 Environments to LaTeX file
8919 * buffer.C: added informational message for checking line numbers.
8921 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8923 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8924 paragraph, do the 'double space' part, but not the 'empty
8927 * text.C (workWidth): small optimization
8928 (getLengthMarkerHeight): use minimal size for negative lengths.
8930 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8932 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8934 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8936 2001-12-11 André Pönitz <poenitz@gmx.net>
8939 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8941 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8943 * text2.C: keep selection on a setFont()
8945 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8947 * lyx_cb.C: another bv->text misuse, from insert label
8949 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8952 * kbsequence.C: re-instate nmodifier mask
8954 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8956 * lyx_main.h: make lyxGUI private.
8958 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8960 * lyxfind.C: place the cursor correctly on failed search
8962 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8964 * text.C (getLengthMarkerHeight): for small heights, the arrows
8965 are not always on top/bottom of the text
8966 (drawLengthMarker): smaller arrows; take the left margin in
8967 account; draw also vfills.
8969 (paintLastRow): remove special code for vfill and standard spaces,
8970 since everything is handled in drawLengthMarker now.
8972 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8974 * buffer.C (insertErtContents): try to handle font and language
8975 interaction a bit better.g
8977 * ColorHandler.C (updateColor): change the hash to cover the whole
8978 LColor enum, ws cleanup
8979 (getGCLinepars): ditto
8980 (getGCLinepars): only lookup in the linecache once.
8982 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8984 * iterators.C (operator++): Make the iterator more robust
8986 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8988 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8990 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8993 * text.C: better added space drawing
8995 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8998 * BufferView2.C: fix layout combo update on inset unlock
9000 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9002 * Makefile.am: don't compile unused files
9004 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9008 * LyXAction.C: remove old LFUN_LAYOUTNO
9010 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9012 * paragraph_pimpl.h:
9013 * paragraph_pimpl.C: isTextAt() doesn't need font param
9015 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9018 * lyxlex.C: little cleanup
9020 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9022 * BufferView_pimpl.C: fix insertAscii for insets
9024 2001-12-05 Juergen Vigna <jug@sad.it>
9026 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9027 set the right font on the "multi" paragraph paste!
9029 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9035 * lyxlength.C: remove out-commented code.
9051 * vc-backend.C: change "while(" to "while ("
9053 * lyxlength.[Ch]: add zero function to check if length is zero or
9055 * lyxgluelength.C: use it
9057 2001-12-05 Allan Rae <rae@lyx.org>
9059 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9060 Works for 2.95.3, from what I understand of Garst's reports this should
9061 work for other g++ versions. We're screwed if the abs(int) definition
9062 changed between bugfix releases of gcc.
9064 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9066 * text.C: fix chapter label offset !
9068 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9071 * text.C: fix hfill at end of line, clean up
9073 2001-12-04 Juergen Vigna <jug@sad.it>
9075 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9076 that we force an update of the inset and it's owners if neccessary.
9078 2001-12-03 Juergen Vigna <jug@sad.it>
9080 * text.C (rowLast): simplified code
9082 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9084 * lyxfunc.C: fix show options on timeout
9086 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9088 * screen.C (topCursorVisible): scroll half a page when the cursor
9089 reached top of bottom of screen
9091 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9093 * minibuffer.C: deactivate on loss of focus
9095 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9097 * vspace.[Ch] (operator!=): add operator.
9099 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9101 * BufferView_pimpl.C: refuse to open an inset when
9102 there's a selection.
9104 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9106 * BufferView_pimpl.C: allow to click on RHS of full row insets
9108 2001-11-30 Juergen Vigna <jug@sad.it>
9110 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9111 insets for undo reasons.
9113 2001-11-28 André Pönitz <poenitz@gmx.net>
9115 * vspace.[Ch]: cosmetical changes
9117 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9127 * kbsequence.C: part re-write of old kb code
9130 * WorkArea.C: remove Lgb_bug_find_hack
9132 2001-11-30 José Matos <jamatos@fep.up.pt>
9134 * buffer.C (makeDocBookFile): add a comment to point a hack.
9135 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9136 Fixed a double write of labels.
9138 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9141 * LaTeX.h Fixed bug in LaTeX class where it would not
9142 re-run latex if no depfiles were changed, but the .dvi was removed.
9144 2001-11-28 André Pönitz <poenitz@gmx.net>
9146 * all the files from the change on 2001/11/26:
9147 use lyx::layout_type instead of LyXTextClass::size_type
9148 use lyx::textclass_type instead of LyXTextClassList::size_type
9150 2001-11-29 Juergen Vigna <jug@sad.it>
9152 * text.C: added support for paragraph::isFreeSpacing()
9154 * buffer.C: same as above
9156 * paragraph.h: inserted isFreeSpacing() function to enable
9157 FreeSpacing inside InsetERT.
9159 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9160 of the paragraph's in the cut/copy buffer to 0!
9162 * text2.C (removeRow): remove the assert as it can!
9164 * lyxtext.h: added helper function firstRow returning firstrow and
9165 made firstrow private again.
9167 * BufferView2.C (lockInset): don't relock if we're already locked!
9169 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9171 (removeRow): added Assert::(firstrow)
9173 * debug.C: forgot to add INSETTEXT here.
9175 2001-11-28 Juergen Vigna <jug@sad.it>
9177 * sp_spell.C (initialize): changed error text to more general
9178 spellchecker command use (not only ispell!)
9180 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9182 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9184 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9186 * vspace.C: initialise lyxgluelength on failure
9188 2001-11-28 Allan Rae <rae@lyx.org>
9190 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9191 declaration & definition that looks like a function declaration.
9193 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9195 * BufferView2.C (copy):
9196 (copyEnvironment): do not clear the selection when doing a copy.
9198 * text.C (paintFirstRow): compilation fix
9200 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9202 * tabular.C (Latex): correct line count when writing latex.
9204 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9206 * paragraph_pimpl.h:
9207 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9210 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9214 * LColor.C: change vfillline->added_space
9216 * text.C: add markers and text for added space
9218 * vspace.C: fix comment
9220 2001-11-28 André Pönitz <poenitz@gmx.net>
9222 * paragraph.C: whitespace changes
9223 * all the other files from the change on 2001/11/26:
9224 change *::pos_type into lyx::pos_type
9226 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9228 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9229 language of the document when inserting error insets.
9231 2001-11-26 André Pönitz <poenitz@gmx.net>
9233 * BufferView_pimpl.[Ch]:
9241 * paragraph_pimpl.[Ch]:
9244 * text2.C: reduce header dependencies, introduce type for positions
9246 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9248 * <various>: change to use Alert.h
9250 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9252 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9253 when encountering an unknown token.
9254 (readLyXformat2): Show an error message if there were unknown tokens.
9256 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9259 * BufferView_pimpl.C:
9263 * text2.C: use par->isInset()
9265 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9267 * paragraph_pimpl.h:
9268 * paragraph_pimpl.C: cleanup
9270 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9272 * text2.C (removeRow):
9273 * text.C (setHeightOfRow): remove useless (and costly) call to
9276 2001-11-20 Allan Rae <rae@lyx.org>
9278 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9279 Now need Inset*::checkInsertChar() to return true for appropriate
9280 cases so that the characters in the minibuffer will actually be
9283 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9285 * text.C: change the order of the includes.
9286 (workWidth): initialize it at once.
9287 (workWidth): make maxw unsigned
9288 (setHeightOfRow): remove unused variable (inset)
9289 (selectSelectedWord): remove unused variable (inset)
9290 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9292 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9294 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9295 server is not running.
9297 (closeConnection): add debug info when server is disabled.
9299 * ColorHandler.C (getGCForeground): send debug message to GUI
9302 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9304 * kbmap.C (bind): modify because return conventions of
9305 kb_sequence::parse have changed.
9307 * kbsequence.C (parse): only ignore spaces and not any stupid
9308 control character. This avoids tests like s[i] <= ' ', which are
9309 guaranteed to fail with 8bit characters and signed chars.
9310 Change return code to string::npos when there have been no error
9311 (0 was a bad idea when error is at first character)
9313 2001-11-14 José Matos <jamatos@fep.up.pt>
9316 * buffer.C (simpleDocBookOnePar): removed unused argument.
9318 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9320 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9321 insets which are part of a word. Paragraph::isLetter takes care of
9322 that now. Use Paragraph::isInset to identify insets.
9323 (selectSelectedWord): do not test for hyphenation break.
9325 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9326 that protected spaces are considered as spaces.
9328 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9331 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9334 * lyxserver.C: fix it. and small cleanup.
9336 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9338 * BufferView_pimpl.C: use inline helpers
9341 * LaTeXFeatures.C: fix typos
9344 * Spacing.C: move spacing_string into class
9346 * ToolbarDefaults.C: move stuff into namespace anon
9348 * layout.h: update enum
9350 * lyxfunc.C: use better debug
9352 * minibuffer.h: fix typo
9356 * WorkArea.C: add and use Debug::WORKAREA
9360 * text2.C: code re-organisation, inline helpers
9362 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9364 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9365 std::vector.empty().
9367 2001-11-09 Allan Rae <rae@lyx.org>
9369 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9370 '\n's after tables. Tabular and ERT inset work now makes this no
9373 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9376 * minibuffer.C: fix crash, improve drop-down completion
9378 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9381 * lyxserver.C: invalidate fd's when doing endPipe()
9383 2001-11-08 José Matos <jamatos@fep.up.pt>
9385 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9386 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9389 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9391 2001-11-07 José Matos <jamatos@fep.up.pt>
9394 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9397 * buffer.C (sgmlOpenTag):
9398 * buffer.C (sgmlCloseTag): removed debug info.
9400 * buffer.h (sgmlOpenTag):
9401 * buffer.h (sgmlCloseTag): made public.
9403 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9405 * buffer.C (saveParamsAsDefaults):
9406 * lyx_cb.C (MenuLayoutSave): remove
9408 * LyXAction.C (init):
9410 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9412 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9414 * buffer.C (setPaperStuff): removed from here...
9416 * bufferparams.C (setPaperStuff): ... and moved there.
9418 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9422 * XFormsView.C: add support for drop-down completion
9424 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9426 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9429 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9431 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9434 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9436 * lyx_main.C: change ref to known bugs
9438 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9440 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9441 to work around older babel problems.
9443 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9445 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9447 2001-10-24 Juergen Vigna <jug@sad.it>
9449 * tabular-old.C (ReadOld): below variable changes reflected.
9451 * tabular.[Ch]: added ltType struct for longtable header/footer
9452 defines and changed all instances where they are used. Added
9453 future support for double top/bottom rows.
9455 2001-10-24 José Matos <jamatos@fep.up.pt>
9457 * buffer.h (docbookHandleCaption):
9458 * buffer.C (docbookHandleCaption): removed unused function.
9459 (makeDocBookFile): moved docbook supported version to v4.1.
9461 2001-10-24 José Matos <jamatos@fep.up.pt>
9464 * tabular.C (docbookRow): new function to export docbook code of a row.
9465 (DocBook): now honors the longtable flags.
9467 2001-10-23 José Matos <jamatos@fep.up.pt>
9470 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9471 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9473 * buffer.C (makeLinuxDocFile):
9474 (makeDocBookFile): reworked the preamble, more clean, and with
9475 support for lyx defined entities. Changed the document declaration
9476 to be more XML friendly.
9478 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9479 if we need to output XML that should be done with a filter.
9481 2001-10-22 Juergen Vigna <jug@sad.it>
9483 * sp_pspell.h (class PSpell): add alive function needed in the
9484 controller to see if the spellchecker could be started.
9486 2001-10-22 Juergen Vigna <jug@sad.it>
9488 * buffer.C (insertStringAsLines): modify the font for inserting
9489 chars in certain conditions by calling checkInsertChar(font).
9491 2001-10-19 Juergen Vigna <jug@sad.it>
9493 * text.C (workWidth): use getRow instead of wrong algorithm.
9494 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9496 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9501 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9503 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9505 * text.C (workWidth): do not search for the exact row when
9506 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9507 optimization for big documents.
9509 2001-10-18 Juergen Vigna <jug@sad.it>
9511 * text.C (workWidth): new function with added Inset * parameter.
9513 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9515 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9517 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9518 change return type of getColumnNearX.
9521 * text.C (changeRegionCase): use uppercase/lowercase instead of
9524 (rightMargin): simplify code by factoring out the uses of
9529 (appendParagraph): use Paragraph::size_type
9531 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9533 * vspace.C (asLatexString): add a missing break
9535 2001-10-15 Herbert Voss <voss@perce.de>
9537 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9539 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9541 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9544 2001-10-10 André Pönitz <poenitz@gmx.net>
9546 * lyxfunc.C: removed greek_kb_flag.
9548 2001-10-10 Herbert Voss <voss@perce.de>
9550 * lyx_main.C: delete global string help_lyxdir.
9552 2001-10-09 Herbert Voss <voss@perce.de>
9554 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9556 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9558 * lyx_main.C: added global string help_lyxdir.
9560 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9562 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9564 * lyxrc.C (set_font_norm_type): support iso8859-4
9566 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9568 * LaTeX.C (deplog): add another regex for MikTeX
9570 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9572 * lyxrc.C (set_font_norm_type): support iso8859-3
9574 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9576 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9578 * LaTeXFeatures.C: remove special case of french and index
9580 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9581 before \begin{document}). This solves several incompatibilities.
9583 2001-10-03 Garst Reese <reese@isn.net>
9585 * lyx_cb.C: change CheckTex error msg.
9587 2001-10-03 José Matos <jamatos@fep.up.pt>
9589 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9591 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9593 * .cvsignore: update
9595 * lyx_main.C (commandLineVersionInfo): use new style version info.
9597 * buffer.C (writeFile):
9600 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9602 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9604 * version.h: update to use stuff in version.C
9606 * version.C.in: new file. Contains version information determined
9607 at compile time. This is a merging of version.h and
9610 2001-10-03 Juergen Vigna <jug@sad.it>
9612 * BufferView_pimpl.C (update): don't change "dirty" status in
9615 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9617 * WorkArea.C (c-tor): re-position version string slightly.
9619 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9621 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9622 revert to previous code.
9624 WorkArea.[Ch]: (show, destroySplash): methods removed.
9626 WorkArea.C: rework code so that it's an amalgam of the codes before and
9627 after the splash screen was moved to WorkArea.
9629 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9632 * vspace.C (inPixels):
9635 * buffer.C (insertStringAsLines):
9636 (asciiParagraph): fix types to be large enough
9638 * lyxlex_pimpl.h: change member status from short to int
9640 * layout.h: fix type of endlabeltype
9643 * kbsequence.C (parse): change return type to string::size_type
9645 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9648 * Bullet.C (bulletSize):
9649 (bulletEntry): do not use short ints as parameters
9651 * BufferView2.C (insertLyXFile): change a char to an int.
9653 * WorkArea.C (WorkArea): remove unneeded floats in computation
9655 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9657 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9659 * paragraph.C (asString): Do not ignore newline/hfill chars when
9660 copying to the clipboard.
9662 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9664 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9665 after a multi-line inset.
9667 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9669 * paragraph.C (validate): Set NeedLyXFootnoteCode
9671 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9673 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9674 and decrease-error to decrease.
9676 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9679 it more readable (should be equivalent)
9681 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9683 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9685 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9687 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9688 of a cursor (row, etc.) after a character has been deleted
9689 (deleteEmptyParagraphMechanism): call the method above on _all_
9690 cursors held by the LyXText when a double space has been
9693 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9695 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9697 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9699 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9700 background. Use greyOut() and the new show() methods to toggle between
9701 the foreground and background. Add code to remove the splash after
9702 its initial showing.
9704 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9705 (create_forms): no longer call Dialogs::showSplash.
9707 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9709 * .cvsignore: add version_info.h
9711 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9713 * version_info.h.in: new file
9715 * Makefile.am: add version_info.h.in
9717 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9718 version_info.h instead of VERSION_INFO
9720 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9722 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9723 The ERT inset now returns string().
9725 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9727 * lyxtext.h, text.C (selectNextWord): renamed as
9728 selectNextWordToSpellcheck.
9730 * text.C (selectNextWordToSpellcheck): Modified to not select
9731 words inside an ERT inset.
9733 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9735 * lyx_cb.C (MenuLayoutSave): change a bit the question
9737 * sp_base.h: include <sys/types.h>
9739 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9741 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9743 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9745 * several files: fix typos in user-visible strings
9747 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9749 * text2.C (pasteSelection): do not set the selection, since it
9750 will be cleared later. Actually, the intent was to fix the way the
9751 selection was set, but I figured rmoving the code was just as good.
9753 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9755 * FontLoader.C (available): Check if font is available without
9758 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9760 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9762 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9764 * lyxrc.[Ch]: added display_graphics variable and associated code.
9766 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9768 * bufferparams.C (hasClassDefaults): new method. Returns true if
9769 the buffer parameters correspond to known class defaults
9771 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9773 * XFormsView.C (show): set minimum size to the main window.
9775 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9777 * text2.C (copySelection):
9779 * lyxfind.C (LyXReplace):
9780 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9781 LyXText::selectionAsString.
9783 * paragraph.C (asString): add "label" argument to the second form
9785 * text2.C (selectionAsString): add "label" argument and pass it to
9786 Paragraph::asString.
9788 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9790 * lyx_main.C (commandLineHelp): remove version information
9792 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9794 * lyx_main.C: add -version commandline option
9796 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9798 * paragraph.h: make the optional constructor arg required instead.
9799 some modifications to other files because of this.
9801 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9803 * lyxserver.C (C_LyXComm_callback): make it static
9805 * lyx_main.C (error_handler): make it static
9807 * lyx_gui.C (LyX_XErrHandler): make it static
9809 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9811 * WorkArea.C: make the extern "C" methods static.
9813 * Makefile.am (lyx_LDADD): simplify
9815 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9817 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9818 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9820 * LyXAction.C (init):
9821 * lyxfunc.C (dispatch): associated code removal.
9823 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9825 * lyxfont.h (isSymbolFont): shut off warning
9827 * text.C (setHeightOfRow):
9828 (getVisibleRow): fix crash with empty paragraphs which have a
9831 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9833 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9836 2001-09-04 José Matos <jamatos@fep.up.pt>
9839 * tabular.C (docbook): rename docBook method to docbook.
9841 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9843 * Makefile.am: add dependencies to main.o.
9845 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9847 * FontLoader.C (available): Return false if !lyxrc.use_gui
9849 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9851 * FontInfo.C (query):
9852 * converter.C (view):
9853 * importer.C (Import):
9854 * exporter.C (Export): Can not -> cannot.
9856 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9858 * BufferView_pimpl.C: allow to create index inset even if
9861 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9863 * buffer.C (getLists): replace boost::tie code with an explicit pair
9864 as boost::tie can break some compilers.
9866 * iterators.h: Added a std:: declaration to the return type of
9869 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9871 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9874 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9876 * iterators.[Ch]: New files. Provide paragraph iterators.
9878 * buffer.C (changeLanguage): Use paragraph iterators.
9879 (isMultiLingual): ditto
9881 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9883 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9885 * FontLoader.C: Support for cmr font.
9887 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9889 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9890 (available): New method.
9892 * FontInfo.C (getFontname): Use scalable fonts even when
9893 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9896 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9898 * converter.C (Formats::view): reverted! Incorrect fix.
9900 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9902 * converter.C (Formats::view): only output the -paper option
9903 if the dvi viewer is xdvi, thereby fixing bug #233429.
9905 2001-08-23 Herbert Voss <voss@perce>
9907 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9909 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9911 * Spacing.h (Spacing): Set space to Default on in the default
9914 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9916 * vc-backend.h (RCS::versionString): add RCS to version
9917 (CVS::versionString): add CVS to version
9919 * vc-backend.C (scanMaster): do not add CVS to version.
9920 (scanMaster): do not add RCS to version
9922 * lyxvc.C (versionString): new method
9924 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9926 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9928 * Spacing.C (set): initialize fval
9930 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9932 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9935 2001-08-16 Juergen Vigna <jug@sad.it>
9937 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9939 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9941 * BufferView_pimpl.C:
9944 * text2.C: setParagraph takes linespacing now
9946 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9948 * LyxAction.C: add internal LFUN_CITATION_INSERT
9950 * LyXView.C: actually apply fix
9952 * bufferlist.C: fix open non-existent file
9954 * lyxfind.C: fix indentation
9956 * lyxfunc.C: remove unneeded assert, fix typo
9958 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9960 * MenuBackend.C: use "Floatname List"
9962 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9964 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9965 when converting LaTeX layout to insetERT.
9966 Generate a non-collapsed float when reading old float
9968 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9970 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9973 2001-08-13 Juergen Vigna <jug@sad.it>
9975 * text.C (fill): return 0 instead of 20 as this seems to be the more
9978 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9980 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9983 2001-08-13 Juergen Vigna <jug@sad.it>
9985 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9987 (SearchBackward): comment out the unlocking of the inset_owner this
9988 should not be needed!
9990 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9992 * Many files: Remove inherit_language, and add latex_language
9994 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9997 2001-08-10 Juergen Vigna <jug@sad.it>
9999 * text.C (prepareToPrint): fixed hfill-width in draw!
10001 * BufferView2.C (selectLastWord): save the selection cursor as this
10002 now is cleared in the function LyXText::clearSelection!
10004 2001-08-08 Juergen Vigna <jug@sad.it>
10006 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10007 BACKSPACE type functions.
10009 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10010 is only cutted from the document but not put in the cut-buffer, where
10011 still the old stuff should be.
10013 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10015 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10017 * tabular.C (SetWidthOfCell): fixed special case where the width
10019 (LeftLine): handle '|' in align_special.
10021 (LeftAlreadyDrawed): ditto
10022 (SetWidthOfCell): ditto
10024 2001-08-07 Juergen Vigna <jug@sad.it>
10026 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10028 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10030 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10031 * lyxlex.[hC]: ditto
10033 2001-08-06 Juergen Vigna <jug@sad.it>
10035 * text.C (getVisibleRow): fix up row clearing a bit.
10037 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10039 * minibuffer.C: make sure the X server sees the changes in the input.
10041 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10043 * paragraph.C (getFont): split into...
10044 (getLabelFont): this
10045 (getLayoutFont): and this
10046 * paragraph_pimpl.C (realizeFont): calling this
10048 * text2.C (getFont): split into...
10049 (getLayoutFont): this
10050 (getLabelFont): and this
10051 (realizeFont): all three calling this
10053 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10056 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10058 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10060 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10062 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10063 layouts from the Quote inset insertion.
10065 2001-08-03 Juergen Vigna <jug@sad.it>
10067 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10069 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10070 only if status not is already CHANGED_IN_DRAW (second level).
10072 * text.C (draw): don't set the need_break_row when inside an
10075 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10077 * buffer.C (parseSingleLyXformat2Token): handle more latex
10080 * bufferview_funcs.[hC]: change function names to
10081 begin with small char, adjust other files.
10083 2001-08-02 André Pönitz <poenitz@gmx.net>
10086 BufferView_pimpl.C: remove broken special code for math-greek
10088 2001-08-02 Juergen Vigna <jug@sad.it>
10090 * BufferView_pimpl.C (update): redone this function so that we
10091 update the text again if there was a CHANGE_IN_DRAW.
10093 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10094 (drawFromTo): added a new internal bool which is used by draw() and
10096 (general): some cursor drawing problems fixed.
10098 2001-08-01 Juergen Vigna <jug@sad.it>
10100 * lyxfind.C (LyXFind): fixed
10101 (SearchForward): ditto
10102 (SearchBackward): ditto
10104 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10105 spurius drawing of the cursor in the main area.
10107 * text2.C (status): small fix which could lead to a segfault!
10108 (clearSelection): remove unneeded BufferView param.
10110 2001-08-01 André Pönitz <poenitz@gmx.net>
10112 * lyxfunc.C: small change due to changed mathed interface
10114 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10116 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10118 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10120 * lyxfunc.c: fail gracefully if file doesn't exist
10125 * BufferView_pimpl.C: IsDirWriteable() proto changed
10127 * LyXView.C: fix updateWindowTitle() to store the last title
10129 2001-07-31 Juergen Vigna <jug@sad.it>
10131 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10132 the font (wrong since using of Paragraph::highestFontInRange).
10134 * paragraph.C (highestFontInRange): added a default_size parameter.
10136 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10137 (setHeightOfRow): reformat
10139 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10141 * converter.[hC] + affected files: move to (inital-char)lowercase
10144 * ParagraphParameters.C (ParagraphParameters): remove commented code
10146 * PainterBase.[Ch]: remove commented code
10148 * LaTeXFeatures.h: add "bool floats" for float.sty
10150 * LaTeXFeatures.C (LaTeXFeatures): init floats
10151 (require): handle float
10152 (getPackages): do it with floats
10154 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10156 * BufferView_pimpl.C (Dispatch): improve handling of
10157 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10159 * commandtags.h: #include lyxfont.h here temporarily to avoid
10162 * bufferlist.h: include LString.h here.
10164 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10166 * text2.C (getStringToIndex): new method.
10168 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10170 * *: Reduced header file dependencies all over.
10172 2001-07-30 Baruch Even <baruch@lyx.org>
10174 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10176 2001-07-29 Baruch Even <baruch@lyx.org>
10178 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10180 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10182 * ParameterStruct.h (endif): add a default constructor to make
10183 sure that all variables is initialized.
10185 * ParagraphParameters.C (ParagraphParameters): adjust
10187 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10189 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10190 index; also, check that there is something to index, and that it
10191 does not span over several paragraphs.
10192 (doubleClick): use WHOLE_WORD_STRICT for double click.
10194 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10196 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10199 2001-07-26 Baruch Even <baruch@lyx.org>
10201 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10202 an InsetFig figure, backwards compatible reading of old figure code.
10204 2001-07-27 Juergen Vigna <jug@sad.it>
10206 * text2.C: font.realize function adaption.
10208 * text.C (draw): add a warnings lyxerr text if needed.
10210 * layout.C: font.realize function adaption.
10212 * language.C: add inherit_language and implement it's handlings
10214 * bufferview_funcs.C (StyleReset): remove language parameter from
10215 font creation (should be language_inherit now).
10217 * bufferparams.C (writeFile): handle ignore_language.
10219 * paragraph.C (getFontSettings): the language has to be resolved
10220 otherwise we have problems in LyXFont!
10222 * lyxfont.C (lyxWriteChanges): added document_language parameter
10223 (update): removed unneeded language parameter
10225 * paragraph.C (validate): fixed wrong output of color-package when
10226 using interface colors for certain fonts in certain environments,
10227 which should not seen as that on the final output.
10229 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10231 * BufferView_pimpl.C:
10236 * LyXAction.C: add thesaurus support
10239 * lyxfind.C: add "once" parameter, for thesaurus, to not
10240 move to the next match
10242 2001-07-26 Juergen Vigna <jug@sad.it>
10244 * lyxfont.C (realize): honor ignore_language too!
10247 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10249 * text.C (draw): one place more for ignore_language to not draw
10252 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10254 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10256 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10258 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10259 the minipage conversion problem.
10261 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10263 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10266 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10268 * BufferView.h: don't forward declare WorkArea
10270 * BufferView.C: don't include WorkArea.h
10272 2001-07-25 André Pönitz <poenitz@gmx.net>
10276 * lyxfunc.C: new LFUN 'math-space'
10278 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10280 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10282 * text2.C (toggleInset): call open/close
10284 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10286 * lyxfunc.C (dispatch): add debug for the disabled case
10288 * font.C (buttonText): make similar to rectText
10290 * buffer.C (readInset): comment out parsing of insetlist and
10293 * PainterBase.C (rectText): small correction
10295 * BufferView_pimpl.C: comment out insettheorem and insetlist
10296 * LyXAction.C: ditto
10297 * commandtags.h: ditto
10299 2001-07-24 Juergen Vigna <jug@sad.it>
10301 * text.C (draw): honor the ignore_language.
10303 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10305 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10307 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10310 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10312 * lyxtext.h: remove unused (and unimplemented) methods
10314 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10316 * text.C (getVisibleRow): honor background color
10319 * Painter.h: remove default color argument for fillRectangle
10321 * text.C (backgroundColor): new method
10323 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10325 * text.C (getVisibleRow): adjust
10327 * font.[Ch] (rectText): new method, metrics
10328 (buttonText): new method, metrics
10330 * PainterBase.[hC]: make rectText and buttonText always draw and take
10333 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10335 * ToolbarDefaults.C (read):
10336 * MenuBackend.C (read): allow escaping in all strings
10338 * BufferView_pimpl.C (insertAndEditInset): new method.
10339 (Dispatch): use insertAndEditInset whenever appropriate.
10341 * BufferView_pimpl.C (insertNote): removed
10343 * BufferView_pimpl.C (smartQuote): new method, moved from
10344 BufferView; if an insetquote cannot be inserted, insert a '"'
10347 * BufferView2.C: remove insertCorrectQuote();
10349 * lyxfunc.C (getStatus): Add support for all remaingin
10350 inset-insert lfuns.
10352 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10354 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10355 command (necessary to pass " as parameter of self-insert.
10357 * text.C (selectWordWhenUnderCursor):
10358 (selectWord): add word_location parameter
10359 (selectWordWhenUnderCursor): same + remove special code for word
10361 (selectNextWord): use kind() to guess type of insetspecialchar,
10364 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10365 (insertErtContents): create ert insets as collapsed.
10366 (readInset): better compatibility code for Info inset.
10368 2001-07-20 Juergen Vigna <jug@sad.it>
10370 * lyxfunc.C (dispatch): use always LyXFind now!
10372 * text2.C (init): add a reinit flag so that the LyXText can be
10373 reinited instead of deleted and reallocated (used in InsetText).
10375 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10381 2001-07-18 Juergen Vigna <jug@sad.it>
10383 * text.C (selectNextWord): handle insets inside inset by calling
10384 always the bv->text functions so that we can go up the_locking_inset!
10386 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10387 in strange locations when inside an inset!
10389 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10390 handling to include insets.
10392 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10394 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10396 * LyXAction.C (init):
10398 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10399 LIGATURE_BREAK, since the name is so stupid.
10401 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10403 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10406 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10408 * sp_form.[Ch]: remove.
10410 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10412 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10415 * src/buffer.C (readInset): ditto.
10417 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10419 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10420 menuSeparator(), endOfSentenceDot(), ldots() and
10421 hyphenationPoint(), which are therefore removed.
10422 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10424 * LyXAction.C (init):
10425 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10427 * paragraph.C (getWord): removed.
10429 * BufferView_pimpl.C (Dispatch): use last word or selection for
10430 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10432 * lyx_main.C (queryUserLyXDir): do not ask before creating
10433 user_dir, except if it has been named explicitely.
10435 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10437 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10438 a document of zero size.
10440 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10442 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10443 approriately in the c-tor and in require().
10444 (getPackages): output the appropriate LaTeX for natbib support.
10446 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10447 variables "use_natbib" and "use_numerical_citations" when reading the
10449 (readInset): read the various natbib cite commands.
10450 (validate): white-space change.
10452 * bufferparams.[Ch]: new variables "bool use_natbib" and
10453 "bool use_numerical_citations".
10454 (writeFile): output them in the LyX file.
10456 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10458 * lyxfunc.C (getStatus): add support for all the inset insertion
10461 * text2.C (insertInset):
10462 * paragraph.C (insetAllowed):
10463 * BufferView_pimpl.C (insertInset): update to take in account the
10464 renaming of insertInsetAllowed
10466 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10468 * text2.C (getInset): new method. returns inset at cursor position.
10470 * BufferView_pimpl.C (Dispatch): changes because of this.
10472 * LyXAction.C (init): rename open-stuff to inset-toggle.
10474 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10476 * text2.C (toggleInset): renamed from openStuff; use
10479 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10481 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10483 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10485 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10487 * buffer.C (readLyXformat2): Add filename to the error dialog
10489 2001-07-18 Juergen Vigna <jug@sad.it>
10491 * tabular.C (GetCellNumber): put an assert here instead of the check!
10493 2001-07-17 Juergen Vigna <jug@sad.it>
10495 * BufferView_pimpl.C (toggleSelection): adapted too.
10497 * text.C (selectNextWord): adapted for use with insets.
10498 (selectSelectedWord): ditto
10500 2001-07-17 Juergen Vigna <jug@sad.it>
10502 * sp_spell.C (PSpell): fix initialitation order.
10504 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10506 * paragraph.C: spacing
10508 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10510 * sp_spell.C: repair language selection for pspell
10512 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10514 * lyxfunc.h: change more methods to begin with lower char.
10516 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10518 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10519 for unknown layouts.
10521 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10523 * buffer.C (readLyXformat2): Generate an error dialog if there are
10526 2001-07-16 Juergen Vigna <jug@sad.it>
10528 * sp_spell.C: always compile ISpell part.
10530 * lyxrc.C: added use_pspell entry and it's handling.
10532 2001-07-13 Juergen Vigna <jug@sad.it>
10534 * sp_spell.C: removed double includes.
10536 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10538 Consistent use of Lsstream.h:
10539 * Lsstream.h: added using std::stringstream for consistencies sake.
10541 * buffer.C: removed using std::stringstream
10543 * lyxfont.C (stateText):
10544 * paragraph.C (asString):
10545 * text.C (selectNextWord, selectSelectedWord):
10546 * text2.C (setCounter):
10547 * vspace.C (asString, asLatexString):
10548 std::ostringstream -> ostringstream.
10550 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10552 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10553 * commandtags.h: add LFUN_HELP_ABOUTLYX
10554 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10556 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10558 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10560 * lyx_gui_misc.C: remove spellchecker
10561 * lyxfunc.C: showSpellchecker
10563 * sp_ispell.h: added
10564 * sp_pspell.h: added
10565 * sp_spell.C: added
10566 * sp_form.[Ch]: removed
10567 * spellchecker.[Ch]: removed
10569 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10571 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10573 (simpleTeXSpecialChars): Simply print the input character without
10574 any special translation if pass_thru is set.
10576 * layout.h: Added bool pass_thru to layout class for being able to
10577 implement pass through of a paragraph for Literate Programming.
10579 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10580 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10581 * layout.C (Read): add "passthru" to list of layout tags and add
10582 code to set the pass_thru boolean when it is read.
10584 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10586 * trans_decl.h: remove allowed from KmodInfo
10588 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10589 remove allowed code
10592 * paragraph_pimpl.C (erase): use boost::prior
10594 * Painter.C (text): use data() instead of c_str() when length is
10596 * WorkArea.C (putClipboard): ditto
10597 * font.h (width): ditto
10599 * BufferView2.C: use it-> instead of (*it). for iterators
10601 * paragraph_pimpl.C: ditto
10602 * paragraph.C: ditto
10603 * minibuffer.C: ditto
10604 * language.C: ditto
10606 * encoding.C: ditto
10607 * counters.C: ditto
10608 * converter.C: ditto
10610 * Variables.C: ditto
10611 * TextCache.C: ditto
10612 * MenuBackend.C: ditto
10613 * LyXAction.C: ditto
10615 * FloatList.C: ditto
10616 * DepTable.C: ditto
10617 * ColorHandler.C (LyXColorHandler): ditto
10619 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10621 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10623 * text2.C (openStuff): reintroduce this method (which had been
10624 nuked in NEW_INSETS frenzy).
10626 * lyxfunc.C (Dispatch): when an action has not been handled, use
10627 its name in the error message, not its number.
10629 * paragraph.C (inInset): change method name to begin with lowercase.
10632 * text2.C: updates because of this.
10634 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10636 * ToolbarDefaults.C (add): add spaces in error message
10638 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10640 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10641 (readLyXformat2): rename return_par to first_par, use lyxlex's
10642 pushToken and remove the manual push handling.
10643 (parseSingleLyXformat2Token): add another ert comp. variable:
10644 in_tabular, rename return_par to first_par. handle newlines better
10646 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10648 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10650 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10652 * text2.C (getParFromID): removed
10654 * buffer.C (getParFromID): new method moved form lyxtext.
10655 * BufferView2.C (insertErrors): adjust
10656 (setCursorFromRow): adjust
10657 * BufferView_pimpl.C (restorePosition): adjust
10658 * lyxfunc.C (Dispatch): adjust
10659 * undo_funcs.C (textUndo): adjust
10661 (textHandleUndo): adjust
10662 (textHandleUndo): adjust
10664 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10666 * buffer.C: up' the LYX_FORMAT
10668 * lyxfont.h: turn NO_LATEX on as default
10670 * buffer.C (insertErtContents): new methods of tex style compability.
10671 (parseSingleLyXformat2Token): use it several places.
10672 * tabular.C (OldFormatRead): and here
10674 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10676 * text2.C: remove some commented code.
10679 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10680 * trans.C: changes because of the above.
10682 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10684 * text2.C (setCounter): Fix counters bug with bibliography layout.
10686 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10688 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10689 own member functions
10690 (simpleTeXSpecialChars): ditto
10692 2001-07-06 Juergen Vigna <jug@sad.it>
10694 * a lot of files: changed the access to LyXText::status and the
10695 call of undo-functions.
10697 * undo.[Ch]: added a inset_id to the undo informations.
10699 * undo_funcs.[Ch]: added and moved here all undo functions.
10701 * lyxtext.h: give the status enum a weight, made status_ a private
10702 variable and made accessor functions for it, removed the whole bunch
10703 of undo-functions as they are now in their own file, make some
10704 functions publically available. Added function ownerParagraph with
10707 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10708 made InInset() a const function, added getParFromID() function.
10710 * buffer.[Ch]: added const version for inset_iterator functions,
10711 added getInsetFromID() function.
10713 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10714 changed undo functions for new version.
10716 2001-07-05 Juergen Vigna <jug@sad.it>
10718 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10719 unknow mechanism does not call the proper constructor but only this
10720 one also if I request the other!?
10722 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10724 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10726 * text2.C (LyXText): use initialization lists.
10728 * lyxtext.h (Selection): initialize set_ and mark_
10729 (init): remove method
10731 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10733 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10735 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10737 * screen.[Ch]: change method names to begin with lowercase
10739 * BufferView_pimpl.C (updateScrollbar): simplify further and
10740 hopefully make it a bit faster.
10742 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10744 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10745 calling directly xforms functions.
10747 * Painter.C (Painter):
10748 * lyx_cb.C (MenuWrite):
10749 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10752 * lyx_gui.C: remove bogus guiruntime extern declaration.
10754 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10756 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10758 (redoDrawingOfParagraph): ditto
10759 (redoParagraphs): ditto
10760 (cutSelection): don't create a object for CutAndPaste use the
10761 static method directly
10762 (pasteSelection): ditto
10764 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10767 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10769 * modifications to some other files because of this.
10771 * Makefile.am (lyx_SOURCES): add XFormsView
10773 * XFormsView.[Ch]: new files
10775 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10776 the main window. Move the gui dependent stuff to XFormsView
10778 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10780 * tabular.C (GetCellInset): update cur_cell also in the row/col
10781 version of this function.
10783 * lyxfunc.C: no need to include figure_form.h here.
10789 * lyxvc.C: no need to include forms.h here.
10791 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10793 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10795 * lyxfunc.C (Dispatch):
10797 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10798 constructor argument.
10800 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10802 * paragraph.C (Paragraph): dont't clear, and just set layout.
10803 (makeSameLayout): use params's copy contructor.
10805 * ParagraphParameters.[Ch] (makeSame): delete method
10807 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10809 * Variables.[Ch]: fix indentation, rename set to isSet
10811 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10813 * lyxfunc.C (Dispatch): fix typo
10815 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10817 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10820 * bufferlist.C: include assert.h for emergencyWrite().
10822 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10824 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10825 give up at last (bug #425202) !
10827 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10833 * spellchecker.C: strip spellchecker options and bring up
10834 preferences tab instead
10836 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10838 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10839 the istringstream constructor
10841 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10843 * paragraph.C (getLayout): fix return value
10845 * paragraph.h: do not declare getLayout as inline.
10847 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10849 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10851 * lyxcursor.h (operator<): new func
10852 (operator>): new func
10853 (operator>=): new func
10854 (operator<=): new func
10856 * text.C (changeCase): use selection.start and selection.end
10857 (changeRegionCase): require from to be <= to. Require par to be a
10860 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10862 2001-06-27 Juergen Vigna <jug@sad.it>
10864 * text.C (cursorLeftOneWord): changed to return the cursor and added
10865 overlay with BufferView * parameter which calls this one.
10867 (selectWord): use new getWord function.
10868 (changeCase): renamed from changeWordCase as and extended to work
10869 also on selections.
10871 * lyxtext.h: added enum word_location
10873 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10874 changeCase as this operates now also on selections.
10876 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10878 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10880 * many files: send debug output to Debug::INFO instead of
10883 * converter.C (View):
10885 (Move): send debug output to Debug::FILES instead of console.
10887 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10889 * lyxfunc.C (getStatus): use func_status
10891 * func_status.h: new header, describing the results of
10892 LyXFunc::getStatus;
10894 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10897 2001-06-25 The LyX Project <jug@sad.it>
10899 * buffer.C (sgmlOpenTag):
10901 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10903 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10905 * text2.C: remove some dead code
10907 * tabular.C (GetCellInset): store the last cell checked (gotten)
10909 * tabular.h: add the helper for the speedup
10911 * lyxtext.h: remove some dead code
10913 2001-06-26 The LyX Project <Asger>
10915 * paragraph.C: Change export to LaTeX of alignment to
10916 \begin{center} and family for better roundtrip work with reLyX.
10918 * Tune the math drawing a bit.
10920 2001-06-25 The LyX Project <Asger>
10922 * LColor.C (LColor): New color for math background. New color
10925 2001-06-25 The LyX Project <jug@sad.it>
10927 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10929 * lyxfunc.C (Open):
10930 * bufferlist.C (newFile): do not restrict to files ending with
10933 * BufferView_pimpl.C (MenuInsertLyXFile):
10935 2001-06-24 The LyX Project <jug@sad.it>
10937 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10940 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10942 * lyxtext.h: rename most methods to begin with a small char.
10943 Lots of changes because of this.
10945 * paragraph.C (Paragraph): do not call fitToSize
10946 (erase): call Pimpl::erase
10947 (insertChar): call Pimpl::insertChar
10948 (insertInset): call Pipl::insertInset
10949 (breakParagraph): do not call fitToSize
10950 (breakParagraphConservative): do not call fitToSize
10951 (fitToSize): remove method
10953 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10955 2001-06-24 The LyX Project <Asger>
10957 * Fix Qt compilation^2
10959 2001-06-24 The LyX Project <jug@sad.it>
10961 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10962 depthHook(getDepth()-1).
10965 * ParagraphParameters.h:
10966 * ParameterStruct.h: change type of depth to unsigned int ==
10967 depth_type. Many adaptations to other files before of that.
10969 2001-06-24 The LyX Project <Asger>
10971 * Fix Qt compilation.
10973 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10975 * paragraph.h: renamed several methods to begin with small letter.
10976 several changes to many parts of the code because of this.
10978 2001-06-23 The LyX Project <jug@sad.it>
10980 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10981 rewritten to discard all double spaces when KeepEmpty is off
10982 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10983 to only handle newlines but not fiddle with spaces and friends.
10985 * lyxfunc.C (MenuNew): when doing 'new from template', use
10986 template_path as default directory
10988 2001-06-23 The LyX Project <Asger>
10990 * Clean-up of header file includes all over
10991 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10993 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10995 * paragraph.h: renamed from lyxparagraph.h
10997 2001-06-23 Asger <lyx@violet.home.sad.it>
10999 * Buffer.h: Removed Buffer::resize
11000 * BufferList.h: Removed BufferList::resize
11001 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11002 the document lazily when we change the width, or the font settings.
11004 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11006 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11008 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11010 * buffer.h: remove out of date comment
11012 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11015 * screen.C: fix "theoretical" GC leak
11017 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11019 * LaTeX.C (scanAuxFile):
11020 (deplog): remove trailing \r when reading stream (useful under
11023 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11025 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11026 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11027 and BufferView::theLockingInset(Inset*), so should use them and not
11028 access bv_->text->the_locking_inset directly.
11030 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11032 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11035 * tex-defs.h: remove old unused file
11037 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11039 * BufferView_pimpl.C: fix typo, remove minibuffer message
11040 when buffer has loaded
11042 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11044 * lyxfunc.C (Dispatch): use stringstream
11045 (MenuNew): use stringstream
11046 (Open): use stringstream
11048 * importer.C (Import): use stringstream
11050 * bufferview_funcs.C (CurrentState): use stringstream
11052 * LaTeX.C (run): use stringstream
11054 * BufferView_pimpl.C (savePosition): use stringstream
11055 (restorePosition): use stringstream
11056 (MenuInsertLyXFile): use stringstream
11058 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11071 * vspace.C: removed // -*- C++ -*- as first line.
11074 * version.h: added // -*- C++ -*- as first line.
11076 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11078 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11080 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11083 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11085 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11088 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11090 * gettext.C: include LString.h even when --disable-nls is on.
11092 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11094 * converter.h (Get): changed argument type from int to
11095 FormatList::size_type to avoid unnecessary conversion.
11097 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11100 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11102 * gettext.h: include LString.h even when --disable-nls is on.
11104 2001-06-07 Juergen Vigna <jug@sad.it>
11106 * text.C (BreakAgain): subst spaces with tabs.
11108 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11109 (resizeInsetsLyXText): set force on resizeLyXText.
11111 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11113 * gettext.h (gettext_init):
11114 (locale_init): use a real definition instead of a macro
11116 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11118 * Bufferview_pimpl.C:
11120 * LColor.C: further lcolor tidies
11122 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11124 * BufferView_pimpl.C (updateScrollbar): simplify.
11126 * BufferView2.C: don't include insets/insetinfo.h, change
11127 prototype for insertInset and call the Pimpl version. let
11128 updateInset call Pimpl version.
11130 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11131 gotoInset to BufferView::Pimpl
11133 2001-06-01 Juergen Vigna <jug@sad.it>
11135 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11136 inside a LockingInset (is the update needed at all?).
11138 2001-05-31 Juergen Vigna <jug@sad.it>
11140 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11141 here not the old one otherwise how should we compare it afterwards
11144 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11149 * FontInfo.C: bring C functions into global namespace when
11152 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11154 * LString.h: make sure config.h has been loaded before LString.h.
11156 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11157 (one for each char read by EatLine!).
11159 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11162 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11164 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11165 to the same as the par we break from
11167 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11169 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11171 * MenuBackend.C (expand): also create menu entries for wide
11172 versions of the floats.
11174 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11176 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11178 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11179 frontends/Makefile.am
11185 * tabular.C (getTokenValue): add std::
11187 * tabular-old.C (getTokenValue): add std::
11188 (getTokenValue): ditto
11189 (getTokenValue): ditto
11191 * screen.C (ToggleSelection): adjust
11193 * lyxtext.h: put selection cursors inside a Selection struct.
11195 * lyxfunc.C (moveCursorUpdate): adjust
11197 * lyxfont.C (latexWriteStartChanges): add std::
11199 * lyxfind.C: adjust
11201 * font.h: delete with(char const *, LyXFont const &)
11203 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11205 * FontInfo.C (getFontname): add std::
11207 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11208 (workAreaButtonPress): adjust
11209 (tripleClick): adjust
11211 (moveCursorUpdate): adjust
11214 * BufferView2.C (gotoInset): adjust
11216 2001-05-30 Juergen Vigna <jug@sad.it>
11218 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11219 to check pspell I add this as default as I now have new pspell
11220 libraries and they seem to use this.
11222 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11224 * text2.C (CutSelection): make the cursor valid before the call to
11227 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11229 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11230 relied on 0 terminated strings and other horrors. Bug found due to
11231 the new assert in lyxstring!
11233 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11236 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11238 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11241 * lyxfunc.C (processKeySym): change method of getting to the
11244 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11245 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11246 * BufferView_pimpl.[Ch]: here as private methods.
11248 2001-05-28 Juergen Vigna <jug@sad.it>
11250 * text.C (SetHeightOfRow): added the update() call again as it is
11251 needed to initialize inset dimensions!
11253 2001-05-16 Juergen Vigna <jug@sad.it>
11255 * text2.C (SetCharFont): Add new function with BufferView * and
11256 bool toggleall parameters for setting insets internal fonts.
11257 (SetFont): Freeze the undo as we may change fonts in Insets and
11258 all this change should be inside only one Undo!
11260 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11261 setting font's in insets as for them we have the SetFont function!
11263 2001-05-15 Juergen Vigna <jug@sad.it>
11265 * text2.C (ClearSelection): to be sure we REALLY don't have any
11268 * tabular.C (TeXCellPreamble): fixed the left border problem for
11271 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11273 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11276 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11278 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11279 LFUN_BREAKPARAGRAPH.
11281 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11282 help test to "internal only", similar for LFUN_INSERT_URL
11284 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11285 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11286 auto_region_delete and deadkeys.
11288 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11291 * LColor.C: remove some dead entries, tidy a little
11293 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11295 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11297 (Dispatch): implement LFUN_ESCAPE
11299 * commandtags.h: add LFUN_ESCAPE
11301 * LyXAction.C (init): add entry for LFUN_ESCAPE
11303 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11304 Remove commented code.
11305 (insertNote): moved here
11306 (open_new_inset): moved here
11308 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11311 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11313 * kbmap.C (findbinding): clean it up and make it work correctly.
11315 * lyx_main.C (init): do not pass argc and argv as parameters
11317 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11319 * buffer.C: fix path for OS/2 & Win32
11323 * lyx_main.C: Added os:: class.
11325 * os2_defines.h: update
11327 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11329 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11330 better by trying again with reduced state.
11332 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11334 * lyxrc.C (read): print error about invalid key sequence only when
11335 debugging (because not all latinX keysyms are known to some X
11338 * kbsequence.C (getiso): add a few std:: qualifiers
11339 (getiso): comment out extra return statement.
11341 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11343 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11345 (Dispatch): enhance the accent inset a bit. (not perfect)
11347 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11349 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11351 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11353 * bufferlist.C (emergencyWrite): fix assert() call
11355 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11357 * text.C (InsertChar): Added trivial patch to only send the "you
11358 can not do multiple spaces this way" message once during a
11361 2001-05-08 Baruch Even <baruch@lyx.org>
11363 * Makefile.am: Changed order of libraries to get LyX to link properly
11364 with the gnome frontend.
11366 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11368 * LaTeXFeatures.h: add a std:: qualifier
11370 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11372 * paragraph.C (String): use stringstream
11374 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11376 * paragraph.C (writeFile): remove footflag arg
11378 * buffer.C (makeLaTeXFile): use stringstream
11379 (latexParagraphs): remove footnot gurba
11381 * LaTeXFeatures.C (getPackages): use stringstream
11382 (getMacros): likewise
11383 (getTClassPreamble): likewise
11384 (getFloatDefinitions): new method
11386 * paragraph.C (writeFile): reindent
11389 * WorkArea.h: revert the xpos + etc changes.
11391 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11393 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11395 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11396 (pasteSelection): likewise
11397 * text2.C (CreateUndo): likewise
11399 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11401 * minibuffer.C (peek_event): temporarily reduce the functionality
11402 of the minibuffer (to allow args on lfuns)
11404 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11405 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11407 * buffer.C (readInset): add compability reading of old float
11408 lists, add reading of new style float list.
11409 (readInset): avoid reevaluation of inscmd.getCmdName()
11410 (getLists): reindent
11412 * MenuBackend.C (MenuItem): implement parsing of
11413 md_floatlistinsert and md_floatinsert.
11414 (expand::LastFiles): move initalizaton of iterators out of loop,
11415 avoid reevaluation.
11416 (expand::Documents): introduce typdedef vector<string> Strings,
11418 (expand::ExportFormats): introduce typedef vector<Format const *>
11419 Formats, and use it.
11420 (expand): implement FloatListInsert and FloatInsert.
11422 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11423 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11424 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11426 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11428 (Dispatch::LFUN_FLOAT_LIST): implement
11430 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11432 * LaTeX.C (run): Fix problem with --export code.
11434 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11436 * BufferView.[Ch] (workarea): removed.
11437 (getClipboard) new method; wrapper for workarea()->getClipboard()
11439 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11442 * WorkArea.h (width, height, xpos, ypos): These methods all
11443 returned the dimensions of the work_area sub-area of WorkArea,
11444 resulting in a position error if the WorkArea were resized. Now
11445 return the dimensions of the entire WorkArea.
11447 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11449 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11451 * LaTeX.C (deplog): correct the syntax of regex reg1
11453 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11455 * undo.C: remove !NEW_INSETS cruft
11457 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11459 * text2.C: remove !NEW_INSETS cruft
11461 * text.C: remove !NEW_INSETS cruft
11463 * tabular.C: remove !NEW_INSETS cruft
11465 * spellchecker.C: remove !NEW_INSETS cruft
11467 * lyxtext.h: remove !NEW_INSETS cruft
11469 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11471 * lyxfunc.C: remove !NEW_INSETS cruft
11473 * lyxfind.C: remove !NEW_INSETS cruft
11475 * lyx_cb.C: remove !NEW_INSETS cruft
11477 * figureForm.C: remove !NEW_INSETS cruft
11479 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11481 * buffer.[Ch]: remove !NEW_INSETS cruft
11483 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11485 * CutAndPaste.C: remove !NEW_INSETS cruft
11487 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11489 * BufferView2.C: remove !NEW_INSETS cruft
11491 * BufferView.h: remove !NEW_INSETS cruft
11493 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11495 * Lsstream.h: include LString.h before the sstream headers to
11496 fix problem with gcc 2.95.3 and lyxstring
11498 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11500 * lyx_main.C: add using directives when needed for C functions
11501 declared in std:: namespace.
11503 2001-04-27 Juergen Vigna <jug@sad.it>
11505 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11506 (SetHeightOfRow): comment out the update call should not be needed!
11508 2001-04-13 Juergen Vigna <jug@sad.it>
11510 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11511 (LyXTabular): tried to minimize operator= operations (and realized
11512 hopfully Lars wish).
11514 2001-04-27 Juergen Vigna <jug@sad.it>
11516 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11518 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11520 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11522 * buffer.C (readInset): hack to make listof algorithm work
11524 * BufferView_pimpl.C: hack to make listof algorithm work
11526 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11528 * LyXAction.C: removed all !NEW_INSETS cruft
11529 (init): moved lfun_item in method
11531 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11533 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11535 * BufferView2.C (theLockingInset): white space.
11537 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11539 * minibuffer.C: include <iostream>
11541 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11543 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11545 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11547 * text.[Ch] (TransposeChars): new method
11549 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11551 * call message directly through LyXView instead of through LyXFunc
11552 * BufferView2.C: adjust
11553 * BufferView_pimpl.C: adjust
11554 * FontLoader.C: adjust
11556 * bufferview_funcs.C: adjust
11557 * converter.C: adjust
11558 * figureForm.C: adjust
11559 * importer.C: adjust
11561 * lyx_gui_misc.C: adjust
11562 * lyxfunc.C: adjust
11565 + more files in subdirs
11567 * lyxparagraph.h (size): move up int file
11570 * adjust all uses of Assert to lyx::Assert.
11572 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11573 lyxfunctional in namespace lyx
11574 * layout.C (hasLayout): ditto
11577 (delete_layout): ditto
11578 (NumberOfClass): ditto
11579 * converter.C (GetFormat): ditto
11584 * bufferlist.C (getFileNames): ditto
11585 (emergencyWriteAll): ditto
11588 * MenuBackend.C (hasSubmenu): ditto
11591 * BufferView_pimpl.C (getInsetByCode): ditto
11593 2001-04-18 Juergen Vigna <jug@sad.it>
11595 * vspace.C (asLatexString): fixed the 100% problem.
11597 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11599 * lyxfunc.C (Dispatch):
11601 * minibuffer.h: add a few std:: qualifiers
11603 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11605 * minibuffer.[Ch]: reimplement so that commands is initiated and
11606 run from lyxfunc, simplified som handling, and made the completion
11607 and history code for complete. wip.
11609 * lyxfunc.C (processKeySym): call message
11610 (miniDispatch): new temporary method
11611 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11612 (LFUN_MESSAGE): implement
11613 (LFUN_MESSAGE_PUSH): implement
11614 (LFUN_MESSAGE_POP): implement
11615 (initMiniBuffer): the initial/defualt minibuffer message.
11617 * lyxfont.[Ch]: inline some more getters
11619 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11621 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11623 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11624 (AutoSave): use LFUN_MESSAGE
11625 (Reconfigure): ditto
11627 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11629 * figureForm.C: use LFUN_MESSAGE
11631 * converter.C (runLaTeX): use LFUN_MESSAGE
11633 * bufferview_funcs.C: use LFUN_MESSAGE
11635 (changeDepth): ditto
11637 * bufferparams.h: use boost::
11639 * bufferlist.h: inherit privately from noncopyable
11641 * bufferlist.C (loadLyXFile): remove some commented code.
11643 * buffer.C (runChktex): use LFUN_MESSAGE
11645 * ShareContainer.h: inherit privately from noncopyable
11647 * ParagraphParameters.[hC] (depth): inline it.
11649 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11651 (message): new method
11652 (messagePush): ditto
11653 (messagePop): ditto
11654 (show): init minibuffer
11655 (showState): direct call
11657 * LaTeX.[Ch]: inherit privately from noncopyable
11658 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11659 instead of WriteStatus.
11661 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11663 * BufferView_pimpl.C (buffer): don't init minibuffer
11664 (workAreaButtonPress): use LFUN_MESSAGE
11665 (workAreaButtonRelease): ditto
11666 (savePosition): ditto
11667 (restorePosition): ditto
11668 (MenuInsertLyXFile): ditto
11669 (workAreaExpose): don't init minibuffer
11670 (update): remove commented code, simplify
11672 * BufferView2.C (openStuff): use LFUN_MESSAGE
11673 (toggleFloat): ditto
11676 (copyEnvironment): ditto
11677 (pasteEnvironment): ditto
11682 (updateInset): remove some commented code
11684 * lastfiles.h: inherit privately from noncopyable
11687 * lyx_main.h: ditto
11689 * lyxlex_pimpl.h: ditto
11691 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11692 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11693 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11695 * LyXAction.h: inherit privately from noncopyable, add methods
11696 func_begin, func_end, returning iterators to the func map.
11698 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11699 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11700 (func_begin): new method
11701 (func_end): new method
11703 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11705 (copySelection): ditto
11706 (pasteSelection): ditto
11708 * BufferView.C: whitespace change
11709 * BufferView.h: inherit privately from noncopyable
11711 2001-04-16 Allan Rae <rae@lyx.org>
11713 * tabular-old.C (l_getline):
11714 * spellchecker.C (sc_check_word):
11715 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11716 an unrecognised preprocessor directive. So ensure they're wrapped.
11718 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11720 * src/exporter.C (Export): Give an error message when path to file
11723 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11725 * LaTeX.C (deplog): Always check that foundfile exists.
11727 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11730 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11732 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11734 * tabular.[Ch] (getLabelList): implement new method
11736 * minibuffer.h: comment ouf setTiimer
11738 * minibuffer.C (ExecutingCB): constify res
11739 (peek_event): constify s
11740 (Set): constify ntext
11741 (Init): constify nicename
11743 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11745 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11746 (savePosition): use two params to Minibuffer::Set
11747 (restorePosition): ditto
11749 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11751 * lyx_main.C: include language.h
11753 * Makefile.am (lyx_main.o): add language.h
11755 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11761 * CutAndPaste.C: include gettext.h
11763 * lyxfont.h: remove old hack with ON and OFF.
11766 * lyxfont.h: do not include language.h...
11771 * bufferview_funcs.C:
11777 * paragraph.C: ... but do it here instead
11779 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11781 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11783 * tabular.C: small reformat
11785 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11788 (BreakParagraph): ditto
11789 (SetOnlyLayout): ditto
11792 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11795 * lastfiles.C: removed most using decl, add std:: where needed
11797 * buffer.C: ws changes
11799 * MenuBackend.C (class compare_format): put into anon namespace
11800 (expand): constify label, names, action, action2
11803 * text.C (SingleWidth): constify font
11804 (IsBoundary): constify rtl2
11805 (GetVisibleRow): constify ww
11807 * LaTeX.C (deplog): constify logfile
11809 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11811 (workAreaExpose): constify widthChange, heightChange
11813 * lyxrow.C (par): moved
11816 * lyxrow.h: as inlines here
11818 * lyxfont.h (shape): moved from lyxfont.C
11819 (emph): moved from lyxfont.C
11821 * lyxfont.C (LyXFont): use initialization list for all
11823 (shape): move to lyxfont.h as inline
11824 (emph): move to lyxfont.h as inline
11827 2001-04-04 Juergen Vigna <jug@sad.it>
11829 * vspace.C: had to include stdio.h for use of sscanf
11831 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11834 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11835 independent of xforms.
11837 2001-04-02 Juergen Vigna <jug@sad.it>
11839 * spellchecker.C: fixed namespace placing!
11841 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11843 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11844 the LyXParagraph * is 0.
11846 2001-03-29 Juergen Vigna <jug@sad.it>
11848 * vspace.C: added support for %, c%, p%, l%.
11849 (stringFromUnit): added helper function.
11850 (asLatexString): changed to give right results for the %-values.
11852 * buffer.C: convert the widthp in a width%.
11854 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11856 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11859 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11860 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11862 * lyx_cb.[Ch]: see above.
11864 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11868 * lyx.[Ch]: replaced by figure_form.[Ch].
11872 * lyxfunc.C: changed headers associated with above changes.
11874 2001-03-27 Juergen Vigna <jug@sad.it>
11876 * BufferView_pimpl.C: set the temporary cursor right!
11878 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11880 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11882 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11884 * LString.h: removed "using std::getline"!
11886 * BufferView_pimpl.C (Dispatch): changes due to changes in
11887 InsetInclude::Params.
11889 * buffer.C (tag_name): removed redundant break statements as they were
11890 producing lots of warnings with my compiler.
11892 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11894 * LString.h: add "using std::getline" when using the real <string>.
11896 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11898 * buffer.C: removed bitset usage.
11899 PAR_TAG moved to an anonymous name space.
11900 (tag_name): new funtion, also in the anonymous namespace.
11901 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11902 (makeDocBookFile): clean code. Completed transition from string arrays
11904 (SimpleDocBookOnePar): code clean.
11906 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11908 * tabular.C: add some comments.
11910 2001-03-22 Juergen Vigna <jug@sad.it>
11912 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11913 compatibility read a bit and fixed bug with minipage in different
11916 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11918 * buffer.C (pop_tag): removed.
11919 (push_tag): removed.
11920 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11921 array replaced with vector. Added support for CDATA sections.
11922 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11924 (makeDocBookFile): XML conformant declaration of CDATA section,
11925 fixed bug related to <emphasis> in the first paragraph char.
11926 (sgmlOpenTag): exclude empty tags.
11927 (sgmlCloseTag): ditto.
11929 * buffer.h (pop_tag): removed.
11930 (push_tag): removed.
11932 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11934 * language.h (Languages): added size_type and size().
11936 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11938 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11939 response on compability reading of minipages. One probliem is that
11940 the old usage of minipages was «flertydig»
11942 * several files here and in subdirs: don't use static at file
11943 scope use anon namespaces instead.
11945 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11947 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11948 LaTeX output. This is necessary for Literate document
11951 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11953 * buffer.C: insert hfill when needed.
11955 * tabular.C (l_getline): use string::erase, small whitespace change.
11957 * BufferView_pimpl.C: try the anon namespace.
11958 * WorkArea.C: ditto
11960 2001-03-16 Juergen Vigna <jug@sad.it>
11962 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11963 otherwise it won't open options-dialogs.
11965 * buffer.C: honor pextraWidth(p) on converting minipages.
11967 * tabular.C (l_getline): changed the functions to strip trailing \r.
11969 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11971 * BufferView_pimpl.C:
11972 * minibuffer..C: added "using SigC::slot" declaration.
11974 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11976 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11982 * paragraph.C: ditto
11984 * lyxtext.h: NO_PEXTRA
11986 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11988 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11989 * ParameterStruct.h: ditto
11990 * ParagraphParameters.h: ditto
11991 * lyxparagraph.h: ditto
11993 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11995 * buffer.C: add compability for minipage alignment.
11996 (latexParagraphs): remove unwanted pextra check.
11998 * several files: remove CXX_WORKING_NAMESPACES
12000 * buffer.C (pop_tag): tie is in namespace boost
12002 * BufferView.h: noncopyable is in namespace boost
12004 * lyx_main.h: ditto
12007 * lastfiles.h: ditto
12008 * bufferlist.h: ditto
12009 * ShareContainer.h: ditto
12011 * LyXAction.h: ditto
12014 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12016 * Merging changes from BRANCH_MVC back into HEAD.
12018 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12020 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12022 * BufferView_pimpl.C: change from intl.C
12026 * Makefile.am: move combox.*
12032 * intl.C: remove dialog (covered by prefs)
12034 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12036 * lyxfunc.C (Dispatch): removed redundant break statement.
12038 2001-03-14 Juergen Vigna <jug@sad.it>
12040 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12042 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12044 * buffer.C: add hack to fix compability reading of minipages.
12046 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12048 * buffer.C (getLists): Cleanup.
12050 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12052 * lyxfont.C (update): don't honor toggleall on font size.
12054 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12058 * Makefile.am: moved to frontends/xforms/
12062 * BufferView_pimpl.C: changes for moved mathpanel
12064 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12066 * gettext.h: fix gettext_init() in --disable-nls
12068 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12070 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12072 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12075 * lyx.h: strip external form
12077 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12079 * BufferView_pimpl.C: add comment, destroySplash()
12081 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12083 * BufferView_pimpl.C:
12087 * lyxfunc.C: use re-worked insetinclude
12089 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12091 * buffer.C: add using std::stringstream.
12093 * lyx_cb.C: readd using std::ios.
12095 * buffer.C: add using std::map.
12097 * BufferView_pimpl.C: add using std::vector.
12099 * ShareContainer.h: add std:: to swap.
12101 * buffer.h: add some typedefs
12102 * buffer.C (getLists): use them
12103 (getLists): renamed from getTocList.
12104 add a counter for the different float types and use it in the
12106 (getLists): use the same counter for the NEW_INSETS and the "non"
12109 * lyx_cb.h: remove unused items, includes, using etc.
12111 * ShareContainer.h: remove some commented code, add more comments
12112 and "documentation".
12114 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12116 * buffer.C (getTocList): make the list also when NEW_INSETS is
12119 * buffer.h: remove TocType
12121 * buffer.C (getTocList): change to return a map<string,
12122 vector<TocItem> >, implement for dynamic number of list.
12124 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12125 * text2.C (PasteSelection): adjust
12126 * CutAndPaste.C (pasteSelection): adjust
12128 * FloatList.C (FloatList): update from the new_insets branch.
12129 * Floating.[Ch]: ditto
12130 * LaTeXFeatures.C: ditto
12132 * lyxlex_pimpl.C: ditto
12134 * paragraph.C (Last): remove when NEW_INSETS is defined.
12136 * other file: changes because of the above.
12138 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12140 * lyxparagraph.h: rename next to next_, previous to previous_,
12141 make them private for NEW_INSETS. Rename Next() to next(),
12142 Previous() to previous().
12144 * other files: changes because of the above.
12146 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12149 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12152 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12154 * main.C (main): pass lyx_localedir to gettext_init().
12156 * gettext.h: remove locale_init and gettext_init macros
12158 * gettext.C (locale_init): new function
12159 (gettext_init): new function
12161 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12164 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12166 * Moved credits to frontends:
12167 * credits.[Ch]: removed
12168 * credits_form.[Ch]: removed
12169 * lyx_gui_misc.C: remove credits stuff
12172 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12174 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12176 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12177 unneeded destructor.
12179 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12180 a standalone pointer again.
12182 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12184 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12190 * ToolbarDefaults.C:
12199 * BufferView_pimpl.C: use new file dialog in GUII
12202 * lyx_cb.C: remove LayoutsCB to Toolbar
12204 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12206 * ShareContainer.h (get): add std:: qualifier
12208 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12210 * ShareContainer.h: define a proper ShareContainer::value_type
12211 type (and use typename to please compaq cxx)
12213 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12215 * lyxparagraph.h: move serveral local vars to
12216 ParameterStruct/ParagraphParameters., use ShareContainer in
12217 FontTable., make vars in FontTable private and add getter and
12220 * paragraph.C: changes because of the above.
12222 * lyxfont.h: remove copy constructor and copy assignment. (the
12223 default ones is ok), move number inside FontBits. move inlines to
12226 * lyxfont.C: add number to initializaton of statics, move several
12227 inlines here. constify several local vars. some whitespace
12228 cleanup. Dont hide outerscope variables.
12230 * Spacing.h: add two new constructors to match the set methods.
12232 * ShareContainer.h: new file, will perhaps be moved to support
12234 * ParameterStruct.h: new file
12236 * ParagraphParameters.h: new file
12238 * ParagraphParameters.C: new file
12240 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12241 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12243 * BufferView_pimpl.C: ParagraphParameter changes.
12244 * buffer.C: Likewise.
12245 * bufferview_funcs.C: Likewise.
12246 * text.C: Likewise.
12247 * text2.C: Likewise.
12249 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12251 * lyxfind.C (LyXReplace): do not redefine default argument in
12253 (IsStringInText): ditto
12254 (SearchForward): ditto
12255 (SearchBackward): ditto
12257 2001-03-06 Juergen Vigna <jug@sad.it>
12259 * lyxfind.C (IsStringInText): put parentes around expressions.
12261 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12263 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12265 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12267 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12269 * stl_string_fwd.h: add comment
12271 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12274 * tabular.C: remove unused DocBook methods
12280 killed DO_USE_DEFAULT_LANGUAGE
12282 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12284 * lyx_gui.C: do not include language.h.
12286 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12287 arguments in function implementation.
12289 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12291 * BufferView_pimpl.C: add <ctime>
12293 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12295 * BufferView_pimpl.C: add using std::find_if
12297 2001-02-27 José Matos <jamatos@fep.up.pt>
12299 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12302 2001-02-11 José Matos <jamatos@fep.up.pt>
12304 * buffer.C (makeDocBookFile): command styles now have a parameter as
12305 "title" by default.
12307 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12309 * layout_forms.[Ch]: removed
12310 * lyx_cb.[Ch]: out character
12311 * lyx_gui.C: out character
12312 * lyx_gui_misc.C: out character
12313 * bufferview_funcs.C: : out character,
12314 added toggleall as parameter in ToggleAndShow
12316 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12318 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12320 * text2.C (SetCurrentFont): Disable number property at boundary.
12322 2001-02-26 Juergen Vigna <jug@sad.it>
12324 * lyxfunc.C (getStatus): added a string argument override function so
12325 that this is correctly called from LyXFunc::Dispatch if it contains a
12326 do_not_use_argument which is used!
12327 (Dispatch): added check for "custom" export and call appropriate func.
12329 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12331 * lyxrc.C: Add language_command_local, language_use_babel and
12332 language_global_options.
12334 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12336 * buffer.C (makeLaTeXFile): Use language_use_babel and
12337 language_global_options.
12339 2001-02-23 Juergen Vigna <jug@sad.it>
12341 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12342 which works with LyXText and putted it inside BufferView. Here now we
12343 only call for that part the BufferView::Dispatch() function.
12345 * BufferView.C (Dispatch): added.
12347 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12348 functions which needs to use a LyXText over from LyXFunc.
12349 (MenuInsertLyXFile): added
12350 (getInsetByCode): added
12351 (moveCursorUpdate): added
12352 (static TEXT): added
12354 2001-02-22 Juergen Vigna <jug@sad.it>
12356 * BufferView_pimpl.C (update): call a status update to see if LyXText
12359 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12361 * vc-backend.C (revert): implement for CVS
12362 (getLog): implement for CVS
12364 2001-02-20 Juergen Vigna <jug@sad.it>
12366 * text2.C (ClearSelection): added BufferView param for inset_owner call
12368 * lyxfunc.C (TEXT): added this function and use it instead of
12369 directly owner->view()-text of getLyXText().
12371 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12373 * src/layout_forms.C: out preamble
12374 * src/layout_forms.h: out preamble
12375 * src/lyx_cb.C: out preamble
12376 * src/lyx_cb.h: out preamble
12377 * src/lyx_gui.C: out preamble
12378 * src/lyx_gui_misc.C: out preamble
12379 * src/lyxfunc.C: connect with guii preamble
12381 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12383 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12385 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12387 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12388 whether to run bibtex.
12390 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12392 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12394 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12396 * Makefile.am (lyx_SOURCES): removed bibforms.h
12398 * vspace.h: doxygen
12400 * text.C (GetVisibleRow): make several local vars const
12402 * tabular.C: small cleanup.
12404 * lyxserver.C (callback): use compare instead of strncmp
12406 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12407 inlines to after class or to paragraph.C
12409 * lyxfont.h: remove friend operator!=
12411 * converter.h: move friend bool operator< to non friend and after
12414 * combox.h: small cleanup
12416 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12417 to inlines after class def.
12419 * buffer.C (pop_tag): use string operations instead of strcmp
12421 * bmtable.c: doxygen, small cleanup
12423 * LaTeX.h: remove friend operator==
12425 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12437 * BufferView_pimpl.C:
12438 * BufferView.[Ch]: remove cruft
12440 2001-02-14 Juergen Vigna <jug@sad.it>
12442 * lyxfunc.C: removed #if 0 unused code
12444 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12446 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12448 * text2.C (SetSelection): added a BufferView * parameter
12450 2001-02-13 Juergen Vigna <jug@sad.it>
12452 * lyxfunc.C (Dispatch): fixed protected blank problem.
12453 * BufferView2.C (protectedBlank): added LyxText * parameter.
12455 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12456 (AppendColumn): same as above for column_info.
12458 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12459 (moveCursorUpdate): use a LyXText param for support of InsetText.
12461 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12462 (tripleClick): ditto
12464 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12466 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12468 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12470 * text2.C (SetSelection): set correct update status if inset_owner
12471 (ToggleFree): ditto
12473 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12475 * tabular.C: remove some commented code.
12477 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12479 * BufferView_pimpl.C: call hideSplash()
12481 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12484 * bibforms.h: remove
12487 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12488 add LFUN_CHILD_CREATE
12490 * counters.h: fix tiny typo
12495 * lyx.C: move splash to frontends/xforms/
12497 * lyx_gui_misc.C: move Include and Bibform to frontends
12499 * lyxvc.h: clarify comment
12501 * vspace.C: tiny housekeeping
12503 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12505 * text.C (PrepareToPrint): RTL Fix.
12507 * paragraph.C (GetUChar): New method.
12508 (String): Use GetUChar.
12510 * buffer.C (asciiParagraph): Use GetUChar.
12512 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12514 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12516 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12519 * buffer.C: rename to getLogName(), handle
12520 build log / latex log nicely
12522 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12525 * MenuBackend.h: remove support for reference menuitem type.
12527 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12529 * BufferView_pimpl.C: housekeeping
12530 * BufferView_pimpl.h:
12535 * minibuffer.h: move Timeout GUI-I
12537 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12539 * lyxrc.C (read): Update converters data-structures.
12541 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12543 * LaTeX.h (operator!=): add operator != for Aux_Info
12545 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12547 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12549 * LaTeXLog.C: deleted, useful code moved to Buffer
12552 * buffer.C: new function getLatexLogName()
12558 * lyxfunc.C: use frontends for LaTeX and VC logs
12560 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12562 * LaTeX.h: yet another std:: that Allan forgot.
12564 * Variables.C (set): renamed from isset(), because this clashes
12565 with some HP-UX macros (grr).
12567 2001-02-06 Allan Rae <rae@lyx.org>
12569 * LaTeX.h: Another bug fix. Missing std:: this time.
12571 2001-02-04 Allan Rae <rae@lyx.org>
12573 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12574 floats problem. I've left it commented out because it's not quite
12575 correct. It should also test that the current object is a table or
12576 figure inset. But I haven't gotten around to figuring out how to do
12577 that. I *think* it'll be something like: "table" == inset.type()
12579 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12582 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12584 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12585 all the citation/databases/styles in the auxilary file.
12586 (run): Rerun latex if there was a babel language error.
12588 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12590 * text.C (Backspace): Preserve the font when changing newline char
12592 (BreakParagraph): If the cursor is before a space, delete the space.
12594 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12596 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12598 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12599 new argument (code).
12600 (ChangeCitationsIfUnique): New method.
12602 * paragraph.C (GetPositionOfInset): Handle bibkey.
12604 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12606 * BufferView_pimpl.h: change type of Position::par_pos to
12607 LyXParagraph::size_type.
12609 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12611 * BufferView_pimpl.C (savePosition, restorePosition): Write
12612 messages to minibuffer.
12614 2001-01-28 José Matos <jamatos@fep.up.pt>
12616 * buffer.C (makeDocBookFile): adds support for document language.
12617 A silly restriction on the name of LatexCommand types where removed.
12618 Added support for CDATA sections, allows to chars unescaped, used
12619 among others in code, to avoid escape < and >.
12621 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12623 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12624 saved positions instrad of a stack. Furthermore, a position is
12625 stored using paragraph id/paragraph position.
12627 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12628 Remove LFUN_REF_BACK.
12630 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12632 * converter.C (dvipdfm_options): New method.
12634 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12636 * vspace.C (isValidLength): Fix for empty input string.
12638 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12640 * LyXAction.C (init): change description of LFUN_FIGURE to
12643 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12645 * LaTeX.C: add using directive
12647 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12649 * MenuBackend.C (expand): Fix the sorting of the formats.
12651 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12653 * lyx_main.C: tiny error message fix
12655 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12657 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12658 calling fl_initialize(). This fixes the problem with ',' as
12659 decimal separator in text files.
12661 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12663 * trans.C (process): Fix the keymap bug.
12665 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12667 * LaTeX.C (scanAuxFiles): New method. Provides support for
12668 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12669 (scanLogFile) Scan for "run BibTeX" messages.
12671 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12672 OT1 font encoding. Also, load the aecompl package if the ae
12675 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12677 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12679 * texrow.C (increasePos): turn two error messages into debug
12682 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12684 * LaTeX.C (scanAux): Handle the \@input macro.
12685 (runBibTeX): Use scanAux().
12687 * language.C (latex_options_): New field.
12689 * LaTeXFeatures.C (getMacros): Add language macros.
12691 * buffer.C (makeLaTeXFile): Small fix.
12693 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12695 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12697 * text2.C: add a using directive.
12699 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12704 * lyxfunc.C: kill LyXBell.
12706 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12708 * text.C (IsBoundary): Remove the error message
12710 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12712 * lyxrc.C (setDefaults): Correct initialization value for
12715 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12717 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12720 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12721 and GotoNextNote().
12723 * src/LyXAction.C: Added reference-next.
12725 * text.C (InsertChar): Use contains instead of strchr.
12727 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12729 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12731 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12732 alignment commands (when needed).
12734 * text.C (InsertChar): Add ':' to number separator chars.