1 2003-09-22 Angus Leeming <leeming@lyx.org>
3 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5 an incomplete class LyXFont.
7 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
9 * factory.C: bug fix in branches
11 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
13 * lyxfunc.C (processKeySym): adjust
15 (dispatch): change arg name from ev to func, adjust
16 (sendDispatchMessage): ditto
18 * lyx_main.C (defaultKeyBindings): adjust keybindings
19 (deadKeyBindings): ditto
21 * kbsequence.C (addkey): return a FuncRequest
23 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
25 * kbmap.C (bind): take a FuncRequest as arg, adjust
28 (defkey): change to take a FuncRequest as arg, adjust
29 (findbinding): take a FuncRequest as arg, adjust.
31 * funcrequest.h (operator=): added
33 * funcrequest.C (FuncRequest): default kb_action changed from
34 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
36 * buffer.C (dispatch): simplify
37 (dispatch): adjust to take a FuncRequest as arg, adjust
39 * boost.C (assertion_failed): change assertion message slightly
41 * ToolbarBackend.C (read): simplify
43 * MenuBackend.C (binding): adjust call to findbinding, add a
44 message if no binding is found.
46 (expandToc): correct by adding a empty FuncRequest
48 * LyXAction.C: include <boost/assert.hpp>
49 (isPseudoAction): delete function
50 (LookupFunc): change name to...
51 (lookupFunc): this. change return type to FuncRequest.
52 (getActionName): take kb_action as arg, simplify
53 (funcHasFlag): add an assert, simplify.
55 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
57 * toc.C (action): return a FuncRequest, simplify
59 * lyxfunc.C (processKeySym): adjust
60 (getStatus): delete version that takes an int.
62 (dispatch): delete version that takes action as int
64 (sendDispatchMessage): simplify and adjust
66 * funcrequest.C (getArg): take unsigned int as arg
68 * ToolbarBackend.C (read): adjust
69 (add): delete version that takes func as a string.
70 (getIton): take a FuncRequest as arg
72 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
75 * MenuBackend.C (MenuItem): add a new construct that only takes a
76 Kind, simplify the constructor use for submenus.
78 (expandLastfiles): adjust
79 (expandDocuments): adjust
80 (expandFormats): adjust
81 (expandFloatListInsert): adjust
82 (expandFloatInsert): adjust
83 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
85 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
86 Remove class variables lyx_pseudo_map and lyx_arg_map
88 * LyXAction.C (searchActionArg): delete function
89 (getPseudoAction): delete function
90 (retrieveActionArg): delete function
91 (LookupFunc): make it return kb_action, simplify.
92 (getActionName): simplify
94 * factory.C (createInset): fix new bug
96 2003-09-19 Angus Leeming <leeming@lyx.org>
98 * CutAndPaste.C (pasteSelection): remove fudge used to set the
99 masterFilename_ parameter in the include inset.
101 * factory.C (createInset): changes due to the changes to InsetInclude.
103 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
105 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
107 2003-09-18 Angus Leeming <leeming@lyx.org>
110 * BufferView.C: pass the buffer when calling Inset::getLabelList,
111 Inset::fillWithBibKeys.
112 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
114 2003-09-18 Angus Leeming <leeming@lyx.org>
116 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
118 (ctor): pass and store a 'Buffer const &'
119 (buffer): new member function.
121 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
122 '*this' to the LaTeXFeatures ctor.
124 2003-09-18 Angus Leeming <leeming@lyx.org>
130 * text.C: rename EnumLColor as LColor_color.
132 2003-09-18 Angus Leeming <leeming@lyx.org>
134 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
135 remove #include "insets/insetbase.h" from cursor.h.
137 2003-09-18 Angus Leeming <leeming@lyx.org>
139 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
140 InsetOld_code to remove #include "inset.h".
142 * iterators.C: add #include "insets/inset.h"
144 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
146 * BufferView.C: remove more locking stuff that apparently doesn't
147 do anything sensible.
149 2003-09-16 André Pönitz <poenitz@gmx.net>
152 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
155 2003-09-16 Angus Leeming <leeming@lyx.org>
157 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
159 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
162 * paragraph.h: remove #include "lyxfont.h". Forward declare
165 2003-09-16 Angus Leeming <leeming@lyx.org>
167 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
168 of support/textutils.h.
169 (isWord): move the contents of support/textutils.h's IsWordChar here.
175 * text2.C: add #include "paragraph.h".
178 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
180 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
186 * LaTeX.C: use namespace alias for lyx::support::os
188 2003-09-16 Angus Leeming <leeming@lyx.org>
191 * bufferview_funcs.C:
196 * text.C: add #include "LColor.h".
198 2003-09-16 Angus Leeming <leeming@lyx.org>
200 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
201 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
203 Store the FontBits::color variable as an int rather than as an
204 LColor::colorso that we can move LColor.h out of the lyxfont.h header
207 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
208 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
209 string calls together.
211 * lyxrc.C: add #include "LColor.h".
213 2003-09-15 Angus Leeming <leeming@lyx.org>
215 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
218 2003-09-15 Angus Leeming <leeming@lyx.org>
220 * LColor.h: add an EnumLColor wrapper for LColor::color.
222 * lyxfont.[Ch] (color, setColor, realColor):
223 * lyxtext.h, text.C (backgroundColor):
224 pass EnumLColor args to/from the functions, rather than LColor::color
228 * lyxtext.h: forward declare EnumLColor.
230 * lyx_main.C: add #include "LColor.h".
232 2003-09-15 Angus Leeming <leeming@lyx.org>
234 * .cvsignore: add lyx-gtk.
236 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
241 * ParagraphParameters.C
255 * vc-backend.C: remove usage of STRCONV
257 2003-09-15 Angus Leeming <leeming@lyx.org>
259 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
260 explicitly define the color passed to the painter.
262 2003-09-15 Angus Leeming <leeming@lyx.org>
264 * bufferparams.C (BufferParams): reorder member initializers to avoid
267 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
269 * CutAndPaste.C (pasteSelection): remove an outdated #warning
270 * text.C (updateRowPositions): remove an unusual nop
272 2003-09-12 André Pönitz <poenitz@gmx.net>
274 * BufferView_pimpl.C:
283 * Counters.[Ch]: finish the 'automatic counters' job
285 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
287 * aspell.C: include <boost/assert.cpp> (compile fix)
289 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
291 * boost.C (assertion_failed): use lyx::support::abort instead of
294 2003-09-10 Angus Leeming <leeming@lyx.org>
296 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
297 with their _fwd progeny.
299 2003-09-09 Angus Leeming <leeming@lyx.org>
301 134 files throughtout the source tree: replace 'using namespace abc;'
302 directives with the appropriate 'using abc::xyz;' declarations.
304 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
306 * boost.C (emergencyCleanup): moved here from LAssert.c
307 (assertion_failed): new function, called by BOOST_ASSERT
309 * several files: change Assert to BOOST_ASSERT
311 2003-09-09 Angus Leeming <leeming@lyx.org>
313 * buffer.[Ch]: Add an Impl class and move Buffer's member
314 variables into it. As a result move several header files out of
317 Add header files to lots of .C files all over the tree as a result.
319 2003-09-09 Angus Leeming <leeming@lyx.org>
321 * buffer.[Ch]: make Buffer's member variables private. Add
324 Lots of changes all over the tree as a result.
326 2003-09-08 Angus Leeming <leeming@lyx.org>
328 * graph.C: #include <config.h>.
330 2003-09-08 Angus Leeming <leeming@lyx.org>
334 * BufferView_pimpl.C:
363 * toc.C: remove redundant using directives.
365 2003-09-07 Angus Leeming <leeming@lyx.org>
367 * LaTeXFeatures.h: remove #include "support/types.h".
368 * ToolbarBackend.h: remove #include <algorithm>.
369 * changes.h: remove #include <ctime>.
370 * debug.h: remove #include <iosfwd>.
371 * graph.h: remove #include "support/std_string.h".
372 * lyx_main.h: remove #include <csignal>.
373 * lyxlex_pimpl.h: remove #include <fstream>.
374 * sgml.h: remove #include <algorithm>, <utility>.
375 * toc.h: remove #include "support/std_ostream.h".
376 Add #include <iosfwd>.
378 2003-09-07 Angus Leeming <leeming@lyx.org>
380 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
382 * converter.h: forward declare LatexRunParams.
383 * encoding.h: remove #include "lyxrc.h".
384 * lyxtext.h: remove #include "LColor.h".
385 * lyxtextclass.h: remove #include "support/types.h".
386 * trans.h: remove #include "tex-accent.h".
387 * trans_mgr.h: remove #include "tex-accent.h".
388 * insets/inset.h: remove #include "support/types.h", <vector>.
389 * insets/insetcollapsable.h: remove #include "LColor.h".
390 * insets/insetinclude.h: remove #include "dimension.h".
391 * insets/insetlatexaccent.h: remove #include "dimension.h".
392 * insets/insetoptarg.h:: remove #include "insettext.h".
393 * insets/insettext.h: remove #include "dimension.h",
394 <boost/shared_ptr.hpp>
396 * insets/renderers.h: add #include "dimension.h".
397 * insets/updatableinset.h: add #include "support/types.h".
399 * many .C files: Associated changes.
401 2003-09-06 Angus Leeming <leeming@lyx.org>
403 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
404 one, inside testInvariant.
406 * PrinterParams.C: new file.
407 * PrinterParams.[Ch]: move the function bodies out of line.
409 2003-09-06 Angus Leeming <leeming@lyx.org>
411 * ParagraphParameters.h: forward declare ParameterStruct rather than
412 including its header file.
413 (depth): moved out-of-line.
415 2003-09-06 Angus Leeming <leeming@lyx.org>
417 * BufferView_pimpl.h:
420 * lyxfunc.h: forward declare LyXKeySym rather than
421 #include "frontends/LyXKeySym.h".
423 * BufferView_pimpl.C:
426 * lyxfunc.C: associated changes.
428 2003-09-06 Angus Leeming <leeming@lyx.org>
430 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
431 As a result, can remove the #include "insets/inset.h" from BufferView.h
433 2003-09-06 Angus Leeming <leeming@lyx.org>
435 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
436 As a result, can remove the #include "insets/inset.h" from BufferView.h
438 2003-09-06 Angus Leeming <leeming@lyx.org>
444 * bufferview_funcs.C:
445 * BufferView_pimpl.C:
450 * ParagraphParameters.C:
455 * frontends/controllers/ControlDocument.C:
456 * insets/insetcaption.C: rearrange the #includes into some sort of
459 * buffer.h: remove #includes ErrorList.h, undo.h
461 2003-09-06 Angus Leeming <leeming@lyx.org>
463 * support/types.h: add a 'depth_type' typedef, used to store the
464 nesting depth of a paragraph.
467 * ParameterStruct.h: use this lyx::depth_type typedef rather than
472 * ParagraphParameters.h:
473 * sgml.h: use lyx::depth_type rather than Paragraph or
474 ParameterStruct's depth_type.
477 * paragraph_funcs.h: no need to #include paragraph.h anymore.
480 * BufferView_pimpl.C:
482 * ParagraphParameters.C:
485 * bufferview_funcs.C:
492 * frontends/LyXView.C:
493 * frontends/controllers/ControlDocument.C:
494 * frontends/controllers/ControlErrorList.C:
495 * insets/insetbibitem.C:
496 * insets/insetbranch.C:
497 * insets/insetcaption.C:
498 * insets/insetcollapsable.C:
501 * insets/insetfloat.C:
502 * insets/insetfoot.C:
503 * insets/insetfootlike.C:
504 * insets/insetnewline.C:
505 * insets/insetquotes.C:
506 * insets/insettabular.C:
507 * insets/insettext.C:
508 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
510 * frontends/controllers/ControlChanges.C: #include "changes.h".
512 2003-09-06 Angus Leeming <leeming@lyx.org>
514 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
515 than #including paragraph.h.
518 * RowList.h: deleted. Superfluous.
528 * insets/insettext.h: use ParagraphList_fwd.h rather than
531 * paragraph.h: don't forward declare ParagraphList.
534 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
535 rather than ParagraphList.h. paragraph.h is still needed for the
536 Paragraph::depth_type parameters.
538 * textcursor.h: enable it to compile stand-alone in light of the
541 * bufferview_funcs.C:
553 * frontends/controllers/ControlParagraph.C:
554 * frontends/controllers/ControlTabular.C:
555 * insets/insetmarginal.C:
556 * insets/insetminipage.C:
557 * insets/insetnote.C:
558 * insets/insetoptarg.C: add header files needed to compile again.
560 2003-09-06 Angus Leeming <leeming@lyx.org>
562 * RowList_fwd.h: new file, forward-declaring Row rather than
568 * insets/insettext.h: use it instead of RowList.h
570 * bufferview_funcs.C:
577 * text3.C: #include "RowList.h".
579 2003-09-05 Angus Leeming <leeming@lyx.org>
581 * factory.C (createInset):
582 * vspace.C (c-tor): replace sscanf call with an istringstream.
583 * ispell.C: re-add missing HP/UX headers.
584 * lyxserver.C: re-add missing os2 headers.
586 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
595 * text3.C: re-add missing system headers, needed for 2.95.2.
597 2003-09-05 Angus Leeming <leeming@lyx.org>
599 Changes most place everywhere due to the removal of using directives
600 from support/std_sstream.h.
602 2003-09-05 Angus Leeming <leeming@lyx.org>
604 Replace LString.h with support/std_string.h,
605 Lsstream.h with support/std_sstream.h,
606 support/LIstream.h with support/std_istream.h,
607 support/LOstream.h with support/std_ostream.h.
609 Changes resulting throughout the tree.
611 2003-09-05 Angus Leeming <leeming@lyx.org>
613 * sgml.h: ensure that the header file can be compiled stand-alone.
614 * *.C: strip out redundant #includes. (320 in total.)
616 2003-09-04 Angus Leeming <leeming@lyx.org>
618 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
619 here (from getPackages).
621 * debug.[Ch]: add a new EXTERNAL tag.
623 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
625 * text2.C (cursorEnd): simplify
627 (getColumnNearX): adjust
629 * text.C (computeBidiTables): adjust
632 * rowpainter.C (paintChars): adjust
633 (paintSelection): adjust
634 (paintChangeBar): adjust
637 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
639 (numberOfSeparators): adjust
641 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
647 * text3.C: Restricts the mouse click functionality
648 of insets like bibtex, include, toc and floatlist to the visible
649 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
650 up the dialogs. Cursor has to be in front of the inset (i.e.
651 start of row) for this to function.
653 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
655 * bufferview_funcs.C (currentState): output row information
657 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
659 * bufferview_funcs.C (currentState): output paragraph position
661 2003-09-04 Angus Leeming <leeming@lyx.org>
663 * FloatList.h: move out #include "Floating.h".
664 * LaTeX.h: move out #include "DepTable.h".
665 * LyXAction.h: move out #include "funcrequest.h".
666 * buffer.h: move out #include "author.h", "iterators.h".
667 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
668 * lyx_main.h: move out #include "errorlist.h".
669 * lyxfunc.h: move out #include "FuncStatus.h".
670 * lyxtext: move out #include "lyxcursor.h".
671 * paragraph_pimpl.h: move out #include "counters.h".
673 2003-09-03 Angus Leeming <leeming@lyx.org>
675 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
676 preamble_snippets list, enabling us to add snippets to the preamble
677 only if the snippet was not there already.
679 2003-09-04 Angus Leeming <leeming@lyx.org>
681 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
683 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
685 * lyxfunc.C (dispatch): if fitCursor did something be sure to
688 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
690 * BranchList.C: point fix, earlier forgotten
692 2003-09-02 Angus Leeming <leeming@lyx.org>
694 * box.C (contains): renamed from 'contained' after a fantastic
697 2003-09-02 John Levon <levon@movementarian.org>
703 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
705 2003-09-02 John Levon <levon@movementarian.org>
707 * text2.C: simplification of cursorEnd(), including partial
710 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
712 * buffer.C (readFile): add a space
714 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
716 * BufferView_pimpl.C (update): remove bogus fitCursor() call
718 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
720 * buffer.C (readFile): new function, take a filename and a
721 ParagraphList::iterator
723 (readFile): adjust, make it private. don't use setStream, make
724 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
725 always contain the filename.
727 * BufferView.C (insertLyXFile): simplify and make it work for
730 2003-08-30 John Levon <levon@movementarian.org>
732 * Makefile.am: fix dist (from Kayvan)
734 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
736 * most files: change to use const Buffer refs
738 2003-08-27 André Pönitz <poenitz@gmx.net>
740 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
741 on top of ownerPar().
743 2003-08-27 John Levon <levon@movementarian.org>
745 * funcrequest.C: properly initialise POD members
747 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
749 * lyxtext.h (top_y): move top_y from here
754 * BufferView_pimpl.[Ch]: to here
755 * frontends/screen.C:
756 * insets/insettabular.C:
757 * insets/insettext.C: adjust
758 * rowpainter.[Ch] (paintRows): remove LyXText & argument
760 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
763 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
765 2003-08-26 André Pönitz <poenitz@gmx.net>
767 * paragraph_func.[Ch] (outerPar): new function
773 * text2.C: remove Inset::par_owner
775 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
780 * text2.C: eliminates the needFullRow/display() stuff
781 altogether, putting the logic in metrics/draw in the insets.
783 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
785 * text2.C (redoParagraphInternal, redoParagraphs):
786 * text.C (redoParagraph): add a call to updateRowPositions at the
787 end of each 'metrics-like' call. Remove all others.
788 (getRow): remove the 'y-computing' version.
789 (getRowNearY): do not compute nor return the real y. Solve the
790 'y < 0' problem and simplify.
792 2003-08-22 Angus Leeming <leeming@lyx.org>
794 * *.[Ch]: clean-up of licence and author blurbs.
795 Also move config.h out of a few .h files and into a few .C files.
797 2003-08-22 André Pönitz <poenitz@gmx.net>
799 * lyxrow.[Ch]: add x_ and *fill_ members
804 * text2.C: adjust/remove prepareToPrint() calls
806 2003-08-22 André Pönitz <poenitz@gmx.net>
808 * lyxrow.[Ch]: add end_ member
810 * lyxrow_funcs.C: use LyXRow::end_
812 * lyxtext.h (singleWidth): add LyXFont parameter
815 * text2.C: adjust LyXText::singleWidth() calls
817 * text.C (redoParagraph): simplify row breaking logic
820 2003-08-19 André Pönitz <poenitz@gmx.net>
822 * funcrequest.C: initialize button_ member
825 * rowpainter.[Ch]: interface consolidation
827 2003-08-18 André Pönitz <poenitz@gmx.net>
830 * BufferView_pimpl.C:
834 * text3.C: remove LyXScreen::draw() and fitCursor calls
836 * BranchList.h: remove spurious semicolons
838 * MenuBackend.C: fix branchlist related crash
840 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
852 * text3.C: implements the 'branch inset'
853 idea. This allows the output of various versions of a document
854 from a single source version, selectively outputing or suppressing
855 output of parts of the text.
856 This implementation contains a 'branch list editor' in a separate
857 tab of the document settings dialog. Branches are user definable
858 and have a "display colour" to distinguish them on-screen.
860 ColorHandler was somewhat cleaned up.
861 (1) make possible a dynamically growing LColor list by allowing
862 the graphic context cache to grow along (vector);
863 (2) eliminate an IMHO unnecessary step in colour allocation.
865 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
867 * BufferView_pimpl.C: compile fix
869 2003-08-15 André Pönitz <poenitz@gmx.net>
871 * rowpainter.C: remove extra metrics calls
873 * lyxtext.h: merge the two constructors into a single one,
874 pass reference to owner's par list
876 * BufferView_pimpl.C:
880 2003-08-15 André Pönitz <poenitz@gmx.net>
890 * text_funcs.C: split LyXText::rowlist_ into individual
891 Paragraph::rows_ chunks
894 * BufferView_pimpl.[Ch]:
897 * text3.C: remove toggleSelection()
899 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
901 * bufferlist.C: beautify two alerts (shorter text of buttons)
902 * buffer.C: Remove redundant ' ' from message
904 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
905 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
906 rename VALIGN_CENTER to VALIGN_MIDDLE
908 2003-08-11 André Pönitz <poenitz@gmx.net>
910 * lyxtext.h (getPar):
911 * text.C: new function
913 2003-08-11 André Pönitz <poenitz@gmx.net>
916 * tracer.[Ch]: remove unneeded files
918 * InsetList.[Ch]: remove resizeInsetsLyXText()
923 * text3.C: merge insertParagraphs() and appendParagraph()
924 remove breakAgain(), update()
926 * BufferView_pimpl.[Ch]:
927 * bufferview_funcs.[Ch]:
931 * tabular.C: adjust after text & InsetList changes.
933 2003-08-08 André Pönitz <poenitz@gmx.net>
935 * text.C (insertChar, backspace): replace rowlist fiddling
936 with rebreak of full par
939 * text.C (breakAgainOneRow, redoHeightOfParagraph,
940 checkParagraph, updateInset): removed
942 2003-08-07 André Pönitz <poenitz@gmx.net>
945 * text3.C: merge some LFUN handlers, remove dead code
947 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
949 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
951 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
953 * text2.C (DEPM): fix part of bug 1255 and 1256
955 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
957 * BufferView_pimpl.C (workAreaDispatch): change to use
958 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
959 that are no mouse related.
961 2003-08-05 André Pönitz <poenitz@gmx.net>
964 * BufferView_pimpl.[Ch]:
965 * bufferview_funcs.C:
967 * text3.C: rip out "deep update"
969 * textcursor.[Ch] (last_sel_cursor): remove unused member
971 2003-08-04 André Pönitz <poenitz@gmx.net>
974 * BufferView_pimpl.[Ch]:
975 * ParagraphParameters.C:
976 * bufferview_funcs.C:
982 * text3.C: replace "complicated" BufferView::update(...) calls with
985 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
987 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
989 * Makefile.am (lyx_SOURCES): add paper.h
991 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
993 * Makefile.am: move things around so that both lyx-qt and
994 lyx-xforms can be built (according to --with-frontend). Then lyx
995 is a symbolic link to lyx-[firstfrontend]
997 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
999 * Always use std::endl with lyxerr
1001 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1003 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1005 2003-08-01 André Pönitz <poenitz@gmx.net>
1008 * BufferView_pimpl.[Ch]:
1010 * text3.C: merge BufferView::repaint() and BufferView::update()
1012 2003-08-01 José Matos <jamatos@lyx.org>
1014 * buffer.[Ch]: file_format is no longer a buffer data element.
1016 2003-08-01 André Pönitz <poenitz@gmx.net>
1021 * text2.C: make redoParagraph more independent of current cursor
1023 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1025 * text2.C: remove unneeded members
1027 2003-07-30 André Pönitz <poenitz@gmx.net>
1029 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1031 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1032 create a single function...
1034 * paragraph_funcs.C (moveItem): ... here.
1037 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1039 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1041 * LColor.[Ch]: Add comment and greyedout logical colors.
1043 2003-07-30 André Pönitz <poenitz@gmx.net>
1045 * tabular.C: don't use Assert too heavily. This crashes where it
1048 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1050 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1051 is disabled (bug 1232)
1053 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1055 * factory.C: limited 'arg' scope
1057 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1059 * factory.C: fixed Note submenu issues
1061 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1063 * factory.C: submenu for Note/Comment/Greyedout
1065 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1068 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1070 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1073 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1074 greyedout. Patch provided by Jürgen Spitzmüller.
1076 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1078 * kbmap.C (read): fix error message when reading bind files
1080 2003-07-29 Angus Leeming <leeming@lyx.org>
1082 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1083 certainly does not do what it purports to do. I am doing it, and
1084 us, a favour by killing it.
1086 2003-07-28 José Matos <jamatos@lyx.org>
1088 * buffer.C (readBody, do_writeFile):
1089 * paragraph.C(readParagraph): \end_document replaces \the_end.
1091 2003-07-29 André Pönitz <poenitz@gmx.net>
1094 * BufferView_pimpl.[Ch]:
1098 * textcursor.[Ch]: remove toggleToggle & Co
1100 2003-07-28 José Matos <jamatos@fep.up.pt>
1102 * buffer.C (readParagraph):
1103 * params_func (readParToken, readParagraph):
1104 * paragraph.C (write): \layout -> \begin_layout.
1106 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1108 * lyxlex_pimpl.C (setFile): clean up slightly.
1110 * bufferparams.h: add compressed var
1112 * buffer_funcs.C (readFile): adjust for LyXLex change
1113 (newFile): ditto + simplify
1115 * buffer.C (writeFile): handle writing of compressed files
1117 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1118 Check if the file is compressed and set a bufferparm if so.
1120 * Makefile.am (lyx_LDADD): remove explicit -lz
1122 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1124 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1125 makeDocBookFile): put the real LyX version in the first line of
1129 * version.C.in: remove lyx_docversion
1131 * tabular.C (write_attribute): add a template-based version to
1132 write enums properly
1134 2003-07-28 André Pönitz <poenitz@gmx.net>
1139 * text3.C: use doubles again for x-coordinates. They are needed.
1141 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1143 * messages.C (getLocaleDir): use lyx_localedir()
1145 * lyxlex_pimpl.C (setFile): compress stuff
1147 * buffer.C (writeFile): add some compression stuff
1148 (do_writeFile): new func, dont call expliti close... will this
1151 * Makefile.am (lyx_LDADD): add -lz
1153 2003-07-28 José Matos <jamatos@fep.up.pt>
1155 * buffer.C: increment file format.
1156 * paragraph_funcs (readParagraph, readParToken):
1157 * paragraph.C (readParagraph): add \end_layout.
1159 2003-07-27 Angus Leeming <leeming@lyx.org>
1161 * Makefile.am: remove special casing for configure-time setting of
1162 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1164 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1165 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1167 2003-07-26 André Pönitz <poenitz@gmx.net>
1169 * paragraph_func.[Ch]:
1170 * paragraph.C (realizeFont): inline it whereever it is used
1175 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1178 2003-07-26 André Pönitz <poenitz@gmx.net>
1182 * text2.C: get rid of LyXText::need_break_row
1184 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1186 * toc.[Ch]: put namespace toc inside namespace lyx
1188 * MenuBackend.C (expandToc2): adjust for lyx::toc
1191 * lyxfunc.C (dispatch): adjust for lyx::find
1193 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1194 lyx::find instead. Reorganize a bit.
1195 (LyXReplace): rename to replace
1196 (LyXFind): rename to find
1198 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1201 2003-07-26 André Pönitz <poenitz@gmx.net>
1203 * text.C (setHeightOfRow): restrict scope of temporary variable
1205 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1206 code (never has been used?)
1208 2003-07-27 Asger Alstrup <alstrup@local>
1210 * text.C (fill): Optimise algorithm to exploit that we can reuse
1211 the LyXFont for many characters.
1212 (setHeightOfRow): Same thing.
1213 (rowBreakPoint): Same thing.
1215 2003-07-26 Asger Alstrup <alstrup@local>
1217 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1219 * text.C (singleWidth): Spurious font copying in hot-spot
1220 singleWidth avoided. Reorder tests for arabic for efficiency.
1222 * text.C (fill): handle empty paragraphs better.
1224 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1227 * encoding.h: add includes
1229 * lyxrc.C: remove reading of bind files
1231 * lyx_main.C (init): setup bindings and menus only if we have a
1234 * kbmap.C (read): new method. Do the actual reading of bind
1237 * converter.C (dvipdfm_options):
1240 (output): adapt PAPER_* enums.
1242 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1244 * bufferparams.h: remove paper-related enums from there
1246 * paper.h: New file. A trivial header file to hold paper-related
1247 enums. It should later expand to contain many paper-related
1250 * lyxrc.C: declare extern displayTranslator
1252 2003-07-27 José Matos <jamatos@fep.up.pt>
1254 * tabular.[Ch] (linuxdoc): add support for tables and figures
1257 2003-07-27 José Matos <jamatos@fep.up.pt>
1259 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1260 consistency in both functions.
1261 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1263 2003-07-26 Asger Alstrup <alstrup@local>
1265 * rowpainter.C (paintRows): Change algorithm to work directly on
1266 the insets rather than asking every character in the document
1267 whether its an inset.
1269 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1271 * buffer.C (openFileWrite): factorize some code
1273 2003-07-26 Angus Leeming <leeming@lyx.org>
1276 * lyx_main.[Ch]: replace occurances of system_tempdir with
1279 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1281 * rename Inset to InsetOld
1283 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1285 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1286 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1287 which I think is a bit clearer. EDIT is gone, since it was
1288 premature optimisation, and broken for mathed anyway.
1289 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1290 with cursor positioning in insets as well (math insets still do not
1291 work, but that's a different story anyway.) It mysteriously
1292 crashes sometimes with undo in the first paragraph, but I'm fairly
1293 confident that this is a compiler bug.
1295 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1297 * paragraph.C (Paragraph): adjust for new clone return type
1299 (copyIntoMinibuffer): ditto
1301 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1303 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1304 by not having a special case, and always doing a full rebreak of
1305 the document after undo.
1307 2003-07-23 Angus Leeming <leeming@lyx.org>
1309 * factory.C (createInset): InsetExternal::setParams now takes a
1312 2003-07-23 Angus Leeming <leeming@lyx.org>
1314 * factory.C (createInset): changed interface to the external and
1315 graphics mailers' string2params functions.
1317 2003-07-23 Angus Leeming <leeming@lyx.org>
1319 * factory.C (createInset): pass a
1320 Buffer const * parameter to InsetExternalMailer's string2params.
1322 2003-07-22 John Levon <levon@movementarian.org>
1324 * Thesaurus.h: include the right aiksaurus header
1326 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1328 * MenuBackend.C (expand): check menu shortcuts unconditionally
1330 2003-07-21 Angus Leeming <leeming@lyx.org>
1332 * factory.C (createInset): pass a
1333 buffer_path parameter to InsetGraphicsMailer's string2params.
1335 2003-07-21 Angus Leeming <leeming@lyx.org>
1337 * BufferView_pimpl.C (buffer):
1340 * lyxfunc.C (dispatch):
1341 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1342 rather than the grfx shortcut.
1344 2003-07-21 André Pönitz <poenitz@gmx.net>
1346 * rowpainter.C: remove unused variables
1349 * tabular_funcs.h: move to tabular.C
1350 * Makefile.am: adjust
1352 * tabular.[Ch]: basic optical cleaning
1354 * author.h: pass references, not values
1356 2003-07-18 André Pönitz <poenitz@gmx.net>
1364 * text3.C: two-phase drawing for InsetText and InsetTabular
1365 some float -> int changes.
1367 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1369 * lyx_main.C: fix the fix
1371 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1373 * lyx_main.C: fix a crash in batch mode if no files specified
1376 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1378 * format.[Ch] (papersize): moved to BufferParams
1379 * converter.[Ch] (dvips_options): moved to BufferParams
1380 (dvipdfm_options): moved to anon namespace
1381 * bufferparams.[Ch]: added above functions.
1383 2003-07-17 André Pönitz <poenitz@gmx.net>
1387 * text2.C: don't call inset->update() anymore
1389 * metricsinfo.[Ch]: add convenience constructor
1391 2003-07-16 André Pönitz <poenitz@gmx.net>
1396 * text2.C: replace the LyXCursor::irow_ member with
1397 on-demand computation of the value
1399 2003-07-16 John Levon <levon@movementarian.org>
1401 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1403 2003-07-15 André Pönitz <poenitz@gmx.net>
1406 * text2.C: remove no more needed refresh_row
1408 2003-07-15 André Pönitz <poenitz@gmx.net>
1413 * text3.C: refresh_status tristate -> need_update bool
1415 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1417 * lyxtext.h (init): remove reinit argument (act as if always true)
1418 * text2.C: adjust to that
1420 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1422 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1423 * text3.C: use it to delete selections in some cases
1424 (bugs 441, 673, 702, 954).
1426 2003-07-14 André Pönitz <poenitz@gmx.net>
1428 * rowpainter.[Ch]: reduce interface
1430 2003-07-14 André Pönitz <poenitz@gmx.net>
1432 * BufferView_pimpl.C:
1433 * text2.C: adjust after removing unused BufferView * argument
1435 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1437 * text2.C (init): fix a crash fired on resize
1439 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1441 * buffer.[Ch]: added new closing signal
1442 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1443 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1444 BufferView::Pimpl via the closing the signal
1446 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1448 * buffer.[Ch]: take out all bv-related from buffer
1450 * BufferView_pimpl.[Ch]: connect to new signals
1451 * CutAndPaste.C: removed useless asserts
1452 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1455 * lyxfunc.C: moved view-related funciontality from vc here
1456 * paragraph.C: removed outdated comments
1459 2003-07-10 André Pönitz <poenitz@gmx.net>
1461 * BufferView_pimpl.C:
1465 * text2.C: remove InsetText::InnerCache, clean up consequences
1467 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1469 * ispell.C: fix two typos in error messages
1471 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1473 * Extend Note inset to other forms of annotation like Comment
1474 and Greyedout. Right button click gives dialog.
1476 Files modified or added (+):
1480 * ControlNote.[Ch] +
1482 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1483 frontends/controllers
1487 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1489 * aspell.C: add missing namespace lyx::support
1491 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1493 * BufferView.[Ch] (newFile): Add
1494 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1495 * LaTeX.[Ch] (message): added this signal and use it
1496 * buffer.[Ch] (busy, message): added these signals and use them
1497 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1501 * importer.C: use buffer signals instead of direct bv calling
1502 * lyx_cb.[Ch] (ShowMessage): removed
1505 * paragraph_funcs.C:
1506 * text2.C: use buffer signals
1508 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1510 * introduce namespace lyx::graphics
1512 2003-07-02 André Pönitz <poenitz@gmx.net>
1514 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1516 2003-07-01 André Pönitz <poenitz@gmx.net>
1523 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1524 text*.C to text_func.C
1526 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1528 * introduce namespace lyx::support
1530 2003-06-30 André Pönitz <poenitz@gmx.net>
1535 * text.C: re-enable --with-included-string
1537 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1539 * textcursor.C: add <config.h>
1541 * text.C (getWord): remove const from word_location arg
1543 * lyxvc.C (getLogFile): fix const type order
1545 * lyxtext.h: remove const from word_location arg, add arg name
1547 * lyxlayout.h: currect type on labeltype.
1549 * importer.C: correct \file
1551 * converter.C (intToFormat): use std:: on ret val, ws changes
1553 * bufferlist.h: correct \file
1555 * buffer.C (makeLinuxDocFile): fix const type order
1556 (makeDocBookFile): ditto
1557 (fillWithBibKeys): use std:: on stdlib args.
1559 * CutAndPaste.C: fix authors.
1560 (availableSelections): use std:: on return vector
1562 2003-06-27 André Pönitz <poenitz@gmx.net>
1564 * BufferView_pimpl.C:
1565 * bufferview_funcs.C:
1573 * text3.C: remove LyXCursor::row_ member
1576 * text.C: rename fullRebreak() to partialRebreak() and implement
1577 a fullRebreak() that really bereks fully
1579 * textcursor.h: new struct for cursor-related data
1581 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1583 * lyx_main.C (LyX): get full path of document loaded on the
1586 2003-06-26 André Pönitz <poenitz@gmx.net>
1588 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1589 remove unused/broken operator>,<,>=.
1591 * text.C: remove only use of broken operator<= in an Assert().
1593 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1595 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1596 moved errorlist_.clear to showErrorList
1598 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1600 * converter.C (scanLog, runLaTeX):
1601 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1602 move the bv->showErrorList call to the callers
1603 * lyxfunc.C: i.e. here...
1605 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1606 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1607 namespace, the second to...
1608 * buffer_funcs (BufferFormat, parseErrors): added
1609 * errorlist.C (ErrorList(TeXErrors const &)): removed
1611 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1613 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1615 2003-06-24 "Garst R. Reese" <reese@isn.net>
1619 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1621 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1623 * version.C.in: change docversion to 1.4
1625 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1627 * buffer.C: fix a bug just introduced
1629 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1631 * buffer.[Ch]: added the parseError signal and use it, removed
1633 * BufferView.[Ch] (addError): moved to ...
1634 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1635 to the Buffer::parseError signal to catch (guess what) parse errors
1636 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1638 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1640 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1641 ability to create a buffer and to return an existing one from
1642 the list. Moved these functions to...
1643 * buffer_funcs.[Ch]: added
1644 * BufferView.[Ch] (loadLyXFile): added
1645 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1646 job removed from bufferlist::loadLyXFile.
1647 * buffer.C (setReadOnly): make it work without view
1648 (i.e added an if (users))
1650 2003-06-19 Angus Leeming <leeming@lyx.org>
1653 * LyXAction.C (init):
1654 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1655 with LFUN_DIALOG_SHOW <name> <data>.
1657 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1659 * CutAndPaste.C (availableSelections): small compilation fix for
1660 ancient (gcc 2.9x) compilers
1662 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1664 * text3.C (cursorNext): add tmp var
1666 * text2.C (updateCounters): for function calling out of for clause
1667 (replaceSelectionWithString): ditto
1668 (insertStringAsParagraphs): ditto
1669 (getColumnNearX): add tmp var
1670 (setCursorFromCoordinates): add tmp var
1671 (cursorDownParagraph): add tmp var
1672 (deleteEmptyParagraphMechanism): add tmp var
1674 * text.C (insertChar): add tmp var
1676 * rowpainter.C (paintDepthBar): add tmp var
1678 * CutAndPaste.C (availableSelections): potentially check all
1679 paragraphs in a cut to fill the shown strings.
1681 2003-06-18 André Pönitz <poenitz@gmx.net>
1683 * kbmap.[Ch]: use vector<> instead of list<>
1685 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1687 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1688 pasteSelection with index
1690 * text2.C (pasteSelection): modify, call pasteSelection with index
1692 * paragraph.C (asString): reimplement version with no interval to
1693 call the one with interval.
1695 * lyxtext.h: add index arg to pasteSelection
1697 * MenuBackend.C (MenuItem): handle PasteRecent
1698 (Menu::read::Menutags): add md_pasterecent
1700 (expandPasteRecent): new function
1703 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1705 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1707 (availableSelections): new function
1709 2003-06-17 Angus Leeming <leeming@lyx.org>
1711 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1713 2003-06-17 Angus Leeming <leeming@lyx.org>
1716 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1718 * lyxfunc.C (dispatch): invoke it.
1720 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1722 * iterators.C (operator++, ParPosition): reintroduce some
1723 const_cast for the benefit of older compilers.
1725 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1727 * text3.C (dispatch): do not modify clipboard when doing
1728 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1729 LFUN_DELETE_SKIP on a selection selection
1731 2003-06-16 André Pönitz <poenitz@gmx.net>
1737 * tabular.[Ch]: IU of clone() and getLabelList();
1739 2003-06-13 André Pönitz <poenitz@gmx.net>
1741 * tabular.h: compactification
1743 2003-06-12 André Pönitz <poenitz@gmx.net>
1747 * tabular_funcs.h: some renaming plus whitespace
1749 2003-06-12 André Pönitz <poenitz@gmx.net>
1752 * BufferView_pimpl.C:
1758 * toc.C: Return a Paragraph & for ParIterator::operator*()
1760 2003-06-11 John Levon <levon@movementarian.org>
1764 * ToolbarBackend.C: add "Toolbars" section and
1767 2003-06-10 Angus Leeming <leeming@lyx.org>
1770 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1772 * lyxfunc.C (dispatch): invoke it.
1774 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1776 * main.C: protect <ios> with HAVE_IOS
1777 (main): protect sync_with_stdio with HAVE_IOS
1779 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1781 * text2.C (cutSelection): adjust
1782 (pasteSelection): adjust
1784 * messages.C: handle get of empty string
1786 * main.C (main): use sync_with_stdio(false)
1788 * lyxfunc.C (dispatch): adjust
1790 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1791 (WriteAs): remove unneeded BufferView arg.
1793 * bufferparams.h: use correct types on papersize, papersize2 and
1796 * bufferparams.C (readToken): adjust for type
1797 (writeLaTeX): add missing cases to switch.
1799 * bufferlist.C (quitWriteBuffer): adjust
1802 * buffer.C (asciiParagraph): remove some commented code.
1804 * CutAndPaste.C: remove current_view extern variable.
1805 (cutSelection): add BufferParams arg.
1806 (eraseSelection): add BufferParams arg.
1807 (pasteSelection): add Buffer const & arg
1809 2003-06-07 John Levon <levon@movementarian.org>
1812 * paragraph_funcs.C:
1813 * paragraph_pimpl.C:
1817 * paragraph.C: allow InsetERT to freely space lines,
1818 and some consolidation of code
1820 2003-06-06 José Matos <jamatos@fep.up.pt>
1822 * buffer.C (makeDocBookFile): fix bug #821
1824 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1826 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1828 2003-06-04 Angus Leeming <leeming@lyx.org>
1830 * buffer.C: bump format to 224.
1832 2003-06-05 André Pönitz <poenitz@gmx.net>
1834 * text2.C (redoParagraphs): remove two const_cast<>
1836 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1838 * ParagraphList.h: remove last remnants of NO_STD_LIST
1840 2003-06-03 Angus Leeming <leeming@lyx.org>
1842 * factory.C (createInset): small change to the way InsetExternal's params
1845 2003-06-04 André Pönitz <poenitz@gmx.net>
1847 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1849 * paragraph_pimpl.h:
1850 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1852 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1854 * undo_funcs.C: make some simple cases of undo work again
1856 2003-06-03 John Levon <levon@movementarian.org>
1858 * ispell.C: HPUX doesn't have sys/select.h
1861 2003-06-03 John Levon <levon@movementarian.org>
1863 * CutAndPaste.C: update tabular and include inset
1868 * paragraph.C: remove owningBuffer(), don't pass Buffer
1871 * factory.C: insetGraphicsParams changed
1873 2003-06-02 John Levon <levon@movementarian.org>
1879 * text3.C: remove insetparent
1881 2003-06-02 John Levon <levon@movementarian.org>
1884 * buffer.C: fix inset_iterator.end(), move out of line
1887 2003-06-01 John Levon <levon@movementarian.org>
1889 * text3.C: use a proper cut/paste when doing inset
1890 insert (from Jürgen Spitzmüller)
1892 2003-06-01 John Levon <levon@movementarian.org>
1894 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1896 2003-05-30 André Pönitz <poenitz@gmx.net>
1898 * rowpainter.C: unify second drawing phase
1900 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * trans_mgr.C: remove one case of current_view
1904 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1906 * paragraph_funcs.h: remove paragraph.h include
1908 * paragraph.h: delete NO_STD_LIST stuff
1910 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1912 * buffer.h: remove paragraph.h include
1914 * ParagraphList.C: delete file
1916 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1918 * toc.C (getTocList): adjust
1920 * paragraph_pimpl.C (validate): adjust
1922 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1924 * paragraph.C (Paragraph): adjust
1925 (getPositionOfInset): use const_iterator, adjust
1926 (bibitem): use const_iterator, adjust
1927 (setInsetOwner): adjust
1929 * iterators.C (operator++): adjust
1931 * InsetList.[Ch]: Replace selfmade iterator with standard
1932 vector::iterator also introduce const_iterator. Remove getPos,
1933 getInset and setInset from InsetTable. Adjust accordingly.
1935 * BufferView.C (lockInset): adjust
1936 (ChangeInsets): adjust
1938 * tabular.[Ch]: delete commented same_id functions
1940 2003-05-28 John Levon <levon@movementarian.org>
1942 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1944 2003-05-28 André Pönitz <poenitz@gmx.net>
1946 * metricsinfo.[Ch]: remove 'fullredraw' member
1948 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1950 * lyxtextclass.C (operator): remove caching.
1952 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1956 * text2.C (cursorBottom): adjust
1957 (setCounter): use ParagraphList::find, adjust
1959 * text.C (workWidth): use ParagraphList::find, adjust
1961 * lyxcursor.C (LyXCursor): adjust
1963 * buffer.C (inset_iterator): adjust
1965 * ParagraphList.h: make iterator(value_type) private, make
1966 ParagraphList a friend of iterator.
1968 * ParagraphList.C (find): new function
1970 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1972 2003-05-27 André Pönitz <poenitz@gmx.net>
1974 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1976 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1978 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1980 2003-05-26 John Levon <levon@movementarian.org>
1982 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1984 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1986 * remove same_id from function signatures, adjust.
1988 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1990 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1992 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1994 * paragraph.C (Paragraph): get rid of same_ids parameter
1996 * ParagraphList.C (insert): adjust
1999 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2001 * paragraph_funcs.C (breakParagraph): adjust
2002 (breakParagraphConservative): adjust
2004 * buffer.C (readParagraph): adjust
2006 * ParagraphList.C (insert): take a reference instead of a pointer
2009 * paragraph.[Ch] (id): new function
2011 * bufferlist.C (newFile): adjust
2013 * ParagraphList.C (ParagraphList): adjust
2015 (push_back): take a reference instead of a pointer.
2017 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2019 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2022 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2023 set else use old code.
2025 * ParagraphList.C: remove all NO_NEXT code and only compile this
2026 code of NO_STD_LIST is set.
2028 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2030 * BufferView_pimpl.C:
2040 * graphics/GraphicsConverter.C:
2041 * graphics/PreviewLoader.C: header adjustment
2043 2003-05-23 Angus Leeming <leeming@lyx.org>
2045 * LaTeXFeatures.[Ch] (useBabel): new method.
2046 * bufferparams.C (writeLaTeX): use it.
2048 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2050 * ParagraphList.h (set): remove unused function.
2052 2003-05-23 André Pönitz <poenitz@gmx.net>
2055 * BufferView_pimpl.C:
2059 * undo_funcs.C: setUndo reworked
2061 * iterators.[Ch]: add access to topmost ParagraphList
2063 * lyxtext.[Ch] (workWidth): add a const
2065 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2067 * texrow.[Ch] (increasePos): remove function
2068 * exporter.C (export): removed unused var and outdated comment
2070 2003-05-23 Angus Leeming <leeming@lyx.org>
2072 * latexrunparams.h: rename fragile as moving_arg.
2073 * paragraph.C (simpleTeXOnePar): ditto.
2074 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2076 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2078 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2080 (textUndoOrRedo): comment out a currently unused var.
2082 * paragraph.h (NO_NEXT): enable NO_NEXT
2084 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2086 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2088 * exporter.C (Export): adjust for removeAutoInsets removal.
2090 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2092 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2094 * BufferView.[Ch] (removeAutoInsets): delete function
2096 2003-05-22 Angus Leeming <leeming@lyx.org>
2098 * latexrunparams.h: add a free_spacing variable.
2100 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2101 to pass moving_arg, as the data is stored in runparams.fragile.
2103 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2104 to Inset::latexOptional or to simpleTeXOnePar.
2106 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2107 free_spacing arg to Inset::latexOptional.
2109 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2112 2003-05-22 Angus Leeming <leeming@lyx.org>
2114 * latexrunparams.h: add fragile and use_babel variables.
2116 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2117 * buffer.C (makeLaTeXFile): store this returned value in
2118 runparams.use_babel, thus passing it to the inset::latex methods.
2120 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2121 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2123 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2124 longer has a fragile arg, as it is stored in runparams.fragile.
2126 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2127 moving_arg parameter as the data is stored in runparams.fragile.
2129 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2130 a fragile parameter as the data is stored in runparams.fragile.
2132 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2134 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2136 2003-05-22 Angus Leeming <leeming@lyx.org>
2138 * latexrunparams.h: add a 'bool nice' which defaults to false.
2140 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2141 now encapsulated within runparams.
2143 * bufferlist.C (updateIncludedTeXfiles):
2144 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2146 2003-05-22 Angus Leeming <leeming@lyx.org>
2148 * latexrunparams.h: new file containing struct LatexRunParams.
2149 * Makefile.am: add new file.
2151 * LaTeX.[Ch] (c-tor, run):
2152 * buffer.[Ch] (makeLaTeXFile):
2153 * bufferlist.[Ch] (updateIncludedTeXfiles):
2154 * converter.C (convert, scanLog):
2155 * converter.[Ch] (runLaTeX):
2156 * exporter.C (Export):
2157 * paragraph.[Ch] (simpleTeXOnePar):
2158 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2159 * paragraph_funcs.[Ch] (latexParagraphs):
2160 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2161 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2162 pass around a LatexRunParams parameter.
2164 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2166 * paragraph.[Ch]: remove unused constructor
2168 * ParagraphList.C (erase): new function, taking two iterators
2170 2003-05-22 André Pönitz <poenitz@gmx.net>
2172 * undo_funcs.C: remove duplicated code
2174 * iterator.[Ch]: operator=
2176 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2178 * tabular.C (SetMultiColumn): ws changes
2180 * rowpainter.C (paintFirst): get rid of a ->previous
2182 * lyx_cb.C (getPossibleLabel): parlist simplification
2184 * BufferView.C (ChangeInsets): simplify slightly.
2186 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2188 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2189 * lfuns.h: new LFUN_SPACE
2190 * lyxfunc.C: protected space has a new lfun
2191 * paragraph_funcs.C: read new space insets
2193 * factory.C: handle new space insets
2195 2003-05-22 André Pönitz <poenitz@gmx.net>
2198 * BufferView_pimpl.C:
2201 * undo_funcs.C: return a ParIterator from getParFromID.
2203 * iterators.[Ch]: add two const's
2205 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * toc.C (getTocList): adjust
2209 * iterators.[Ch]: rework for parlist
2211 * buffer.C (par_iterator_begin): adjust
2212 (par_iterator_end): adjust
2214 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2216 * BufferView.C (removeAutoInsets): adjust
2217 (ChangeInsets): adjust
2219 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2221 * text.C (top_y): fix bug 1110
2223 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2225 * errorlist.[Ch]: added
2228 * BufferView_pimpl.C:
2229 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2232 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2234 * Makefile.am: ensure that lyx is relinked upon changes to the
2235 various "convenience" libs.
2237 2003-05-20 Angus Leeming <leeming@lyx.org>
2239 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2240 files are compiled in alphabetical order again.
2242 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2244 2003-05-19 Angus Leeming <leeming@lyx.org>
2246 * gettext.[Ch]: remove "char const * _(char const *)".
2248 2003-05-19 André Pönitz <poenitz@gmx.net>
2250 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2259 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2261 2003-05-19 André Pönitz <poenitz@gmx.net>
2265 * lyxtextclass.[Ch]:
2267 * paragraph_funcs.[Ch]:
2269 * text3.C: more insetenv work
2271 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2273 * ParagraphParameters.C (params2string): small bug fixed
2275 2003-05-16 André Pönitz <poenitz@gmx.net>
2278 * bufferview_funcs.C: patch from Kornel Benko to prevent
2279 crash when _(...) is called twice in a statement
2281 2003-05-16 André Pönitz <poenitz@gmx.net>
2288 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2290 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2292 * lyx_main.C (init): remove spurious static_cast
2294 2003-05-14 André Pönitz <poenitz@gmx.net>
2296 * BufferView.C: fix format string
2298 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2300 * BufferView.[Ch] (insertErrors): removed
2301 * BufferView.[Ch] (showErrorList): added
2302 * buffer.C (runChkTeX):
2303 * converter.C (scanLog): call showErrorList instead of inserterrors
2305 2003-05-13 André Pönitz <poenitz@gmx.net>
2307 * BufferView_pimpl.C:
2309 * bufferview_func.C:
2316 * tabular_funcs.h: tostr() from its own header
2318 * ParagraphParameters.C:
2323 * text3.C: STRCONV()
2325 2003-05-12 André Pönitz <poenitz@gmx.net>
2328 * BufferView_pimpl.C:
2332 * ParagraphParameters.C:
2336 * bufferview_funcs.C:
2349 * paragraph_funcs.C:
2353 * text3.C: boost::format -> bformat all over the place
2356 2003-05-09 André Pönitz <poenitz@gmx.net>
2358 * LColor.[Ch]: Pimpl the #include <map> away
2360 2003-05-09 John Levon <levon@movementarian.org>
2362 * bufferlist.C: never remove emergency saves
2364 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2366 * Makefile.am: better lib building
2368 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2370 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2372 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2373 (simpleTeXSpecialChars): adjust
2374 (simpleTeXSpecialChars): adjust
2375 * paragraph.C (simpleTeXOnePar): adjust
2376 * buffer.C (makeLaTeXFile): adjust
2378 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2380 * text2.C (changeDepth): parlist cleanup
2381 (getColumnNearX): ditto
2383 * rowpainter.C (getLabelFont): parlist cleanup
2385 * bufferlist.C (newFile): parlist cleanup
2387 * CutAndPaste.C (eraseSelection): parlist cleanup
2389 * BufferView_pimpl.C (trackChanges): parlist cleanup
2392 * BufferView.C (lockInset): parlist cleanup.
2393 (ChangeInsets): ditto
2395 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2397 * CutAndPaste.h: Update file header.
2399 * CutAndPaste.C: Update file header.
2400 Store the parts cut out of the Document in a limited_stack.
2401 (copySelection): adjust
2402 (pasteSelection): new function, takes the index in the limited stack.
2403 (nrOfParagraphs): adjust
2404 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2405 simplify error inset insertion.
2406 (checkPastePossible): adjust
2408 2003-05-06 John Levon <levon@movementarian.org>
2410 * text2.C: don't cast wrap inset to float
2412 2003-05-05 André Pönitz <poenitz@gmx.net>
2415 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2417 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2418 few naked Paragraph *.
2420 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2422 * bufferparams.C: Output warning if a document with missing
2423 TeX document class is loaded
2424 * exporter.C: Disable TeX exports if the document class is missing
2427 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2428 isTeXClassAvailable()
2430 2003-05-03 John Levon <levon@movementarian.org>
2433 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2434 explicit cursor show/hide
2436 * BufferView_pimpl.h:
2437 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2438 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2440 * lyxfunc.C: hide cursor before dispatching.
2445 * text3.C: remove explicit cursor hides
2447 2003-05-02 André Pönitz <poenitz@gmx.net>
2449 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2452 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2455 * text2.C: tiny whitespace
2457 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2459 * undo_funcs.C: almost only ws changes.
2461 * ParagraphList.C (splice): just return if pl is empty.
2463 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2465 * ParagraphList.C (splice): new function.
2467 * CutAndPaste.C (pasteSelection): use it
2469 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2471 * CutAndPaste.C (pasteSelection): remove the last next and
2472 previous from this file.
2474 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2476 * CutAndPaste.C (pasteSelection): more clean up, user proper
2477 ParagraphList functions for pasteing.
2479 * ParagraphList.C (insert): new function, three arg insert
2481 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2483 * ParagraphList.C (insert): new function, three arg insert
2485 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2488 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2490 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2492 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2494 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2496 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2498 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2499 (copySelection): clean up a bit.
2500 (pasteSelection): use make_pair
2502 * ParagraphList.C (ParagraphList): implement copy constructor
2503 (operator=): implement, base on copy constructor.
2506 * paragraph.C (erase): return a bool
2508 * paragraph_pimpl.C (erasePos): remove function, move contents...
2509 (erase): ... here. Return a bool.
2510 (erase): call erase instead of erasePos.
2512 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2514 * ParagraphList.h: define PitPosPair
2515 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2516 ParagraphList, fix a bug on pasting multiple pars
2517 * text2.C: change interface to C&P
2519 2003-04-30 André Pönitz <poenitz@gmx.net>
2521 * undo_func.C: revert part of yesterday's patch 2
2523 2003-04-30 John Levon <levon@movementarian.org>
2525 * LColor.C: s/tabular/table/
2527 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2529 * text3.C (dispatch): do not convert iterator -> pointer
2530 * undo_funcs.C (setCursorParUndo): ditto
2531 * text_funcs.C (transposeChars): ditto
2533 * text2.C (setLayout): ws changes only
2535 * text.C (breakParagraph): do not convert iterator -> pointer
2537 (acceptChange): ditto
2538 (rejectChange): ditto
2543 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2546 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2548 * text3.C (gotoInset): YABG (yet another bad getChar)
2550 2003-04-29 André Pönitz <poenitz@gmx.net>
2552 * paragraph.h: make operator= private unimplemented as long as
2555 * ParagraphList.C: whitespace
2558 * paragraph_pimpl.[Ch]:
2559 * paragraph_funcs.C:
2561 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2564 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2566 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2568 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2569 * paragraph.[Ch] (erase):
2570 * paragraph_pimpl.[Ch] (erase): change return type and value
2571 * text2.C (cutSelection): some rework
2573 2003-04-28 John Levon <levon@movementarian.org>
2575 * bufferlist.C: changes for unsaved changes dialog
2577 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2579 * bufferlist.C (newFile): set language (messages_) for new
2582 * buffer.C (readFile): ws changes only.
2584 2003-04-28 André Pönitz <poenitz@gmx.net>
2589 * BufferView_pimpl.C:
2590 * BufferView.C: getParFromID related ParagraphList::iterator changes
2592 2003-04-28 André Pönitz <poenitz@gmx.net>
2594 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2597 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2599 * messages.C: remove one more localedir class variable.
2601 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2603 * messages.C (getLocaleDir): singleton generation function
2605 (Messages): add a default constructor.
2607 * main.C (main): do not setup localedir here, do not call
2610 * gettext.C (_): use it.
2611 (gettext_init): delete funciton
2613 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2615 * gettext.C (getLyXMessages): new singleton generating function.
2617 * buffer.C (updateDocLang): adjust
2619 * Makefile.am (messages.o): add target
2620 (main.o): remove target
2622 2003-04-27 John Levon <levon@movementarian.org>
2627 * lyxvc.C: specify cancel button in Alert::prompt
2629 2003-04-26 John Levon <levon@movementarian.org>
2634 * LyXAction.C: add LFUN_INSET_SETTINGS
2636 * lyxfunc.C: don't enable tabular-feature when there's
2637 just any locking inset
2639 2003-04-26 John Levon <levon@movementarian.org>
2641 * bufferlist.C: re-add Cancel to buffer close question
2643 * lyxfunc.C: fix import UI a bit
2645 2003-04-25 John Levon <levon@movementarian.org>
2647 * gettext.C: remove the broken asserts for now
2649 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2651 * messages.C: make case where setlocale cannot comply work better.
2653 * buffer.C (updateDocLang): new function
2654 (changeLanguage): use it
2657 * text2.C (setCounter): use B_ a bit.
2659 * lyxlayout.C (Read): be sure to trim the label strings.
2661 * messages.C (Messages): fix typo in comment
2663 * buffer.C (readFile): set message_ after file is loaded.
2664 (makeDocBookFile): remove double return
2665 (changeLanguage): reset message_ upon language change.
2666 (B_): new func, use this to get translated buffer strings.
2668 * main.C: add myself and Jean Marc as authors.
2670 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * messages.[hC]: pimplify Messages, and three different pimpls to be
2673 used in different circumstances.
2675 * gettext.[Ch]: change for use with new message code.
2677 2003-04-24 André Pönitz <poenitz@gmx.net>
2679 * factory.C: support for eqref
2681 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2683 * messages.[Ch]: add missing char
2685 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2687 * messages.[Ch]: New files
2689 2003-04-18 John Levon <levon@movementarian.org>
2693 * BufferView_pimpl.C:
2697 * text2.C: remove layout-copy/paste (bug 778)
2699 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2701 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2703 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2705 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2706 if they succeed. Act accordingly.
2708 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2710 * text2.C (setCharFont): adjust
2711 (setCounter): adjust
2712 (insertStringAsLines): adjust
2714 * text.C (leftMargin): adjust
2715 (setHeightOfRow): adjust
2717 * rowpainter.C (paintFirst): adjust
2720 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2722 (isFirstInSequence): ditto
2723 (getEndLabel): ditto
2726 * paragraph.C (getParLanguage): comment out some hard stuff.
2728 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2730 (simpleDocBookOnePar): ditto
2731 (makeDocBookFile): use ParagraphList::iterator
2733 * CutAndPaste.C (pasteSelection): adjust
2735 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2737 * text2.C (getFont): adjust
2738 (getLayoutFont): adjust
2739 (getLabelFont): adjust
2741 * paragraph_funcs.C (TeXOnePar): adjust
2743 * buffer.C (simpleLinuxDocOnePar): adjust
2744 (simpleDocBookOnePar): adjust
2746 * CutAndPaste.C (pasteSelection): adjust
2748 * BufferView.C (getEncoding): adjust
2750 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2752 2003-04-16 John Levon <levon@movementarian.org>
2754 * lyxfind.C: use parlist stuff for search/changes
2756 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2760 * text2.C (deleteEmptyParagraphMechanism): adjust
2762 * text2.[Ch] (ownerParagraph): delete func (both of them
2764 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2766 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2768 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2770 * ParagraphList.C: prepare for NO_NEXT
2772 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2774 * text2.C (getFont): adjust
2775 (getLayoutFont): adjust
2776 (getLabelFont): adjust
2778 * paragraph.C (getFont): adjust
2779 (getLabelFont): adjust
2780 (getLayoutFont): adjust
2782 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2784 2003-04-15 John Levon <levon@movementarian.org>
2788 * lyx_main.C: handle Include in .ui files
2790 2003-04-15 John Levon <levon@movementarian.org>
2792 * MenuBackend.C: make the doc files length shorter
2795 * ToolbarBackend.C: handle toolbar placement flags,
2798 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2800 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2803 * paragraph_funcs.C (TeXOnePar): adjust
2805 * paragraph.C (getLabelFont): add outerfont arg, adjust
2806 (getLayoutFont): ditto
2807 (simpleTeXOnePar): adjust
2809 * paragraph_pimpl.C (realizeFont): delete func
2811 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2813 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2814 row argument, constify cur argument.
2816 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * text2.C (getFont): adjust
2819 (getLayoutFont): adjust
2820 (getLabelFont): adjust
2822 * paragraph_funcs.C (TeXOnePar): adjust
2823 (outerFont): new func...
2824 (realizeFont): ...moved out from here, changed this to facilitate
2827 * paragraph.C (getFont): take outerfont as arg, adjust
2828 (simpleTeXOnePar): add outerfont arg, adjust
2830 * buffer.C (simpleLinuxDocOnePar): adjust
2831 (simpleDocBookOnePar): adjust
2833 * CutAndPaste.C (pasteSelection): adjust
2835 * BufferView.C (getEncoding): adjust
2837 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * text2.C (setCharFont): adjust
2840 (setCounter): adjust
2842 * text.C (leftMargin): adjust
2843 (setHeightOfRow): adjust
2845 * rowpainter.C (paintFirst): adjust
2848 * paragraph_pimpl.C (realizeFont): adjust
2850 * paragraph.C (isFirstInSequence): move from here...
2851 * paragraph_funcs.C (isFirstInSequence): ...to here
2853 * paragraph.C (outerHook): move from here...
2854 * paragraph_funcs.C (outerHook): ...to here
2856 * paragraph.C (depthHook): move from here...
2857 * paragraph_funcs.C (depthHook): ...to here
2859 * paragraph.C (getEndLabel): move from here...
2860 * paragraph_funcs.C (getEndLabel): ...to here
2862 * text2.C (realizeFont): move from here...
2863 * paragraph_funcs.C (realizeFont): ...to here
2865 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2869 2003-04-14 Angus Leeming <leeming@lyx.org>
2871 * LColor.[Ch]: scrap LColor mathcursor.
2873 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2875 * lyxlex.[Ch] (text): delete function
2876 * trans.C (Load): adjust
2877 * paragraph_funcs.C (readParToken): adjust
2879 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2881 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2882 vector<char> instead of a char[].
2884 * lyxlex_pimpl.C (getString): adjust
2886 (lex): use getString
2890 * lyxlex.C (text): use pimpl_->getString()
2894 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2896 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2897 (makeFontEntriesLayoutSpecific): temp var for par.size()
2898 (setLayout): temp var for ownerParagraphs().end()
2899 (fullRebreak): temp var for rows().end()
2900 (selectionAsString): temp var for boost::next(startpit), realize
2901 that the while really is a regular for loop.
2902 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2903 setCursor in one place.
2904 (setParagraph): temp vr for ownerParagraphs().end()
2905 (updateCounters): make the while loop a for loop
2906 (cutSelection): temp var for ownerParagraphs().end()
2907 (updateInset): make the do {} while() a regular for loop
2908 (getCursorX): use temp vars
2909 (setCurrentFont): use temp vars
2910 (getColumnNearX): use temp vars
2912 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2914 * text.C (transformChar): use temp var for getChar
2915 (computeBidiTables): use temp var for row->par()
2916 (fill): move temp vars for row->par() and pit->layout() earlier in
2918 (labelFill): use temp var for row->par()
2919 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2920 asc and desc, realize that pit never changes and that firstpit is
2921 just a duplicate and not needed. Exchange rit->par() with pit in a
2923 (breakAgain): use a temp var for boost::next(rit)
2924 (breakAgainOneRow): ditto
2925 (breakParagraph): use a temp var for rows().begin()
2926 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2927 (cursorRightOneWord): use temp var for cursor.par() and
2928 cursor.pos(), remove usage of tmpcursor.
2929 (cursorLeftOneWord): use temp var for cursor.par() and
2930 cursor.pos() only set cur at end of function.
2932 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2934 * text.C, text2.C: exchange all usage of Paragraph::next with
2935 boost::next(ParagraphList::iterator)
2937 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2939 * text2.C (cursorTop): simplify implementation
2940 (cursorBottom): ditto
2941 (setParagraph): use ParagraphList::iterator
2942 (setCurrentFont): adjust
2943 (getColumnNearX): adjust
2944 (cursorRight): adjust
2945 (cursorLeft): remove usage of Paragraph::previous
2946 (cursorUpParagraph): ditto
2947 (deleteEmptyParagraphMechanism): slight cleanup
2949 * text.C (isBoundary): take a Paragraph const & instead of a
2951 (addressBreakPoint): ditto
2952 (leftMargin): remove usage of Paragraph::previous.
2953 (setHeightOfRow): ditto
2954 (cursorLeftOneWord): ditto
2955 (selectNextWordToSpellcheck): ditto
2958 (breakParagraph): remove one usage of Paragraph::next
2959 (redoParagraph): ditto
2960 (acceptChange): ditto
2961 (insertChar): adjust
2962 (rowBreakPoint): adjust
2964 * bufferview_funcs.C (toggleAndShow): adjust
2966 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2968 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2969 methods to access it.
2971 * text.C: Added updateRowPositions to compute all row positions.
2972 Make top_y and getRowNearY() to use the cached y position
2974 2003-04-11 John Levon <levon@movementarian.org>
2976 * text.C (rowBreakPoint): reintroduce the labelEnd
2977 checks, code copied from the row fill stuff. Deep voodoo.
2979 * text.C (fill): add a comment and debugging for the
2982 2003-04-11 John Levon <levon@movementarian.org>
2984 * text.C: make sure fullrow insets get wrapped to the next line,
2985 even when they're in a manual label
2987 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2989 * text2.C (insertParagraph): make it take ParagraphList::iterator
2991 (setLayout): make it return ParagraphList::iterator
2992 (redoParagraphs): ditto
2994 (checkParagraph): ditto
2996 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2998 * text2.C: adjust several funcs.
2999 (realizeFont): take a ParagraphList::iterator as arg.
3000 (getLayoutFont): ditto
3001 (getLabelFont): ditto
3002 (setCharFont): ditto
3004 * text.C: adjust several funcs.
3006 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3008 * text.C (selectNextWordToSpellcheck): don't accidentally
3011 2003-04-10 John Levon <levon@movementarian.org>
3013 * ToolbarBackend.C (getIcon): special handling for
3016 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3018 * text2.C (cursorRight): a getChar assert fixed
3020 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3022 * text2.C (getFont): change to take a ParagraphList::iterator
3023 instead of Paragraph*
3024 Adjust several functions.
3026 * text.C (transformChar): change to take a ParagraphList::iterator
3027 instead of Paragraph*
3028 (singleWidth): ditto
3029 Adjust several functions.
3031 * rowpainter.C: adjust several functions
3032 * rowpainter.h:store a ParagraphList::iterator and not a
3036 2003-04-09 John Levon <levon@movementarian.org>
3041 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3042 and the "help" bits as well
3044 2003-04-09 John Levon <levon@movementarian.org>
3047 * ToolbarBackend.C: allow multiple toolbars
3049 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3051 * undo_funcs.C (setCursorParUndo): adjust
3053 * text_funcs.C (transposeChars): adjust
3055 * text3.C (gotoNextInset): adjust
3058 * text2.C (setLayout): adjust
3059 (changeDepth): adjust
3061 (redoParagraphs): adjust
3062 (selectionAsString): adjust
3063 (setParagraph): adjust
3064 (insertInset): adjust
3065 (cutSelection): adjust
3066 (copySelection): adjust
3067 (pasteSelection): adjust
3068 (insertStringAsLines): adjust
3069 (updateInset): adjust
3070 (setCursor): change to take a ParagraphList::iterator parameter
3071 (setCursorIntern): change to take a ParagraphList::iterator parameter
3072 (setCurrentFont): adjust
3073 (cursorLeft): adjust
3074 (cursorRight): adjust
3075 (deleteEmptyParagraphMechanism): adjust
3077 * text.C (breakParagraph): adjust
3078 (insertChar): adjust
3079 (acceptChange): adjust
3080 (rejectChange): adjust
3081 (selectNextWordToSpellcheck): adjust
3082 (changeCase): adjust
3086 * lyxfind.C (SearchForward): adjust
3087 (SearchBackward): adjust
3088 (nextChange): adjust
3090 * lyxcursor.C (par): adjust
3092 * lyxcursor.h: store a ParagraphList::iterator instead of a
3095 * lyx_cb.C (getPossibleLabel): adjust
3097 * bufferview_funcs.C (toggleAndShow): adjust
3099 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3102 * BufferView.C (removeAutoInsets): adjust
3103 (lockedInsetStoreUndo): adjust
3105 2003-04-09 John Levon <levon@movementarian.org>
3107 * ToolbarBackend.C: try icon without argument
3108 if with argument fails
3110 2003-04-08 John Levon <levon@movementarian.org>
3113 * ToolbarBackend.C: add getIcon(), handle tooltip,
3114 and change from "Icon" to "Item".
3116 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3118 * BufferView.C (lockInset): another bad getchar crunched
3120 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3122 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3125 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3127 * lyxfind.C (searchForward, searchBackwards): bug 782
3129 2003-04-07 John Levon <levon@movementarian.org>
3131 * paragraph.C: remove dead comment
3133 * text.C: remove troublesome depth-fiddling code
3134 in leftMargin() and rightMargin() (bug 1017)
3136 * text.C: fix breaking of rows in nested lists
3139 * text2.C (updateCounters): fix up depth values
3142 2003-04-07 John Levon <levon@movementarian.org>
3144 * BufferView_pimpl.C: clear message when doc finishes resizing,
3145 and after a mouse event
3147 * lyxfunc.C: clear message after exiting inset
3149 2003-04-07 John Levon <levon@movementarian.org>
3151 * bufferview_funcs.C: show math status not outside
3152 status in the statusbar
3154 2003-04-07 John Levon <levon@movementarian.org>
3156 * lyxfunc.C: note status changed after a depth change
3158 2003-04-04 Angus Leeming <leeming@lyx.org>
3160 * LaTeX.h: move AuxInfo operator==, != out of line.
3161 Remove LaTeX virtual destructor; nothing derives from it.
3162 Move operator()() out of public area and rename it startscript().
3163 Change protected for private.
3165 2003-04-04 Angus Leeming <leeming@lyx.org>
3168 * text2.C: remove unneeded #includes.
3170 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3172 * text2.C (dEPM): fix the heigth of the next row
3174 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3176 * text.C: squashed an invalid getChar requester + some ws changes
3178 2003-04-03 John Levon <levon@movementarian.org>
3180 * bufferview_funcs.h:
3181 * bufferview_funcs.C:
3184 * text2.C: make getStatus work for the env depth lfuns
3186 2003-04-03 John Levon <levon@movementarian.org>
3188 * bufferview_funcs.h:
3189 * bufferview_funcs.C:
3192 * text2.C: parlistize decDepth(), by merging it with incDepth()
3194 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3196 * lyxrow.h: store a ParagraphList::iterator instead of a
3197 Paragraph* and adjust other class functions to suit.
3199 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3202 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3204 * text2.C (setCursor): do not anchor to cursor row for the time being
3206 2003-04-02 John Levon <levon@movementarian.org>
3213 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3215 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3217 * paragraph.h: make ParagraphList and ParagraphList::iterator
3218 friends of Paragraph.
3220 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3222 * ParagraphList.C: Use the private next_ and previous_ from
3225 2003-04-01 John Levon <levon@movementarian.org>
3229 * Makefile.am: rename, remove defaults gunk
3232 * MenuBackend.C: remove defaults gunk
3235 * Languages.C: remove defaults gunk
3238 * lyx_main.C: error out if files couldn't be found.
3240 2003-04-02 John Levon <levon@movementarian.org>
3242 * text2.C: make incDepth() use parlist
3244 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3246 * undo_funcs.C (firstUndoParagraph): adjust
3248 * text3.C (gotoInset): adjust
3249 (dispatch): adjust, and rewrite loop.
3251 * text2.C (init): adjust, and rewrite loop.
3252 (redoParagraphs): adjust
3253 (updateInset): adjust, and rewrite loop.
3254 (deleteEmptyParagraphMechanism): adjust
3256 * tabular.C (LyXTabular): adjust
3257 (SetMultiColumn): adjust
3260 * lyxtext.[Ch] (ownerParagraph): delete function
3261 (ownerParagraphs): new function returns a ParagraphList.
3263 * BufferView.C (removeAutoInsets): adjust
3264 (insertErrors): adjust
3265 (setCursorFromRow): adjust
3267 2003-04-01 Angus Leeming <leeming@lyx.org>
3269 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3272 2003-04-02 John Levon <levon@movementarian.org>
3278 * text_funcs.C: make transposeChars a free function
3280 * lyxrow_funcs.C: remove wrong comment
3282 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3285 * rowpainter.C: adjust
3290 * lyxrow_funcs. [Ch]: new files
3292 * lyxrow.[Ch]: remove next and previous pointers
3293 (next,previous): remove accessor functions
3294 (isParEnd): move to lyxrow_funcs
3295 (lastPos): move to lyxrow_funcs
3296 (nextRowIsAllInset): move to lyxrow_funcs
3297 (lastPrintablePos): move to lyxrow_funcs
3298 (numberOfSeparators): move to lyxrow_funcs
3299 (numberOfHfills): move to lyxrow_funcs
3300 (numberOfLabelHfills): move to lyxrow_funcs
3301 (hfillExpansion): move to lyxrow_funcs
3305 * bufferview_funcs.C (toggleAndShow): adjust
3307 * RowList.h: Remove class RowList from file leave just a
3310 * RowList.C: delete file
3312 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3315 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * text3.C (cursorPrevious): adjust
3318 (cursorNext): adjust
3321 * text2.C (redoHeightOfParagraph): adjust
3322 (redoDrawingOfParagraph): adjust
3325 * text.C (breakParagraph): adjust
3326 (insertChar): adjust
3329 * rowpainter.C (RowPainter): adjust
3330 (leftMargin): simplify and adjust
3331 (most rowpainter functions): adjust.
3333 * rowpainter.h: store the row as RowList::iterator not as Row*
3335 * lyxcursor.C (row): taka RowList::iterator as arg
3338 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3341 2003-04-01 Angus Leeming <leeming@lyx.org>
3343 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3344 stuff like bool Bool.
3346 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3348 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3351 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3353 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3356 * lyxtext.h (rows): drop one version and leve a const variant that
3357 returns a RowList::iterator.
3359 2003-03-31 Angus Leeming <leeming@lyx.org>
3361 * text.C (fill): ensure that the signature is the same as that in the
3364 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3366 * text2.C (redoParagraphs): adjust
3367 (updateCounters): adjust
3368 (checkParagraph): adjust
3369 (getColumnNearX): adjust and reformat a bit.
3371 * text.C (top_y): adjust
3373 (leftMargin): adjust
3374 (prepareToPrint): adjust
3376 (getRowNearY): adjust
3378 * lyxtext.h: make rowlist_ mutable.
3380 * RowList.h: add const_iterator
3381 * RowList.C: adjust for RowList::const_iterator.
3383 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3386 2003-03-31 John Levon <levon@movementarian.org>
3389 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3391 * lyx_main.C: set default fonts from using lyx_gui funcs
3393 * exporter.C: pdf_mode moved from lyxrc
3396 * lyxfunc.C: changes from above
3398 2003-03-31 John Levon <levon@movementarian.org>
3400 * lyx_main.C: fix to the last fix
3402 2003-03-31 John Levon <levon@movementarian.org>
3404 * bufferlist.C: "Load original" -> "Load Original"
3410 * format.C: more Alert cleanups
3412 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3414 * text2.C (removeParagraph): make it take a RowList::iterator as
3416 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3417 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3419 * text.C (anchor_row): make it take a RowList::iterator as arg,
3421 (computeBidiTables): make it take a const reference to Row instead
3422 of Row pointer, adjust.
3423 (leftMargin): make it take a RowList::iterator as arg, adjust.
3424 (rowBreakPoint): adjust
3425 (breakAgainOneRow): make it take a RowList::iterator as arg,
3427 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3429 * bufferview_funcs.C (toggleAndShow): adjust
3431 2003-03-30 John Levon <levon@movementarian.org>
3435 * boost-inst.C: moved to support
3437 * several files: changes as a result
3439 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3441 * text2.C (LyXText): adjust.
3443 (removeRow): make it take a RowList::iterator as arg, adjust.
3444 (fullRebreak): adjust
3445 (deleteEmptyParagraphMechanism): adjust
3446 (clearPaint): adjust
3449 * text.C (top_y): adjust
3450 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3451 (breakAgain): make it take a RowList::iterator as arg, adjust.
3452 (breakParagraph): adjust
3453 (insertChar): adjust
3456 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3457 need_break_row, and refresh_row.
3459 * text3.C (dispatch): adjust
3461 * text2.C (checkParagraph): adjust
3463 (setCursorFromCoordinates): adjust
3465 * text.C (top_y): adjust
3467 (getRow): make it return a RowList::iterator, adjust
3468 (getRowNearY): make it return a RowList::iterator, adjust
3470 * text2.C (init): adjust
3471 (insertRow): remove function
3472 (insertParagraph): adjust
3473 (redoParagraphs): adjust
3474 (fullRebreak): adjust
3475 (updateCounters): adjust
3477 * text.C (top_y): rewrite to use RowList iterators.
3479 (setHeightOfRow): rewrite to sue RowList iterators.
3480 (appendParagraph): adjust
3481 (breakAgain): adjust
3482 (breakAgainOneRow): adjust
3483 (breakParagraph): adjust
3485 (getRowNearY): adjust, and remove commented code.
3487 * lyxtext.h (firstRow): delete function
3488 (lastRow): delete function
3489 (rows): new function (const and non-const versions.)
3490 (insertRow): delete function
3492 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3494 2003-03-29 John Levon <levon@movementarian.org>
3496 * BufferView_pimpl.C: always update scrollbar top
3497 because pasting text when we're anchored could mean we
3498 miss an update altogether
3500 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3502 * text2.C (init): use rowlist_.end() and not 0.
3503 (insertRow): change to take a RowList::iterator as arg, adjust
3505 (insertParagraph): change to take a RowList::iterator as arg,
3507 (redoParagraphs): remove some debug msgs.
3509 * text.C (appendParagraph): change to take a RowList::iterator
3510 arg, adjust for this.
3511 (breakAgain): add an assert
3512 (breakAgainOneRow): ditto
3514 2003-03-29 John Levon <levon@movementarian.org>
3516 * text2.C: do not clear selection after inc/decDepth
3519 2003-03-29 John Levon <levon@movementarian.org>
3522 * buffer.C: fix broken strerrors according to Lars
3524 2003-03-29 John Levon <levon@movementarian.org>
3526 * converters.C: more Alert cleanups
3528 2003-03-29 John Levon <levon@movementarian.org>
3530 * bufferview_funcs.C: remove pointless Alert
3532 * buffer.C: fix confusing error message when
3533 a template is chmoded 000
3535 2003-03-29 John Levon <levon@movementarian.org>
3539 * BufferView_pimpl.C: Alert fixes
3543 * tabular-old.C: remove unused table compat reading
3545 2003-03-29 John Levon <levon@movementarian.org>
3550 * lyx_cb.C: more Alert cleanups
3552 * lyxfunc.C: don't allow chktex if not latex document
3554 2003-03-29 John Levon <levon@movementarian.org>
3558 * buffer.C: warnings pushed down from support/,
3561 2003-03-29 John Levon <levon@movementarian.org>
3563 * lyxfunc.C: safety check for C-r (revert)
3565 2003-03-29 John Levon <levon@movementarian.org>
3568 * bufferlist.C: several UI fixes using Alert::prompt.
3569 Fix the pointless looping quit code. Fix stupid revert
3574 * lyx_cb.C: use Alert::prompt
3576 * lyx_main.C: remove a silly question
3578 * lyxfunc.C: remove a couple of silly questions,
3581 2003-03-28 John Levon <levon@movementarian.org>
3583 * text2.C: fix bug 974 (End on empty par)
3585 2003-03-28 John Levon <levon@movementarian.org>
3587 * BufferView_pimpl.C:
3589 * lfuns.h: remove do-nothing math greek lfuns
3591 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3593 * lyxgluelength.h (isValidGlueLength): add default arg on
3594 parameter 2. Remove default arg from friend in class.
3596 * lyxlength.h (isValidLength): add default arg on parameter 2.
3597 Remove default arg from friend in class.
3599 * text2.C (LyXText): adjust, initialize refresh_row.
3603 (insertParagraph): adjst
3604 (redoParagraphs): adjust
3605 (fullRebreak): adjust
3606 (updateCounters): adjust
3607 (deleteEmptyParagraphMechanism): first attempt at fixing a
3610 * text.C (top_y): adjust
3611 (setHeightOfRow): adjust
3613 (getRowNearY): adjust
3615 * lyxtext.h: include RowList.h
3616 (~LyXText): not needed anymore, deleted.
3617 (firstRow): modify for RowList
3618 (lastRow): new function
3619 Delete firstrow and lastrow class variables, add a Rowlist
3620 rowlist_ class variable.
3622 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3625 * RowList.C (insert): fix case where it == begin().
3627 2003-03-26 Angus Leeming <leeming@lyx.org>
3629 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3630 the thesaurus dialog.
3632 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3636 * RowList.[Ch]: new files
3638 * ParagraphList.C (erase): handle the case where it == begin
3641 2003-03-25 John Levon <levon@movementarian.org>
3645 * aspell.C: add new aspell support
3648 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3651 2003-03-25 Angus Leeming <leeming@lyx.org>
3654 * LyXAction.C (init): new LFUN_INSET_INSERT.
3656 * BufferView_pimpl.C (dispatch): split out part of the
3657 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3659 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3662 2003-03-25 Angus Leeming <leeming@lyx.org>
3664 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3666 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3669 * text3.C: remove useless row->height(0)
3671 2003-03-25 John Levon <levon@movementarian.org>
3675 * text3.C: rename the refreshing stuff to better names
3677 2003-03-24 John Levon <levon@movementarian.org>
3679 * BufferView_pimpl.h:
3680 * BufferView_pimpl.C: update layout choice on a mouse
3683 2003-03-23 John Levon <levon@movementarian.org>
3685 * Makefile.am: fix commandtags.h reference
3687 2003-03-22 John Levon <levon@movementarian.org>
3689 * BufferView_pimpl.C:
3694 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3696 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3699 * text.C: take the rtl methods out of line
3701 2003-03-21 André Pönitz <poenitz@gmx.net>
3703 * metricsinfo.[Ch]: new files containing structures to be passed around
3704 during the two-phase-drawing...
3706 2003-03-21 André Pönitz <poenitz@gmx.net>
3708 * lyxtextclass.C: read 'environment' tag.
3710 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3712 * text2.C (removeRow): fix bug 964
3714 2003-03-20 John Levon <levon@movementarian.org>
3718 * text2.C: paint cleanups. Inset::update() dropped font
3721 2003-03-19 John Levon <levon@movementarian.org>
3723 * lyxfunc.C: only fitcursor/markDirty if available()
3725 2003-03-19 John Levon <levon@movementarian.org>
3727 * commandtags.h: rename to ...
3729 * lfuns.h: ... this, and renumber / cleanup
3731 2003-03-19 John Levon <levon@movementarian.org>
3733 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3734 fit the cursor after an lfun
3738 * BufferView_pimpl.h:
3739 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3741 * LyXAction.C: layout-character should have ReadOnly
3743 * ParagraphParameters.C:
3745 * bufferview_funcs.C:
3752 * undo_funcs.C: changes from above
3754 2003-03-18 John Levon <levon@movementarian.org>
3756 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3757 remove it from update()
3759 * lyxfunc.C: update layout choice after an lfun
3761 * text3.C: remove extra updateLayoutChoice()s
3763 2003-03-18 John Levon <levon@movementarian.org>
3765 * text.C: top_y change means full repaint, fix
3766 a drawing bug with cursor movement
3768 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3772 * text2.C: anchor row on setCursor
3774 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3776 * lyxtext.h: remove almost all mutable keywords
3779 * text3.C: remove const keywords accordingly
3781 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3783 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3785 (TeXEnvironment): ditto
3788 2003-03-17 John Levon <levon@movementarian.org>
3790 * text.C (rowBreakPoint): remove attempt to fix displayed
3791 math insets inside a manual label
3793 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3795 * lyxtext.h: remove BufferView* as first arg from almost all class
3797 * other files: adjust.
3799 2003-03-17 John Levon <levon@movementarian.org>
3803 * text2.C: more paint cleanups
3805 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3808 * rowpainter.C: remove "smart" background painting code
3810 2003-03-16 John Levon <levon@movementarian.org>
3815 * text3.C: add helper functions for setting refresh_row/y
3817 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3819 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3820 newline inset which *can* get inserted in the pass_thru layouts.
3821 This is primarily for literate documents.
3823 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3825 * buffer.C: increment LYX_FORMAT to 223
3827 2003-03-14 André Pönitz <poenitz@gmx.net>
3829 * textclass.h: prepare for environment handling, ws changes
3830 * lyxlayout.C: read latexheader and latexfooter tags
3832 2003-03-14 John Levon <levon@movementarian.org>
3834 * text2.C: rewrite ::status() a bit
3836 2003-03-13 John Levon <levon@movementarian.org>
3838 * lyxtext.h: add some docs
3840 2003-03-13 John Levon <levon@movementarian.org>
3845 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3847 2003-03-13 John Levon <levon@movementarian.org>
3849 * text3.C: fix appendix redrawing
3851 2003-03-13 John Levon <levon@movementarian.org>
3853 * text.C (setHeightOfRow):
3855 * rowpainter.C: make appendix mark have the text
3856 "Appendix" so the user knows what it is
3859 * LColor.C: s/appendixline/appendix/ from above
3861 2003-03-13 John Levon <levon@movementarian.org>
3863 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3865 * text.C: fix a getChar(pos) bug properly
3867 2003-03-13 Angus Leeming <leeming@lyx.org>
3870 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3871 Probably only temporary. Let's see how things pan out.
3873 * BufferView.C (unlockInset):
3874 * BufferView_pimpl.C (fitCursor):
3875 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3877 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3878 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3880 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3881 new functions that convert ParagraphParameters to and from a string.
3883 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3884 BufferView::Pimpl's dispatch.
3885 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3887 2003-03-13 André Pönitz <poenitz@gmx.net>
3891 * factory.C: make it aware of InsetEnv
3893 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3895 * text2.C (setCursor): never ask for one past last
3896 (setCursor): add some debugging messages.
3898 * text.C (singleWidth): never ask for one past last
3899 (singleWidth): ditto
3901 (rightMargin): ditto
3902 (rowBreakPoint): ditto
3903 (setHeightOfRow): ditto
3904 (prepareToPrint): ditto
3906 * rowpainter.C (paintBackground): never ask for one past last
3907 (paintText): never ask for one past last
3909 * paragraph_pimpl.C (getChar): make the assert stricter, never
3910 allow the one past last pos to be taken
3912 * paragraph.C (getChar): ws changes only
3914 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3915 (numberOfSeparators): ditto
3916 (numberOfHfills): ditto
3918 2003-03-12 John Levon <levon@movementarian.org>
3924 * paragraph_funcs.C: fix per-buffer authorlists
3926 2003-03-12 John Levon <levon@movementarian.org>
3928 * text.C: fix newline in right address
3930 2003-03-12 Angus Leeming <leeming@lyx.org>
3932 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3933 duplicate those in LyXFunc::dispatch.
3937 * ToolbarDefaults.C:
3938 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3939 Add LFUN_FONTFREE_UPDATE.
3941 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3942 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3944 * bufferview_func.[Ch]: several new functions to facilliate
3945 transfer of data to and from the character dialog.
3947 2003-03-12 John Levon <levon@movementarian.org>
3952 * paragraph_funcs.C:
3953 * paragraph_pimpl.C:
3957 * text3.C: remove META_NEWLINE in favour of an inset
3960 * rowpainter.C: remove paintNewline (done by inset)
3962 2003-03-12 John Levon <levon@movementarian.org>
3964 * paragraph_pimpl.C: complain about bad getChar()s
3965 for a while at least
3967 2003-03-12 John Levon <levon@movementarian.org>
3970 * buffer.C: move paragraph read into a separate function,
3971 a little renaming to reflect that.
3974 * bufferparams.C: remove the author_ids map, not necessary now
3977 * factory.C: moved Buffer::readInset to here
3979 * paragraph_funcs.h:
3980 * paragraph_funcs.C: readParagraph free function moved from
3983 * tabular.C: name change
3985 2003-03-12 John Levon <levon@movementarian.org>
3988 * ParagraphParameters.C: move par params input to
3991 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3992 behave like a normal read from the stream wrt reading
3993 a line vs. a \\token
3995 2003-03-12 John Levon <levon@movementarian.org>
3998 * ParagraphParameters.h:
3999 * ParagraphParameters.C: move output code to a
4002 2003-03-12 John Levon <levon@movementarian.org>
4004 * BufferView.C (insertLyXFile):
4007 * tabular.C: use a parlist iterator for creating the
4010 2003-03-12 John Levon <levon@movementarian.org>
4012 * buffer.C: make current_change static local not
4015 2003-03-12 John Levon <levon@movementarian.org>
4017 * buffer.C: fix insertStringAsLines for change tracking
4019 2003-03-12 John Levon <levon@movementarian.org>
4026 * bufferparams.C: move author list into params. Rename some
4027 functions. Move the header reading into a separate token
4028 loop. Move the header token reading into BufferParams.
4030 2003-03-12 John Levon <levon@movementarian.org>
4032 * changes.C: put debug inside lyxerr.debugging() checks
4034 2003-03-11 André Pönitz <poenitz@gmx.net>
4036 * factory.C: make it aware of InsetHFill
4038 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4040 * buffer.C (latexParagraphs): move function from here...
4041 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4044 2003-03-10 Angus Leeming <leeming@lyx.org>
4046 * LyXAction.C (init): fix bug in poplating array with multiple entries
4047 with the same LFUN (spotted by JMarc).
4049 2003-03-10 John Levon <levon@movementarian.org>
4052 * text2.C: move getColumnNearX() near its
4055 2003-03-10 John Levon <levon@movementarian.org>
4057 * text.C: fix break before a minipage
4059 2003-03-10 John Levon <levon@movementarian.org>
4061 * text.C: fix the last commit
4063 2003-03-09 John Levon <levon@movementarian.org>
4067 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4068 bug 365 (don't break before insets unless needed). Don't
4069 return a value > last under any circumstances.
4071 2003-03-09 Angus Leeming <leeming@lyx.org>
4073 * BufferView_pimpl.C (trackChanges, dispatch): call
4074 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4076 2003-03-09 Angus Leeming <leeming@lyx.org>
4078 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4079 than Dialogs::showAboutlyx().
4081 2003-03-09 Angus Leeming <leeming@lyx.org>
4083 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4084 than Dialogs::showTabularCreate().
4086 2003-03-09 John Levon <levon@movementarian.org>
4090 * text2.C: 3rd arg to nextBreakPoint was always the same.
4093 2003-03-08 John Levon <levon@movementarian.org>
4100 * text2.C: Remove the "main" bit from the "main body"
4103 2003-03-08 John Levon <levon@movementarian.org>
4105 * text.C (leftMargin): The left margin of an empty
4106 manual label paragraph should not include the label width
4109 * text.C (prepareToPrint): don't attempt to measure hfills
4110 for empty manual label paragraphs - the answer should be 0
4112 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * CutAndPaste.C: remove commented code and reindent.
4116 2003-03-08 John Levon <levon@movementarian.org>
4119 * lyxfunc.C: move reloadBuffer()
4122 * BufferView.C: to here
4124 * lyxvc.C: add comment
4127 * vc-backend.C: call bv->reload() to avoid
4128 getStatus() check on MENURELOAD
4130 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4132 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4133 to an old format .dep file.
4135 2003-03-07 Angus Leeming <leeming@lyx.org>
4137 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4138 when the LFUN_MOUSE_RELEASE should have been handled by
4139 inset->localDispatch.
4141 2003-03-07 Angus Leeming <leeming@lyx.org>
4143 * BufferView_pimpl.C (dispatch):
4144 * LyXAction.C (init):
4145 * ToolbarDefaults.C (init):
4147 * lyxfunc.C (getStatus):
4148 remove LFUN_INSET_GRAPHICS.
4150 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4152 2003-03-07 Angus Leeming <leeming@lyx.org>
4155 * LyXAction.C (init):
4156 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4158 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4161 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4163 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4164 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4166 2003-03-07 Angus Leeming <leeming@lyx.org>
4168 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4171 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4173 * ParagraphList.C (front): new function
4176 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4178 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4179 and top_row_offset_. removed var first_y.
4181 * text2.C (LyXText, removeRow):
4183 * BufferView_pimpl.C:
4184 use these methods instead of using first_y
4186 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * text2.C (pasteSelection): adjust for checkPastePossible
4190 * CutAndPaste.C: remove Paragraph * buf and replace with
4191 ParagraphList paragraphs.
4192 (DeleteBuffer): delete
4193 (cutSelection): change the tc type to textclass_type
4194 (copySelection): change the tc type to textclass_type
4195 (copySelection): adjust for ParagraphList
4196 (pasteSelection): change the tc type to textclass_type
4197 (pasteSelection): adjust for Paragraphlist
4198 (nrOfParagraphs): simplify for ParagraphList
4199 (checkPastePossible): simplify for ParagraphList
4200 (checkPastePossible): remove unused arg
4202 * ParagraphList.C (insert): handle the case where there are no
4205 * CutAndPaste.h: make CutAndPaste a namespace.
4207 * text3.C (dispatch): adjust
4209 * text.C (breakParagraph): add a ParagraphList as arg
4211 * paragraph_funcs.C (breakParagraph): change to take a
4212 BufferParams and a ParagraphList as args.
4213 (breakParagraphConservative): ditto
4214 (mergeParagraph): ditto
4215 (TeXDeeper): add a ParagraphList arg
4216 (TeXEnvironment): ditto
4219 * buffer.C (readLyXformat2): adjust
4220 (insertStringAsLines): adjust
4221 (latexParagraphs): adjust
4223 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4224 (cutSelection): adjust
4225 (pasteSelection): adjust
4227 * BufferView_pimpl.C (insertInset): adjust
4229 2003-03-05 Angus Leeming <leeming@lyx.org>
4232 * LyXAction.C (init):
4233 * BufferView_pimpl.C (dispatch):
4234 * lyxfunc.C (getStatus):
4235 remove LFUN_CHILD_INSERT.
4237 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4239 2003-03-05 Angus Leeming <leeming@lyx.org>
4242 * LyXAction.C (init):
4243 * src/factory.C (createInset):
4244 * lyxfunc.C (getStatus):
4245 * text3.C (dispatch):
4246 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4248 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4250 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * ParagraphList.C (insert): handle insert right before end()
4253 (erase): fix cases where it can be first or last paragraph.
4255 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4257 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4258 Paragraph::next and Paragraph::previous
4261 * text.C (breakParagraph): adjust
4263 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4264 BufferParams& as arg.
4265 (breakParagraph): use ParagraphList::insert
4266 (breakParagraphConservative): take a Buffer* instead of a
4267 BufferParams& as arg.
4268 (breakParagraphConservative): use ParagraphList::insert.
4270 * buffer.C (insertStringAsLines): un-const it
4271 (insertStringAsLines): adjust
4273 * ParagraphList.C (insert): new function
4275 * CutAndPaste.C (pasteSelection): adjust
4277 * text.C (backspace): adjust
4279 * tabular.C (SetMultiColumn): adjust
4281 * CutAndPaste.C (cutSelection): adjust
4282 (pasteSelection): adjust
4284 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4285 Buffer const * as arg
4287 * ParagraphList.C (erase): new function
4288 * paragraph_funcs.C (mergeParagraph): use it
4289 (mergeParagraph): make it take a Buffer* instead of a
4290 BufferParams* as arg
4292 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4294 (breakParagraphConservative): ditto
4296 * paragraph.h: remove the breakParagraph friend
4298 * paragraph.C (eraseIntern): new function
4299 (setChange): new function
4301 * paragraph_funcs.C (mergeParagraph): make it take a
4302 ParagraphList::iterator instead of a Paragraph *, adjust
4305 * paragraph.h: move an #endif so that the change tracking stuff
4306 also works in the NO_NEXT case.
4308 2003-03-04 Angus Leeming <leeming@lyx.org>
4311 * LyXAction.C: new LFUN_INSET_MODIFY.
4313 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4314 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4316 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4318 * several files: ws changes only
4320 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4321 (TeXEnvironment): ditto
4324 * buffer.C (makeLaTeXFile): adjust
4325 (latexParagraphs): make it take ParagraphList::iterator as args
4327 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4329 * buffer.C (latexParagraphs): adjust
4331 * paragraph.C (TeXOnePar): move function...
4332 (optArgInset): move function...
4333 (TeXEnvironment): move function...
4334 * paragraph_pimpl.C (TeXDeeper): move function...
4335 * paragraph_funcs.C: ...here
4337 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4339 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4341 * buffer.C (readInset): remove compability code for old Figure and
4344 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4346 * buffer.C: ws changes
4349 * BufferView_pimpl.C: ditto
4352 * bufferlist.h: ditto
4356 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4358 * converter.[Ch]: split into itself +
4361 * Makefile.am: += graph.[Ch] + format.[Ch]
4368 * lyxrc.C: added #include "format.h"
4370 2003-02-27 Angus Leeming <leeming@lyx.org>
4372 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4375 * factory.C (createInset): add "label" to the factory.
4377 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4378 string and do no more.
4380 2003-02-27 Angus Leeming <leeming@lyx.org>
4383 * LyXAction.C (init):
4384 * factory.C (createInset):
4385 * BufferView_pimpl.C (dispatch):
4386 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4388 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4390 * lyxfunc.C (dispatch):
4391 * text3.C (dispatch): pass name to params2string.
4393 2003-02-26 Angus Leeming <leeming@lyx.org>
4395 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4397 Rearrange the ~includes. Strip out the unnecessary ones.
4399 * factory.C (createInset): reformat.
4400 create new insets for the various LFUN_XYZ_APPLY lfuns.
4402 2003-02-26 John Levon <levon@movementarian.org>
4405 * lyxrow.C: add isParStart,isParEnd helpers
4407 * paragraph.h: make isInserted/DeletedText take refs
4409 * paragraph_funcs.h:
4410 * paragraph_funcs.C: remove #if 0'd code
4415 * text.C: use lyxrow helpers above.
4416 Move draw and paint routines to RowPainter.
4417 Make several methods use refs not pointers.
4418 Make backgroundColor() const.
4419 Add markChangeInDraw(), isInInset().
4420 Merge changeRegionCase into changeCase.
4421 Make workWidth() shouldn't-happen code into an Assert.
4424 * rowpainter.C: new class for painting a row.
4427 * vspace.C: make inPixels take a ref
4429 2003-02-26 Angus Leeming <leeming@lyx.org>
4431 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4434 2003-02-25 John Levon <levon@movementarian.org>
4436 * ispell.C: give the forked command a more accurate name
4438 2003-02-22 John Levon <levon@movementarian.org>
4441 * toc.C: make TocItem store an id not a Paragraph *
4444 2003-02-21 Angus Leeming <leeming@lyx.org>
4446 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4447 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4448 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4449 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4450 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4451 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4453 * BufferView_pimpl.C (dispatch):
4454 * LyXAction.C (init):
4455 * factory.C (createInset):
4456 * lyxfunc.C (getStatus, dispatch):
4457 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4459 2003-02-21 Angus Leeming <leeming@lyx.org>
4461 * BufferView_pimpl.C (MenuInsertLyXFile):
4462 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4463 * lyxfunc.C (menuNew, open, doImport):
4464 no longer pass a LyXView & to fileDlg.
4466 2003-02-21 Angus Leeming <leeming@lyx.org>
4468 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4469 * LyXAction.C: change, BIBKEY to BIBITEM.
4470 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4471 Change InsetBibKey to InsetBibitem.
4472 Change BIBKEY_CODE to BIBITEM_CODE.
4473 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4474 * factory.C: replace insetbib.h with insetbibitem.h.
4475 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4476 * paragraph.C: replace insetbib.h with insetbibitem.h.
4477 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4478 Change bibkey() to bibitem().
4479 * text.C: remove insetbib.h.
4480 * text2.C: replace insetbib.h with insetbibitem.h.
4481 change bibkey() to bibitem().
4482 * text3.C: remove insetbib.h.
4483 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4485 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4487 * lyxrc.C (output): enclose user email in quotes (in case there are
4490 2003-02-18 John Levon <levon@movementarian.org>
4492 * buffer.h: add std::
4494 2003-02-17 John Levon <levon@movementarian.org>
4500 * pspell.C: reworking. Especially in ispell, a large
4501 number of clean ups and bug fixes.
4503 * lyxfunc.C: fix revert to behave sensibly
4505 2003-02-17 André Pönitz <poenitz@gmx.net>
4508 * commandtags.h: new LFUN_INSERT_BIBKEY
4518 * paragraph_func.C: remove special bibkey handling
4520 2003-02-17 John Levon <levon@movementarian.org>
4522 * text.C (Delete): fix case where delete at the end of
4523 the very first paragraph would not merge the pars
4525 2003-02-17 John Levon <levon@movementarian.org>
4527 * lyxrow.C: fix lastPrintablePos()
4529 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4531 * bufferparams.C (writeLaTeX): add a std:here
4533 * buffer.C: and remove a using directive there
4535 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4537 * buffer.C (makeLaTeXFile): move the code that generates the
4540 * bufferparams.C (writeLaTeX): ... in this new method
4542 * LaTeXFeatures.C (getEncodingSet): make const
4543 (getLanguages): make const
4545 * MenuBackend.C (binding): returns the binding associated to this
4547 (add): sets the status of each item by calling getStatus. Adds
4549 (read): add support for OptSubMenu
4550 (expand): remove extra separator at the end of expanded menu
4552 2003-02-15 John Levon <levon@movementarian.org>
4555 * BufferView_pimpl.C:
4557 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4558 inset code that had no actual effect. Remove unneeded status
4561 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4563 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4566 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4568 * text.C (drawLengthMarker): also draw an arrow marker for
4569 symbolic lengths (medskip...)
4571 2003-02-14 John Levon <levon@movementarian.org>
4574 * tabular.C: better method names
4576 2003-02-14 John Levon <levon@movementarian.org>
4578 * BufferView_pimpl.C:
4583 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4584 it's a more accurate name. Remove some pointless uses.
4586 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4588 * text2.C (LyXText): change order of initilizers to shut off
4591 2003-02-14 John Levon <levon@movementarian.org>
4593 * buffer.C: use ParIterator for getParFromID()
4597 * paragraph_pimpl.h:
4598 * paragraph_pimpl.C: remove unused getParFromID()
4600 2003-02-14 John Levon <levon@movementarian.org>
4602 * buffer.C: remove some very old #if 0'd parse code
4604 2003-02-13 John Levon <levon@movementarian.org>
4608 * text2.C: move hfillExpansion(), numberOfSeparators(),
4609 rowLast(), rowLastPrintable(), numberofHfills(),
4610 numberOfLabelHfills() ...
4613 * lyxrow.C: ... to member functions here.
4618 * text.C: remove LyXText::beginningOfMainBody(), and call
4619 p->beginningOfMainBody() directly. Move the check for
4620 LABEL_MANUAL into the latter.
4627 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4633 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4634 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4636 2003-02-13 John Levon <levon@movementarian.org>
4638 * CutAndPaste.C: remove debug
4640 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4642 * paragraph.C (asString): remove two unused variables
4644 * lyxtextclass.C (readTitleType):
4646 (LyXTextClass): handle new members titletype_ and titlename_
4648 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4650 2003-02-09 John Levon <levon@movementarian.org>
4653 * buffer.C: replace hand-coded list with a map for the dep clean
4655 2003-02-08 John Levon <levon@movementarian.org>
4657 * LaTeX.C: consolidate code into showRunMessage() helper
4659 2003-02-08 John Levon <levon@movementarian.org>
4664 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4665 and pass the size in explicitly
4667 * BufferView_pimpl.h:
4668 * BufferView_pimpl.C:
4670 * BufferView.C: add getCurrentChange()
4672 * BufferView_pimpl.h:
4673 * BufferView_pimpl.C: handle change lfuns
4675 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4676 for changes. Mark pasted paragraphs as new.
4678 * support/lyxtime.h:
4679 * support/lyxtime.C:
4680 * DepTable.C: abstract time_t as lyx::time_type
4683 * LColor.C: add colours for new text, deleted text, changebars
4685 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4686 package use "usenames" option.
4690 * LyXAction.C: add change lfuns
4694 * author.C: author handling
4697 * buffer.C: add a per-buffer author list, with first entry as
4698 current author. Handle new .lyx tokens for change tracking. Output
4699 author list to .lyx file. Output dvipost stuff to .tex preamble.
4700 Bump lyx format to 222.
4703 * bufferlist.C: add setCurrentAuthor() to reset current author details
4707 * bufferparams.C: add param for tracking
4709 * bufferview_funcs.C: output change info in minibuffer
4713 * changes.C: add change-tracking structure
4716 * debug.C: add CHANGES debug flag
4719 * lyxfind.C: add code for finding the next change piece
4722 * lyxrc.C: add user_name and user_email
4725 * lyxrow.C: add a metric for the top of the text line
4728 * text.C: implement accept/rejectChange()
4731 * text.C: paint changebars. Paint new/deleted text in the chosen
4732 colours. Strike through deleted text.
4736 * paragraph_pimpl.h:
4737 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4738 in the current change to the insert functions. Rework erase to
4739 mark text as deleted, adding an eraseIntern() and a range-based
4740 erase(). Implement per-paragraph change lookup and
4743 * paragraph_funcs.C: Fixup paste for change tracking.
4745 * tabular.C: mark added row/columns as new.
4747 * text.C: fix rowLast() to never return -1. Don't allow
4748 spellchecking of deleted text. Track transpose changes. Don't
4749 allow paragraph break or merge where appropriate.
4751 * text2.C: leave cursor at end of selection after a cut.
4753 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4755 * text.C (getLengthMarkerHeight):
4756 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4757 visible on screen too.
4759 2003-02-07 John Levon <levon@movementarian.org>
4761 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4763 2003-02-05 Angus Leeming <leeming@lyx.org>
4765 * lyxserver.C (read_ready): revert my patch of 11 September last year
4766 as it sends PC cpu through the roof. Presumably this means that
4767 the lyxserver will no longer run on an Alpha...
4769 2003-01-30 Angus Leeming <leeming@lyx.org>
4771 * factory.C (createInset): create an InsetCommandParam of type "index"
4772 and use it to 'do the right thing'.
4774 * text2.C (getStringToIndex): ensure that cursor position is always
4775 reset to the reset_cursor position.
4777 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4779 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4782 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4786 * lyxfunc.C: Output messages with identical spelling, punctuation,
4789 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4791 * MenuBackend.C (expandFormats): List only viewable export formats
4794 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4797 * lyxfunc.C (getStatus): Make sure that formats other than
4798 "fax" can also be disabled
4800 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4802 * text3.C (dispatch): put the lfuns that insert insets in 3
4803 groups, and call doInsertInset with appropriate arguments.
4804 (doInsertInset): new function, that creates an inset and inserts
4805 it according to some boolean parameters.
4807 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * buffer.C (readFile): remember to pass on 'par' when calling
4810 readFile recursively.
4812 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4814 * MenuBackend.C (expandFormats): add "..." to import formats.
4816 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4818 * paragraph.C (asString): Remove XForms RTL hacks.
4820 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4821 * buffer.C: fix typo
4823 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4825 * Makefile.am (LIBS): delete var
4826 (lyx_LDADD): add @LIBS@ here instead.
4828 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4830 * Clarify the meaning of "wheel mouse jump"
4832 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4834 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4837 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4839 * importer.C (Loaders): do not preallocate 3 elements in the
4840 vector, since one ends up with 6 elements otherwise
4842 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4844 * DepTable.C (write): write the file name as last element of the
4845 .dep file (because it may contain spaces)
4846 (read): read info in the right order
4848 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4850 * paragraph_pimpl.C (simpleTeXBlanks):
4851 (simpleTeXSpecialChars):
4852 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4854 * tabular.C (latex): add some missing case statements. Reindent.
4856 * MenuBackend.C (expandToc): remove unused variable.
4858 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4867 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4870 2003-01-05 John Levon <levon@movementarian.org>
4873 * BufferView.C: add getEncoding()
4876 * kbsequence.C: do not store last keypress
4879 * lyxfunc.C: store last keypress here instead. Pass encoding
4882 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4884 * lyx_main.C (init): remove annoying error message when following
4885 symbolic links (bug #780)
4887 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4889 * text.C (insertChar):
4890 * lyxrc.C (getDescription): remove extra spaces
4892 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4894 * lyxrc.C (getDescription): remove extra spaces
4896 2002-12-20 John Levon <levon@movementarian.org>
4898 * text3.C: hack fix for page up/down across tall rows
4900 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4902 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4905 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4907 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4908 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4909 thesaurus is not compiled in
4911 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4913 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4915 2002-12-16 Angus Leeming <leeming@lyx.org>
4918 * lyx_main.C (init): remove override_x_deadkeys stuff.
4920 2002-12-12 John Levon <levon@movementarian.org>
4922 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4923 insert. Only remove shift modifier under strict
4926 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4928 * MenuBackend.C (expandToc): fix crash.
4930 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4932 * MenuBackend.C (expandToc): gettext on float names.
4934 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4936 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4937 implement bool empty() [bug 490]
4939 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4943 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4945 * several files: ws changes
4947 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * text2.C (setCounter): clean up a bit, use boost.format.
4950 (updateCounters): initialize par upon declaration.
4952 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4953 if the layout exists. We do not just store the layout any more.
4954 (SwitchLayoutsBetweenClasses): use boost.format
4956 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4958 * converter.C (convert): if from and to files are the same, use a
4959 temporary files as intermediary
4961 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4964 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4966 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4968 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4970 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4972 * tabular.C (asciiPrintCell): use string(size, char) instead of
4975 * sgml.C (openTag): fix order of arguments to string constructor
4978 * lyxfunc.C (dispatch): use boost.format
4980 * lots of files: change "c" -> 'c'
4982 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4984 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4986 2002-11-25 Angus Leeming <leeming@lyx.org>
4988 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4990 * lyx_main.C (init): compile fix.
4992 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4994 * lyx_cb.C (start): boost.formatify
4995 do not include <iostream>
4997 * lengthcommon.C: ws only
4999 * boost-inst.C,BoostFormat.h: add more explict instantations
5001 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5003 * lots of files: handle USE_BOOST_FORMAT
5005 2002-11-21 John Levon <levon@movementarian.org>
5007 * pspell.C: fix compile
5009 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5011 * lyxfunc.C (dispatch): use boost::format
5015 * lyxfont.C (stateText): use boost::format
5017 * lyx_main.C (LyX): use boost::format
5019 (queryUserLyXDir): ditto
5022 (typedef boost::function): use the recommened syntax.
5024 * importer.C (Import): use boost::format
5026 * debug.C (showLevel): use boost::format
5028 * converter.C (view): use boost::format
5033 * bufferview_funcs.C (currentState): use boost::format
5035 * bufferlist.C (emergencyWrite): use boost::format
5037 * buffer.C (readLyXformat2): use boost::format
5038 (parseSingleLyXformat2Token): ditto
5040 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5042 * LaTeX.C (run): use boost::format
5044 * Chktex.C (scanLogFile): use boost::format
5046 * BufferView_pimpl.C (savePosition): use boost::format
5047 (restorePosition): ditto
5048 (MenuInsertLyXFile): ditto
5050 * BoostFormat.h: help file for explicit instation.
5052 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5054 * tabular.C (latex): Support for block alignment in fixed width
5057 2002-11-17 John Levon <levon@movementarian.org>
5059 * BufferView_pimpl.C:
5061 * lyxfunc.C: split filedialog into open/save
5063 2002-11-08 Juergen Vigna <jug@sad.it>
5065 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5066 by my last patch (hopefully).
5068 2002-11-08 John Levon <levon@movementarian.org>
5077 * toc.C: ParConstIterator, and use it (from Lars)
5079 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5081 * lyxtextclass.[Ch]: revise and add doxygen comments
5083 2002-11-07 John Levon <levon@movementarian.org>
5085 * text.C: fix progress value for spellchecker
5087 * toc.C: fix navigate menu for insetwrap inside minipage
5089 * paragraph_funcs.C: added FIXME for suspect code
5091 2002-11-07 John Levon <levon@movementarian.org>
5093 * BufferView_pimpl.C: fix redrawing of insets
5096 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5098 * text2.C (updateCounters): fix bug 668
5100 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5102 * text3.C (dispatch): Do not make the buffer dirty when moving the
5105 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5107 * vc-backend.C: STRCONV
5110 * text2.C (setCounter): STRCONV
5112 * paragraph.C (asString): STRCONV
5114 * lyxlength.C (asString): STRCONV
5115 (asLatexString): ditto
5117 * lyxgluelength.C (asString): STRCONV
5118 (asLatexString): ditto
5120 * lyxfunc.C (dispatch): STRCONV
5123 * lyxfont.C (stateText): STRCONV
5125 * importer.C (Import): STRCONV
5127 * counters.C (labelItem): STRCONV
5128 (numberLabel): ditto
5129 (numberLabel): remove unused ostringstream o
5134 * bufferview_funcs.C (currentState): STRCONV
5136 * buffer.C (readFile): STRCONV
5137 (asciiParagraph): ditto
5138 (makeLaTeXFile): ditto
5140 * Spacing.C (writeEnvirBegin): STRCONV
5142 * LaTeXFeatures.C (getLanguages): STRCONV
5143 (getPackages): ditto
5145 (getBabelOptions): ditto
5146 (getTClassPreamble): ditto
5147 (getLyXSGMLEntities): ditto
5148 (getIncludedFiles): ditto
5152 (scanAuxFile): ditto
5155 * LString.h: add the STRCONV macros
5157 * BufferView_pimpl.C (savePosition): STRCONV
5158 (restorePosition): ditto
5159 (MenuInsertLyXFile): ditto
5161 * vc-backend.C (scanMaster): change from submatch[...] to
5164 * funcrequest.C: include config.h
5166 * factory.C: include config.h
5168 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5170 * box.C: include config.h
5172 * LaTeX.C (scanAuxFile): change from submatch[...] to
5176 2002-10-25 Angus Leeming <leeming@lyx.org>
5178 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5180 * ispell.[Ch] (setError): new method.
5181 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5182 Use setError() insetead of goto END.
5184 * lyx_cb.C (AutoSave): move out child process into new class
5187 2002-10-30 John Levon <levon@movementarian.org>
5189 * text3.C: make start appendix undoable
5191 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5193 * lyxlength.C (inPixels): Fix returned value.
5195 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5198 2002-10-24 Angus Leeming <leeming@lyx.org>
5200 * lyxgluelength.h: no need to forward declare BufferParams
5201 or BufferView, so don't.
5203 2002-10-21 John Levon <levon@movementarian.org>
5205 * BufferView.C: menuUndo ->undo, redo
5207 * BufferView.h: document, remove dead, make some methods private
5209 * paragraph_funcs.h:
5210 * paragraph_funcs.C:
5211 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5216 * sgml.C: move sgml open/close tag into sgml.C
5218 * bufferview_funcs.h: unused prototype
5221 * lyxfunc.C: remove unused
5224 * text.C: remove unused
5226 2002-10-21 John Levon <levon@movementarian.org>
5230 * BufferView_pimpl.h:
5231 * BufferView_pimpl.C: fix mouse wheel handling based on
5232 patch from Darren Freeman
5234 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5236 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5238 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5240 * lyxlength.C (inPixels): Fix hanfling of negative length.
5241 Fix LyXLength::MU case.
5243 2002-10-16 John Levon <levon@movementarian.org>
5245 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5247 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5249 * converter.C (view): add support for $$i (file name) and $$p
5250 (file path) for the viewer command. If $$i is not specified, then
5251 it is appended to the command (for compatibility with old syntax)
5253 2002-10-14 Juergen Vigna <jug@sad.it>
5255 * undo_funcs.C (textHandleUndo): alter the order in which the
5256 new undopar is added to the LyXText, as we have to set first
5257 the right prev/next and then add it as otherwise the rebuild of
5258 LyXText is not correct. Also reset the cursor to the right paragraph,
5259 with this IMO we could remove the hack in "redoParagraphs()".
5261 2002-10-09 Angus Leeming <leeming@lyx.org>
5263 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5264 to turn off an optimisation if a new inset is to be inserted.
5266 2002-10-11 André Pönitz <poenitz@gmx.net>
5268 * lyxtext.h: make some functions public to allow access
5269 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5271 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5273 * text3.C (dispatch): when changing layout, avoid an infinite loop
5276 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5278 * lyxrc.C (read): treat a viewer or converter command of "none" as
5281 * MenuBackend.C (expandFormats): for an update, also allow the
5282 formats that are not viewable
5284 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5285 script if it is newer than the lyxrc.defaults in user directory
5287 2002-10-07 André Pönitz <poenitz@gmx.net>
5289 * text.C: Vitaly Lipatov's small i18n fix
5291 2002-09-25 Angus Leeming <leeming@lyx.org>
5293 * ispell.h: doxygen fix.
5295 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5297 * buffer.h (readFile): Add a new argument to the method, to allow
5298 reading of old-format templates.
5300 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5302 * toc.C (getTocList): Get TOC from InsetWrap.
5304 2002-09-16 John Levon <levon@movementarian.org>
5306 * lyxfunc.C: check tabular for cut/copy too
5308 2002-09-12 John Levon <levon@movementarian.org>
5313 * factory.C: add header
5315 * paragraph_funcs.h:
5316 * paragraph_funcs.C: cleanup
5318 2002-09-11 John Levon <levon@movementarian.org>
5320 * PrinterParams.h: odd/even default to true
5322 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5324 * PrinterParams.h: update printer parameters for new xforms dialog
5326 2002-09-11 Angus Leeming <leeming@lyx.org>
5328 * lyxserver.C (read_ready): re-write to make it more transparent
5329 and to make it work in coherent fashion under Tru64 Unix.
5331 2002-09-11 André Pönitz <poenitz@gmx.net>
5335 * text3.C: implement LFUN_WORDSEL
5337 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5339 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5340 make floatlist_ a boost::shared_ptr<FloatList>
5342 * lyxtextclass.C: include FloatList.h
5343 (LyXTextClass): initialize floatlist_
5344 (TextClassTags): add TC_NOFLOAT
5345 (Read): match "nofloat" to TC_NOFLOAT and use it.
5346 (readFloat): modify call to floatlist_
5350 * FloatList.[Ch] (FloatList): remove commented out float
5352 (erase): new function
5354 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5356 * MenuBackend.C (expandToc): fix crash when there is no document
5359 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5361 * many files: Add insetwrap.
5363 2002-09-09 John Levon <levon@movementarian.org>
5365 * text2.C: remove confusing and awkward depth wraparound
5367 2002-09-09 John Levon <levon@movementarian.org>
5369 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5372 * buffer.C: remove getIncludeonlyList()
5375 * lyxfunc.C: remove headers
5377 2002-09-09 Juergen Vigna <jug@sad.it>
5379 * text.C (getColumnNearX): fix form Michael this is most
5380 probably a cut&paste bug.
5382 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5384 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5386 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5387 references, ws changes.
5389 * text2.C (init): update counters after init
5390 (insertParagraph): no need to set counter on idividual paragraphs.
5391 (setCounter): access the counters object in the textclass object
5392 on in the buffer object.
5393 (updateCounters): ditto
5395 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5396 shared_ptr<Counters> to avoid loading counters.h in all
5398 (LyXTextClass): initialize ctrs_
5399 (TextClassTags): add TC_COUNTER, and ...
5400 (Read): use it here.
5401 (CounterTags): new tags
5402 (readCounter): new function
5403 (counters): new funtion
5404 (defaultLayoutName): return a const reference
5406 * counters.C (Counters): remove contructor
5407 (newCounter): remove a couple of unneeded statements.
5408 (newCounter): simplify a bit.
5409 (numberLabel): some small formatting changes.
5411 * buffer.[Ch]: remove all traces of counters, move the Counters
5412 object to the LyXTextClass.
5414 2002-09-06 Alain Castera <castera@in2p3.fr>
5416 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5417 package to set the horizontal alignment on fixed width columns.
5420 * lyx_sty.h: added tabularnewline macro def.
5422 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5424 2002-09-06 John Levon <levon@movementarian.org>
5426 * LyXAction.C: tooltips for sub/superscript
5428 * MenuBackend.C: a bit more verbose
5430 * lyxfunc.C: tiny clean
5432 * undo_funcs.C: document undo_frozen
5434 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5436 * counters.C (Counters): add missing algorithm counter.
5438 * text2.C (setCounter): lookup the counter with layouts latexname
5439 instead of by section number.
5440 (setCounter): use a hackish way to lookup the correct enum
5442 a float name->type change
5443 reset enum couners with counter name directly instead of depth value.
5445 * counters.C (Counters): remove the push_backs, change to use the
5446 float type not the float name.
5447 (labelItem): remove unused string, float name->type change
5449 * counters.h: don't include vector, loose the enums and sects vectors
5451 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5453 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5454 (Read): add float->TC_FLOAT to textclassTags
5455 (Read): and handle it in the switch
5456 (readFloat): new function
5458 * FloatList.C (FloatList): comment out the hardcoded float
5461 * lyxlayout.h: ws change.
5463 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5465 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5467 2002-09-03 Angus Leeming <leeming@lyx.org>
5469 * BufferView_pimpl.h: qualified name is not allowed in member
5470 declaration: WorkArea & Pimpl::workarea() const;
5472 * factory.C: added using std::endl directive.
5474 * text3.C: added using std::find and std::vector directives.
5476 2002-08-29 André Pönitz <poenitz@gmx.net>
5479 * text2.C: remove unused member number_of_rows
5482 * BufferView2.C: remove file, move contents to...
5483 * BufferView.C: ... here
5485 * BufferView_pimpl.C:
5486 * factory.C: move more inset creation to factory
5488 * vspace.C: avoid direct usage of LyXText, ws changes
5491 don't provide direct access to WorkArea, use two simple
5492 acessors haveSelction() and workHeight() instead
5495 2002-08-29 John Levon <levon@movementarian.org>
5497 * BufferView_pimpl.C (dispatch): do not continue when
5500 2002-08-28 André Pönitz <poenitz@gmx.net>
5502 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5505 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5507 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5509 * buffer.C: increment LYX_FORMAT to 221
5511 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5512 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5514 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5516 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5518 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5520 * factory.C (createInset): use LyXTextClass::floats
5522 * MenuBackend.C (expandFloatListInsert):
5523 (expandFloatInsert):
5526 * text2.C (setCounter):
5528 * LaTeXFeatures.C (useFloat):
5529 (getFloatDefinitions):
5531 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5533 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5534 floatlist_, with accessor floats().
5536 * FloatList.h: remove global FloatList
5538 2002-08-26 André Pönitz <poenitz@gmx.net>
5540 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5544 * BufferView_pimpl.C:
5545 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5547 2002-08-25 John Levon <levon@movementarian.org>
5549 * LyXAction.C: fix margin note description
5551 2002-08-24 John Levon <levon@movementarian.org>
5555 * bufferview_funcs.C:
5557 * undo_funcs.C: cleanups
5559 * lyxfunc.C: disable CUT/COPY when no selection
5561 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5563 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5564 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5566 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5567 Add backward compatibility to "mono", "gray" and "no".
5569 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5571 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5572 (and file_format >= 200).
5574 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5576 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5578 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5580 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5582 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5584 * BufferView_pimpl.C:
5591 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5592 inset and code to make it work with the paragraph code. The inset
5593 can be anywhere in the paragraph, but will only do the expected
5594 thing in LaTeX if the layout file contains the parameter line
5596 (or more generally, a nonzero value) for that layout.
5598 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5600 * paragraph.h: remove the declaration of undefined counters class
5603 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5605 * text2.C (setCounter): fixed enumeration mis-count as reported by
5606 Dr. Richard Hawkins.
5608 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5610 * paragraph_funcs.h: remove some unneeded includes
5612 * text.C (backspace): pasteParagraph now in global scipe
5614 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5615 (pasteSelection): ditto
5617 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5618 * paragraph_funcs.C (pasteParagraph): ... here
5620 2002-08-20 André Pönitz <poenitz@gmx.net>
5622 * commandtags.h: new LFUNs for swapping/copying table row/colums
5625 * lyxfunc.C: support for new lfuns
5627 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5630 * buffer.[Ch]: remove NO_COMPABILITY stuff
5632 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5634 * boost.C (throw_exception): new file, with helper function for
5635 boost compiled without exceptions.
5640 * ParameterStruct.h:
5641 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5643 * bufferlist.C (emergencyWriteAll): use boost bind
5645 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5647 * text.C: include paragraph_funcs.h
5648 (breakParagraph): breakParagraph is now in global scope
5650 * paragraph_funcs.[Ch]: new files
5652 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5655 * buffer.C: include paragraph_funcs.h
5656 (insertStringAsLines): breakParagraph is now in global scope
5658 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5661 * CutAndPaste.C: include paragraph_funcs.h
5662 (cutSelection): breakParagraphConservative is now in global scope
5663 (pasteSelection): ditto
5665 * buffer.h: declare oprator== and operator!= for
5666 Buffer::inset_iterator
5668 * bufferlist.C (emergencyWrite): don't use fmt(...)
5670 * text3.C: add using std::endl
5672 * BufferView.C (moveCursorUpdate): remove default arg
5674 2002-08-20 André Pönitz <poenitz@gmx.net>
5676 * buffer.[Ch]: move inline functions to .C
5679 * BufferView_pimpl.C:
5681 * buffer.[Ch]: use improved inset_iterator
5684 * paragraph.[Ch]: write one paragraph at a time
5686 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5688 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5689 style if style is not specified.
5691 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5693 * text2.C (setCounter): when searching for right label for a
5694 caption, make sure to recurse to parent insets (so that a caption
5695 in a minipage in a figure float works) (bug #568)
5697 2002-08-20 André Pönitz <poenitz@gmx.net>
5699 * text3.C: new file for LyXText::dispatch() and helpers
5701 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5703 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5705 2002-08-19 André Pönitz <poenitz@gmx.net>
5708 * text.C: new LyXText::dispatch()
5710 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5712 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5714 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5716 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5719 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5721 * Makefile.am: use $(variables) instead of @substitutions@
5723 2002-08-15 André Pönitz <poenitz@gmx.net>
5726 * BufferView_pimpl.C: streamlining mathed <-> outer world
5730 * LyXAction.C: remove unused LFUN_MATH
5732 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5734 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5736 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5738 * paragraph.C (Paragraph): reformat a bit
5739 (cutIntoMinibuffer): use builtin InsetList function instad of
5743 * buffer.C: include boost/bind.hpp, add using std::for_each
5744 (writeFileAscii): use ParagraphList iterators
5745 (validate): use for_each for validate traversal of paragraphs
5746 (getBibkeyList): use ParagraphList iterators
5747 (resizeInsets): use for_each to resizeInsetsLyXText for all
5749 (getParFromID): use ParagraphList iterators
5751 * BufferView2.C (lockInset): use paragraph list and iterators
5753 2002-08-14 John Levon <levon@movementarian.org>
5755 * lyxserver.C: remove spurious xforms include
5757 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5759 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5761 2002-08-13 André Pönitz <poenitz@gmx.net>
5764 * lyxfunc.C: further cleaning
5766 2002-08-13 André Pönitz <poenitz@gmx.net>
5768 * funcrequest.h: new constructor
5770 * funcrequest.C: move stuff here from .h
5773 * BufferView_pimpl.C:
5776 * lyxfunc.C: subsequent changes
5778 * lyxfunc.h: new view() member function
5780 * lyxfunc.C: subsequent changes
5782 2002-08-13 Angus Leeming <leeming@lyx.org>
5785 * BufferView_pimpl.C:
5793 changes due to the changed LyXView interface that now returns references
5794 to member variables not pointers.
5796 2002-08-13 Angus Leeming <leeming@lyx.org>
5798 * WordLangTuple (word, lang_code): return references to strings,
5803 * lyxtext.h: forward-declare WordLangTuple.
5808 * text.C: #include "WordLangTuple.h".
5811 * text.C: (selectNextWordToSpellcheck): constify return type.
5813 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5819 * paragraph_pimpl.h:
5822 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5824 Made updateCounter always count from start of buffer, and removed
5825 second argument (par).
5826 Reverted floats number display to '#'. Perhaps I'll try again when the
5827 code base is sanitized a bit.
5829 2002-08-12 Angus Leeming <leeming@lyx.org>
5831 * buffer.[Ch] (getLabelList): constify.
5833 2002-08-07 André Pönitz <poenitz@gmx.net>
5835 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5837 * funcrequest.h: extension to keep mouse (x,y) position
5839 2002-08-12 Juergen Vigna <jug@sad.it>
5841 * BufferView2.C (insertErrors): forbid undo when inserting error
5844 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5846 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5848 * ParagraphList.[Ch]: new files
5850 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5852 * BufferView2.C (lockInset): ParagraphList changes
5855 * bufferlist.C: ditto
5859 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5861 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5862 unused class variable counter_,
5864 * paragraph.[Ch] (getFirstCounter): delete unused function
5866 * counters.C: include LAssert.h
5867 (reset): add a new function with no arg, change other version to
5868 not have def. arg and to not allow empty arg.
5870 * text2.C (setCounter): remove empty arg from call to Counters::reset
5872 2002-08-11 John Levon <levon@movementarian.org>
5874 * Makefile.am: add WordLangTuple.h
5876 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5878 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5879 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5881 * insets/insettext.C: InsetList changes
5883 * graphics/GraphicsSupport.C (operator()): InsetList changes
5885 * toc.C (getTocList): InsetList changes
5887 * paragraph_pimpl.[Ch]: InsetList changes
5889 * paragraph.[Ch]: InsetList changes
5891 * buffer.C (inset_iterator): InsetList changes
5892 (setParagraph): ditto
5893 * buffer.h (inset_iterator): ditto
5894 * iterators.C (operator++): ditto
5895 * iterators.h: ditto
5897 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5899 * InsetList.[Ch]: new files, most InsetList handling moved out of
5902 * BufferView2.C (removeAutoInsets): InsetList changes
5904 (ChangeInsets): ditto
5906 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5908 * paragraph_pimpl.h (empty): new function
5910 * paragraph.[Ch] (empty): new function
5912 * other files: use the new Paragraph::empty function
5914 2002-08-09 John Levon <levon@movementarian.org>
5916 * lyxtext.h: remove unused refresh_height
5918 2002-08-09 John Levon <levon@movementarian.org>
5925 * paragraph.C: move sgml char escaping out of paragraph
5928 * paragraph.C: remove id setter
5932 * paragraph_pimpl.C: remove dead tex_code_break_column
5934 * bufferview_funcs.C: small cleanup
5936 * lyxfunc.C: remove dead proto
5938 * lyxtext.h: make some stuff private. Remove some dead stuff.
5940 * lyxgluelength.C: make as[LyX]String() readable
5942 2002-08-08 John Levon <levon@movementarian.org>
5947 * ToolbarDefaults.C:
5950 * toc.C: lyxaction cleanup
5952 2002-08-08 John Levon <levon@movementarian.org>
5954 * BufferView2.C: small cleanup
5957 * lyxfind.C: move unnecessary header into the .C
5959 2002-08-08 John Levon <levon@movementarian.org>
5961 * funcrequest.h: just tedious nonsense
5964 * lyx_main.C: cleanups
5967 * vspace.C: remove dead header lyx_main.h
5969 2002-08-07 Angus Leeming <leeming@lyx.org>
5972 * paragraph_pimpl.h:
5973 Forward declare class Counters in paragraph.h by moving the ctrs member
5974 variable into Paragraph::Pimpl.
5975 (counters): new method, returning a reference to pimpl_->ctrs.
5977 * text2.C: ensuing changes.
5979 2002-08-07 John Levon <levon@movementarian.org>
5981 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5983 * BufferView_pimpl.C: announce X selection on double/triple
5986 * lyx_main.C: use correct bool in batch dispatch
5988 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5990 2002-08-07 André Pönitz <poenitz@gmx.net>
5992 * funcrequest.h: new class to wrap a kb_action and its argument
5995 * BufferView_pimpl[Ch]:
5999 * lyxrc.C: subsequent changes
6002 2002-08-07 John Levon <levon@movementarian.org>
6004 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6005 document options change.
6007 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6012 * makefile.am: move counters functionality over from
6013 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6015 2002-08-06 John Levon <levon@movementarian.org>
6017 * WordLangTuple.h: new file for word + language code tuple
6028 * BufferView2.C: use WordLangTuple
6031 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6033 2002-08-06 John Levon <levon@movementarian.org>
6035 * lyx_main.C: fix cmdline batch handling
6037 2002-08-06 André Pönitz <poenitz@gmx.net>
6039 * lyxrc.C: set default for show_banner to true
6041 2002-08-06 John Levon <levon@movementarian.org>
6043 * pspell.C: fix a crash, and allow new aspell to work
6045 2002-08-06 John Levon <levon@movementarian.org>
6048 * kbmap.C: small cleanup
6051 * vspace.C: add const
6053 2002-08-05 John Levon <levon@movementarian.org>
6055 * LyXAction.C: back to tabular-insert
6057 2002-08-04 John Levon <levon@movementarian.org>
6060 * BufferView.C: cosmetic change
6062 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6072 * BufferView2.C: purge all "Lyx" not "LyX" strings
6075 * lyxcursor.C: attempt to add some documentation
6080 * ToolbarDefaults.C:
6081 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6082 merge with LFUN_TABULAR_INSERT
6089 * pspell.C: split up i/pspell implementations into separate
6090 files, many cleanups
6092 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6094 * text2.C: some cleanup
6096 * lyxfunc.C: don't check for isp_command == "none" any more, it
6097 didn't make any sense
6099 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6104 * makefile.am: move counters functionality over
6105 from text2.C/paragraph.[Ch] to counters.[Ch], and
6107 2002-08-02 John Levon <levon@movementarian.org>
6109 * buffer.C: s/lyxconvert/lyx2lyx/
6111 2002-08-02 Angus Leeming <leeming@lyx.org>
6113 * lyxlex.C: revert John's change as it breaks reading of the user
6116 2002-08-02 Angus Leeming <leeming@lyx.org>
6118 * importer.C (Import):
6119 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6120 changes due to LyXView::view() now returning a boost::shared_ptr.
6122 2002-08-02 John Levon <levon@movementarian.org>
6124 * lyxlex.C: small cleanup
6126 2002-08-02 John Levon <levon@movementarian.org>
6128 * text2.C (status): small cleanup, no logic change
6130 2002-08-01 John Levon <levon@movementarian.org>
6133 * buffer.C (writeFile): don't output alerts, caller
6137 * lyx_cb.C: from above
6139 * lyxfunc.C: allow to open non-existent files
6141 2002-07-31 John Levon <levon@movementarian.org>
6143 * lyxserver.C: don't let incidental errors get
6146 2002-07-30 John Levon <levon@movementarian.org>
6148 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6150 2002-07-30 John Levon <levon@movementarian.org>
6153 * lyxserver.C: remove I/O callback too
6155 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6157 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6160 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6162 * many files: strip,frontStrip -> trim,ltrim,rtrim
6164 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * PrinterParams.h: remove extern containsOnly, and include
6167 support/lstrings.h instead.
6169 * LaTeX.C (scanAuxFile): modify because of strip changes
6171 * buffer.C (makeLaTeXFile): ditto
6172 * bufferparams.C (writeFile): ditt
6173 * lyxfont.C (stateText): ditto
6174 * lyxserver.C (read_ready): ditto
6175 * vc-backend.C (scanMaster): ditto
6177 * BufferView_pimpl.h: ws changes
6179 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6181 2002-07-26 André Pönitz <poenitz@gmx.net>
6183 * kb_sequence.C: remove unnedred usings
6185 2002-07-26 Juergen Vigna <jug@sad.it>
6187 * lyxfind.C (LyXReplace): we have to check better if the returned
6188 text is not of theLockingInset()->getLockingInset().
6190 2002-07-25 Juergen Vigna <jug@sad.it>
6192 * lyxfind.C (LyXReplace): don't replace if we don't get the
6195 * undo_funcs.C (createUndo): remove debugging code.
6197 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6199 * buffer.C (parseSingleLyXformat2Token): Use default placement
6200 when reading old floats.
6202 * FloatList.C (FloatList): Change the default placement of figure
6203 and tables to "tbp".
6205 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6207 * MenuBackend.C: using std::max
6209 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6211 * MenuBackend.C (expandToc):
6212 (expandToc2): code moved from xforms menu frontend. It is now
6213 generic and TOCs are transparent to menu frontends.
6215 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6217 * toc.C (getTocList): protect against buf=0
6219 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6220 Menu as first parameter. Now, this calls itself recursively to
6221 expand a whole tree (this will be useful for TOC handling)
6222 (expandFloatInsert): remove 'wide' version of floats
6224 * MenuBackend.h (submenuname): returns the name of the submenu.
6225 (submenu): returns the submenu itself, provided it has been
6226 created by MenuBackend::expand
6228 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6230 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6231 insets which have noFontChange == true. (bug #172)
6233 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6235 * BufferView_pimpl.C: add connection objects and use them...
6238 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6240 * MenuBackend.C (expandLastfiles):
6243 (expandFloatListInsert):
6244 (expandFloatInsert):
6245 (expand): split expand in parts
6247 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6249 * lyx_gui.C: use lyx_gui::exit()
6251 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6253 * LyXAction.C: show the failing pseudo action
6255 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6257 * buffer.C (readFile): Run the lyxconvert script in order to read
6260 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6264 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6266 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6270 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6272 2002-07-22 Herbert Voss <voss@lyx.org>
6275 * lyxlength.[Ch]: add support for the vertical lengths
6277 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6279 * toc.[Ch]: std:: fixes
6281 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6283 * lyxrc.C: do not include lyx_main.h
6285 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6291 * BufferView2.C: include "lyxlex.h"
6294 * bufferparams.h: do not #include "lyxlex.h"
6296 * lyxtextclasslist.C (Add): remove method
6297 (classlist): renamed to classlist_
6299 * paragraph_pimpl.C:
6303 * bufferview_funcs.C:
6308 * toc.C (getTocList): use BufferParams::getLyXTextClass
6310 * toc.C (getTocList): use InsetFloat::addToToc
6312 * toc.[Ch]: new files, containing helper functions to handle table
6315 * lyxfunc.C (dispatch): no need to remove spaces around command
6317 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6318 first command of the sequence; it is not very clever, but I do not
6319 have a better idea, actually
6321 * LyXAction.C (LookupFunc): make sure to remove space at the
6322 beginning and end of the command
6324 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6326 * MenuBackend.C (getMenubar): new method: return the menubar of
6328 (read): treat differently reading of menu and menubar (in
6329 particular, the menubar has no name now)
6330 (Menu::menubar): remove
6332 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6335 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6337 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6338 a bibitem inset in a RTL paragraph.
6340 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6342 * paragraph_pimpl.C: constify
6344 * BufferView_pimpl.C:
6346 * lyxfunc.C: fix dispatch in a nicer way
6348 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6350 * lyxfunc.C (dispatch):
6351 * BufferView_pimpl.C:
6352 * BufferView_pimpl.h:
6354 * BufferView.h: rename Dispatch() to dispatch()
6356 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6358 * lyxlayout.C (Read): honor DependsOn tag
6360 * lyxlayout.[Ch] (depends_on): new method
6362 * version.C.in: update lyx_docversion
6364 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6366 * paragraph.C (validate): remove from here...
6367 * paragraph_pimpl.C (validate): ... and move here
6368 (isTextAt): make it const
6370 * buffer.C (getLists): ws cleanup
6372 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6374 * language.C (read): Use iso8859-1 encoding in latex_lang
6375 (this prevents LyX from crashing when using iso10646-1 encoding).
6377 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6379 * text2.C (toggleInset): if cursor is inside an inset, close the
6380 inset and leave cursor _after_ it
6382 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6384 * lyxfunc.C: move minibuffer completion handling out of here
6386 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6388 * BufferView_pimpl.C:
6389 * LaTeX.C: fix dispatch calls
6391 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6393 * text.C (drawChars): Fix Arabic text rendering.
6395 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6399 * lyxfunc.C: remove message-push/pop
6403 * lyxfunc.C: rationalise some code by removing verboseDispatch
6404 in favour of a bool argument to dispatch()
6406 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6408 * lyx_main.C (init): make sure to read symlinks as absolute paths
6410 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6413 * lyxfunc.C: no need for commandshortcut to be a member
6415 2002-07-15 André Pönitz <poenitz@gmx.net>
6417 * converter.C: add support for $$s (scripts from lib/scripts dir)
6418 * lyx_main.C: white space
6420 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6424 * lyxrc.C: remove second exit confirmation
6426 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6431 * BufferView_pimpl.h:
6432 * BufferView_pimpl.C:
6433 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6435 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6437 * MenuBackend.C (expand): add numeric shortcuts to document menu
6439 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6441 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6443 * lyxfont.C (setLyXFamily):
6450 * buffer.C (asciiParagraph): use ascii_lowercase
6452 2002-07-15 Mike Fabian <mfabian@suse.de>
6454 * lyxlex_pimpl.C (search_kw):
6455 * lyxlex.C (getLongString):
6456 * converter.h (operator<):
6457 * converter.C (operator<):
6458 * buffer.C (parseSingleLyXformat2Token):
6460 * ToolbarDefaults.C (read):
6461 * MenuBackend.C (checkShortcuts):
6463 * LColor.C (getFromGUIName):
6464 (getFromLyXName): use the compare_ascii_no_case instead of
6465 compare_no_case, because in turkish, 'i' is not the lowercase
6466 version of 'I', and thus turkish locale breaks parsing of tags.
6468 2002-07-16 Angus Leeming <leeming@lyx.org>
6470 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6471 now takes a Buffer const & argument.
6473 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6475 * BufferView.C (resize): check there's a buffer to resize
6477 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6479 * lyxfunc.C: remove dead code
6482 * lyxserver.C: use lyx_guii::set_read_callback
6484 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6486 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6487 an inset in a RTL paragraph.
6489 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6491 * lyxfunc.C: repaint after a font size update
6493 2002-07-15 André Pönitz <poenitz@gmx.net>
6495 * lyxlength.C: inBP should be able to return negative values
6497 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6499 * lyxfunc.C: use lyx_gui::update_fonts()
6501 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6503 * lyxfunc.C: use lyx_gui::update_color()
6505 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6511 * lyxrc.C: remove file->new asks for name option, and let
6512 buffer-new take an argument
6514 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6516 * BufferView_pimpl.C: remove unneeded extra repaint()
6518 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6520 * LyXAction.C: allow command-sequence with NoBuffer
6522 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6524 2002-07-10 Angus Leeming <leeming@lyx.org>
6526 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6528 2002-07-09 Angus Leeming <leeming@lyx.org>
6530 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6532 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6534 * lengthcommon.h: whitespace
6536 * lyxfunc.C: update scrollbar after goto paragraph
6538 * lyxtext.h: factor out page break drawing, and fix it so
6539 page break/added space paints as selected nicely
6541 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6543 * BufferView_pimpl.C: add FIXMEs, clean up a little
6545 2002-07-09 André Pönitz <poenitz@gmx.net>
6547 * lyxfont.[Ch]: support for wasy symbols
6549 2002-07-08 André Pönitz <poenitz@gmx.net>
6551 * BufferView_pimpl.C: apply John's patch for #93.
6553 2002-07-05 Angus Leeming <leeming@lyx.org>
6555 * BufferView_pimpl.C (buffer): generate previews if desired.
6557 * LColor.h: add "preview" to the color enum.
6559 * LColor.C (LColor): add a corresponding entry to the items array.
6561 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6564 2002-07-05 Angus Leeming <leeming@lyx.org>
6566 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6567 The body of the code is now in the method that is passed an ostream &
6568 rather than a file name.
6569 Pass an additional only_preamble parameter, useful for the forthcoming
6572 2002-07-03 André Pönitz <poenitz@gmx.net>
6574 * lyxfunc.C: simplify getStatus() a bit for math stuff
6576 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6578 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6580 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6582 * text.C (changeRegionCase): do not change case of all the
6583 document when region ends at paragraph end (bug #461)
6585 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6587 * paragraph.C (startTeXParParams):
6588 (endTeXParParams): add \protect when necessary
6590 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6592 * BufferView_pimpl.C (workAreaExpose): remove warning
6594 2002-06-27 Angus Leeming <leeming@lyx.org>
6596 * Makefile.am: add lyxlayout_ptr_fwd.h.
6598 2002-06-26 André Pönitz <poenitz@gmx.net>
6600 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6602 2002-06-25 Angus Leeming <leeming@lyx.org>
6604 * lyxfunc.C (dispatch): Comment out the call to
6605 grfx::GCache::changeDisplay. The method no longer exists now that the
6606 pixmap generation part of the graphics loader has been moved into
6609 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6611 * text2.C: layout as layout
6613 * text.C: layout as layout
6615 * tabular.C (OldFormatRead): layout as layout
6617 * paragraph_pimpl.C (TeXDeeper): layout as layout
6618 (realizeFont): layout as layout
6620 * paragraph.C (writeFile): layout as layout
6621 (validate): layout as layout
6622 (getFont): layout as layout
6623 (getLabelFont): layout as layout
6624 (getLayoutFont): layout as layout
6625 (breakParagraph): layout as layout
6626 (stripLeadingSpaces): layout as layout
6627 (getEndLabel): layout as layout
6628 (getMaxDepthAfter): layout as layout
6629 (applyLayout): layout as layout
6630 (TeXOnePar): layout as layout
6631 (simpleTeXOnePar): layout as layout
6632 (TeXEnvironment): layout as layout
6633 (layout): layout as layout
6634 (layout): layout as layout
6636 * lyxtextclass.C (compare_name): new functor to work with
6637 shared_ptr, layout as layout
6638 (Read): layout as layout
6639 (hasLayout): layout as layout
6640 (operator): layout as layout
6641 (delete_layout): layout as layout
6642 (defaultLayout): layout as layout
6644 * lyxlayout_ptr_fwd.h: new file
6646 * lyxlayout.C (Read): layout as layout
6648 * lyx_cb.C (MenuInsertLabel): layout as layout
6650 * bufferlist.C (newFile): layout as layout
6652 * buffer.C (readLyXformat2): layout as layout
6653 (parseSingleLyXformat2Token): layout as layout
6654 (insertStringAsLines): layout as layout
6655 (asciiParagraph): layout as layout
6656 (latexParagraphs): layout as layout
6657 (makeLinuxDocFile): layout as layout
6658 (simpleLinuxDocOnePar): layout as layout
6659 (makeDocBookFile): layout as layout
6660 (simpleDocBookOnePar): layout as layout
6661 (getLists): layout as layout
6663 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6665 * CutAndPaste.C (cutSelection): layout as layout
6666 (pasteSelection): layout as layout
6667 (SwitchLayoutsBetweenClasses): layout as layout
6669 * BufferView_pimpl.C (Dispatch): layout as layout
6670 (smartQuote): layout as layout
6672 * BufferView2.C (unlockInset): layout as layout
6674 2002-06-24 André Pönitz <poenitz@gmx.net>
6676 * lyxfunc.C: fix #487
6678 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6682 * lyxfunc.C: remove display_shortcuts, show_banner
6684 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6686 * Buffer_pimpl.C: oops, update on resize
6688 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6695 * BufferView.C: use repaint()
6697 * BufferView_pimpl.h:
6698 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6699 as it's a clearer description. Remove superfluous
6702 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6704 * text.C: fix bug 488. Not ideal, but getting
6705 getWord() to work properly for the insets that
6706 matter is more difficult ...
6708 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6710 * BufferView_pimpl.C:
6713 * lyxfunc.C: remove the six million index lyxfuncs to just
6714 one, and DTRT (bug 458)
6716 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6720 * BufferView_pimpl.h:
6721 * BufferView_pimpl.C: clean up resize() stuff,
6722 and unnecessary updateScreen()s
6724 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6728 * BufferView_pimpl.h:
6729 * BufferView_pimpl.C:
6732 * minibuffer.C: remove focus management of workarea,
6733 not needed. Use screen's greyOut()
6735 2002-06-17 Herbert Voss <voss@lyx.org>
6737 * converter.C: (convert) do not post a message, when converting
6738 fails, let the calling function decide what to do in this case
6740 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6742 * lyxfunc.C: tidy up a little
6744 2002-06-16 <alstrup@diku.dk>
6746 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6747 Got rid of FORMS_H_LOCATION include. Now we are
6750 2002-06-15 LyX Development team <lyx@rilke>
6752 * buffer.[Ch] (sgmlOpenTag):
6753 (sgmlCloseTag): Added support for avoiding pernicious mixed
6754 content. Return number of lines written.
6757 (makeDocBookFile): Fixed calls to sgml*Tag.
6758 Simple white space clean.
6760 (simpleDocBookOnePar): Simple white space clean.
6762 * tabular.[Ch] (docBook): Renamed to docbook and got another
6763 argument to related with the pernicious mixed content.
6765 (docbookRow): Fixed calls for docbook inset method.
6767 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6769 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6770 so it's X11 independent.
6774 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6776 2002-06-15 Lyx Development team <lyx@electronia>
6778 * intl.h: Renamed getTrans to getTransManager.
6780 2002-06-14 Angus Leeming <leeming@lyx.org>
6782 * Makefile.am: nuke forgotten stl_string_fwd.h.
6784 2002-06-12 Angus Leeming <leeming@lyx.org>
6786 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6788 2002-06-13 Angus Leeming <leeming@lyx.org>
6791 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6793 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6795 * kbmap.C (getiso): add support for cyrillic and greek
6797 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6801 * BufferView_pimpl.h:
6802 * BufferView_pimpl.C: move bogus scrolling logic
6805 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6808 * BufferView_pimpl.C: view->resize() change
6810 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6812 * BufferView_pimpl.C: topCursorVisible
6815 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6819 * lyx_gui.C: move to frontends/
6823 * lyx_main.C: changes from above
6825 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6832 * lyx_main.C: minor tidy
6834 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6836 * BufferView_pimpl.h:
6837 * BufferView_pimpl.C:
6839 * BufferView.C: make painter() const,
6842 * BufferView2.C: use screen() accessor
6845 * lyx_main.C: some minor cleanup
6847 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6849 * BufferView_pimpl.h:
6850 * BufferView_pimpl.C: remove enter/leaveView,
6853 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6858 * BufferView_pimpl.h:
6859 * BufferView_pimpl.C: only construct screen once,
6862 * lyxrc.C: remove pointless comment
6864 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6867 * BufferView.C: remove active() and belowMouse()
6869 * BufferView_pimpl.h:
6870 * BufferView_pimpl.C: use workarea() not workarea_,
6871 and make it use a scoped_ptr instead
6873 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6875 * lyx_gui.C: add debug message on BadWindow
6877 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6879 * sp_spell.C: fdopen is not part of the C++ standard.
6881 * paragraph.C (InsetIterator): use >= instead of ==
6883 2002-06-07 Angus Leeming <leeming@lyx.org>
6885 Fixes needed to compile with Compaq cxx 6.5.
6886 * BufferView_pimpl.C:
6893 * lyxtextclasslist.C:
6898 all c-library variables have been moved into namespace std. Wrap
6899 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6904 Add a using std::abs declaration.
6906 * kbmap.h (modifier_pair):
6907 * paragraph.h (InsetTable, InsetList):
6908 * lyxfont.h (FontBits):
6909 type definition made public.
6911 * bufferlist.C (emergencyWriteAll): the compiler complains that
6912 there is more than one possible lyx::class_fun template to choose from.
6913 I re-named the void specialisation as lyx::void_class_fun.
6915 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6917 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6918 the compiler is is unable to find tostr in write_attribute.
6920 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6922 * buffer.C (sgmlError): hide #warning
6924 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6926 * xtl/*: get rid of xtl, which is not in use anyway
6928 * LyXAction.C (init):
6929 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6930 were unimplemented xtl experimentation
6932 2002-06-04 André Pönitz <poenitz@gmx.net>
6934 * lyxfunc.C: disable array operation on simple formulae
6936 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6938 * converter.C: constify a bit
6940 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6942 * lyx_gui.C: check xforms version correctly
6944 2002-04-30 Herbert Voss <voss@lyx.org>
6946 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6949 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6951 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6952 attempt to register it with a VCS)
6954 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6956 * lyx_main.C (init): honor variables LYX_DIR_13x and
6959 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6963 * lyx_main.C: fix a crash on bad command line,
6964 and give a useful exit status on error
6966 * lyxfunc.C (doImport): allow -i lyx to work
6968 2002-03-30 André Pönitz <poenitz@gmx.net>
6970 * lyxfunc.C: mathed font changes
6972 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6987 * trans_mgr.h: srcdocs, and some minor cleanups
6989 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6991 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6992 call getFont all the time)
6994 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6996 * switch from SigC signals to boost::signals
6998 2002-05-29 André Pönitz <poenitz@gmx.net>
7000 * paragraph_pimpl.C (getChar): don't call size() too often...
7002 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7004 * paragraph_pimpl.C (insertChar): do not try to update tables when
7005 appending (pos == size())
7007 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7008 in order to reduce drastically the number of comparisons needed to
7009 parse a large document
7011 2002-05-29 André Pönitz <poenitz@gmx.net>
7017 * textclasslist.[Ch]:
7018 * sp_ispell.h: whitespace change
7020 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7022 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7023 lyxaction directly now.
7025 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7029 * lyxvc.C: remove unused headers
7031 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7038 * undo_funcs.C: some cleanups. Use shared_ptr
7039 and a template for the undo stacks.
7041 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7043 * BufferView_pimpl.h:
7044 * BufferView_pimpl.C:
7051 * text2.C: use key_state/mouse_state
7053 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7055 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7058 * chset.C: change include order
7059 (loadFile): use boost regex and get rid of LRegex and LSubstring
7061 * Makefile.am (BOOST_LIBS): new variable
7064 * LaTeX.C: change include order.
7065 (scanAuxFile): use boost regex and get rid of LRegex and
7069 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7074 * FontInfo.C: moved to frontends/xforms/
7077 * FontLoader.C: moved into frontends for GUIIzation
7082 * lyxfunc.C: changes from above
7084 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7086 * LColor.C: remove spurious X include
7088 * BufferView_pimpl.C:
7093 * text2.C: move font metrics to frontends/
7095 2002-05-24 Juergen Vigna <jug@sad.it>
7097 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7098 setting the undo_cursor.
7100 * ParagraphParameters.h: include local includes first.
7102 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7104 * BufferView_pimpl.C:
7105 * BufferView_pimpl.h:
7109 * screen.C: move WorkArea into frontends/
7115 * BufferView2.C: move LyXScreen into frontends/
7119 * lyx_gui.C: move lyxlookup into frontends/xforms/
7121 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7124 * BufferView_pimpl.C:
7134 * bufferview_funcs.C:
7147 * vc-backend.C: move LyX/XFormsView into frontends/
7149 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7161 * text2.C: move Painter to frontends/
7163 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7165 * buffer.C: comment out some some code that depend upon lyx_format
7168 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7169 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7171 * buffer.h (NO_COMPABILITY): turn off compability
7173 * ColorHandler.C: include scoped_array.hpp
7175 * font.C: Use more specific smart_ptr header.
7178 * ShareContainer.h: ditto
7182 * BufferView_pimpl.h: ditto
7183 * ColorHandler.h: ditto
7185 * kbmap.C (defkey): change call to shared_ptr::reset
7187 2002-05-21 Juergen Vigna <jug@sad.it>
7189 * buffer.C (insertErtContents): fix to insert ert asis if it is
7190 non empty. Skip it completely if it contains only whitespaces.
7192 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7194 * BufferView_pimpl.C:
7195 * BufferView2.C: clear selection on paste (bug 393)
7197 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7199 * DepTable.C: include ctime
7201 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7203 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7205 2002-05-14 Juergen Vigna <jug@sad.it>
7207 * text.C (breakParagraph): fixed function to honor the keepempty
7208 layout in the right maner and also to permit the right breaking
7209 algorithm on empty or non empyt keepempty paragraphs.
7211 * paragraph.C (breakParagraph): we have to check also if the par
7212 is really empty (!size()) for isempty otherwise we do the wrong
7215 2002-05-10 Juergen Vigna <jug@sad.it>
7217 * buffer.[Ch] : The following are only changes to the ert
7218 compatibility read reading old LaTeX layout and font stuff and
7219 convert it to ERTInsets.
7221 * buffer.h: added isErtInset().
7223 * buffer.C (struct ErtComp): add a fromlayout bool to check
7224 if we're inside a LaTeX layout.
7225 (isErtInset): new helper function.
7226 (insertErtContents): look for other ert insets before this one
7227 and insert the contents there, so that we don't have subsequent
7228 ERT insets with nothing between them. This way we create only one
7229 inset with multiple paragraphs. Also check if we don't insert only
7230 spaces ' ' as they are ignored anyway afterwards in the .tex file
7231 so if we have only spaces we will ignore this latex part in the
7233 (parseSingleLyXformat2Token \\layout): better compatibility when
7234 reading layout-latex stuff.
7235 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7237 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7238 stuff after reading the inset only get the information back from
7241 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7243 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7245 * LaTeXFeatures.C (getBabelOptions): New method.
7247 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7249 * BufferView_pimpl.C (Dispatch): work around missing argument for
7252 2002-05-08 Juergen Vigna <jug@sad.it>
7254 * text.C (leftMargin): handle paragraph leftindent.
7256 * paragraph.C (writeFile): write the new \\leftindent tag.
7257 (validate): handle leftindent code.
7258 (TeXEnvironment): handle paragraphleftindent code again.
7260 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7262 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7263 for paragrap_extra indent code and new token \\leftindent.
7264 (latexParagraphs): handle the leftindent as environment.
7266 * ParameterStruct.h: added leftindent support.
7268 * ParagraphParameters.C (leftIndent): added support functions for
7269 the paragraph left indent.
7271 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7274 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7276 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7279 * text.C (computeBidiTables): No bidi in insetERT.
7281 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7284 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7286 * version.C.in: pre 5
7288 2002-05-02 José Matos <jamatos@fep.up.pt>
7289 * buffer.C (makeDocBookFile): white space changes, add newline to
7291 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7293 * tabular.C (docBook): fix typo.
7295 2002-05-03 Juergen Vigna <jug@sad.it>
7297 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7298 change in LyXText as we can not be sure it was not freed.
7299 (drawOneRow): remove unused code.
7301 * text.C (drawInset): redo the calculation of the need_break_row as
7302 it could have a row which was already freed.
7303 (draw): look at the return value of drawInset and return false if
7304 it also returned false.
7305 (paintRowText): look at the return value of draw and return false if
7306 it also returned false.
7308 * lyxtext.h: added bool return type to drawInset() and draw() so that
7309 if we have a change in the row so that the rowbreak has to be redone
7310 we abort drawing as it will be called again.
7312 2002-05-02 Juergen Vigna <jug@sad.it>
7314 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7315 a change in the maintext also if we're inside an inset.
7316 (Dispatch): set the cursor again after a break line and after the
7317 screen has been updated as it could be we're in a different row.
7319 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7320 to set the cursor behind the pargraph with > size().
7321 (setCursor): check also for the same paragraph when checking where
7322 to put the cursor if we have a NFR inset.
7324 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7325 parts of layout read further up as it still was in the wrong
7328 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7330 * screen.C (drawFromTo): change sine fullRebreak always return
7333 * buffer.C (parseSingleLyXformat2Token): reindent some
7335 * BufferView_pimpl.C (update): change since fullRebreak always
7337 (Dispatch): git rid of the last hardcoded "Standard"s.
7339 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7341 * text2.[Ch] (fullRebreak): make it return void now that we always
7344 2002-04-30 Juergen Vigna <jug@sad.it>
7346 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7347 ert compatibility check for "latex" layout.
7349 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7351 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7352 minipages: use col% instead of p%, and also use the current font.
7353 (makeLaTeXFile): Fix use babel condition.
7354 (parseSingleLyXformat2Token): Correct font when reading old floats.
7356 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7358 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7359 inserting list of floats.
7361 2002-04-25 Herbert Voss <voss@lyx.org>
7363 * MenuBackend.C (expand): don't add the graphics extensions to the
7366 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7368 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7369 non-existing layout, do not complain if it was the default layout
7370 of the original class (bug #342)
7372 2002-04-24 Juergen Vigna <jug@sad.it>
7374 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7375 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7377 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7379 * buffer.C (getBibkeyList): If using \bibliography, return the
7380 option field with the reference itself. Enables us to provide natbib
7381 support when using \bibliography.
7383 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7385 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7387 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7388 natbib is provided by the LaTeX class.
7390 2002-04-23 Juergen Vigna <jug@sad.it>
7392 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7395 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7397 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7399 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7401 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7402 ensuremath around textordmasculine, textordfeminine and
7405 2002-04-19 Juergen Vigna <jug@sad.it>
7407 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7408 reinitializing the buffer otherwise row-dimensions may be wrong.
7409 (update): reset also the selection cursors if they do exits otherwise
7410 their x/y positions may be wrong.
7412 * text2.C (cursorDown): don't enter the inset if we came from a row
7413 above and are one row over the inset.
7415 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7416 really leaving an inset.
7418 2002-04-18 Juergen Vigna <jug@sad.it>
7420 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7421 of the selected paragraph does not have the selected layout also if
7424 * text2.C (setLayout): fixed bug which did not change last selected
7427 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7428 changed the read and substituted \\end_float with \\end_inset!
7430 * BufferView_pimpl.C (cursorPrevious):
7431 (cursorNext): fixed to make it work with rows heigher than the work
7432 area without moving the cursor only the draw of the row.
7433 (workAreaMotionNotify): fix jumping over high rows.
7435 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7437 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7440 2002-04-16 Juergen Vigna <jug@sad.it>
7442 * text2.C (setCursor): set also the irow().
7443 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7445 (cursorDown): support for locking an inset if the x_fix value goes
7446 inside it. That way I can transverse insets too with cursor up/down.
7448 * lyxrow.h: added irow helper function same as other (i) functions.
7450 * BufferView_pimpl.C (cursorPrevious):
7451 (cursorNext): fixed for insets!
7453 2002-04-15 Juergen Vigna <jug@sad.it>
7455 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7456 position otherwise it is wrong in some cases.
7458 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7459 inside the inset before the call.
7461 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7463 * buffer.[Ch] (getBibkeyList): make it const.
7465 2002-04-12 Juergen Vigna <jug@sad.it>
7467 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7469 * text2.C (getCursorX): new helper function
7470 (setCursor): compute also ix_
7471 (setCursorFromCoordinates): set also ix.
7473 * lyxcursor.h: added ix_ and helper functions.
7475 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7477 * buffer.C (insertStringAsLines): dont break paragraph if the this
7478 paragraph is inside an inset which does not permit it!
7480 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7481 also with no chars on this paragraph.
7482 (paintRowText): only paint stuff if it's inside the workarea!
7484 * paragraph.C (breakParagraph): honor keepempty flag and break the
7485 paragraph always below not above.
7487 * BufferView2.C (unlockInset): update the paragraph layout on inset
7488 unlock as we changed paragraph in such a case.
7490 * lyxfind.C (LyXFind): clear the former selection if not found!
7492 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7493 again called in insertChar().
7495 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7496 an inset which uses the whole row!
7497 (rightMargin): ditto.
7498 (insertChar): force a rebreak if we inserted an inset!
7500 2002-03-28 Herbert Voss <voss@lyx.org>
7502 * lyxlength.[Ch]: add inBP() to get the right PS-point
7503 units (BigPoint). With inPixels we have rounding errors
7505 2002-04-11 Juergen Vigna <jug@sad.it>
7507 * text2.C (setCursorFromCoordinates): set iy to the right value.
7508 (setCursor): add check if row->previous exists!
7510 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7511 an old float_type as this was the case in the old code!
7513 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7515 * BufferView2.C (showLockedInsetCursor): use iy
7516 (fitLockedInsetCursor): ditto
7518 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7519 locked insets as there we have the right value now.
7521 * lyxcursor.C: added iy_ variable and iy functions to set to the
7522 baseline of cursor-y of the locked inset.
7524 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7525 (setCursor): fixed for insets which need a full row.
7527 * text.C (rowLastPrintable): don't ignore the last space when before
7528 an inset which needs a full row.
7529 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7530 as last character of a row when before a inset which needs a full row.
7532 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7534 * version.C.in: update date
7536 * text2.C (fullRebreak): try to always return true and see what
7539 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7541 * MenuBackend.C (expand): use Floating::listName
7543 * FloatList.C (FloatList): add listName argument to the built-in
7546 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7547 text associated with the float.
7549 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7551 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7553 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7555 * ShareContainer.h: add a couple of missing typenames.
7557 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7559 * lyxrc.C (getDescription): use _() correctly rather than N_().
7561 2002-03-28 Herbert Voss <voss@lyx.org>
7563 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7564 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7566 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7568 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7569 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7571 2002-03-29 Juergen Vigna <jug@sad.it>
7573 * lyxfunc.C (dispatch): add a missing fitCursor call.
7575 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7576 it was scrolled by a cursor move, so return the bool status.
7578 * BufferView.C (fitCursor): return the bool flag also to the outside
7579 world as this is needed.
7581 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7583 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7584 call the edit() as it is not needed (and wrong) IMO.
7585 (workAreaButtonPress): set the screen_first variable before evt.
7586 unlock the inset as this may change screen_first and then we have
7587 a wrong y position for the click!
7589 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7591 * MenuBackend.C (expand): another translation that I missed
7593 2002-03-28 Juergen Vigna <jug@sad.it>
7595 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7597 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7599 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7601 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7603 * MenuBackend.C (expand): fix export/view/update when there is no
7606 2002-03-27 Herbert Voss <voss@lyx.org>
7608 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7611 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7613 * bufferview_funcs.C (currentState): only show paragraph number
7614 for is DEVEL_VERSION is set.
7616 * lyxfunc.C (dispatch): put warning in INFO channel
7618 * MenuBackend.C (expand): translate the name of floats
7620 * FloatList.C (FloatList): mark the float names for translation
7622 * converter.C (convert): use LibScriptSearch
7624 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7626 * MenuBackend.C (defaults): fix default menu (we might as well get
7629 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7631 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7634 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7636 * lyxvc.C: reorder includes.
7638 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7640 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7643 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7645 * CutAndPaste.C: change layouts earlier on paste
7646 to avoid crashing when calling getFont()
7648 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7650 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7653 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7655 * WorkArea.C: remove 'Pending' debug message.
7657 * most files: ws cleanup
7659 * buffer.[Ch]: ws changes
7661 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7663 2002-03-21 Juergen Vigna <jug@sad.it>
7665 * tabular.C (SetMultiColumn): collapse also the contents of the
7666 cells and set the last border right. Added a Buffer const * param.
7668 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7670 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7673 2002-03-19 Juergen Vigna <jug@sad.it>
7675 * text2.C (clearSelection): reset also xsel_cache.
7677 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7678 where it needs to be called (John tells us to do so too :)
7679 (selectionLost): reset sel_cache.
7681 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7683 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7685 * text2.C (setCursorIntern): put debuging code in INSETS channel
7687 2002-03-19 André Pönitz <poenitz@gmx.net>
7689 * lyxfunc.C: tiny whitespace change
7691 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7693 * ToolbarDefaults.C (init):
7694 * LyXAction.C (init):
7696 * BufferView_pimpl.C (Dispatch):
7697 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7699 2002-03-19 Allan Rae <rae@lyx.org>
7701 * exporter.C (Export): removeAutoInsets before doing anything else.
7702 While I've just introduced a dependency on BufferView this really is
7703 the best place to clean the buffer otherwise you need to cleanup in
7704 a dozen places before calling export or cleanup in a dozen functions
7707 * converter.C (runLaTeX):
7708 (scanLog): Better handling of removeAutoInsets and screen updates.
7710 * lyxfunc.C (dispatch): small whitespace changes
7712 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7714 * WorkArea.C (C_WorkAreaEvent): return a value.
7715 (event_cb): return 1 if we handled the event, 0 otherwise.
7717 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7719 2002-03-18 Juergen Vigna <jug@sad.it>
7721 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7722 (GetAdditionalWidth): ditto.
7726 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7727 inset if we're there actually (probably not used right now but this
7728 is the direction to go for unifying code).
7729 (paste): disable code to clear the selection.
7731 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7732 inside an InsetText and move the check further up as it is in the
7735 * text2.C (pasteSelection): set a selection over the pasted text.
7737 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7739 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7740 and libgraphics to build on Cygwin.
7742 2002-03-15 Juergen Vigna <jug@sad.it>
7744 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7745 inserting an Inset into the paragraph. I know this is not the best
7746 fix but we already use current_view in CutAndPaste so we will remove
7747 all of it's using at the same time.
7749 * buffer.C (sgmlError): deactivated function till it is rewritten in
7750 the right mode, now it can create problems.
7752 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7753 before accessing it.
7755 2002-03-14 Juergen Vigna <jug@sad.it>
7757 * undo_funcs.C (textHandleUndo): do the right thing when updating
7758 the inset after the undo/redo.
7760 * text2.C (setCursor): just some testcode for #44 not ready yet.
7762 * undo_funcs.C (textHandleUndo): set the next() and previous()
7763 pointers of the paragraph to 0 before deleting otherwise we have
7764 problems with the Paragraph::[destructor].
7766 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7767 on a paragraph insertion.
7769 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7771 * buffer.C (asciiParagraph): use += operator for char append to
7774 * paragraph.C (getFontSettings): compare >= not just >
7775 (highestFontInRange): ditto
7778 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7780 * paragraph.C: change several algorithm to be more appripriate for
7781 the problem domain. This is lookip in FontList and in the InsetList.
7783 2002-03-13 André Pönitz <poenitz@gmx.net>
7786 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7788 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7793 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7795 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7797 * Painter.C (display): anon helper function, adjust code for this
7799 (pixmap): remove function.
7801 * Painter.h: remove private display variable.
7803 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7805 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7807 * WorkArea.[Ch]: remove figinset_canvas cruft.
7809 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7811 * lyxtextclass.C (operator): add one item cache optimization.
7813 * bufferlist.h: doxy changes
7815 * bufferlist.C: ws changes
7817 * DepTable.[Ch] (ext_exist): place const in the right spot.
7819 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7821 (workAreaExpose): call resizeInsets when the with BufferView changes.
7822 (Dispatch): adjust for protectedBlank removal
7823 (specialChar): call updateInset if the insert went ok.
7825 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7826 specialChar instead.
7828 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7830 * BufferView.h: doxy change
7832 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7834 * lyxtextclass.C (operator[]): remove non-const version
7835 (defaultLayout): remove non-const version
7837 2002-03-12 Juergen Vigna <jug@sad.it>
7839 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7840 did resize the LyXText too.
7842 * buffer.C (readLyXformat2): set layout information on newly allocated
7845 * tabular.C (OldFormatRead): set layout information on the paragraph.
7847 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7849 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7851 2002-03-11 Juergen Vigna <jug@sad.it>
7853 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7855 (resizeCurrentBuffer): force also the insets to resize themselfes.
7856 (moveCursorUpdate): fixed up for InsetText.
7858 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7861 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7862 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7863 value of Dialogs::tooltipsEnabled().
7864 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7866 2002-03-08 Juergen Vigna <jug@sad.it>
7868 * BufferView_pimpl.C (updateInset): update inset inside inset also
7869 if it isn't inside theLockingInset().
7871 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7873 * buffer.C (asciiParagraph): redo some of the word and line length
7875 (getLists): look for Caption instead of caption.
7877 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7879 * buffer.C (Buffer): initialize niceFile to true
7882 (makeDocBookFile): make sure niceFile is true on exit
7884 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7886 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7888 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7890 * LyXSendto.C: remove.
7891 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7892 * lyx_gui.C: remove now-redundant comment.
7893 * ColorHandler.h: remove forward declaration of class WorkArea.
7894 * lyxfunc.C: remove #include "WorkArea.h".
7896 2002-03-07 Juergen Vigna <jug@sad.it>
7898 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7899 got moved away with the DEPM and also set the inset_owner always
7900 right which before could have been omitted.
7902 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7904 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7905 wanted layout is not found.
7907 2002-03-07 Juergen Vigna <jug@sad.it>
7909 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7911 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7913 * paragraph.C (breakParagraph): use default layout not layout of
7915 (Paragraph): clear ParagraphParameters.
7917 2002-03-06 Juergen Vigna <jug@sad.it>
7919 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7920 otherwise it would not be a valid lenght. Fixed a special case in
7921 the minipage compatibility read where we end the document with a
7924 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7925 was set as it could be 0 for InsetTexts first entry.
7927 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7929 * paragraph.C (writeFile): if layout is empty write out
7930 defaultLayoutName().
7932 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7933 file without named layout we set layout to defaultLayoutName().
7935 2002-03-06 Juergen Vigna <jug@sad.it>
7937 * CutAndPaste.C (copySelection): set layout for new paragraph.
7939 * text.C (prepareToPrint): leave ERT inset left aligned
7940 (leftMargin): don't indent paragraphs inside ERT insets
7942 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7944 * paragraph.C (breakParagraph): dont call clear do the work manually
7946 * paragraph.[Ch] (clear): remove function
7948 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7950 * paragraph.C (Paragraph): dont call clear, the work has already
7953 * lyxtextclass.C (operator): assert if n is empty
7955 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7956 work manually instead.
7958 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7960 * BufferView_pimpl.C: protect selectionLost against text == 0
7962 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7964 * text.C (breakParagraph): fix a setting layout to '0' problem.
7966 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7968 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7969 final location of file, for the included files, and graphics.
7971 2002-03-05 Juergen Vigna <jug@sad.it>
7973 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7975 2002-03-04 Juergen Vigna <jug@sad.it>
7977 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7979 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7980 last column of multicolumn cells.
7981 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7983 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7985 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7986 file if it doesn't go to a temporary file.
7988 * buffer.C (sgmlOpenTag):
7989 (sgmlCloseTag): remove extra newline insertion.
7991 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7993 * text.C (getRowNearY): comment out debug msg
7995 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7997 * text2.C: first -> first_y
7999 * text.C (getRowNearY): add some attemts at a possible
8000 optimization, not working.
8002 * tabular.[Ch]: add BufferParams to several function so that newly
8003 created paragraph can be initialized to he default layotu for the
8006 * tabular-old.C (ReadOld): add buf->params to call of Init
8008 * screen.C: rename text->first to text->first_y
8010 * paragraph.C (breakParagraph): always set layout in the broken
8013 * lyxtextclass.C (Read): remove lowercase
8016 (delete_layout): ditto
8018 * lyxtext.h: rename first -> first_y
8020 * lyxlayout.C (Read): remove lowercase
8023 (obsoleted_by): ditto
8025 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8027 * buffer.C (insertErtContents): add params are to InsetERT
8028 (parseSingleLyXformat2Token): add code to check if a paragraphs
8029 layout really exist.
8030 (parseSingleLyXformat2Token): add params to several inset
8032 (asciiParagraph): remove lowercase, do the layout comparisons with
8035 * BufferView_pimpl.C (cursorNext): first -> first_y
8036 (resizeCurrentBuffer): first -> first_y
8037 (updateScrollbar): first -> first_y
8038 (scrollCB): first -> first_y
8039 (workAreaMotionNotify): first -> first_y
8040 (workAreaButtonPress): first -> first_y
8041 (checkInsetHit): first -> first_y
8042 (cursorPrevious): first -> first_y
8043 (cursorNext): first -> first_y
8044 (Dispatch): add buffer_->params to severl inset contructors
8046 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8048 * lyxlayout.C (Read): remove some debug info that I forgot.
8050 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8051 clean up the code slightly.
8052 (makeLinuxDocFile): ditto
8053 (makeDocBookFile): ditto
8055 * text2.C: layout as string
8057 * text.C: layout as string
8059 * paragraph_pimpl.C: layout as string
8061 * paragraph.[Ch]: layout as string
8063 * lyxtextclasslist.[Ch]: layout as string
8065 * lyxtextclass.[Ch]: layout as string
8067 * lyxtext.h: layout as string
8069 * lyxlayout.[Ch]: layout as string
8071 * lyx_cb.C: layout as string
8073 * bufferview_funcs.C: layout as string
8075 * bufferparams.C: layout as string
8077 * buffer.C: layout as string
8079 * LyXView.[Ch]: layout as string
8081 * LaTeXFeatures.[Ch]: layout as string
8083 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8085 * BufferView_pimpl.C: change current_layout to string, remove
8090 (workAreaButtonRelease): layout as string
8092 * BufferView2.C (unlockInset): adjust
8094 * vspace.C (asLatexCommand): use an explict temp variable.
8096 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8098 * Makefile.am: use FRONTEND_*
8100 2002-03-01 Juergen Vigna <jug@sad.it>
8102 * tabular.C (SetWidthOfMulticolCell): changed to something better
8103 I hope but still work in progress.
8104 (recalculateMulticolumnsOfColumn): renamed function from
8105 recalculateMulticolCells as it is more appropriate now.
8106 (SetWidthOfCell): calculate multicols better.
8108 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8110 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8112 * lyxfunc.C (processKeySym): print sequence also if it is
8113 `deleted' (complete)
8115 * kbsequence.C (print): print sequence even if it is deleted
8116 (complete would be a better word, actually).
8118 * lyxfunc.C (dispatch): print complete options after a prefix key
8120 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8122 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8124 * text2.C (setCharFont): eliminate setCharFont code duplication.
8126 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8128 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8129 LFUN_TABULAR_FEATURE (bug #177)
8131 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8133 * Makefile.am: remove figure.h
8135 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8137 * Bufferview_pimpl.C:
8149 * text2.C: remove #include "lyx_gui_misc.h".
8151 * LaTeX.C: added #include <cstdio>
8153 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8155 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8156 that the paragraph following this one can have.
8158 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8160 * vspace.C (asLatexCommand): fix bogus gcc warning
8162 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8164 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8166 * text2.C (setLayout): get rid of redundant code
8168 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8170 * text2.C (incDepth): make sure depth cannot be increased beyond
8173 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8175 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8176 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8178 * PainterBase.h (image):
8179 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8182 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8186 * BufferView_pimpl.C:
8187 * BufferView_pimpl.h:
8207 * sp_spell.C: remove fig inset, and the crap house of
8208 cards that follows it
8210 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8216 * nt_defines.h: move .h into support/
8218 * vms_defines.h: remove
8220 * WorkArea.C: add space in debug output
8224 * buffer.C: add WITH_WARNINGS
8228 * bufferlist.C: s/retrive/retrieve/, add docs
8239 * lyxgui.C: add ID to X error handler
8241 * lyxtestclass.c: fix typo
8243 2002-02-26 Juergen Vigna <jug@sad.it>
8245 * tabular_funcs.C (write_attribute): changed so that some default
8246 attributes are not written at all.
8247 (getTokenValue): set default values before trying to read the
8248 value so we have the return value always set as default if we don't
8249 find the token we search for.
8251 * tabular.C (Write): write bools as bools not as strings!
8253 2002-02-22 Juergen Vigna <jug@sad.it>
8255 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8256 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8258 * text.C (leftMargin): don't add an indent for paragraphs inside
8259 tabular cells (fix #208).
8261 2002-02-21 José Matos <jamatos@fep.up.pt>
8263 * tabular.C (docBook): fixed support for long tables.
8265 2002-02-20 Juergen Vigna <jug@sad.it>
8267 * text2.C (getFont): get the drawing font of the Inset if this
8268 paragraph is inside an inset (only important for InsetERT for now).
8270 * buffer.C (insertErtContents): use new lanugage params in ERT
8273 * CutAndPaste.C: commenting out seemingly uneeded code.
8275 2002-02-19 Allan Rae <rae@lyx.org>
8277 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8278 Iterators might be simple to use but they also get invalidated.
8279 (removeAutoInsets): renamed saved cursor tracking variables and added
8280 some comments to clarify what everything does.
8282 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8289 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8290 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8293 * vc-backend.h: remove #include "support/syscall.h"
8297 * converter.C: rearrange #includes in Lars' approved fashion.
8299 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8300 forward declare class Timeout in the header file.
8302 * XFormsView.C: changes due to the above.
8304 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8307 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8308 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8310 2002-02-18 José Matos <jamatos@fep.up.pt>
8312 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8315 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8317 * a lot of small ws changes
8318 * add a lot of using std::XXX
8319 * use std construcs some places where approp.
8320 * use some exisint stuff from lyxfunctional where approp.
8321 * Make file changes to use partial linking (lets test this now...)
8323 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8327 remove #include "support/syscontr.h" as it's redundant. Always has been.
8335 change Systemcalls::System to Systemcalls::Wait and
8336 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8337 No change of functionality, just reflects the stripped down Systemcalls
8340 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8342 * debug.[Ch]: add a GRAPHICS type to the enum.
8344 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8346 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8348 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8351 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8353 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8354 match the changes below.
8356 * text2.C (toggleInset): if there is not editable inset at cursor
8357 position, try to see if cursor is _inside_ a collapsable inset
8360 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8362 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8363 document menu has a nice checkbox
8365 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8367 * lyxlength.C (asLatexString): change PW to output as percent of
8370 * lengthcommon.C: change '%' to 't%'
8372 * lyxfunc.C (dispatch): a few comments from Martin
8374 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8378 * BufferView_pimpl.h:
8379 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8382 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8384 * vspace.C (inPixels): fix compiler warning
8386 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8388 * lyxfunc.C (getStatus): fix status message for disabled commands.
8390 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8392 * BufferView_pimpl.C: fix crash on close buffer
8393 during selection (#227)
8395 2002-01-27 Herbert Voss <voss@lyx.org>
8397 * buffer.C: link old Figure to new graphic inset
8399 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8401 * FontLoader.C (getFontinfo): Change the latex font names in order
8402 to match the names of type1inst.
8404 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8406 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8408 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8411 (remove_files_with_extension): ditto
8412 (remove_file): ditto
8415 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8416 document is smaller than the work area height. Do not initialize
8417 static variables to 0.
8419 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8421 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8423 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8424 LFUN_LAYOUT_PARAGRAPHS.
8426 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8427 tabular. It is possible to provide a possible cell, which will
8428 typically be the actcell from the corresponding insettabular
8430 * lyxfunc.C (getStatus): small cleanup; disable
8431 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8434 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8436 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8438 * paragraph.C (startTeXParParams):
8439 (endTeXParParams): new methods. The LaTeX code to
8440 start/end paragraph formatting
8441 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8442 empty (fixes bug #200)
8444 * vspace.C (inPixels): adapt to the change below
8445 (inPixels): [later] more cleanups (remove unused variables)
8447 * lyxlength.C (inPixels): change to use a width and a height as
8450 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8452 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8453 Replaced with \paperwidth
8455 * DepTable.C (insert): add std:: qualifier
8457 2002-01-18 Allan Rae <rae@lyx.org>
8459 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8462 * text.C (drawInset): Turned out I didn't know enough about how
8463 rebreaking worked. This fixes most of the redraw problems. I see
8464 an occasional cursor trail when a line is broken now and the cursor
8465 placement can seem out by a few pixels also after a rebreak.
8467 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8469 * buffer.C (parseSingleLyXformat2Token): update because minipage
8470 width is now a LyXLength
8472 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8474 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8477 2002-01-17 Juergen Vigna <jug@sad.it>
8479 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8481 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8482 is set correctly and the inset is updated correctly.
8484 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8486 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8487 the beginning of the loop.
8489 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8491 * lyxrc.C: improve help for use_scalable_fonts
8493 2002-01-17 Allan Rae <rae@lyx.org>
8495 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8497 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8499 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8500 make sure to set their inset_owner to the right value (bug #171)
8502 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8505 * DepTable.C: Implement mtime checking to reduce time spent doing
8508 2002-01-16 Juergen Vigna <jug@sad.it>
8510 * tabular.C (GetAdditionalHeight): one of error fixed.
8512 * lyxrc.C (output): small fix in writing use_pspell.
8514 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8516 * sp_base.h: #include LString.h
8518 2002-01-16 Allan Rae <rae@lyx.org>
8520 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8521 Can someone check this please?
8523 * text.C (drawInset): It was possible that p.row would be removed by
8524 breakAgainOneRow upsetting a few other settings. There may be another
8525 small tweak possible by setting need_break_row = 0 when p.row has been
8526 removed but I don't know enough about the logic here.
8528 2002-01-15 Allan Rae <rae@lyx.org>
8530 * text.C (insertChar): removed conditional truism.
8532 * BufferView2.C (removeAutoInsets): More tweaks.
8533 cur_par_prev could be a stray pointer. Check for trailing empty line
8534 in case last line was cur_par and only had an error inset on it.
8536 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8538 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8541 * vc-backend.C (most methods):
8542 * exporter.C (Export):
8543 * converter.C (convert):
8545 * LyXSendto.C (SendtoApplyCB):
8546 * lyxfunc.C (dispatch):
8550 * lyx_cb.C (AutoSave):
8552 * BufferView_pimpl.C (MenuInsertLyXFile):
8553 * buffer.C (runChktex): use Buffer::filePath().
8555 * buffer.h: rename filename to filename_; rename filepath to
8556 filepath_ and make it private
8557 (filePath): new method
8559 * buffer.C (writeFile): use fileName()
8562 * lyx_main.C (init): fix starting of LyX when the binary is a
8563 link from so,ewhere else.
8565 * minibuffer.C: include <cctype> for isprint
8567 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8569 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8570 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8571 name clash with InsetCollapsable's width function.
8573 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8575 * lastfiles.C: include <iterator>
8577 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8579 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8582 * buffer.C (makeLaTeXFile): ditto.
8583 Also make loop operation more transparent.
8585 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8587 * ToolbarDefaults.C: remove trailing comma closing namespace.
8589 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8591 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8594 * trans.C (Load): comment out unused variable, allowed.
8596 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8598 * minibuffer.[Ch] (append_char): new method to recieve input from the
8599 drop-down completion browser. If a key was pressed, then recieve this
8600 char and append it to the existing string.
8601 (peek_event): modify the positioning data passed to the completion
8602 browser so that it can be placed above the minibuffer rather than below.
8603 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8605 * LyXAction.C (init): alloe error-next for readonly documents.
8607 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8610 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8612 * bufferlist.C (readFile): create the buffer _after_ checking that
8615 * lyxfunc.C (verboseDispatch): fix handling of arguments
8617 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8619 * lyxrc.C: use string::erase() instead of initializing to "".
8622 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8624 * BufferView_pimpl.h:
8625 * BufferView_pimpl.C:
8628 * text2.C: tell X when we have made a selection for copying
8630 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8632 * BufferView_pimpl.C (MenuInsertLyXFile):
8633 * lyxfunc.C (menuNew):
8635 (doImport): add shortcuts to directory buttons
8637 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8640 * lyxfunc.C (setStatusMessage):
8641 (getStatusMessage): new methods
8642 (getStatus):use setStatusMessage instead of setErrorMessage
8643 (dispatch): when function is disabled, set error message here
8644 [instead of in getStatus previously]
8646 * BufferView_pimpl.C (workAreaButtonRelease): update
8647 toolbar/menubar here too.
8649 2002-01-13 Allan Rae <rae@lyx.org>
8651 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8652 Now seems indestructible. Remaining task is to audit all other
8653 code affected by deleteEmptyParagraphMechanism. One small quirk
8654 left is that an empty document with an error in the preamble can
8655 be made to report an error but no error box appears. I don't know
8657 (removeAutoInsets): Improved comments.
8659 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8662 * Thesaurus.C: update for Aiksaurus 0.14
8664 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8666 * text2.C (firstParagraph): removed member function, all uses
8667 replaces with ownerParagraph
8668 (redoParagraphs): here
8670 (toggleAppendix): here
8671 * BufferView2.C (insertErrors): here
8672 (setCursorFromRow): here
8674 2002-01-13 Allan Rae <rae@lyx.org>
8676 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8677 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8678 There is still a way to segfault this although you may have to do this
8679 multiple times: Have an InsetERT with an unknown command in it.
8680 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8681 <down-arrow>, <Enter> again, View->DVI, BANG!
8683 * text2.C (setCursor):
8684 (deleteEmptyParagraphMechanism):
8685 * lyxtext.h (setCursor):
8686 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8687 Making use of the return value may help fix other bugs.
8689 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8691 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8693 * LyXView.C (updateMenubar): call MenuBar::update here
8694 (updateToolbar): but not here
8695 (showState): do not update toolbar/menubar
8697 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8698 should need to care about that.
8700 * lyxfunc.C (verboseDispatch): simplify a bit
8701 (getStatus): have a version which takes a pseudoaction, and
8702 another which requires a (kb_action,string).
8704 * LyXAction.C (retrieveActionArg): make it work also when action
8705 is not a pseudo-action.
8706 (getActionName): simplify a bit
8709 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8711 * lyxfunc.C (verboseDispatch): new families of methods with
8712 several ways to specify a command and a bool to indicate whether
8713 the command name and shortcut should be displayed in minibuffer
8714 (eventually, we could extend that to a finer bitmask like
8715 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8716 (dispatch): the pristine dispatch command which just, well,
8717 dispatchs! Note it still sets its result to minibuffer; I'm not
8720 * lyxfunc.h: remove setHintMessage
8722 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8724 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8726 * BufferView_pimpl.C (specialChar): delete new inset if we have
8727 not been able to insert it.
8729 * kbmap.C: revert to using int instead of kb_action, since all we
8730 are dealing with is pseudo-actions.
8732 * LyXAction.C (searchActionArg): change to return int instead of
8733 kb_action, since the result is a pseudoaction.
8735 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8737 * buffer.C (insertErtContents): Fix (partially) the font bug.
8739 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8741 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8742 as the other one is broken on my machine!
8744 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8747 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8749 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8751 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8752 reflect their actual use. Provide compatibility code for older lyxrc
8755 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8757 change names of popup font variables in line with the changes to lyxrc.C
8759 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8761 * buffer.C (asciiParagraph): avoid outputing a word twice after
8764 * lyxrc.C (getDescription): document that document_path and
8765 template_path can be empty.
8767 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8769 * LaTeXFeatures.C (getMacros):
8770 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8772 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8774 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8776 (getPackages): rename feature "floats" to "float". Use an array to
8777 iterate over 'simple' features (i.e. just a \usepackage). Add
8778 handling of "amsmath" (renamed from "amsstyle").
8780 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8782 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8785 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8787 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8788 FuncStaus::FuncStatus & FuncStaus::some_method().
8790 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8792 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8793 of the func_satus stuff. Edited and massaged in various ways by
8796 * lyxfunc.C (getStatus): use FuncStatus
8798 2002-01-08 Juergen Vigna <jug@sad.it>
8800 * text.C (nextBreakPoint): use function Inset::isChar().
8802 * paragraph.C (TeXOnePar): use function
8803 Inset::forceDefaultParagraphs.
8805 * buffer.C (latexParagraphs): use function
8806 Inset::forceDefaultParagraphs.
8808 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8810 * lyx_gui.C (init): set the style of the menu popups to
8811 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8813 2002-01-07 Juergen Vigna <jug@sad.it>
8815 * text.C (setHeightOfRow): small fix
8816 (prepareToPrint): don't look at alignment if we don't have the place
8819 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8821 * box.C: New file. Move the Box methods and functions out of box.h,
8822 following Lars' suggestion.
8824 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8826 * box.h: #include "support/LOstream.h", needed for inlined function.
8829 * lyxtextclasslist.C: added some using std declarations.
8831 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8833 * box.h: make signed dimensions to allow insets wider than
8834 the screen (bug #162)
8836 * BufferView_pimpl.C: add some insetHit debug
8838 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8840 * vc-backend.C: add FIXME
8842 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8844 * lyxfunc.C (getStatus): enable code for showing math font status
8847 2002-01-07 Juergen Vigna <jug@sad.it>
8849 * text.C (nextBreakPoint): removed debug output not needed anymore.
8851 2002-01-06 Juergen Vigna <jug@sad.it>
8853 * text.C (nextBreakPoint): fixed up this function we had this bug
8854 since ever but now hopefully we break row better.
8855 (insertChar): we have to check if an inset is the next char as it
8856 could now happen that a large inset is causing a break.
8858 2002-01-05 Juergen Vigna <jug@sad.it>
8860 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8861 if it doesn't like to be drawed.
8863 2002-01-04 Juergen Vigna <jug@sad.it>
8865 * BufferView2.C (lockInset): forgot to set a cursor.
8867 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8869 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8874 * form_maths_panel.C:
8875 * form_maths_panel.h:
8876 * form_maths_panel.fd: implemented sub- and super- buttons in math
8879 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8880 (or ^ space) to be used as in TeX (req'd by André).
8882 * lyxfunc.C: Allow ^ and _ again to be used both as
8883 super/subscript (mathed) and as themselves (in text).
8885 2002-01-03 Allan Rae <rae@lyx.org>
8887 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8888 "LyX" or the filename of the current buffer if it has one. This is a
8889 modified form of John Levon's patch.
8891 * XFormsView.C (setWindowTitle): also set icon title.
8893 * LyXView.h (setWindowTitle): signature changed.
8894 * XFormsView.h (setWindowTitle): ditto.
8896 2002-01-02 Juergen Vigna <jug@sad.it>
8898 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8900 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8902 * screen.C (topCursorVisible): introduce a temp var for
8903 text->cursor.row(), handle the case where this row is null. (kindo
8906 * text2.C (setCursor): add a couple of asserts.
8908 * paragraph.h (inset_iterator): add -> operator
8910 * paragraph.[Ch] (autoDeleteInsets): remove member function
8912 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8913 cursor pos correctly and handle inset deletion by itself.
8914 (insertErrors): move iterator declaration out of for expression
8916 * lyxtextclass.C: add <algorithm>
8918 * Makefile.am: added the new files to sources, removed layout.C
8920 * layout.C: removed file
8922 * layout.h: remove LYX_DUMMY_LAYOUT
8924 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8928 * lyxtextclass.[Ch]:
8929 * lyxtextclasslist.[Ch]: new files
8931 * include order changes to a lot of files, also changes because of
8934 2001-12-27 Juergen Vigna <jug@sad.it>
8936 * buffer.C (asciiParagraph): more fixes.
8938 * tabular.C (ascii): make ascii export support export of only the
8939 data separated by a column-delimiter.
8940 (ascii): better support for ascii export.
8942 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8944 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8946 * tabular_funcs.C: use a "using std::getline" instead of the
8947 previous fix from Angus (necessary for cxx + lyxstring)
8949 2001-12-24 Juergen Vigna <jug@sad.it>
8951 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8953 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8954 problems. First check a minipage also if we have some ert-contents
8955 (not only on par->size(), second set the right depth of the paragraph
8956 on the relink to the root-paragraph-list!
8958 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8959 which then did not anymore update the main paragraphs on undo/redo!
8961 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8963 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8964 code. Support all font-changing funcs (even those which are not in
8965 menu currently). Support for reporting font settings in
8966 mathed (disabled until Andre provides a function on mathed's side).
8968 * func_status.h (toggle): small helper function to set toggle
8971 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8973 * tabular_funcs.C: getline -> std::getline
8975 2001-12-21 Juergen Vigna <jug@sad.it>
8977 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8978 accessed and could be 0 (I couldn't generate this but it seems
8981 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8983 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8984 * tabular_funcs.h: here and include iosfwd
8986 2001-12-20 Juergen Vigna <jug@sad.it>
8988 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8989 inside inset but undo_par was.
8991 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8993 * Thesaurus.C: always include <config.h> in sources.
8997 * box.h: do not include <config.h> in header files
8999 * text.C (paintLastRow): remove unused variable
9001 * text.C (transformChar):
9003 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9006 * font.C (width): rewrite to use uppercase() instead of
9009 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9011 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9013 * lyxfind.C: clean up of find failure position change
9015 2001-12-20 Juergen Vigna <jug@sad.it>
9017 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9019 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9020 (TeXRow): added to LaTeX a single tabular row.
9021 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9022 (Latex): simplified and finally good LT-h/f support.
9023 (various_functions): just small adaptions for LT-h/f support.
9025 * tabular_funcs.[hC]: added and moved here all not classfunctions
9028 2001-12-19 Juergen Vigna <jug@sad.it>
9030 * tabular.[Ch]: better support for longtabular options (not finished
9033 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9035 * text.C (paintLastRow): use the label font instead of the font of
9036 the last character to compute the size of *_BOX. This makes more
9037 sense and avoids a crash with empty paragraphs.
9038 Use Painter::rectangle to draw EMPTY_BOX.
9040 2001-12-19 Juergen Vigna <jug@sad.it>
9042 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9043 the paragraphs if the replaced paragraph is not the first one!
9044 Tried to delete not used paragraphs but does not work yet so for
9045 now it's inside #ifdef's and by default off!
9047 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9049 * MenuBackend.C: include "lyx_main.h" instead of declaring
9050 lastfiles (actually was declared as LastFiles* instead of a
9053 2001-12-17 Juergen Vigna <jug@sad.it>
9055 * tabular.C (AppendColumn): applied John's fix
9057 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9061 * BufferView_pimpl.h:
9062 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9065 * box.h: new start of class for above
9067 * lyxfunc.C: ignore space-only minibuffer dispatches.
9068 Show the command name when it doesn't exist
9070 * minibuffer.C: don't add empty lines to the history
9072 * minibuffer.C: add a space on dropdown completion
9074 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9076 * text.C: fix line above/below drawing in insets
9078 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9080 * lyxlength.C (LyXLength): Initialize private variables.
9082 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9084 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9085 when inserting error insets.
9087 2001-12-13 Juergen Vigna <jug@sad.it>
9089 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9090 actually sometimes the before-paragraph.
9091 (setUndo): don't clear the redostack if we're not actually undoing!
9093 2001-12-06 Juergen Vigna <jug@sad.it>
9095 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9096 and fixed redoing of main paragraph, so we can use it now ;)
9098 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9100 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9102 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9105 2001-12-13 André Pönitz <poenitz@gmx.net>
9108 * undo_func.C: minor cleanup
9110 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9112 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9113 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9114 font in urw-fonts package which is marked as -urw-fontspecific and
9115 does not work (incidentally, changing the encoding in the
9116 fonts.dir of this package to -adobe-fontspecific fixes the
9119 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9120 is a crash when undoing first paragraph (Juergen, please take a
9121 look). THis does not mean the undo fix is wrong, just that it
9124 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9125 the (Paragraph*) version when needed instead of duplicating the
9128 * text.C (workWidth): use Inset::parOwner to find out where the
9129 inset has been inserted. This is a huge performance gain for large
9130 documents with lots of insets. If Inset::parOwner is not set, fall
9131 back on the brute force method
9133 * paragraph_pimpl.C (insertInset):
9134 * paragraph.C (Paragraph):
9135 (cutIntoMinibuffer): set parOwner of insets when
9136 inserting/removing them
9138 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9140 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9146 * mathed/formulabase.C:
9147 * mathed/math_cursor.[Ch]:
9148 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9151 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9153 * lyxlength.[Ch] (operator!=): new function
9155 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9157 * text.C (workWidth): use Inset::parOwner to find out where the
9158 inset has been inserted. This is a huge performance gain for large
9159 documents with lots of insets. If Inset::parOwner is not set, fall
9160 back on the brute force method
9162 * paragraph_pimpl.C (insertInset):
9163 * paragraph.C (Paragraph):
9164 (cutIntoMinibuffer): set parOwner of insets when
9165 inserting/removing them
9167 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9169 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9171 * tabular-old.C (getTokenValue):
9172 * tabular.C (getTokenValue):
9173 (write_attribute): new versions for LyXLength
9174 (everywhere): adjust the use of widths
9176 * tabular.h: change the type of widths from string to LyXLength
9178 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9180 * paragraph.C: fixed missing line number count when exporting
9181 Environments to LaTeX file
9183 * buffer.C: added informational message for checking line numbers.
9185 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9187 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9188 paragraph, do the 'double space' part, but not the 'empty
9191 * text.C (workWidth): small optimization
9192 (getLengthMarkerHeight): use minimal size for negative lengths.
9194 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9196 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9198 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9200 2001-12-11 André Pönitz <poenitz@gmx.net>
9203 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9205 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9207 * text2.C: keep selection on a setFont()
9209 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9211 * lyx_cb.C: another bv->text misuse, from insert label
9213 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9216 * kbsequence.C: re-instate nmodifier mask
9218 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9220 * lyx_main.h: make lyxGUI private.
9222 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9224 * lyxfind.C: place the cursor correctly on failed search
9226 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9228 * text.C (getLengthMarkerHeight): for small heights, the arrows
9229 are not always on top/bottom of the text
9230 (drawLengthMarker): smaller arrows; take the left margin in
9231 account; draw also vfills.
9233 (paintLastRow): remove special code for vfill and standard spaces,
9234 since everything is handled in drawLengthMarker now.
9236 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9238 * buffer.C (insertErtContents): try to handle font and language
9239 interaction a bit better.g
9241 * ColorHandler.C (updateColor): change the hash to cover the whole
9242 LColor enum, ws cleanup
9243 (getGCLinepars): ditto
9244 (getGCLinepars): only lookup in the linecache once.
9246 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9248 * iterators.C (operator++): Make the iterator more robust
9250 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9252 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9254 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9257 * text.C: better added space drawing
9259 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9262 * BufferView2.C: fix layout combo update on inset unlock
9264 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9266 * Makefile.am: don't compile unused files
9268 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9272 * LyXAction.C: remove old LFUN_LAYOUTNO
9274 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9276 * paragraph_pimpl.h:
9277 * paragraph_pimpl.C: isTextAt() doesn't need font param
9279 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9282 * lyxlex.C: little cleanup
9284 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9286 * BufferView_pimpl.C: fix insertAscii for insets
9288 2001-12-05 Juergen Vigna <jug@sad.it>
9290 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9291 set the right font on the "multi" paragraph paste!
9293 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9299 * lyxlength.C: remove out-commented code.
9315 * vc-backend.C: change "while(" to "while ("
9317 * lyxlength.[Ch]: add zero function to check if length is zero or
9319 * lyxgluelength.C: use it
9321 2001-12-05 Allan Rae <rae@lyx.org>
9323 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9324 Works for 2.95.3, from what I understand of Garst's reports this should
9325 work for other g++ versions. We're screwed if the abs(int) definition
9326 changed between bugfix releases of gcc.
9328 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9330 * text.C: fix chapter label offset !
9332 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9335 * text.C: fix hfill at end of line, clean up
9337 2001-12-04 Juergen Vigna <jug@sad.it>
9339 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9340 that we force an update of the inset and it's owners if neccessary.
9342 2001-12-03 Juergen Vigna <jug@sad.it>
9344 * text.C (rowLast): simplified code
9346 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9348 * lyxfunc.C: fix show options on timeout
9350 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9352 * screen.C (topCursorVisible): scroll half a page when the cursor
9353 reached top of bottom of screen
9355 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9357 * minibuffer.C: deactivate on loss of focus
9359 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9361 * vspace.[Ch] (operator!=): add operator.
9363 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9365 * BufferView_pimpl.C: refuse to open an inset when
9366 there's a selection.
9368 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9370 * BufferView_pimpl.C: allow to click on RHS of full row insets
9372 2001-11-30 Juergen Vigna <jug@sad.it>
9374 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9375 insets for undo reasons.
9377 2001-11-28 André Pönitz <poenitz@gmx.net>
9379 * vspace.[Ch]: cosmetical changes
9381 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9391 * kbsequence.C: part re-write of old kb code
9394 * WorkArea.C: remove Lgb_bug_find_hack
9396 2001-11-30 José Matos <jamatos@fep.up.pt>
9398 * buffer.C (makeDocBookFile): add a comment to point a hack.
9399 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9400 Fixed a double write of labels.
9402 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9405 * LaTeX.h Fixed bug in LaTeX class where it would not
9406 re-run latex if no depfiles were changed, but the .dvi was removed.
9408 2001-11-28 André Pönitz <poenitz@gmx.net>
9410 * all the files from the change on 2001/11/26:
9411 use lyx::layout_type instead of LyXTextClass::size_type
9412 use lyx::textclass_type instead of LyXTextClassList::size_type
9414 2001-11-29 Juergen Vigna <jug@sad.it>
9416 * text.C: added support for paragraph::isFreeSpacing()
9418 * buffer.C: same as above
9420 * paragraph.h: inserted isFreeSpacing() function to enable
9421 FreeSpacing inside InsetERT.
9423 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9424 of the paragraph's in the cut/copy buffer to 0!
9426 * text2.C (removeRow): remove the assert as it can!
9428 * lyxtext.h: added helper function firstRow returning firstrow and
9429 made firstrow private again.
9431 * BufferView2.C (lockInset): don't relock if we're already locked!
9433 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9435 (removeRow): added Assert::(firstrow)
9437 * debug.C: forgot to add INSETTEXT here.
9439 2001-11-28 Juergen Vigna <jug@sad.it>
9441 * sp_spell.C (initialize): changed error text to more general
9442 spellchecker command use (not only ispell!)
9444 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9446 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9448 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9450 * vspace.C: initialise lyxgluelength on failure
9452 2001-11-28 Allan Rae <rae@lyx.org>
9454 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9455 declaration & definition that looks like a function declaration.
9457 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9459 * BufferView2.C (copy):
9460 (copyEnvironment): do not clear the selection when doing a copy.
9462 * text.C (paintFirstRow): compilation fix
9464 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9466 * tabular.C (Latex): correct line count when writing latex.
9468 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9470 * paragraph_pimpl.h:
9471 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9474 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9478 * LColor.C: change vfillline->added_space
9480 * text.C: add markers and text for added space
9482 * vspace.C: fix comment
9484 2001-11-28 André Pönitz <poenitz@gmx.net>
9486 * paragraph.C: whitespace changes
9487 * all the other files from the change on 2001/11/26:
9488 change *::pos_type into lyx::pos_type
9490 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9492 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9493 language of the document when inserting error insets.
9495 2001-11-26 André Pönitz <poenitz@gmx.net>
9497 * BufferView_pimpl.[Ch]:
9505 * paragraph_pimpl.[Ch]:
9508 * text2.C: reduce header dependencies, introduce type for positions
9510 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9512 * <various>: change to use Alert.h
9514 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9516 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9517 when encountering an unknown token.
9518 (readLyXformat2): Show an error message if there were unknown tokens.
9520 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9523 * BufferView_pimpl.C:
9527 * text2.C: use par->isInset()
9529 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9531 * paragraph_pimpl.h:
9532 * paragraph_pimpl.C: cleanup
9534 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9536 * text2.C (removeRow):
9537 * text.C (setHeightOfRow): remove useless (and costly) call to
9540 2001-11-20 Allan Rae <rae@lyx.org>
9542 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9543 Now need Inset*::checkInsertChar() to return true for appropriate
9544 cases so that the characters in the minibuffer will actually be
9547 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9549 * text.C: change the order of the includes.
9550 (workWidth): initialize it at once.
9551 (workWidth): make maxw unsigned
9552 (setHeightOfRow): remove unused variable (inset)
9553 (selectSelectedWord): remove unused variable (inset)
9554 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9556 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9558 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9559 server is not running.
9561 (closeConnection): add debug info when server is disabled.
9563 * ColorHandler.C (getGCForeground): send debug message to GUI
9566 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9568 * kbmap.C (bind): modify because return conventions of
9569 kb_sequence::parse have changed.
9571 * kbsequence.C (parse): only ignore spaces and not any stupid
9572 control character. This avoids tests like s[i] <= ' ', which are
9573 guaranteed to fail with 8bit characters and signed chars.
9574 Change return code to string::npos when there have been no error
9575 (0 was a bad idea when error is at first character)
9577 2001-11-14 José Matos <jamatos@fep.up.pt>
9580 * buffer.C (simpleDocBookOnePar): removed unused argument.
9582 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9584 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9585 insets which are part of a word. Paragraph::isLetter takes care of
9586 that now. Use Paragraph::isInset to identify insets.
9587 (selectSelectedWord): do not test for hyphenation break.
9589 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9590 that protected spaces are considered as spaces.
9592 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9595 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9598 * lyxserver.C: fix it. and small cleanup.
9600 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9602 * BufferView_pimpl.C: use inline helpers
9605 * LaTeXFeatures.C: fix typos
9608 * Spacing.C: move spacing_string into class
9610 * ToolbarDefaults.C: move stuff into namespace anon
9612 * layout.h: update enum
9614 * lyxfunc.C: use better debug
9616 * minibuffer.h: fix typo
9620 * WorkArea.C: add and use Debug::WORKAREA
9624 * text2.C: code re-organisation, inline helpers
9626 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9628 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9629 std::vector.empty().
9631 2001-11-09 Allan Rae <rae@lyx.org>
9633 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9634 '\n's after tables. Tabular and ERT inset work now makes this no
9637 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9640 * minibuffer.C: fix crash, improve drop-down completion
9642 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9645 * lyxserver.C: invalidate fd's when doing endPipe()
9647 2001-11-08 José Matos <jamatos@fep.up.pt>
9649 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9650 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9653 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9655 2001-11-07 José Matos <jamatos@fep.up.pt>
9658 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9661 * buffer.C (sgmlOpenTag):
9662 * buffer.C (sgmlCloseTag): removed debug info.
9664 * buffer.h (sgmlOpenTag):
9665 * buffer.h (sgmlCloseTag): made public.
9667 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9669 * buffer.C (saveParamsAsDefaults):
9670 * lyx_cb.C (MenuLayoutSave): remove
9672 * LyXAction.C (init):
9674 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9676 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * buffer.C (setPaperStuff): removed from here...
9680 * bufferparams.C (setPaperStuff): ... and moved there.
9682 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9686 * XFormsView.C: add support for drop-down completion
9688 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9690 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9693 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9695 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9698 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9700 * lyx_main.C: change ref to known bugs
9702 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9704 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9705 to work around older babel problems.
9707 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9709 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9711 2001-10-24 Juergen Vigna <jug@sad.it>
9713 * tabular-old.C (ReadOld): below variable changes reflected.
9715 * tabular.[Ch]: added ltType struct for longtable header/footer
9716 defines and changed all instances where they are used. Added
9717 future support for double top/bottom rows.
9719 2001-10-24 José Matos <jamatos@fep.up.pt>
9721 * buffer.h (docbookHandleCaption):
9722 * buffer.C (docbookHandleCaption): removed unused function.
9723 (makeDocBookFile): moved docbook supported version to v4.1.
9725 2001-10-24 José Matos <jamatos@fep.up.pt>
9728 * tabular.C (docbookRow): new function to export docbook code of a row.
9729 (DocBook): now honors the longtable flags.
9731 2001-10-23 José Matos <jamatos@fep.up.pt>
9734 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9735 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9737 * buffer.C (makeLinuxDocFile):
9738 (makeDocBookFile): reworked the preamble, more clean, and with
9739 support for lyx defined entities. Changed the document declaration
9740 to be more XML friendly.
9742 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9743 if we need to output XML that should be done with a filter.
9745 2001-10-22 Juergen Vigna <jug@sad.it>
9747 * sp_pspell.h (class PSpell): add alive function needed in the
9748 controller to see if the spellchecker could be started.
9750 2001-10-22 Juergen Vigna <jug@sad.it>
9752 * buffer.C (insertStringAsLines): modify the font for inserting
9753 chars in certain conditions by calling checkInsertChar(font).
9755 2001-10-19 Juergen Vigna <jug@sad.it>
9757 * text.C (workWidth): use getRow instead of wrong algorithm.
9758 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9760 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9765 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9767 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9769 * text.C (workWidth): do not search for the exact row when
9770 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9771 optimization for big documents.
9773 2001-10-18 Juergen Vigna <jug@sad.it>
9775 * text.C (workWidth): new function with added Inset * parameter.
9777 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9779 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9781 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9782 change return type of getColumnNearX.
9785 * text.C (changeRegionCase): use uppercase/lowercase instead of
9788 (rightMargin): simplify code by factoring out the uses of
9793 (appendParagraph): use Paragraph::size_type
9795 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9797 * vspace.C (asLatexString): add a missing break
9799 2001-10-15 Herbert Voss <voss@perce.de>
9801 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9803 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9805 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9808 2001-10-10 André Pönitz <poenitz@gmx.net>
9810 * lyxfunc.C: removed greek_kb_flag.
9812 2001-10-10 Herbert Voss <voss@perce.de>
9814 * lyx_main.C: delete global string help_lyxdir.
9816 2001-10-09 Herbert Voss <voss@perce.de>
9818 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9820 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9822 * lyx_main.C: added global string help_lyxdir.
9824 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9826 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9828 * lyxrc.C (set_font_norm_type): support iso8859-4
9830 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9832 * LaTeX.C (deplog): add another regex for MikTeX
9834 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9836 * lyxrc.C (set_font_norm_type): support iso8859-3
9838 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9840 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9842 * LaTeXFeatures.C: remove special case of french and index
9844 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9845 before \begin{document}). This solves several incompatibilities.
9847 2001-10-03 Garst Reese <reese@isn.net>
9849 * lyx_cb.C: change CheckTex error msg.
9851 2001-10-03 José Matos <jamatos@fep.up.pt>
9853 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9855 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9857 * .cvsignore: update
9859 * lyx_main.C (commandLineVersionInfo): use new style version info.
9861 * buffer.C (writeFile):
9864 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9866 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9868 * version.h: update to use stuff in version.C
9870 * version.C.in: new file. Contains version information determined
9871 at compile time. This is a merging of version.h and
9874 2001-10-03 Juergen Vigna <jug@sad.it>
9876 * BufferView_pimpl.C (update): don't change "dirty" status in
9879 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9881 * WorkArea.C (c-tor): re-position version string slightly.
9883 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9885 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9886 revert to previous code.
9888 WorkArea.[Ch]: (show, destroySplash): methods removed.
9890 WorkArea.C: rework code so that it's an amalgam of the codes before and
9891 after the splash screen was moved to WorkArea.
9893 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9896 * vspace.C (inPixels):
9899 * buffer.C (insertStringAsLines):
9900 (asciiParagraph): fix types to be large enough
9902 * lyxlex_pimpl.h: change member status from short to int
9904 * layout.h: fix type of endlabeltype
9907 * kbsequence.C (parse): change return type to string::size_type
9909 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9912 * Bullet.C (bulletSize):
9913 (bulletEntry): do not use short ints as parameters
9915 * BufferView2.C (insertLyXFile): change a char to an int.
9917 * WorkArea.C (WorkArea): remove unneeded floats in computation
9919 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9921 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9923 * paragraph.C (asString): Do not ignore newline/hfill chars when
9924 copying to the clipboard.
9926 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9928 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9929 after a multi-line inset.
9931 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9933 * paragraph.C (validate): Set NeedLyXFootnoteCode
9935 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9937 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9938 and decrease-error to decrease.
9940 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9942 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9943 it more readable (should be equivalent)
9945 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9947 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9949 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9951 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9952 of a cursor (row, etc.) after a character has been deleted
9953 (deleteEmptyParagraphMechanism): call the method above on _all_
9954 cursors held by the LyXText when a double space has been
9957 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9959 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9961 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9963 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9964 background. Use greyOut() and the new show() methods to toggle between
9965 the foreground and background. Add code to remove the splash after
9966 its initial showing.
9968 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9969 (create_forms): no longer call Dialogs::showSplash.
9971 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9973 * .cvsignore: add version_info.h
9975 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9977 * version_info.h.in: new file
9979 * Makefile.am: add version_info.h.in
9981 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9982 version_info.h instead of VERSION_INFO
9984 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9986 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9987 The ERT inset now returns string().
9989 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9991 * lyxtext.h, text.C (selectNextWord): renamed as
9992 selectNextWordToSpellcheck.
9994 * text.C (selectNextWordToSpellcheck): Modified to not select
9995 words inside an ERT inset.
9997 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9999 * lyx_cb.C (MenuLayoutSave): change a bit the question
10001 * sp_base.h: include <sys/types.h>
10003 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10005 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10007 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10009 * several files: fix typos in user-visible strings
10011 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10013 * text2.C (pasteSelection): do not set the selection, since it
10014 will be cleared later. Actually, the intent was to fix the way the
10015 selection was set, but I figured rmoving the code was just as good.
10017 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10019 * FontLoader.C (available): Check if font is available without
10022 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10024 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10026 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10028 * lyxrc.[Ch]: added display_graphics variable and associated code.
10030 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10032 * bufferparams.C (hasClassDefaults): new method. Returns true if
10033 the buffer parameters correspond to known class defaults
10035 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10037 * XFormsView.C (show): set minimum size to the main window.
10039 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10041 * text2.C (copySelection):
10043 * lyxfind.C (LyXReplace):
10044 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10045 LyXText::selectionAsString.
10047 * paragraph.C (asString): add "label" argument to the second form
10049 * text2.C (selectionAsString): add "label" argument and pass it to
10050 Paragraph::asString.
10052 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10054 * lyx_main.C (commandLineHelp): remove version information
10056 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10058 * lyx_main.C: add -version commandline option
10060 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10062 * paragraph.h: make the optional constructor arg required instead.
10063 some modifications to other files because of this.
10065 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10067 * lyxserver.C (C_LyXComm_callback): make it static
10069 * lyx_main.C (error_handler): make it static
10071 * lyx_gui.C (LyX_XErrHandler): make it static
10073 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10075 * WorkArea.C: make the extern "C" methods static.
10077 * Makefile.am (lyx_LDADD): simplify
10079 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10081 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10082 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10084 * LyXAction.C (init):
10085 * lyxfunc.C (dispatch): associated code removal.
10087 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10089 * lyxfont.h (isSymbolFont): shut off warning
10091 * text.C (setHeightOfRow):
10092 (getVisibleRow): fix crash with empty paragraphs which have a
10095 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10097 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10100 2001-09-04 José Matos <jamatos@fep.up.pt>
10103 * tabular.C (docbook): rename docBook method to docbook.
10105 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10107 * Makefile.am: add dependencies to main.o.
10109 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10111 * FontLoader.C (available): Return false if !lyxrc.use_gui
10113 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10115 * FontInfo.C (query):
10116 * converter.C (view):
10117 * importer.C (Import):
10118 * exporter.C (Export): Can not -> cannot.
10120 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10122 * BufferView_pimpl.C: allow to create index inset even if
10125 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10127 * buffer.C (getLists): replace boost::tie code with an explicit pair
10128 as boost::tie can break some compilers.
10130 * iterators.h: Added a std:: declaration to the return type of
10133 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10135 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10138 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10140 * iterators.[Ch]: New files. Provide paragraph iterators.
10142 * buffer.C (changeLanguage): Use paragraph iterators.
10143 (isMultiLingual): ditto
10145 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10147 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10149 * FontLoader.C: Support for cmr font.
10151 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10153 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10154 (available): New method.
10156 * FontInfo.C (getFontname): Use scalable fonts even when
10157 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10160 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10162 * converter.C (Formats::view): reverted! Incorrect fix.
10164 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10166 * converter.C (Formats::view): only output the -paper option
10167 if the dvi viewer is xdvi, thereby fixing bug #233429.
10169 2001-08-23 Herbert Voss <voss@perce>
10171 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10173 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10175 * Spacing.h (Spacing): Set space to Default on in the default
10178 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10180 * vc-backend.h (RCS::versionString): add RCS to version
10181 (CVS::versionString): add CVS to version
10183 * vc-backend.C (scanMaster): do not add CVS to version.
10184 (scanMaster): do not add RCS to version
10186 * lyxvc.C (versionString): new method
10188 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10190 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10192 * Spacing.C (set): initialize fval
10194 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10196 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10199 2001-08-16 Juergen Vigna <jug@sad.it>
10201 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10203 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10205 * BufferView_pimpl.C:
10208 * text2.C: setParagraph takes linespacing now
10210 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10212 * LyxAction.C: add internal LFUN_CITATION_INSERT
10214 * LyXView.C: actually apply fix
10216 * bufferlist.C: fix open non-existent file
10218 * lyxfind.C: fix indentation
10220 * lyxfunc.C: remove unneeded assert, fix typo
10222 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10224 * MenuBackend.C: use "Floatname List"
10226 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10228 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10229 when converting LaTeX layout to insetERT.
10230 Generate a non-collapsed float when reading old float
10232 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10234 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10237 2001-08-13 Juergen Vigna <jug@sad.it>
10239 * text.C (fill): return 0 instead of 20 as this seems to be the more
10242 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10244 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10247 2001-08-13 Juergen Vigna <jug@sad.it>
10249 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10251 (SearchBackward): comment out the unlocking of the inset_owner this
10252 should not be needed!
10254 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10256 * Many files: Remove inherit_language, and add latex_language
10258 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10259 collapsible insets.
10261 2001-08-10 Juergen Vigna <jug@sad.it>
10263 * text.C (prepareToPrint): fixed hfill-width in draw!
10265 * BufferView2.C (selectLastWord): save the selection cursor as this
10266 now is cleared in the function LyXText::clearSelection!
10268 2001-08-08 Juergen Vigna <jug@sad.it>
10270 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10271 BACKSPACE type functions.
10273 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10274 is only cutted from the document but not put in the cut-buffer, where
10275 still the old stuff should be.
10277 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10279 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10281 * tabular.C (SetWidthOfCell): fixed special case where the width
10283 (LeftLine): handle '|' in align_special.
10285 (LeftAlreadyDrawed): ditto
10286 (SetWidthOfCell): ditto
10288 2001-08-07 Juergen Vigna <jug@sad.it>
10290 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10292 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10294 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10295 * lyxlex.[hC]: ditto
10297 2001-08-06 Juergen Vigna <jug@sad.it>
10299 * text.C (getVisibleRow): fix up row clearing a bit.
10301 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10303 * minibuffer.C: make sure the X server sees the changes in the input.
10305 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10307 * paragraph.C (getFont): split into...
10308 (getLabelFont): this
10309 (getLayoutFont): and this
10310 * paragraph_pimpl.C (realizeFont): calling this
10312 * text2.C (getFont): split into...
10313 (getLayoutFont): this
10314 (getLabelFont): and this
10315 (realizeFont): all three calling this
10317 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10320 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10322 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10324 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10326 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10327 layouts from the Quote inset insertion.
10329 2001-08-03 Juergen Vigna <jug@sad.it>
10331 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10333 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10334 only if status not is already CHANGED_IN_DRAW (second level).
10336 * text.C (draw): don't set the need_break_row when inside an
10339 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10341 * buffer.C (parseSingleLyXformat2Token): handle more latex
10344 * bufferview_funcs.[hC]: change function names to
10345 begin with small char, adjust other files.
10347 2001-08-02 André Pönitz <poenitz@gmx.net>
10350 BufferView_pimpl.C: remove broken special code for math-greek
10352 2001-08-02 Juergen Vigna <jug@sad.it>
10354 * BufferView_pimpl.C (update): redone this function so that we
10355 update the text again if there was a CHANGE_IN_DRAW.
10357 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10358 (drawFromTo): added a new internal bool which is used by draw() and
10360 (general): some cursor drawing problems fixed.
10362 2001-08-01 Juergen Vigna <jug@sad.it>
10364 * lyxfind.C (LyXFind): fixed
10365 (SearchForward): ditto
10366 (SearchBackward): ditto
10368 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10369 spurius drawing of the cursor in the main area.
10371 * text2.C (status): small fix which could lead to a segfault!
10372 (clearSelection): remove unneeded BufferView param.
10374 2001-08-01 André Pönitz <poenitz@gmx.net>
10376 * lyxfunc.C: small change due to changed mathed interface
10378 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10380 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10382 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10384 * lyxfunc.c: fail gracefully if file doesn't exist
10389 * BufferView_pimpl.C: IsDirWriteable() proto changed
10391 * LyXView.C: fix updateWindowTitle() to store the last title
10393 2001-07-31 Juergen Vigna <jug@sad.it>
10395 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10396 the font (wrong since using of Paragraph::highestFontInRange).
10398 * paragraph.C (highestFontInRange): added a default_size parameter.
10400 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10401 (setHeightOfRow): reformat
10403 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10405 * converter.[hC] + affected files: move to (inital-char)lowercase
10408 * ParagraphParameters.C (ParagraphParameters): remove commented code
10410 * PainterBase.[Ch]: remove commented code
10412 * LaTeXFeatures.h: add "bool floats" for float.sty
10414 * LaTeXFeatures.C (LaTeXFeatures): init floats
10415 (require): handle float
10416 (getPackages): do it with floats
10418 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10420 * BufferView_pimpl.C (Dispatch): improve handling of
10421 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10423 * commandtags.h: #include lyxfont.h here temporarily to avoid
10426 * bufferlist.h: include LString.h here.
10428 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10430 * text2.C (getStringToIndex): new method.
10432 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10434 * *: Reduced header file dependencies all over.
10436 2001-07-30 Baruch Even <baruch@lyx.org>
10438 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10440 2001-07-29 Baruch Even <baruch@lyx.org>
10442 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10444 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10446 * ParameterStruct.h (endif): add a default constructor to make
10447 sure that all variables is initialized.
10449 * ParagraphParameters.C (ParagraphParameters): adjust
10451 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10453 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10454 index; also, check that there is something to index, and that it
10455 does not span over several paragraphs.
10456 (doubleClick): use WHOLE_WORD_STRICT for double click.
10458 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10460 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10463 2001-07-26 Baruch Even <baruch@lyx.org>
10465 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10466 an InsetFig figure, backwards compatible reading of old figure code.
10468 2001-07-27 Juergen Vigna <jug@sad.it>
10470 * text2.C: font.realize function adaption.
10472 * text.C (draw): add a warnings lyxerr text if needed.
10474 * layout.C: font.realize function adaption.
10476 * language.C: add inherit_language and implement it's handlings
10478 * bufferview_funcs.C (StyleReset): remove language parameter from
10479 font creation (should be language_inherit now).
10481 * bufferparams.C (writeFile): handle ignore_language.
10483 * paragraph.C (getFontSettings): the language has to be resolved
10484 otherwise we have problems in LyXFont!
10486 * lyxfont.C (lyxWriteChanges): added document_language parameter
10487 (update): removed unneeded language parameter
10489 * paragraph.C (validate): fixed wrong output of color-package when
10490 using interface colors for certain fonts in certain environments,
10491 which should not seen as that on the final output.
10493 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10495 * BufferView_pimpl.C:
10500 * LyXAction.C: add thesaurus support
10503 * lyxfind.C: add "once" parameter, for thesaurus, to not
10504 move to the next match
10506 2001-07-26 Juergen Vigna <jug@sad.it>
10508 * lyxfont.C (realize): honor ignore_language too!
10511 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10513 * text.C (draw): one place more for ignore_language to not draw
10516 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10518 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10520 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10522 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10523 the minipage conversion problem.
10525 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10527 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10530 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10532 * BufferView.h: don't forward declare WorkArea
10534 * BufferView.C: don't include WorkArea.h
10536 2001-07-25 André Pönitz <poenitz@gmx.net>
10540 * lyxfunc.C: new LFUN 'math-space'
10542 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10544 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10546 * text2.C (toggleInset): call open/close
10548 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10550 * lyxfunc.C (dispatch): add debug for the disabled case
10552 * font.C (buttonText): make similar to rectText
10554 * buffer.C (readInset): comment out parsing of insetlist and
10557 * PainterBase.C (rectText): small correction
10559 * BufferView_pimpl.C: comment out insettheorem and insetlist
10560 * LyXAction.C: ditto
10561 * commandtags.h: ditto
10563 2001-07-24 Juergen Vigna <jug@sad.it>
10565 * text.C (draw): honor the ignore_language.
10567 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10569 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10571 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10574 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10576 * lyxtext.h: remove unused (and unimplemented) methods
10578 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10580 * text.C (getVisibleRow): honor background color
10583 * Painter.h: remove default color argument for fillRectangle
10585 * text.C (backgroundColor): new method
10587 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10589 * text.C (getVisibleRow): adjust
10591 * font.[Ch] (rectText): new method, metrics
10592 (buttonText): new method, metrics
10594 * PainterBase.[hC]: make rectText and buttonText always draw and take
10597 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10599 * ToolbarDefaults.C (read):
10600 * MenuBackend.C (read): allow escaping in all strings
10602 * BufferView_pimpl.C (insertAndEditInset): new method.
10603 (Dispatch): use insertAndEditInset whenever appropriate.
10605 * BufferView_pimpl.C (insertNote): removed
10607 * BufferView_pimpl.C (smartQuote): new method, moved from
10608 BufferView; if an insetquote cannot be inserted, insert a '"'
10611 * BufferView2.C: remove insertCorrectQuote();
10613 * lyxfunc.C (getStatus): Add support for all remaingin
10614 inset-insert lfuns.
10616 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10618 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10619 command (necessary to pass " as parameter of self-insert.
10621 * text.C (selectWordWhenUnderCursor):
10622 (selectWord): add word_location parameter
10623 (selectWordWhenUnderCursor): same + remove special code for word
10625 (selectNextWord): use kind() to guess type of insetspecialchar,
10628 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10629 (insertErtContents): create ert insets as collapsed.
10630 (readInset): better compatibility code for Info inset.
10632 2001-07-20 Juergen Vigna <jug@sad.it>
10634 * lyxfunc.C (dispatch): use always LyXFind now!
10636 * text2.C (init): add a reinit flag so that the LyXText can be
10637 reinited instead of deleted and reallocated (used in InsetText).
10639 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10645 2001-07-18 Juergen Vigna <jug@sad.it>
10647 * text.C (selectNextWord): handle insets inside inset by calling
10648 always the bv->text functions so that we can go up the_locking_inset!
10650 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10651 in strange locations when inside an inset!
10653 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10654 handling to include insets.
10656 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10658 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10660 * LyXAction.C (init):
10662 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10663 LIGATURE_BREAK, since the name is so stupid.
10665 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10667 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10670 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10672 * sp_form.[Ch]: remove.
10674 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10676 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10679 * src/buffer.C (readInset): ditto.
10681 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10683 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10684 menuSeparator(), endOfSentenceDot(), ldots() and
10685 hyphenationPoint(), which are therefore removed.
10686 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10688 * LyXAction.C (init):
10689 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10691 * paragraph.C (getWord): removed.
10693 * BufferView_pimpl.C (Dispatch): use last word or selection for
10694 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10696 * lyx_main.C (queryUserLyXDir): do not ask before creating
10697 user_dir, except if it has been named explicitely.
10699 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10701 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10702 a document of zero size.
10704 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10706 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10707 approriately in the c-tor and in require().
10708 (getPackages): output the appropriate LaTeX for natbib support.
10710 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10711 variables "use_natbib" and "use_numerical_citations" when reading the
10713 (readInset): read the various natbib cite commands.
10714 (validate): white-space change.
10716 * bufferparams.[Ch]: new variables "bool use_natbib" and
10717 "bool use_numerical_citations".
10718 (writeFile): output them in the LyX file.
10720 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10722 * lyxfunc.C (getStatus): add support for all the inset insertion
10725 * text2.C (insertInset):
10726 * paragraph.C (insetAllowed):
10727 * BufferView_pimpl.C (insertInset): update to take in account the
10728 renaming of insertInsetAllowed
10730 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10732 * text2.C (getInset): new method. returns inset at cursor position.
10734 * BufferView_pimpl.C (Dispatch): changes because of this.
10736 * LyXAction.C (init): rename open-stuff to inset-toggle.
10738 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10740 * text2.C (toggleInset): renamed from openStuff; use
10743 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10745 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10747 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10749 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10751 * buffer.C (readLyXformat2): Add filename to the error dialog
10753 2001-07-18 Juergen Vigna <jug@sad.it>
10755 * tabular.C (GetCellNumber): put an assert here instead of the check!
10757 2001-07-17 Juergen Vigna <jug@sad.it>
10759 * BufferView_pimpl.C (toggleSelection): adapted too.
10761 * text.C (selectNextWord): adapted for use with insets.
10762 (selectSelectedWord): ditto
10764 2001-07-17 Juergen Vigna <jug@sad.it>
10766 * sp_spell.C (PSpell): fix initialitation order.
10768 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10770 * paragraph.C: spacing
10772 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10774 * sp_spell.C: repair language selection for pspell
10776 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10778 * lyxfunc.h: change more methods to begin with lower char.
10780 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10782 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10783 for unknown layouts.
10785 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10787 * buffer.C (readLyXformat2): Generate an error dialog if there are
10790 2001-07-16 Juergen Vigna <jug@sad.it>
10792 * sp_spell.C: always compile ISpell part.
10794 * lyxrc.C: added use_pspell entry and it's handling.
10796 2001-07-13 Juergen Vigna <jug@sad.it>
10798 * sp_spell.C: removed double includes.
10800 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10802 Consistent use of Lsstream.h:
10803 * Lsstream.h: added using std::stringstream for consistencies sake.
10805 * buffer.C: removed using std::stringstream
10807 * lyxfont.C (stateText):
10808 * paragraph.C (asString):
10809 * text.C (selectNextWord, selectSelectedWord):
10810 * text2.C (setCounter):
10811 * vspace.C (asString, asLatexString):
10812 std::ostringstream -> ostringstream.
10814 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10816 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10817 * commandtags.h: add LFUN_HELP_ABOUTLYX
10818 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10820 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10822 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10824 * lyx_gui_misc.C: remove spellchecker
10825 * lyxfunc.C: showSpellchecker
10827 * sp_ispell.h: added
10828 * sp_pspell.h: added
10829 * sp_spell.C: added
10830 * sp_form.[Ch]: removed
10831 * spellchecker.[Ch]: removed
10833 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10835 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10837 (simpleTeXSpecialChars): Simply print the input character without
10838 any special translation if pass_thru is set.
10840 * layout.h: Added bool pass_thru to layout class for being able to
10841 implement pass through of a paragraph for Literate Programming.
10843 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10844 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10845 * layout.C (Read): add "passthru" to list of layout tags and add
10846 code to set the pass_thru boolean when it is read.
10848 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10850 * trans_decl.h: remove allowed from KmodInfo
10852 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10853 remove allowed code
10856 * paragraph_pimpl.C (erase): use boost::prior
10858 * Painter.C (text): use data() instead of c_str() when length is
10860 * WorkArea.C (putClipboard): ditto
10861 * font.h (width): ditto
10863 * BufferView2.C: use it-> instead of (*it). for iterators
10865 * paragraph_pimpl.C: ditto
10866 * paragraph.C: ditto
10867 * minibuffer.C: ditto
10868 * language.C: ditto
10870 * encoding.C: ditto
10871 * counters.C: ditto
10872 * converter.C: ditto
10874 * Variables.C: ditto
10875 * TextCache.C: ditto
10876 * MenuBackend.C: ditto
10877 * LyXAction.C: ditto
10879 * FloatList.C: ditto
10880 * DepTable.C: ditto
10881 * ColorHandler.C (LyXColorHandler): ditto
10883 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10885 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10887 * text2.C (openStuff): reintroduce this method (which had been
10888 nuked in NEW_INSETS frenzy).
10890 * lyxfunc.C (Dispatch): when an action has not been handled, use
10891 its name in the error message, not its number.
10893 * paragraph.C (inInset): change method name to begin with lowercase.
10896 * text2.C: updates because of this.
10898 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10900 * ToolbarDefaults.C (add): add spaces in error message
10902 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10904 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10905 (readLyXformat2): rename return_par to first_par, use lyxlex's
10906 pushToken and remove the manual push handling.
10907 (parseSingleLyXformat2Token): add another ert comp. variable:
10908 in_tabular, rename return_par to first_par. handle newlines better
10910 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10912 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10914 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10916 * text2.C (getParFromID): removed
10918 * buffer.C (getParFromID): new method moved form lyxtext.
10919 * BufferView2.C (insertErrors): adjust
10920 (setCursorFromRow): adjust
10921 * BufferView_pimpl.C (restorePosition): adjust
10922 * lyxfunc.C (Dispatch): adjust
10923 * undo_funcs.C (textUndo): adjust
10925 (textHandleUndo): adjust
10926 (textHandleUndo): adjust
10928 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10930 * buffer.C: up' the LYX_FORMAT
10932 * lyxfont.h: turn NO_LATEX on as default
10934 * buffer.C (insertErtContents): new methods of tex style compability.
10935 (parseSingleLyXformat2Token): use it several places.
10936 * tabular.C (OldFormatRead): and here
10938 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10940 * text2.C: remove some commented code.
10943 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10944 * trans.C: changes because of the above.
10946 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10948 * text2.C (setCounter): Fix counters bug with bibliography layout.
10950 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10952 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10953 own member functions
10954 (simpleTeXSpecialChars): ditto
10956 2001-07-06 Juergen Vigna <jug@sad.it>
10958 * a lot of files: changed the access to LyXText::status and the
10959 call of undo-functions.
10961 * undo.[Ch]: added a inset_id to the undo informations.
10963 * undo_funcs.[Ch]: added and moved here all undo functions.
10965 * lyxtext.h: give the status enum a weight, made status_ a private
10966 variable and made accessor functions for it, removed the whole bunch
10967 of undo-functions as they are now in their own file, make some
10968 functions publically available. Added function ownerParagraph with
10971 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10972 made InInset() a const function, added getParFromID() function.
10974 * buffer.[Ch]: added const version for inset_iterator functions,
10975 added getInsetFromID() function.
10977 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10978 changed undo functions for new version.
10980 2001-07-05 Juergen Vigna <jug@sad.it>
10982 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10983 unknow mechanism does not call the proper constructor but only this
10984 one also if I request the other!?
10986 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10988 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10990 * text2.C (LyXText): use initialization lists.
10992 * lyxtext.h (Selection): initialize set_ and mark_
10993 (init): remove method
10995 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10997 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10999 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11001 * screen.[Ch]: change method names to begin with lowercase
11003 * BufferView_pimpl.C (updateScrollbar): simplify further and
11004 hopefully make it a bit faster.
11006 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11008 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11009 calling directly xforms functions.
11011 * Painter.C (Painter):
11012 * lyx_cb.C (MenuWrite):
11013 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11016 * lyx_gui.C: remove bogus guiruntime extern declaration.
11018 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11020 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11022 (redoDrawingOfParagraph): ditto
11023 (redoParagraphs): ditto
11024 (cutSelection): don't create a object for CutAndPaste use the
11025 static method directly
11026 (pasteSelection): ditto
11028 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11031 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11033 * modifications to some other files because of this.
11035 * Makefile.am (lyx_SOURCES): add XFormsView
11037 * XFormsView.[Ch]: new files
11039 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11040 the main window. Move the gui dependent stuff to XFormsView
11042 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11044 * tabular.C (GetCellInset): update cur_cell also in the row/col
11045 version of this function.
11047 * lyxfunc.C: no need to include figure_form.h here.
11053 * lyxvc.C: no need to include forms.h here.
11055 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11057 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11059 * lyxfunc.C (Dispatch):
11061 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11062 constructor argument.
11064 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11066 * paragraph.C (Paragraph): dont't clear, and just set layout.
11067 (makeSameLayout): use params's copy contructor.
11069 * ParagraphParameters.[Ch] (makeSame): delete method
11071 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11073 * Variables.[Ch]: fix indentation, rename set to isSet
11075 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11077 * lyxfunc.C (Dispatch): fix typo
11079 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11081 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11084 * bufferlist.C: include assert.h for emergencyWrite().
11086 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11088 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11089 give up at last (bug #425202) !
11091 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11097 * spellchecker.C: strip spellchecker options and bring up
11098 preferences tab instead
11100 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11102 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11103 the istringstream constructor
11105 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11107 * paragraph.C (getLayout): fix return value
11109 * paragraph.h: do not declare getLayout as inline.
11111 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11113 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11115 * lyxcursor.h (operator<): new func
11116 (operator>): new func
11117 (operator>=): new func
11118 (operator<=): new func
11120 * text.C (changeCase): use selection.start and selection.end
11121 (changeRegionCase): require from to be <= to. Require par to be a
11124 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11126 2001-06-27 Juergen Vigna <jug@sad.it>
11128 * text.C (cursorLeftOneWord): changed to return the cursor and added
11129 overlay with BufferView * parameter which calls this one.
11131 (selectWord): use new getWord function.
11132 (changeCase): renamed from changeWordCase as and extended to work
11133 also on selections.
11135 * lyxtext.h: added enum word_location
11137 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11138 changeCase as this operates now also on selections.
11140 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11142 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11144 * many files: send debug output to Debug::INFO instead of
11147 * converter.C (View):
11149 (Move): send debug output to Debug::FILES instead of console.
11151 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11153 * lyxfunc.C (getStatus): use func_status
11155 * func_status.h: new header, describing the results of
11156 LyXFunc::getStatus;
11158 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11161 2001-06-25 The LyX Project <jug@sad.it>
11163 * buffer.C (sgmlOpenTag):
11165 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11167 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11169 * text2.C: remove some dead code
11171 * tabular.C (GetCellInset): store the last cell checked (gotten)
11173 * tabular.h: add the helper for the speedup
11175 * lyxtext.h: remove some dead code
11177 2001-06-26 The LyX Project <Asger>
11179 * paragraph.C: Change export to LaTeX of alignment to
11180 \begin{center} and family for better roundtrip work with reLyX.
11182 * Tune the math drawing a bit.
11184 2001-06-25 The LyX Project <Asger>
11186 * LColor.C (LColor): New color for math background. New color
11189 2001-06-25 The LyX Project <jug@sad.it>
11191 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11193 * lyxfunc.C (Open):
11194 * bufferlist.C (newFile): do not restrict to files ending with
11197 * BufferView_pimpl.C (MenuInsertLyXFile):
11199 2001-06-24 The LyX Project <jug@sad.it>
11201 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11204 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11206 * lyxtext.h: rename most methods to begin with a small char.
11207 Lots of changes because of this.
11209 * paragraph.C (Paragraph): do not call fitToSize
11210 (erase): call Pimpl::erase
11211 (insertChar): call Pimpl::insertChar
11212 (insertInset): call Pipl::insertInset
11213 (breakParagraph): do not call fitToSize
11214 (breakParagraphConservative): do not call fitToSize
11215 (fitToSize): remove method
11217 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11219 2001-06-24 The LyX Project <Asger>
11221 * Fix Qt compilation^2
11223 2001-06-24 The LyX Project <jug@sad.it>
11225 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11226 depthHook(getDepth()-1).
11229 * ParagraphParameters.h:
11230 * ParameterStruct.h: change type of depth to unsigned int ==
11231 depth_type. Many adaptations to other files before of that.
11233 2001-06-24 The LyX Project <Asger>
11235 * Fix Qt compilation.
11237 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11239 * paragraph.h: renamed several methods to begin with small letter.
11240 several changes to many parts of the code because of this.
11242 2001-06-23 The LyX Project <jug@sad.it>
11244 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11245 rewritten to discard all double spaces when KeepEmpty is off
11246 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11247 to only handle newlines but not fiddle with spaces and friends.
11249 * lyxfunc.C (MenuNew): when doing 'new from template', use
11250 template_path as default directory
11252 2001-06-23 The LyX Project <Asger>
11254 * Clean-up of header file includes all over
11255 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11257 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11259 * paragraph.h: renamed from lyxparagraph.h
11261 2001-06-23 Asger <lyx@violet.home.sad.it>
11263 * Buffer.h: Removed Buffer::resize
11264 * BufferList.h: Removed BufferList::resize
11265 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11266 the document lazily when we change the width, or the font settings.
11268 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11270 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11272 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11274 * buffer.h: remove out of date comment
11276 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11279 * screen.C: fix "theoretical" GC leak
11281 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11283 * LaTeX.C (scanAuxFile):
11284 (deplog): remove trailing \r when reading stream (useful under
11287 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11289 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11290 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11291 and BufferView::theLockingInset(Inset*), so should use them and not
11292 access bv_->text->the_locking_inset directly.
11294 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11296 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11299 * tex-defs.h: remove old unused file
11301 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11303 * BufferView_pimpl.C: fix typo, remove minibuffer message
11304 when buffer has loaded
11306 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11308 * lyxfunc.C (Dispatch): use stringstream
11309 (MenuNew): use stringstream
11310 (Open): use stringstream
11312 * importer.C (Import): use stringstream
11314 * bufferview_funcs.C (CurrentState): use stringstream
11316 * LaTeX.C (run): use stringstream
11318 * BufferView_pimpl.C (savePosition): use stringstream
11319 (restorePosition): use stringstream
11320 (MenuInsertLyXFile): use stringstream
11322 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11335 * vspace.C: removed // -*- C++ -*- as first line.
11338 * version.h: added // -*- C++ -*- as first line.
11340 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11342 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11344 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11347 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11349 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11352 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11354 * gettext.C: include LString.h even when --disable-nls is on.
11356 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11358 * converter.h (Get): changed argument type from int to
11359 FormatList::size_type to avoid unnecessary conversion.
11361 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11364 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11366 * gettext.h: include LString.h even when --disable-nls is on.
11368 2001-06-07 Juergen Vigna <jug@sad.it>
11370 * text.C (BreakAgain): subst spaces with tabs.
11372 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11373 (resizeInsetsLyXText): set force on resizeLyXText.
11375 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11377 * gettext.h (gettext_init):
11378 (locale_init): use a real definition instead of a macro
11380 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11382 * Bufferview_pimpl.C:
11384 * LColor.C: further lcolor tidies
11386 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11388 * BufferView_pimpl.C (updateScrollbar): simplify.
11390 * BufferView2.C: don't include insets/insetinfo.h, change
11391 prototype for insertInset and call the Pimpl version. let
11392 updateInset call Pimpl version.
11394 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11395 gotoInset to BufferView::Pimpl
11397 2001-06-01 Juergen Vigna <jug@sad.it>
11399 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11400 inside a LockingInset (is the update needed at all?).
11402 2001-05-31 Juergen Vigna <jug@sad.it>
11404 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11405 here not the old one otherwise how should we compare it afterwards
11408 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11413 * FontInfo.C: bring C functions into global namespace when
11416 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11418 * LString.h: make sure config.h has been loaded before LString.h.
11420 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11421 (one for each char read by EatLine!).
11423 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11426 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11428 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11429 to the same as the par we break from
11431 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11433 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11435 * MenuBackend.C (expand): also create menu entries for wide
11436 versions of the floats.
11438 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11440 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11442 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11443 frontends/Makefile.am
11449 * tabular.C (getTokenValue): add std::
11451 * tabular-old.C (getTokenValue): add std::
11452 (getTokenValue): ditto
11453 (getTokenValue): ditto
11455 * screen.C (ToggleSelection): adjust
11457 * lyxtext.h: put selection cursors inside a Selection struct.
11459 * lyxfunc.C (moveCursorUpdate): adjust
11461 * lyxfont.C (latexWriteStartChanges): add std::
11463 * lyxfind.C: adjust
11465 * font.h: delete with(char const *, LyXFont const &)
11467 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11469 * FontInfo.C (getFontname): add std::
11471 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11472 (workAreaButtonPress): adjust
11473 (tripleClick): adjust
11475 (moveCursorUpdate): adjust
11478 * BufferView2.C (gotoInset): adjust
11480 2001-05-30 Juergen Vigna <jug@sad.it>
11482 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11483 to check pspell I add this as default as I now have new pspell
11484 libraries and they seem to use this.
11486 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11488 * text2.C (CutSelection): make the cursor valid before the call to
11491 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11493 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11494 relied on 0 terminated strings and other horrors. Bug found due to
11495 the new assert in lyxstring!
11497 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11500 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11502 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11505 * lyxfunc.C (processKeySym): change method of getting to the
11508 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11509 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11510 * BufferView_pimpl.[Ch]: here as private methods.
11512 2001-05-28 Juergen Vigna <jug@sad.it>
11514 * text.C (SetHeightOfRow): added the update() call again as it is
11515 needed to initialize inset dimensions!
11517 2001-05-16 Juergen Vigna <jug@sad.it>
11519 * text2.C (SetCharFont): Add new function with BufferView * and
11520 bool toggleall parameters for setting insets internal fonts.
11521 (SetFont): Freeze the undo as we may change fonts in Insets and
11522 all this change should be inside only one Undo!
11524 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11525 setting font's in insets as for them we have the SetFont function!
11527 2001-05-15 Juergen Vigna <jug@sad.it>
11529 * text2.C (ClearSelection): to be sure we REALLY don't have any
11532 * tabular.C (TeXCellPreamble): fixed the left border problem for
11535 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11537 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11540 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11542 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11543 LFUN_BREAKPARAGRAPH.
11545 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11546 help test to "internal only", similar for LFUN_INSERT_URL
11548 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11549 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11550 auto_region_delete and deadkeys.
11552 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11555 * LColor.C: remove some dead entries, tidy a little
11557 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11559 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11561 (Dispatch): implement LFUN_ESCAPE
11563 * commandtags.h: add LFUN_ESCAPE
11565 * LyXAction.C (init): add entry for LFUN_ESCAPE
11567 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11568 Remove commented code.
11569 (insertNote): moved here
11570 (open_new_inset): moved here
11572 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11575 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11577 * kbmap.C (findbinding): clean it up and make it work correctly.
11579 * lyx_main.C (init): do not pass argc and argv as parameters
11581 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11583 * buffer.C: fix path for OS/2 & Win32
11587 * lyx_main.C: Added os:: class.
11589 * os2_defines.h: update
11591 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11593 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11594 better by trying again with reduced state.
11596 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11598 * lyxrc.C (read): print error about invalid key sequence only when
11599 debugging (because not all latinX keysyms are known to some X
11602 * kbsequence.C (getiso): add a few std:: qualifiers
11603 (getiso): comment out extra return statement.
11605 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11607 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11609 (Dispatch): enhance the accent inset a bit. (not perfect)
11611 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11613 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11615 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11617 * bufferlist.C (emergencyWrite): fix assert() call
11619 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11621 * text.C (InsertChar): Added trivial patch to only send the "you
11622 can not do multiple spaces this way" message once during a
11625 2001-05-08 Baruch Even <baruch@lyx.org>
11627 * Makefile.am: Changed order of libraries to get LyX to link properly
11628 with the gnome frontend.
11630 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11632 * LaTeXFeatures.h: add a std:: qualifier
11634 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11636 * paragraph.C (String): use stringstream
11638 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11640 * paragraph.C (writeFile): remove footflag arg
11642 * buffer.C (makeLaTeXFile): use stringstream
11643 (latexParagraphs): remove footnot gurba
11645 * LaTeXFeatures.C (getPackages): use stringstream
11646 (getMacros): likewise
11647 (getTClassPreamble): likewise
11648 (getFloatDefinitions): new method
11650 * paragraph.C (writeFile): reindent
11653 * WorkArea.h: revert the xpos + etc changes.
11655 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11657 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11659 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11660 (pasteSelection): likewise
11661 * text2.C (CreateUndo): likewise
11663 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11665 * minibuffer.C (peek_event): temporarily reduce the functionality
11666 of the minibuffer (to allow args on lfuns)
11668 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11669 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11671 * buffer.C (readInset): add compability reading of old float
11672 lists, add reading of new style float list.
11673 (readInset): avoid reevaluation of inscmd.getCmdName()
11674 (getLists): reindent
11676 * MenuBackend.C (MenuItem): implement parsing of
11677 md_floatlistinsert and md_floatinsert.
11678 (expand::LastFiles): move initalizaton of iterators out of loop,
11679 avoid reevaluation.
11680 (expand::Documents): introduce typdedef vector<string> Strings,
11682 (expand::ExportFormats): introduce typedef vector<Format const *>
11683 Formats, and use it.
11684 (expand): implement FloatListInsert and FloatInsert.
11686 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11687 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11688 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11690 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11692 (Dispatch::LFUN_FLOAT_LIST): implement
11694 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11696 * LaTeX.C (run): Fix problem with --export code.
11698 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11700 * BufferView.[Ch] (workarea): removed.
11701 (getClipboard) new method; wrapper for workarea()->getClipboard()
11703 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11706 * WorkArea.h (width, height, xpos, ypos): These methods all
11707 returned the dimensions of the work_area sub-area of WorkArea,
11708 resulting in a position error if the WorkArea were resized. Now
11709 return the dimensions of the entire WorkArea.
11711 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11713 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11715 * LaTeX.C (deplog): correct the syntax of regex reg1
11717 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11719 * undo.C: remove !NEW_INSETS cruft
11721 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11723 * text2.C: remove !NEW_INSETS cruft
11725 * text.C: remove !NEW_INSETS cruft
11727 * tabular.C: remove !NEW_INSETS cruft
11729 * spellchecker.C: remove !NEW_INSETS cruft
11731 * lyxtext.h: remove !NEW_INSETS cruft
11733 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11735 * lyxfunc.C: remove !NEW_INSETS cruft
11737 * lyxfind.C: remove !NEW_INSETS cruft
11739 * lyx_cb.C: remove !NEW_INSETS cruft
11741 * figureForm.C: remove !NEW_INSETS cruft
11743 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11745 * buffer.[Ch]: remove !NEW_INSETS cruft
11747 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11749 * CutAndPaste.C: remove !NEW_INSETS cruft
11751 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11753 * BufferView2.C: remove !NEW_INSETS cruft
11755 * BufferView.h: remove !NEW_INSETS cruft
11757 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11759 * Lsstream.h: include LString.h before the sstream headers to
11760 fix problem with gcc 2.95.3 and lyxstring
11762 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11764 * lyx_main.C: add using directives when needed for C functions
11765 declared in std:: namespace.
11767 2001-04-27 Juergen Vigna <jug@sad.it>
11769 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11770 (SetHeightOfRow): comment out the update call should not be needed!
11772 2001-04-13 Juergen Vigna <jug@sad.it>
11774 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11775 (LyXTabular): tried to minimize operator= operations (and realized
11776 hopfully Lars wish).
11778 2001-04-27 Juergen Vigna <jug@sad.it>
11780 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11782 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11784 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11786 * buffer.C (readInset): hack to make listof algorithm work
11788 * BufferView_pimpl.C: hack to make listof algorithm work
11790 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11792 * LyXAction.C: removed all !NEW_INSETS cruft
11793 (init): moved lfun_item in method
11795 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11797 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11799 * BufferView2.C (theLockingInset): white space.
11801 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11803 * minibuffer.C: include <iostream>
11805 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11807 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11809 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11811 * text.[Ch] (TransposeChars): new method
11813 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11815 * call message directly through LyXView instead of through LyXFunc
11816 * BufferView2.C: adjust
11817 * BufferView_pimpl.C: adjust
11818 * FontLoader.C: adjust
11820 * bufferview_funcs.C: adjust
11821 * converter.C: adjust
11822 * figureForm.C: adjust
11823 * importer.C: adjust
11825 * lyx_gui_misc.C: adjust
11826 * lyxfunc.C: adjust
11829 + more files in subdirs
11831 * lyxparagraph.h (size): move up int file
11834 * adjust all uses of Assert to lyx::Assert.
11836 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11837 lyxfunctional in namespace lyx
11838 * layout.C (hasLayout): ditto
11841 (delete_layout): ditto
11842 (NumberOfClass): ditto
11843 * converter.C (GetFormat): ditto
11848 * bufferlist.C (getFileNames): ditto
11849 (emergencyWriteAll): ditto
11852 * MenuBackend.C (hasSubmenu): ditto
11855 * BufferView_pimpl.C (getInsetByCode): ditto
11857 2001-04-18 Juergen Vigna <jug@sad.it>
11859 * vspace.C (asLatexString): fixed the 100% problem.
11861 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11863 * lyxfunc.C (Dispatch):
11865 * minibuffer.h: add a few std:: qualifiers
11867 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11869 * minibuffer.[Ch]: reimplement so that commands is initiated and
11870 run from lyxfunc, simplified som handling, and made the completion
11871 and history code for complete. wip.
11873 * lyxfunc.C (processKeySym): call message
11874 (miniDispatch): new temporary method
11875 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11876 (LFUN_MESSAGE): implement
11877 (LFUN_MESSAGE_PUSH): implement
11878 (LFUN_MESSAGE_POP): implement
11879 (initMiniBuffer): the initial/defualt minibuffer message.
11881 * lyxfont.[Ch]: inline some more getters
11883 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11885 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11887 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11888 (AutoSave): use LFUN_MESSAGE
11889 (Reconfigure): ditto
11891 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11893 * figureForm.C: use LFUN_MESSAGE
11895 * converter.C (runLaTeX): use LFUN_MESSAGE
11897 * bufferview_funcs.C: use LFUN_MESSAGE
11899 (changeDepth): ditto
11901 * bufferparams.h: use boost::
11903 * bufferlist.h: inherit privately from noncopyable
11905 * bufferlist.C (loadLyXFile): remove some commented code.
11907 * buffer.C (runChktex): use LFUN_MESSAGE
11909 * ShareContainer.h: inherit privately from noncopyable
11911 * ParagraphParameters.[hC] (depth): inline it.
11913 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11915 (message): new method
11916 (messagePush): ditto
11917 (messagePop): ditto
11918 (show): init minibuffer
11919 (showState): direct call
11921 * LaTeX.[Ch]: inherit privately from noncopyable
11922 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11923 instead of WriteStatus.
11925 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11927 * BufferView_pimpl.C (buffer): don't init minibuffer
11928 (workAreaButtonPress): use LFUN_MESSAGE
11929 (workAreaButtonRelease): ditto
11930 (savePosition): ditto
11931 (restorePosition): ditto
11932 (MenuInsertLyXFile): ditto
11933 (workAreaExpose): don't init minibuffer
11934 (update): remove commented code, simplify
11936 * BufferView2.C (openStuff): use LFUN_MESSAGE
11937 (toggleFloat): ditto
11940 (copyEnvironment): ditto
11941 (pasteEnvironment): ditto
11946 (updateInset): remove some commented code
11948 * lastfiles.h: inherit privately from noncopyable
11951 * lyx_main.h: ditto
11953 * lyxlex_pimpl.h: ditto
11955 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11956 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11957 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11959 * LyXAction.h: inherit privately from noncopyable, add methods
11960 func_begin, func_end, returning iterators to the func map.
11962 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11963 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11964 (func_begin): new method
11965 (func_end): new method
11967 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11969 (copySelection): ditto
11970 (pasteSelection): ditto
11972 * BufferView.C: whitespace change
11973 * BufferView.h: inherit privately from noncopyable
11975 2001-04-16 Allan Rae <rae@lyx.org>
11977 * tabular-old.C (l_getline):
11978 * spellchecker.C (sc_check_word):
11979 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11980 an unrecognised preprocessor directive. So ensure they're wrapped.
11982 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11984 * src/exporter.C (Export): Give an error message when path to file
11987 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11989 * LaTeX.C (deplog): Always check that foundfile exists.
11991 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11994 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11996 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11998 * tabular.[Ch] (getLabelList): implement new method
12000 * minibuffer.h: comment ouf setTiimer
12002 * minibuffer.C (ExecutingCB): constify res
12003 (peek_event): constify s
12004 (Set): constify ntext
12005 (Init): constify nicename
12007 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12009 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12010 (savePosition): use two params to Minibuffer::Set
12011 (restorePosition): ditto
12013 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12015 * lyx_main.C: include language.h
12017 * Makefile.am (lyx_main.o): add language.h
12019 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12025 * CutAndPaste.C: include gettext.h
12027 * lyxfont.h: remove old hack with ON and OFF.
12030 * lyxfont.h: do not include language.h...
12035 * bufferview_funcs.C:
12041 * paragraph.C: ... but do it here instead
12043 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12047 * tabular.C: small reformat
12049 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12052 (BreakParagraph): ditto
12053 (SetOnlyLayout): ditto
12056 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12059 * lastfiles.C: removed most using decl, add std:: where needed
12061 * buffer.C: ws changes
12063 * MenuBackend.C (class compare_format): put into anon namespace
12064 (expand): constify label, names, action, action2
12067 * text.C (SingleWidth): constify font
12068 (IsBoundary): constify rtl2
12069 (GetVisibleRow): constify ww
12071 * LaTeX.C (deplog): constify logfile
12073 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12075 (workAreaExpose): constify widthChange, heightChange
12077 * lyxrow.C (par): moved
12080 * lyxrow.h: as inlines here
12082 * lyxfont.h (shape): moved from lyxfont.C
12083 (emph): moved from lyxfont.C
12085 * lyxfont.C (LyXFont): use initialization list for all
12087 (shape): move to lyxfont.h as inline
12088 (emph): move to lyxfont.h as inline
12091 2001-04-04 Juergen Vigna <jug@sad.it>
12093 * vspace.C: had to include stdio.h for use of sscanf
12095 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12098 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12099 independent of xforms.
12101 2001-04-02 Juergen Vigna <jug@sad.it>
12103 * spellchecker.C: fixed namespace placing!
12105 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12107 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12108 the LyXParagraph * is 0.
12110 2001-03-29 Juergen Vigna <jug@sad.it>
12112 * vspace.C: added support for %, c%, p%, l%.
12113 (stringFromUnit): added helper function.
12114 (asLatexString): changed to give right results for the %-values.
12116 * buffer.C: convert the widthp in a width%.
12118 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12120 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12123 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12124 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12126 * lyx_cb.[Ch]: see above.
12128 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12132 * lyx.[Ch]: replaced by figure_form.[Ch].
12136 * lyxfunc.C: changed headers associated with above changes.
12138 2001-03-27 Juergen Vigna <jug@sad.it>
12140 * BufferView_pimpl.C: set the temporary cursor right!
12142 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12144 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12146 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12148 * LString.h: removed "using std::getline"!
12150 * BufferView_pimpl.C (Dispatch): changes due to changes in
12151 InsetInclude::Params.
12153 * buffer.C (tag_name): removed redundant break statements as they were
12154 producing lots of warnings with my compiler.
12156 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12158 * LString.h: add "using std::getline" when using the real <string>.
12160 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12162 * buffer.C: removed bitset usage.
12163 PAR_TAG moved to an anonymous name space.
12164 (tag_name): new funtion, also in the anonymous namespace.
12165 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12166 (makeDocBookFile): clean code. Completed transition from string arrays
12168 (SimpleDocBookOnePar): code clean.
12170 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12172 * tabular.C: add some comments.
12174 2001-03-22 Juergen Vigna <jug@sad.it>
12176 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12177 compatibility read a bit and fixed bug with minipage in different
12180 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12182 * buffer.C (pop_tag): removed.
12183 (push_tag): removed.
12184 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12185 array replaced with vector. Added support for CDATA sections.
12186 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12188 (makeDocBookFile): XML conformant declaration of CDATA section,
12189 fixed bug related to <emphasis> in the first paragraph char.
12190 (sgmlOpenTag): exclude empty tags.
12191 (sgmlCloseTag): ditto.
12193 * buffer.h (pop_tag): removed.
12194 (push_tag): removed.
12196 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12198 * language.h (Languages): added size_type and size().
12200 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12202 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12203 response on compability reading of minipages. One probliem is that
12204 the old usage of minipages was «flertydig»
12206 * several files here and in subdirs: don't use static at file
12207 scope use anon namespaces instead.
12209 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12211 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12212 LaTeX output. This is necessary for Literate document
12215 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12217 * buffer.C: insert hfill when needed.
12219 * tabular.C (l_getline): use string::erase, small whitespace change.
12221 * BufferView_pimpl.C: try the anon namespace.
12222 * WorkArea.C: ditto
12224 2001-03-16 Juergen Vigna <jug@sad.it>
12226 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12227 otherwise it won't open options-dialogs.
12229 * buffer.C: honor pextraWidth(p) on converting minipages.
12231 * tabular.C (l_getline): changed the functions to strip trailing \r.
12233 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12235 * BufferView_pimpl.C:
12236 * minibuffer..C: added "using SigC::slot" declaration.
12238 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12240 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12246 * paragraph.C: ditto
12248 * lyxtext.h: NO_PEXTRA
12250 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12252 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12253 * ParameterStruct.h: ditto
12254 * ParagraphParameters.h: ditto
12255 * lyxparagraph.h: ditto
12257 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12259 * buffer.C: add compability for minipage alignment.
12260 (latexParagraphs): remove unwanted pextra check.
12262 * several files: remove CXX_WORKING_NAMESPACES
12264 * buffer.C (pop_tag): tie is in namespace boost
12266 * BufferView.h: noncopyable is in namespace boost
12268 * lyx_main.h: ditto
12271 * lastfiles.h: ditto
12272 * bufferlist.h: ditto
12273 * ShareContainer.h: ditto
12275 * LyXAction.h: ditto
12278 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12280 * Merging changes from BRANCH_MVC back into HEAD.
12282 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12284 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12286 * BufferView_pimpl.C: change from intl.C
12290 * Makefile.am: move combox.*
12296 * intl.C: remove dialog (covered by prefs)
12298 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12300 * lyxfunc.C (Dispatch): removed redundant break statement.
12302 2001-03-14 Juergen Vigna <jug@sad.it>
12304 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12306 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12308 * buffer.C: add hack to fix compability reading of minipages.
12310 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12312 * buffer.C (getLists): Cleanup.
12314 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12316 * lyxfont.C (update): don't honor toggleall on font size.
12318 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12322 * Makefile.am: moved to frontends/xforms/
12326 * BufferView_pimpl.C: changes for moved mathpanel
12328 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12330 * gettext.h: fix gettext_init() in --disable-nls
12332 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12334 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12336 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12339 * lyx.h: strip external form
12341 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12343 * BufferView_pimpl.C: add comment, destroySplash()
12345 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12347 * BufferView_pimpl.C:
12351 * lyxfunc.C: use re-worked insetinclude
12353 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12355 * buffer.C: add using std::stringstream.
12357 * lyx_cb.C: readd using std::ios.
12359 * buffer.C: add using std::map.
12361 * BufferView_pimpl.C: add using std::vector.
12363 * ShareContainer.h: add std:: to swap.
12365 * buffer.h: add some typedefs
12366 * buffer.C (getLists): use them
12367 (getLists): renamed from getTocList.
12368 add a counter for the different float types and use it in the
12370 (getLists): use the same counter for the NEW_INSETS and the "non"
12373 * lyx_cb.h: remove unused items, includes, using etc.
12375 * ShareContainer.h: remove some commented code, add more comments
12376 and "documentation".
12378 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12380 * buffer.C (getTocList): make the list also when NEW_INSETS is
12383 * buffer.h: remove TocType
12385 * buffer.C (getTocList): change to return a map<string,
12386 vector<TocItem> >, implement for dynamic number of list.
12388 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12389 * text2.C (PasteSelection): adjust
12390 * CutAndPaste.C (pasteSelection): adjust
12392 * FloatList.C (FloatList): update from the new_insets branch.
12393 * Floating.[Ch]: ditto
12394 * LaTeXFeatures.C: ditto
12396 * lyxlex_pimpl.C: ditto
12398 * paragraph.C (Last): remove when NEW_INSETS is defined.
12400 * other file: changes because of the above.
12402 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12404 * lyxparagraph.h: rename next to next_, previous to previous_,
12405 make them private for NEW_INSETS. Rename Next() to next(),
12406 Previous() to previous().
12408 * other files: changes because of the above.
12410 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12413 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12416 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12418 * main.C (main): pass lyx_localedir to gettext_init().
12420 * gettext.h: remove locale_init and gettext_init macros
12422 * gettext.C (locale_init): new function
12423 (gettext_init): new function
12425 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12428 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12430 * Moved credits to frontends:
12431 * credits.[Ch]: removed
12432 * credits_form.[Ch]: removed
12433 * lyx_gui_misc.C: remove credits stuff
12436 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12438 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12440 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12441 unneeded destructor.
12443 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12444 a standalone pointer again.
12446 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12448 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12454 * ToolbarDefaults.C:
12463 * BufferView_pimpl.C: use new file dialog in GUII
12466 * lyx_cb.C: remove LayoutsCB to Toolbar
12468 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12470 * ShareContainer.h (get): add std:: qualifier
12472 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12474 * ShareContainer.h: define a proper ShareContainer::value_type
12475 type (and use typename to please compaq cxx)
12477 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12479 * lyxparagraph.h: move serveral local vars to
12480 ParameterStruct/ParagraphParameters., use ShareContainer in
12481 FontTable., make vars in FontTable private and add getter and
12484 * paragraph.C: changes because of the above.
12486 * lyxfont.h: remove copy constructor and copy assignment. (the
12487 default ones is ok), move number inside FontBits. move inlines to
12490 * lyxfont.C: add number to initializaton of statics, move several
12491 inlines here. constify several local vars. some whitespace
12492 cleanup. Dont hide outerscope variables.
12494 * Spacing.h: add two new constructors to match the set methods.
12496 * ShareContainer.h: new file, will perhaps be moved to support
12498 * ParameterStruct.h: new file
12500 * ParagraphParameters.h: new file
12502 * ParagraphParameters.C: new file
12504 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12505 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12507 * BufferView_pimpl.C: ParagraphParameter changes.
12508 * buffer.C: Likewise.
12509 * bufferview_funcs.C: Likewise.
12510 * text.C: Likewise.
12511 * text2.C: Likewise.
12513 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12515 * lyxfind.C (LyXReplace): do not redefine default argument in
12517 (IsStringInText): ditto
12518 (SearchForward): ditto
12519 (SearchBackward): ditto
12521 2001-03-06 Juergen Vigna <jug@sad.it>
12523 * lyxfind.C (IsStringInText): put parentes around expressions.
12525 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12527 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12529 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12531 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12533 * stl_string_fwd.h: add comment
12535 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12538 * tabular.C: remove unused DocBook methods
12544 killed DO_USE_DEFAULT_LANGUAGE
12546 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12548 * lyx_gui.C: do not include language.h.
12550 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12551 arguments in function implementation.
12553 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12555 * BufferView_pimpl.C: add <ctime>
12557 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12559 * BufferView_pimpl.C: add using std::find_if
12561 2001-02-27 José Matos <jamatos@fep.up.pt>
12563 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12566 2001-02-11 José Matos <jamatos@fep.up.pt>
12568 * buffer.C (makeDocBookFile): command styles now have a parameter as
12569 "title" by default.
12571 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12573 * layout_forms.[Ch]: removed
12574 * lyx_cb.[Ch]: out character
12575 * lyx_gui.C: out character
12576 * lyx_gui_misc.C: out character
12577 * bufferview_funcs.C: : out character,
12578 added toggleall as parameter in ToggleAndShow
12580 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12582 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12584 * text2.C (SetCurrentFont): Disable number property at boundary.
12586 2001-02-26 Juergen Vigna <jug@sad.it>
12588 * lyxfunc.C (getStatus): added a string argument override function so
12589 that this is correctly called from LyXFunc::Dispatch if it contains a
12590 do_not_use_argument which is used!
12591 (Dispatch): added check for "custom" export and call appropriate func.
12593 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12595 * lyxrc.C: Add language_command_local, language_use_babel and
12596 language_global_options.
12598 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12600 * buffer.C (makeLaTeXFile): Use language_use_babel and
12601 language_global_options.
12603 2001-02-23 Juergen Vigna <jug@sad.it>
12605 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12606 which works with LyXText and putted it inside BufferView. Here now we
12607 only call for that part the BufferView::Dispatch() function.
12609 * BufferView.C (Dispatch): added.
12611 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12612 functions which needs to use a LyXText over from LyXFunc.
12613 (MenuInsertLyXFile): added
12614 (getInsetByCode): added
12615 (moveCursorUpdate): added
12616 (static TEXT): added
12618 2001-02-22 Juergen Vigna <jug@sad.it>
12620 * BufferView_pimpl.C (update): call a status update to see if LyXText
12623 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12625 * vc-backend.C (revert): implement for CVS
12626 (getLog): implement for CVS
12628 2001-02-20 Juergen Vigna <jug@sad.it>
12630 * text2.C (ClearSelection): added BufferView param for inset_owner call
12632 * lyxfunc.C (TEXT): added this function and use it instead of
12633 directly owner->view()-text of getLyXText().
12635 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12637 * src/layout_forms.C: out preamble
12638 * src/layout_forms.h: out preamble
12639 * src/lyx_cb.C: out preamble
12640 * src/lyx_cb.h: out preamble
12641 * src/lyx_gui.C: out preamble
12642 * src/lyx_gui_misc.C: out preamble
12643 * src/lyxfunc.C: connect with guii preamble
12645 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12647 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12649 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12651 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12652 whether to run bibtex.
12654 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12656 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12658 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12660 * Makefile.am (lyx_SOURCES): removed bibforms.h
12662 * vspace.h: doxygen
12664 * text.C (GetVisibleRow): make several local vars const
12666 * tabular.C: small cleanup.
12668 * lyxserver.C (callback): use compare instead of strncmp
12670 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12671 inlines to after class or to paragraph.C
12673 * lyxfont.h: remove friend operator!=
12675 * converter.h: move friend bool operator< to non friend and after
12678 * combox.h: small cleanup
12680 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12681 to inlines after class def.
12683 * buffer.C (pop_tag): use string operations instead of strcmp
12685 * bmtable.c: doxygen, small cleanup
12687 * LaTeX.h: remove friend operator==
12689 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12701 * BufferView_pimpl.C:
12702 * BufferView.[Ch]: remove cruft
12704 2001-02-14 Juergen Vigna <jug@sad.it>
12706 * lyxfunc.C: removed #if 0 unused code
12708 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12710 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12712 * text2.C (SetSelection): added a BufferView * parameter
12714 2001-02-13 Juergen Vigna <jug@sad.it>
12716 * lyxfunc.C (Dispatch): fixed protected blank problem.
12717 * BufferView2.C (protectedBlank): added LyxText * parameter.
12719 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12720 (AppendColumn): same as above for column_info.
12722 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12723 (moveCursorUpdate): use a LyXText param for support of InsetText.
12725 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12726 (tripleClick): ditto
12728 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12730 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12732 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12734 * text2.C (SetSelection): set correct update status if inset_owner
12735 (ToggleFree): ditto
12737 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12739 * tabular.C: remove some commented code.
12741 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12743 * BufferView_pimpl.C: call hideSplash()
12745 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12748 * bibforms.h: remove
12751 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12752 add LFUN_CHILD_CREATE
12754 * counters.h: fix tiny typo
12759 * lyx.C: move splash to frontends/xforms/
12761 * lyx_gui_misc.C: move Include and Bibform to frontends
12763 * lyxvc.h: clarify comment
12765 * vspace.C: tiny housekeeping
12767 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12769 * text.C (PrepareToPrint): RTL Fix.
12771 * paragraph.C (GetUChar): New method.
12772 (String): Use GetUChar.
12774 * buffer.C (asciiParagraph): Use GetUChar.
12776 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12778 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12780 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12783 * buffer.C: rename to getLogName(), handle
12784 build log / latex log nicely
12786 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12789 * MenuBackend.h: remove support for reference menuitem type.
12791 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12793 * BufferView_pimpl.C: housekeeping
12794 * BufferView_pimpl.h:
12799 * minibuffer.h: move Timeout GUI-I
12801 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12803 * lyxrc.C (read): Update converters data-structures.
12805 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12807 * LaTeX.h (operator!=): add operator != for Aux_Info
12809 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12811 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12813 * LaTeXLog.C: deleted, useful code moved to Buffer
12816 * buffer.C: new function getLatexLogName()
12822 * lyxfunc.C: use frontends for LaTeX and VC logs
12824 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12826 * LaTeX.h: yet another std:: that Allan forgot.
12828 * Variables.C (set): renamed from isset(), because this clashes
12829 with some HP-UX macros (grr).
12831 2001-02-06 Allan Rae <rae@lyx.org>
12833 * LaTeX.h: Another bug fix. Missing std:: this time.
12835 2001-02-04 Allan Rae <rae@lyx.org>
12837 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12838 floats problem. I've left it commented out because it's not quite
12839 correct. It should also test that the current object is a table or
12840 figure inset. But I haven't gotten around to figuring out how to do
12841 that. I *think* it'll be something like: "table" == inset.type()
12843 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12846 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12848 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12849 all the citation/databases/styles in the auxilary file.
12850 (run): Rerun latex if there was a babel language error.
12852 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12854 * text.C (Backspace): Preserve the font when changing newline char
12856 (BreakParagraph): If the cursor is before a space, delete the space.
12858 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12860 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12862 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12863 new argument (code).
12864 (ChangeCitationsIfUnique): New method.
12866 * paragraph.C (GetPositionOfInset): Handle bibkey.
12868 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12870 * BufferView_pimpl.h: change type of Position::par_pos to
12871 LyXParagraph::size_type.
12873 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12875 * BufferView_pimpl.C (savePosition, restorePosition): Write
12876 messages to minibuffer.
12878 2001-01-28 José Matos <jamatos@fep.up.pt>
12880 * buffer.C (makeDocBookFile): adds support for document language.
12881 A silly restriction on the name of LatexCommand types where removed.
12882 Added support for CDATA sections, allows to chars unescaped, used
12883 among others in code, to avoid escape < and >.
12885 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12887 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12888 saved positions instrad of a stack. Furthermore, a position is
12889 stored using paragraph id/paragraph position.
12891 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12892 Remove LFUN_REF_BACK.
12894 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12896 * converter.C (dvipdfm_options): New method.
12898 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12900 * vspace.C (isValidLength): Fix for empty input string.
12902 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12904 * LyXAction.C (init): change description of LFUN_FIGURE to
12907 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12909 * LaTeX.C: add using directive
12911 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12913 * MenuBackend.C (expand): Fix the sorting of the formats.
12915 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12917 * lyx_main.C: tiny error message fix
12919 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12921 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12922 calling fl_initialize(). This fixes the problem with ',' as
12923 decimal separator in text files.
12925 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12927 * trans.C (process): Fix the keymap bug.
12929 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12931 * LaTeX.C (scanAuxFiles): New method. Provides support for
12932 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12933 (scanLogFile) Scan for "run BibTeX" messages.
12935 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12936 OT1 font encoding. Also, load the aecompl package if the ae
12939 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12941 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12943 * texrow.C (increasePos): turn two error messages into debug
12946 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12948 * LaTeX.C (scanAux): Handle the \@input macro.
12949 (runBibTeX): Use scanAux().
12951 * language.C (latex_options_): New field.
12953 * LaTeXFeatures.C (getMacros): Add language macros.
12955 * buffer.C (makeLaTeXFile): Small fix.
12957 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12959 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12961 * text2.C: add a using directive.
12963 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12968 * lyxfunc.C: kill LyXBell.
12970 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12972 * text.C (IsBoundary): Remove the error message
12974 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12976 * lyxrc.C (setDefaults): Correct initialization value for
12979 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12981 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12984 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12985 and GotoNextNote().
12987 * src/LyXAction.C: Added reference-next.
12989 * text.C (InsertChar): Use contains instead of strchr.
12991 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12993 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12995 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12996 alignment commands (when needed).
12998 * text.C (InsertChar): Add ':' to number separator chars.