1 2003-09-15 Angus Leeming <leeming@lyx.org>
3 * LColor.h: add an EnumLColor wrapper for LColor::color.
5 * lyxfont.[Ch] (color, setColor, realColor):
6 * lyxtext.h, text.C (backgroundColor):
7 pass EnumLColor args to/from the functions, rather than LColor::color ones.
10 * lyxtext.h: forward declare EnumLColor.
12 * lyx_main.C: add #include "LColor.h".
14 2003-09-15 Angus Leeming <leeming@lyx.org>
16 * .cvsignore: add lyx-gtk.
18 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
23 * ParagraphParameters.C
37 * vc-backend.C: remove usage of STRCONV
39 2003-09-15 Angus Leeming <leeming@lyx.org>
41 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
42 explicitly define the color passed to the painter.
44 2003-09-15 Angus Leeming <leeming@lyx.org>
46 * bufferparams.C (BufferParams): reorder member initializers to avoid
49 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
51 * CutAndPaste.C (pasteSelection): remove an outdated #warning
52 * text.C (updateRowPositions): remove an unusual nop
54 2003-09-12 André Pönitz <poenitz@gmx.net>
65 * Counters.[Ch]: finish the 'automatic counters' job
67 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
69 * aspell.C: include <boost/assert.cpp> (compile fix)
71 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
73 * boost.C (assertion_failed): use lyx::support::abort instead of
76 2003-09-10 Angus Leeming <leeming@lyx.org>
78 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
81 2003-09-09 Angus Leeming <leeming@lyx.org>
83 134 files throughtout the source tree: replace 'using namespace abc;'
84 directives with the appropriate 'using abc::xyz;' declarations.
86 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
88 * boost.C (emergencyCleanup): moved here from LAssert.c
89 (assertion_failed): new function, called by BOOST_ASSERT
91 * several files: change Assert to BOOST_ASSERT
93 2003-09-09 Angus Leeming <leeming@lyx.org>
95 * buffer.[Ch]: Add an Impl class and move Buffer's member
96 variables into it. As a result move several header files out of
99 Add header files to lots of .C files all over the tree as a result.
101 2003-09-09 Angus Leeming <leeming@lyx.org>
103 * buffer.[Ch]: make Buffer's member variables private. Add
106 Lots of changes all over the tree as a result.
108 2003-09-08 Angus Leeming <leeming@lyx.org>
110 * graph.C: #include <config.h>.
112 2003-09-08 Angus Leeming <leeming@lyx.org>
116 * BufferView_pimpl.C:
145 * toc.C: remove redundant using directives.
147 2003-09-07 Angus Leeming <leeming@lyx.org>
149 * LaTeXFeatures.h: remove #include "support/types.h".
150 * ToolbarBackend.h: remove #include <algorithm>.
151 * changes.h: remove #include <ctime>.
152 * debug.h: remove #include <iosfwd>.
153 * graph.h: remove #include "support/std_string.h".
154 * lyx_main.h: remove #include <csignal>.
155 * lyxlex_pimpl.h: remove #include <fstream>.
156 * sgml.h: remove #include <algorithm>, <utility>.
157 * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
159 2003-09-07 Angus Leeming <leeming@lyx.org>
161 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
163 * converter.h: forward declare LatexRunParams.
164 * encoding.h: remove #include "lyxrc.h".
165 * lyxtext.h: remove #include "LColor.h".
166 * lyxtextclass.h: remove #include "support/types.h".
167 * trans.h: remove #include "tex-accent.h".
168 * trans_mgr.h: remove #include "tex-accent.h".
169 * insets/inset.h: remove #include "support/types.h", <vector>.
170 * insets/insetcollapsable.h: remove #include "LColor.h".
171 * insets/insetinclude.h: remove #include "dimension.h".
172 * insets/insetlatexaccent.h: remove #include "dimension.h".
173 * insets/insetoptarg.h:: remove #include "insettext.h".
174 * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
176 * insets/renderers.h: add #include "dimension.h".
177 * insets/updatableinset.h: add #include "support/types.h".
179 * many .C files: Associated changes.
181 2003-09-06 Angus Leeming <leeming@lyx.org>
183 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
184 inside testInvariant.
186 * PrinterParams.C: new file.
187 * PrinterParams.[Ch]: move the function bodies out of line.
189 2003-09-06 Angus Leeming <leeming@lyx.org>
191 * ParagraphParameters.h: forward declare ParameterStruct rather than
192 including its header file.
193 (depth): moved out-of-line.
195 2003-09-06 Angus Leeming <leeming@lyx.org>
197 * BufferView_pimpl.h:
200 * lyxfunc.h: forward declare LyXKeySym rather than
201 #include "frontends/LyXKeySym.h".
203 * BufferView_pimpl.C:
206 * lyxfunc.C: associated changes.
208 2003-09-06 Angus Leeming <leeming@lyx.org>
210 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
211 As a result, can remove the #include "insets/inset.h" from BufferView.h
213 2003-09-06 Angus Leeming <leeming@lyx.org>
215 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
216 As a result, can remove the #include "insets/inset.h" from BufferView.h
218 2003-09-06 Angus Leeming <leeming@lyx.org>
224 * bufferview_funcs.C:
225 * BufferView_pimpl.C:
230 * ParagraphParameters.C:
235 * frontends/controllers/ControlDocument.C:
236 * insets/insetcaption.C: rearrange the #includes into some sort of
239 * buffer.h: remove #includes ErrorList.h, undo.h
241 2003-09-06 Angus Leeming <leeming@lyx.org>
243 * support/types.h: add a 'depth_type' typedef, used to store the
244 nesting depth of a paragraph.
247 * ParameterStruct.h: use this lyx::depth_type typedef rather than
252 * ParagraphParameters.h:
253 * sgml.h: use lyx::depth_type rather than Paragraph or
254 ParameterStruct's depth_type.
257 * paragraph_funcs.h: no need to #include paragraph.h anymore.
260 * BufferView_pimpl.C:
262 * ParagraphParameters.C:
265 * bufferview_funcs.C:
272 * frontends/LyXView.C:
273 * frontends/controllers/ControlDocument.C:
274 * frontends/controllers/ControlErrorList.C:
275 * insets/insetbibitem.C:
276 * insets/insetbranch.C:
277 * insets/insetcaption.C:
278 * insets/insetcollapsable.C:
281 * insets/insetfloat.C:
282 * insets/insetfoot.C:
283 * insets/insetfootlike.C:
284 * insets/insetnewline.C:
285 * insets/insetquotes.C:
286 * insets/insettabular.C:
287 * insets/insettext.C:
288 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
290 * frontends/controllers/ControlChanges.C: #include "changes.h".
292 2003-09-06 Angus Leeming <leeming@lyx.org>
294 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
295 #including paragraph.h.
298 * RowList.h: deleted. Superfluous.
308 * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
310 * paragraph.h: don't forward declare ParagraphList.
313 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
314 rather than ParagraphList.h. paragraph.h is still needed for the
315 Paragraph::depth_type parameters.
317 * textcursor.h: enable it to compile stand-alone in light of the
320 * bufferview_funcs.C:
332 * frontends/controllers/ControlParagraph.C:
333 * frontends/controllers/ControlTabular.C:
334 * insets/insetmarginal.C:
335 * insets/insetminipage.C:
336 * insets/insetnote.C:
337 * insets/insetoptarg.C: add header files needed to compile again.
339 2003-09-06 Angus Leeming <leeming@lyx.org>
341 * RowList_fwd.h: new file, forward-declaring Row rather than
347 * insets/insettext.h: use it instead of RowList.h
349 * bufferview_funcs.C:
356 * text3.C: #include "RowList.h".
358 2003-09-05 Angus Leeming <leeming@lyx.org>
360 * factory.C (createInset):
361 * vspace.C (c-tor): replace sscanf call with an istringstream.
362 * ispell.C: re-add missing HP/UX headers.
363 * lyxserver.C: re-add missing os2 headers.
365 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
374 * text3.C: re-add missing system headers, needed for 2.95.2.
376 2003-09-05 Angus Leeming <leeming@lyx.org>
378 Changes most place everywhere due to the removal of using directives
379 from support/std_sstream.h.
381 2003-09-05 Angus Leeming <leeming@lyx.org>
383 Replace LString.h with support/std_string.h,
384 Lsstream.h with support/std_sstream.h,
385 support/LIstream.h with support/std_istream.h,
386 support/LOstream.h with support/std_ostream.h.
388 Changes resulting throughout the tree.
390 2003-09-05 Angus Leeming <leeming@lyx.org>
392 * sgml.h: ensure that the header file can be compiled stand-alone.
393 * *.C: strip out redundant #includes. (320 in total.)
395 2003-09-04 Angus Leeming <leeming@lyx.org>
397 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
398 here (from getPackages).
400 * debug.[Ch]: add a new EXTERNAL tag.
402 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
404 * text2.C (cursorEnd): simplify
406 (getColumnNearX): adjust
408 * text.C (computeBidiTables): adjust
411 * rowpainter.C (paintChars): adjust
412 (paintSelection): adjust
413 (paintChangeBar): adjust
416 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
418 (numberOfSeparators): adjust
420 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
426 * text3.C: Restricts the mouse click functionality
427 of insets like bibtex, include, toc and floatlist to the visible
428 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
429 up the dialogs. Cursor has to be in front of the inset (i.e.
430 start of row) for this to function.
432 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
434 * bufferview_funcs.C (currentState): output row information
436 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
438 * bufferview_funcs.C (currentState): output paragraph position
440 2003-09-04 Angus Leeming <leeming@lyx.org>
442 * FloatList.h: move out #include "Floating.h".
443 * LaTeX.h: move out #include "DepTable.h".
444 * LyXAction.h: move out #include "funcrequest.h".
445 * buffer.h: move out #include "author.h", "iterators.h".
446 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
447 * lyx_main.h: move out #include "errorlist.h".
448 * lyxfunc.h: move out #include "FuncStatus.h".
449 * lyxtext: move out #include "lyxcursor.h".
450 * paragraph_pimpl.h: move out #include "counters.h".
452 2003-09-03 Angus Leeming <leeming@lyx.org>
454 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
455 preamble_snippets list, enabling us to add snippets to the preamble only
456 if the snippet was not there already.
458 2003-09-04 Angus Leeming <leeming@lyx.org>
460 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
462 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
464 * lyxfunc.C (dispatch): if fitCursor did something be sure to
467 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
469 * BranchList.C: point fix, earlier forgotten
471 2003-09-02 Angus Leeming <leeming@lyx.org>
473 * box.C (contains): renamed from 'contained' after a fantastic
476 2003-09-02 John Levon <levon@movementarian.org>
482 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
484 2003-09-02 John Levon <levon@movementarian.org>
486 * text2.C: simplification of cursorEnd(), including partial
489 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
491 * buffer.C (readFile): add a space
493 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
495 * BufferView_pimpl.C (update): remove bogus fitCursor() call
497 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
499 * buffer.C (readFile): new function, take a filename and a
500 ParagraphList::iterator
502 (readFile): adjust, make it private. don't use setStream, make
503 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
504 always contain the filename.
506 * BufferView.C (insertLyXFile): simplify and make it work for
509 2003-08-30 John Levon <levon@movementarian.org>
511 * Makefile.am: fix dist (from Kayvan)
513 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
515 * most files: change to use const Buffer refs
517 2003-08-27 André Pönitz <poenitz@gmx.net>
519 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
520 on top of ownerPar().
522 2003-08-27 John Levon <levon@movementarian.org>
524 * funcrequest.C: properly initialise POD members
526 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
528 * lyxtext.h (top_y): move top_y from here
533 * BufferView_pimpl.[Ch]: to here
534 * frontends/screen.C:
535 * insets/insettabular.C:
536 * insets/insettext.C: adjust
537 * rowpainter.[Ch] (paintRows): remove LyXText & argument
539 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
542 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
544 2003-08-26 André Pönitz <poenitz@gmx.net>
546 * paragraph_func.[Ch] (outerPar): new function
552 * text2.C: remove Inset::par_owner
554 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
559 * text2.C: eliminates the needFullRow/display() stuff
560 altogether, putting the logic in metrics/draw in the insets.
562 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
564 * text2.C (redoParagraphInternal, redoParagraphs):
565 * text.C (redoParagraph): add a call to updateRowPositions at the
566 end of each 'metrics-like' call. Remove all others.
567 (getRow): remove the 'y-computing' version.
568 (getRowNearY): do not compute nor return the real y. Solve the
569 'y < 0' problem and simplify.
571 2003-08-22 Angus Leeming <leeming@lyx.org>
573 * *.[Ch]: clean-up of licence and author blurbs.
574 Also move config.h out of a few .h files and into a few .C files.
576 2003-08-22 André Pönitz <poenitz@gmx.net>
578 * lyxrow.[Ch]: add x_ and *fill_ members
583 * text2.C: adjust/remove prepareToPrint() calls
585 2003-08-22 André Pönitz <poenitz@gmx.net>
587 * lyxrow.[Ch]: add end_ member
589 * lyxrow_funcs.C: use LyXRow::end_
591 * lyxtext.h (singleWidth): add LyXFont parameter
594 * text2.C: adjust LyXText::singleWidth() calls
596 * text.C (redoParagraph): simplify row breaking logic
599 2003-08-19 André Pönitz <poenitz@gmx.net>
601 * funcrequest.C: initialize button_ member
604 * rowpainter.[Ch]: interface consolidation
606 2003-08-18 André Pönitz <poenitz@gmx.net>
609 * BufferView_pimpl.C:
613 * text3.C: remove LyXScreen::draw() and fitCursor calls
615 * BranchList.h: remove spurious semicolons
617 * MenuBackend.C: fix branchlist related crash
619 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
631 * text3.C: implements the 'branch inset'
632 idea. This allows the output of various versions of a document
633 from a single source version, selectively outputing or suppressing
634 output of parts of the text.
635 This implementation contains a 'branch list editor' in a separate
636 tab of the document settings dialog. Branches are user definable
637 and have a "display colour" to distinguish them on-screen.
639 ColorHandler was somewhat cleaned up.
640 (1) make possible a dynamically growing LColor list by allowing
641 the graphic context cache to grow along (vector);
642 (2) eliminate an IMHO unnecessary step in colour allocation.
644 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
646 * BufferView_pimpl.C: compile fix
648 2003-08-15 André Pönitz <poenitz@gmx.net>
650 * rowpainter.C: remove extra metrics calls
652 * lyxtext.h: merge the two constructors into a single one,
653 pass reference to owner's par list
655 * BufferView_pimpl.C:
659 2003-08-15 André Pönitz <poenitz@gmx.net>
669 * text_funcs.C: split LyXText::rowlist_ into individual
670 Paragraph::rows_ chunks
673 * BufferView_pimpl.[Ch]:
676 * text3.C: remove toggleSelection()
678 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
680 * bufferlist.C: beautify two alerts (shorter text of buttons)
681 * buffer.C: Remove redundant ' ' from message
683 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
684 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
685 rename VALIGN_CENTER to VALIGN_MIDDLE
687 2003-08-11 André Pönitz <poenitz@gmx.net>
689 * lyxtext.h (getPar):
690 * text.C: new function
692 2003-08-11 André Pönitz <poenitz@gmx.net>
695 * tracer.[Ch]: remove unneeded files
697 * InsetList.[Ch]: remove resizeInsetsLyXText()
702 * text3.C: merge insertParagraphs() and appendParagraph()
703 remove breakAgain(), update()
705 * BufferView_pimpl.[Ch]:
706 * bufferview_funcs.[Ch]:
710 * tabular.C: adjust after text & InsetList changes.
712 2003-08-08 André Pönitz <poenitz@gmx.net>
714 * text.C (insertChar, backspace): replace rowlist fiddling
715 with rebreak of full par
718 * text.C (breakAgainOneRow, redoHeightOfParagraph,
719 checkParagraph, updateInset): removed
721 2003-08-07 André Pönitz <poenitz@gmx.net>
724 * text3.C: merge some LFUN handlers, remove dead code
726 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
728 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
730 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
732 * text2.C (DEPM): fix part of bug 1255 and 1256
734 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
736 * BufferView_pimpl.C (workAreaDispatch): change to use
737 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
738 that are no mouse related.
740 2003-08-05 André Pönitz <poenitz@gmx.net>
743 * BufferView_pimpl.[Ch]:
744 * bufferview_funcs.C:
746 * text3.C: rip out "deep update"
748 * textcursor.[Ch] (last_sel_cursor): remove unused member
750 2003-08-04 André Pönitz <poenitz@gmx.net>
753 * BufferView_pimpl.[Ch]:
754 * ParagraphParameters.C:
755 * bufferview_funcs.C:
761 * text3.C: replace "complicated" BufferView::update(...) calls with
764 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
766 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
768 * Makefile.am (lyx_SOURCES): add paper.h
770 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
772 * Makefile.am: move things around so that both lyx-qt and
773 lyx-xforms can be built (according to --with-frontend). Then lyx
774 is a symbolic link to lyx-[firstfrontend]
776 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
778 * Always use std::endl with lyxerr
780 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
782 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
784 2003-08-01 André Pönitz <poenitz@gmx.net>
787 * BufferView_pimpl.[Ch]:
789 * text3.C: merge BufferView::repaint() and BufferView::update()
791 2003-08-01 José Matos <jamatos@lyx.org>
793 * buffer.[Ch]: file_format is no longer a buffer data element.
795 2003-08-01 André Pönitz <poenitz@gmx.net>
800 * text2.C: make redoParagraph more independent of current cursor
802 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
804 * text2.C: remove unneeded members
806 2003-07-30 André Pönitz <poenitz@gmx.net>
808 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
810 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
811 create a single function...
813 * paragraph_funcs.C (moveItem): ... here.
816 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
818 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
820 * LColor.[Ch]: Add comment and greyedout logical colors.
822 2003-07-30 André Pönitz <poenitz@gmx.net>
824 * tabular.C: don't use Assert too heavily. This crashes where it
827 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
829 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
830 is disabled (bug 1232)
832 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
834 * factory.C: limited 'arg' scope
836 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
838 * factory.C: fixed Note submenu issues
840 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
842 * factory.C: submenu for Note/Comment/Greyedout
844 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
847 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
849 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
852 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
853 greyedout. Patch provided by Jürgen Spitzmüller.
855 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
857 * kbmap.C (read): fix error message when reading bind files
859 2003-07-29 Angus Leeming <leeming@lyx.org>
861 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
862 certainly does not do what it purports to do. I am doing it, and
863 us, a favour by killing it.
865 2003-07-28 José Matos <jamatos@lyx.org>
867 * buffer.C (readBody, do_writeFile):
868 * paragraph.C(readParagraph): \end_document replaces \the_end.
870 2003-07-29 André Pönitz <poenitz@gmx.net>
873 * BufferView_pimpl.[Ch]:
877 * textcursor.[Ch]: remove toggleToggle & Co
879 2003-07-28 José Matos <jamatos@fep.up.pt>
881 * buffer.C (readParagraph):
882 * params_func (readParToken, readParagraph):
883 * paragraph.C (write): \layout -> \begin_layout.
885 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
887 * lyxlex_pimpl.C (setFile): clean up slightly.
889 * bufferparams.h: add compressed var
891 * buffer_funcs.C (readFile): adjust for LyXLex change
892 (newFile): ditto + simplify
894 * buffer.C (writeFile): handle writing of compressed files
896 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
897 Check if the file is compressed and set a bufferparm if so.
899 * Makefile.am (lyx_LDADD): remove explicit -lz
901 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
903 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
904 makeDocBookFile): put the real LyX version in the first line of
908 * version.C.in: remove lyx_docversion
910 * tabular.C (write_attribute): add a template-based version to
913 2003-07-28 André Pönitz <poenitz@gmx.net>
918 * text3.C: use doubles again for x-coordinates. They are needed.
920 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
922 * messages.C (getLocaleDir): use lyx_localedir()
924 * lyxlex_pimpl.C (setFile): compress stuff
926 * buffer.C (writeFile): add some compression stuff
927 (do_writeFile): new func, dont call expliti close... will this
930 * Makefile.am (lyx_LDADD): add -lz
932 2003-07-28 José Matos <jamatos@fep.up.pt>
934 * buffer.C: increment file format.
935 * paragraph_funcs (readParagraph, readParToken):
936 * paragraph.C (readParagraph): add \end_layout.
938 2003-07-27 Angus Leeming <leeming@lyx.org>
940 * Makefile.am: remove special casing for configure-time setting of
941 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
943 * lyx_main.C (init): remove all Jean-Marc's magic setting of
944 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
946 2003-07-26 André Pönitz <poenitz@gmx.net>
948 * paragraph_func.[Ch]:
949 * paragraph.C (realizeFont): inline it whereever it is used
954 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
957 2003-07-26 André Pönitz <poenitz@gmx.net>
961 * text2.C: get rid of LyXText::need_break_row
963 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
965 * toc.[Ch]: put namespace toc inside namespace lyx
967 * MenuBackend.C (expandToc2): adjust for lyx::toc
970 * lyxfunc.C (dispatch): adjust for lyx::find
972 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
973 lyx::find instead. Reorganize a bit.
974 (LyXReplace): rename to replace
975 (LyXFind): rename to find
977 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
980 2003-07-26 André Pönitz <poenitz@gmx.net>
982 * text.C (setHeightOfRow): restrict scope of temporary variable
984 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
985 code (never has been used?)
987 2003-07-27 Asger Alstrup <alstrup@local>
989 * text.C (fill): Optimise algorithm to exploit that we can reuse
990 the LyXFont for many characters.
991 (setHeightOfRow): Same thing.
992 (rowBreakPoint): Same thing.
994 2003-07-26 Asger Alstrup <alstrup@local>
996 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
998 * text.C (singleWidth): Spurious font copying in hot-spot
999 singleWidth avoided. Reorder tests for arabic for efficiency.
1001 * text.C (fill): handle empty paragraphs better.
1003 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1006 * encoding.h: add includes
1008 * lyxrc.C: remove reading of bind files
1010 * lyx_main.C (init): setup bindings and menus only if we have a
1013 * kbmap.C (read): new method. Do the actual reading of bind
1016 * converter.C (dvipdfm_options):
1019 (output): adapt PAPER_* enums.
1021 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1023 * bufferparams.h: remove paper-related enums from there
1025 * paper.h: New file. A trivial header file to hold paper-related
1026 enums. It should later expand to contain many paper-related
1029 * lyxrc.C: declare extern displayTranslator
1031 2003-07-27 José Matos <jamatos@fep.up.pt>
1033 * tabular.[Ch] (linuxdoc): add support for tables and figures
1036 2003-07-27 José Matos <jamatos@fep.up.pt>
1038 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1039 consistency in both functions.
1040 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1042 2003-07-26 Asger Alstrup <alstrup@local>
1044 * rowpainter.C (paintRows): Change algorithm to work directly on
1045 the insets rather than asking every character in the document
1046 whether its an inset.
1048 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1050 * buffer.C (openFileWrite): factorize some code
1052 2003-07-26 Angus Leeming <leeming@lyx.org>
1055 * lyx_main.[Ch]: replace occurances of system_tempdir with
1058 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1060 * rename Inset to InsetOld
1062 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1064 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1065 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1066 which I think is a bit clearer. EDIT is gone, since it was
1067 premature optimisation, and broken for mathed anyway.
1068 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1069 with cursor positioning in insets as well (math insets still do not
1070 work, but that's a different story anyway.) It mysteriously
1071 crashes sometimes with undo in the first paragraph, but I'm fairly
1072 confident that this is a compiler bug.
1074 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1076 * paragraph.C (Paragraph): adjust for new clone return type
1078 (copyIntoMinibuffer): ditto
1080 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1082 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1083 by not having a special case, and always doing a full rebreak of
1084 the document after undo.
1086 2003-07-23 Angus Leeming <leeming@lyx.org>
1088 * factory.C (createInset): InsetExternal::setParams now takes a
1091 2003-07-23 Angus Leeming <leeming@lyx.org>
1093 * factory.C (createInset): changed interface to the external and
1094 graphics mailers' string2params functions.
1096 2003-07-23 Angus Leeming <leeming@lyx.org>
1098 * factory.C (createInset): pass a
1099 Buffer const * parameter to InsetExternalMailer's string2params.
1101 2003-07-22 John Levon <levon@movementarian.org>
1103 * Thesaurus.h: include the right aiksaurus header
1105 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1107 * MenuBackend.C (expand): check menu shortcuts unconditionally
1109 2003-07-21 Angus Leeming <leeming@lyx.org>
1111 * factory.C (createInset): pass a
1112 buffer_path parameter to InsetGraphicsMailer's string2params.
1114 2003-07-21 Angus Leeming <leeming@lyx.org>
1116 * BufferView_pimpl.C (buffer):
1119 * lyxfunc.C (dispatch):
1120 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1121 rather than the grfx shortcut.
1123 2003-07-21 André Pönitz <poenitz@gmx.net>
1125 * rowpainter.C: remove unused variables
1128 * tabular_funcs.h: move to tabular.C
1129 * Makefile.am: adjust
1131 * tabular.[Ch]: basic optical cleaning
1133 * author.h: pass references, not values
1135 2003-07-18 André Pönitz <poenitz@gmx.net>
1143 * text3.C: two-phase drawing for InsetText and InsetTabular
1144 some float -> int changes.
1146 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1148 * lyx_main.C: fix the fix
1150 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1152 * lyx_main.C: fix a crash in batch mode if no files specified
1155 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1157 * format.[Ch] (papersize): moved to BufferParams
1158 * converter.[Ch] (dvips_options): moved to BufferParams
1159 (dvipdfm_options): moved to anon namespace
1160 * bufferparams.[Ch]: added above functions.
1162 2003-07-17 André Pönitz <poenitz@gmx.net>
1166 * text2.C: don't call inset->update() anymore
1168 * metricsinfo.[Ch]: add convenience constructor
1170 2003-07-16 André Pönitz <poenitz@gmx.net>
1175 * text2.C: replace the LyXCursor::irow_ member with
1176 on-demand computation of the value
1178 2003-07-16 John Levon <levon@movementarian.org>
1180 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1182 2003-07-15 André Pönitz <poenitz@gmx.net>
1185 * text2.C: remove no more needed refresh_row
1187 2003-07-15 André Pönitz <poenitz@gmx.net>
1192 * text3.C: refresh_status tristate -> need_update bool
1194 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1196 * lyxtext.h (init): remove reinit argument (act as if always true)
1197 * text2.C: adjust to that
1199 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1201 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1202 * text3.C: use it to delete selections in some cases
1203 (bugs 441, 673, 702, 954).
1205 2003-07-14 André Pönitz <poenitz@gmx.net>
1207 * rowpainter.[Ch]: reduce interface
1209 2003-07-14 André Pönitz <poenitz@gmx.net>
1211 * BufferView_pimpl.C:
1212 * text2.C: adjust after removing unused BufferView * argument
1214 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1216 * text2.C (init): fix a crash fired on resize
1218 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1220 * buffer.[Ch]: added new closing signal
1221 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1222 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1223 BufferView::Pimpl via the closing the signal
1225 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1227 * buffer.[Ch]: take out all bv-related from buffer
1229 * BufferView_pimpl.[Ch]: connect to new signals
1230 * CutAndPaste.C: removed useless asserts
1231 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1234 * lyxfunc.C: moved view-related funciontality from vc here
1235 * paragraph.C: removed outdated comments
1238 2003-07-10 André Pönitz <poenitz@gmx.net>
1240 * BufferView_pimpl.C:
1244 * text2.C: remove InsetText::InnerCache, clean up consequences
1246 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1248 * ispell.C: fix two typos in error messages
1250 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1252 * Extend Note inset to other forms of annotation like Comment
1253 and Greyedout. Right button click gives dialog.
1255 Files modified or added (+):
1259 * ControlNote.[Ch] +
1261 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1262 frontends/controllers
1266 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1268 * aspell.C: add missing namespace lyx::support
1270 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1272 * BufferView.[Ch] (newFile): Add
1273 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1274 * LaTeX.[Ch] (message): added this signal and use it
1275 * buffer.[Ch] (busy, message): added these signals and use them
1276 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1280 * importer.C: use buffer signals instead of direct bv calling
1281 * lyx_cb.[Ch] (ShowMessage): removed
1284 * paragraph_funcs.C:
1285 * text2.C: use buffer signals
1287 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1289 * introduce namespace lyx::graphics
1291 2003-07-02 André Pönitz <poenitz@gmx.net>
1293 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1295 2003-07-01 André Pönitz <poenitz@gmx.net>
1302 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1303 text*.C to text_func.C
1305 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1307 * introduce namespace lyx::support
1309 2003-06-30 André Pönitz <poenitz@gmx.net>
1314 * text.C: re-enable --with-included-string
1316 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1318 * textcursor.C: add <config.h>
1320 * text.C (getWord): remove const from word_location arg
1322 * lyxvc.C (getLogFile): fix const type order
1324 * lyxtext.h: remove const from word_location arg, add arg name
1326 * lyxlayout.h: currect type on labeltype.
1328 * importer.C: correct \file
1330 * converter.C (intToFormat): use std:: on ret val, ws changes
1332 * bufferlist.h: correct \file
1334 * buffer.C (makeLinuxDocFile): fix const type order
1335 (makeDocBookFile): ditto
1336 (fillWithBibKeys): use std:: on stdlib args.
1338 * CutAndPaste.C: fix authors.
1339 (availableSelections): use std:: on return vector
1341 2003-06-27 André Pönitz <poenitz@gmx.net>
1343 * BufferView_pimpl.C:
1344 * bufferview_funcs.C:
1352 * text3.C: remove LyXCursor::row_ member
1355 * text.C: rename fullRebreak() to partialRebreak() and implement
1356 a fullRebreak() that really bereks fully
1358 * textcursor.h: new struct for cursor-related data
1360 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1362 * lyx_main.C (LyX): get full path of document loaded on the
1365 2003-06-26 André Pönitz <poenitz@gmx.net>
1367 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1368 remove unused/broken operator>,<,>=.
1370 * text.C: remove only use of broken operator<= in an Assert().
1372 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1374 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1375 moved errorlist_.clear to showErrorList
1377 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1379 * converter.C (scanLog, runLaTeX):
1380 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1381 move the bv->showErrorList call to the callers
1382 * lyxfunc.C: i.e. here...
1384 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1385 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1386 namespace, the second to...
1387 * buffer_funcs (BufferFormat, parseErrors): added
1388 * errorlist.C (ErrorList(TeXErrors const &)): removed
1390 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1392 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1394 2003-06-24 "Garst R. Reese" <reese@isn.net>
1398 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1400 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1402 * version.C.in: change docversion to 1.4
1404 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1406 * buffer.C: fix a bug just introduced
1408 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1410 * buffer.[Ch]: added the parseError signal and use it, removed
1412 * BufferView.[Ch] (addError): moved to ...
1413 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1414 to the Buffer::parseError signal to catch (guess what) parse errors
1415 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1417 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1419 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1420 ability to create a buffer and to return an existing one from
1421 the list. Moved these functions to...
1422 * buffer_funcs.[Ch]: added
1423 * BufferView.[Ch] (loadLyXFile): added
1424 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1425 job removed from bufferlist::loadLyXFile.
1426 * buffer.C (setReadOnly): make it work without view
1427 (i.e added an if (users))
1429 2003-06-19 Angus Leeming <leeming@lyx.org>
1432 * LyXAction.C (init):
1433 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1434 with LFUN_DIALOG_SHOW <name> <data>.
1436 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1438 * CutAndPaste.C (availableSelections): small compilation fix for
1439 ancient (gcc 2.9x) compilers
1441 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1443 * text3.C (cursorNext): add tmp var
1445 * text2.C (updateCounters): for function calling out of for clause
1446 (replaceSelectionWithString): ditto
1447 (insertStringAsParagraphs): ditto
1448 (getColumnNearX): add tmp var
1449 (setCursorFromCoordinates): add tmp var
1450 (cursorDownParagraph): add tmp var
1451 (deleteEmptyParagraphMechanism): add tmp var
1453 * text.C (insertChar): add tmp var
1455 * rowpainter.C (paintDepthBar): add tmp var
1457 * CutAndPaste.C (availableSelections): potentially check all
1458 paragraphs in a cut to fill the shown strings.
1460 2003-06-18 André Pönitz <poenitz@gmx.net>
1462 * kbmap.[Ch]: use vector<> instead of list<>
1464 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1466 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1467 pasteSelection with index
1469 * text2.C (pasteSelection): modify, call pasteSelection with index
1471 * paragraph.C (asString): reimplement version with no interval to
1472 call the one with interval.
1474 * lyxtext.h: add index arg to pasteSelection
1476 * MenuBackend.C (MenuItem): handle PasteRecent
1477 (Menu::read::Menutags): add md_pasterecent
1479 (expandPasteRecent): new function
1482 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1484 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1486 (availableSelections): new function
1488 2003-06-17 Angus Leeming <leeming@lyx.org>
1490 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1492 2003-06-17 Angus Leeming <leeming@lyx.org>
1495 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1497 * lyxfunc.C (dispatch): invoke it.
1499 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1501 * iterators.C (operator++, ParPosition): reintroduce some
1502 const_cast for the benefit of older compilers.
1504 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1506 * text3.C (dispatch): do not modify clipboard when doing
1507 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1508 LFUN_DELETE_SKIP on a selection selection
1510 2003-06-16 André Pönitz <poenitz@gmx.net>
1516 * tabular.[Ch]: IU of clone() and getLabelList();
1518 2003-06-13 André Pönitz <poenitz@gmx.net>
1520 * tabular.h: compactification
1522 2003-06-12 André Pönitz <poenitz@gmx.net>
1526 * tabular_funcs.h: some renaming plus whitespace
1528 2003-06-12 André Pönitz <poenitz@gmx.net>
1531 * BufferView_pimpl.C:
1537 * toc.C: Return a Paragraph & for ParIterator::operator*()
1539 2003-06-11 John Levon <levon@movementarian.org>
1543 * ToolbarBackend.C: add "Toolbars" section and
1546 2003-06-10 Angus Leeming <leeming@lyx.org>
1549 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1551 * lyxfunc.C (dispatch): invoke it.
1553 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * main.C: protect <ios> with HAVE_IOS
1556 (main): protect sync_with_stdio with HAVE_IOS
1558 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1560 * text2.C (cutSelection): adjust
1561 (pasteSelection): adjust
1563 * messages.C: handle get of empty string
1565 * main.C (main): use sync_with_stdio(false)
1567 * lyxfunc.C (dispatch): adjust
1569 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1570 (WriteAs): remove unneeded BufferView arg.
1572 * bufferparams.h: use correct types on papersize, papersize2 and
1575 * bufferparams.C (readToken): adjust for type
1576 (writeLaTeX): add missing cases to switch.
1578 * bufferlist.C (quitWriteBuffer): adjust
1581 * buffer.C (asciiParagraph): remove some commented code.
1583 * CutAndPaste.C: remove current_view extern variable.
1584 (cutSelection): add BufferParams arg.
1585 (eraseSelection): add BufferParams arg.
1586 (pasteSelection): add Buffer const & arg
1588 2003-06-07 John Levon <levon@movementarian.org>
1591 * paragraph_funcs.C:
1592 * paragraph_pimpl.C:
1596 * paragraph.C: allow InsetERT to freely space lines,
1597 and some consolidation of code
1599 2003-06-06 José Matos <jamatos@fep.up.pt>
1601 * buffer.C (makeDocBookFile): fix bug #821
1603 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1605 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1607 2003-06-04 Angus Leeming <leeming@lyx.org>
1609 * buffer.C: bump format to 224.
1611 2003-06-05 André Pönitz <poenitz@gmx.net>
1613 * text2.C (redoParagraphs): remove two const_cast<>
1615 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1617 * ParagraphList.h: remove last remnants of NO_STD_LIST
1619 2003-06-03 Angus Leeming <leeming@lyx.org>
1621 * factory.C (createInset): small change to the way InsetExternal's params
1624 2003-06-04 André Pönitz <poenitz@gmx.net>
1626 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1628 * paragraph_pimpl.h:
1629 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1631 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1633 * undo_funcs.C: make some simple cases of undo work again
1635 2003-06-03 John Levon <levon@movementarian.org>
1637 * ispell.C: HPUX doesn't have sys/select.h
1640 2003-06-03 John Levon <levon@movementarian.org>
1642 * CutAndPaste.C: update tabular and include inset
1647 * paragraph.C: remove owningBuffer(), don't pass Buffer
1650 * factory.C: insetGraphicsParams changed
1652 2003-06-02 John Levon <levon@movementarian.org>
1658 * text3.C: remove insetparent
1660 2003-06-02 John Levon <levon@movementarian.org>
1663 * buffer.C: fix inset_iterator.end(), move out of line
1666 2003-06-01 John Levon <levon@movementarian.org>
1668 * text3.C: use a proper cut/paste when doing inset
1669 insert (from Jürgen Spitzmüller)
1671 2003-06-01 John Levon <levon@movementarian.org>
1673 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1675 2003-05-30 André Pönitz <poenitz@gmx.net>
1677 * rowpainter.C: unify second drawing phase
1679 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1681 * trans_mgr.C: remove one case of current_view
1683 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1685 * paragraph_funcs.h: remove paragraph.h include
1687 * paragraph.h: delete NO_STD_LIST stuff
1689 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1691 * buffer.h: remove paragraph.h include
1693 * ParagraphList.C: delete file
1695 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1697 * toc.C (getTocList): adjust
1699 * paragraph_pimpl.C (validate): adjust
1701 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1703 * paragraph.C (Paragraph): adjust
1704 (getPositionOfInset): use const_iterator, adjust
1705 (bibitem): use const_iterator, adjust
1706 (setInsetOwner): adjust
1708 * iterators.C (operator++): adjust
1710 * InsetList.[Ch]: Replace selfmade iterator with standard
1711 vector::iterator also introduce const_iterator. Remove getPos,
1712 getInset and setInset from InsetTable. Adjust accordingly.
1714 * BufferView.C (lockInset): adjust
1715 (ChangeInsets): adjust
1717 * tabular.[Ch]: delete commented same_id functions
1719 2003-05-28 John Levon <levon@movementarian.org>
1721 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1723 2003-05-28 André Pönitz <poenitz@gmx.net>
1725 * metricsinfo.[Ch]: remove 'fullredraw' member
1727 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1729 * lyxtextclass.C (operator): remove caching.
1731 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1735 * text2.C (cursorBottom): adjust
1736 (setCounter): use ParagraphList::find, adjust
1738 * text.C (workWidth): use ParagraphList::find, adjust
1740 * lyxcursor.C (LyXCursor): adjust
1742 * buffer.C (inset_iterator): adjust
1744 * ParagraphList.h: make iterator(value_type) private, make
1745 ParagraphList a friend of iterator.
1747 * ParagraphList.C (find): new function
1749 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1751 2003-05-27 André Pönitz <poenitz@gmx.net>
1753 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1755 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1757 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1759 2003-05-26 John Levon <levon@movementarian.org>
1761 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1763 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1765 * remove same_id from function signatures, adjust.
1767 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1769 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1771 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1773 * paragraph.C (Paragraph): get rid of same_ids parameter
1775 * ParagraphList.C (insert): adjust
1778 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1780 * paragraph_funcs.C (breakParagraph): adjust
1781 (breakParagraphConservative): adjust
1783 * buffer.C (readParagraph): adjust
1785 * ParagraphList.C (insert): take a reference instead of a pointer
1788 * paragraph.[Ch] (id): new function
1790 * bufferlist.C (newFile): adjust
1792 * ParagraphList.C (ParagraphList): adjust
1794 (push_back): take a reference instead of a pointer.
1796 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1798 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1801 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1802 set else use old code.
1804 * ParagraphList.C: remove all NO_NEXT code and only compile this
1805 code of NO_STD_LIST is set.
1807 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1809 * BufferView_pimpl.C:
1819 * graphics/GraphicsConverter.C:
1820 * graphics/PreviewLoader.C: header adjustment
1822 2003-05-23 Angus Leeming <leeming@lyx.org>
1824 * LaTeXFeatures.[Ch] (useBabel): new method.
1825 * bufferparams.C (writeLaTeX): use it.
1827 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1829 * ParagraphList.h (set): remove unused function.
1831 2003-05-23 André Pönitz <poenitz@gmx.net>
1834 * BufferView_pimpl.C:
1838 * undo_funcs.C: setUndo reworked
1840 * iterators.[Ch]: add access to topmost ParagraphList
1842 * lyxtext.[Ch] (workWidth): add a const
1844 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1846 * texrow.[Ch] (increasePos): remove function
1847 * exporter.C (export): removed unused var and outdated comment
1849 2003-05-23 Angus Leeming <leeming@lyx.org>
1851 * latexrunparams.h: rename fragile as moving_arg.
1852 * paragraph.C (simpleTeXOnePar): ditto.
1853 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1855 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1857 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1859 (textUndoOrRedo): comment out a currently unused var.
1861 * paragraph.h (NO_NEXT): enable NO_NEXT
1863 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1865 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1867 * exporter.C (Export): adjust for removeAutoInsets removal.
1869 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1871 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1873 * BufferView.[Ch] (removeAutoInsets): delete function
1875 2003-05-22 Angus Leeming <leeming@lyx.org>
1877 * latexrunparams.h: add a free_spacing variable.
1879 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1880 to pass moving_arg, as the data is stored in runparams.fragile.
1882 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1883 to Inset::latexOptional or to simpleTeXOnePar.
1885 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1886 free_spacing arg to Inset::latexOptional.
1888 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1891 2003-05-22 Angus Leeming <leeming@lyx.org>
1893 * latexrunparams.h: add fragile and use_babel variables.
1895 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1896 * buffer.C (makeLaTeXFile): store this returned value in
1897 runparams.use_babel, thus passing it to the inset::latex methods.
1899 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1900 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1902 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1903 longer has a fragile arg, as it is stored in runparams.fragile.
1905 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1906 moving_arg parameter as the data is stored in runparams.fragile.
1908 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1909 a fragile parameter as the data is stored in runparams.fragile.
1911 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1913 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1915 2003-05-22 Angus Leeming <leeming@lyx.org>
1917 * latexrunparams.h: add a 'bool nice' which defaults to false.
1919 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1920 now encapsulated within runparams.
1922 * bufferlist.C (updateIncludedTeXfiles):
1923 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1925 2003-05-22 Angus Leeming <leeming@lyx.org>
1927 * latexrunparams.h: new file containing struct LatexRunParams.
1928 * Makefile.am: add new file.
1930 * LaTeX.[Ch] (c-tor, run):
1931 * buffer.[Ch] (makeLaTeXFile):
1932 * bufferlist.[Ch] (updateIncludedTeXfiles):
1933 * converter.C (convert, scanLog):
1934 * converter.[Ch] (runLaTeX):
1935 * exporter.C (Export):
1936 * paragraph.[Ch] (simpleTeXOnePar):
1937 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1938 * paragraph_funcs.[Ch] (latexParagraphs):
1939 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1940 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1941 pass around a LatexRunParams parameter.
1943 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1945 * paragraph.[Ch]: remove unused constructor
1947 * ParagraphList.C (erase): new function, taking two iterators
1949 2003-05-22 André Pönitz <poenitz@gmx.net>
1951 * undo_funcs.C: remove duplicated code
1953 * iterator.[Ch]: operator=
1955 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1957 * tabular.C (SetMultiColumn): ws changes
1959 * rowpainter.C (paintFirst): get rid of a ->previous
1961 * lyx_cb.C (getPossibleLabel): parlist simplification
1963 * BufferView.C (ChangeInsets): simplify slightly.
1965 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1967 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1968 * lfuns.h: new LFUN_SPACE
1969 * lyxfunc.C: protected space has a new lfun
1970 * paragraph_funcs.C: read new space insets
1972 * factory.C: handle new space insets
1974 2003-05-22 André Pönitz <poenitz@gmx.net>
1977 * BufferView_pimpl.C:
1980 * undo_funcs.C: return a ParIterator from getParFromID.
1982 * iterators.[Ch]: add two const's
1984 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1986 * toc.C (getTocList): adjust
1988 * iterators.[Ch]: rework for parlist
1990 * buffer.C (par_iterator_begin): adjust
1991 (par_iterator_end): adjust
1993 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1995 * BufferView.C (removeAutoInsets): adjust
1996 (ChangeInsets): adjust
1998 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2000 * text.C (top_y): fix bug 1110
2002 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2004 * errorlist.[Ch]: added
2007 * BufferView_pimpl.C:
2008 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2011 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2013 * Makefile.am: ensure that lyx is relinked upon changes to the
2014 various "convenience" libs.
2016 2003-05-20 Angus Leeming <leeming@lyx.org>
2018 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2019 files are compiled in alphabetical order again.
2021 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2023 2003-05-19 Angus Leeming <leeming@lyx.org>
2025 * gettext.[Ch]: remove "char const * _(char const *)".
2027 2003-05-19 André Pönitz <poenitz@gmx.net>
2029 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2038 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2040 2003-05-19 André Pönitz <poenitz@gmx.net>
2044 * lyxtextclass.[Ch]:
2046 * paragraph_funcs.[Ch]:
2048 * text3.C: more insetenv work
2050 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2052 * ParagraphParameters.C (params2string): small bug fixed
2054 2003-05-16 André Pönitz <poenitz@gmx.net>
2057 * bufferview_funcs.C: patch from Kornel Benko to prevent
2058 crash when _(...) is called twice in a statement
2060 2003-05-16 André Pönitz <poenitz@gmx.net>
2067 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2069 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2071 * lyx_main.C (init): remove spurious static_cast
2073 2003-05-14 André Pönitz <poenitz@gmx.net>
2075 * BufferView.C: fix format string
2077 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2079 * BufferView.[Ch] (insertErrors): removed
2080 * BufferView.[Ch] (showErrorList): added
2081 * buffer.C (runChkTeX):
2082 * converter.C (scanLog): call showErrorList instead of inserterrors
2084 2003-05-13 André Pönitz <poenitz@gmx.net>
2086 * BufferView_pimpl.C:
2088 * bufferview_func.C:
2095 * tabular_funcs.h: tostr() from its own header
2097 * ParagraphParameters.C:
2102 * text3.C: STRCONV()
2104 2003-05-12 André Pönitz <poenitz@gmx.net>
2107 * BufferView_pimpl.C:
2111 * ParagraphParameters.C:
2115 * bufferview_funcs.C:
2128 * paragraph_funcs.C:
2132 * text3.C: boost::format -> bformat all over the place
2135 2003-05-09 André Pönitz <poenitz@gmx.net>
2137 * LColor.[Ch]: Pimpl the #include <map> away
2139 2003-05-09 John Levon <levon@movementarian.org>
2141 * bufferlist.C: never remove emergency saves
2143 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2145 * Makefile.am: better lib building
2147 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2149 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2151 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2152 (simpleTeXSpecialChars): adjust
2153 (simpleTeXSpecialChars): adjust
2154 * paragraph.C (simpleTeXOnePar): adjust
2155 * buffer.C (makeLaTeXFile): adjust
2157 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2159 * text2.C (changeDepth): parlist cleanup
2160 (getColumnNearX): ditto
2162 * rowpainter.C (getLabelFont): parlist cleanup
2164 * bufferlist.C (newFile): parlist cleanup
2166 * CutAndPaste.C (eraseSelection): parlist cleanup
2168 * BufferView_pimpl.C (trackChanges): parlist cleanup
2171 * BufferView.C (lockInset): parlist cleanup.
2172 (ChangeInsets): ditto
2174 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * CutAndPaste.h: Update file header.
2178 * CutAndPaste.C: Update file header.
2179 Store the parts cut out of the Document in a limited_stack.
2180 (copySelection): adjust
2181 (pasteSelection): new function, takes the index in the limited stack.
2182 (nrOfParagraphs): adjust
2183 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2184 simplify error inset insertion.
2185 (checkPastePossible): adjust
2187 2003-05-06 John Levon <levon@movementarian.org>
2189 * text2.C: don't cast wrap inset to float
2191 2003-05-05 André Pönitz <poenitz@gmx.net>
2194 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2196 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2197 few naked Paragraph *.
2199 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2201 * bufferparams.C: Output warning if a document with missing
2202 TeX document class is loaded
2203 * exporter.C: Disable TeX exports if the document class is missing
2206 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2207 isTeXClassAvailable()
2209 2003-05-03 John Levon <levon@movementarian.org>
2212 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2213 explicit cursor show/hide
2215 * BufferView_pimpl.h:
2216 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2217 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2219 * lyxfunc.C: hide cursor before dispatching.
2224 * text3.C: remove explicit cursor hides
2226 2003-05-02 André Pönitz <poenitz@gmx.net>
2228 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2231 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2234 * text2.C: tiny whitespace
2236 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2238 * undo_funcs.C: almost only ws changes.
2240 * ParagraphList.C (splice): just return if pl is empty.
2242 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2244 * ParagraphList.C (splice): new function.
2246 * CutAndPaste.C (pasteSelection): use it
2248 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2250 * CutAndPaste.C (pasteSelection): remove the last next and
2251 previous from this file.
2253 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2255 * CutAndPaste.C (pasteSelection): more clean up, user proper
2256 ParagraphList functions for pasteing.
2258 * ParagraphList.C (insert): new function, three arg insert
2260 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2262 * ParagraphList.C (insert): new function, three arg insert
2264 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2267 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2271 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2273 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2275 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2277 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2278 (copySelection): clean up a bit.
2279 (pasteSelection): use make_pair
2281 * ParagraphList.C (ParagraphList): implement copy constructor
2282 (operator=): implement, base on copy constructor.
2285 * paragraph.C (erase): return a bool
2287 * paragraph_pimpl.C (erasePos): remove function, move contents...
2288 (erase): ... here. Return a bool.
2289 (erase): call erase instead of erasePos.
2291 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2293 * ParagraphList.h: define PitPosPair
2294 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2295 ParagraphList, fix a bug on pasting multiple pars
2296 * text2.C: change interface to C&P
2298 2003-04-30 André Pönitz <poenitz@gmx.net>
2300 * undo_func.C: revert part of yesterday's patch 2
2302 2003-04-30 John Levon <levon@movementarian.org>
2304 * LColor.C: s/tabular/table/
2306 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2308 * text3.C (dispatch): do not convert iterator -> pointer
2309 * undo_funcs.C (setCursorParUndo): ditto
2310 * text_funcs.C (transposeChars): ditto
2312 * text2.C (setLayout): ws changes only
2314 * text.C (breakParagraph): do not convert iterator -> pointer
2316 (acceptChange): ditto
2317 (rejectChange): ditto
2322 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2325 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2327 * text3.C (gotoInset): YABG (yet another bad getChar)
2329 2003-04-29 André Pönitz <poenitz@gmx.net>
2331 * paragraph.h: make operator= private unimplemented as long as
2334 * ParagraphList.C: whitespace
2337 * paragraph_pimpl.[Ch]:
2338 * paragraph_funcs.C:
2340 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2343 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2345 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2347 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2348 * paragraph.[Ch] (erase):
2349 * paragraph_pimpl.[Ch] (erase): change return type and value
2350 * text2.C (cutSelection): some rework
2352 2003-04-28 John Levon <levon@movementarian.org>
2354 * bufferlist.C: changes for unsaved changes dialog
2356 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2358 * bufferlist.C (newFile): set language (messages_) for new
2361 * buffer.C (readFile): ws changes only.
2363 2003-04-28 André Pönitz <poenitz@gmx.net>
2368 * BufferView_pimpl.C:
2369 * BufferView.C: getParFromID related ParagraphList::iterator changes
2371 2003-04-28 André Pönitz <poenitz@gmx.net>
2373 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2376 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2378 * messages.C: remove one more localedir class variable.
2380 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2382 * messages.C (getLocaleDir): singleton generation function
2384 (Messages): add a default constructor.
2386 * main.C (main): do not setup localedir here, do not call
2389 * gettext.C (_): use it.
2390 (gettext_init): delete funciton
2392 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * gettext.C (getLyXMessages): new singleton generating function.
2396 * buffer.C (updateDocLang): adjust
2398 * Makefile.am (messages.o): add target
2399 (main.o): remove target
2401 2003-04-27 John Levon <levon@movementarian.org>
2406 * lyxvc.C: specify cancel button in Alert::prompt
2408 2003-04-26 John Levon <levon@movementarian.org>
2413 * LyXAction.C: add LFUN_INSET_SETTINGS
2415 * lyxfunc.C: don't enable tabular-feature when there's
2416 just any locking inset
2418 2003-04-26 John Levon <levon@movementarian.org>
2420 * bufferlist.C: re-add Cancel to buffer close question
2422 * lyxfunc.C: fix import UI a bit
2424 2003-04-25 John Levon <levon@movementarian.org>
2426 * gettext.C: remove the broken asserts for now
2428 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2430 * messages.C: make case where setlocale cannot comply work better.
2432 * buffer.C (updateDocLang): new function
2433 (changeLanguage): use it
2436 * text2.C (setCounter): use B_ a bit.
2438 * lyxlayout.C (Read): be sure to trim the label strings.
2440 * messages.C (Messages): fix typo in comment
2442 * buffer.C (readFile): set message_ after file is loaded.
2443 (makeDocBookFile): remove double return
2444 (changeLanguage): reset message_ upon language change.
2445 (B_): new func, use this to get translated buffer strings.
2447 * main.C: add myself and Jean Marc as authors.
2449 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2451 * messages.[hC]: pimplify Messages, and three different pimpls to be
2452 used in different circumstances.
2454 * gettext.[Ch]: change for use with new message code.
2456 2003-04-24 André Pönitz <poenitz@gmx.net>
2458 * factory.C: support for eqref
2460 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2462 * messages.[Ch]: add missing char
2464 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2466 * messages.[Ch]: New files
2468 2003-04-18 John Levon <levon@movementarian.org>
2472 * BufferView_pimpl.C:
2476 * text2.C: remove layout-copy/paste (bug 778)
2478 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2480 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2482 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2484 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2485 if they succeed. Act accordingly.
2487 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2489 * text2.C (setCharFont): adjust
2490 (setCounter): adjust
2491 (insertStringAsLines): adjust
2493 * text.C (leftMargin): adjust
2494 (setHeightOfRow): adjust
2496 * rowpainter.C (paintFirst): adjust
2499 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2501 (isFirstInSequence): ditto
2502 (getEndLabel): ditto
2505 * paragraph.C (getParLanguage): comment out some hard stuff.
2507 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2509 (simpleDocBookOnePar): ditto
2510 (makeDocBookFile): use ParagraphList::iterator
2512 * CutAndPaste.C (pasteSelection): adjust
2514 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2516 * text2.C (getFont): adjust
2517 (getLayoutFont): adjust
2518 (getLabelFont): adjust
2520 * paragraph_funcs.C (TeXOnePar): adjust
2522 * buffer.C (simpleLinuxDocOnePar): adjust
2523 (simpleDocBookOnePar): adjust
2525 * CutAndPaste.C (pasteSelection): adjust
2527 * BufferView.C (getEncoding): adjust
2529 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2531 2003-04-16 John Levon <levon@movementarian.org>
2533 * lyxfind.C: use parlist stuff for search/changes
2535 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2537 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2539 * text2.C (deleteEmptyParagraphMechanism): adjust
2541 * text2.[Ch] (ownerParagraph): delete func (both of them
2543 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2547 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2549 * ParagraphList.C: prepare for NO_NEXT
2551 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2553 * text2.C (getFont): adjust
2554 (getLayoutFont): adjust
2555 (getLabelFont): adjust
2557 * paragraph.C (getFont): adjust
2558 (getLabelFont): adjust
2559 (getLayoutFont): adjust
2561 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2563 2003-04-15 John Levon <levon@movementarian.org>
2567 * lyx_main.C: handle Include in .ui files
2569 2003-04-15 John Levon <levon@movementarian.org>
2571 * MenuBackend.C: make the doc files length shorter
2574 * ToolbarBackend.C: handle toolbar placement flags,
2577 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2579 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2582 * paragraph_funcs.C (TeXOnePar): adjust
2584 * paragraph.C (getLabelFont): add outerfont arg, adjust
2585 (getLayoutFont): ditto
2586 (simpleTeXOnePar): adjust
2588 * paragraph_pimpl.C (realizeFont): delete func
2590 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2592 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2593 row argument, constify cur argument.
2595 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2597 * text2.C (getFont): adjust
2598 (getLayoutFont): adjust
2599 (getLabelFont): adjust
2601 * paragraph_funcs.C (TeXOnePar): adjust
2602 (outerFont): new func...
2603 (realizeFont): ...moved out from here, changed this to facilitate
2606 * paragraph.C (getFont): take outerfont as arg, adjust
2607 (simpleTeXOnePar): add outerfont arg, adjust
2609 * buffer.C (simpleLinuxDocOnePar): adjust
2610 (simpleDocBookOnePar): adjust
2612 * CutAndPaste.C (pasteSelection): adjust
2614 * BufferView.C (getEncoding): adjust
2616 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2618 * text2.C (setCharFont): adjust
2619 (setCounter): adjust
2621 * text.C (leftMargin): adjust
2622 (setHeightOfRow): adjust
2624 * rowpainter.C (paintFirst): adjust
2627 * paragraph_pimpl.C (realizeFont): adjust
2629 * paragraph.C (isFirstInSequence): move from here...
2630 * paragraph_funcs.C (isFirstInSequence): ...to here
2632 * paragraph.C (outerHook): move from here...
2633 * paragraph_funcs.C (outerHook): ...to here
2635 * paragraph.C (depthHook): move from here...
2636 * paragraph_funcs.C (depthHook): ...to here
2638 * paragraph.C (getEndLabel): move from here...
2639 * paragraph_funcs.C (getEndLabel): ...to here
2641 * text2.C (realizeFont): move from here...
2642 * paragraph_funcs.C (realizeFont): ...to here
2644 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2646 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2648 2003-04-14 Angus Leeming <leeming@lyx.org>
2650 * LColor.[Ch]: scrap LColor mathcursor.
2652 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * lyxlex.[Ch] (text): delete function
2655 * trans.C (Load): adjust
2656 * paragraph_funcs.C (readParToken): adjust
2658 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2660 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2661 vector<char> instead of a char[].
2663 * lyxlex_pimpl.C (getString): adjust
2665 (lex): use getString
2669 * lyxlex.C (text): use pimpl_->getString()
2673 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2676 (makeFontEntriesLayoutSpecific): temp var for par.size()
2677 (setLayout): temp var for ownerParagraphs().end()
2678 (fullRebreak): temp var for rows().end()
2679 (selectionAsString): temp var for boost::next(startpit), realize
2680 that the while really is a regular for loop.
2681 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2682 setCursor in one place.
2683 (setParagraph): temp vr for ownerParagraphs().end()
2684 (updateCounters): make the while loop a for loop
2685 (cutSelection): temp var for ownerParagraphs().end()
2686 (updateInset): make the do {} while() a regular for loop
2687 (getCursorX): use temp vars
2688 (setCurrentFont): use temp vars
2689 (getColumnNearX): use temp vars
2691 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2693 * text.C (transformChar): use temp var for getChar
2694 (computeBidiTables): use temp var for row->par()
2695 (fill): move temp vars for row->par() and pit->layout() earlier in
2697 (labelFill): use temp var for row->par()
2698 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2699 asc and desc, realize that pit never changes and that firstpit is
2700 just a duplicate and not needed. Exchange rit->par() with pit in a
2702 (breakAgain): use a temp var for boost::next(rit)
2703 (breakAgainOneRow): ditto
2704 (breakParagraph): use a temp var for rows().begin()
2705 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2706 (cursorRightOneWord): use temp var for cursor.par() and
2707 cursor.pos(), remove usage of tmpcursor.
2708 (cursorLeftOneWord): use temp var for cursor.par() and
2709 cursor.pos() only set cur at end of function.
2711 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * text.C, text2.C: exchange all usage of Paragraph::next with
2714 boost::next(ParagraphList::iterator)
2716 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2718 * text2.C (cursorTop): simplify implementation
2719 (cursorBottom): ditto
2720 (setParagraph): use ParagraphList::iterator
2721 (setCurrentFont): adjust
2722 (getColumnNearX): adjust
2723 (cursorRight): adjust
2724 (cursorLeft): remove usage of Paragraph::previous
2725 (cursorUpParagraph): ditto
2726 (deleteEmptyParagraphMechanism): slight cleanup
2728 * text.C (isBoundary): take a Paragraph const & instead of a
2730 (addressBreakPoint): ditto
2731 (leftMargin): remove usage of Paragraph::previous.
2732 (setHeightOfRow): ditto
2733 (cursorLeftOneWord): ditto
2734 (selectNextWordToSpellcheck): ditto
2737 (breakParagraph): remove one usage of Paragraph::next
2738 (redoParagraph): ditto
2739 (acceptChange): ditto
2740 (insertChar): adjust
2741 (rowBreakPoint): adjust
2743 * bufferview_funcs.C (toggleAndShow): adjust
2745 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2747 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2748 methods to access it.
2750 * text.C: Added updateRowPositions to compute all row positions.
2751 Make top_y and getRowNearY() to use the cached y position
2753 2003-04-11 John Levon <levon@movementarian.org>
2755 * text.C (rowBreakPoint): reintroduce the labelEnd
2756 checks, code copied from the row fill stuff. Deep voodoo.
2758 * text.C (fill): add a comment and debugging for the
2761 2003-04-11 John Levon <levon@movementarian.org>
2763 * text.C: make sure fullrow insets get wrapped to the next line,
2764 even when they're in a manual label
2766 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2768 * text2.C (insertParagraph): make it take ParagraphList::iterator
2770 (setLayout): make it return ParagraphList::iterator
2771 (redoParagraphs): ditto
2773 (checkParagraph): ditto
2775 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2777 * text2.C: adjust several funcs.
2778 (realizeFont): take a ParagraphList::iterator as arg.
2779 (getLayoutFont): ditto
2780 (getLabelFont): ditto
2781 (setCharFont): ditto
2783 * text.C: adjust several funcs.
2785 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2787 * text.C (selectNextWordToSpellcheck): don't accidentally
2790 2003-04-10 John Levon <levon@movementarian.org>
2792 * ToolbarBackend.C (getIcon): special handling for
2795 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2797 * text2.C (cursorRight): a getChar assert fixed
2799 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2801 * text2.C (getFont): change to take a ParagraphList::iterator
2802 instead of Paragraph*
2803 Adjust several functions.
2805 * text.C (transformChar): change to take a ParagraphList::iterator
2806 instead of Paragraph*
2807 (singleWidth): ditto
2808 Adjust several functions.
2810 * rowpainter.C: adjust several functions
2811 * rowpainter.h:store a ParagraphList::iterator and not a
2815 2003-04-09 John Levon <levon@movementarian.org>
2820 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2821 and the "help" bits as well
2823 2003-04-09 John Levon <levon@movementarian.org>
2826 * ToolbarBackend.C: allow multiple toolbars
2828 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * undo_funcs.C (setCursorParUndo): adjust
2832 * text_funcs.C (transposeChars): adjust
2834 * text3.C (gotoNextInset): adjust
2837 * text2.C (setLayout): adjust
2838 (changeDepth): adjust
2840 (redoParagraphs): adjust
2841 (selectionAsString): adjust
2842 (setParagraph): adjust
2843 (insertInset): adjust
2844 (cutSelection): adjust
2845 (copySelection): adjust
2846 (pasteSelection): adjust
2847 (insertStringAsLines): adjust
2848 (updateInset): adjust
2849 (setCursor): change to take a ParagraphList::iterator parameter
2850 (setCursorIntern): change to take a ParagraphList::iterator parameter
2851 (setCurrentFont): adjust
2852 (cursorLeft): adjust
2853 (cursorRight): adjust
2854 (deleteEmptyParagraphMechanism): adjust
2856 * text.C (breakParagraph): adjust
2857 (insertChar): adjust
2858 (acceptChange): adjust
2859 (rejectChange): adjust
2860 (selectNextWordToSpellcheck): adjust
2861 (changeCase): adjust
2865 * lyxfind.C (SearchForward): adjust
2866 (SearchBackward): adjust
2867 (nextChange): adjust
2869 * lyxcursor.C (par): adjust
2871 * lyxcursor.h: store a ParagraphList::iterator instead of a
2874 * lyx_cb.C (getPossibleLabel): adjust
2876 * bufferview_funcs.C (toggleAndShow): adjust
2878 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2881 * BufferView.C (removeAutoInsets): adjust
2882 (lockedInsetStoreUndo): adjust
2884 2003-04-09 John Levon <levon@movementarian.org>
2886 * ToolbarBackend.C: try icon without argument
2887 if with argument fails
2889 2003-04-08 John Levon <levon@movementarian.org>
2892 * ToolbarBackend.C: add getIcon(), handle tooltip,
2893 and change from "Icon" to "Item".
2895 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2897 * BufferView.C (lockInset): another bad getchar crunched
2899 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2901 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2904 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2906 * lyxfind.C (searchForward, searchBackwards): bug 782
2908 2003-04-07 John Levon <levon@movementarian.org>
2910 * paragraph.C: remove dead comment
2912 * text.C: remove troublesome depth-fiddling code
2913 in leftMargin() and rightMargin() (bug 1017)
2915 * text.C: fix breaking of rows in nested lists
2918 * text2.C (updateCounters): fix up depth values
2921 2003-04-07 John Levon <levon@movementarian.org>
2923 * BufferView_pimpl.C: clear message when doc finishes resizing,
2924 and after a mouse event
2926 * lyxfunc.C: clear message after exiting inset
2928 2003-04-07 John Levon <levon@movementarian.org>
2930 * bufferview_funcs.C: show math status not outside
2931 status in the statusbar
2933 2003-04-07 John Levon <levon@movementarian.org>
2935 * lyxfunc.C: note status changed after a depth change
2937 2003-04-04 Angus Leeming <leeming@lyx.org>
2939 * LaTeX.h: move AuxInfo operator==, != out of line.
2940 Remove LaTeX virtual destructor; nothing derives from it.
2941 Move operator()() out of public area and rename it startscript().
2942 Change protected for private.
2944 2003-04-04 Angus Leeming <leeming@lyx.org>
2947 * text2.C: remove unneeded #includes.
2949 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2951 * text2.C (dEPM): fix the heigth of the next row
2953 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2955 * text.C: squashed an invalid getChar requester + some ws changes
2957 2003-04-03 John Levon <levon@movementarian.org>
2959 * bufferview_funcs.h:
2960 * bufferview_funcs.C:
2963 * text2.C: make getStatus work for the env depth lfuns
2965 2003-04-03 John Levon <levon@movementarian.org>
2967 * bufferview_funcs.h:
2968 * bufferview_funcs.C:
2971 * text2.C: parlistize decDepth(), by merging it with incDepth()
2973 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2975 * lyxrow.h: store a ParagraphList::iterator instead of a
2976 Paragraph* and adjust other class functions to suit.
2978 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2981 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2983 * text2.C (setCursor): do not anchor to cursor row for the time being
2985 2003-04-02 John Levon <levon@movementarian.org>
2992 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2994 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * paragraph.h: make ParagraphList and ParagraphList::iterator
2997 friends of Paragraph.
2999 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3001 * ParagraphList.C: Use the private next_ and previous_ from
3004 2003-04-01 John Levon <levon@movementarian.org>
3008 * Makefile.am: rename, remove defaults gunk
3011 * MenuBackend.C: remove defaults gunk
3014 * Languages.C: remove defaults gunk
3017 * lyx_main.C: error out if files couldn't be found.
3019 2003-04-02 John Levon <levon@movementarian.org>
3021 * text2.C: make incDepth() use parlist
3023 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * undo_funcs.C (firstUndoParagraph): adjust
3027 * text3.C (gotoInset): adjust
3028 (dispatch): adjust, and rewrite loop.
3030 * text2.C (init): adjust, and rewrite loop.
3031 (redoParagraphs): adjust
3032 (updateInset): adjust, and rewrite loop.
3033 (deleteEmptyParagraphMechanism): adjust
3035 * tabular.C (LyXTabular): adjust
3036 (SetMultiColumn): adjust
3039 * lyxtext.[Ch] (ownerParagraph): delete function
3040 (ownerParagraphs): new function returns a ParagraphList.
3042 * BufferView.C (removeAutoInsets): adjust
3043 (insertErrors): adjust
3044 (setCursorFromRow): adjust
3046 2003-04-01 Angus Leeming <leeming@lyx.org>
3048 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3051 2003-04-02 John Levon <levon@movementarian.org>
3057 * text_funcs.C: make transposeChars a free function
3059 * lyxrow_funcs.C: remove wrong comment
3061 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3064 * rowpainter.C: adjust
3069 * lyxrow_funcs. [Ch]: new files
3071 * lyxrow.[Ch]: remove next and previous pointers
3072 (next,previous): remove accessor functions
3073 (isParEnd): move to lyxrow_funcs
3074 (lastPos): move to lyxrow_funcs
3075 (nextRowIsAllInset): move to lyxrow_funcs
3076 (lastPrintablePos): move to lyxrow_funcs
3077 (numberOfSeparators): move to lyxrow_funcs
3078 (numberOfHfills): move to lyxrow_funcs
3079 (numberOfLabelHfills): move to lyxrow_funcs
3080 (hfillExpansion): move to lyxrow_funcs
3084 * bufferview_funcs.C (toggleAndShow): adjust
3086 * RowList.h: Remove class RowList from file leave just a
3089 * RowList.C: delete file
3091 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3094 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * text3.C (cursorPrevious): adjust
3097 (cursorNext): adjust
3100 * text2.C (redoHeightOfParagraph): adjust
3101 (redoDrawingOfParagraph): adjust
3104 * text.C (breakParagraph): adjust
3105 (insertChar): adjust
3108 * rowpainter.C (RowPainter): adjust
3109 (leftMargin): simplify and adjust
3110 (most rowpainter functions): adjust.
3112 * rowpainter.h: store the row as RowList::iterator not as Row*
3114 * lyxcursor.C (row): taka RowList::iterator as arg
3117 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3120 2003-04-01 Angus Leeming <leeming@lyx.org>
3122 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3123 stuff like bool Bool.
3125 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3127 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3130 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3132 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3135 * lyxtext.h (rows): drop one version and leve a const variant that
3136 returns a RowList::iterator.
3138 2003-03-31 Angus Leeming <leeming@lyx.org>
3140 * text.C (fill): ensure that the signature is the same as that in the
3143 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3145 * text2.C (redoParagraphs): adjust
3146 (updateCounters): adjust
3147 (checkParagraph): adjust
3148 (getColumnNearX): adjust and reformat a bit.
3150 * text.C (top_y): adjust
3152 (leftMargin): adjust
3153 (prepareToPrint): adjust
3155 (getRowNearY): adjust
3157 * lyxtext.h: make rowlist_ mutable.
3159 * RowList.h: add const_iterator
3160 * RowList.C: adjust for RowList::const_iterator.
3162 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3165 2003-03-31 John Levon <levon@movementarian.org>
3168 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3170 * lyx_main.C: set default fonts from using lyx_gui funcs
3172 * exporter.C: pdf_mode moved from lyxrc
3175 * lyxfunc.C: changes from above
3177 2003-03-31 John Levon <levon@movementarian.org>
3179 * lyx_main.C: fix to the last fix
3181 2003-03-31 John Levon <levon@movementarian.org>
3183 * bufferlist.C: "Load original" -> "Load Original"
3189 * format.C: more Alert cleanups
3191 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3193 * text2.C (removeParagraph): make it take a RowList::iterator as
3195 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3196 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3198 * text.C (anchor_row): make it take a RowList::iterator as arg,
3200 (computeBidiTables): make it take a const reference to Row instead
3201 of Row pointer, adjust.
3202 (leftMargin): make it take a RowList::iterator as arg, adjust.
3203 (rowBreakPoint): adjust
3204 (breakAgainOneRow): make it take a RowList::iterator as arg,
3206 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3208 * bufferview_funcs.C (toggleAndShow): adjust
3210 2003-03-30 John Levon <levon@movementarian.org>
3214 * boost-inst.C: moved to support
3216 * several files: changes as a result
3218 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3220 * text2.C (LyXText): adjust.
3222 (removeRow): make it take a RowList::iterator as arg, adjust.
3223 (fullRebreak): adjust
3224 (deleteEmptyParagraphMechanism): adjust
3225 (clearPaint): adjust
3228 * text.C (top_y): adjust
3229 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3230 (breakAgain): make it take a RowList::iterator as arg, adjust.
3231 (breakParagraph): adjust
3232 (insertChar): adjust
3235 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3236 need_break_row, and refresh_row.
3238 * text3.C (dispatch): adjust
3240 * text2.C (checkParagraph): adjust
3242 (setCursorFromCoordinates): adjust
3244 * text.C (top_y): adjust
3246 (getRow): make it return a RowList::iterator, adjust
3247 (getRowNearY): make it return a RowList::iterator, adjust
3249 * text2.C (init): adjust
3250 (insertRow): remove function
3251 (insertParagraph): adjust
3252 (redoParagraphs): adjust
3253 (fullRebreak): adjust
3254 (updateCounters): adjust
3256 * text.C (top_y): rewrite to use RowList iterators.
3258 (setHeightOfRow): rewrite to sue RowList iterators.
3259 (appendParagraph): adjust
3260 (breakAgain): adjust
3261 (breakAgainOneRow): adjust
3262 (breakParagraph): adjust
3264 (getRowNearY): adjust, and remove commented code.
3266 * lyxtext.h (firstRow): delete function
3267 (lastRow): delete function
3268 (rows): new function (const and non-const versions.)
3269 (insertRow): delete function
3271 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3273 2003-03-29 John Levon <levon@movementarian.org>
3275 * BufferView_pimpl.C: always update scrollbar top
3276 because pasting text when we're anchored could mean we
3277 miss an update altogether
3279 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3281 * text2.C (init): use rowlist_.end() and not 0.
3282 (insertRow): change to take a RowList::iterator as arg, adjust
3284 (insertParagraph): change to take a RowList::iterator as arg,
3286 (redoParagraphs): remove some debug msgs.
3288 * text.C (appendParagraph): change to take a RowList::iterator
3289 arg, adjust for this.
3290 (breakAgain): add an assert
3291 (breakAgainOneRow): ditto
3293 2003-03-29 John Levon <levon@movementarian.org>
3295 * text2.C: do not clear selection after inc/decDepth
3298 2003-03-29 John Levon <levon@movementarian.org>
3301 * buffer.C: fix broken strerrors according to Lars
3303 2003-03-29 John Levon <levon@movementarian.org>
3305 * converters.C: more Alert cleanups
3307 2003-03-29 John Levon <levon@movementarian.org>
3309 * bufferview_funcs.C: remove pointless Alert
3311 * buffer.C: fix confusing error message when
3312 a template is chmoded 000
3314 2003-03-29 John Levon <levon@movementarian.org>
3318 * BufferView_pimpl.C: Alert fixes
3322 * tabular-old.C: remove unused table compat reading
3324 2003-03-29 John Levon <levon@movementarian.org>
3329 * lyx_cb.C: more Alert cleanups
3331 * lyxfunc.C: don't allow chktex if not latex document
3333 2003-03-29 John Levon <levon@movementarian.org>
3337 * buffer.C: warnings pushed down from support/,
3340 2003-03-29 John Levon <levon@movementarian.org>
3342 * lyxfunc.C: safety check for C-r (revert)
3344 2003-03-29 John Levon <levon@movementarian.org>
3347 * bufferlist.C: several UI fixes using Alert::prompt.
3348 Fix the pointless looping quit code. Fix stupid revert
3353 * lyx_cb.C: use Alert::prompt
3355 * lyx_main.C: remove a silly question
3357 * lyxfunc.C: remove a couple of silly questions,
3360 2003-03-28 John Levon <levon@movementarian.org>
3362 * text2.C: fix bug 974 (End on empty par)
3364 2003-03-28 John Levon <levon@movementarian.org>
3366 * BufferView_pimpl.C:
3368 * lfuns.h: remove do-nothing math greek lfuns
3370 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3372 * lyxgluelength.h (isValidGlueLength): add default arg on
3373 parameter 2. Remove default arg from friend in class.
3375 * lyxlength.h (isValidLength): add default arg on parameter 2.
3376 Remove default arg from friend in class.
3378 * text2.C (LyXText): adjust, initialize refresh_row.
3382 (insertParagraph): adjst
3383 (redoParagraphs): adjust
3384 (fullRebreak): adjust
3385 (updateCounters): adjust
3386 (deleteEmptyParagraphMechanism): first attempt at fixing a
3389 * text.C (top_y): adjust
3390 (setHeightOfRow): adjust
3392 (getRowNearY): adjust
3394 * lyxtext.h: include RowList.h
3395 (~LyXText): not needed anymore, deleted.
3396 (firstRow): modify for RowList
3397 (lastRow): new function
3398 Delete firstrow and lastrow class variables, add a Rowlist
3399 rowlist_ class variable.
3401 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3404 * RowList.C (insert): fix case where it == begin().
3406 2003-03-26 Angus Leeming <leeming@lyx.org>
3408 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3409 the thesaurus dialog.
3411 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3413 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3415 * RowList.[Ch]: new files
3417 * ParagraphList.C (erase): handle the case where it == begin
3420 2003-03-25 John Levon <levon@movementarian.org>
3424 * aspell.C: add new aspell support
3427 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3430 2003-03-25 Angus Leeming <leeming@lyx.org>
3433 * LyXAction.C (init): new LFUN_INSET_INSERT.
3435 * BufferView_pimpl.C (dispatch): split out part of the
3436 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3438 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3441 2003-03-25 Angus Leeming <leeming@lyx.org>
3443 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3445 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3448 * text3.C: remove useless row->height(0)
3450 2003-03-25 John Levon <levon@movementarian.org>
3454 * text3.C: rename the refreshing stuff to better names
3456 2003-03-24 John Levon <levon@movementarian.org>
3458 * BufferView_pimpl.h:
3459 * BufferView_pimpl.C: update layout choice on a mouse
3462 2003-03-23 John Levon <levon@movementarian.org>
3464 * Makefile.am: fix commandtags.h reference
3466 2003-03-22 John Levon <levon@movementarian.org>
3468 * BufferView_pimpl.C:
3473 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3475 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3478 * text.C: take the rtl methods out of line
3480 2003-03-21 André Pönitz <poenitz@gmx.net>
3482 * metricsinfo.[Ch]: new files containing structures to be passed around
3483 during the two-phase-drawing...
3485 2003-03-21 André Pönitz <poenitz@gmx.net>
3487 * lyxtextclass.C: read 'environment' tag.
3489 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3491 * text2.C (removeRow): fix bug 964
3493 2003-03-20 John Levon <levon@movementarian.org>
3497 * text2.C: paint cleanups. Inset::update() dropped font
3500 2003-03-19 John Levon <levon@movementarian.org>
3502 * lyxfunc.C: only fitcursor/markDirty if available()
3504 2003-03-19 John Levon <levon@movementarian.org>
3506 * commandtags.h: rename to ...
3508 * lfuns.h: ... this, and renumber / cleanup
3510 2003-03-19 John Levon <levon@movementarian.org>
3512 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3513 fit the cursor after an lfun
3517 * BufferView_pimpl.h:
3518 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3520 * LyXAction.C: layout-character should have ReadOnly
3522 * ParagraphParameters.C:
3524 * bufferview_funcs.C:
3531 * undo_funcs.C: changes from above
3533 2003-03-18 John Levon <levon@movementarian.org>
3535 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3536 remove it from update()
3538 * lyxfunc.C: update layout choice after an lfun
3540 * text3.C: remove extra updateLayoutChoice()s
3542 2003-03-18 John Levon <levon@movementarian.org>
3544 * text.C: top_y change means full repaint, fix
3545 a drawing bug with cursor movement
3547 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3551 * text2.C: anchor row on setCursor
3553 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3555 * lyxtext.h: remove almost all mutable keywords
3558 * text3.C: remove const keywords accordingly
3560 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3562 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3564 (TeXEnvironment): ditto
3567 2003-03-17 John Levon <levon@movementarian.org>
3569 * text.C (rowBreakPoint): remove attempt to fix displayed
3570 math insets inside a manual label
3572 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3574 * lyxtext.h: remove BufferView* as first arg from almost all class
3576 * other files: adjust.
3578 2003-03-17 John Levon <levon@movementarian.org>
3582 * text2.C: more paint cleanups
3584 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3587 * rowpainter.C: remove "smart" background painting code
3589 2003-03-16 John Levon <levon@movementarian.org>
3594 * text3.C: add helper functions for setting refresh_row/y
3596 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3598 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3599 newline inset which *can* get inserted in the pass_thru layouts.
3600 This is primarily for literate documents.
3602 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3604 * buffer.C: increment LYX_FORMAT to 223
3606 2003-03-14 André Pönitz <poenitz@gmx.net>
3608 * textclass.h: prepare for environment handling, ws changes
3609 * lyxlayout.C: read latexheader and latexfooter tags
3611 2003-03-14 John Levon <levon@movementarian.org>
3613 * text2.C: rewrite ::status() a bit
3615 2003-03-13 John Levon <levon@movementarian.org>
3617 * lyxtext.h: add some docs
3619 2003-03-13 John Levon <levon@movementarian.org>
3624 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3626 2003-03-13 John Levon <levon@movementarian.org>
3628 * text3.C: fix appendix redrawing
3630 2003-03-13 John Levon <levon@movementarian.org>
3632 * text.C (setHeightOfRow):
3634 * rowpainter.C: make appendix mark have the text
3635 "Appendix" so the user knows what it is
3638 * LColor.C: s/appendixline/appendix/ from above
3640 2003-03-13 John Levon <levon@movementarian.org>
3642 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3644 * text.C: fix a getChar(pos) bug properly
3646 2003-03-13 Angus Leeming <leeming@lyx.org>
3649 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3650 Probably only temporary. Let's see how things pan out.
3652 * BufferView.C (unlockInset):
3653 * BufferView_pimpl.C (fitCursor):
3654 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3656 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3657 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3659 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3660 new functions that convert ParagraphParameters to and from a string.
3662 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3663 BufferView::Pimpl's dispatch.
3664 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3666 2003-03-13 André Pönitz <poenitz@gmx.net>
3670 * factory.C: make it aware of InsetEnv
3672 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3674 * text2.C (setCursor): never ask for one past last
3675 (setCursor): add some debugging messages.
3677 * text.C (singleWidth): never ask for one past last
3678 (singleWidth): ditto
3680 (rightMargin): ditto
3681 (rowBreakPoint): ditto
3682 (setHeightOfRow): ditto
3683 (prepareToPrint): ditto
3685 * rowpainter.C (paintBackground): never ask for one past last
3686 (paintText): never ask for one past last
3688 * paragraph_pimpl.C (getChar): make the assert stricter, never
3689 allow the one past last pos to be taken
3691 * paragraph.C (getChar): ws changes only
3693 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3694 (numberOfSeparators): ditto
3695 (numberOfHfills): ditto
3697 2003-03-12 John Levon <levon@movementarian.org>
3703 * paragraph_funcs.C: fix per-buffer authorlists
3705 2003-03-12 John Levon <levon@movementarian.org>
3707 * text.C: fix newline in right address
3709 2003-03-12 Angus Leeming <leeming@lyx.org>
3711 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3712 duplicate those in LyXFunc::dispatch.
3716 * ToolbarDefaults.C:
3717 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3718 Add LFUN_FONTFREE_UPDATE.
3720 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3721 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3723 * bufferview_func.[Ch]: several new functions to facilliate
3724 transfer of data to and from the character dialog.
3726 2003-03-12 John Levon <levon@movementarian.org>
3731 * paragraph_funcs.C:
3732 * paragraph_pimpl.C:
3736 * text3.C: remove META_NEWLINE in favour of an inset
3739 * rowpainter.C: remove paintNewline (done by inset)
3741 2003-03-12 John Levon <levon@movementarian.org>
3743 * paragraph_pimpl.C: complain about bad getChar()s
3744 for a while at least
3746 2003-03-12 John Levon <levon@movementarian.org>
3749 * buffer.C: move paragraph read into a separate function,
3750 a little renaming to reflect that.
3753 * bufferparams.C: remove the author_ids map, not necessary now
3756 * factory.C: moved Buffer::readInset to here
3758 * paragraph_funcs.h:
3759 * paragraph_funcs.C: readParagraph free function moved from
3762 * tabular.C: name change
3764 2003-03-12 John Levon <levon@movementarian.org>
3767 * ParagraphParameters.C: move par params input to
3770 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3771 behave like a normal read from the stream wrt reading
3772 a line vs. a \\token
3774 2003-03-12 John Levon <levon@movementarian.org>
3777 * ParagraphParameters.h:
3778 * ParagraphParameters.C: move output code to a
3781 2003-03-12 John Levon <levon@movementarian.org>
3783 * BufferView.C (insertLyXFile):
3786 * tabular.C: use a parlist iterator for creating the
3789 2003-03-12 John Levon <levon@movementarian.org>
3791 * buffer.C: make current_change static local not
3794 2003-03-12 John Levon <levon@movementarian.org>
3796 * buffer.C: fix insertStringAsLines for change tracking
3798 2003-03-12 John Levon <levon@movementarian.org>
3805 * bufferparams.C: move author list into params. Rename some
3806 functions. Move the header reading into a separate token
3807 loop. Move the header token reading into BufferParams.
3809 2003-03-12 John Levon <levon@movementarian.org>
3811 * changes.C: put debug inside lyxerr.debugging() checks
3813 2003-03-11 André Pönitz <poenitz@gmx.net>
3815 * factory.C: make it aware of InsetHFill
3817 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3819 * buffer.C (latexParagraphs): move function from here...
3820 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3823 2003-03-10 Angus Leeming <leeming@lyx.org>
3825 * LyXAction.C (init): fix bug in poplating array with multiple entries
3826 with the same LFUN (spotted by JMarc).
3828 2003-03-10 John Levon <levon@movementarian.org>
3831 * text2.C: move getColumnNearX() near its
3834 2003-03-10 John Levon <levon@movementarian.org>
3836 * text.C: fix break before a minipage
3838 2003-03-10 John Levon <levon@movementarian.org>
3840 * text.C: fix the last commit
3842 2003-03-09 John Levon <levon@movementarian.org>
3846 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3847 bug 365 (don't break before insets unless needed). Don't
3848 return a value > last under any circumstances.
3850 2003-03-09 Angus Leeming <leeming@lyx.org>
3852 * BufferView_pimpl.C (trackChanges, dispatch): call
3853 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3855 2003-03-09 Angus Leeming <leeming@lyx.org>
3857 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3858 than Dialogs::showAboutlyx().
3860 2003-03-09 Angus Leeming <leeming@lyx.org>
3862 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3863 than Dialogs::showTabularCreate().
3865 2003-03-09 John Levon <levon@movementarian.org>
3869 * text2.C: 3rd arg to nextBreakPoint was always the same.
3872 2003-03-08 John Levon <levon@movementarian.org>
3879 * text2.C: Remove the "main" bit from the "main body"
3882 2003-03-08 John Levon <levon@movementarian.org>
3884 * text.C (leftMargin): The left margin of an empty
3885 manual label paragraph should not include the label width
3888 * text.C (prepareToPrint): don't attempt to measure hfills
3889 for empty manual label paragraphs - the answer should be 0
3891 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * CutAndPaste.C: remove commented code and reindent.
3895 2003-03-08 John Levon <levon@movementarian.org>
3898 * lyxfunc.C: move reloadBuffer()
3901 * BufferView.C: to here
3903 * lyxvc.C: add comment
3906 * vc-backend.C: call bv->reload() to avoid
3907 getStatus() check on MENURELOAD
3909 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3911 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3912 to an old format .dep file.
3914 2003-03-07 Angus Leeming <leeming@lyx.org>
3916 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3917 when the LFUN_MOUSE_RELEASE should have been handled by
3918 inset->localDispatch.
3920 2003-03-07 Angus Leeming <leeming@lyx.org>
3922 * BufferView_pimpl.C (dispatch):
3923 * LyXAction.C (init):
3924 * ToolbarDefaults.C (init):
3926 * lyxfunc.C (getStatus):
3927 remove LFUN_INSET_GRAPHICS.
3929 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3931 2003-03-07 Angus Leeming <leeming@lyx.org>
3934 * LyXAction.C (init):
3935 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3937 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3940 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3942 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3943 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3945 2003-03-07 Angus Leeming <leeming@lyx.org>
3947 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3950 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3952 * ParagraphList.C (front): new function
3955 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3957 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3958 and top_row_offset_. removed var first_y.
3960 * text2.C (LyXText, removeRow):
3962 * BufferView_pimpl.C:
3963 use these methods instead of using first_y
3965 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3967 * text2.C (pasteSelection): adjust for checkPastePossible
3969 * CutAndPaste.C: remove Paragraph * buf and replace with
3970 ParagraphList paragraphs.
3971 (DeleteBuffer): delete
3972 (cutSelection): change the tc type to textclass_type
3973 (copySelection): change the tc type to textclass_type
3974 (copySelection): adjust for ParagraphList
3975 (pasteSelection): change the tc type to textclass_type
3976 (pasteSelection): adjust for Paragraphlist
3977 (nrOfParagraphs): simplify for ParagraphList
3978 (checkPastePossible): simplify for ParagraphList
3979 (checkPastePossible): remove unused arg
3981 * ParagraphList.C (insert): handle the case where there are no
3984 * CutAndPaste.h: make CutAndPaste a namespace.
3986 * text3.C (dispatch): adjust
3988 * text.C (breakParagraph): add a ParagraphList as arg
3990 * paragraph_funcs.C (breakParagraph): change to take a
3991 BufferParams and a ParagraphList as args.
3992 (breakParagraphConservative): ditto
3993 (mergeParagraph): ditto
3994 (TeXDeeper): add a ParagraphList arg
3995 (TeXEnvironment): ditto
3998 * buffer.C (readLyXformat2): adjust
3999 (insertStringAsLines): adjust
4000 (latexParagraphs): adjust
4002 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4003 (cutSelection): adjust
4004 (pasteSelection): adjust
4006 * BufferView_pimpl.C (insertInset): adjust
4008 2003-03-05 Angus Leeming <leeming@lyx.org>
4011 * LyXAction.C (init):
4012 * BufferView_pimpl.C (dispatch):
4013 * lyxfunc.C (getStatus):
4014 remove LFUN_CHILD_INSERT.
4016 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4018 2003-03-05 Angus Leeming <leeming@lyx.org>
4021 * LyXAction.C (init):
4022 * src/factory.C (createInset):
4023 * lyxfunc.C (getStatus):
4024 * text3.C (dispatch):
4025 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4027 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4029 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4031 * ParagraphList.C (insert): handle insert right before end()
4032 (erase): fix cases where it can be first or last paragraph.
4034 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4036 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4037 Paragraph::next and Paragraph::previous
4040 * text.C (breakParagraph): adjust
4042 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4043 BufferParams& as arg.
4044 (breakParagraph): use ParagraphList::insert
4045 (breakParagraphConservative): take a Buffer* instead of a
4046 BufferParams& as arg.
4047 (breakParagraphConservative): use ParagraphList::insert.
4049 * buffer.C (insertStringAsLines): un-const it
4050 (insertStringAsLines): adjust
4052 * ParagraphList.C (insert): new function
4054 * CutAndPaste.C (pasteSelection): adjust
4056 * text.C (backspace): adjust
4058 * tabular.C (SetMultiColumn): adjust
4060 * CutAndPaste.C (cutSelection): adjust
4061 (pasteSelection): adjust
4063 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4064 Buffer const * as arg
4066 * ParagraphList.C (erase): new function
4067 * paragraph_funcs.C (mergeParagraph): use it
4068 (mergeParagraph): make it take a Buffer* instead of a
4069 BufferParams* as arg
4071 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4073 (breakParagraphConservative): ditto
4075 * paragraph.h: remove the breakParagraph friend
4077 * paragraph.C (eraseIntern): new function
4078 (setChange): new function
4080 * paragraph_funcs.C (mergeParagraph): make it take a
4081 ParagraphList::iterator instead of a Paragraph *, adjust
4084 * paragraph.h: move an #endif so that the change tracking stuff
4085 also works in the NO_NEXT case.
4087 2003-03-04 Angus Leeming <leeming@lyx.org>
4090 * LyXAction.C: new LFUN_INSET_MODIFY.
4092 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4093 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4095 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * several files: ws changes only
4099 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4100 (TeXEnvironment): ditto
4103 * buffer.C (makeLaTeXFile): adjust
4104 (latexParagraphs): make it take ParagraphList::iterator as args
4106 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4108 * buffer.C (latexParagraphs): adjust
4110 * paragraph.C (TeXOnePar): move function...
4111 (optArgInset): move function...
4112 (TeXEnvironment): move function...
4113 * paragraph_pimpl.C (TeXDeeper): move function...
4114 * paragraph_funcs.C: ...here
4116 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4118 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4120 * buffer.C (readInset): remove compability code for old Figure and
4123 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4125 * buffer.C: ws changes
4128 * BufferView_pimpl.C: ditto
4131 * bufferlist.h: ditto
4135 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4137 * converter.[Ch]: split into itself +
4140 * Makefile.am: += graph.[Ch] + format.[Ch]
4147 * lyxrc.C: added #include "format.h"
4149 2003-02-27 Angus Leeming <leeming@lyx.org>
4151 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4154 * factory.C (createInset): add "label" to the factory.
4156 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4157 string and do no more.
4159 2003-02-27 Angus Leeming <leeming@lyx.org>
4162 * LyXAction.C (init):
4163 * factory.C (createInset):
4164 * BufferView_pimpl.C (dispatch):
4165 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4167 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4169 * lyxfunc.C (dispatch):
4170 * text3.C (dispatch): pass name to params2string.
4172 2003-02-26 Angus Leeming <leeming@lyx.org>
4174 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4176 Rearrange the ~includes. Strip out the unnecessary ones.
4178 * factory.C (createInset): reformat.
4179 create new insets for the various LFUN_XYZ_APPLY lfuns.
4181 2003-02-26 John Levon <levon@movementarian.org>
4184 * lyxrow.C: add isParStart,isParEnd helpers
4186 * paragraph.h: make isInserted/DeletedText take refs
4188 * paragraph_funcs.h:
4189 * paragraph_funcs.C: remove #if 0'd code
4194 * text.C: use lyxrow helpers above.
4195 Move draw and paint routines to RowPainter.
4196 Make several methods use refs not pointers.
4197 Make backgroundColor() const.
4198 Add markChangeInDraw(), isInInset().
4199 Merge changeRegionCase into changeCase.
4200 Make workWidth() shouldn't-happen code into an Assert.
4203 * rowpainter.C: new class for painting a row.
4206 * vspace.C: make inPixels take a ref
4208 2003-02-26 Angus Leeming <leeming@lyx.org>
4210 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4213 2003-02-25 John Levon <levon@movementarian.org>
4215 * ispell.C: give the forked command a more accurate name
4217 2003-02-22 John Levon <levon@movementarian.org>
4220 * toc.C: make TocItem store an id not a Paragraph *
4223 2003-02-21 Angus Leeming <leeming@lyx.org>
4225 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4226 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4227 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4228 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4229 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4230 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4232 * BufferView_pimpl.C (dispatch):
4233 * LyXAction.C (init):
4234 * factory.C (createInset):
4235 * lyxfunc.C (getStatus, dispatch):
4236 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4238 2003-02-21 Angus Leeming <leeming@lyx.org>
4240 * BufferView_pimpl.C (MenuInsertLyXFile):
4241 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4242 * lyxfunc.C (menuNew, open, doImport):
4243 no longer pass a LyXView & to fileDlg.
4245 2003-02-21 Angus Leeming <leeming@lyx.org>
4247 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4248 * LyXAction.C: change, BIBKEY to BIBITEM.
4249 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4250 Change InsetBibKey to InsetBibitem.
4251 Change BIBKEY_CODE to BIBITEM_CODE.
4252 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4253 * factory.C: replace insetbib.h with insetbibitem.h.
4254 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4255 * paragraph.C: replace insetbib.h with insetbibitem.h.
4256 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4257 Change bibkey() to bibitem().
4258 * text.C: remove insetbib.h.
4259 * text2.C: replace insetbib.h with insetbibitem.h.
4260 change bibkey() to bibitem().
4261 * text3.C: remove insetbib.h.
4262 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4264 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4266 * lyxrc.C (output): enclose user email in quotes (in case there are
4269 2003-02-18 John Levon <levon@movementarian.org>
4271 * buffer.h: add std::
4273 2003-02-17 John Levon <levon@movementarian.org>
4279 * pspell.C: reworking. Especially in ispell, a large
4280 number of clean ups and bug fixes.
4282 * lyxfunc.C: fix revert to behave sensibly
4284 2003-02-17 André Pönitz <poenitz@gmx.net>
4287 * commandtags.h: new LFUN_INSERT_BIBKEY
4297 * paragraph_func.C: remove special bibkey handling
4299 2003-02-17 John Levon <levon@movementarian.org>
4301 * text.C (Delete): fix case where delete at the end of
4302 the very first paragraph would not merge the pars
4304 2003-02-17 John Levon <levon@movementarian.org>
4306 * lyxrow.C: fix lastPrintablePos()
4308 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4310 * bufferparams.C (writeLaTeX): add a std:here
4312 * buffer.C: and remove a using directive there
4314 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4316 * buffer.C (makeLaTeXFile): move the code that generates the
4319 * bufferparams.C (writeLaTeX): ... in this new method
4321 * LaTeXFeatures.C (getEncodingSet): make const
4322 (getLanguages): make const
4324 * MenuBackend.C (binding): returns the binding associated to this
4326 (add): sets the status of each item by calling getStatus. Adds
4328 (read): add support for OptSubMenu
4329 (expand): remove extra separator at the end of expanded menu
4331 2003-02-15 John Levon <levon@movementarian.org>
4334 * BufferView_pimpl.C:
4336 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4337 inset code that had no actual effect. Remove unneeded status
4340 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4342 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4345 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4347 * text.C (drawLengthMarker): also draw an arrow marker for
4348 symbolic lengths (medskip...)
4350 2003-02-14 John Levon <levon@movementarian.org>
4353 * tabular.C: better method names
4355 2003-02-14 John Levon <levon@movementarian.org>
4357 * BufferView_pimpl.C:
4362 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4363 it's a more accurate name. Remove some pointless uses.
4365 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4367 * text2.C (LyXText): change order of initilizers to shut off
4370 2003-02-14 John Levon <levon@movementarian.org>
4372 * buffer.C: use ParIterator for getParFromID()
4376 * paragraph_pimpl.h:
4377 * paragraph_pimpl.C: remove unused getParFromID()
4379 2003-02-14 John Levon <levon@movementarian.org>
4381 * buffer.C: remove some very old #if 0'd parse code
4383 2003-02-13 John Levon <levon@movementarian.org>
4387 * text2.C: move hfillExpansion(), numberOfSeparators(),
4388 rowLast(), rowLastPrintable(), numberofHfills(),
4389 numberOfLabelHfills() ...
4392 * lyxrow.C: ... to member functions here.
4397 * text.C: remove LyXText::beginningOfMainBody(), and call
4398 p->beginningOfMainBody() directly. Move the check for
4399 LABEL_MANUAL into the latter.
4406 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4412 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4413 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4415 2003-02-13 John Levon <levon@movementarian.org>
4417 * CutAndPaste.C: remove debug
4419 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4421 * paragraph.C (asString): remove two unused variables
4423 * lyxtextclass.C (readTitleType):
4425 (LyXTextClass): handle new members titletype_ and titlename_
4427 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4429 2003-02-09 John Levon <levon@movementarian.org>
4432 * buffer.C: replace hand-coded list with a map for the dep clean
4434 2003-02-08 John Levon <levon@movementarian.org>
4436 * LaTeX.C: consolidate code into showRunMessage() helper
4438 2003-02-08 John Levon <levon@movementarian.org>
4443 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4444 and pass the size in explicitly
4446 * BufferView_pimpl.h:
4447 * BufferView_pimpl.C:
4449 * BufferView.C: add getCurrentChange()
4451 * BufferView_pimpl.h:
4452 * BufferView_pimpl.C: handle change lfuns
4454 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4455 for changes. Mark pasted paragraphs as new.
4457 * support/lyxtime.h:
4458 * support/lyxtime.C:
4459 * DepTable.C: abstract time_t as lyx::time_type
4462 * LColor.C: add colours for new text, deleted text, changebars
4464 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4465 package use "usenames" option.
4469 * LyXAction.C: add change lfuns
4473 * author.C: author handling
4476 * buffer.C: add a per-buffer author list, with first entry as
4477 current author. Handle new .lyx tokens for change tracking. Output
4478 author list to .lyx file. Output dvipost stuff to .tex preamble.
4479 Bump lyx format to 222.
4482 * bufferlist.C: add setCurrentAuthor() to reset current author details
4486 * bufferparams.C: add param for tracking
4488 * bufferview_funcs.C: output change info in minibuffer
4492 * changes.C: add change-tracking structure
4495 * debug.C: add CHANGES debug flag
4498 * lyxfind.C: add code for finding the next change piece
4501 * lyxrc.C: add user_name and user_email
4504 * lyxrow.C: add a metric for the top of the text line
4507 * text.C: implement accept/rejectChange()
4510 * text.C: paint changebars. Paint new/deleted text in the chosen
4511 colours. Strike through deleted text.
4515 * paragraph_pimpl.h:
4516 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4517 in the current change to the insert functions. Rework erase to
4518 mark text as deleted, adding an eraseIntern() and a range-based
4519 erase(). Implement per-paragraph change lookup and
4522 * paragraph_funcs.C: Fixup paste for change tracking.
4524 * tabular.C: mark added row/columns as new.
4526 * text.C: fix rowLast() to never return -1. Don't allow
4527 spellchecking of deleted text. Track transpose changes. Don't
4528 allow paragraph break or merge where appropriate.
4530 * text2.C: leave cursor at end of selection after a cut.
4532 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4534 * text.C (getLengthMarkerHeight):
4535 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4536 visible on screen too.
4538 2003-02-07 John Levon <levon@movementarian.org>
4540 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4542 2003-02-05 Angus Leeming <leeming@lyx.org>
4544 * lyxserver.C (read_ready): revert my patch of 11 September last year
4545 as it sends PC cpu through the roof. Presumably this means that
4546 the lyxserver will no longer run on an Alpha...
4548 2003-01-30 Angus Leeming <leeming@lyx.org>
4550 * factory.C (createInset): create an InsetCommandParam of type "index"
4551 and use it to 'do the right thing'.
4553 * text2.C (getStringToIndex): ensure that cursor position is always
4554 reset to the reset_cursor position.
4556 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4558 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4561 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4565 * lyxfunc.C: Output messages with identical spelling, punctuation,
4568 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4570 * MenuBackend.C (expandFormats): List only viewable export formats
4573 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4576 * lyxfunc.C (getStatus): Make sure that formats other than
4577 "fax" can also be disabled
4579 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4581 * text3.C (dispatch): put the lfuns that insert insets in 3
4582 groups, and call doInsertInset with appropriate arguments.
4583 (doInsertInset): new function, that creates an inset and inserts
4584 it according to some boolean parameters.
4586 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4588 * buffer.C (readFile): remember to pass on 'par' when calling
4589 readFile recursively.
4591 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4593 * MenuBackend.C (expandFormats): add "..." to import formats.
4595 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4597 * paragraph.C (asString): Remove XForms RTL hacks.
4599 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4600 * buffer.C: fix typo
4602 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * Makefile.am (LIBS): delete var
4605 (lyx_LDADD): add @LIBS@ here instead.
4607 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4609 * Clarify the meaning of "wheel mouse jump"
4611 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4613 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4616 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4618 * importer.C (Loaders): do not preallocate 3 elements in the
4619 vector, since one ends up with 6 elements otherwise
4621 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4623 * DepTable.C (write): write the file name as last element of the
4624 .dep file (because it may contain spaces)
4625 (read): read info in the right order
4627 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4629 * paragraph_pimpl.C (simpleTeXBlanks):
4630 (simpleTeXSpecialChars):
4631 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4633 * tabular.C (latex): add some missing case statements. Reindent.
4635 * MenuBackend.C (expandToc): remove unused variable.
4637 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4646 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4649 2003-01-05 John Levon <levon@movementarian.org>
4652 * BufferView.C: add getEncoding()
4655 * kbsequence.C: do not store last keypress
4658 * lyxfunc.C: store last keypress here instead. Pass encoding
4661 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4663 * lyx_main.C (init): remove annoying error message when following
4664 symbolic links (bug #780)
4666 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4668 * text.C (insertChar):
4669 * lyxrc.C (getDescription): remove extra spaces
4671 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4673 * lyxrc.C (getDescription): remove extra spaces
4675 2002-12-20 John Levon <levon@movementarian.org>
4677 * text3.C: hack fix for page up/down across tall rows
4679 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4681 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4684 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4686 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4687 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4688 thesaurus is not compiled in
4690 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4692 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4694 2002-12-16 Angus Leeming <leeming@lyx.org>
4697 * lyx_main.C (init): remove override_x_deadkeys stuff.
4699 2002-12-12 John Levon <levon@movementarian.org>
4701 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4702 insert. Only remove shift modifier under strict
4705 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * MenuBackend.C (expandToc): fix crash.
4709 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4711 * MenuBackend.C (expandToc): gettext on float names.
4713 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4715 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4716 implement bool empty() [bug 490]
4718 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4720 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4722 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4724 * several files: ws changes
4726 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4728 * text2.C (setCounter): clean up a bit, use boost.format.
4729 (updateCounters): initialize par upon declaration.
4731 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4732 if the layout exists. We do not just store the layout any more.
4733 (SwitchLayoutsBetweenClasses): use boost.format
4735 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4737 * converter.C (convert): if from and to files are the same, use a
4738 temporary files as intermediary
4740 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4743 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4745 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4747 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4749 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4751 * tabular.C (asciiPrintCell): use string(size, char) instead of
4754 * sgml.C (openTag): fix order of arguments to string constructor
4757 * lyxfunc.C (dispatch): use boost.format
4759 * lots of files: change "c" -> 'c'
4761 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4763 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4765 2002-11-25 Angus Leeming <leeming@lyx.org>
4767 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4769 * lyx_main.C (init): compile fix.
4771 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4773 * lyx_cb.C (start): boost.formatify
4774 do not include <iostream>
4776 * lengthcommon.C: ws only
4778 * boost-inst.C,BoostFormat.h: add more explict instantations
4780 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4782 * lots of files: handle USE_BOOST_FORMAT
4784 2002-11-21 John Levon <levon@movementarian.org>
4786 * pspell.C: fix compile
4788 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4790 * lyxfunc.C (dispatch): use boost::format
4794 * lyxfont.C (stateText): use boost::format
4796 * lyx_main.C (LyX): use boost::format
4798 (queryUserLyXDir): ditto
4801 (typedef boost::function): use the recommened syntax.
4803 * importer.C (Import): use boost::format
4805 * debug.C (showLevel): use boost::format
4807 * converter.C (view): use boost::format
4812 * bufferview_funcs.C (currentState): use boost::format
4814 * bufferlist.C (emergencyWrite): use boost::format
4816 * buffer.C (readLyXformat2): use boost::format
4817 (parseSingleLyXformat2Token): ditto
4819 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4821 * LaTeX.C (run): use boost::format
4823 * Chktex.C (scanLogFile): use boost::format
4825 * BufferView_pimpl.C (savePosition): use boost::format
4826 (restorePosition): ditto
4827 (MenuInsertLyXFile): ditto
4829 * BoostFormat.h: help file for explicit instation.
4831 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4833 * tabular.C (latex): Support for block alignment in fixed width
4836 2002-11-17 John Levon <levon@movementarian.org>
4838 * BufferView_pimpl.C:
4840 * lyxfunc.C: split filedialog into open/save
4842 2002-11-08 Juergen Vigna <jug@sad.it>
4844 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4845 by my last patch (hopefully).
4847 2002-11-08 John Levon <levon@movementarian.org>
4856 * toc.C: ParConstIterator, and use it (from Lars)
4858 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4860 * lyxtextclass.[Ch]: revise and add doxygen comments
4862 2002-11-07 John Levon <levon@movementarian.org>
4864 * text.C: fix progress value for spellchecker
4866 * toc.C: fix navigate menu for insetwrap inside minipage
4868 * paragraph_funcs.C: added FIXME for suspect code
4870 2002-11-07 John Levon <levon@movementarian.org>
4872 * BufferView_pimpl.C: fix redrawing of insets
4875 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4877 * text2.C (updateCounters): fix bug 668
4879 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4881 * text3.C (dispatch): Do not make the buffer dirty when moving the
4884 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4886 * vc-backend.C: STRCONV
4889 * text2.C (setCounter): STRCONV
4891 * paragraph.C (asString): STRCONV
4893 * lyxlength.C (asString): STRCONV
4894 (asLatexString): ditto
4896 * lyxgluelength.C (asString): STRCONV
4897 (asLatexString): ditto
4899 * lyxfunc.C (dispatch): STRCONV
4902 * lyxfont.C (stateText): STRCONV
4904 * importer.C (Import): STRCONV
4906 * counters.C (labelItem): STRCONV
4907 (numberLabel): ditto
4908 (numberLabel): remove unused ostringstream o
4913 * bufferview_funcs.C (currentState): STRCONV
4915 * buffer.C (readFile): STRCONV
4916 (asciiParagraph): ditto
4917 (makeLaTeXFile): ditto
4919 * Spacing.C (writeEnvirBegin): STRCONV
4921 * LaTeXFeatures.C (getLanguages): STRCONV
4922 (getPackages): ditto
4924 (getBabelOptions): ditto
4925 (getTClassPreamble): ditto
4926 (getLyXSGMLEntities): ditto
4927 (getIncludedFiles): ditto
4931 (scanAuxFile): ditto
4934 * LString.h: add the STRCONV macros
4936 * BufferView_pimpl.C (savePosition): STRCONV
4937 (restorePosition): ditto
4938 (MenuInsertLyXFile): ditto
4940 * vc-backend.C (scanMaster): change from submatch[...] to
4943 * funcrequest.C: include config.h
4945 * factory.C: include config.h
4947 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4949 * box.C: include config.h
4951 * LaTeX.C (scanAuxFile): change from submatch[...] to
4955 2002-10-25 Angus Leeming <leeming@lyx.org>
4957 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4959 * ispell.[Ch] (setError): new method.
4960 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4961 Use setError() insetead of goto END.
4963 * lyx_cb.C (AutoSave): move out child process into new class
4966 2002-10-30 John Levon <levon@movementarian.org>
4968 * text3.C: make start appendix undoable
4970 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4972 * lyxlength.C (inPixels): Fix returned value.
4974 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4977 2002-10-24 Angus Leeming <leeming@lyx.org>
4979 * lyxgluelength.h: no need to forward declare BufferParams
4980 or BufferView, so don't.
4982 2002-10-21 John Levon <levon@movementarian.org>
4984 * BufferView.C: menuUndo ->undo, redo
4986 * BufferView.h: document, remove dead, make some methods private
4988 * paragraph_funcs.h:
4989 * paragraph_funcs.C:
4990 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4995 * sgml.C: move sgml open/close tag into sgml.C
4997 * bufferview_funcs.h: unused prototype
5000 * lyxfunc.C: remove unused
5003 * text.C: remove unused
5005 2002-10-21 John Levon <levon@movementarian.org>
5009 * BufferView_pimpl.h:
5010 * BufferView_pimpl.C: fix mouse wheel handling based on
5011 patch from Darren Freeman
5013 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5015 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5017 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5019 * lyxlength.C (inPixels): Fix hanfling of negative length.
5020 Fix LyXLength::MU case.
5022 2002-10-16 John Levon <levon@movementarian.org>
5024 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5026 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5028 * converter.C (view): add support for $$i (file name) and $$p
5029 (file path) for the viewer command. If $$i is not specified, then
5030 it is appended to the command (for compatibility with old syntax)
5032 2002-10-14 Juergen Vigna <jug@sad.it>
5034 * undo_funcs.C (textHandleUndo): alter the order in which the
5035 new undopar is added to the LyXText, as we have to set first
5036 the right prev/next and then add it as otherwise the rebuild of
5037 LyXText is not correct. Also reset the cursor to the right paragraph,
5038 with this IMO we could remove the hack in "redoParagraphs()".
5040 2002-10-09 Angus Leeming <leeming@lyx.org>
5042 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5043 to turn off an optimisation if a new inset is to be inserted.
5045 2002-10-11 André Pönitz <poenitz@gmx.net>
5047 * lyxtext.h: make some functions public to allow access
5048 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5050 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5052 * text3.C (dispatch): when changing layout, avoid an infinite loop
5055 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5057 * lyxrc.C (read): treat a viewer or converter command of "none" as
5060 * MenuBackend.C (expandFormats): for an update, also allow the
5061 formats that are not viewable
5063 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5064 script if it is newer than the lyxrc.defaults in user directory
5066 2002-10-07 André Pönitz <poenitz@gmx.net>
5068 * text.C: Vitaly Lipatov's small i18n fix
5070 2002-09-25 Angus Leeming <leeming@lyx.org>
5072 * ispell.h: doxygen fix.
5074 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5076 * buffer.h (readFile): Add a new argument to the method, to allow
5077 reading of old-format templates.
5079 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5081 * toc.C (getTocList): Get TOC from InsetWrap.
5083 2002-09-16 John Levon <levon@movementarian.org>
5085 * lyxfunc.C: check tabular for cut/copy too
5087 2002-09-12 John Levon <levon@movementarian.org>
5092 * factory.C: add header
5094 * paragraph_funcs.h:
5095 * paragraph_funcs.C: cleanup
5097 2002-09-11 John Levon <levon@movementarian.org>
5099 * PrinterParams.h: odd/even default to true
5101 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5103 * PrinterParams.h: update printer parameters for new xforms dialog
5105 2002-09-11 Angus Leeming <leeming@lyx.org>
5107 * lyxserver.C (read_ready): re-write to make it more transparent
5108 and to make it work in coherent fashion under Tru64 Unix.
5110 2002-09-11 André Pönitz <poenitz@gmx.net>
5114 * text3.C: implement LFUN_WORDSEL
5116 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5119 make floatlist_ a boost::shared_ptr<FloatList>
5121 * lyxtextclass.C: include FloatList.h
5122 (LyXTextClass): initialize floatlist_
5123 (TextClassTags): add TC_NOFLOAT
5124 (Read): match "nofloat" to TC_NOFLOAT and use it.
5125 (readFloat): modify call to floatlist_
5129 * FloatList.[Ch] (FloatList): remove commented out float
5131 (erase): new function
5133 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5135 * MenuBackend.C (expandToc): fix crash when there is no document
5138 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5140 * many files: Add insetwrap.
5142 2002-09-09 John Levon <levon@movementarian.org>
5144 * text2.C: remove confusing and awkward depth wraparound
5146 2002-09-09 John Levon <levon@movementarian.org>
5148 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5151 * buffer.C: remove getIncludeonlyList()
5154 * lyxfunc.C: remove headers
5156 2002-09-09 Juergen Vigna <jug@sad.it>
5158 * text.C (getColumnNearX): fix form Michael this is most
5159 probably a cut&paste bug.
5161 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5163 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5165 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5166 references, ws changes.
5168 * text2.C (init): update counters after init
5169 (insertParagraph): no need to set counter on idividual paragraphs.
5170 (setCounter): access the counters object in the textclass object
5171 on in the buffer object.
5172 (updateCounters): ditto
5174 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5175 shared_ptr<Counters> to avoid loading counters.h in all
5177 (LyXTextClass): initialize ctrs_
5178 (TextClassTags): add TC_COUNTER, and ...
5179 (Read): use it here.
5180 (CounterTags): new tags
5181 (readCounter): new function
5182 (counters): new funtion
5183 (defaultLayoutName): return a const reference
5185 * counters.C (Counters): remove contructor
5186 (newCounter): remove a couple of unneeded statements.
5187 (newCounter): simplify a bit.
5188 (numberLabel): some small formatting changes.
5190 * buffer.[Ch]: remove all traces of counters, move the Counters
5191 object to the LyXTextClass.
5193 2002-09-06 Alain Castera <castera@in2p3.fr>
5195 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5196 package to set the horizontal alignment on fixed width columns.
5199 * lyx_sty.h: added tabularnewline macro def.
5201 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5203 2002-09-06 John Levon <levon@movementarian.org>
5205 * LyXAction.C: tooltips for sub/superscript
5207 * MenuBackend.C: a bit more verbose
5209 * lyxfunc.C: tiny clean
5211 * undo_funcs.C: document undo_frozen
5213 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5215 * counters.C (Counters): add missing algorithm counter.
5217 * text2.C (setCounter): lookup the counter with layouts latexname
5218 instead of by section number.
5219 (setCounter): use a hackish way to lookup the correct enum
5221 a float name->type change
5222 reset enum couners with counter name directly instead of depth value.
5224 * counters.C (Counters): remove the push_backs, change to use the
5225 float type not the float name.
5226 (labelItem): remove unused string, float name->type change
5228 * counters.h: don't include vector, loose the enums and sects vectors
5230 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5232 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5233 (Read): add float->TC_FLOAT to textclassTags
5234 (Read): and handle it in the switch
5235 (readFloat): new function
5237 * FloatList.C (FloatList): comment out the hardcoded float
5240 * lyxlayout.h: ws change.
5242 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5244 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5246 2002-09-03 Angus Leeming <leeming@lyx.org>
5248 * BufferView_pimpl.h: qualified name is not allowed in member
5249 declaration: WorkArea & Pimpl::workarea() const;
5251 * factory.C: added using std::endl directive.
5253 * text3.C: added using std::find and std::vector directives.
5255 2002-08-29 André Pönitz <poenitz@gmx.net>
5258 * text2.C: remove unused member number_of_rows
5261 * BufferView2.C: remove file, move contents to...
5262 * BufferView.C: ... here
5264 * BufferView_pimpl.C:
5265 * factory.C: move more inset creation to factory
5267 * vspace.C: avoid direct usage of LyXText, ws changes
5270 don't provide direct access to WorkArea, use two simple
5271 acessors haveSelction() and workHeight() instead
5274 2002-08-29 John Levon <levon@movementarian.org>
5276 * BufferView_pimpl.C (dispatch): do not continue when
5279 2002-08-28 André Pönitz <poenitz@gmx.net>
5281 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5284 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5286 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5288 * buffer.C: increment LYX_FORMAT to 221
5290 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5291 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5293 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5295 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5297 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5299 * factory.C (createInset): use LyXTextClass::floats
5301 * MenuBackend.C (expandFloatListInsert):
5302 (expandFloatInsert):
5305 * text2.C (setCounter):
5307 * LaTeXFeatures.C (useFloat):
5308 (getFloatDefinitions):
5310 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5312 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5313 floatlist_, with accessor floats().
5315 * FloatList.h: remove global FloatList
5317 2002-08-26 André Pönitz <poenitz@gmx.net>
5319 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5323 * BufferView_pimpl.C:
5324 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5326 2002-08-25 John Levon <levon@movementarian.org>
5328 * LyXAction.C: fix margin note description
5330 2002-08-24 John Levon <levon@movementarian.org>
5334 * bufferview_funcs.C:
5336 * undo_funcs.C: cleanups
5338 * lyxfunc.C: disable CUT/COPY when no selection
5340 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5342 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5343 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5345 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5346 Add backward compatibility to "mono", "gray" and "no".
5348 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5350 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5351 (and file_format >= 200).
5353 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5355 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5357 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5359 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5361 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5363 * BufferView_pimpl.C:
5370 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5371 inset and code to make it work with the paragraph code. The inset
5372 can be anywhere in the paragraph, but will only do the expected
5373 thing in LaTeX if the layout file contains the parameter line
5375 (or more generally, a nonzero value) for that layout.
5377 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5379 * paragraph.h: remove the declaration of undefined counters class
5382 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5384 * text2.C (setCounter): fixed enumeration mis-count as reported by
5385 Dr. Richard Hawkins.
5387 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5389 * paragraph_funcs.h: remove some unneeded includes
5391 * text.C (backspace): pasteParagraph now in global scipe
5393 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5394 (pasteSelection): ditto
5396 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5397 * paragraph_funcs.C (pasteParagraph): ... here
5399 2002-08-20 André Pönitz <poenitz@gmx.net>
5401 * commandtags.h: new LFUNs for swapping/copying table row/colums
5404 * lyxfunc.C: support for new lfuns
5406 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5409 * buffer.[Ch]: remove NO_COMPABILITY stuff
5411 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * boost.C (throw_exception): new file, with helper function for
5414 boost compiled without exceptions.
5419 * ParameterStruct.h:
5420 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5422 * bufferlist.C (emergencyWriteAll): use boost bind
5424 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5426 * text.C: include paragraph_funcs.h
5427 (breakParagraph): breakParagraph is now in global scope
5429 * paragraph_funcs.[Ch]: new files
5431 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5434 * buffer.C: include paragraph_funcs.h
5435 (insertStringAsLines): breakParagraph is now in global scope
5437 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5440 * CutAndPaste.C: include paragraph_funcs.h
5441 (cutSelection): breakParagraphConservative is now in global scope
5442 (pasteSelection): ditto
5444 * buffer.h: declare oprator== and operator!= for
5445 Buffer::inset_iterator
5447 * bufferlist.C (emergencyWrite): don't use fmt(...)
5449 * text3.C: add using std::endl
5451 * BufferView.C (moveCursorUpdate): remove default arg
5453 2002-08-20 André Pönitz <poenitz@gmx.net>
5455 * buffer.[Ch]: move inline functions to .C
5458 * BufferView_pimpl.C:
5460 * buffer.[Ch]: use improved inset_iterator
5463 * paragraph.[Ch]: write one paragraph at a time
5465 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5467 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5468 style if style is not specified.
5470 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5472 * text2.C (setCounter): when searching for right label for a
5473 caption, make sure to recurse to parent insets (so that a caption
5474 in a minipage in a figure float works) (bug #568)
5476 2002-08-20 André Pönitz <poenitz@gmx.net>
5478 * text3.C: new file for LyXText::dispatch() and helpers
5480 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5482 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5484 2002-08-19 André Pönitz <poenitz@gmx.net>
5487 * text.C: new LyXText::dispatch()
5489 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5491 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5493 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5495 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5498 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5500 * Makefile.am: use $(variables) instead of @substitutions@
5502 2002-08-15 André Pönitz <poenitz@gmx.net>
5505 * BufferView_pimpl.C: streamlining mathed <-> outer world
5509 * LyXAction.C: remove unused LFUN_MATH
5511 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5515 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5517 * paragraph.C (Paragraph): reformat a bit
5518 (cutIntoMinibuffer): use builtin InsetList function instad of
5522 * buffer.C: include boost/bind.hpp, add using std::for_each
5523 (writeFileAscii): use ParagraphList iterators
5524 (validate): use for_each for validate traversal of paragraphs
5525 (getBibkeyList): use ParagraphList iterators
5526 (resizeInsets): use for_each to resizeInsetsLyXText for all
5528 (getParFromID): use ParagraphList iterators
5530 * BufferView2.C (lockInset): use paragraph list and iterators
5532 2002-08-14 John Levon <levon@movementarian.org>
5534 * lyxserver.C: remove spurious xforms include
5536 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5538 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5540 2002-08-13 André Pönitz <poenitz@gmx.net>
5543 * lyxfunc.C: further cleaning
5545 2002-08-13 André Pönitz <poenitz@gmx.net>
5547 * funcrequest.h: new constructor
5549 * funcrequest.C: move stuff here from .h
5552 * BufferView_pimpl.C:
5555 * lyxfunc.C: subsequent changes
5557 * lyxfunc.h: new view() member function
5559 * lyxfunc.C: subsequent changes
5561 2002-08-13 Angus Leeming <leeming@lyx.org>
5564 * BufferView_pimpl.C:
5572 changes due to the changed LyXView interface that now returns references
5573 to member variables not pointers.
5575 2002-08-13 Angus Leeming <leeming@lyx.org>
5577 * WordLangTuple (word, lang_code): return references to strings,
5582 * lyxtext.h: forward-declare WordLangTuple.
5587 * text.C: #include "WordLangTuple.h".
5590 * text.C: (selectNextWordToSpellcheck): constify return type.
5592 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5598 * paragraph_pimpl.h:
5601 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5603 Made updateCounter always count from start of buffer, and removed
5604 second argument (par).
5605 Reverted floats number display to '#'. Perhaps I'll try again when the
5606 code base is sanitized a bit.
5608 2002-08-12 Angus Leeming <leeming@lyx.org>
5610 * buffer.[Ch] (getLabelList): constify.
5612 2002-08-07 André Pönitz <poenitz@gmx.net>
5614 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5616 * funcrequest.h: extension to keep mouse (x,y) position
5618 2002-08-12 Juergen Vigna <jug@sad.it>
5620 * BufferView2.C (insertErrors): forbid undo when inserting error
5623 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5625 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5627 * ParagraphList.[Ch]: new files
5629 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5631 * BufferView2.C (lockInset): ParagraphList changes
5634 * bufferlist.C: ditto
5638 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5640 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5641 unused class variable counter_,
5643 * paragraph.[Ch] (getFirstCounter): delete unused function
5645 * counters.C: include LAssert.h
5646 (reset): add a new function with no arg, change other version to
5647 not have def. arg and to not allow empty arg.
5649 * text2.C (setCounter): remove empty arg from call to Counters::reset
5651 2002-08-11 John Levon <levon@movementarian.org>
5653 * Makefile.am: add WordLangTuple.h
5655 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5657 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5658 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5660 * insets/insettext.C: InsetList changes
5662 * graphics/GraphicsSupport.C (operator()): InsetList changes
5664 * toc.C (getTocList): InsetList changes
5666 * paragraph_pimpl.[Ch]: InsetList changes
5668 * paragraph.[Ch]: InsetList changes
5670 * buffer.C (inset_iterator): InsetList changes
5671 (setParagraph): ditto
5672 * buffer.h (inset_iterator): ditto
5673 * iterators.C (operator++): ditto
5674 * iterators.h: ditto
5676 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5678 * InsetList.[Ch]: new files, most InsetList handling moved out of
5681 * BufferView2.C (removeAutoInsets): InsetList changes
5683 (ChangeInsets): ditto
5685 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5687 * paragraph_pimpl.h (empty): new function
5689 * paragraph.[Ch] (empty): new function
5691 * other files: use the new Paragraph::empty function
5693 2002-08-09 John Levon <levon@movementarian.org>
5695 * lyxtext.h: remove unused refresh_height
5697 2002-08-09 John Levon <levon@movementarian.org>
5704 * paragraph.C: move sgml char escaping out of paragraph
5707 * paragraph.C: remove id setter
5711 * paragraph_pimpl.C: remove dead tex_code_break_column
5713 * bufferview_funcs.C: small cleanup
5715 * lyxfunc.C: remove dead proto
5717 * lyxtext.h: make some stuff private. Remove some dead stuff.
5719 * lyxgluelength.C: make as[LyX]String() readable
5721 2002-08-08 John Levon <levon@movementarian.org>
5726 * ToolbarDefaults.C:
5729 * toc.C: lyxaction cleanup
5731 2002-08-08 John Levon <levon@movementarian.org>
5733 * BufferView2.C: small cleanup
5736 * lyxfind.C: move unnecessary header into the .C
5738 2002-08-08 John Levon <levon@movementarian.org>
5740 * funcrequest.h: just tedious nonsense
5743 * lyx_main.C: cleanups
5746 * vspace.C: remove dead header lyx_main.h
5748 2002-08-07 Angus Leeming <leeming@lyx.org>
5751 * paragraph_pimpl.h:
5752 Forward declare class Counters in paragraph.h by moving the ctrs member
5753 variable into Paragraph::Pimpl.
5754 (counters): new method, returning a reference to pimpl_->ctrs.
5756 * text2.C: ensuing changes.
5758 2002-08-07 John Levon <levon@movementarian.org>
5760 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5762 * BufferView_pimpl.C: announce X selection on double/triple
5765 * lyx_main.C: use correct bool in batch dispatch
5767 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5769 2002-08-07 André Pönitz <poenitz@gmx.net>
5771 * funcrequest.h: new class to wrap a kb_action and its argument
5774 * BufferView_pimpl[Ch]:
5778 * lyxrc.C: subsequent changes
5781 2002-08-07 John Levon <levon@movementarian.org>
5783 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5784 document options change.
5786 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5791 * makefile.am: move counters functionality over from
5792 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5794 2002-08-06 John Levon <levon@movementarian.org>
5796 * WordLangTuple.h: new file for word + language code tuple
5807 * BufferView2.C: use WordLangTuple
5810 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5812 2002-08-06 John Levon <levon@movementarian.org>
5814 * lyx_main.C: fix cmdline batch handling
5816 2002-08-06 André Pönitz <poenitz@gmx.net>
5818 * lyxrc.C: set default for show_banner to true
5820 2002-08-06 John Levon <levon@movementarian.org>
5822 * pspell.C: fix a crash, and allow new aspell to work
5824 2002-08-06 John Levon <levon@movementarian.org>
5827 * kbmap.C: small cleanup
5830 * vspace.C: add const
5832 2002-08-05 John Levon <levon@movementarian.org>
5834 * LyXAction.C: back to tabular-insert
5836 2002-08-04 John Levon <levon@movementarian.org>
5839 * BufferView.C: cosmetic change
5841 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5851 * BufferView2.C: purge all "Lyx" not "LyX" strings
5854 * lyxcursor.C: attempt to add some documentation
5859 * ToolbarDefaults.C:
5860 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5861 merge with LFUN_TABULAR_INSERT
5868 * pspell.C: split up i/pspell implementations into separate
5869 files, many cleanups
5871 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5873 * text2.C: some cleanup
5875 * lyxfunc.C: don't check for isp_command == "none" any more, it
5876 didn't make any sense
5878 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5883 * makefile.am: move counters functionality over
5884 from text2.C/paragraph.[Ch] to counters.[Ch], and
5886 2002-08-02 John Levon <levon@movementarian.org>
5888 * buffer.C: s/lyxconvert/lyx2lyx/
5890 2002-08-02 Angus Leeming <leeming@lyx.org>
5892 * lyxlex.C: revert John's change as it breaks reading of the user
5895 2002-08-02 Angus Leeming <leeming@lyx.org>
5897 * importer.C (Import):
5898 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5899 changes due to LyXView::view() now returning a boost::shared_ptr.
5901 2002-08-02 John Levon <levon@movementarian.org>
5903 * lyxlex.C: small cleanup
5905 2002-08-02 John Levon <levon@movementarian.org>
5907 * text2.C (status): small cleanup, no logic change
5909 2002-08-01 John Levon <levon@movementarian.org>
5912 * buffer.C (writeFile): don't output alerts, caller
5916 * lyx_cb.C: from above
5918 * lyxfunc.C: allow to open non-existent files
5920 2002-07-31 John Levon <levon@movementarian.org>
5922 * lyxserver.C: don't let incidental errors get
5925 2002-07-30 John Levon <levon@movementarian.org>
5927 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5929 2002-07-30 John Levon <levon@movementarian.org>
5932 * lyxserver.C: remove I/O callback too
5934 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5936 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5939 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5941 * many files: strip,frontStrip -> trim,ltrim,rtrim
5943 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * PrinterParams.h: remove extern containsOnly, and include
5946 support/lstrings.h instead.
5948 * LaTeX.C (scanAuxFile): modify because of strip changes
5950 * buffer.C (makeLaTeXFile): ditto
5951 * bufferparams.C (writeFile): ditt
5952 * lyxfont.C (stateText): ditto
5953 * lyxserver.C (read_ready): ditto
5954 * vc-backend.C (scanMaster): ditto
5956 * BufferView_pimpl.h: ws changes
5958 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5960 2002-07-26 André Pönitz <poenitz@gmx.net>
5962 * kb_sequence.C: remove unnedred usings
5964 2002-07-26 Juergen Vigna <jug@sad.it>
5966 * lyxfind.C (LyXReplace): we have to check better if the returned
5967 text is not of theLockingInset()->getLockingInset().
5969 2002-07-25 Juergen Vigna <jug@sad.it>
5971 * lyxfind.C (LyXReplace): don't replace if we don't get the
5974 * undo_funcs.C (createUndo): remove debugging code.
5976 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5978 * buffer.C (parseSingleLyXformat2Token): Use default placement
5979 when reading old floats.
5981 * FloatList.C (FloatList): Change the default placement of figure
5982 and tables to "tbp".
5984 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5986 * MenuBackend.C: using std::max
5988 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5990 * MenuBackend.C (expandToc):
5991 (expandToc2): code moved from xforms menu frontend. It is now
5992 generic and TOCs are transparent to menu frontends.
5994 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5996 * toc.C (getTocList): protect against buf=0
5998 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5999 Menu as first parameter. Now, this calls itself recursively to
6000 expand a whole tree (this will be useful for TOC handling)
6001 (expandFloatInsert): remove 'wide' version of floats
6003 * MenuBackend.h (submenuname): returns the name of the submenu.
6004 (submenu): returns the submenu itself, provided it has been
6005 created by MenuBackend::expand
6007 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6009 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6010 insets which have noFontChange == true. (bug #172)
6012 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6014 * BufferView_pimpl.C: add connection objects and use them...
6017 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6019 * MenuBackend.C (expandLastfiles):
6022 (expandFloatListInsert):
6023 (expandFloatInsert):
6024 (expand): split expand in parts
6026 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6028 * lyx_gui.C: use lyx_gui::exit()
6030 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6032 * LyXAction.C: show the failing pseudo action
6034 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6036 * buffer.C (readFile): Run the lyxconvert script in order to read
6039 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6043 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6045 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6049 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6051 2002-07-22 Herbert Voss <voss@lyx.org>
6054 * lyxlength.[Ch]: add support for the vertical lengths
6056 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6058 * toc.[Ch]: std:: fixes
6060 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6062 * lyxrc.C: do not include lyx_main.h
6064 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6070 * BufferView2.C: include "lyxlex.h"
6073 * bufferparams.h: do not #include "lyxlex.h"
6075 * lyxtextclasslist.C (Add): remove method
6076 (classlist): renamed to classlist_
6078 * paragraph_pimpl.C:
6082 * bufferview_funcs.C:
6087 * toc.C (getTocList): use BufferParams::getLyXTextClass
6089 * toc.C (getTocList): use InsetFloat::addToToc
6091 * toc.[Ch]: new files, containing helper functions to handle table
6094 * lyxfunc.C (dispatch): no need to remove spaces around command
6096 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6097 first command of the sequence; it is not very clever, but I do not
6098 have a better idea, actually
6100 * LyXAction.C (LookupFunc): make sure to remove space at the
6101 beginning and end of the command
6103 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6105 * MenuBackend.C (getMenubar): new method: return the menubar of
6107 (read): treat differently reading of menu and menubar (in
6108 particular, the menubar has no name now)
6109 (Menu::menubar): remove
6111 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6114 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6116 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6117 a bibitem inset in a RTL paragraph.
6119 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6121 * paragraph_pimpl.C: constify
6123 * BufferView_pimpl.C:
6125 * lyxfunc.C: fix dispatch in a nicer way
6127 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6129 * lyxfunc.C (dispatch):
6130 * BufferView_pimpl.C:
6131 * BufferView_pimpl.h:
6133 * BufferView.h: rename Dispatch() to dispatch()
6135 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6137 * lyxlayout.C (Read): honor DependsOn tag
6139 * lyxlayout.[Ch] (depends_on): new method
6141 * version.C.in: update lyx_docversion
6143 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6145 * paragraph.C (validate): remove from here...
6146 * paragraph_pimpl.C (validate): ... and move here
6147 (isTextAt): make it const
6149 * buffer.C (getLists): ws cleanup
6151 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6153 * language.C (read): Use iso8859-1 encoding in latex_lang
6154 (this prevents LyX from crashing when using iso10646-1 encoding).
6156 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6158 * text2.C (toggleInset): if cursor is inside an inset, close the
6159 inset and leave cursor _after_ it
6161 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6163 * lyxfunc.C: move minibuffer completion handling out of here
6165 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6167 * BufferView_pimpl.C:
6168 * LaTeX.C: fix dispatch calls
6170 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6172 * text.C (drawChars): Fix Arabic text rendering.
6174 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6178 * lyxfunc.C: remove message-push/pop
6182 * lyxfunc.C: rationalise some code by removing verboseDispatch
6183 in favour of a bool argument to dispatch()
6185 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6187 * lyx_main.C (init): make sure to read symlinks as absolute paths
6189 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6192 * lyxfunc.C: no need for commandshortcut to be a member
6194 2002-07-15 André Pönitz <poenitz@gmx.net>
6196 * converter.C: add support for $$s (scripts from lib/scripts dir)
6197 * lyx_main.C: white space
6199 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6203 * lyxrc.C: remove second exit confirmation
6205 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6210 * BufferView_pimpl.h:
6211 * BufferView_pimpl.C:
6212 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6214 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6216 * MenuBackend.C (expand): add numeric shortcuts to document menu
6218 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6220 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6222 * lyxfont.C (setLyXFamily):
6229 * buffer.C (asciiParagraph): use ascii_lowercase
6231 2002-07-15 Mike Fabian <mfabian@suse.de>
6233 * lyxlex_pimpl.C (search_kw):
6234 * lyxlex.C (getLongString):
6235 * converter.h (operator<):
6236 * converter.C (operator<):
6237 * buffer.C (parseSingleLyXformat2Token):
6239 * ToolbarDefaults.C (read):
6240 * MenuBackend.C (checkShortcuts):
6242 * LColor.C (getFromGUIName):
6243 (getFromLyXName): use the compare_ascii_no_case instead of
6244 compare_no_case, because in turkish, 'i' is not the lowercase
6245 version of 'I', and thus turkish locale breaks parsing of tags.
6247 2002-07-16 Angus Leeming <leeming@lyx.org>
6249 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6250 now takes a Buffer const & argument.
6252 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6254 * BufferView.C (resize): check there's a buffer to resize
6256 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6258 * lyxfunc.C: remove dead code
6261 * lyxserver.C: use lyx_guii::set_read_callback
6263 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6265 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6266 an inset in a RTL paragraph.
6268 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6270 * lyxfunc.C: repaint after a font size update
6272 2002-07-15 André Pönitz <poenitz@gmx.net>
6274 * lyxlength.C: inBP should be able to return negative values
6276 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6278 * lyxfunc.C: use lyx_gui::update_fonts()
6280 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6282 * lyxfunc.C: use lyx_gui::update_color()
6284 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6290 * lyxrc.C: remove file->new asks for name option, and let
6291 buffer-new take an argument
6293 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6295 * BufferView_pimpl.C: remove unneeded extra repaint()
6297 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6299 * LyXAction.C: allow command-sequence with NoBuffer
6301 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6303 2002-07-10 Angus Leeming <leeming@lyx.org>
6305 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6307 2002-07-09 Angus Leeming <leeming@lyx.org>
6309 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6311 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6313 * lengthcommon.h: whitespace
6315 * lyxfunc.C: update scrollbar after goto paragraph
6317 * lyxtext.h: factor out page break drawing, and fix it so
6318 page break/added space paints as selected nicely
6320 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6322 * BufferView_pimpl.C: add FIXMEs, clean up a little
6324 2002-07-09 André Pönitz <poenitz@gmx.net>
6326 * lyxfont.[Ch]: support for wasy symbols
6328 2002-07-08 André Pönitz <poenitz@gmx.net>
6330 * BufferView_pimpl.C: apply John's patch for #93.
6332 2002-07-05 Angus Leeming <leeming@lyx.org>
6334 * BufferView_pimpl.C (buffer): generate previews if desired.
6336 * LColor.h: add "preview" to the color enum.
6338 * LColor.C (LColor): add a corresponding entry to the items array.
6340 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6343 2002-07-05 Angus Leeming <leeming@lyx.org>
6345 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6346 The body of the code is now in the method that is passed an ostream &
6347 rather than a file name.
6348 Pass an additional only_preamble parameter, useful for the forthcoming
6351 2002-07-03 André Pönitz <poenitz@gmx.net>
6353 * lyxfunc.C: simplify getStatus() a bit for math stuff
6355 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6357 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6359 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6361 * text.C (changeRegionCase): do not change case of all the
6362 document when region ends at paragraph end (bug #461)
6364 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6366 * paragraph.C (startTeXParParams):
6367 (endTeXParParams): add \protect when necessary
6369 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6371 * BufferView_pimpl.C (workAreaExpose): remove warning
6373 2002-06-27 Angus Leeming <leeming@lyx.org>
6375 * Makefile.am: add lyxlayout_ptr_fwd.h.
6377 2002-06-26 André Pönitz <poenitz@gmx.net>
6379 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6381 2002-06-25 Angus Leeming <leeming@lyx.org>
6383 * lyxfunc.C (dispatch): Comment out the call to
6384 grfx::GCache::changeDisplay. The method no longer exists now that the
6385 pixmap generation part of the graphics loader has been moved into
6388 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6390 * text2.C: layout as layout
6392 * text.C: layout as layout
6394 * tabular.C (OldFormatRead): layout as layout
6396 * paragraph_pimpl.C (TeXDeeper): layout as layout
6397 (realizeFont): layout as layout
6399 * paragraph.C (writeFile): layout as layout
6400 (validate): layout as layout
6401 (getFont): layout as layout
6402 (getLabelFont): layout as layout
6403 (getLayoutFont): layout as layout
6404 (breakParagraph): layout as layout
6405 (stripLeadingSpaces): layout as layout
6406 (getEndLabel): layout as layout
6407 (getMaxDepthAfter): layout as layout
6408 (applyLayout): layout as layout
6409 (TeXOnePar): layout as layout
6410 (simpleTeXOnePar): layout as layout
6411 (TeXEnvironment): layout as layout
6412 (layout): layout as layout
6413 (layout): layout as layout
6415 * lyxtextclass.C (compare_name): new functor to work with
6416 shared_ptr, layout as layout
6417 (Read): layout as layout
6418 (hasLayout): layout as layout
6419 (operator): layout as layout
6420 (delete_layout): layout as layout
6421 (defaultLayout): layout as layout
6423 * lyxlayout_ptr_fwd.h: new file
6425 * lyxlayout.C (Read): layout as layout
6427 * lyx_cb.C (MenuInsertLabel): layout as layout
6429 * bufferlist.C (newFile): layout as layout
6431 * buffer.C (readLyXformat2): layout as layout
6432 (parseSingleLyXformat2Token): layout as layout
6433 (insertStringAsLines): layout as layout
6434 (asciiParagraph): layout as layout
6435 (latexParagraphs): layout as layout
6436 (makeLinuxDocFile): layout as layout
6437 (simpleLinuxDocOnePar): layout as layout
6438 (makeDocBookFile): layout as layout
6439 (simpleDocBookOnePar): layout as layout
6440 (getLists): layout as layout
6442 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6444 * CutAndPaste.C (cutSelection): layout as layout
6445 (pasteSelection): layout as layout
6446 (SwitchLayoutsBetweenClasses): layout as layout
6448 * BufferView_pimpl.C (Dispatch): layout as layout
6449 (smartQuote): layout as layout
6451 * BufferView2.C (unlockInset): layout as layout
6453 2002-06-24 André Pönitz <poenitz@gmx.net>
6455 * lyxfunc.C: fix #487
6457 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6461 * lyxfunc.C: remove display_shortcuts, show_banner
6463 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6465 * Buffer_pimpl.C: oops, update on resize
6467 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6474 * BufferView.C: use repaint()
6476 * BufferView_pimpl.h:
6477 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6478 as it's a clearer description. Remove superfluous
6481 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6483 * text.C: fix bug 488. Not ideal, but getting
6484 getWord() to work properly for the insets that
6485 matter is more difficult ...
6487 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6489 * BufferView_pimpl.C:
6492 * lyxfunc.C: remove the six million index lyxfuncs to just
6493 one, and DTRT (bug 458)
6495 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6499 * BufferView_pimpl.h:
6500 * BufferView_pimpl.C: clean up resize() stuff,
6501 and unnecessary updateScreen()s
6503 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6507 * BufferView_pimpl.h:
6508 * BufferView_pimpl.C:
6511 * minibuffer.C: remove focus management of workarea,
6512 not needed. Use screen's greyOut()
6514 2002-06-17 Herbert Voss <voss@lyx.org>
6516 * converter.C: (convert) do not post a message, when converting
6517 fails, let the calling function decide what to do in this case
6519 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6521 * lyxfunc.C: tidy up a little
6523 2002-06-16 <alstrup@diku.dk>
6525 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6526 Got rid of FORMS_H_LOCATION include. Now we are
6529 2002-06-15 LyX Development team <lyx@rilke>
6531 * buffer.[Ch] (sgmlOpenTag):
6532 (sgmlCloseTag): Added support for avoiding pernicious mixed
6533 content. Return number of lines written.
6536 (makeDocBookFile): Fixed calls to sgml*Tag.
6537 Simple white space clean.
6539 (simpleDocBookOnePar): Simple white space clean.
6541 * tabular.[Ch] (docBook): Renamed to docbook and got another
6542 argument to related with the pernicious mixed content.
6544 (docbookRow): Fixed calls for docbook inset method.
6546 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6548 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6549 so it's X11 independent.
6553 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6555 2002-06-15 Lyx Development team <lyx@electronia>
6557 * intl.h: Renamed getTrans to getTransManager.
6559 2002-06-14 Angus Leeming <leeming@lyx.org>
6561 * Makefile.am: nuke forgotten stl_string_fwd.h.
6563 2002-06-12 Angus Leeming <leeming@lyx.org>
6565 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6567 2002-06-13 Angus Leeming <leeming@lyx.org>
6570 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6572 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6574 * kbmap.C (getiso): add support for cyrillic and greek
6576 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6580 * BufferView_pimpl.h:
6581 * BufferView_pimpl.C: move bogus scrolling logic
6584 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6587 * BufferView_pimpl.C: view->resize() change
6589 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6591 * BufferView_pimpl.C: topCursorVisible
6594 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6598 * lyx_gui.C: move to frontends/
6602 * lyx_main.C: changes from above
6604 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6611 * lyx_main.C: minor tidy
6613 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6615 * BufferView_pimpl.h:
6616 * BufferView_pimpl.C:
6618 * BufferView.C: make painter() const,
6621 * BufferView2.C: use screen() accessor
6624 * lyx_main.C: some minor cleanup
6626 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6628 * BufferView_pimpl.h:
6629 * BufferView_pimpl.C: remove enter/leaveView,
6632 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6637 * BufferView_pimpl.h:
6638 * BufferView_pimpl.C: only construct screen once,
6641 * lyxrc.C: remove pointless comment
6643 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6646 * BufferView.C: remove active() and belowMouse()
6648 * BufferView_pimpl.h:
6649 * BufferView_pimpl.C: use workarea() not workarea_,
6650 and make it use a scoped_ptr instead
6652 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6654 * lyx_gui.C: add debug message on BadWindow
6656 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6658 * sp_spell.C: fdopen is not part of the C++ standard.
6660 * paragraph.C (InsetIterator): use >= instead of ==
6662 2002-06-07 Angus Leeming <leeming@lyx.org>
6664 Fixes needed to compile with Compaq cxx 6.5.
6665 * BufferView_pimpl.C:
6672 * lyxtextclasslist.C:
6677 all c-library variables have been moved into namespace std. Wrap
6678 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6683 Add a using std::abs declaration.
6685 * kbmap.h (modifier_pair):
6686 * paragraph.h (InsetTable, InsetList):
6687 * lyxfont.h (FontBits):
6688 type definition made public.
6690 * bufferlist.C (emergencyWriteAll): the compiler complains that
6691 there is more than one possible lyx::class_fun template to choose from.
6692 I re-named the void specialisation as lyx::void_class_fun.
6694 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6696 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6697 the compiler is is unable to find tostr in write_attribute.
6699 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6701 * buffer.C (sgmlError): hide #warning
6703 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6705 * xtl/*: get rid of xtl, which is not in use anyway
6707 * LyXAction.C (init):
6708 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6709 were unimplemented xtl experimentation
6711 2002-06-04 André Pönitz <poenitz@gmx.net>
6713 * lyxfunc.C: disable array operation on simple formulae
6715 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6717 * converter.C: constify a bit
6719 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6721 * lyx_gui.C: check xforms version correctly
6723 2002-04-30 Herbert Voss <voss@lyx.org>
6725 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6728 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6730 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6731 attempt to register it with a VCS)
6733 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6735 * lyx_main.C (init): honor variables LYX_DIR_13x and
6738 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6742 * lyx_main.C: fix a crash on bad command line,
6743 and give a useful exit status on error
6745 * lyxfunc.C (doImport): allow -i lyx to work
6747 2002-03-30 André Pönitz <poenitz@gmx.net>
6749 * lyxfunc.C: mathed font changes
6751 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6766 * trans_mgr.h: srcdocs, and some minor cleanups
6768 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6770 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6771 call getFont all the time)
6773 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6775 * switch from SigC signals to boost::signals
6777 2002-05-29 André Pönitz <poenitz@gmx.net>
6779 * paragraph_pimpl.C (getChar): don't call size() too often...
6781 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6783 * paragraph_pimpl.C (insertChar): do not try to update tables when
6784 appending (pos == size())
6786 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6787 in order to reduce drastically the number of comparisons needed to
6788 parse a large document
6790 2002-05-29 André Pönitz <poenitz@gmx.net>
6796 * textclasslist.[Ch]:
6797 * sp_ispell.h: whitespace change
6799 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6801 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6802 lyxaction directly now.
6804 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6808 * lyxvc.C: remove unused headers
6810 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6817 * undo_funcs.C: some cleanups. Use shared_ptr
6818 and a template for the undo stacks.
6820 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6822 * BufferView_pimpl.h:
6823 * BufferView_pimpl.C:
6830 * text2.C: use key_state/mouse_state
6832 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6834 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6837 * chset.C: change include order
6838 (loadFile): use boost regex and get rid of LRegex and LSubstring
6840 * Makefile.am (BOOST_LIBS): new variable
6843 * LaTeX.C: change include order.
6844 (scanAuxFile): use boost regex and get rid of LRegex and
6848 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6853 * FontInfo.C: moved to frontends/xforms/
6856 * FontLoader.C: moved into frontends for GUIIzation
6861 * lyxfunc.C: changes from above
6863 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6865 * LColor.C: remove spurious X include
6867 * BufferView_pimpl.C:
6872 * text2.C: move font metrics to frontends/
6874 2002-05-24 Juergen Vigna <jug@sad.it>
6876 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6877 setting the undo_cursor.
6879 * ParagraphParameters.h: include local includes first.
6881 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6883 * BufferView_pimpl.C:
6884 * BufferView_pimpl.h:
6888 * screen.C: move WorkArea into frontends/
6894 * BufferView2.C: move LyXScreen into frontends/
6898 * lyx_gui.C: move lyxlookup into frontends/xforms/
6900 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6903 * BufferView_pimpl.C:
6913 * bufferview_funcs.C:
6926 * vc-backend.C: move LyX/XFormsView into frontends/
6928 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6940 * text2.C: move Painter to frontends/
6942 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6944 * buffer.C: comment out some some code that depend upon lyx_format
6947 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6948 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6950 * buffer.h (NO_COMPABILITY): turn off compability
6952 * ColorHandler.C: include scoped_array.hpp
6954 * font.C: Use more specific smart_ptr header.
6957 * ShareContainer.h: ditto
6961 * BufferView_pimpl.h: ditto
6962 * ColorHandler.h: ditto
6964 * kbmap.C (defkey): change call to shared_ptr::reset
6966 2002-05-21 Juergen Vigna <jug@sad.it>
6968 * buffer.C (insertErtContents): fix to insert ert asis if it is
6969 non empty. Skip it completely if it contains only whitespaces.
6971 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6973 * BufferView_pimpl.C:
6974 * BufferView2.C: clear selection on paste (bug 393)
6976 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6978 * DepTable.C: include ctime
6980 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6982 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6984 2002-05-14 Juergen Vigna <jug@sad.it>
6986 * text.C (breakParagraph): fixed function to honor the keepempty
6987 layout in the right maner and also to permit the right breaking
6988 algorithm on empty or non empyt keepempty paragraphs.
6990 * paragraph.C (breakParagraph): we have to check also if the par
6991 is really empty (!size()) for isempty otherwise we do the wrong
6994 2002-05-10 Juergen Vigna <jug@sad.it>
6996 * buffer.[Ch] : The following are only changes to the ert
6997 compatibility read reading old LaTeX layout and font stuff and
6998 convert it to ERTInsets.
7000 * buffer.h: added isErtInset().
7002 * buffer.C (struct ErtComp): add a fromlayout bool to check
7003 if we're inside a LaTeX layout.
7004 (isErtInset): new helper function.
7005 (insertErtContents): look for other ert insets before this one
7006 and insert the contents there, so that we don't have subsequent
7007 ERT insets with nothing between them. This way we create only one
7008 inset with multiple paragraphs. Also check if we don't insert only
7009 spaces ' ' as they are ignored anyway afterwards in the .tex file
7010 so if we have only spaces we will ignore this latex part in the
7012 (parseSingleLyXformat2Token \\layout): better compatibility when
7013 reading layout-latex stuff.
7014 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7016 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7017 stuff after reading the inset only get the information back from
7020 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7022 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7024 * LaTeXFeatures.C (getBabelOptions): New method.
7026 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7028 * BufferView_pimpl.C (Dispatch): work around missing argument for
7031 2002-05-08 Juergen Vigna <jug@sad.it>
7033 * text.C (leftMargin): handle paragraph leftindent.
7035 * paragraph.C (writeFile): write the new \\leftindent tag.
7036 (validate): handle leftindent code.
7037 (TeXEnvironment): handle paragraphleftindent code again.
7039 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7041 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7042 for paragrap_extra indent code and new token \\leftindent.
7043 (latexParagraphs): handle the leftindent as environment.
7045 * ParameterStruct.h: added leftindent support.
7047 * ParagraphParameters.C (leftIndent): added support functions for
7048 the paragraph left indent.
7050 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7053 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7055 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7058 * text.C (computeBidiTables): No bidi in insetERT.
7060 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7063 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7065 * version.C.in: pre 5
7067 2002-05-02 José Matos <jamatos@fep.up.pt>
7068 * buffer.C (makeDocBookFile): white space changes, add newline to
7070 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7072 * tabular.C (docBook): fix typo.
7074 2002-05-03 Juergen Vigna <jug@sad.it>
7076 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7077 change in LyXText as we can not be sure it was not freed.
7078 (drawOneRow): remove unused code.
7080 * text.C (drawInset): redo the calculation of the need_break_row as
7081 it could have a row which was already freed.
7082 (draw): look at the return value of drawInset and return false if
7083 it also returned false.
7084 (paintRowText): look at the return value of draw and return false if
7085 it also returned false.
7087 * lyxtext.h: added bool return type to drawInset() and draw() so that
7088 if we have a change in the row so that the rowbreak has to be redone
7089 we abort drawing as it will be called again.
7091 2002-05-02 Juergen Vigna <jug@sad.it>
7093 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7094 a change in the maintext also if we're inside an inset.
7095 (Dispatch): set the cursor again after a break line and after the
7096 screen has been updated as it could be we're in a different row.
7098 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7099 to set the cursor behind the pargraph with > size().
7100 (setCursor): check also for the same paragraph when checking where
7101 to put the cursor if we have a NFR inset.
7103 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7104 parts of layout read further up as it still was in the wrong
7107 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7109 * screen.C (drawFromTo): change sine fullRebreak always return
7112 * buffer.C (parseSingleLyXformat2Token): reindent some
7114 * BufferView_pimpl.C (update): change since fullRebreak always
7116 (Dispatch): git rid of the last hardcoded "Standard"s.
7118 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7120 * text2.[Ch] (fullRebreak): make it return void now that we always
7123 2002-04-30 Juergen Vigna <jug@sad.it>
7125 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7126 ert compatibility check for "latex" layout.
7128 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7130 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7131 minipages: use col% instead of p%, and also use the current font.
7132 (makeLaTeXFile): Fix use babel condition.
7133 (parseSingleLyXformat2Token): Correct font when reading old floats.
7135 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7137 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7138 inserting list of floats.
7140 2002-04-25 Herbert Voss <voss@lyx.org>
7142 * MenuBackend.C (expand): don't add the graphics extensions to the
7145 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7147 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7148 non-existing layout, do not complain if it was the default layout
7149 of the original class (bug #342)
7151 2002-04-24 Juergen Vigna <jug@sad.it>
7153 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7154 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7156 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7158 * buffer.C (getBibkeyList): If using \bibliography, return the
7159 option field with the reference itself. Enables us to provide natbib
7160 support when using \bibliography.
7162 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7164 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7166 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7167 natbib is provided by the LaTeX class.
7169 2002-04-23 Juergen Vigna <jug@sad.it>
7171 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7174 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7176 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7178 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7180 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7181 ensuremath around textordmasculine, textordfeminine and
7184 2002-04-19 Juergen Vigna <jug@sad.it>
7186 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7187 reinitializing the buffer otherwise row-dimensions may be wrong.
7188 (update): reset also the selection cursors if they do exits otherwise
7189 their x/y positions may be wrong.
7191 * text2.C (cursorDown): don't enter the inset if we came from a row
7192 above and are one row over the inset.
7194 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7195 really leaving an inset.
7197 2002-04-18 Juergen Vigna <jug@sad.it>
7199 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7200 of the selected paragraph does not have the selected layout also if
7203 * text2.C (setLayout): fixed bug which did not change last selected
7206 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7207 changed the read and substituted \\end_float with \\end_inset!
7209 * BufferView_pimpl.C (cursorPrevious):
7210 (cursorNext): fixed to make it work with rows heigher than the work
7211 area without moving the cursor only the draw of the row.
7212 (workAreaMotionNotify): fix jumping over high rows.
7214 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7216 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7219 2002-04-16 Juergen Vigna <jug@sad.it>
7221 * text2.C (setCursor): set also the irow().
7222 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7224 (cursorDown): support for locking an inset if the x_fix value goes
7225 inside it. That way I can transverse insets too with cursor up/down.
7227 * lyxrow.h: added irow helper function same as other (i) functions.
7229 * BufferView_pimpl.C (cursorPrevious):
7230 (cursorNext): fixed for insets!
7232 2002-04-15 Juergen Vigna <jug@sad.it>
7234 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7235 position otherwise it is wrong in some cases.
7237 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7238 inside the inset before the call.
7240 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7242 * buffer.[Ch] (getBibkeyList): make it const.
7244 2002-04-12 Juergen Vigna <jug@sad.it>
7246 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7248 * text2.C (getCursorX): new helper function
7249 (setCursor): compute also ix_
7250 (setCursorFromCoordinates): set also ix.
7252 * lyxcursor.h: added ix_ and helper functions.
7254 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7256 * buffer.C (insertStringAsLines): dont break paragraph if the this
7257 paragraph is inside an inset which does not permit it!
7259 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7260 also with no chars on this paragraph.
7261 (paintRowText): only paint stuff if it's inside the workarea!
7263 * paragraph.C (breakParagraph): honor keepempty flag and break the
7264 paragraph always below not above.
7266 * BufferView2.C (unlockInset): update the paragraph layout on inset
7267 unlock as we changed paragraph in such a case.
7269 * lyxfind.C (LyXFind): clear the former selection if not found!
7271 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7272 again called in insertChar().
7274 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7275 an inset which uses the whole row!
7276 (rightMargin): ditto.
7277 (insertChar): force a rebreak if we inserted an inset!
7279 2002-03-28 Herbert Voss <voss@lyx.org>
7281 * lyxlength.[Ch]: add inBP() to get the right PS-point
7282 units (BigPoint). With inPixels we have rounding errors
7284 2002-04-11 Juergen Vigna <jug@sad.it>
7286 * text2.C (setCursorFromCoordinates): set iy to the right value.
7287 (setCursor): add check if row->previous exists!
7289 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7290 an old float_type as this was the case in the old code!
7292 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7294 * BufferView2.C (showLockedInsetCursor): use iy
7295 (fitLockedInsetCursor): ditto
7297 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7298 locked insets as there we have the right value now.
7300 * lyxcursor.C: added iy_ variable and iy functions to set to the
7301 baseline of cursor-y of the locked inset.
7303 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7304 (setCursor): fixed for insets which need a full row.
7306 * text.C (rowLastPrintable): don't ignore the last space when before
7307 an inset which needs a full row.
7308 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7309 as last character of a row when before a inset which needs a full row.
7311 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7313 * version.C.in: update date
7315 * text2.C (fullRebreak): try to always return true and see what
7318 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7320 * MenuBackend.C (expand): use Floating::listName
7322 * FloatList.C (FloatList): add listName argument to the built-in
7325 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7326 text associated with the float.
7328 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7330 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7332 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7334 * ShareContainer.h: add a couple of missing typenames.
7336 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7338 * lyxrc.C (getDescription): use _() correctly rather than N_().
7340 2002-03-28 Herbert Voss <voss@lyx.org>
7342 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7343 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7345 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7347 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7348 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7350 2002-03-29 Juergen Vigna <jug@sad.it>
7352 * lyxfunc.C (dispatch): add a missing fitCursor call.
7354 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7355 it was scrolled by a cursor move, so return the bool status.
7357 * BufferView.C (fitCursor): return the bool flag also to the outside
7358 world as this is needed.
7360 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7362 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7363 call the edit() as it is not needed (and wrong) IMO.
7364 (workAreaButtonPress): set the screen_first variable before evt.
7365 unlock the inset as this may change screen_first and then we have
7366 a wrong y position for the click!
7368 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7370 * MenuBackend.C (expand): another translation that I missed
7372 2002-03-28 Juergen Vigna <jug@sad.it>
7374 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7376 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7378 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7380 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7382 * MenuBackend.C (expand): fix export/view/update when there is no
7385 2002-03-27 Herbert Voss <voss@lyx.org>
7387 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7390 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7392 * bufferview_funcs.C (currentState): only show paragraph number
7393 for is DEVEL_VERSION is set.
7395 * lyxfunc.C (dispatch): put warning in INFO channel
7397 * MenuBackend.C (expand): translate the name of floats
7399 * FloatList.C (FloatList): mark the float names for translation
7401 * converter.C (convert): use LibScriptSearch
7403 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7405 * MenuBackend.C (defaults): fix default menu (we might as well get
7408 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7410 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7413 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7415 * lyxvc.C: reorder includes.
7417 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7419 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7422 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7424 * CutAndPaste.C: change layouts earlier on paste
7425 to avoid crashing when calling getFont()
7427 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7429 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7432 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7434 * WorkArea.C: remove 'Pending' debug message.
7436 * most files: ws cleanup
7438 * buffer.[Ch]: ws changes
7440 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7442 2002-03-21 Juergen Vigna <jug@sad.it>
7444 * tabular.C (SetMultiColumn): collapse also the contents of the
7445 cells and set the last border right. Added a Buffer const * param.
7447 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7449 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7452 2002-03-19 Juergen Vigna <jug@sad.it>
7454 * text2.C (clearSelection): reset also xsel_cache.
7456 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7457 where it needs to be called (John tells us to do so too :)
7458 (selectionLost): reset sel_cache.
7460 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7462 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7464 * text2.C (setCursorIntern): put debuging code in INSETS channel
7466 2002-03-19 André Pönitz <poenitz@gmx.net>
7468 * lyxfunc.C: tiny whitespace change
7470 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7472 * ToolbarDefaults.C (init):
7473 * LyXAction.C (init):
7475 * BufferView_pimpl.C (Dispatch):
7476 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7478 2002-03-19 Allan Rae <rae@lyx.org>
7480 * exporter.C (Export): removeAutoInsets before doing anything else.
7481 While I've just introduced a dependency on BufferView this really is
7482 the best place to clean the buffer otherwise you need to cleanup in
7483 a dozen places before calling export or cleanup in a dozen functions
7486 * converter.C (runLaTeX):
7487 (scanLog): Better handling of removeAutoInsets and screen updates.
7489 * lyxfunc.C (dispatch): small whitespace changes
7491 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7493 * WorkArea.C (C_WorkAreaEvent): return a value.
7494 (event_cb): return 1 if we handled the event, 0 otherwise.
7496 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7498 2002-03-18 Juergen Vigna <jug@sad.it>
7500 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7501 (GetAdditionalWidth): ditto.
7505 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7506 inset if we're there actually (probably not used right now but this
7507 is the direction to go for unifying code).
7508 (paste): disable code to clear the selection.
7510 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7511 inside an InsetText and move the check further up as it is in the
7514 * text2.C (pasteSelection): set a selection over the pasted text.
7516 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7518 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7519 and libgraphics to build on Cygwin.
7521 2002-03-15 Juergen Vigna <jug@sad.it>
7523 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7524 inserting an Inset into the paragraph. I know this is not the best
7525 fix but we already use current_view in CutAndPaste so we will remove
7526 all of it's using at the same time.
7528 * buffer.C (sgmlError): deactivated function till it is rewritten in
7529 the right mode, now it can create problems.
7531 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7532 before accessing it.
7534 2002-03-14 Juergen Vigna <jug@sad.it>
7536 * undo_funcs.C (textHandleUndo): do the right thing when updating
7537 the inset after the undo/redo.
7539 * text2.C (setCursor): just some testcode for #44 not ready yet.
7541 * undo_funcs.C (textHandleUndo): set the next() and previous()
7542 pointers of the paragraph to 0 before deleting otherwise we have
7543 problems with the Paragraph::[destructor].
7545 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7546 on a paragraph insertion.
7548 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7550 * buffer.C (asciiParagraph): use += operator for char append to
7553 * paragraph.C (getFontSettings): compare >= not just >
7554 (highestFontInRange): ditto
7557 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7559 * paragraph.C: change several algorithm to be more appripriate for
7560 the problem domain. This is lookip in FontList and in the InsetList.
7562 2002-03-13 André Pönitz <poenitz@gmx.net>
7565 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7567 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7572 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7574 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7576 * Painter.C (display): anon helper function, adjust code for this
7578 (pixmap): remove function.
7580 * Painter.h: remove private display variable.
7582 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7584 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7586 * WorkArea.[Ch]: remove figinset_canvas cruft.
7588 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7590 * lyxtextclass.C (operator): add one item cache optimization.
7592 * bufferlist.h: doxy changes
7594 * bufferlist.C: ws changes
7596 * DepTable.[Ch] (ext_exist): place const in the right spot.
7598 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7600 (workAreaExpose): call resizeInsets when the with BufferView changes.
7601 (Dispatch): adjust for protectedBlank removal
7602 (specialChar): call updateInset if the insert went ok.
7604 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7605 specialChar instead.
7607 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7609 * BufferView.h: doxy change
7611 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7613 * lyxtextclass.C (operator[]): remove non-const version
7614 (defaultLayout): remove non-const version
7616 2002-03-12 Juergen Vigna <jug@sad.it>
7618 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7619 did resize the LyXText too.
7621 * buffer.C (readLyXformat2): set layout information on newly allocated
7624 * tabular.C (OldFormatRead): set layout information on the paragraph.
7626 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7628 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7630 2002-03-11 Juergen Vigna <jug@sad.it>
7632 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7634 (resizeCurrentBuffer): force also the insets to resize themselfes.
7635 (moveCursorUpdate): fixed up for InsetText.
7637 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7640 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7641 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7642 value of Dialogs::tooltipsEnabled().
7643 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7645 2002-03-08 Juergen Vigna <jug@sad.it>
7647 * BufferView_pimpl.C (updateInset): update inset inside inset also
7648 if it isn't inside theLockingInset().
7650 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7652 * buffer.C (asciiParagraph): redo some of the word and line length
7654 (getLists): look for Caption instead of caption.
7656 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7658 * buffer.C (Buffer): initialize niceFile to true
7661 (makeDocBookFile): make sure niceFile is true on exit
7663 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7665 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7667 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7669 * LyXSendto.C: remove.
7670 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7671 * lyx_gui.C: remove now-redundant comment.
7672 * ColorHandler.h: remove forward declaration of class WorkArea.
7673 * lyxfunc.C: remove #include "WorkArea.h".
7675 2002-03-07 Juergen Vigna <jug@sad.it>
7677 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7678 got moved away with the DEPM and also set the inset_owner always
7679 right which before could have been omitted.
7681 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7683 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7684 wanted layout is not found.
7686 2002-03-07 Juergen Vigna <jug@sad.it>
7688 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7690 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7692 * paragraph.C (breakParagraph): use default layout not layout of
7694 (Paragraph): clear ParagraphParameters.
7696 2002-03-06 Juergen Vigna <jug@sad.it>
7698 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7699 otherwise it would not be a valid lenght. Fixed a special case in
7700 the minipage compatibility read where we end the document with a
7703 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7704 was set as it could be 0 for InsetTexts first entry.
7706 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7708 * paragraph.C (writeFile): if layout is empty write out
7709 defaultLayoutName().
7711 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7712 file without named layout we set layout to defaultLayoutName().
7714 2002-03-06 Juergen Vigna <jug@sad.it>
7716 * CutAndPaste.C (copySelection): set layout for new paragraph.
7718 * text.C (prepareToPrint): leave ERT inset left aligned
7719 (leftMargin): don't indent paragraphs inside ERT insets
7721 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7723 * paragraph.C (breakParagraph): dont call clear do the work manually
7725 * paragraph.[Ch] (clear): remove function
7727 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7729 * paragraph.C (Paragraph): dont call clear, the work has already
7732 * lyxtextclass.C (operator): assert if n is empty
7734 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7735 work manually instead.
7737 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7739 * BufferView_pimpl.C: protect selectionLost against text == 0
7741 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7743 * text.C (breakParagraph): fix a setting layout to '0' problem.
7745 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7747 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7748 final location of file, for the included files, and graphics.
7750 2002-03-05 Juergen Vigna <jug@sad.it>
7752 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7754 2002-03-04 Juergen Vigna <jug@sad.it>
7756 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7758 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7759 last column of multicolumn cells.
7760 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7762 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7764 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7765 file if it doesn't go to a temporary file.
7767 * buffer.C (sgmlOpenTag):
7768 (sgmlCloseTag): remove extra newline insertion.
7770 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7772 * text.C (getRowNearY): comment out debug msg
7774 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7776 * text2.C: first -> first_y
7778 * text.C (getRowNearY): add some attemts at a possible
7779 optimization, not working.
7781 * tabular.[Ch]: add BufferParams to several function so that newly
7782 created paragraph can be initialized to he default layotu for the
7785 * tabular-old.C (ReadOld): add buf->params to call of Init
7787 * screen.C: rename text->first to text->first_y
7789 * paragraph.C (breakParagraph): always set layout in the broken
7792 * lyxtextclass.C (Read): remove lowercase
7795 (delete_layout): ditto
7797 * lyxtext.h: rename first -> first_y
7799 * lyxlayout.C (Read): remove lowercase
7802 (obsoleted_by): ditto
7804 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7806 * buffer.C (insertErtContents): add params are to InsetERT
7807 (parseSingleLyXformat2Token): add code to check if a paragraphs
7808 layout really exist.
7809 (parseSingleLyXformat2Token): add params to several inset
7811 (asciiParagraph): remove lowercase, do the layout comparisons with
7814 * BufferView_pimpl.C (cursorNext): first -> first_y
7815 (resizeCurrentBuffer): first -> first_y
7816 (updateScrollbar): first -> first_y
7817 (scrollCB): first -> first_y
7818 (workAreaMotionNotify): first -> first_y
7819 (workAreaButtonPress): first -> first_y
7820 (checkInsetHit): first -> first_y
7821 (cursorPrevious): first -> first_y
7822 (cursorNext): first -> first_y
7823 (Dispatch): add buffer_->params to severl inset contructors
7825 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7827 * lyxlayout.C (Read): remove some debug info that I forgot.
7829 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7830 clean up the code slightly.
7831 (makeLinuxDocFile): ditto
7832 (makeDocBookFile): ditto
7834 * text2.C: layout as string
7836 * text.C: layout as string
7838 * paragraph_pimpl.C: layout as string
7840 * paragraph.[Ch]: layout as string
7842 * lyxtextclasslist.[Ch]: layout as string
7844 * lyxtextclass.[Ch]: layout as string
7846 * lyxtext.h: layout as string
7848 * lyxlayout.[Ch]: layout as string
7850 * lyx_cb.C: layout as string
7852 * bufferview_funcs.C: layout as string
7854 * bufferparams.C: layout as string
7856 * buffer.C: layout as string
7858 * LyXView.[Ch]: layout as string
7860 * LaTeXFeatures.[Ch]: layout as string
7862 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7864 * BufferView_pimpl.C: change current_layout to string, remove
7869 (workAreaButtonRelease): layout as string
7871 * BufferView2.C (unlockInset): adjust
7873 * vspace.C (asLatexCommand): use an explict temp variable.
7875 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7877 * Makefile.am: use FRONTEND_*
7879 2002-03-01 Juergen Vigna <jug@sad.it>
7881 * tabular.C (SetWidthOfMulticolCell): changed to something better
7882 I hope but still work in progress.
7883 (recalculateMulticolumnsOfColumn): renamed function from
7884 recalculateMulticolCells as it is more appropriate now.
7885 (SetWidthOfCell): calculate multicols better.
7887 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7889 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7891 * lyxfunc.C (processKeySym): print sequence also if it is
7892 `deleted' (complete)
7894 * kbsequence.C (print): print sequence even if it is deleted
7895 (complete would be a better word, actually).
7897 * lyxfunc.C (dispatch): print complete options after a prefix key
7899 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7901 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7903 * text2.C (setCharFont): eliminate setCharFont code duplication.
7905 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7907 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7908 LFUN_TABULAR_FEATURE (bug #177)
7910 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7912 * Makefile.am: remove figure.h
7914 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7916 * Bufferview_pimpl.C:
7928 * text2.C: remove #include "lyx_gui_misc.h".
7930 * LaTeX.C: added #include <cstdio>
7932 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7934 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7935 that the paragraph following this one can have.
7937 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7939 * vspace.C (asLatexCommand): fix bogus gcc warning
7941 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7943 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7945 * text2.C (setLayout): get rid of redundant code
7947 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7949 * text2.C (incDepth): make sure depth cannot be increased beyond
7952 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7954 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7955 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7957 * PainterBase.h (image):
7958 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7961 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7965 * BufferView_pimpl.C:
7966 * BufferView_pimpl.h:
7986 * sp_spell.C: remove fig inset, and the crap house of
7987 cards that follows it
7989 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7995 * nt_defines.h: move .h into support/
7997 * vms_defines.h: remove
7999 * WorkArea.C: add space in debug output
8003 * buffer.C: add WITH_WARNINGS
8007 * bufferlist.C: s/retrive/retrieve/, add docs
8018 * lyxgui.C: add ID to X error handler
8020 * lyxtestclass.c: fix typo
8022 2002-02-26 Juergen Vigna <jug@sad.it>
8024 * tabular_funcs.C (write_attribute): changed so that some default
8025 attributes are not written at all.
8026 (getTokenValue): set default values before trying to read the
8027 value so we have the return value always set as default if we don't
8028 find the token we search for.
8030 * tabular.C (Write): write bools as bools not as strings!
8032 2002-02-22 Juergen Vigna <jug@sad.it>
8034 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8035 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8037 * text.C (leftMargin): don't add an indent for paragraphs inside
8038 tabular cells (fix #208).
8040 2002-02-21 José Matos <jamatos@fep.up.pt>
8042 * tabular.C (docBook): fixed support for long tables.
8044 2002-02-20 Juergen Vigna <jug@sad.it>
8046 * text2.C (getFont): get the drawing font of the Inset if this
8047 paragraph is inside an inset (only important for InsetERT for now).
8049 * buffer.C (insertErtContents): use new lanugage params in ERT
8052 * CutAndPaste.C: commenting out seemingly uneeded code.
8054 2002-02-19 Allan Rae <rae@lyx.org>
8056 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8057 Iterators might be simple to use but they also get invalidated.
8058 (removeAutoInsets): renamed saved cursor tracking variables and added
8059 some comments to clarify what everything does.
8061 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8068 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8069 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8072 * vc-backend.h: remove #include "support/syscall.h"
8076 * converter.C: rearrange #includes in Lars' approved fashion.
8078 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8079 forward declare class Timeout in the header file.
8081 * XFormsView.C: changes due to the above.
8083 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8086 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8087 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8089 2002-02-18 José Matos <jamatos@fep.up.pt>
8091 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8094 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8096 * a lot of small ws changes
8097 * add a lot of using std::XXX
8098 * use std construcs some places where approp.
8099 * use some exisint stuff from lyxfunctional where approp.
8100 * Make file changes to use partial linking (lets test this now...)
8102 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8106 remove #include "support/syscontr.h" as it's redundant. Always has been.
8114 change Systemcalls::System to Systemcalls::Wait and
8115 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8116 No change of functionality, just reflects the stripped down Systemcalls
8119 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8121 * debug.[Ch]: add a GRAPHICS type to the enum.
8123 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8125 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8127 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8130 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8132 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8133 match the changes below.
8135 * text2.C (toggleInset): if there is not editable inset at cursor
8136 position, try to see if cursor is _inside_ a collapsable inset
8139 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8141 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8142 document menu has a nice checkbox
8144 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8146 * lyxlength.C (asLatexString): change PW to output as percent of
8149 * lengthcommon.C: change '%' to 't%'
8151 * lyxfunc.C (dispatch): a few comments from Martin
8153 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8157 * BufferView_pimpl.h:
8158 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8161 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8163 * vspace.C (inPixels): fix compiler warning
8165 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8167 * lyxfunc.C (getStatus): fix status message for disabled commands.
8169 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8171 * BufferView_pimpl.C: fix crash on close buffer
8172 during selection (#227)
8174 2002-01-27 Herbert Voss <voss@lyx.org>
8176 * buffer.C: link old Figure to new graphic inset
8178 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8180 * FontLoader.C (getFontinfo): Change the latex font names in order
8181 to match the names of type1inst.
8183 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8185 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8187 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8190 (remove_files_with_extension): ditto
8191 (remove_file): ditto
8194 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8195 document is smaller than the work area height. Do not initialize
8196 static variables to 0.
8198 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8200 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8202 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8203 LFUN_LAYOUT_PARAGRAPHS.
8205 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8206 tabular. It is possible to provide a possible cell, which will
8207 typically be the actcell from the corresponding insettabular
8209 * lyxfunc.C (getStatus): small cleanup; disable
8210 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8213 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8215 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8217 * paragraph.C (startTeXParParams):
8218 (endTeXParParams): new methods. The LaTeX code to
8219 start/end paragraph formatting
8220 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8221 empty (fixes bug #200)
8223 * vspace.C (inPixels): adapt to the change below
8224 (inPixels): [later] more cleanups (remove unused variables)
8226 * lyxlength.C (inPixels): change to use a width and a height as
8229 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8231 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8232 Replaced with \paperwidth
8234 * DepTable.C (insert): add std:: qualifier
8236 2002-01-18 Allan Rae <rae@lyx.org>
8238 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8241 * text.C (drawInset): Turned out I didn't know enough about how
8242 rebreaking worked. This fixes most of the redraw problems. I see
8243 an occasional cursor trail when a line is broken now and the cursor
8244 placement can seem out by a few pixels also after a rebreak.
8246 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8248 * buffer.C (parseSingleLyXformat2Token): update because minipage
8249 width is now a LyXLength
8251 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8253 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8256 2002-01-17 Juergen Vigna <jug@sad.it>
8258 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8260 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8261 is set correctly and the inset is updated correctly.
8263 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8265 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8266 the beginning of the loop.
8268 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8270 * lyxrc.C: improve help for use_scalable_fonts
8272 2002-01-17 Allan Rae <rae@lyx.org>
8274 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8276 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8278 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8279 make sure to set their inset_owner to the right value (bug #171)
8281 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8284 * DepTable.C: Implement mtime checking to reduce time spent doing
8287 2002-01-16 Juergen Vigna <jug@sad.it>
8289 * tabular.C (GetAdditionalHeight): one of error fixed.
8291 * lyxrc.C (output): small fix in writing use_pspell.
8293 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8295 * sp_base.h: #include LString.h
8297 2002-01-16 Allan Rae <rae@lyx.org>
8299 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8300 Can someone check this please?
8302 * text.C (drawInset): It was possible that p.row would be removed by
8303 breakAgainOneRow upsetting a few other settings. There may be another
8304 small tweak possible by setting need_break_row = 0 when p.row has been
8305 removed but I don't know enough about the logic here.
8307 2002-01-15 Allan Rae <rae@lyx.org>
8309 * text.C (insertChar): removed conditional truism.
8311 * BufferView2.C (removeAutoInsets): More tweaks.
8312 cur_par_prev could be a stray pointer. Check for trailing empty line
8313 in case last line was cur_par and only had an error inset on it.
8315 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8317 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8320 * vc-backend.C (most methods):
8321 * exporter.C (Export):
8322 * converter.C (convert):
8324 * LyXSendto.C (SendtoApplyCB):
8325 * lyxfunc.C (dispatch):
8329 * lyx_cb.C (AutoSave):
8331 * BufferView_pimpl.C (MenuInsertLyXFile):
8332 * buffer.C (runChktex): use Buffer::filePath().
8334 * buffer.h: rename filename to filename_; rename filepath to
8335 filepath_ and make it private
8336 (filePath): new method
8338 * buffer.C (writeFile): use fileName()
8341 * lyx_main.C (init): fix starting of LyX when the binary is a
8342 link from so,ewhere else.
8344 * minibuffer.C: include <cctype> for isprint
8346 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8348 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8349 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8350 name clash with InsetCollapsable's width function.
8352 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8354 * lastfiles.C: include <iterator>
8356 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8358 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8361 * buffer.C (makeLaTeXFile): ditto.
8362 Also make loop operation more transparent.
8364 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8366 * ToolbarDefaults.C: remove trailing comma closing namespace.
8368 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8370 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8373 * trans.C (Load): comment out unused variable, allowed.
8375 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8377 * minibuffer.[Ch] (append_char): new method to recieve input from the
8378 drop-down completion browser. If a key was pressed, then recieve this
8379 char and append it to the existing string.
8380 (peek_event): modify the positioning data passed to the completion
8381 browser so that it can be placed above the minibuffer rather than below.
8382 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8384 * LyXAction.C (init): alloe error-next for readonly documents.
8386 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8389 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8391 * bufferlist.C (readFile): create the buffer _after_ checking that
8394 * lyxfunc.C (verboseDispatch): fix handling of arguments
8396 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8398 * lyxrc.C: use string::erase() instead of initializing to "".
8401 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8403 * BufferView_pimpl.h:
8404 * BufferView_pimpl.C:
8407 * text2.C: tell X when we have made a selection for copying
8409 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8411 * BufferView_pimpl.C (MenuInsertLyXFile):
8412 * lyxfunc.C (menuNew):
8414 (doImport): add shortcuts to directory buttons
8416 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8419 * lyxfunc.C (setStatusMessage):
8420 (getStatusMessage): new methods
8421 (getStatus):use setStatusMessage instead of setErrorMessage
8422 (dispatch): when function is disabled, set error message here
8423 [instead of in getStatus previously]
8425 * BufferView_pimpl.C (workAreaButtonRelease): update
8426 toolbar/menubar here too.
8428 2002-01-13 Allan Rae <rae@lyx.org>
8430 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8431 Now seems indestructible. Remaining task is to audit all other
8432 code affected by deleteEmptyParagraphMechanism. One small quirk
8433 left is that an empty document with an error in the preamble can
8434 be made to report an error but no error box appears. I don't know
8436 (removeAutoInsets): Improved comments.
8438 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8441 * Thesaurus.C: update for Aiksaurus 0.14
8443 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8445 * text2.C (firstParagraph): removed member function, all uses
8446 replaces with ownerParagraph
8447 (redoParagraphs): here
8449 (toggleAppendix): here
8450 * BufferView2.C (insertErrors): here
8451 (setCursorFromRow): here
8453 2002-01-13 Allan Rae <rae@lyx.org>
8455 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8456 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8457 There is still a way to segfault this although you may have to do this
8458 multiple times: Have an InsetERT with an unknown command in it.
8459 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8460 <down-arrow>, <Enter> again, View->DVI, BANG!
8462 * text2.C (setCursor):
8463 (deleteEmptyParagraphMechanism):
8464 * lyxtext.h (setCursor):
8465 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8466 Making use of the return value may help fix other bugs.
8468 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8470 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8472 * LyXView.C (updateMenubar): call MenuBar::update here
8473 (updateToolbar): but not here
8474 (showState): do not update toolbar/menubar
8476 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8477 should need to care about that.
8479 * lyxfunc.C (verboseDispatch): simplify a bit
8480 (getStatus): have a version which takes a pseudoaction, and
8481 another which requires a (kb_action,string).
8483 * LyXAction.C (retrieveActionArg): make it work also when action
8484 is not a pseudo-action.
8485 (getActionName): simplify a bit
8488 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8490 * lyxfunc.C (verboseDispatch): new families of methods with
8491 several ways to specify a command and a bool to indicate whether
8492 the command name and shortcut should be displayed in minibuffer
8493 (eventually, we could extend that to a finer bitmask like
8494 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8495 (dispatch): the pristine dispatch command which just, well,
8496 dispatchs! Note it still sets its result to minibuffer; I'm not
8499 * lyxfunc.h: remove setHintMessage
8501 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8503 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8505 * BufferView_pimpl.C (specialChar): delete new inset if we have
8506 not been able to insert it.
8508 * kbmap.C: revert to using int instead of kb_action, since all we
8509 are dealing with is pseudo-actions.
8511 * LyXAction.C (searchActionArg): change to return int instead of
8512 kb_action, since the result is a pseudoaction.
8514 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8516 * buffer.C (insertErtContents): Fix (partially) the font bug.
8518 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8520 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8521 as the other one is broken on my machine!
8523 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8526 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8528 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8530 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8531 reflect their actual use. Provide compatibility code for older lyxrc
8534 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8536 change names of popup font variables in line with the changes to lyxrc.C
8538 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8540 * buffer.C (asciiParagraph): avoid outputing a word twice after
8543 * lyxrc.C (getDescription): document that document_path and
8544 template_path can be empty.
8546 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8548 * LaTeXFeatures.C (getMacros):
8549 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8551 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8553 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8555 (getPackages): rename feature "floats" to "float". Use an array to
8556 iterate over 'simple' features (i.e. just a \usepackage). Add
8557 handling of "amsmath" (renamed from "amsstyle").
8559 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8561 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8564 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8566 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8567 FuncStaus::FuncStatus & FuncStaus::some_method().
8569 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8571 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8572 of the func_satus stuff. Edited and massaged in various ways by
8575 * lyxfunc.C (getStatus): use FuncStatus
8577 2002-01-08 Juergen Vigna <jug@sad.it>
8579 * text.C (nextBreakPoint): use function Inset::isChar().
8581 * paragraph.C (TeXOnePar): use function
8582 Inset::forceDefaultParagraphs.
8584 * buffer.C (latexParagraphs): use function
8585 Inset::forceDefaultParagraphs.
8587 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8589 * lyx_gui.C (init): set the style of the menu popups to
8590 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8592 2002-01-07 Juergen Vigna <jug@sad.it>
8594 * text.C (setHeightOfRow): small fix
8595 (prepareToPrint): don't look at alignment if we don't have the place
8598 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8600 * box.C: New file. Move the Box methods and functions out of box.h,
8601 following Lars' suggestion.
8603 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8605 * box.h: #include "support/LOstream.h", needed for inlined function.
8608 * lyxtextclasslist.C: added some using std declarations.
8610 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8612 * box.h: make signed dimensions to allow insets wider than
8613 the screen (bug #162)
8615 * BufferView_pimpl.C: add some insetHit debug
8617 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8619 * vc-backend.C: add FIXME
8621 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8623 * lyxfunc.C (getStatus): enable code for showing math font status
8626 2002-01-07 Juergen Vigna <jug@sad.it>
8628 * text.C (nextBreakPoint): removed debug output not needed anymore.
8630 2002-01-06 Juergen Vigna <jug@sad.it>
8632 * text.C (nextBreakPoint): fixed up this function we had this bug
8633 since ever but now hopefully we break row better.
8634 (insertChar): we have to check if an inset is the next char as it
8635 could now happen that a large inset is causing a break.
8637 2002-01-05 Juergen Vigna <jug@sad.it>
8639 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8640 if it doesn't like to be drawed.
8642 2002-01-04 Juergen Vigna <jug@sad.it>
8644 * BufferView2.C (lockInset): forgot to set a cursor.
8646 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8648 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8653 * form_maths_panel.C:
8654 * form_maths_panel.h:
8655 * form_maths_panel.fd: implemented sub- and super- buttons in math
8658 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8659 (or ^ space) to be used as in TeX (req'd by André).
8661 * lyxfunc.C: Allow ^ and _ again to be used both as
8662 super/subscript (mathed) and as themselves (in text).
8664 2002-01-03 Allan Rae <rae@lyx.org>
8666 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8667 "LyX" or the filename of the current buffer if it has one. This is a
8668 modified form of John Levon's patch.
8670 * XFormsView.C (setWindowTitle): also set icon title.
8672 * LyXView.h (setWindowTitle): signature changed.
8673 * XFormsView.h (setWindowTitle): ditto.
8675 2002-01-02 Juergen Vigna <jug@sad.it>
8677 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8679 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8681 * screen.C (topCursorVisible): introduce a temp var for
8682 text->cursor.row(), handle the case where this row is null. (kindo
8685 * text2.C (setCursor): add a couple of asserts.
8687 * paragraph.h (inset_iterator): add -> operator
8689 * paragraph.[Ch] (autoDeleteInsets): remove member function
8691 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8692 cursor pos correctly and handle inset deletion by itself.
8693 (insertErrors): move iterator declaration out of for expression
8695 * lyxtextclass.C: add <algorithm>
8697 * Makefile.am: added the new files to sources, removed layout.C
8699 * layout.C: removed file
8701 * layout.h: remove LYX_DUMMY_LAYOUT
8703 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8707 * lyxtextclass.[Ch]:
8708 * lyxtextclasslist.[Ch]: new files
8710 * include order changes to a lot of files, also changes because of
8713 2001-12-27 Juergen Vigna <jug@sad.it>
8715 * buffer.C (asciiParagraph): more fixes.
8717 * tabular.C (ascii): make ascii export support export of only the
8718 data separated by a column-delimiter.
8719 (ascii): better support for ascii export.
8721 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8723 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8725 * tabular_funcs.C: use a "using std::getline" instead of the
8726 previous fix from Angus (necessary for cxx + lyxstring)
8728 2001-12-24 Juergen Vigna <jug@sad.it>
8730 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8732 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8733 problems. First check a minipage also if we have some ert-contents
8734 (not only on par->size(), second set the right depth of the paragraph
8735 on the relink to the root-paragraph-list!
8737 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8738 which then did not anymore update the main paragraphs on undo/redo!
8740 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8742 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8743 code. Support all font-changing funcs (even those which are not in
8744 menu currently). Support for reporting font settings in
8745 mathed (disabled until Andre provides a function on mathed's side).
8747 * func_status.h (toggle): small helper function to set toggle
8750 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8752 * tabular_funcs.C: getline -> std::getline
8754 2001-12-21 Juergen Vigna <jug@sad.it>
8756 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8757 accessed and could be 0 (I couldn't generate this but it seems
8760 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8762 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8763 * tabular_funcs.h: here and include iosfwd
8765 2001-12-20 Juergen Vigna <jug@sad.it>
8767 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8768 inside inset but undo_par was.
8770 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8772 * Thesaurus.C: always include <config.h> in sources.
8776 * box.h: do not include <config.h> in header files
8778 * text.C (paintLastRow): remove unused variable
8780 * text.C (transformChar):
8782 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8785 * font.C (width): rewrite to use uppercase() instead of
8788 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8790 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8792 * lyxfind.C: clean up of find failure position change
8794 2001-12-20 Juergen Vigna <jug@sad.it>
8796 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8798 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8799 (TeXRow): added to LaTeX a single tabular row.
8800 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8801 (Latex): simplified and finally good LT-h/f support.
8802 (various_functions): just small adaptions for LT-h/f support.
8804 * tabular_funcs.[hC]: added and moved here all not classfunctions
8807 2001-12-19 Juergen Vigna <jug@sad.it>
8809 * tabular.[Ch]: better support for longtabular options (not finished
8812 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8814 * text.C (paintLastRow): use the label font instead of the font of
8815 the last character to compute the size of *_BOX. This makes more
8816 sense and avoids a crash with empty paragraphs.
8817 Use Painter::rectangle to draw EMPTY_BOX.
8819 2001-12-19 Juergen Vigna <jug@sad.it>
8821 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8822 the paragraphs if the replaced paragraph is not the first one!
8823 Tried to delete not used paragraphs but does not work yet so for
8824 now it's inside #ifdef's and by default off!
8826 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8828 * MenuBackend.C: include "lyx_main.h" instead of declaring
8829 lastfiles (actually was declared as LastFiles* instead of a
8832 2001-12-17 Juergen Vigna <jug@sad.it>
8834 * tabular.C (AppendColumn): applied John's fix
8836 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8840 * BufferView_pimpl.h:
8841 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8844 * box.h: new start of class for above
8846 * lyxfunc.C: ignore space-only minibuffer dispatches.
8847 Show the command name when it doesn't exist
8849 * minibuffer.C: don't add empty lines to the history
8851 * minibuffer.C: add a space on dropdown completion
8853 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8855 * text.C: fix line above/below drawing in insets
8857 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8859 * lyxlength.C (LyXLength): Initialize private variables.
8861 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8863 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8864 when inserting error insets.
8866 2001-12-13 Juergen Vigna <jug@sad.it>
8868 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8869 actually sometimes the before-paragraph.
8870 (setUndo): don't clear the redostack if we're not actually undoing!
8872 2001-12-06 Juergen Vigna <jug@sad.it>
8874 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8875 and fixed redoing of main paragraph, so we can use it now ;)
8877 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8879 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8881 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8884 2001-12-13 André Pönitz <poenitz@gmx.net>
8887 * undo_func.C: minor cleanup
8889 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8891 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8892 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8893 font in urw-fonts package which is marked as -urw-fontspecific and
8894 does not work (incidentally, changing the encoding in the
8895 fonts.dir of this package to -adobe-fontspecific fixes the
8898 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8899 is a crash when undoing first paragraph (Juergen, please take a
8900 look). THis does not mean the undo fix is wrong, just that it
8903 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8904 the (Paragraph*) version when needed instead of duplicating the
8907 * text.C (workWidth): use Inset::parOwner to find out where the
8908 inset has been inserted. This is a huge performance gain for large
8909 documents with lots of insets. If Inset::parOwner is not set, fall
8910 back on the brute force method
8912 * paragraph_pimpl.C (insertInset):
8913 * paragraph.C (Paragraph):
8914 (cutIntoMinibuffer): set parOwner of insets when
8915 inserting/removing them
8917 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8919 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8925 * mathed/formulabase.C:
8926 * mathed/math_cursor.[Ch]:
8927 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8930 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8932 * lyxlength.[Ch] (operator!=): new function
8934 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8936 * text.C (workWidth): use Inset::parOwner to find out where the
8937 inset has been inserted. This is a huge performance gain for large
8938 documents with lots of insets. If Inset::parOwner is not set, fall
8939 back on the brute force method
8941 * paragraph_pimpl.C (insertInset):
8942 * paragraph.C (Paragraph):
8943 (cutIntoMinibuffer): set parOwner of insets when
8944 inserting/removing them
8946 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8948 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8950 * tabular-old.C (getTokenValue):
8951 * tabular.C (getTokenValue):
8952 (write_attribute): new versions for LyXLength
8953 (everywhere): adjust the use of widths
8955 * tabular.h: change the type of widths from string to LyXLength
8957 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8959 * paragraph.C: fixed missing line number count when exporting
8960 Environments to LaTeX file
8962 * buffer.C: added informational message for checking line numbers.
8964 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8966 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8967 paragraph, do the 'double space' part, but not the 'empty
8970 * text.C (workWidth): small optimization
8971 (getLengthMarkerHeight): use minimal size for negative lengths.
8973 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8975 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8977 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8979 2001-12-11 André Pönitz <poenitz@gmx.net>
8982 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8984 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8986 * text2.C: keep selection on a setFont()
8988 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8990 * lyx_cb.C: another bv->text misuse, from insert label
8992 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8995 * kbsequence.C: re-instate nmodifier mask
8997 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8999 * lyx_main.h: make lyxGUI private.
9001 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9003 * lyxfind.C: place the cursor correctly on failed search
9005 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9007 * text.C (getLengthMarkerHeight): for small heights, the arrows
9008 are not always on top/bottom of the text
9009 (drawLengthMarker): smaller arrows; take the left margin in
9010 account; draw also vfills.
9012 (paintLastRow): remove special code for vfill and standard spaces,
9013 since everything is handled in drawLengthMarker now.
9015 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9017 * buffer.C (insertErtContents): try to handle font and language
9018 interaction a bit better.g
9020 * ColorHandler.C (updateColor): change the hash to cover the whole
9021 LColor enum, ws cleanup
9022 (getGCLinepars): ditto
9023 (getGCLinepars): only lookup in the linecache once.
9025 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9027 * iterators.C (operator++): Make the iterator more robust
9029 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9031 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9033 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9036 * text.C: better added space drawing
9038 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9041 * BufferView2.C: fix layout combo update on inset unlock
9043 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9045 * Makefile.am: don't compile unused files
9047 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9051 * LyXAction.C: remove old LFUN_LAYOUTNO
9053 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9055 * paragraph_pimpl.h:
9056 * paragraph_pimpl.C: isTextAt() doesn't need font param
9058 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9061 * lyxlex.C: little cleanup
9063 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9065 * BufferView_pimpl.C: fix insertAscii for insets
9067 2001-12-05 Juergen Vigna <jug@sad.it>
9069 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9070 set the right font on the "multi" paragraph paste!
9072 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9078 * lyxlength.C: remove out-commented code.
9094 * vc-backend.C: change "while(" to "while ("
9096 * lyxlength.[Ch]: add zero function to check if length is zero or
9098 * lyxgluelength.C: use it
9100 2001-12-05 Allan Rae <rae@lyx.org>
9102 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9103 Works for 2.95.3, from what I understand of Garst's reports this should
9104 work for other g++ versions. We're screwed if the abs(int) definition
9105 changed between bugfix releases of gcc.
9107 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9109 * text.C: fix chapter label offset !
9111 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9114 * text.C: fix hfill at end of line, clean up
9116 2001-12-04 Juergen Vigna <jug@sad.it>
9118 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9119 that we force an update of the inset and it's owners if neccessary.
9121 2001-12-03 Juergen Vigna <jug@sad.it>
9123 * text.C (rowLast): simplified code
9125 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9127 * lyxfunc.C: fix show options on timeout
9129 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9131 * screen.C (topCursorVisible): scroll half a page when the cursor
9132 reached top of bottom of screen
9134 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9136 * minibuffer.C: deactivate on loss of focus
9138 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9140 * vspace.[Ch] (operator!=): add operator.
9142 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9144 * BufferView_pimpl.C: refuse to open an inset when
9145 there's a selection.
9147 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9149 * BufferView_pimpl.C: allow to click on RHS of full row insets
9151 2001-11-30 Juergen Vigna <jug@sad.it>
9153 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9154 insets for undo reasons.
9156 2001-11-28 André Pönitz <poenitz@gmx.net>
9158 * vspace.[Ch]: cosmetical changes
9160 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9170 * kbsequence.C: part re-write of old kb code
9173 * WorkArea.C: remove Lgb_bug_find_hack
9175 2001-11-30 José Matos <jamatos@fep.up.pt>
9177 * buffer.C (makeDocBookFile): add a comment to point a hack.
9178 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9179 Fixed a double write of labels.
9181 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9184 * LaTeX.h Fixed bug in LaTeX class where it would not
9185 re-run latex if no depfiles were changed, but the .dvi was removed.
9187 2001-11-28 André Pönitz <poenitz@gmx.net>
9189 * all the files from the change on 2001/11/26:
9190 use lyx::layout_type instead of LyXTextClass::size_type
9191 use lyx::textclass_type instead of LyXTextClassList::size_type
9193 2001-11-29 Juergen Vigna <jug@sad.it>
9195 * text.C: added support for paragraph::isFreeSpacing()
9197 * buffer.C: same as above
9199 * paragraph.h: inserted isFreeSpacing() function to enable
9200 FreeSpacing inside InsetERT.
9202 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9203 of the paragraph's in the cut/copy buffer to 0!
9205 * text2.C (removeRow): remove the assert as it can!
9207 * lyxtext.h: added helper function firstRow returning firstrow and
9208 made firstrow private again.
9210 * BufferView2.C (lockInset): don't relock if we're already locked!
9212 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9214 (removeRow): added Assert::(firstrow)
9216 * debug.C: forgot to add INSETTEXT here.
9218 2001-11-28 Juergen Vigna <jug@sad.it>
9220 * sp_spell.C (initialize): changed error text to more general
9221 spellchecker command use (not only ispell!)
9223 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9225 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9227 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9229 * vspace.C: initialise lyxgluelength on failure
9231 2001-11-28 Allan Rae <rae@lyx.org>
9233 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9234 declaration & definition that looks like a function declaration.
9236 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9238 * BufferView2.C (copy):
9239 (copyEnvironment): do not clear the selection when doing a copy.
9241 * text.C (paintFirstRow): compilation fix
9243 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9245 * tabular.C (Latex): correct line count when writing latex.
9247 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9249 * paragraph_pimpl.h:
9250 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9253 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9257 * LColor.C: change vfillline->added_space
9259 * text.C: add markers and text for added space
9261 * vspace.C: fix comment
9263 2001-11-28 André Pönitz <poenitz@gmx.net>
9265 * paragraph.C: whitespace changes
9266 * all the other files from the change on 2001/11/26:
9267 change *::pos_type into lyx::pos_type
9269 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9271 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9272 language of the document when inserting error insets.
9274 2001-11-26 André Pönitz <poenitz@gmx.net>
9276 * BufferView_pimpl.[Ch]:
9284 * paragraph_pimpl.[Ch]:
9287 * text2.C: reduce header dependencies, introduce type for positions
9289 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9291 * <various>: change to use Alert.h
9293 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9295 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9296 when encountering an unknown token.
9297 (readLyXformat2): Show an error message if there were unknown tokens.
9299 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9302 * BufferView_pimpl.C:
9306 * text2.C: use par->isInset()
9308 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9310 * paragraph_pimpl.h:
9311 * paragraph_pimpl.C: cleanup
9313 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9315 * text2.C (removeRow):
9316 * text.C (setHeightOfRow): remove useless (and costly) call to
9319 2001-11-20 Allan Rae <rae@lyx.org>
9321 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9322 Now need Inset*::checkInsertChar() to return true for appropriate
9323 cases so that the characters in the minibuffer will actually be
9326 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9328 * text.C: change the order of the includes.
9329 (workWidth): initialize it at once.
9330 (workWidth): make maxw unsigned
9331 (setHeightOfRow): remove unused variable (inset)
9332 (selectSelectedWord): remove unused variable (inset)
9333 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9335 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9337 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9338 server is not running.
9340 (closeConnection): add debug info when server is disabled.
9342 * ColorHandler.C (getGCForeground): send debug message to GUI
9345 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9347 * kbmap.C (bind): modify because return conventions of
9348 kb_sequence::parse have changed.
9350 * kbsequence.C (parse): only ignore spaces and not any stupid
9351 control character. This avoids tests like s[i] <= ' ', which are
9352 guaranteed to fail with 8bit characters and signed chars.
9353 Change return code to string::npos when there have been no error
9354 (0 was a bad idea when error is at first character)
9356 2001-11-14 José Matos <jamatos@fep.up.pt>
9359 * buffer.C (simpleDocBookOnePar): removed unused argument.
9361 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9363 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9364 insets which are part of a word. Paragraph::isLetter takes care of
9365 that now. Use Paragraph::isInset to identify insets.
9366 (selectSelectedWord): do not test for hyphenation break.
9368 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9369 that protected spaces are considered as spaces.
9371 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9374 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9377 * lyxserver.C: fix it. and small cleanup.
9379 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9381 * BufferView_pimpl.C: use inline helpers
9384 * LaTeXFeatures.C: fix typos
9387 * Spacing.C: move spacing_string into class
9389 * ToolbarDefaults.C: move stuff into namespace anon
9391 * layout.h: update enum
9393 * lyxfunc.C: use better debug
9395 * minibuffer.h: fix typo
9399 * WorkArea.C: add and use Debug::WORKAREA
9403 * text2.C: code re-organisation, inline helpers
9405 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9407 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9408 std::vector.empty().
9410 2001-11-09 Allan Rae <rae@lyx.org>
9412 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9413 '\n's after tables. Tabular and ERT inset work now makes this no
9416 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9419 * minibuffer.C: fix crash, improve drop-down completion
9421 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9424 * lyxserver.C: invalidate fd's when doing endPipe()
9426 2001-11-08 José Matos <jamatos@fep.up.pt>
9428 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9429 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9432 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9434 2001-11-07 José Matos <jamatos@fep.up.pt>
9437 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9440 * buffer.C (sgmlOpenTag):
9441 * buffer.C (sgmlCloseTag): removed debug info.
9443 * buffer.h (sgmlOpenTag):
9444 * buffer.h (sgmlCloseTag): made public.
9446 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9448 * buffer.C (saveParamsAsDefaults):
9449 * lyx_cb.C (MenuLayoutSave): remove
9451 * LyXAction.C (init):
9453 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9455 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9457 * buffer.C (setPaperStuff): removed from here...
9459 * bufferparams.C (setPaperStuff): ... and moved there.
9461 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9465 * XFormsView.C: add support for drop-down completion
9467 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9469 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9472 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9474 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9477 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9479 * lyx_main.C: change ref to known bugs
9481 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9483 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9484 to work around older babel problems.
9486 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9488 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9490 2001-10-24 Juergen Vigna <jug@sad.it>
9492 * tabular-old.C (ReadOld): below variable changes reflected.
9494 * tabular.[Ch]: added ltType struct for longtable header/footer
9495 defines and changed all instances where they are used. Added
9496 future support for double top/bottom rows.
9498 2001-10-24 José Matos <jamatos@fep.up.pt>
9500 * buffer.h (docbookHandleCaption):
9501 * buffer.C (docbookHandleCaption): removed unused function.
9502 (makeDocBookFile): moved docbook supported version to v4.1.
9504 2001-10-24 José Matos <jamatos@fep.up.pt>
9507 * tabular.C (docbookRow): new function to export docbook code of a row.
9508 (DocBook): now honors the longtable flags.
9510 2001-10-23 José Matos <jamatos@fep.up.pt>
9513 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9514 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9516 * buffer.C (makeLinuxDocFile):
9517 (makeDocBookFile): reworked the preamble, more clean, and with
9518 support for lyx defined entities. Changed the document declaration
9519 to be more XML friendly.
9521 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9522 if we need to output XML that should be done with a filter.
9524 2001-10-22 Juergen Vigna <jug@sad.it>
9526 * sp_pspell.h (class PSpell): add alive function needed in the
9527 controller to see if the spellchecker could be started.
9529 2001-10-22 Juergen Vigna <jug@sad.it>
9531 * buffer.C (insertStringAsLines): modify the font for inserting
9532 chars in certain conditions by calling checkInsertChar(font).
9534 2001-10-19 Juergen Vigna <jug@sad.it>
9536 * text.C (workWidth): use getRow instead of wrong algorithm.
9537 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9539 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9544 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9546 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9548 * text.C (workWidth): do not search for the exact row when
9549 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9550 optimization for big documents.
9552 2001-10-18 Juergen Vigna <jug@sad.it>
9554 * text.C (workWidth): new function with added Inset * parameter.
9556 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9558 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9560 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9561 change return type of getColumnNearX.
9564 * text.C (changeRegionCase): use uppercase/lowercase instead of
9567 (rightMargin): simplify code by factoring out the uses of
9572 (appendParagraph): use Paragraph::size_type
9574 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9576 * vspace.C (asLatexString): add a missing break
9578 2001-10-15 Herbert Voss <voss@perce.de>
9580 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9582 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9584 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9587 2001-10-10 André Pönitz <poenitz@gmx.net>
9589 * lyxfunc.C: removed greek_kb_flag.
9591 2001-10-10 Herbert Voss <voss@perce.de>
9593 * lyx_main.C: delete global string help_lyxdir.
9595 2001-10-09 Herbert Voss <voss@perce.de>
9597 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9599 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9601 * lyx_main.C: added global string help_lyxdir.
9603 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9605 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9607 * lyxrc.C (set_font_norm_type): support iso8859-4
9609 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9611 * LaTeX.C (deplog): add another regex for MikTeX
9613 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9615 * lyxrc.C (set_font_norm_type): support iso8859-3
9617 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9619 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9621 * LaTeXFeatures.C: remove special case of french and index
9623 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9624 before \begin{document}). This solves several incompatibilities.
9626 2001-10-03 Garst Reese <reese@isn.net>
9628 * lyx_cb.C: change CheckTex error msg.
9630 2001-10-03 José Matos <jamatos@fep.up.pt>
9632 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9634 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9636 * .cvsignore: update
9638 * lyx_main.C (commandLineVersionInfo): use new style version info.
9640 * buffer.C (writeFile):
9643 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9645 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9647 * version.h: update to use stuff in version.C
9649 * version.C.in: new file. Contains version information determined
9650 at compile time. This is a merging of version.h and
9653 2001-10-03 Juergen Vigna <jug@sad.it>
9655 * BufferView_pimpl.C (update): don't change "dirty" status in
9658 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9660 * WorkArea.C (c-tor): re-position version string slightly.
9662 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9664 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9665 revert to previous code.
9667 WorkArea.[Ch]: (show, destroySplash): methods removed.
9669 WorkArea.C: rework code so that it's an amalgam of the codes before and
9670 after the splash screen was moved to WorkArea.
9672 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9675 * vspace.C (inPixels):
9678 * buffer.C (insertStringAsLines):
9679 (asciiParagraph): fix types to be large enough
9681 * lyxlex_pimpl.h: change member status from short to int
9683 * layout.h: fix type of endlabeltype
9686 * kbsequence.C (parse): change return type to string::size_type
9688 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9691 * Bullet.C (bulletSize):
9692 (bulletEntry): do not use short ints as parameters
9694 * BufferView2.C (insertLyXFile): change a char to an int.
9696 * WorkArea.C (WorkArea): remove unneeded floats in computation
9698 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9700 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9702 * paragraph.C (asString): Do not ignore newline/hfill chars when
9703 copying to the clipboard.
9705 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9707 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9708 after a multi-line inset.
9710 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9712 * paragraph.C (validate): Set NeedLyXFootnoteCode
9714 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9716 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9717 and decrease-error to decrease.
9719 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9721 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9722 it more readable (should be equivalent)
9724 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9726 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9728 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9730 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9731 of a cursor (row, etc.) after a character has been deleted
9732 (deleteEmptyParagraphMechanism): call the method above on _all_
9733 cursors held by the LyXText when a double space has been
9736 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9738 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9740 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9742 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9743 background. Use greyOut() and the new show() methods to toggle between
9744 the foreground and background. Add code to remove the splash after
9745 its initial showing.
9747 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9748 (create_forms): no longer call Dialogs::showSplash.
9750 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9752 * .cvsignore: add version_info.h
9754 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9756 * version_info.h.in: new file
9758 * Makefile.am: add version_info.h.in
9760 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9761 version_info.h instead of VERSION_INFO
9763 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9765 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9766 The ERT inset now returns string().
9768 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9770 * lyxtext.h, text.C (selectNextWord): renamed as
9771 selectNextWordToSpellcheck.
9773 * text.C (selectNextWordToSpellcheck): Modified to not select
9774 words inside an ERT inset.
9776 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9778 * lyx_cb.C (MenuLayoutSave): change a bit the question
9780 * sp_base.h: include <sys/types.h>
9782 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9784 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9786 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9788 * several files: fix typos in user-visible strings
9790 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9792 * text2.C (pasteSelection): do not set the selection, since it
9793 will be cleared later. Actually, the intent was to fix the way the
9794 selection was set, but I figured rmoving the code was just as good.
9796 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9798 * FontLoader.C (available): Check if font is available without
9801 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9803 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9805 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9807 * lyxrc.[Ch]: added display_graphics variable and associated code.
9809 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9811 * bufferparams.C (hasClassDefaults): new method. Returns true if
9812 the buffer parameters correspond to known class defaults
9814 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9816 * XFormsView.C (show): set minimum size to the main window.
9818 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9820 * text2.C (copySelection):
9822 * lyxfind.C (LyXReplace):
9823 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9824 LyXText::selectionAsString.
9826 * paragraph.C (asString): add "label" argument to the second form
9828 * text2.C (selectionAsString): add "label" argument and pass it to
9829 Paragraph::asString.
9831 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9833 * lyx_main.C (commandLineHelp): remove version information
9835 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9837 * lyx_main.C: add -version commandline option
9839 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9841 * paragraph.h: make the optional constructor arg required instead.
9842 some modifications to other files because of this.
9844 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9846 * lyxserver.C (C_LyXComm_callback): make it static
9848 * lyx_main.C (error_handler): make it static
9850 * lyx_gui.C (LyX_XErrHandler): make it static
9852 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9854 * WorkArea.C: make the extern "C" methods static.
9856 * Makefile.am (lyx_LDADD): simplify
9858 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9860 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9861 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9863 * LyXAction.C (init):
9864 * lyxfunc.C (dispatch): associated code removal.
9866 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9868 * lyxfont.h (isSymbolFont): shut off warning
9870 * text.C (setHeightOfRow):
9871 (getVisibleRow): fix crash with empty paragraphs which have a
9874 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9876 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9879 2001-09-04 José Matos <jamatos@fep.up.pt>
9882 * tabular.C (docbook): rename docBook method to docbook.
9884 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9886 * Makefile.am: add dependencies to main.o.
9888 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9890 * FontLoader.C (available): Return false if !lyxrc.use_gui
9892 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9894 * FontInfo.C (query):
9895 * converter.C (view):
9896 * importer.C (Import):
9897 * exporter.C (Export): Can not -> cannot.
9899 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9901 * BufferView_pimpl.C: allow to create index inset even if
9904 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9906 * buffer.C (getLists): replace boost::tie code with an explicit pair
9907 as boost::tie can break some compilers.
9909 * iterators.h: Added a std:: declaration to the return type of
9912 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9914 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9917 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9919 * iterators.[Ch]: New files. Provide paragraph iterators.
9921 * buffer.C (changeLanguage): Use paragraph iterators.
9922 (isMultiLingual): ditto
9924 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9926 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9928 * FontLoader.C: Support for cmr font.
9930 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9932 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9933 (available): New method.
9935 * FontInfo.C (getFontname): Use scalable fonts even when
9936 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9939 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9941 * converter.C (Formats::view): reverted! Incorrect fix.
9943 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9945 * converter.C (Formats::view): only output the -paper option
9946 if the dvi viewer is xdvi, thereby fixing bug #233429.
9948 2001-08-23 Herbert Voss <voss@perce>
9950 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9952 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9954 * Spacing.h (Spacing): Set space to Default on in the default
9957 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9959 * vc-backend.h (RCS::versionString): add RCS to version
9960 (CVS::versionString): add CVS to version
9962 * vc-backend.C (scanMaster): do not add CVS to version.
9963 (scanMaster): do not add RCS to version
9965 * lyxvc.C (versionString): new method
9967 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9969 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9971 * Spacing.C (set): initialize fval
9973 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9975 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9978 2001-08-16 Juergen Vigna <jug@sad.it>
9980 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9982 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9984 * BufferView_pimpl.C:
9987 * text2.C: setParagraph takes linespacing now
9989 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9991 * LyxAction.C: add internal LFUN_CITATION_INSERT
9993 * LyXView.C: actually apply fix
9995 * bufferlist.C: fix open non-existent file
9997 * lyxfind.C: fix indentation
9999 * lyxfunc.C: remove unneeded assert, fix typo
10001 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10003 * MenuBackend.C: use "Floatname List"
10005 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10007 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10008 when converting LaTeX layout to insetERT.
10009 Generate a non-collapsed float when reading old float
10011 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10013 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10016 2001-08-13 Juergen Vigna <jug@sad.it>
10018 * text.C (fill): return 0 instead of 20 as this seems to be the more
10021 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10023 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10026 2001-08-13 Juergen Vigna <jug@sad.it>
10028 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10030 (SearchBackward): comment out the unlocking of the inset_owner this
10031 should not be needed!
10033 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10035 * Many files: Remove inherit_language, and add latex_language
10037 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10038 collapsible insets.
10040 2001-08-10 Juergen Vigna <jug@sad.it>
10042 * text.C (prepareToPrint): fixed hfill-width in draw!
10044 * BufferView2.C (selectLastWord): save the selection cursor as this
10045 now is cleared in the function LyXText::clearSelection!
10047 2001-08-08 Juergen Vigna <jug@sad.it>
10049 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10050 BACKSPACE type functions.
10052 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10053 is only cutted from the document but not put in the cut-buffer, where
10054 still the old stuff should be.
10056 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10058 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10060 * tabular.C (SetWidthOfCell): fixed special case where the width
10062 (LeftLine): handle '|' in align_special.
10064 (LeftAlreadyDrawed): ditto
10065 (SetWidthOfCell): ditto
10067 2001-08-07 Juergen Vigna <jug@sad.it>
10069 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10071 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10073 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10074 * lyxlex.[hC]: ditto
10076 2001-08-06 Juergen Vigna <jug@sad.it>
10078 * text.C (getVisibleRow): fix up row clearing a bit.
10080 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10082 * minibuffer.C: make sure the X server sees the changes in the input.
10084 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10086 * paragraph.C (getFont): split into...
10087 (getLabelFont): this
10088 (getLayoutFont): and this
10089 * paragraph_pimpl.C (realizeFont): calling this
10091 * text2.C (getFont): split into...
10092 (getLayoutFont): this
10093 (getLabelFont): and this
10094 (realizeFont): all three calling this
10096 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10099 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10101 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10103 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10105 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10106 layouts from the Quote inset insertion.
10108 2001-08-03 Juergen Vigna <jug@sad.it>
10110 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10112 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10113 only if status not is already CHANGED_IN_DRAW (second level).
10115 * text.C (draw): don't set the need_break_row when inside an
10118 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10120 * buffer.C (parseSingleLyXformat2Token): handle more latex
10123 * bufferview_funcs.[hC]: change function names to
10124 begin with small char, adjust other files.
10126 2001-08-02 André Pönitz <poenitz@gmx.net>
10129 BufferView_pimpl.C: remove broken special code for math-greek
10131 2001-08-02 Juergen Vigna <jug@sad.it>
10133 * BufferView_pimpl.C (update): redone this function so that we
10134 update the text again if there was a CHANGE_IN_DRAW.
10136 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10137 (drawFromTo): added a new internal bool which is used by draw() and
10139 (general): some cursor drawing problems fixed.
10141 2001-08-01 Juergen Vigna <jug@sad.it>
10143 * lyxfind.C (LyXFind): fixed
10144 (SearchForward): ditto
10145 (SearchBackward): ditto
10147 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10148 spurius drawing of the cursor in the main area.
10150 * text2.C (status): small fix which could lead to a segfault!
10151 (clearSelection): remove unneeded BufferView param.
10153 2001-08-01 André Pönitz <poenitz@gmx.net>
10155 * lyxfunc.C: small change due to changed mathed interface
10157 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10159 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10161 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10163 * lyxfunc.c: fail gracefully if file doesn't exist
10168 * BufferView_pimpl.C: IsDirWriteable() proto changed
10170 * LyXView.C: fix updateWindowTitle() to store the last title
10172 2001-07-31 Juergen Vigna <jug@sad.it>
10174 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10175 the font (wrong since using of Paragraph::highestFontInRange).
10177 * paragraph.C (highestFontInRange): added a default_size parameter.
10179 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10180 (setHeightOfRow): reformat
10182 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10184 * converter.[hC] + affected files: move to (inital-char)lowercase
10187 * ParagraphParameters.C (ParagraphParameters): remove commented code
10189 * PainterBase.[Ch]: remove commented code
10191 * LaTeXFeatures.h: add "bool floats" for float.sty
10193 * LaTeXFeatures.C (LaTeXFeatures): init floats
10194 (require): handle float
10195 (getPackages): do it with floats
10197 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10199 * BufferView_pimpl.C (Dispatch): improve handling of
10200 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10202 * commandtags.h: #include lyxfont.h here temporarily to avoid
10205 * bufferlist.h: include LString.h here.
10207 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10209 * text2.C (getStringToIndex): new method.
10211 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10213 * *: Reduced header file dependencies all over.
10215 2001-07-30 Baruch Even <baruch@lyx.org>
10217 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10219 2001-07-29 Baruch Even <baruch@lyx.org>
10221 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10223 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10225 * ParameterStruct.h (endif): add a default constructor to make
10226 sure that all variables is initialized.
10228 * ParagraphParameters.C (ParagraphParameters): adjust
10230 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10232 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10233 index; also, check that there is something to index, and that it
10234 does not span over several paragraphs.
10235 (doubleClick): use WHOLE_WORD_STRICT for double click.
10237 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10239 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10242 2001-07-26 Baruch Even <baruch@lyx.org>
10244 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10245 an InsetFig figure, backwards compatible reading of old figure code.
10247 2001-07-27 Juergen Vigna <jug@sad.it>
10249 * text2.C: font.realize function adaption.
10251 * text.C (draw): add a warnings lyxerr text if needed.
10253 * layout.C: font.realize function adaption.
10255 * language.C: add inherit_language and implement it's handlings
10257 * bufferview_funcs.C (StyleReset): remove language parameter from
10258 font creation (should be language_inherit now).
10260 * bufferparams.C (writeFile): handle ignore_language.
10262 * paragraph.C (getFontSettings): the language has to be resolved
10263 otherwise we have problems in LyXFont!
10265 * lyxfont.C (lyxWriteChanges): added document_language parameter
10266 (update): removed unneeded language parameter
10268 * paragraph.C (validate): fixed wrong output of color-package when
10269 using interface colors for certain fonts in certain environments,
10270 which should not seen as that on the final output.
10272 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10274 * BufferView_pimpl.C:
10279 * LyXAction.C: add thesaurus support
10282 * lyxfind.C: add "once" parameter, for thesaurus, to not
10283 move to the next match
10285 2001-07-26 Juergen Vigna <jug@sad.it>
10287 * lyxfont.C (realize): honor ignore_language too!
10290 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10292 * text.C (draw): one place more for ignore_language to not draw
10295 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10297 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10299 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10301 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10302 the minipage conversion problem.
10304 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10306 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10309 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10311 * BufferView.h: don't forward declare WorkArea
10313 * BufferView.C: don't include WorkArea.h
10315 2001-07-25 André Pönitz <poenitz@gmx.net>
10319 * lyxfunc.C: new LFUN 'math-space'
10321 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10323 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10325 * text2.C (toggleInset): call open/close
10327 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * lyxfunc.C (dispatch): add debug for the disabled case
10331 * font.C (buttonText): make similar to rectText
10333 * buffer.C (readInset): comment out parsing of insetlist and
10336 * PainterBase.C (rectText): small correction
10338 * BufferView_pimpl.C: comment out insettheorem and insetlist
10339 * LyXAction.C: ditto
10340 * commandtags.h: ditto
10342 2001-07-24 Juergen Vigna <jug@sad.it>
10344 * text.C (draw): honor the ignore_language.
10346 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10348 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10350 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10353 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10355 * lyxtext.h: remove unused (and unimplemented) methods
10357 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10359 * text.C (getVisibleRow): honor background color
10362 * Painter.h: remove default color argument for fillRectangle
10364 * text.C (backgroundColor): new method
10366 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10368 * text.C (getVisibleRow): adjust
10370 * font.[Ch] (rectText): new method, metrics
10371 (buttonText): new method, metrics
10373 * PainterBase.[hC]: make rectText and buttonText always draw and take
10376 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10378 * ToolbarDefaults.C (read):
10379 * MenuBackend.C (read): allow escaping in all strings
10381 * BufferView_pimpl.C (insertAndEditInset): new method.
10382 (Dispatch): use insertAndEditInset whenever appropriate.
10384 * BufferView_pimpl.C (insertNote): removed
10386 * BufferView_pimpl.C (smartQuote): new method, moved from
10387 BufferView; if an insetquote cannot be inserted, insert a '"'
10390 * BufferView2.C: remove insertCorrectQuote();
10392 * lyxfunc.C (getStatus): Add support for all remaingin
10393 inset-insert lfuns.
10395 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10397 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10398 command (necessary to pass " as parameter of self-insert.
10400 * text.C (selectWordWhenUnderCursor):
10401 (selectWord): add word_location parameter
10402 (selectWordWhenUnderCursor): same + remove special code for word
10404 (selectNextWord): use kind() to guess type of insetspecialchar,
10407 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10408 (insertErtContents): create ert insets as collapsed.
10409 (readInset): better compatibility code for Info inset.
10411 2001-07-20 Juergen Vigna <jug@sad.it>
10413 * lyxfunc.C (dispatch): use always LyXFind now!
10415 * text2.C (init): add a reinit flag so that the LyXText can be
10416 reinited instead of deleted and reallocated (used in InsetText).
10418 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10424 2001-07-18 Juergen Vigna <jug@sad.it>
10426 * text.C (selectNextWord): handle insets inside inset by calling
10427 always the bv->text functions so that we can go up the_locking_inset!
10429 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10430 in strange locations when inside an inset!
10432 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10433 handling to include insets.
10435 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10437 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10439 * LyXAction.C (init):
10441 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10442 LIGATURE_BREAK, since the name is so stupid.
10444 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10446 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10449 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10451 * sp_form.[Ch]: remove.
10453 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10455 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10458 * src/buffer.C (readInset): ditto.
10460 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10462 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10463 menuSeparator(), endOfSentenceDot(), ldots() and
10464 hyphenationPoint(), which are therefore removed.
10465 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10467 * LyXAction.C (init):
10468 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10470 * paragraph.C (getWord): removed.
10472 * BufferView_pimpl.C (Dispatch): use last word or selection for
10473 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10475 * lyx_main.C (queryUserLyXDir): do not ask before creating
10476 user_dir, except if it has been named explicitely.
10478 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10480 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10481 a document of zero size.
10483 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10485 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10486 approriately in the c-tor and in require().
10487 (getPackages): output the appropriate LaTeX for natbib support.
10489 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10490 variables "use_natbib" and "use_numerical_citations" when reading the
10492 (readInset): read the various natbib cite commands.
10493 (validate): white-space change.
10495 * bufferparams.[Ch]: new variables "bool use_natbib" and
10496 "bool use_numerical_citations".
10497 (writeFile): output them in the LyX file.
10499 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10501 * lyxfunc.C (getStatus): add support for all the inset insertion
10504 * text2.C (insertInset):
10505 * paragraph.C (insetAllowed):
10506 * BufferView_pimpl.C (insertInset): update to take in account the
10507 renaming of insertInsetAllowed
10509 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10511 * text2.C (getInset): new method. returns inset at cursor position.
10513 * BufferView_pimpl.C (Dispatch): changes because of this.
10515 * LyXAction.C (init): rename open-stuff to inset-toggle.
10517 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10519 * text2.C (toggleInset): renamed from openStuff; use
10522 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10524 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10526 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10528 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10530 * buffer.C (readLyXformat2): Add filename to the error dialog
10532 2001-07-18 Juergen Vigna <jug@sad.it>
10534 * tabular.C (GetCellNumber): put an assert here instead of the check!
10536 2001-07-17 Juergen Vigna <jug@sad.it>
10538 * BufferView_pimpl.C (toggleSelection): adapted too.
10540 * text.C (selectNextWord): adapted for use with insets.
10541 (selectSelectedWord): ditto
10543 2001-07-17 Juergen Vigna <jug@sad.it>
10545 * sp_spell.C (PSpell): fix initialitation order.
10547 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10549 * paragraph.C: spacing
10551 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10553 * sp_spell.C: repair language selection for pspell
10555 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10557 * lyxfunc.h: change more methods to begin with lower char.
10559 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10561 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10562 for unknown layouts.
10564 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10566 * buffer.C (readLyXformat2): Generate an error dialog if there are
10569 2001-07-16 Juergen Vigna <jug@sad.it>
10571 * sp_spell.C: always compile ISpell part.
10573 * lyxrc.C: added use_pspell entry and it's handling.
10575 2001-07-13 Juergen Vigna <jug@sad.it>
10577 * sp_spell.C: removed double includes.
10579 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10581 Consistent use of Lsstream.h:
10582 * Lsstream.h: added using std::stringstream for consistencies sake.
10584 * buffer.C: removed using std::stringstream
10586 * lyxfont.C (stateText):
10587 * paragraph.C (asString):
10588 * text.C (selectNextWord, selectSelectedWord):
10589 * text2.C (setCounter):
10590 * vspace.C (asString, asLatexString):
10591 std::ostringstream -> ostringstream.
10593 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10595 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10596 * commandtags.h: add LFUN_HELP_ABOUTLYX
10597 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10599 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10601 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10603 * lyx_gui_misc.C: remove spellchecker
10604 * lyxfunc.C: showSpellchecker
10606 * sp_ispell.h: added
10607 * sp_pspell.h: added
10608 * sp_spell.C: added
10609 * sp_form.[Ch]: removed
10610 * spellchecker.[Ch]: removed
10612 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10614 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10616 (simpleTeXSpecialChars): Simply print the input character without
10617 any special translation if pass_thru is set.
10619 * layout.h: Added bool pass_thru to layout class for being able to
10620 implement pass through of a paragraph for Literate Programming.
10622 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10623 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10624 * layout.C (Read): add "passthru" to list of layout tags and add
10625 code to set the pass_thru boolean when it is read.
10627 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10629 * trans_decl.h: remove allowed from KmodInfo
10631 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10632 remove allowed code
10635 * paragraph_pimpl.C (erase): use boost::prior
10637 * Painter.C (text): use data() instead of c_str() when length is
10639 * WorkArea.C (putClipboard): ditto
10640 * font.h (width): ditto
10642 * BufferView2.C: use it-> instead of (*it). for iterators
10644 * paragraph_pimpl.C: ditto
10645 * paragraph.C: ditto
10646 * minibuffer.C: ditto
10647 * language.C: ditto
10649 * encoding.C: ditto
10650 * counters.C: ditto
10651 * converter.C: ditto
10653 * Variables.C: ditto
10654 * TextCache.C: ditto
10655 * MenuBackend.C: ditto
10656 * LyXAction.C: ditto
10658 * FloatList.C: ditto
10659 * DepTable.C: ditto
10660 * ColorHandler.C (LyXColorHandler): ditto
10662 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10664 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10666 * text2.C (openStuff): reintroduce this method (which had been
10667 nuked in NEW_INSETS frenzy).
10669 * lyxfunc.C (Dispatch): when an action has not been handled, use
10670 its name in the error message, not its number.
10672 * paragraph.C (inInset): change method name to begin with lowercase.
10675 * text2.C: updates because of this.
10677 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10679 * ToolbarDefaults.C (add): add spaces in error message
10681 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10683 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10684 (readLyXformat2): rename return_par to first_par, use lyxlex's
10685 pushToken and remove the manual push handling.
10686 (parseSingleLyXformat2Token): add another ert comp. variable:
10687 in_tabular, rename return_par to first_par. handle newlines better
10689 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10691 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10693 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10695 * text2.C (getParFromID): removed
10697 * buffer.C (getParFromID): new method moved form lyxtext.
10698 * BufferView2.C (insertErrors): adjust
10699 (setCursorFromRow): adjust
10700 * BufferView_pimpl.C (restorePosition): adjust
10701 * lyxfunc.C (Dispatch): adjust
10702 * undo_funcs.C (textUndo): adjust
10704 (textHandleUndo): adjust
10705 (textHandleUndo): adjust
10707 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10709 * buffer.C: up' the LYX_FORMAT
10711 * lyxfont.h: turn NO_LATEX on as default
10713 * buffer.C (insertErtContents): new methods of tex style compability.
10714 (parseSingleLyXformat2Token): use it several places.
10715 * tabular.C (OldFormatRead): and here
10717 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10719 * text2.C: remove some commented code.
10722 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10723 * trans.C: changes because of the above.
10725 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10727 * text2.C (setCounter): Fix counters bug with bibliography layout.
10729 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10731 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10732 own member functions
10733 (simpleTeXSpecialChars): ditto
10735 2001-07-06 Juergen Vigna <jug@sad.it>
10737 * a lot of files: changed the access to LyXText::status and the
10738 call of undo-functions.
10740 * undo.[Ch]: added a inset_id to the undo informations.
10742 * undo_funcs.[Ch]: added and moved here all undo functions.
10744 * lyxtext.h: give the status enum a weight, made status_ a private
10745 variable and made accessor functions for it, removed the whole bunch
10746 of undo-functions as they are now in their own file, make some
10747 functions publically available. Added function ownerParagraph with
10750 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10751 made InInset() a const function, added getParFromID() function.
10753 * buffer.[Ch]: added const version for inset_iterator functions,
10754 added getInsetFromID() function.
10756 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10757 changed undo functions for new version.
10759 2001-07-05 Juergen Vigna <jug@sad.it>
10761 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10762 unknow mechanism does not call the proper constructor but only this
10763 one also if I request the other!?
10765 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10767 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10769 * text2.C (LyXText): use initialization lists.
10771 * lyxtext.h (Selection): initialize set_ and mark_
10772 (init): remove method
10774 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10776 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10778 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10780 * screen.[Ch]: change method names to begin with lowercase
10782 * BufferView_pimpl.C (updateScrollbar): simplify further and
10783 hopefully make it a bit faster.
10785 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10787 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10788 calling directly xforms functions.
10790 * Painter.C (Painter):
10791 * lyx_cb.C (MenuWrite):
10792 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10795 * lyx_gui.C: remove bogus guiruntime extern declaration.
10797 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10799 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10801 (redoDrawingOfParagraph): ditto
10802 (redoParagraphs): ditto
10803 (cutSelection): don't create a object for CutAndPaste use the
10804 static method directly
10805 (pasteSelection): ditto
10807 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10810 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10812 * modifications to some other files because of this.
10814 * Makefile.am (lyx_SOURCES): add XFormsView
10816 * XFormsView.[Ch]: new files
10818 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10819 the main window. Move the gui dependent stuff to XFormsView
10821 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10823 * tabular.C (GetCellInset): update cur_cell also in the row/col
10824 version of this function.
10826 * lyxfunc.C: no need to include figure_form.h here.
10832 * lyxvc.C: no need to include forms.h here.
10834 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10836 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10838 * lyxfunc.C (Dispatch):
10840 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10841 constructor argument.
10843 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10845 * paragraph.C (Paragraph): dont't clear, and just set layout.
10846 (makeSameLayout): use params's copy contructor.
10848 * ParagraphParameters.[Ch] (makeSame): delete method
10850 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10852 * Variables.[Ch]: fix indentation, rename set to isSet
10854 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10856 * lyxfunc.C (Dispatch): fix typo
10858 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10860 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10863 * bufferlist.C: include assert.h for emergencyWrite().
10865 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10867 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10868 give up at last (bug #425202) !
10870 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10876 * spellchecker.C: strip spellchecker options and bring up
10877 preferences tab instead
10879 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10881 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10882 the istringstream constructor
10884 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10886 * paragraph.C (getLayout): fix return value
10888 * paragraph.h: do not declare getLayout as inline.
10890 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10892 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * lyxcursor.h (operator<): new func
10895 (operator>): new func
10896 (operator>=): new func
10897 (operator<=): new func
10899 * text.C (changeCase): use selection.start and selection.end
10900 (changeRegionCase): require from to be <= to. Require par to be a
10903 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10905 2001-06-27 Juergen Vigna <jug@sad.it>
10907 * text.C (cursorLeftOneWord): changed to return the cursor and added
10908 overlay with BufferView * parameter which calls this one.
10910 (selectWord): use new getWord function.
10911 (changeCase): renamed from changeWordCase as and extended to work
10912 also on selections.
10914 * lyxtext.h: added enum word_location
10916 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10917 changeCase as this operates now also on selections.
10919 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10921 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10923 * many files: send debug output to Debug::INFO instead of
10926 * converter.C (View):
10928 (Move): send debug output to Debug::FILES instead of console.
10930 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10932 * lyxfunc.C (getStatus): use func_status
10934 * func_status.h: new header, describing the results of
10935 LyXFunc::getStatus;
10937 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10940 2001-06-25 The LyX Project <jug@sad.it>
10942 * buffer.C (sgmlOpenTag):
10944 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10946 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10948 * text2.C: remove some dead code
10950 * tabular.C (GetCellInset): store the last cell checked (gotten)
10952 * tabular.h: add the helper for the speedup
10954 * lyxtext.h: remove some dead code
10956 2001-06-26 The LyX Project <Asger>
10958 * paragraph.C: Change export to LaTeX of alignment to
10959 \begin{center} and family for better roundtrip work with reLyX.
10961 * Tune the math drawing a bit.
10963 2001-06-25 The LyX Project <Asger>
10965 * LColor.C (LColor): New color for math background. New color
10968 2001-06-25 The LyX Project <jug@sad.it>
10970 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10972 * lyxfunc.C (Open):
10973 * bufferlist.C (newFile): do not restrict to files ending with
10976 * BufferView_pimpl.C (MenuInsertLyXFile):
10978 2001-06-24 The LyX Project <jug@sad.it>
10980 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10983 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10985 * lyxtext.h: rename most methods to begin with a small char.
10986 Lots of changes because of this.
10988 * paragraph.C (Paragraph): do not call fitToSize
10989 (erase): call Pimpl::erase
10990 (insertChar): call Pimpl::insertChar
10991 (insertInset): call Pipl::insertInset
10992 (breakParagraph): do not call fitToSize
10993 (breakParagraphConservative): do not call fitToSize
10994 (fitToSize): remove method
10996 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10998 2001-06-24 The LyX Project <Asger>
11000 * Fix Qt compilation^2
11002 2001-06-24 The LyX Project <jug@sad.it>
11004 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11005 depthHook(getDepth()-1).
11008 * ParagraphParameters.h:
11009 * ParameterStruct.h: change type of depth to unsigned int ==
11010 depth_type. Many adaptations to other files before of that.
11012 2001-06-24 The LyX Project <Asger>
11014 * Fix Qt compilation.
11016 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11018 * paragraph.h: renamed several methods to begin with small letter.
11019 several changes to many parts of the code because of this.
11021 2001-06-23 The LyX Project <jug@sad.it>
11023 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11024 rewritten to discard all double spaces when KeepEmpty is off
11025 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11026 to only handle newlines but not fiddle with spaces and friends.
11028 * lyxfunc.C (MenuNew): when doing 'new from template', use
11029 template_path as default directory
11031 2001-06-23 The LyX Project <Asger>
11033 * Clean-up of header file includes all over
11034 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11036 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11038 * paragraph.h: renamed from lyxparagraph.h
11040 2001-06-23 Asger <lyx@violet.home.sad.it>
11042 * Buffer.h: Removed Buffer::resize
11043 * BufferList.h: Removed BufferList::resize
11044 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11045 the document lazily when we change the width, or the font settings.
11047 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11049 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11051 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11053 * buffer.h: remove out of date comment
11055 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11058 * screen.C: fix "theoretical" GC leak
11060 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11062 * LaTeX.C (scanAuxFile):
11063 (deplog): remove trailing \r when reading stream (useful under
11066 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11068 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11069 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11070 and BufferView::theLockingInset(Inset*), so should use them and not
11071 access bv_->text->the_locking_inset directly.
11073 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11075 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11078 * tex-defs.h: remove old unused file
11080 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11082 * BufferView_pimpl.C: fix typo, remove minibuffer message
11083 when buffer has loaded
11085 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11087 * lyxfunc.C (Dispatch): use stringstream
11088 (MenuNew): use stringstream
11089 (Open): use stringstream
11091 * importer.C (Import): use stringstream
11093 * bufferview_funcs.C (CurrentState): use stringstream
11095 * LaTeX.C (run): use stringstream
11097 * BufferView_pimpl.C (savePosition): use stringstream
11098 (restorePosition): use stringstream
11099 (MenuInsertLyXFile): use stringstream
11101 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11114 * vspace.C: removed // -*- C++ -*- as first line.
11117 * version.h: added // -*- C++ -*- as first line.
11119 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11121 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11123 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11126 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11128 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11131 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11133 * gettext.C: include LString.h even when --disable-nls is on.
11135 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11137 * converter.h (Get): changed argument type from int to
11138 FormatList::size_type to avoid unnecessary conversion.
11140 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11143 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11145 * gettext.h: include LString.h even when --disable-nls is on.
11147 2001-06-07 Juergen Vigna <jug@sad.it>
11149 * text.C (BreakAgain): subst spaces with tabs.
11151 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11152 (resizeInsetsLyXText): set force on resizeLyXText.
11154 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11156 * gettext.h (gettext_init):
11157 (locale_init): use a real definition instead of a macro
11159 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11161 * Bufferview_pimpl.C:
11163 * LColor.C: further lcolor tidies
11165 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11167 * BufferView_pimpl.C (updateScrollbar): simplify.
11169 * BufferView2.C: don't include insets/insetinfo.h, change
11170 prototype for insertInset and call the Pimpl version. let
11171 updateInset call Pimpl version.
11173 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11174 gotoInset to BufferView::Pimpl
11176 2001-06-01 Juergen Vigna <jug@sad.it>
11178 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11179 inside a LockingInset (is the update needed at all?).
11181 2001-05-31 Juergen Vigna <jug@sad.it>
11183 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11184 here not the old one otherwise how should we compare it afterwards
11187 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11192 * FontInfo.C: bring C functions into global namespace when
11195 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11197 * LString.h: make sure config.h has been loaded before LString.h.
11199 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11200 (one for each char read by EatLine!).
11202 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11205 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11207 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11208 to the same as the par we break from
11210 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11212 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11214 * MenuBackend.C (expand): also create menu entries for wide
11215 versions of the floats.
11217 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11219 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11221 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11222 frontends/Makefile.am
11228 * tabular.C (getTokenValue): add std::
11230 * tabular-old.C (getTokenValue): add std::
11231 (getTokenValue): ditto
11232 (getTokenValue): ditto
11234 * screen.C (ToggleSelection): adjust
11236 * lyxtext.h: put selection cursors inside a Selection struct.
11238 * lyxfunc.C (moveCursorUpdate): adjust
11240 * lyxfont.C (latexWriteStartChanges): add std::
11242 * lyxfind.C: adjust
11244 * font.h: delete with(char const *, LyXFont const &)
11246 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11248 * FontInfo.C (getFontname): add std::
11250 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11251 (workAreaButtonPress): adjust
11252 (tripleClick): adjust
11254 (moveCursorUpdate): adjust
11257 * BufferView2.C (gotoInset): adjust
11259 2001-05-30 Juergen Vigna <jug@sad.it>
11261 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11262 to check pspell I add this as default as I now have new pspell
11263 libraries and they seem to use this.
11265 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11267 * text2.C (CutSelection): make the cursor valid before the call to
11270 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11272 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11273 relied on 0 terminated strings and other horrors. Bug found due to
11274 the new assert in lyxstring!
11276 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11279 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11281 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11284 * lyxfunc.C (processKeySym): change method of getting to the
11287 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11288 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11289 * BufferView_pimpl.[Ch]: here as private methods.
11291 2001-05-28 Juergen Vigna <jug@sad.it>
11293 * text.C (SetHeightOfRow): added the update() call again as it is
11294 needed to initialize inset dimensions!
11296 2001-05-16 Juergen Vigna <jug@sad.it>
11298 * text2.C (SetCharFont): Add new function with BufferView * and
11299 bool toggleall parameters for setting insets internal fonts.
11300 (SetFont): Freeze the undo as we may change fonts in Insets and
11301 all this change should be inside only one Undo!
11303 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11304 setting font's in insets as for them we have the SetFont function!
11306 2001-05-15 Juergen Vigna <jug@sad.it>
11308 * text2.C (ClearSelection): to be sure we REALLY don't have any
11311 * tabular.C (TeXCellPreamble): fixed the left border problem for
11314 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11316 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11319 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11321 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11322 LFUN_BREAKPARAGRAPH.
11324 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11325 help test to "internal only", similar for LFUN_INSERT_URL
11327 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11328 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11329 auto_region_delete and deadkeys.
11331 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11334 * LColor.C: remove some dead entries, tidy a little
11336 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11338 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11340 (Dispatch): implement LFUN_ESCAPE
11342 * commandtags.h: add LFUN_ESCAPE
11344 * LyXAction.C (init): add entry for LFUN_ESCAPE
11346 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11347 Remove commented code.
11348 (insertNote): moved here
11349 (open_new_inset): moved here
11351 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11354 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11356 * kbmap.C (findbinding): clean it up and make it work correctly.
11358 * lyx_main.C (init): do not pass argc and argv as parameters
11360 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11362 * buffer.C: fix path for OS/2 & Win32
11366 * lyx_main.C: Added os:: class.
11368 * os2_defines.h: update
11370 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11372 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11373 better by trying again with reduced state.
11375 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11377 * lyxrc.C (read): print error about invalid key sequence only when
11378 debugging (because not all latinX keysyms are known to some X
11381 * kbsequence.C (getiso): add a few std:: qualifiers
11382 (getiso): comment out extra return statement.
11384 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11386 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11388 (Dispatch): enhance the accent inset a bit. (not perfect)
11390 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11392 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11394 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11396 * bufferlist.C (emergencyWrite): fix assert() call
11398 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11400 * text.C (InsertChar): Added trivial patch to only send the "you
11401 can not do multiple spaces this way" message once during a
11404 2001-05-08 Baruch Even <baruch@lyx.org>
11406 * Makefile.am: Changed order of libraries to get LyX to link properly
11407 with the gnome frontend.
11409 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11411 * LaTeXFeatures.h: add a std:: qualifier
11413 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11415 * paragraph.C (String): use stringstream
11417 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11419 * paragraph.C (writeFile): remove footflag arg
11421 * buffer.C (makeLaTeXFile): use stringstream
11422 (latexParagraphs): remove footnot gurba
11424 * LaTeXFeatures.C (getPackages): use stringstream
11425 (getMacros): likewise
11426 (getTClassPreamble): likewise
11427 (getFloatDefinitions): new method
11429 * paragraph.C (writeFile): reindent
11432 * WorkArea.h: revert the xpos + etc changes.
11434 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11436 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11438 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11439 (pasteSelection): likewise
11440 * text2.C (CreateUndo): likewise
11442 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11444 * minibuffer.C (peek_event): temporarily reduce the functionality
11445 of the minibuffer (to allow args on lfuns)
11447 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11448 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11450 * buffer.C (readInset): add compability reading of old float
11451 lists, add reading of new style float list.
11452 (readInset): avoid reevaluation of inscmd.getCmdName()
11453 (getLists): reindent
11455 * MenuBackend.C (MenuItem): implement parsing of
11456 md_floatlistinsert and md_floatinsert.
11457 (expand::LastFiles): move initalizaton of iterators out of loop,
11458 avoid reevaluation.
11459 (expand::Documents): introduce typdedef vector<string> Strings,
11461 (expand::ExportFormats): introduce typedef vector<Format const *>
11462 Formats, and use it.
11463 (expand): implement FloatListInsert and FloatInsert.
11465 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11466 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11467 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11469 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11471 (Dispatch::LFUN_FLOAT_LIST): implement
11473 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11475 * LaTeX.C (run): Fix problem with --export code.
11477 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11479 * BufferView.[Ch] (workarea): removed.
11480 (getClipboard) new method; wrapper for workarea()->getClipboard()
11482 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11485 * WorkArea.h (width, height, xpos, ypos): These methods all
11486 returned the dimensions of the work_area sub-area of WorkArea,
11487 resulting in a position error if the WorkArea were resized. Now
11488 return the dimensions of the entire WorkArea.
11490 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11492 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11494 * LaTeX.C (deplog): correct the syntax of regex reg1
11496 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11498 * undo.C: remove !NEW_INSETS cruft
11500 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11502 * text2.C: remove !NEW_INSETS cruft
11504 * text.C: remove !NEW_INSETS cruft
11506 * tabular.C: remove !NEW_INSETS cruft
11508 * spellchecker.C: remove !NEW_INSETS cruft
11510 * lyxtext.h: remove !NEW_INSETS cruft
11512 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11514 * lyxfunc.C: remove !NEW_INSETS cruft
11516 * lyxfind.C: remove !NEW_INSETS cruft
11518 * lyx_cb.C: remove !NEW_INSETS cruft
11520 * figureForm.C: remove !NEW_INSETS cruft
11522 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11524 * buffer.[Ch]: remove !NEW_INSETS cruft
11526 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11528 * CutAndPaste.C: remove !NEW_INSETS cruft
11530 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11532 * BufferView2.C: remove !NEW_INSETS cruft
11534 * BufferView.h: remove !NEW_INSETS cruft
11536 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11538 * Lsstream.h: include LString.h before the sstream headers to
11539 fix problem with gcc 2.95.3 and lyxstring
11541 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11543 * lyx_main.C: add using directives when needed for C functions
11544 declared in std:: namespace.
11546 2001-04-27 Juergen Vigna <jug@sad.it>
11548 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11549 (SetHeightOfRow): comment out the update call should not be needed!
11551 2001-04-13 Juergen Vigna <jug@sad.it>
11553 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11554 (LyXTabular): tried to minimize operator= operations (and realized
11555 hopfully Lars wish).
11557 2001-04-27 Juergen Vigna <jug@sad.it>
11559 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11561 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11563 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11565 * buffer.C (readInset): hack to make listof algorithm work
11567 * BufferView_pimpl.C: hack to make listof algorithm work
11569 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11571 * LyXAction.C: removed all !NEW_INSETS cruft
11572 (init): moved lfun_item in method
11574 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11576 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11578 * BufferView2.C (theLockingInset): white space.
11580 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11582 * minibuffer.C: include <iostream>
11584 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11586 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11588 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11590 * text.[Ch] (TransposeChars): new method
11592 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11594 * call message directly through LyXView instead of through LyXFunc
11595 * BufferView2.C: adjust
11596 * BufferView_pimpl.C: adjust
11597 * FontLoader.C: adjust
11599 * bufferview_funcs.C: adjust
11600 * converter.C: adjust
11601 * figureForm.C: adjust
11602 * importer.C: adjust
11604 * lyx_gui_misc.C: adjust
11605 * lyxfunc.C: adjust
11608 + more files in subdirs
11610 * lyxparagraph.h (size): move up int file
11613 * adjust all uses of Assert to lyx::Assert.
11615 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11616 lyxfunctional in namespace lyx
11617 * layout.C (hasLayout): ditto
11620 (delete_layout): ditto
11621 (NumberOfClass): ditto
11622 * converter.C (GetFormat): ditto
11627 * bufferlist.C (getFileNames): ditto
11628 (emergencyWriteAll): ditto
11631 * MenuBackend.C (hasSubmenu): ditto
11634 * BufferView_pimpl.C (getInsetByCode): ditto
11636 2001-04-18 Juergen Vigna <jug@sad.it>
11638 * vspace.C (asLatexString): fixed the 100% problem.
11640 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11642 * lyxfunc.C (Dispatch):
11644 * minibuffer.h: add a few std:: qualifiers
11646 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11648 * minibuffer.[Ch]: reimplement so that commands is initiated and
11649 run from lyxfunc, simplified som handling, and made the completion
11650 and history code for complete. wip.
11652 * lyxfunc.C (processKeySym): call message
11653 (miniDispatch): new temporary method
11654 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11655 (LFUN_MESSAGE): implement
11656 (LFUN_MESSAGE_PUSH): implement
11657 (LFUN_MESSAGE_POP): implement
11658 (initMiniBuffer): the initial/defualt minibuffer message.
11660 * lyxfont.[Ch]: inline some more getters
11662 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11664 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11666 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11667 (AutoSave): use LFUN_MESSAGE
11668 (Reconfigure): ditto
11670 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11672 * figureForm.C: use LFUN_MESSAGE
11674 * converter.C (runLaTeX): use LFUN_MESSAGE
11676 * bufferview_funcs.C: use LFUN_MESSAGE
11678 (changeDepth): ditto
11680 * bufferparams.h: use boost::
11682 * bufferlist.h: inherit privately from noncopyable
11684 * bufferlist.C (loadLyXFile): remove some commented code.
11686 * buffer.C (runChktex): use LFUN_MESSAGE
11688 * ShareContainer.h: inherit privately from noncopyable
11690 * ParagraphParameters.[hC] (depth): inline it.
11692 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11694 (message): new method
11695 (messagePush): ditto
11696 (messagePop): ditto
11697 (show): init minibuffer
11698 (showState): direct call
11700 * LaTeX.[Ch]: inherit privately from noncopyable
11701 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11702 instead of WriteStatus.
11704 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11706 * BufferView_pimpl.C (buffer): don't init minibuffer
11707 (workAreaButtonPress): use LFUN_MESSAGE
11708 (workAreaButtonRelease): ditto
11709 (savePosition): ditto
11710 (restorePosition): ditto
11711 (MenuInsertLyXFile): ditto
11712 (workAreaExpose): don't init minibuffer
11713 (update): remove commented code, simplify
11715 * BufferView2.C (openStuff): use LFUN_MESSAGE
11716 (toggleFloat): ditto
11719 (copyEnvironment): ditto
11720 (pasteEnvironment): ditto
11725 (updateInset): remove some commented code
11727 * lastfiles.h: inherit privately from noncopyable
11730 * lyx_main.h: ditto
11732 * lyxlex_pimpl.h: ditto
11734 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11735 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11736 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11738 * LyXAction.h: inherit privately from noncopyable, add methods
11739 func_begin, func_end, returning iterators to the func map.
11741 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11742 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11743 (func_begin): new method
11744 (func_end): new method
11746 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11748 (copySelection): ditto
11749 (pasteSelection): ditto
11751 * BufferView.C: whitespace change
11752 * BufferView.h: inherit privately from noncopyable
11754 2001-04-16 Allan Rae <rae@lyx.org>
11756 * tabular-old.C (l_getline):
11757 * spellchecker.C (sc_check_word):
11758 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11759 an unrecognised preprocessor directive. So ensure they're wrapped.
11761 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11763 * src/exporter.C (Export): Give an error message when path to file
11766 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11768 * LaTeX.C (deplog): Always check that foundfile exists.
11770 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11773 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11775 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11777 * tabular.[Ch] (getLabelList): implement new method
11779 * minibuffer.h: comment ouf setTiimer
11781 * minibuffer.C (ExecutingCB): constify res
11782 (peek_event): constify s
11783 (Set): constify ntext
11784 (Init): constify nicename
11786 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11788 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11789 (savePosition): use two params to Minibuffer::Set
11790 (restorePosition): ditto
11792 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11794 * lyx_main.C: include language.h
11796 * Makefile.am (lyx_main.o): add language.h
11798 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11804 * CutAndPaste.C: include gettext.h
11806 * lyxfont.h: remove old hack with ON and OFF.
11809 * lyxfont.h: do not include language.h...
11814 * bufferview_funcs.C:
11820 * paragraph.C: ... but do it here instead
11822 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11824 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11826 * tabular.C: small reformat
11828 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11831 (BreakParagraph): ditto
11832 (SetOnlyLayout): ditto
11835 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11838 * lastfiles.C: removed most using decl, add std:: where needed
11840 * buffer.C: ws changes
11842 * MenuBackend.C (class compare_format): put into anon namespace
11843 (expand): constify label, names, action, action2
11846 * text.C (SingleWidth): constify font
11847 (IsBoundary): constify rtl2
11848 (GetVisibleRow): constify ww
11850 * LaTeX.C (deplog): constify logfile
11852 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11854 (workAreaExpose): constify widthChange, heightChange
11856 * lyxrow.C (par): moved
11859 * lyxrow.h: as inlines here
11861 * lyxfont.h (shape): moved from lyxfont.C
11862 (emph): moved from lyxfont.C
11864 * lyxfont.C (LyXFont): use initialization list for all
11866 (shape): move to lyxfont.h as inline
11867 (emph): move to lyxfont.h as inline
11870 2001-04-04 Juergen Vigna <jug@sad.it>
11872 * vspace.C: had to include stdio.h for use of sscanf
11874 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11877 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11878 independent of xforms.
11880 2001-04-02 Juergen Vigna <jug@sad.it>
11882 * spellchecker.C: fixed namespace placing!
11884 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11886 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11887 the LyXParagraph * is 0.
11889 2001-03-29 Juergen Vigna <jug@sad.it>
11891 * vspace.C: added support for %, c%, p%, l%.
11892 (stringFromUnit): added helper function.
11893 (asLatexString): changed to give right results for the %-values.
11895 * buffer.C: convert the widthp in a width%.
11897 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11899 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11902 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11903 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11905 * lyx_cb.[Ch]: see above.
11907 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11911 * lyx.[Ch]: replaced by figure_form.[Ch].
11915 * lyxfunc.C: changed headers associated with above changes.
11917 2001-03-27 Juergen Vigna <jug@sad.it>
11919 * BufferView_pimpl.C: set the temporary cursor right!
11921 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11923 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11925 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11927 * LString.h: removed "using std::getline"!
11929 * BufferView_pimpl.C (Dispatch): changes due to changes in
11930 InsetInclude::Params.
11932 * buffer.C (tag_name): removed redundant break statements as they were
11933 producing lots of warnings with my compiler.
11935 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11937 * LString.h: add "using std::getline" when using the real <string>.
11939 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11941 * buffer.C: removed bitset usage.
11942 PAR_TAG moved to an anonymous name space.
11943 (tag_name): new funtion, also in the anonymous namespace.
11944 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11945 (makeDocBookFile): clean code. Completed transition from string arrays
11947 (SimpleDocBookOnePar): code clean.
11949 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11951 * tabular.C: add some comments.
11953 2001-03-22 Juergen Vigna <jug@sad.it>
11955 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11956 compatibility read a bit and fixed bug with minipage in different
11959 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11961 * buffer.C (pop_tag): removed.
11962 (push_tag): removed.
11963 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11964 array replaced with vector. Added support for CDATA sections.
11965 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11967 (makeDocBookFile): XML conformant declaration of CDATA section,
11968 fixed bug related to <emphasis> in the first paragraph char.
11969 (sgmlOpenTag): exclude empty tags.
11970 (sgmlCloseTag): ditto.
11972 * buffer.h (pop_tag): removed.
11973 (push_tag): removed.
11975 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11977 * language.h (Languages): added size_type and size().
11979 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11981 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11982 response on compability reading of minipages. One probliem is that
11983 the old usage of minipages was «flertydig»
11985 * several files here and in subdirs: don't use static at file
11986 scope use anon namespaces instead.
11988 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11990 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11991 LaTeX output. This is necessary for Literate document
11994 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11996 * buffer.C: insert hfill when needed.
11998 * tabular.C (l_getline): use string::erase, small whitespace change.
12000 * BufferView_pimpl.C: try the anon namespace.
12001 * WorkArea.C: ditto
12003 2001-03-16 Juergen Vigna <jug@sad.it>
12005 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12006 otherwise it won't open options-dialogs.
12008 * buffer.C: honor pextraWidth(p) on converting minipages.
12010 * tabular.C (l_getline): changed the functions to strip trailing \r.
12012 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12014 * BufferView_pimpl.C:
12015 * minibuffer..C: added "using SigC::slot" declaration.
12017 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12019 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12025 * paragraph.C: ditto
12027 * lyxtext.h: NO_PEXTRA
12029 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12031 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12032 * ParameterStruct.h: ditto
12033 * ParagraphParameters.h: ditto
12034 * lyxparagraph.h: ditto
12036 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12038 * buffer.C: add compability for minipage alignment.
12039 (latexParagraphs): remove unwanted pextra check.
12041 * several files: remove CXX_WORKING_NAMESPACES
12043 * buffer.C (pop_tag): tie is in namespace boost
12045 * BufferView.h: noncopyable is in namespace boost
12047 * lyx_main.h: ditto
12050 * lastfiles.h: ditto
12051 * bufferlist.h: ditto
12052 * ShareContainer.h: ditto
12054 * LyXAction.h: ditto
12057 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12059 * Merging changes from BRANCH_MVC back into HEAD.
12061 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12063 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12065 * BufferView_pimpl.C: change from intl.C
12069 * Makefile.am: move combox.*
12075 * intl.C: remove dialog (covered by prefs)
12077 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12079 * lyxfunc.C (Dispatch): removed redundant break statement.
12081 2001-03-14 Juergen Vigna <jug@sad.it>
12083 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12085 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12087 * buffer.C: add hack to fix compability reading of minipages.
12089 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12091 * buffer.C (getLists): Cleanup.
12093 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12095 * lyxfont.C (update): don't honor toggleall on font size.
12097 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12101 * Makefile.am: moved to frontends/xforms/
12105 * BufferView_pimpl.C: changes for moved mathpanel
12107 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12109 * gettext.h: fix gettext_init() in --disable-nls
12111 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12113 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12115 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12118 * lyx.h: strip external form
12120 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12122 * BufferView_pimpl.C: add comment, destroySplash()
12124 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12126 * BufferView_pimpl.C:
12130 * lyxfunc.C: use re-worked insetinclude
12132 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12134 * buffer.C: add using std::stringstream.
12136 * lyx_cb.C: readd using std::ios.
12138 * buffer.C: add using std::map.
12140 * BufferView_pimpl.C: add using std::vector.
12142 * ShareContainer.h: add std:: to swap.
12144 * buffer.h: add some typedefs
12145 * buffer.C (getLists): use them
12146 (getLists): renamed from getTocList.
12147 add a counter for the different float types and use it in the
12149 (getLists): use the same counter for the NEW_INSETS and the "non"
12152 * lyx_cb.h: remove unused items, includes, using etc.
12154 * ShareContainer.h: remove some commented code, add more comments
12155 and "documentation".
12157 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12159 * buffer.C (getTocList): make the list also when NEW_INSETS is
12162 * buffer.h: remove TocType
12164 * buffer.C (getTocList): change to return a map<string,
12165 vector<TocItem> >, implement for dynamic number of list.
12167 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12168 * text2.C (PasteSelection): adjust
12169 * CutAndPaste.C (pasteSelection): adjust
12171 * FloatList.C (FloatList): update from the new_insets branch.
12172 * Floating.[Ch]: ditto
12173 * LaTeXFeatures.C: ditto
12175 * lyxlex_pimpl.C: ditto
12177 * paragraph.C (Last): remove when NEW_INSETS is defined.
12179 * other file: changes because of the above.
12181 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12183 * lyxparagraph.h: rename next to next_, previous to previous_,
12184 make them private for NEW_INSETS. Rename Next() to next(),
12185 Previous() to previous().
12187 * other files: changes because of the above.
12189 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12192 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12195 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12197 * main.C (main): pass lyx_localedir to gettext_init().
12199 * gettext.h: remove locale_init and gettext_init macros
12201 * gettext.C (locale_init): new function
12202 (gettext_init): new function
12204 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12207 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12209 * Moved credits to frontends:
12210 * credits.[Ch]: removed
12211 * credits_form.[Ch]: removed
12212 * lyx_gui_misc.C: remove credits stuff
12215 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12217 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12219 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12220 unneeded destructor.
12222 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12223 a standalone pointer again.
12225 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12227 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12233 * ToolbarDefaults.C:
12242 * BufferView_pimpl.C: use new file dialog in GUII
12245 * lyx_cb.C: remove LayoutsCB to Toolbar
12247 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12249 * ShareContainer.h (get): add std:: qualifier
12251 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12253 * ShareContainer.h: define a proper ShareContainer::value_type
12254 type (and use typename to please compaq cxx)
12256 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12258 * lyxparagraph.h: move serveral local vars to
12259 ParameterStruct/ParagraphParameters., use ShareContainer in
12260 FontTable., make vars in FontTable private and add getter and
12263 * paragraph.C: changes because of the above.
12265 * lyxfont.h: remove copy constructor and copy assignment. (the
12266 default ones is ok), move number inside FontBits. move inlines to
12269 * lyxfont.C: add number to initializaton of statics, move several
12270 inlines here. constify several local vars. some whitespace
12271 cleanup. Dont hide outerscope variables.
12273 * Spacing.h: add two new constructors to match the set methods.
12275 * ShareContainer.h: new file, will perhaps be moved to support
12277 * ParameterStruct.h: new file
12279 * ParagraphParameters.h: new file
12281 * ParagraphParameters.C: new file
12283 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12284 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12286 * BufferView_pimpl.C: ParagraphParameter changes.
12287 * buffer.C: Likewise.
12288 * bufferview_funcs.C: Likewise.
12289 * text.C: Likewise.
12290 * text2.C: Likewise.
12292 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12294 * lyxfind.C (LyXReplace): do not redefine default argument in
12296 (IsStringInText): ditto
12297 (SearchForward): ditto
12298 (SearchBackward): ditto
12300 2001-03-06 Juergen Vigna <jug@sad.it>
12302 * lyxfind.C (IsStringInText): put parentes around expressions.
12304 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12306 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12308 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12310 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12312 * stl_string_fwd.h: add comment
12314 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12317 * tabular.C: remove unused DocBook methods
12323 killed DO_USE_DEFAULT_LANGUAGE
12325 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12327 * lyx_gui.C: do not include language.h.
12329 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12330 arguments in function implementation.
12332 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12334 * BufferView_pimpl.C: add <ctime>
12336 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12338 * BufferView_pimpl.C: add using std::find_if
12340 2001-02-27 José Matos <jamatos@fep.up.pt>
12342 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12345 2001-02-11 José Matos <jamatos@fep.up.pt>
12347 * buffer.C (makeDocBookFile): command styles now have a parameter as
12348 "title" by default.
12350 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12352 * layout_forms.[Ch]: removed
12353 * lyx_cb.[Ch]: out character
12354 * lyx_gui.C: out character
12355 * lyx_gui_misc.C: out character
12356 * bufferview_funcs.C: : out character,
12357 added toggleall as parameter in ToggleAndShow
12359 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12361 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12363 * text2.C (SetCurrentFont): Disable number property at boundary.
12365 2001-02-26 Juergen Vigna <jug@sad.it>
12367 * lyxfunc.C (getStatus): added a string argument override function so
12368 that this is correctly called from LyXFunc::Dispatch if it contains a
12369 do_not_use_argument which is used!
12370 (Dispatch): added check for "custom" export and call appropriate func.
12372 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12374 * lyxrc.C: Add language_command_local, language_use_babel and
12375 language_global_options.
12377 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12379 * buffer.C (makeLaTeXFile): Use language_use_babel and
12380 language_global_options.
12382 2001-02-23 Juergen Vigna <jug@sad.it>
12384 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12385 which works with LyXText and putted it inside BufferView. Here now we
12386 only call for that part the BufferView::Dispatch() function.
12388 * BufferView.C (Dispatch): added.
12390 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12391 functions which needs to use a LyXText over from LyXFunc.
12392 (MenuInsertLyXFile): added
12393 (getInsetByCode): added
12394 (moveCursorUpdate): added
12395 (static TEXT): added
12397 2001-02-22 Juergen Vigna <jug@sad.it>
12399 * BufferView_pimpl.C (update): call a status update to see if LyXText
12402 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12404 * vc-backend.C (revert): implement for CVS
12405 (getLog): implement for CVS
12407 2001-02-20 Juergen Vigna <jug@sad.it>
12409 * text2.C (ClearSelection): added BufferView param for inset_owner call
12411 * lyxfunc.C (TEXT): added this function and use it instead of
12412 directly owner->view()-text of getLyXText().
12414 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12416 * src/layout_forms.C: out preamble
12417 * src/layout_forms.h: out preamble
12418 * src/lyx_cb.C: out preamble
12419 * src/lyx_cb.h: out preamble
12420 * src/lyx_gui.C: out preamble
12421 * src/lyx_gui_misc.C: out preamble
12422 * src/lyxfunc.C: connect with guii preamble
12424 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12426 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12428 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12430 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12431 whether to run bibtex.
12433 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12435 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12437 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12439 * Makefile.am (lyx_SOURCES): removed bibforms.h
12441 * vspace.h: doxygen
12443 * text.C (GetVisibleRow): make several local vars const
12445 * tabular.C: small cleanup.
12447 * lyxserver.C (callback): use compare instead of strncmp
12449 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12450 inlines to after class or to paragraph.C
12452 * lyxfont.h: remove friend operator!=
12454 * converter.h: move friend bool operator< to non friend and after
12457 * combox.h: small cleanup
12459 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12460 to inlines after class def.
12462 * buffer.C (pop_tag): use string operations instead of strcmp
12464 * bmtable.c: doxygen, small cleanup
12466 * LaTeX.h: remove friend operator==
12468 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12480 * BufferView_pimpl.C:
12481 * BufferView.[Ch]: remove cruft
12483 2001-02-14 Juergen Vigna <jug@sad.it>
12485 * lyxfunc.C: removed #if 0 unused code
12487 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12489 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12491 * text2.C (SetSelection): added a BufferView * parameter
12493 2001-02-13 Juergen Vigna <jug@sad.it>
12495 * lyxfunc.C (Dispatch): fixed protected blank problem.
12496 * BufferView2.C (protectedBlank): added LyxText * parameter.
12498 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12499 (AppendColumn): same as above for column_info.
12501 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12502 (moveCursorUpdate): use a LyXText param for support of InsetText.
12504 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12505 (tripleClick): ditto
12507 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12509 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12511 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12513 * text2.C (SetSelection): set correct update status if inset_owner
12514 (ToggleFree): ditto
12516 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12518 * tabular.C: remove some commented code.
12520 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12522 * BufferView_pimpl.C: call hideSplash()
12524 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12527 * bibforms.h: remove
12530 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12531 add LFUN_CHILD_CREATE
12533 * counters.h: fix tiny typo
12538 * lyx.C: move splash to frontends/xforms/
12540 * lyx_gui_misc.C: move Include and Bibform to frontends
12542 * lyxvc.h: clarify comment
12544 * vspace.C: tiny housekeeping
12546 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12548 * text.C (PrepareToPrint): RTL Fix.
12550 * paragraph.C (GetUChar): New method.
12551 (String): Use GetUChar.
12553 * buffer.C (asciiParagraph): Use GetUChar.
12555 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12557 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12559 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12562 * buffer.C: rename to getLogName(), handle
12563 build log / latex log nicely
12565 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12568 * MenuBackend.h: remove support for reference menuitem type.
12570 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12572 * BufferView_pimpl.C: housekeeping
12573 * BufferView_pimpl.h:
12578 * minibuffer.h: move Timeout GUI-I
12580 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12582 * lyxrc.C (read): Update converters data-structures.
12584 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12586 * LaTeX.h (operator!=): add operator != for Aux_Info
12588 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12590 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12592 * LaTeXLog.C: deleted, useful code moved to Buffer
12595 * buffer.C: new function getLatexLogName()
12601 * lyxfunc.C: use frontends for LaTeX and VC logs
12603 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12605 * LaTeX.h: yet another std:: that Allan forgot.
12607 * Variables.C (set): renamed from isset(), because this clashes
12608 with some HP-UX macros (grr).
12610 2001-02-06 Allan Rae <rae@lyx.org>
12612 * LaTeX.h: Another bug fix. Missing std:: this time.
12614 2001-02-04 Allan Rae <rae@lyx.org>
12616 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12617 floats problem. I've left it commented out because it's not quite
12618 correct. It should also test that the current object is a table or
12619 figure inset. But I haven't gotten around to figuring out how to do
12620 that. I *think* it'll be something like: "table" == inset.type()
12622 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12625 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12627 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12628 all the citation/databases/styles in the auxilary file.
12629 (run): Rerun latex if there was a babel language error.
12631 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12633 * text.C (Backspace): Preserve the font when changing newline char
12635 (BreakParagraph): If the cursor is before a space, delete the space.
12637 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12639 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12641 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12642 new argument (code).
12643 (ChangeCitationsIfUnique): New method.
12645 * paragraph.C (GetPositionOfInset): Handle bibkey.
12647 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12649 * BufferView_pimpl.h: change type of Position::par_pos to
12650 LyXParagraph::size_type.
12652 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12654 * BufferView_pimpl.C (savePosition, restorePosition): Write
12655 messages to minibuffer.
12657 2001-01-28 José Matos <jamatos@fep.up.pt>
12659 * buffer.C (makeDocBookFile): adds support for document language.
12660 A silly restriction on the name of LatexCommand types where removed.
12661 Added support for CDATA sections, allows to chars unescaped, used
12662 among others in code, to avoid escape < and >.
12664 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12666 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12667 saved positions instrad of a stack. Furthermore, a position is
12668 stored using paragraph id/paragraph position.
12670 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12671 Remove LFUN_REF_BACK.
12673 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12675 * converter.C (dvipdfm_options): New method.
12677 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12679 * vspace.C (isValidLength): Fix for empty input string.
12681 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12683 * LyXAction.C (init): change description of LFUN_FIGURE to
12686 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12688 * LaTeX.C: add using directive
12690 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12692 * MenuBackend.C (expand): Fix the sorting of the formats.
12694 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12696 * lyx_main.C: tiny error message fix
12698 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12700 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12701 calling fl_initialize(). This fixes the problem with ',' as
12702 decimal separator in text files.
12704 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12706 * trans.C (process): Fix the keymap bug.
12708 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12710 * LaTeX.C (scanAuxFiles): New method. Provides support for
12711 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12712 (scanLogFile) Scan for "run BibTeX" messages.
12714 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12715 OT1 font encoding. Also, load the aecompl package if the ae
12718 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12720 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12722 * texrow.C (increasePos): turn two error messages into debug
12725 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12727 * LaTeX.C (scanAux): Handle the \@input macro.
12728 (runBibTeX): Use scanAux().
12730 * language.C (latex_options_): New field.
12732 * LaTeXFeatures.C (getMacros): Add language macros.
12734 * buffer.C (makeLaTeXFile): Small fix.
12736 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12740 * text2.C: add a using directive.
12742 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12747 * lyxfunc.C: kill LyXBell.
12749 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12751 * text.C (IsBoundary): Remove the error message
12753 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12755 * lyxrc.C (setDefaults): Correct initialization value for
12758 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12760 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12763 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12764 and GotoNextNote().
12766 * src/LyXAction.C: Added reference-next.
12768 * text.C (InsertChar): Use contains instead of strchr.
12770 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12772 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12774 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12775 alignment commands (when needed).
12777 * text.C (InsertChar): Add ':' to number separator chars.