1 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * lyx_main.C: remove the glboal debug object
5 * debug.h: adjust for new debugstream
7 * debug.C: adjust for new debugstream and keep the global debug
10 2003-09-22 Angus Leeming <leeming@lyx.org>
12 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
13 of g++ which otherwise complain that the scoped_ptr destructor can't delete
14 an incomplete class LyXFont.
16 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
18 * factory.C: bug fix in branches
20 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
22 * lyxfunc.C (processKeySym): adjust
24 (dispatch): change arg name from ev to func, adjust
25 (sendDispatchMessage): ditto
27 * lyx_main.C (defaultKeyBindings): adjust keybindings
28 (deadKeyBindings): ditto
30 * kbsequence.C (addkey): return a FuncRequest
32 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
34 * kbmap.C (bind): take a FuncRequest as arg, adjust
37 (defkey): change to take a FuncRequest as arg, adjust
38 (findbinding): take a FuncRequest as arg, adjust.
40 * funcrequest.h (operator=): added
42 * funcrequest.C (FuncRequest): default kb_action changed from
43 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
45 * buffer.C (dispatch): simplify
46 (dispatch): adjust to take a FuncRequest as arg, adjust
48 * boost.C (assertion_failed): change assertion message slightly
50 * ToolbarBackend.C (read): simplify
52 * MenuBackend.C (binding): adjust call to findbinding, add a
53 message if no binding is found.
55 (expandToc): correct by adding a empty FuncRequest
57 * LyXAction.C: include <boost/assert.hpp>
58 (isPseudoAction): delete function
59 (LookupFunc): change name to...
60 (lookupFunc): this. change return type to FuncRequest.
61 (getActionName): take kb_action as arg, simplify
62 (funcHasFlag): add an assert, simplify.
64 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
66 * toc.C (action): return a FuncRequest, simplify
68 * lyxfunc.C (processKeySym): adjust
69 (getStatus): delete version that takes an int.
71 (dispatch): delete version that takes action as int
73 (sendDispatchMessage): simplify and adjust
75 * funcrequest.C (getArg): take unsigned int as arg
77 * ToolbarBackend.C (read): adjust
78 (add): delete version that takes func as a string.
79 (getIton): take a FuncRequest as arg
81 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
84 * MenuBackend.C (MenuItem): add a new construct that only takes a
85 Kind, simplify the constructor use for submenus.
87 (expandLastfiles): adjust
88 (expandDocuments): adjust
89 (expandFormats): adjust
90 (expandFloatListInsert): adjust
91 (expandFloatInsert): adjust
92 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
94 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
95 Remove class variables lyx_pseudo_map and lyx_arg_map
97 * LyXAction.C (searchActionArg): delete function
98 (getPseudoAction): delete function
99 (retrieveActionArg): delete function
100 (LookupFunc): make it return kb_action, simplify.
101 (getActionName): simplify
103 * factory.C (createInset): fix new bug
105 2003-09-19 Angus Leeming <leeming@lyx.org>
107 * CutAndPaste.C (pasteSelection): remove fudge used to set the
108 masterFilename_ parameter in the include inset.
110 * factory.C (createInset): changes due to the changes to InsetInclude.
112 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
114 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
116 2003-09-18 Angus Leeming <leeming@lyx.org>
119 * BufferView.C: pass the buffer when calling Inset::getLabelList,
120 Inset::fillWithBibKeys.
121 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
123 2003-09-18 Angus Leeming <leeming@lyx.org>
125 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
127 (ctor): pass and store a 'Buffer const &'
128 (buffer): new member function.
130 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
131 '*this' to the LaTeXFeatures ctor.
133 2003-09-18 Angus Leeming <leeming@lyx.org>
139 * text.C: rename EnumLColor as LColor_color.
141 2003-09-18 Angus Leeming <leeming@lyx.org>
143 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
144 remove #include "insets/insetbase.h" from cursor.h.
146 2003-09-18 Angus Leeming <leeming@lyx.org>
148 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
149 InsetOld_code to remove #include "inset.h".
151 * iterators.C: add #include "insets/inset.h"
153 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
155 * BufferView.C: remove more locking stuff that apparently doesn't
156 do anything sensible.
158 2003-09-16 André Pönitz <poenitz@gmx.net>
161 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
164 2003-09-16 Angus Leeming <leeming@lyx.org>
166 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
168 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
171 * paragraph.h: remove #include "lyxfont.h". Forward declare
174 2003-09-16 Angus Leeming <leeming@lyx.org>
176 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
177 of support/textutils.h.
178 (isWord): move the contents of support/textutils.h's IsWordChar here.
184 * text2.C: add #include "paragraph.h".
187 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
189 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
195 * LaTeX.C: use namespace alias for lyx::support::os
197 2003-09-16 Angus Leeming <leeming@lyx.org>
200 * bufferview_funcs.C:
205 * text.C: add #include "LColor.h".
207 2003-09-16 Angus Leeming <leeming@lyx.org>
209 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
210 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
212 Store the FontBits::color variable as an int rather than as an
213 LColor::colorso that we can move LColor.h out of the lyxfont.h header
216 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
217 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
218 string calls together.
220 * lyxrc.C: add #include "LColor.h".
222 2003-09-15 Angus Leeming <leeming@lyx.org>
224 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
227 2003-09-15 Angus Leeming <leeming@lyx.org>
229 * LColor.h: add an EnumLColor wrapper for LColor::color.
231 * lyxfont.[Ch] (color, setColor, realColor):
232 * lyxtext.h, text.C (backgroundColor):
233 pass EnumLColor args to/from the functions, rather than LColor::color
237 * lyxtext.h: forward declare EnumLColor.
239 * lyx_main.C: add #include "LColor.h".
241 2003-09-15 Angus Leeming <leeming@lyx.org>
243 * .cvsignore: add lyx-gtk.
245 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
250 * ParagraphParameters.C
264 * vc-backend.C: remove usage of STRCONV
266 2003-09-15 Angus Leeming <leeming@lyx.org>
268 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
269 explicitly define the color passed to the painter.
271 2003-09-15 Angus Leeming <leeming@lyx.org>
273 * bufferparams.C (BufferParams): reorder member initializers to avoid
276 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
278 * CutAndPaste.C (pasteSelection): remove an outdated #warning
279 * text.C (updateRowPositions): remove an unusual nop
281 2003-09-12 André Pönitz <poenitz@gmx.net>
283 * BufferView_pimpl.C:
292 * Counters.[Ch]: finish the 'automatic counters' job
294 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
296 * aspell.C: include <boost/assert.cpp> (compile fix)
298 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
300 * boost.C (assertion_failed): use lyx::support::abort instead of
303 2003-09-10 Angus Leeming <leeming@lyx.org>
305 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
306 with their _fwd progeny.
308 2003-09-09 Angus Leeming <leeming@lyx.org>
310 134 files throughtout the source tree: replace 'using namespace abc;'
311 directives with the appropriate 'using abc::xyz;' declarations.
313 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
315 * boost.C (emergencyCleanup): moved here from LAssert.c
316 (assertion_failed): new function, called by BOOST_ASSERT
318 * several files: change Assert to BOOST_ASSERT
320 2003-09-09 Angus Leeming <leeming@lyx.org>
322 * buffer.[Ch]: Add an Impl class and move Buffer's member
323 variables into it. As a result move several header files out of
326 Add header files to lots of .C files all over the tree as a result.
328 2003-09-09 Angus Leeming <leeming@lyx.org>
330 * buffer.[Ch]: make Buffer's member variables private. Add
333 Lots of changes all over the tree as a result.
335 2003-09-08 Angus Leeming <leeming@lyx.org>
337 * graph.C: #include <config.h>.
339 2003-09-08 Angus Leeming <leeming@lyx.org>
343 * BufferView_pimpl.C:
372 * toc.C: remove redundant using directives.
374 2003-09-07 Angus Leeming <leeming@lyx.org>
376 * LaTeXFeatures.h: remove #include "support/types.h".
377 * ToolbarBackend.h: remove #include <algorithm>.
378 * changes.h: remove #include <ctime>.
379 * debug.h: remove #include <iosfwd>.
380 * graph.h: remove #include "support/std_string.h".
381 * lyx_main.h: remove #include <csignal>.
382 * lyxlex_pimpl.h: remove #include <fstream>.
383 * sgml.h: remove #include <algorithm>, <utility>.
384 * toc.h: remove #include "support/std_ostream.h".
385 Add #include <iosfwd>.
387 2003-09-07 Angus Leeming <leeming@lyx.org>
389 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
391 * converter.h: forward declare LatexRunParams.
392 * encoding.h: remove #include "lyxrc.h".
393 * lyxtext.h: remove #include "LColor.h".
394 * lyxtextclass.h: remove #include "support/types.h".
395 * trans.h: remove #include "tex-accent.h".
396 * trans_mgr.h: remove #include "tex-accent.h".
397 * insets/inset.h: remove #include "support/types.h", <vector>.
398 * insets/insetcollapsable.h: remove #include "LColor.h".
399 * insets/insetinclude.h: remove #include "dimension.h".
400 * insets/insetlatexaccent.h: remove #include "dimension.h".
401 * insets/insetoptarg.h:: remove #include "insettext.h".
402 * insets/insettext.h: remove #include "dimension.h",
403 <boost/shared_ptr.hpp>
405 * insets/renderers.h: add #include "dimension.h".
406 * insets/updatableinset.h: add #include "support/types.h".
408 * many .C files: Associated changes.
410 2003-09-06 Angus Leeming <leeming@lyx.org>
412 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
413 one, inside testInvariant.
415 * PrinterParams.C: new file.
416 * PrinterParams.[Ch]: move the function bodies out of line.
418 2003-09-06 Angus Leeming <leeming@lyx.org>
420 * ParagraphParameters.h: forward declare ParameterStruct rather than
421 including its header file.
422 (depth): moved out-of-line.
424 2003-09-06 Angus Leeming <leeming@lyx.org>
426 * BufferView_pimpl.h:
429 * lyxfunc.h: forward declare LyXKeySym rather than
430 #include "frontends/LyXKeySym.h".
432 * BufferView_pimpl.C:
435 * lyxfunc.C: associated changes.
437 2003-09-06 Angus Leeming <leeming@lyx.org>
439 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
440 As a result, can remove the #include "insets/inset.h" from BufferView.h
442 2003-09-06 Angus Leeming <leeming@lyx.org>
444 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
445 As a result, can remove the #include "insets/inset.h" from BufferView.h
447 2003-09-06 Angus Leeming <leeming@lyx.org>
453 * bufferview_funcs.C:
454 * BufferView_pimpl.C:
459 * ParagraphParameters.C:
464 * frontends/controllers/ControlDocument.C:
465 * insets/insetcaption.C: rearrange the #includes into some sort of
468 * buffer.h: remove #includes ErrorList.h, undo.h
470 2003-09-06 Angus Leeming <leeming@lyx.org>
472 * support/types.h: add a 'depth_type' typedef, used to store the
473 nesting depth of a paragraph.
476 * ParameterStruct.h: use this lyx::depth_type typedef rather than
481 * ParagraphParameters.h:
482 * sgml.h: use lyx::depth_type rather than Paragraph or
483 ParameterStruct's depth_type.
486 * paragraph_funcs.h: no need to #include paragraph.h anymore.
489 * BufferView_pimpl.C:
491 * ParagraphParameters.C:
494 * bufferview_funcs.C:
501 * frontends/LyXView.C:
502 * frontends/controllers/ControlDocument.C:
503 * frontends/controllers/ControlErrorList.C:
504 * insets/insetbibitem.C:
505 * insets/insetbranch.C:
506 * insets/insetcaption.C:
507 * insets/insetcollapsable.C:
510 * insets/insetfloat.C:
511 * insets/insetfoot.C:
512 * insets/insetfootlike.C:
513 * insets/insetnewline.C:
514 * insets/insetquotes.C:
515 * insets/insettabular.C:
516 * insets/insettext.C:
517 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
519 * frontends/controllers/ControlChanges.C: #include "changes.h".
521 2003-09-06 Angus Leeming <leeming@lyx.org>
523 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
524 than #including paragraph.h.
527 * RowList.h: deleted. Superfluous.
537 * insets/insettext.h: use ParagraphList_fwd.h rather than
540 * paragraph.h: don't forward declare ParagraphList.
543 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
544 rather than ParagraphList.h. paragraph.h is still needed for the
545 Paragraph::depth_type parameters.
547 * textcursor.h: enable it to compile stand-alone in light of the
550 * bufferview_funcs.C:
562 * frontends/controllers/ControlParagraph.C:
563 * frontends/controllers/ControlTabular.C:
564 * insets/insetmarginal.C:
565 * insets/insetminipage.C:
566 * insets/insetnote.C:
567 * insets/insetoptarg.C: add header files needed to compile again.
569 2003-09-06 Angus Leeming <leeming@lyx.org>
571 * RowList_fwd.h: new file, forward-declaring Row rather than
577 * insets/insettext.h: use it instead of RowList.h
579 * bufferview_funcs.C:
586 * text3.C: #include "RowList.h".
588 2003-09-05 Angus Leeming <leeming@lyx.org>
590 * factory.C (createInset):
591 * vspace.C (c-tor): replace sscanf call with an istringstream.
592 * ispell.C: re-add missing HP/UX headers.
593 * lyxserver.C: re-add missing os2 headers.
595 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
604 * text3.C: re-add missing system headers, needed for 2.95.2.
606 2003-09-05 Angus Leeming <leeming@lyx.org>
608 Changes most place everywhere due to the removal of using directives
609 from support/std_sstream.h.
611 2003-09-05 Angus Leeming <leeming@lyx.org>
613 Replace LString.h with support/std_string.h,
614 Lsstream.h with support/std_sstream.h,
615 support/LIstream.h with support/std_istream.h,
616 support/LOstream.h with support/std_ostream.h.
618 Changes resulting throughout the tree.
620 2003-09-05 Angus Leeming <leeming@lyx.org>
622 * sgml.h: ensure that the header file can be compiled stand-alone.
623 * *.C: strip out redundant #includes. (320 in total.)
625 2003-09-04 Angus Leeming <leeming@lyx.org>
627 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
628 here (from getPackages).
630 * debug.[Ch]: add a new EXTERNAL tag.
632 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
634 * text2.C (cursorEnd): simplify
636 (getColumnNearX): adjust
638 * text.C (computeBidiTables): adjust
641 * rowpainter.C (paintChars): adjust
642 (paintSelection): adjust
643 (paintChangeBar): adjust
646 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
648 (numberOfSeparators): adjust
650 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
656 * text3.C: Restricts the mouse click functionality
657 of insets like bibtex, include, toc and floatlist to the visible
658 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
659 up the dialogs. Cursor has to be in front of the inset (i.e.
660 start of row) for this to function.
662 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
664 * bufferview_funcs.C (currentState): output row information
666 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
668 * bufferview_funcs.C (currentState): output paragraph position
670 2003-09-04 Angus Leeming <leeming@lyx.org>
672 * FloatList.h: move out #include "Floating.h".
673 * LaTeX.h: move out #include "DepTable.h".
674 * LyXAction.h: move out #include "funcrequest.h".
675 * buffer.h: move out #include "author.h", "iterators.h".
676 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
677 * lyx_main.h: move out #include "errorlist.h".
678 * lyxfunc.h: move out #include "FuncStatus.h".
679 * lyxtext: move out #include "lyxcursor.h".
680 * paragraph_pimpl.h: move out #include "counters.h".
682 2003-09-03 Angus Leeming <leeming@lyx.org>
684 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
685 preamble_snippets list, enabling us to add snippets to the preamble
686 only if the snippet was not there already.
688 2003-09-04 Angus Leeming <leeming@lyx.org>
690 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
692 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
694 * lyxfunc.C (dispatch): if fitCursor did something be sure to
697 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
699 * BranchList.C: point fix, earlier forgotten
701 2003-09-02 Angus Leeming <leeming@lyx.org>
703 * box.C (contains): renamed from 'contained' after a fantastic
706 2003-09-02 John Levon <levon@movementarian.org>
712 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
714 2003-09-02 John Levon <levon@movementarian.org>
716 * text2.C: simplification of cursorEnd(), including partial
719 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
721 * buffer.C (readFile): add a space
723 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
725 * BufferView_pimpl.C (update): remove bogus fitCursor() call
727 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
729 * buffer.C (readFile): new function, take a filename and a
730 ParagraphList::iterator
732 (readFile): adjust, make it private. don't use setStream, make
733 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
734 always contain the filename.
736 * BufferView.C (insertLyXFile): simplify and make it work for
739 2003-08-30 John Levon <levon@movementarian.org>
741 * Makefile.am: fix dist (from Kayvan)
743 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
745 * most files: change to use const Buffer refs
747 2003-08-27 André Pönitz <poenitz@gmx.net>
749 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
750 on top of ownerPar().
752 2003-08-27 John Levon <levon@movementarian.org>
754 * funcrequest.C: properly initialise POD members
756 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
758 * lyxtext.h (top_y): move top_y from here
763 * BufferView_pimpl.[Ch]: to here
764 * frontends/screen.C:
765 * insets/insettabular.C:
766 * insets/insettext.C: adjust
767 * rowpainter.[Ch] (paintRows): remove LyXText & argument
769 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
772 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
774 2003-08-26 André Pönitz <poenitz@gmx.net>
776 * paragraph_func.[Ch] (outerPar): new function
782 * text2.C: remove Inset::par_owner
784 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
789 * text2.C: eliminates the needFullRow/display() stuff
790 altogether, putting the logic in metrics/draw in the insets.
792 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
794 * text2.C (redoParagraphInternal, redoParagraphs):
795 * text.C (redoParagraph): add a call to updateRowPositions at the
796 end of each 'metrics-like' call. Remove all others.
797 (getRow): remove the 'y-computing' version.
798 (getRowNearY): do not compute nor return the real y. Solve the
799 'y < 0' problem and simplify.
801 2003-08-22 Angus Leeming <leeming@lyx.org>
803 * *.[Ch]: clean-up of licence and author blurbs.
804 Also move config.h out of a few .h files and into a few .C files.
806 2003-08-22 André Pönitz <poenitz@gmx.net>
808 * lyxrow.[Ch]: add x_ and *fill_ members
813 * text2.C: adjust/remove prepareToPrint() calls
815 2003-08-22 André Pönitz <poenitz@gmx.net>
817 * lyxrow.[Ch]: add end_ member
819 * lyxrow_funcs.C: use LyXRow::end_
821 * lyxtext.h (singleWidth): add LyXFont parameter
824 * text2.C: adjust LyXText::singleWidth() calls
826 * text.C (redoParagraph): simplify row breaking logic
829 2003-08-19 André Pönitz <poenitz@gmx.net>
831 * funcrequest.C: initialize button_ member
834 * rowpainter.[Ch]: interface consolidation
836 2003-08-18 André Pönitz <poenitz@gmx.net>
839 * BufferView_pimpl.C:
843 * text3.C: remove LyXScreen::draw() and fitCursor calls
845 * BranchList.h: remove spurious semicolons
847 * MenuBackend.C: fix branchlist related crash
849 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
861 * text3.C: implements the 'branch inset'
862 idea. This allows the output of various versions of a document
863 from a single source version, selectively outputing or suppressing
864 output of parts of the text.
865 This implementation contains a 'branch list editor' in a separate
866 tab of the document settings dialog. Branches are user definable
867 and have a "display colour" to distinguish them on-screen.
869 ColorHandler was somewhat cleaned up.
870 (1) make possible a dynamically growing LColor list by allowing
871 the graphic context cache to grow along (vector);
872 (2) eliminate an IMHO unnecessary step in colour allocation.
874 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
876 * BufferView_pimpl.C: compile fix
878 2003-08-15 André Pönitz <poenitz@gmx.net>
880 * rowpainter.C: remove extra metrics calls
882 * lyxtext.h: merge the two constructors into a single one,
883 pass reference to owner's par list
885 * BufferView_pimpl.C:
889 2003-08-15 André Pönitz <poenitz@gmx.net>
899 * text_funcs.C: split LyXText::rowlist_ into individual
900 Paragraph::rows_ chunks
903 * BufferView_pimpl.[Ch]:
906 * text3.C: remove toggleSelection()
908 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
910 * bufferlist.C: beautify two alerts (shorter text of buttons)
911 * buffer.C: Remove redundant ' ' from message
913 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
914 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
915 rename VALIGN_CENTER to VALIGN_MIDDLE
917 2003-08-11 André Pönitz <poenitz@gmx.net>
919 * lyxtext.h (getPar):
920 * text.C: new function
922 2003-08-11 André Pönitz <poenitz@gmx.net>
925 * tracer.[Ch]: remove unneeded files
927 * InsetList.[Ch]: remove resizeInsetsLyXText()
932 * text3.C: merge insertParagraphs() and appendParagraph()
933 remove breakAgain(), update()
935 * BufferView_pimpl.[Ch]:
936 * bufferview_funcs.[Ch]:
940 * tabular.C: adjust after text & InsetList changes.
942 2003-08-08 André Pönitz <poenitz@gmx.net>
944 * text.C (insertChar, backspace): replace rowlist fiddling
945 with rebreak of full par
948 * text.C (breakAgainOneRow, redoHeightOfParagraph,
949 checkParagraph, updateInset): removed
951 2003-08-07 André Pönitz <poenitz@gmx.net>
954 * text3.C: merge some LFUN handlers, remove dead code
956 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
958 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
960 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
962 * text2.C (DEPM): fix part of bug 1255 and 1256
964 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
966 * BufferView_pimpl.C (workAreaDispatch): change to use
967 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
968 that are no mouse related.
970 2003-08-05 André Pönitz <poenitz@gmx.net>
973 * BufferView_pimpl.[Ch]:
974 * bufferview_funcs.C:
976 * text3.C: rip out "deep update"
978 * textcursor.[Ch] (last_sel_cursor): remove unused member
980 2003-08-04 André Pönitz <poenitz@gmx.net>
983 * BufferView_pimpl.[Ch]:
984 * ParagraphParameters.C:
985 * bufferview_funcs.C:
991 * text3.C: replace "complicated" BufferView::update(...) calls with
994 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
996 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
998 * Makefile.am (lyx_SOURCES): add paper.h
1000 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1002 * Makefile.am: move things around so that both lyx-qt and
1003 lyx-xforms can be built (according to --with-frontend). Then lyx
1004 is a symbolic link to lyx-[firstfrontend]
1006 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1008 * Always use std::endl with lyxerr
1010 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1012 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1014 2003-08-01 André Pönitz <poenitz@gmx.net>
1017 * BufferView_pimpl.[Ch]:
1019 * text3.C: merge BufferView::repaint() and BufferView::update()
1021 2003-08-01 José Matos <jamatos@lyx.org>
1023 * buffer.[Ch]: file_format is no longer a buffer data element.
1025 2003-08-01 André Pönitz <poenitz@gmx.net>
1030 * text2.C: make redoParagraph more independent of current cursor
1032 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1034 * text2.C: remove unneeded members
1036 2003-07-30 André Pönitz <poenitz@gmx.net>
1038 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1040 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1041 create a single function...
1043 * paragraph_funcs.C (moveItem): ... here.
1046 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1048 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1050 * LColor.[Ch]: Add comment and greyedout logical colors.
1052 2003-07-30 André Pönitz <poenitz@gmx.net>
1054 * tabular.C: don't use Assert too heavily. This crashes where it
1057 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1059 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1060 is disabled (bug 1232)
1062 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1064 * factory.C: limited 'arg' scope
1066 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1068 * factory.C: fixed Note submenu issues
1070 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1072 * factory.C: submenu for Note/Comment/Greyedout
1074 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1077 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1079 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1082 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1083 greyedout. Patch provided by Jürgen Spitzmüller.
1085 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1087 * kbmap.C (read): fix error message when reading bind files
1089 2003-07-29 Angus Leeming <leeming@lyx.org>
1091 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1092 certainly does not do what it purports to do. I am doing it, and
1093 us, a favour by killing it.
1095 2003-07-28 José Matos <jamatos@lyx.org>
1097 * buffer.C (readBody, do_writeFile):
1098 * paragraph.C(readParagraph): \end_document replaces \the_end.
1100 2003-07-29 André Pönitz <poenitz@gmx.net>
1103 * BufferView_pimpl.[Ch]:
1107 * textcursor.[Ch]: remove toggleToggle & Co
1109 2003-07-28 José Matos <jamatos@fep.up.pt>
1111 * buffer.C (readParagraph):
1112 * params_func (readParToken, readParagraph):
1113 * paragraph.C (write): \layout -> \begin_layout.
1115 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1117 * lyxlex_pimpl.C (setFile): clean up slightly.
1119 * bufferparams.h: add compressed var
1121 * buffer_funcs.C (readFile): adjust for LyXLex change
1122 (newFile): ditto + simplify
1124 * buffer.C (writeFile): handle writing of compressed files
1126 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1127 Check if the file is compressed and set a bufferparm if so.
1129 * Makefile.am (lyx_LDADD): remove explicit -lz
1131 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1133 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1134 makeDocBookFile): put the real LyX version in the first line of
1138 * version.C.in: remove lyx_docversion
1140 * tabular.C (write_attribute): add a template-based version to
1141 write enums properly
1143 2003-07-28 André Pönitz <poenitz@gmx.net>
1148 * text3.C: use doubles again for x-coordinates. They are needed.
1150 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1152 * messages.C (getLocaleDir): use lyx_localedir()
1154 * lyxlex_pimpl.C (setFile): compress stuff
1156 * buffer.C (writeFile): add some compression stuff
1157 (do_writeFile): new func, dont call expliti close... will this
1160 * Makefile.am (lyx_LDADD): add -lz
1162 2003-07-28 José Matos <jamatos@fep.up.pt>
1164 * buffer.C: increment file format.
1165 * paragraph_funcs (readParagraph, readParToken):
1166 * paragraph.C (readParagraph): add \end_layout.
1168 2003-07-27 Angus Leeming <leeming@lyx.org>
1170 * Makefile.am: remove special casing for configure-time setting of
1171 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1173 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1174 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1176 2003-07-26 André Pönitz <poenitz@gmx.net>
1178 * paragraph_func.[Ch]:
1179 * paragraph.C (realizeFont): inline it whereever it is used
1184 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1187 2003-07-26 André Pönitz <poenitz@gmx.net>
1191 * text2.C: get rid of LyXText::need_break_row
1193 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1195 * toc.[Ch]: put namespace toc inside namespace lyx
1197 * MenuBackend.C (expandToc2): adjust for lyx::toc
1200 * lyxfunc.C (dispatch): adjust for lyx::find
1202 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1203 lyx::find instead. Reorganize a bit.
1204 (LyXReplace): rename to replace
1205 (LyXFind): rename to find
1207 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1210 2003-07-26 André Pönitz <poenitz@gmx.net>
1212 * text.C (setHeightOfRow): restrict scope of temporary variable
1214 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1215 code (never has been used?)
1217 2003-07-27 Asger Alstrup <alstrup@local>
1219 * text.C (fill): Optimise algorithm to exploit that we can reuse
1220 the LyXFont for many characters.
1221 (setHeightOfRow): Same thing.
1222 (rowBreakPoint): Same thing.
1224 2003-07-26 Asger Alstrup <alstrup@local>
1226 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1228 * text.C (singleWidth): Spurious font copying in hot-spot
1229 singleWidth avoided. Reorder tests for arabic for efficiency.
1231 * text.C (fill): handle empty paragraphs better.
1233 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1236 * encoding.h: add includes
1238 * lyxrc.C: remove reading of bind files
1240 * lyx_main.C (init): setup bindings and menus only if we have a
1243 * kbmap.C (read): new method. Do the actual reading of bind
1246 * converter.C (dvipdfm_options):
1249 (output): adapt PAPER_* enums.
1251 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1253 * bufferparams.h: remove paper-related enums from there
1255 * paper.h: New file. A trivial header file to hold paper-related
1256 enums. It should later expand to contain many paper-related
1259 * lyxrc.C: declare extern displayTranslator
1261 2003-07-27 José Matos <jamatos@fep.up.pt>
1263 * tabular.[Ch] (linuxdoc): add support for tables and figures
1266 2003-07-27 José Matos <jamatos@fep.up.pt>
1268 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1269 consistency in both functions.
1270 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1272 2003-07-26 Asger Alstrup <alstrup@local>
1274 * rowpainter.C (paintRows): Change algorithm to work directly on
1275 the insets rather than asking every character in the document
1276 whether its an inset.
1278 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1280 * buffer.C (openFileWrite): factorize some code
1282 2003-07-26 Angus Leeming <leeming@lyx.org>
1285 * lyx_main.[Ch]: replace occurances of system_tempdir with
1288 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1290 * rename Inset to InsetOld
1292 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1294 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1295 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1296 which I think is a bit clearer. EDIT is gone, since it was
1297 premature optimisation, and broken for mathed anyway.
1298 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1299 with cursor positioning in insets as well (math insets still do not
1300 work, but that's a different story anyway.) It mysteriously
1301 crashes sometimes with undo in the first paragraph, but I'm fairly
1302 confident that this is a compiler bug.
1304 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1306 * paragraph.C (Paragraph): adjust for new clone return type
1308 (copyIntoMinibuffer): ditto
1310 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1312 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1313 by not having a special case, and always doing a full rebreak of
1314 the document after undo.
1316 2003-07-23 Angus Leeming <leeming@lyx.org>
1318 * factory.C (createInset): InsetExternal::setParams now takes a
1321 2003-07-23 Angus Leeming <leeming@lyx.org>
1323 * factory.C (createInset): changed interface to the external and
1324 graphics mailers' string2params functions.
1326 2003-07-23 Angus Leeming <leeming@lyx.org>
1328 * factory.C (createInset): pass a
1329 Buffer const * parameter to InsetExternalMailer's string2params.
1331 2003-07-22 John Levon <levon@movementarian.org>
1333 * Thesaurus.h: include the right aiksaurus header
1335 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1337 * MenuBackend.C (expand): check menu shortcuts unconditionally
1339 2003-07-21 Angus Leeming <leeming@lyx.org>
1341 * factory.C (createInset): pass a
1342 buffer_path parameter to InsetGraphicsMailer's string2params.
1344 2003-07-21 Angus Leeming <leeming@lyx.org>
1346 * BufferView_pimpl.C (buffer):
1349 * lyxfunc.C (dispatch):
1350 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1351 rather than the grfx shortcut.
1353 2003-07-21 André Pönitz <poenitz@gmx.net>
1355 * rowpainter.C: remove unused variables
1358 * tabular_funcs.h: move to tabular.C
1359 * Makefile.am: adjust
1361 * tabular.[Ch]: basic optical cleaning
1363 * author.h: pass references, not values
1365 2003-07-18 André Pönitz <poenitz@gmx.net>
1373 * text3.C: two-phase drawing for InsetText and InsetTabular
1374 some float -> int changes.
1376 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1378 * lyx_main.C: fix the fix
1380 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1382 * lyx_main.C: fix a crash in batch mode if no files specified
1385 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1387 * format.[Ch] (papersize): moved to BufferParams
1388 * converter.[Ch] (dvips_options): moved to BufferParams
1389 (dvipdfm_options): moved to anon namespace
1390 * bufferparams.[Ch]: added above functions.
1392 2003-07-17 André Pönitz <poenitz@gmx.net>
1396 * text2.C: don't call inset->update() anymore
1398 * metricsinfo.[Ch]: add convenience constructor
1400 2003-07-16 André Pönitz <poenitz@gmx.net>
1405 * text2.C: replace the LyXCursor::irow_ member with
1406 on-demand computation of the value
1408 2003-07-16 John Levon <levon@movementarian.org>
1410 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1412 2003-07-15 André Pönitz <poenitz@gmx.net>
1415 * text2.C: remove no more needed refresh_row
1417 2003-07-15 André Pönitz <poenitz@gmx.net>
1422 * text3.C: refresh_status tristate -> need_update bool
1424 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1426 * lyxtext.h (init): remove reinit argument (act as if always true)
1427 * text2.C: adjust to that
1429 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1431 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1432 * text3.C: use it to delete selections in some cases
1433 (bugs 441, 673, 702, 954).
1435 2003-07-14 André Pönitz <poenitz@gmx.net>
1437 * rowpainter.[Ch]: reduce interface
1439 2003-07-14 André Pönitz <poenitz@gmx.net>
1441 * BufferView_pimpl.C:
1442 * text2.C: adjust after removing unused BufferView * argument
1444 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1446 * text2.C (init): fix a crash fired on resize
1448 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1450 * buffer.[Ch]: added new closing signal
1451 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1452 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1453 BufferView::Pimpl via the closing the signal
1455 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1457 * buffer.[Ch]: take out all bv-related from buffer
1459 * BufferView_pimpl.[Ch]: connect to new signals
1460 * CutAndPaste.C: removed useless asserts
1461 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1464 * lyxfunc.C: moved view-related funciontality from vc here
1465 * paragraph.C: removed outdated comments
1468 2003-07-10 André Pönitz <poenitz@gmx.net>
1470 * BufferView_pimpl.C:
1474 * text2.C: remove InsetText::InnerCache, clean up consequences
1476 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1478 * ispell.C: fix two typos in error messages
1480 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1482 * Extend Note inset to other forms of annotation like Comment
1483 and Greyedout. Right button click gives dialog.
1485 Files modified or added (+):
1489 * ControlNote.[Ch] +
1491 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1492 frontends/controllers
1496 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1498 * aspell.C: add missing namespace lyx::support
1500 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1502 * BufferView.[Ch] (newFile): Add
1503 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1504 * LaTeX.[Ch] (message): added this signal and use it
1505 * buffer.[Ch] (busy, message): added these signals and use them
1506 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1510 * importer.C: use buffer signals instead of direct bv calling
1511 * lyx_cb.[Ch] (ShowMessage): removed
1514 * paragraph_funcs.C:
1515 * text2.C: use buffer signals
1517 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1519 * introduce namespace lyx::graphics
1521 2003-07-02 André Pönitz <poenitz@gmx.net>
1523 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1525 2003-07-01 André Pönitz <poenitz@gmx.net>
1532 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1533 text*.C to text_func.C
1535 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1537 * introduce namespace lyx::support
1539 2003-06-30 André Pönitz <poenitz@gmx.net>
1544 * text.C: re-enable --with-included-string
1546 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1548 * textcursor.C: add <config.h>
1550 * text.C (getWord): remove const from word_location arg
1552 * lyxvc.C (getLogFile): fix const type order
1554 * lyxtext.h: remove const from word_location arg, add arg name
1556 * lyxlayout.h: currect type on labeltype.
1558 * importer.C: correct \file
1560 * converter.C (intToFormat): use std:: on ret val, ws changes
1562 * bufferlist.h: correct \file
1564 * buffer.C (makeLinuxDocFile): fix const type order
1565 (makeDocBookFile): ditto
1566 (fillWithBibKeys): use std:: on stdlib args.
1568 * CutAndPaste.C: fix authors.
1569 (availableSelections): use std:: on return vector
1571 2003-06-27 André Pönitz <poenitz@gmx.net>
1573 * BufferView_pimpl.C:
1574 * bufferview_funcs.C:
1582 * text3.C: remove LyXCursor::row_ member
1585 * text.C: rename fullRebreak() to partialRebreak() and implement
1586 a fullRebreak() that really bereks fully
1588 * textcursor.h: new struct for cursor-related data
1590 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1592 * lyx_main.C (LyX): get full path of document loaded on the
1595 2003-06-26 André Pönitz <poenitz@gmx.net>
1597 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1598 remove unused/broken operator>,<,>=.
1600 * text.C: remove only use of broken operator<= in an Assert().
1602 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1604 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1605 moved errorlist_.clear to showErrorList
1607 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1609 * converter.C (scanLog, runLaTeX):
1610 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1611 move the bv->showErrorList call to the callers
1612 * lyxfunc.C: i.e. here...
1614 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1615 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1616 namespace, the second to...
1617 * buffer_funcs (BufferFormat, parseErrors): added
1618 * errorlist.C (ErrorList(TeXErrors const &)): removed
1620 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1622 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1624 2003-06-24 "Garst R. Reese" <reese@isn.net>
1628 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1630 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1632 * version.C.in: change docversion to 1.4
1634 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1636 * buffer.C: fix a bug just introduced
1638 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1640 * buffer.[Ch]: added the parseError signal and use it, removed
1642 * BufferView.[Ch] (addError): moved to ...
1643 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1644 to the Buffer::parseError signal to catch (guess what) parse errors
1645 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1647 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1649 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1650 ability to create a buffer and to return an existing one from
1651 the list. Moved these functions to...
1652 * buffer_funcs.[Ch]: added
1653 * BufferView.[Ch] (loadLyXFile): added
1654 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1655 job removed from bufferlist::loadLyXFile.
1656 * buffer.C (setReadOnly): make it work without view
1657 (i.e added an if (users))
1659 2003-06-19 Angus Leeming <leeming@lyx.org>
1662 * LyXAction.C (init):
1663 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1664 with LFUN_DIALOG_SHOW <name> <data>.
1666 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1668 * CutAndPaste.C (availableSelections): small compilation fix for
1669 ancient (gcc 2.9x) compilers
1671 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1673 * text3.C (cursorNext): add tmp var
1675 * text2.C (updateCounters): for function calling out of for clause
1676 (replaceSelectionWithString): ditto
1677 (insertStringAsParagraphs): ditto
1678 (getColumnNearX): add tmp var
1679 (setCursorFromCoordinates): add tmp var
1680 (cursorDownParagraph): add tmp var
1681 (deleteEmptyParagraphMechanism): add tmp var
1683 * text.C (insertChar): add tmp var
1685 * rowpainter.C (paintDepthBar): add tmp var
1687 * CutAndPaste.C (availableSelections): potentially check all
1688 paragraphs in a cut to fill the shown strings.
1690 2003-06-18 André Pönitz <poenitz@gmx.net>
1692 * kbmap.[Ch]: use vector<> instead of list<>
1694 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1696 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1697 pasteSelection with index
1699 * text2.C (pasteSelection): modify, call pasteSelection with index
1701 * paragraph.C (asString): reimplement version with no interval to
1702 call the one with interval.
1704 * lyxtext.h: add index arg to pasteSelection
1706 * MenuBackend.C (MenuItem): handle PasteRecent
1707 (Menu::read::Menutags): add md_pasterecent
1709 (expandPasteRecent): new function
1712 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1714 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1716 (availableSelections): new function
1718 2003-06-17 Angus Leeming <leeming@lyx.org>
1720 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1722 2003-06-17 Angus Leeming <leeming@lyx.org>
1725 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1727 * lyxfunc.C (dispatch): invoke it.
1729 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1731 * iterators.C (operator++, ParPosition): reintroduce some
1732 const_cast for the benefit of older compilers.
1734 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1736 * text3.C (dispatch): do not modify clipboard when doing
1737 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1738 LFUN_DELETE_SKIP on a selection selection
1740 2003-06-16 André Pönitz <poenitz@gmx.net>
1746 * tabular.[Ch]: IU of clone() and getLabelList();
1748 2003-06-13 André Pönitz <poenitz@gmx.net>
1750 * tabular.h: compactification
1752 2003-06-12 André Pönitz <poenitz@gmx.net>
1756 * tabular_funcs.h: some renaming plus whitespace
1758 2003-06-12 André Pönitz <poenitz@gmx.net>
1761 * BufferView_pimpl.C:
1767 * toc.C: Return a Paragraph & for ParIterator::operator*()
1769 2003-06-11 John Levon <levon@movementarian.org>
1773 * ToolbarBackend.C: add "Toolbars" section and
1776 2003-06-10 Angus Leeming <leeming@lyx.org>
1779 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1781 * lyxfunc.C (dispatch): invoke it.
1783 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1785 * main.C: protect <ios> with HAVE_IOS
1786 (main): protect sync_with_stdio with HAVE_IOS
1788 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1790 * text2.C (cutSelection): adjust
1791 (pasteSelection): adjust
1793 * messages.C: handle get of empty string
1795 * main.C (main): use sync_with_stdio(false)
1797 * lyxfunc.C (dispatch): adjust
1799 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1800 (WriteAs): remove unneeded BufferView arg.
1802 * bufferparams.h: use correct types on papersize, papersize2 and
1805 * bufferparams.C (readToken): adjust for type
1806 (writeLaTeX): add missing cases to switch.
1808 * bufferlist.C (quitWriteBuffer): adjust
1811 * buffer.C (asciiParagraph): remove some commented code.
1813 * CutAndPaste.C: remove current_view extern variable.
1814 (cutSelection): add BufferParams arg.
1815 (eraseSelection): add BufferParams arg.
1816 (pasteSelection): add Buffer const & arg
1818 2003-06-07 John Levon <levon@movementarian.org>
1821 * paragraph_funcs.C:
1822 * paragraph_pimpl.C:
1826 * paragraph.C: allow InsetERT to freely space lines,
1827 and some consolidation of code
1829 2003-06-06 José Matos <jamatos@fep.up.pt>
1831 * buffer.C (makeDocBookFile): fix bug #821
1833 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1835 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1837 2003-06-04 Angus Leeming <leeming@lyx.org>
1839 * buffer.C: bump format to 224.
1841 2003-06-05 André Pönitz <poenitz@gmx.net>
1843 * text2.C (redoParagraphs): remove two const_cast<>
1845 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1847 * ParagraphList.h: remove last remnants of NO_STD_LIST
1849 2003-06-03 Angus Leeming <leeming@lyx.org>
1851 * factory.C (createInset): small change to the way InsetExternal's params
1854 2003-06-04 André Pönitz <poenitz@gmx.net>
1856 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1858 * paragraph_pimpl.h:
1859 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1861 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1863 * undo_funcs.C: make some simple cases of undo work again
1865 2003-06-03 John Levon <levon@movementarian.org>
1867 * ispell.C: HPUX doesn't have sys/select.h
1870 2003-06-03 John Levon <levon@movementarian.org>
1872 * CutAndPaste.C: update tabular and include inset
1877 * paragraph.C: remove owningBuffer(), don't pass Buffer
1880 * factory.C: insetGraphicsParams changed
1882 2003-06-02 John Levon <levon@movementarian.org>
1888 * text3.C: remove insetparent
1890 2003-06-02 John Levon <levon@movementarian.org>
1893 * buffer.C: fix inset_iterator.end(), move out of line
1896 2003-06-01 John Levon <levon@movementarian.org>
1898 * text3.C: use a proper cut/paste when doing inset
1899 insert (from Jürgen Spitzmüller)
1901 2003-06-01 John Levon <levon@movementarian.org>
1903 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1905 2003-05-30 André Pönitz <poenitz@gmx.net>
1907 * rowpainter.C: unify second drawing phase
1909 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1911 * trans_mgr.C: remove one case of current_view
1913 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1915 * paragraph_funcs.h: remove paragraph.h include
1917 * paragraph.h: delete NO_STD_LIST stuff
1919 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1921 * buffer.h: remove paragraph.h include
1923 * ParagraphList.C: delete file
1925 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1927 * toc.C (getTocList): adjust
1929 * paragraph_pimpl.C (validate): adjust
1931 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1933 * paragraph.C (Paragraph): adjust
1934 (getPositionOfInset): use const_iterator, adjust
1935 (bibitem): use const_iterator, adjust
1936 (setInsetOwner): adjust
1938 * iterators.C (operator++): adjust
1940 * InsetList.[Ch]: Replace selfmade iterator with standard
1941 vector::iterator also introduce const_iterator. Remove getPos,
1942 getInset and setInset from InsetTable. Adjust accordingly.
1944 * BufferView.C (lockInset): adjust
1945 (ChangeInsets): adjust
1947 * tabular.[Ch]: delete commented same_id functions
1949 2003-05-28 John Levon <levon@movementarian.org>
1951 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1953 2003-05-28 André Pönitz <poenitz@gmx.net>
1955 * metricsinfo.[Ch]: remove 'fullredraw' member
1957 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1959 * lyxtextclass.C (operator): remove caching.
1961 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1965 * text2.C (cursorBottom): adjust
1966 (setCounter): use ParagraphList::find, adjust
1968 * text.C (workWidth): use ParagraphList::find, adjust
1970 * lyxcursor.C (LyXCursor): adjust
1972 * buffer.C (inset_iterator): adjust
1974 * ParagraphList.h: make iterator(value_type) private, make
1975 ParagraphList a friend of iterator.
1977 * ParagraphList.C (find): new function
1979 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1981 2003-05-27 André Pönitz <poenitz@gmx.net>
1983 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1985 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1987 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1989 2003-05-26 John Levon <levon@movementarian.org>
1991 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1993 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * remove same_id from function signatures, adjust.
1997 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1999 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2001 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2003 * paragraph.C (Paragraph): get rid of same_ids parameter
2005 * ParagraphList.C (insert): adjust
2008 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2010 * paragraph_funcs.C (breakParagraph): adjust
2011 (breakParagraphConservative): adjust
2013 * buffer.C (readParagraph): adjust
2015 * ParagraphList.C (insert): take a reference instead of a pointer
2018 * paragraph.[Ch] (id): new function
2020 * bufferlist.C (newFile): adjust
2022 * ParagraphList.C (ParagraphList): adjust
2024 (push_back): take a reference instead of a pointer.
2026 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2028 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2031 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2032 set else use old code.
2034 * ParagraphList.C: remove all NO_NEXT code and only compile this
2035 code of NO_STD_LIST is set.
2037 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2039 * BufferView_pimpl.C:
2049 * graphics/GraphicsConverter.C:
2050 * graphics/PreviewLoader.C: header adjustment
2052 2003-05-23 Angus Leeming <leeming@lyx.org>
2054 * LaTeXFeatures.[Ch] (useBabel): new method.
2055 * bufferparams.C (writeLaTeX): use it.
2057 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2059 * ParagraphList.h (set): remove unused function.
2061 2003-05-23 André Pönitz <poenitz@gmx.net>
2064 * BufferView_pimpl.C:
2068 * undo_funcs.C: setUndo reworked
2070 * iterators.[Ch]: add access to topmost ParagraphList
2072 * lyxtext.[Ch] (workWidth): add a const
2074 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2076 * texrow.[Ch] (increasePos): remove function
2077 * exporter.C (export): removed unused var and outdated comment
2079 2003-05-23 Angus Leeming <leeming@lyx.org>
2081 * latexrunparams.h: rename fragile as moving_arg.
2082 * paragraph.C (simpleTeXOnePar): ditto.
2083 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2085 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2087 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2089 (textUndoOrRedo): comment out a currently unused var.
2091 * paragraph.h (NO_NEXT): enable NO_NEXT
2093 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2095 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2097 * exporter.C (Export): adjust for removeAutoInsets removal.
2099 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2101 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2103 * BufferView.[Ch] (removeAutoInsets): delete function
2105 2003-05-22 Angus Leeming <leeming@lyx.org>
2107 * latexrunparams.h: add a free_spacing variable.
2109 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2110 to pass moving_arg, as the data is stored in runparams.fragile.
2112 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2113 to Inset::latexOptional or to simpleTeXOnePar.
2115 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2116 free_spacing arg to Inset::latexOptional.
2118 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2121 2003-05-22 Angus Leeming <leeming@lyx.org>
2123 * latexrunparams.h: add fragile and use_babel variables.
2125 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2126 * buffer.C (makeLaTeXFile): store this returned value in
2127 runparams.use_babel, thus passing it to the inset::latex methods.
2129 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2130 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2132 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2133 longer has a fragile arg, as it is stored in runparams.fragile.
2135 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2136 moving_arg parameter as the data is stored in runparams.fragile.
2138 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2139 a fragile parameter as the data is stored in runparams.fragile.
2141 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2143 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2145 2003-05-22 Angus Leeming <leeming@lyx.org>
2147 * latexrunparams.h: add a 'bool nice' which defaults to false.
2149 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2150 now encapsulated within runparams.
2152 * bufferlist.C (updateIncludedTeXfiles):
2153 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2155 2003-05-22 Angus Leeming <leeming@lyx.org>
2157 * latexrunparams.h: new file containing struct LatexRunParams.
2158 * Makefile.am: add new file.
2160 * LaTeX.[Ch] (c-tor, run):
2161 * buffer.[Ch] (makeLaTeXFile):
2162 * bufferlist.[Ch] (updateIncludedTeXfiles):
2163 * converter.C (convert, scanLog):
2164 * converter.[Ch] (runLaTeX):
2165 * exporter.C (Export):
2166 * paragraph.[Ch] (simpleTeXOnePar):
2167 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2168 * paragraph_funcs.[Ch] (latexParagraphs):
2169 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2170 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2171 pass around a LatexRunParams parameter.
2173 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2175 * paragraph.[Ch]: remove unused constructor
2177 * ParagraphList.C (erase): new function, taking two iterators
2179 2003-05-22 André Pönitz <poenitz@gmx.net>
2181 * undo_funcs.C: remove duplicated code
2183 * iterator.[Ch]: operator=
2185 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2187 * tabular.C (SetMultiColumn): ws changes
2189 * rowpainter.C (paintFirst): get rid of a ->previous
2191 * lyx_cb.C (getPossibleLabel): parlist simplification
2193 * BufferView.C (ChangeInsets): simplify slightly.
2195 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2197 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2198 * lfuns.h: new LFUN_SPACE
2199 * lyxfunc.C: protected space has a new lfun
2200 * paragraph_funcs.C: read new space insets
2202 * factory.C: handle new space insets
2204 2003-05-22 André Pönitz <poenitz@gmx.net>
2207 * BufferView_pimpl.C:
2210 * undo_funcs.C: return a ParIterator from getParFromID.
2212 * iterators.[Ch]: add two const's
2214 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2216 * toc.C (getTocList): adjust
2218 * iterators.[Ch]: rework for parlist
2220 * buffer.C (par_iterator_begin): adjust
2221 (par_iterator_end): adjust
2223 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2225 * BufferView.C (removeAutoInsets): adjust
2226 (ChangeInsets): adjust
2228 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2230 * text.C (top_y): fix bug 1110
2232 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2234 * errorlist.[Ch]: added
2237 * BufferView_pimpl.C:
2238 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2241 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2243 * Makefile.am: ensure that lyx is relinked upon changes to the
2244 various "convenience" libs.
2246 2003-05-20 Angus Leeming <leeming@lyx.org>
2248 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2249 files are compiled in alphabetical order again.
2251 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2253 2003-05-19 Angus Leeming <leeming@lyx.org>
2255 * gettext.[Ch]: remove "char const * _(char const *)".
2257 2003-05-19 André Pönitz <poenitz@gmx.net>
2259 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2268 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2270 2003-05-19 André Pönitz <poenitz@gmx.net>
2274 * lyxtextclass.[Ch]:
2276 * paragraph_funcs.[Ch]:
2278 * text3.C: more insetenv work
2280 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2282 * ParagraphParameters.C (params2string): small bug fixed
2284 2003-05-16 André Pönitz <poenitz@gmx.net>
2287 * bufferview_funcs.C: patch from Kornel Benko to prevent
2288 crash when _(...) is called twice in a statement
2290 2003-05-16 André Pönitz <poenitz@gmx.net>
2297 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2299 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2301 * lyx_main.C (init): remove spurious static_cast
2303 2003-05-14 André Pönitz <poenitz@gmx.net>
2305 * BufferView.C: fix format string
2307 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2309 * BufferView.[Ch] (insertErrors): removed
2310 * BufferView.[Ch] (showErrorList): added
2311 * buffer.C (runChkTeX):
2312 * converter.C (scanLog): call showErrorList instead of inserterrors
2314 2003-05-13 André Pönitz <poenitz@gmx.net>
2316 * BufferView_pimpl.C:
2318 * bufferview_func.C:
2325 * tabular_funcs.h: tostr() from its own header
2327 * ParagraphParameters.C:
2332 * text3.C: STRCONV()
2334 2003-05-12 André Pönitz <poenitz@gmx.net>
2337 * BufferView_pimpl.C:
2341 * ParagraphParameters.C:
2345 * bufferview_funcs.C:
2358 * paragraph_funcs.C:
2362 * text3.C: boost::format -> bformat all over the place
2365 2003-05-09 André Pönitz <poenitz@gmx.net>
2367 * LColor.[Ch]: Pimpl the #include <map> away
2369 2003-05-09 John Levon <levon@movementarian.org>
2371 * bufferlist.C: never remove emergency saves
2373 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2375 * Makefile.am: better lib building
2377 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2379 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2381 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2382 (simpleTeXSpecialChars): adjust
2383 (simpleTeXSpecialChars): adjust
2384 * paragraph.C (simpleTeXOnePar): adjust
2385 * buffer.C (makeLaTeXFile): adjust
2387 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2389 * text2.C (changeDepth): parlist cleanup
2390 (getColumnNearX): ditto
2392 * rowpainter.C (getLabelFont): parlist cleanup
2394 * bufferlist.C (newFile): parlist cleanup
2396 * CutAndPaste.C (eraseSelection): parlist cleanup
2398 * BufferView_pimpl.C (trackChanges): parlist cleanup
2401 * BufferView.C (lockInset): parlist cleanup.
2402 (ChangeInsets): ditto
2404 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2406 * CutAndPaste.h: Update file header.
2408 * CutAndPaste.C: Update file header.
2409 Store the parts cut out of the Document in a limited_stack.
2410 (copySelection): adjust
2411 (pasteSelection): new function, takes the index in the limited stack.
2412 (nrOfParagraphs): adjust
2413 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2414 simplify error inset insertion.
2415 (checkPastePossible): adjust
2417 2003-05-06 John Levon <levon@movementarian.org>
2419 * text2.C: don't cast wrap inset to float
2421 2003-05-05 André Pönitz <poenitz@gmx.net>
2424 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2426 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2427 few naked Paragraph *.
2429 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2431 * bufferparams.C: Output warning if a document with missing
2432 TeX document class is loaded
2433 * exporter.C: Disable TeX exports if the document class is missing
2436 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2437 isTeXClassAvailable()
2439 2003-05-03 John Levon <levon@movementarian.org>
2442 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2443 explicit cursor show/hide
2445 * BufferView_pimpl.h:
2446 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2447 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2449 * lyxfunc.C: hide cursor before dispatching.
2454 * text3.C: remove explicit cursor hides
2456 2003-05-02 André Pönitz <poenitz@gmx.net>
2458 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2461 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2464 * text2.C: tiny whitespace
2466 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2468 * undo_funcs.C: almost only ws changes.
2470 * ParagraphList.C (splice): just return if pl is empty.
2472 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2474 * ParagraphList.C (splice): new function.
2476 * CutAndPaste.C (pasteSelection): use it
2478 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * CutAndPaste.C (pasteSelection): remove the last next and
2481 previous from this file.
2483 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2485 * CutAndPaste.C (pasteSelection): more clean up, user proper
2486 ParagraphList functions for pasteing.
2488 * ParagraphList.C (insert): new function, three arg insert
2490 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2492 * ParagraphList.C (insert): new function, three arg insert
2494 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2497 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2499 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2501 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2503 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2505 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2508 (copySelection): clean up a bit.
2509 (pasteSelection): use make_pair
2511 * ParagraphList.C (ParagraphList): implement copy constructor
2512 (operator=): implement, base on copy constructor.
2515 * paragraph.C (erase): return a bool
2517 * paragraph_pimpl.C (erasePos): remove function, move contents...
2518 (erase): ... here. Return a bool.
2519 (erase): call erase instead of erasePos.
2521 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2523 * ParagraphList.h: define PitPosPair
2524 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2525 ParagraphList, fix a bug on pasting multiple pars
2526 * text2.C: change interface to C&P
2528 2003-04-30 André Pönitz <poenitz@gmx.net>
2530 * undo_func.C: revert part of yesterday's patch 2
2532 2003-04-30 John Levon <levon@movementarian.org>
2534 * LColor.C: s/tabular/table/
2536 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2538 * text3.C (dispatch): do not convert iterator -> pointer
2539 * undo_funcs.C (setCursorParUndo): ditto
2540 * text_funcs.C (transposeChars): ditto
2542 * text2.C (setLayout): ws changes only
2544 * text.C (breakParagraph): do not convert iterator -> pointer
2546 (acceptChange): ditto
2547 (rejectChange): ditto
2552 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2555 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2557 * text3.C (gotoInset): YABG (yet another bad getChar)
2559 2003-04-29 André Pönitz <poenitz@gmx.net>
2561 * paragraph.h: make operator= private unimplemented as long as
2564 * ParagraphList.C: whitespace
2567 * paragraph_pimpl.[Ch]:
2568 * paragraph_funcs.C:
2570 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2573 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2575 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2577 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2578 * paragraph.[Ch] (erase):
2579 * paragraph_pimpl.[Ch] (erase): change return type and value
2580 * text2.C (cutSelection): some rework
2582 2003-04-28 John Levon <levon@movementarian.org>
2584 * bufferlist.C: changes for unsaved changes dialog
2586 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * bufferlist.C (newFile): set language (messages_) for new
2591 * buffer.C (readFile): ws changes only.
2593 2003-04-28 André Pönitz <poenitz@gmx.net>
2598 * BufferView_pimpl.C:
2599 * BufferView.C: getParFromID related ParagraphList::iterator changes
2601 2003-04-28 André Pönitz <poenitz@gmx.net>
2603 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2606 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * messages.C: remove one more localedir class variable.
2610 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2612 * messages.C (getLocaleDir): singleton generation function
2614 (Messages): add a default constructor.
2616 * main.C (main): do not setup localedir here, do not call
2619 * gettext.C (_): use it.
2620 (gettext_init): delete funciton
2622 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * gettext.C (getLyXMessages): new singleton generating function.
2626 * buffer.C (updateDocLang): adjust
2628 * Makefile.am (messages.o): add target
2629 (main.o): remove target
2631 2003-04-27 John Levon <levon@movementarian.org>
2636 * lyxvc.C: specify cancel button in Alert::prompt
2638 2003-04-26 John Levon <levon@movementarian.org>
2643 * LyXAction.C: add LFUN_INSET_SETTINGS
2645 * lyxfunc.C: don't enable tabular-feature when there's
2646 just any locking inset
2648 2003-04-26 John Levon <levon@movementarian.org>
2650 * bufferlist.C: re-add Cancel to buffer close question
2652 * lyxfunc.C: fix import UI a bit
2654 2003-04-25 John Levon <levon@movementarian.org>
2656 * gettext.C: remove the broken asserts for now
2658 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2660 * messages.C: make case where setlocale cannot comply work better.
2662 * buffer.C (updateDocLang): new function
2663 (changeLanguage): use it
2666 * text2.C (setCounter): use B_ a bit.
2668 * lyxlayout.C (Read): be sure to trim the label strings.
2670 * messages.C (Messages): fix typo in comment
2672 * buffer.C (readFile): set message_ after file is loaded.
2673 (makeDocBookFile): remove double return
2674 (changeLanguage): reset message_ upon language change.
2675 (B_): new func, use this to get translated buffer strings.
2677 * main.C: add myself and Jean Marc as authors.
2679 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2681 * messages.[hC]: pimplify Messages, and three different pimpls to be
2682 used in different circumstances.
2684 * gettext.[Ch]: change for use with new message code.
2686 2003-04-24 André Pönitz <poenitz@gmx.net>
2688 * factory.C: support for eqref
2690 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2692 * messages.[Ch]: add missing char
2694 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2696 * messages.[Ch]: New files
2698 2003-04-18 John Levon <levon@movementarian.org>
2702 * BufferView_pimpl.C:
2706 * text2.C: remove layout-copy/paste (bug 778)
2708 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2710 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2712 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2714 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2715 if they succeed. Act accordingly.
2717 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2719 * text2.C (setCharFont): adjust
2720 (setCounter): adjust
2721 (insertStringAsLines): adjust
2723 * text.C (leftMargin): adjust
2724 (setHeightOfRow): adjust
2726 * rowpainter.C (paintFirst): adjust
2729 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2731 (isFirstInSequence): ditto
2732 (getEndLabel): ditto
2735 * paragraph.C (getParLanguage): comment out some hard stuff.
2737 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2739 (simpleDocBookOnePar): ditto
2740 (makeDocBookFile): use ParagraphList::iterator
2742 * CutAndPaste.C (pasteSelection): adjust
2744 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2746 * text2.C (getFont): adjust
2747 (getLayoutFont): adjust
2748 (getLabelFont): adjust
2750 * paragraph_funcs.C (TeXOnePar): adjust
2752 * buffer.C (simpleLinuxDocOnePar): adjust
2753 (simpleDocBookOnePar): adjust
2755 * CutAndPaste.C (pasteSelection): adjust
2757 * BufferView.C (getEncoding): adjust
2759 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2761 2003-04-16 John Levon <levon@movementarian.org>
2763 * lyxfind.C: use parlist stuff for search/changes
2765 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2767 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2769 * text2.C (deleteEmptyParagraphMechanism): adjust
2771 * text2.[Ch] (ownerParagraph): delete func (both of them
2773 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2775 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2777 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2779 * ParagraphList.C: prepare for NO_NEXT
2781 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2783 * text2.C (getFont): adjust
2784 (getLayoutFont): adjust
2785 (getLabelFont): adjust
2787 * paragraph.C (getFont): adjust
2788 (getLabelFont): adjust
2789 (getLayoutFont): adjust
2791 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2793 2003-04-15 John Levon <levon@movementarian.org>
2797 * lyx_main.C: handle Include in .ui files
2799 2003-04-15 John Levon <levon@movementarian.org>
2801 * MenuBackend.C: make the doc files length shorter
2804 * ToolbarBackend.C: handle toolbar placement flags,
2807 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2809 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2812 * paragraph_funcs.C (TeXOnePar): adjust
2814 * paragraph.C (getLabelFont): add outerfont arg, adjust
2815 (getLayoutFont): ditto
2816 (simpleTeXOnePar): adjust
2818 * paragraph_pimpl.C (realizeFont): delete func
2820 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2822 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2823 row argument, constify cur argument.
2825 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2827 * text2.C (getFont): adjust
2828 (getLayoutFont): adjust
2829 (getLabelFont): adjust
2831 * paragraph_funcs.C (TeXOnePar): adjust
2832 (outerFont): new func...
2833 (realizeFont): ...moved out from here, changed this to facilitate
2836 * paragraph.C (getFont): take outerfont as arg, adjust
2837 (simpleTeXOnePar): add outerfont arg, adjust
2839 * buffer.C (simpleLinuxDocOnePar): adjust
2840 (simpleDocBookOnePar): adjust
2842 * CutAndPaste.C (pasteSelection): adjust
2844 * BufferView.C (getEncoding): adjust
2846 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2848 * text2.C (setCharFont): adjust
2849 (setCounter): adjust
2851 * text.C (leftMargin): adjust
2852 (setHeightOfRow): adjust
2854 * rowpainter.C (paintFirst): adjust
2857 * paragraph_pimpl.C (realizeFont): adjust
2859 * paragraph.C (isFirstInSequence): move from here...
2860 * paragraph_funcs.C (isFirstInSequence): ...to here
2862 * paragraph.C (outerHook): move from here...
2863 * paragraph_funcs.C (outerHook): ...to here
2865 * paragraph.C (depthHook): move from here...
2866 * paragraph_funcs.C (depthHook): ...to here
2868 * paragraph.C (getEndLabel): move from here...
2869 * paragraph_funcs.C (getEndLabel): ...to here
2871 * text2.C (realizeFont): move from here...
2872 * paragraph_funcs.C (realizeFont): ...to here
2874 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2876 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2878 2003-04-14 Angus Leeming <leeming@lyx.org>
2880 * LColor.[Ch]: scrap LColor mathcursor.
2882 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * lyxlex.[Ch] (text): delete function
2885 * trans.C (Load): adjust
2886 * paragraph_funcs.C (readParToken): adjust
2888 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2890 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2891 vector<char> instead of a char[].
2893 * lyxlex_pimpl.C (getString): adjust
2895 (lex): use getString
2899 * lyxlex.C (text): use pimpl_->getString()
2903 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2905 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2906 (makeFontEntriesLayoutSpecific): temp var for par.size()
2907 (setLayout): temp var for ownerParagraphs().end()
2908 (fullRebreak): temp var for rows().end()
2909 (selectionAsString): temp var for boost::next(startpit), realize
2910 that the while really is a regular for loop.
2911 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2912 setCursor in one place.
2913 (setParagraph): temp vr for ownerParagraphs().end()
2914 (updateCounters): make the while loop a for loop
2915 (cutSelection): temp var for ownerParagraphs().end()
2916 (updateInset): make the do {} while() a regular for loop
2917 (getCursorX): use temp vars
2918 (setCurrentFont): use temp vars
2919 (getColumnNearX): use temp vars
2921 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2923 * text.C (transformChar): use temp var for getChar
2924 (computeBidiTables): use temp var for row->par()
2925 (fill): move temp vars for row->par() and pit->layout() earlier in
2927 (labelFill): use temp var for row->par()
2928 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2929 asc and desc, realize that pit never changes and that firstpit is
2930 just a duplicate and not needed. Exchange rit->par() with pit in a
2932 (breakAgain): use a temp var for boost::next(rit)
2933 (breakAgainOneRow): ditto
2934 (breakParagraph): use a temp var for rows().begin()
2935 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2936 (cursorRightOneWord): use temp var for cursor.par() and
2937 cursor.pos(), remove usage of tmpcursor.
2938 (cursorLeftOneWord): use temp var for cursor.par() and
2939 cursor.pos() only set cur at end of function.
2941 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2943 * text.C, text2.C: exchange all usage of Paragraph::next with
2944 boost::next(ParagraphList::iterator)
2946 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2948 * text2.C (cursorTop): simplify implementation
2949 (cursorBottom): ditto
2950 (setParagraph): use ParagraphList::iterator
2951 (setCurrentFont): adjust
2952 (getColumnNearX): adjust
2953 (cursorRight): adjust
2954 (cursorLeft): remove usage of Paragraph::previous
2955 (cursorUpParagraph): ditto
2956 (deleteEmptyParagraphMechanism): slight cleanup
2958 * text.C (isBoundary): take a Paragraph const & instead of a
2960 (addressBreakPoint): ditto
2961 (leftMargin): remove usage of Paragraph::previous.
2962 (setHeightOfRow): ditto
2963 (cursorLeftOneWord): ditto
2964 (selectNextWordToSpellcheck): ditto
2967 (breakParagraph): remove one usage of Paragraph::next
2968 (redoParagraph): ditto
2969 (acceptChange): ditto
2970 (insertChar): adjust
2971 (rowBreakPoint): adjust
2973 * bufferview_funcs.C (toggleAndShow): adjust
2975 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2977 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2978 methods to access it.
2980 * text.C: Added updateRowPositions to compute all row positions.
2981 Make top_y and getRowNearY() to use the cached y position
2983 2003-04-11 John Levon <levon@movementarian.org>
2985 * text.C (rowBreakPoint): reintroduce the labelEnd
2986 checks, code copied from the row fill stuff. Deep voodoo.
2988 * text.C (fill): add a comment and debugging for the
2991 2003-04-11 John Levon <levon@movementarian.org>
2993 * text.C: make sure fullrow insets get wrapped to the next line,
2994 even when they're in a manual label
2996 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2998 * text2.C (insertParagraph): make it take ParagraphList::iterator
3000 (setLayout): make it return ParagraphList::iterator
3001 (redoParagraphs): ditto
3003 (checkParagraph): ditto
3005 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3007 * text2.C: adjust several funcs.
3008 (realizeFont): take a ParagraphList::iterator as arg.
3009 (getLayoutFont): ditto
3010 (getLabelFont): ditto
3011 (setCharFont): ditto
3013 * text.C: adjust several funcs.
3015 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3017 * text.C (selectNextWordToSpellcheck): don't accidentally
3020 2003-04-10 John Levon <levon@movementarian.org>
3022 * ToolbarBackend.C (getIcon): special handling for
3025 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3027 * text2.C (cursorRight): a getChar assert fixed
3029 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3031 * text2.C (getFont): change to take a ParagraphList::iterator
3032 instead of Paragraph*
3033 Adjust several functions.
3035 * text.C (transformChar): change to take a ParagraphList::iterator
3036 instead of Paragraph*
3037 (singleWidth): ditto
3038 Adjust several functions.
3040 * rowpainter.C: adjust several functions
3041 * rowpainter.h:store a ParagraphList::iterator and not a
3045 2003-04-09 John Levon <levon@movementarian.org>
3050 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3051 and the "help" bits as well
3053 2003-04-09 John Levon <levon@movementarian.org>
3056 * ToolbarBackend.C: allow multiple toolbars
3058 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3060 * undo_funcs.C (setCursorParUndo): adjust
3062 * text_funcs.C (transposeChars): adjust
3064 * text3.C (gotoNextInset): adjust
3067 * text2.C (setLayout): adjust
3068 (changeDepth): adjust
3070 (redoParagraphs): adjust
3071 (selectionAsString): adjust
3072 (setParagraph): adjust
3073 (insertInset): adjust
3074 (cutSelection): adjust
3075 (copySelection): adjust
3076 (pasteSelection): adjust
3077 (insertStringAsLines): adjust
3078 (updateInset): adjust
3079 (setCursor): change to take a ParagraphList::iterator parameter
3080 (setCursorIntern): change to take a ParagraphList::iterator parameter
3081 (setCurrentFont): adjust
3082 (cursorLeft): adjust
3083 (cursorRight): adjust
3084 (deleteEmptyParagraphMechanism): adjust
3086 * text.C (breakParagraph): adjust
3087 (insertChar): adjust
3088 (acceptChange): adjust
3089 (rejectChange): adjust
3090 (selectNextWordToSpellcheck): adjust
3091 (changeCase): adjust
3095 * lyxfind.C (SearchForward): adjust
3096 (SearchBackward): adjust
3097 (nextChange): adjust
3099 * lyxcursor.C (par): adjust
3101 * lyxcursor.h: store a ParagraphList::iterator instead of a
3104 * lyx_cb.C (getPossibleLabel): adjust
3106 * bufferview_funcs.C (toggleAndShow): adjust
3108 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3111 * BufferView.C (removeAutoInsets): adjust
3112 (lockedInsetStoreUndo): adjust
3114 2003-04-09 John Levon <levon@movementarian.org>
3116 * ToolbarBackend.C: try icon without argument
3117 if with argument fails
3119 2003-04-08 John Levon <levon@movementarian.org>
3122 * ToolbarBackend.C: add getIcon(), handle tooltip,
3123 and change from "Icon" to "Item".
3125 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3127 * BufferView.C (lockInset): another bad getchar crunched
3129 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3131 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3134 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3136 * lyxfind.C (searchForward, searchBackwards): bug 782
3138 2003-04-07 John Levon <levon@movementarian.org>
3140 * paragraph.C: remove dead comment
3142 * text.C: remove troublesome depth-fiddling code
3143 in leftMargin() and rightMargin() (bug 1017)
3145 * text.C: fix breaking of rows in nested lists
3148 * text2.C (updateCounters): fix up depth values
3151 2003-04-07 John Levon <levon@movementarian.org>
3153 * BufferView_pimpl.C: clear message when doc finishes resizing,
3154 and after a mouse event
3156 * lyxfunc.C: clear message after exiting inset
3158 2003-04-07 John Levon <levon@movementarian.org>
3160 * bufferview_funcs.C: show math status not outside
3161 status in the statusbar
3163 2003-04-07 John Levon <levon@movementarian.org>
3165 * lyxfunc.C: note status changed after a depth change
3167 2003-04-04 Angus Leeming <leeming@lyx.org>
3169 * LaTeX.h: move AuxInfo operator==, != out of line.
3170 Remove LaTeX virtual destructor; nothing derives from it.
3171 Move operator()() out of public area and rename it startscript().
3172 Change protected for private.
3174 2003-04-04 Angus Leeming <leeming@lyx.org>
3177 * text2.C: remove unneeded #includes.
3179 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3181 * text2.C (dEPM): fix the heigth of the next row
3183 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3185 * text.C: squashed an invalid getChar requester + some ws changes
3187 2003-04-03 John Levon <levon@movementarian.org>
3189 * bufferview_funcs.h:
3190 * bufferview_funcs.C:
3193 * text2.C: make getStatus work for the env depth lfuns
3195 2003-04-03 John Levon <levon@movementarian.org>
3197 * bufferview_funcs.h:
3198 * bufferview_funcs.C:
3201 * text2.C: parlistize decDepth(), by merging it with incDepth()
3203 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3205 * lyxrow.h: store a ParagraphList::iterator instead of a
3206 Paragraph* and adjust other class functions to suit.
3208 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3211 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3213 * text2.C (setCursor): do not anchor to cursor row for the time being
3215 2003-04-02 John Levon <levon@movementarian.org>
3222 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3224 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3226 * paragraph.h: make ParagraphList and ParagraphList::iterator
3227 friends of Paragraph.
3229 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3231 * ParagraphList.C: Use the private next_ and previous_ from
3234 2003-04-01 John Levon <levon@movementarian.org>
3238 * Makefile.am: rename, remove defaults gunk
3241 * MenuBackend.C: remove defaults gunk
3244 * Languages.C: remove defaults gunk
3247 * lyx_main.C: error out if files couldn't be found.
3249 2003-04-02 John Levon <levon@movementarian.org>
3251 * text2.C: make incDepth() use parlist
3253 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3255 * undo_funcs.C (firstUndoParagraph): adjust
3257 * text3.C (gotoInset): adjust
3258 (dispatch): adjust, and rewrite loop.
3260 * text2.C (init): adjust, and rewrite loop.
3261 (redoParagraphs): adjust
3262 (updateInset): adjust, and rewrite loop.
3263 (deleteEmptyParagraphMechanism): adjust
3265 * tabular.C (LyXTabular): adjust
3266 (SetMultiColumn): adjust
3269 * lyxtext.[Ch] (ownerParagraph): delete function
3270 (ownerParagraphs): new function returns a ParagraphList.
3272 * BufferView.C (removeAutoInsets): adjust
3273 (insertErrors): adjust
3274 (setCursorFromRow): adjust
3276 2003-04-01 Angus Leeming <leeming@lyx.org>
3278 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3281 2003-04-02 John Levon <levon@movementarian.org>
3287 * text_funcs.C: make transposeChars a free function
3289 * lyxrow_funcs.C: remove wrong comment
3291 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3294 * rowpainter.C: adjust
3299 * lyxrow_funcs. [Ch]: new files
3301 * lyxrow.[Ch]: remove next and previous pointers
3302 (next,previous): remove accessor functions
3303 (isParEnd): move to lyxrow_funcs
3304 (lastPos): move to lyxrow_funcs
3305 (nextRowIsAllInset): move to lyxrow_funcs
3306 (lastPrintablePos): move to lyxrow_funcs
3307 (numberOfSeparators): move to lyxrow_funcs
3308 (numberOfHfills): move to lyxrow_funcs
3309 (numberOfLabelHfills): move to lyxrow_funcs
3310 (hfillExpansion): move to lyxrow_funcs
3314 * bufferview_funcs.C (toggleAndShow): adjust
3316 * RowList.h: Remove class RowList from file leave just a
3319 * RowList.C: delete file
3321 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3324 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3326 * text3.C (cursorPrevious): adjust
3327 (cursorNext): adjust
3330 * text2.C (redoHeightOfParagraph): adjust
3331 (redoDrawingOfParagraph): adjust
3334 * text.C (breakParagraph): adjust
3335 (insertChar): adjust
3338 * rowpainter.C (RowPainter): adjust
3339 (leftMargin): simplify and adjust
3340 (most rowpainter functions): adjust.
3342 * rowpainter.h: store the row as RowList::iterator not as Row*
3344 * lyxcursor.C (row): taka RowList::iterator as arg
3347 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3350 2003-04-01 Angus Leeming <leeming@lyx.org>
3352 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3353 stuff like bool Bool.
3355 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3357 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3360 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3362 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3365 * lyxtext.h (rows): drop one version and leve a const variant that
3366 returns a RowList::iterator.
3368 2003-03-31 Angus Leeming <leeming@lyx.org>
3370 * text.C (fill): ensure that the signature is the same as that in the
3373 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3375 * text2.C (redoParagraphs): adjust
3376 (updateCounters): adjust
3377 (checkParagraph): adjust
3378 (getColumnNearX): adjust and reformat a bit.
3380 * text.C (top_y): adjust
3382 (leftMargin): adjust
3383 (prepareToPrint): adjust
3385 (getRowNearY): adjust
3387 * lyxtext.h: make rowlist_ mutable.
3389 * RowList.h: add const_iterator
3390 * RowList.C: adjust for RowList::const_iterator.
3392 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3395 2003-03-31 John Levon <levon@movementarian.org>
3398 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3400 * lyx_main.C: set default fonts from using lyx_gui funcs
3402 * exporter.C: pdf_mode moved from lyxrc
3405 * lyxfunc.C: changes from above
3407 2003-03-31 John Levon <levon@movementarian.org>
3409 * lyx_main.C: fix to the last fix
3411 2003-03-31 John Levon <levon@movementarian.org>
3413 * bufferlist.C: "Load original" -> "Load Original"
3419 * format.C: more Alert cleanups
3421 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3423 * text2.C (removeParagraph): make it take a RowList::iterator as
3425 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3426 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3428 * text.C (anchor_row): make it take a RowList::iterator as arg,
3430 (computeBidiTables): make it take a const reference to Row instead
3431 of Row pointer, adjust.
3432 (leftMargin): make it take a RowList::iterator as arg, adjust.
3433 (rowBreakPoint): adjust
3434 (breakAgainOneRow): make it take a RowList::iterator as arg,
3436 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3438 * bufferview_funcs.C (toggleAndShow): adjust
3440 2003-03-30 John Levon <levon@movementarian.org>
3444 * boost-inst.C: moved to support
3446 * several files: changes as a result
3448 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3450 * text2.C (LyXText): adjust.
3452 (removeRow): make it take a RowList::iterator as arg, adjust.
3453 (fullRebreak): adjust
3454 (deleteEmptyParagraphMechanism): adjust
3455 (clearPaint): adjust
3458 * text.C (top_y): adjust
3459 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3460 (breakAgain): make it take a RowList::iterator as arg, adjust.
3461 (breakParagraph): adjust
3462 (insertChar): adjust
3465 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3466 need_break_row, and refresh_row.
3468 * text3.C (dispatch): adjust
3470 * text2.C (checkParagraph): adjust
3472 (setCursorFromCoordinates): adjust
3474 * text.C (top_y): adjust
3476 (getRow): make it return a RowList::iterator, adjust
3477 (getRowNearY): make it return a RowList::iterator, adjust
3479 * text2.C (init): adjust
3480 (insertRow): remove function
3481 (insertParagraph): adjust
3482 (redoParagraphs): adjust
3483 (fullRebreak): adjust
3484 (updateCounters): adjust
3486 * text.C (top_y): rewrite to use RowList iterators.
3488 (setHeightOfRow): rewrite to sue RowList iterators.
3489 (appendParagraph): adjust
3490 (breakAgain): adjust
3491 (breakAgainOneRow): adjust
3492 (breakParagraph): adjust
3494 (getRowNearY): adjust, and remove commented code.
3496 * lyxtext.h (firstRow): delete function
3497 (lastRow): delete function
3498 (rows): new function (const and non-const versions.)
3499 (insertRow): delete function
3501 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3503 2003-03-29 John Levon <levon@movementarian.org>
3505 * BufferView_pimpl.C: always update scrollbar top
3506 because pasting text when we're anchored could mean we
3507 miss an update altogether
3509 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3511 * text2.C (init): use rowlist_.end() and not 0.
3512 (insertRow): change to take a RowList::iterator as arg, adjust
3514 (insertParagraph): change to take a RowList::iterator as arg,
3516 (redoParagraphs): remove some debug msgs.
3518 * text.C (appendParagraph): change to take a RowList::iterator
3519 arg, adjust for this.
3520 (breakAgain): add an assert
3521 (breakAgainOneRow): ditto
3523 2003-03-29 John Levon <levon@movementarian.org>
3525 * text2.C: do not clear selection after inc/decDepth
3528 2003-03-29 John Levon <levon@movementarian.org>
3531 * buffer.C: fix broken strerrors according to Lars
3533 2003-03-29 John Levon <levon@movementarian.org>
3535 * converters.C: more Alert cleanups
3537 2003-03-29 John Levon <levon@movementarian.org>
3539 * bufferview_funcs.C: remove pointless Alert
3541 * buffer.C: fix confusing error message when
3542 a template is chmoded 000
3544 2003-03-29 John Levon <levon@movementarian.org>
3548 * BufferView_pimpl.C: Alert fixes
3552 * tabular-old.C: remove unused table compat reading
3554 2003-03-29 John Levon <levon@movementarian.org>
3559 * lyx_cb.C: more Alert cleanups
3561 * lyxfunc.C: don't allow chktex if not latex document
3563 2003-03-29 John Levon <levon@movementarian.org>
3567 * buffer.C: warnings pushed down from support/,
3570 2003-03-29 John Levon <levon@movementarian.org>
3572 * lyxfunc.C: safety check for C-r (revert)
3574 2003-03-29 John Levon <levon@movementarian.org>
3577 * bufferlist.C: several UI fixes using Alert::prompt.
3578 Fix the pointless looping quit code. Fix stupid revert
3583 * lyx_cb.C: use Alert::prompt
3585 * lyx_main.C: remove a silly question
3587 * lyxfunc.C: remove a couple of silly questions,
3590 2003-03-28 John Levon <levon@movementarian.org>
3592 * text2.C: fix bug 974 (End on empty par)
3594 2003-03-28 John Levon <levon@movementarian.org>
3596 * BufferView_pimpl.C:
3598 * lfuns.h: remove do-nothing math greek lfuns
3600 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3602 * lyxgluelength.h (isValidGlueLength): add default arg on
3603 parameter 2. Remove default arg from friend in class.
3605 * lyxlength.h (isValidLength): add default arg on parameter 2.
3606 Remove default arg from friend in class.
3608 * text2.C (LyXText): adjust, initialize refresh_row.
3612 (insertParagraph): adjst
3613 (redoParagraphs): adjust
3614 (fullRebreak): adjust
3615 (updateCounters): adjust
3616 (deleteEmptyParagraphMechanism): first attempt at fixing a
3619 * text.C (top_y): adjust
3620 (setHeightOfRow): adjust
3622 (getRowNearY): adjust
3624 * lyxtext.h: include RowList.h
3625 (~LyXText): not needed anymore, deleted.
3626 (firstRow): modify for RowList
3627 (lastRow): new function
3628 Delete firstrow and lastrow class variables, add a Rowlist
3629 rowlist_ class variable.
3631 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3634 * RowList.C (insert): fix case where it == begin().
3636 2003-03-26 Angus Leeming <leeming@lyx.org>
3638 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3639 the thesaurus dialog.
3641 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3643 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3645 * RowList.[Ch]: new files
3647 * ParagraphList.C (erase): handle the case where it == begin
3650 2003-03-25 John Levon <levon@movementarian.org>
3654 * aspell.C: add new aspell support
3657 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3660 2003-03-25 Angus Leeming <leeming@lyx.org>
3663 * LyXAction.C (init): new LFUN_INSET_INSERT.
3665 * BufferView_pimpl.C (dispatch): split out part of the
3666 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3668 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3671 2003-03-25 Angus Leeming <leeming@lyx.org>
3673 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3675 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3678 * text3.C: remove useless row->height(0)
3680 2003-03-25 John Levon <levon@movementarian.org>
3684 * text3.C: rename the refreshing stuff to better names
3686 2003-03-24 John Levon <levon@movementarian.org>
3688 * BufferView_pimpl.h:
3689 * BufferView_pimpl.C: update layout choice on a mouse
3692 2003-03-23 John Levon <levon@movementarian.org>
3694 * Makefile.am: fix commandtags.h reference
3696 2003-03-22 John Levon <levon@movementarian.org>
3698 * BufferView_pimpl.C:
3703 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3705 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3708 * text.C: take the rtl methods out of line
3710 2003-03-21 André Pönitz <poenitz@gmx.net>
3712 * metricsinfo.[Ch]: new files containing structures to be passed around
3713 during the two-phase-drawing...
3715 2003-03-21 André Pönitz <poenitz@gmx.net>
3717 * lyxtextclass.C: read 'environment' tag.
3719 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3721 * text2.C (removeRow): fix bug 964
3723 2003-03-20 John Levon <levon@movementarian.org>
3727 * text2.C: paint cleanups. Inset::update() dropped font
3730 2003-03-19 John Levon <levon@movementarian.org>
3732 * lyxfunc.C: only fitcursor/markDirty if available()
3734 2003-03-19 John Levon <levon@movementarian.org>
3736 * commandtags.h: rename to ...
3738 * lfuns.h: ... this, and renumber / cleanup
3740 2003-03-19 John Levon <levon@movementarian.org>
3742 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3743 fit the cursor after an lfun
3747 * BufferView_pimpl.h:
3748 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3750 * LyXAction.C: layout-character should have ReadOnly
3752 * ParagraphParameters.C:
3754 * bufferview_funcs.C:
3761 * undo_funcs.C: changes from above
3763 2003-03-18 John Levon <levon@movementarian.org>
3765 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3766 remove it from update()
3768 * lyxfunc.C: update layout choice after an lfun
3770 * text3.C: remove extra updateLayoutChoice()s
3772 2003-03-18 John Levon <levon@movementarian.org>
3774 * text.C: top_y change means full repaint, fix
3775 a drawing bug with cursor movement
3777 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3781 * text2.C: anchor row on setCursor
3783 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3785 * lyxtext.h: remove almost all mutable keywords
3788 * text3.C: remove const keywords accordingly
3790 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3792 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3794 (TeXEnvironment): ditto
3797 2003-03-17 John Levon <levon@movementarian.org>
3799 * text.C (rowBreakPoint): remove attempt to fix displayed
3800 math insets inside a manual label
3802 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3804 * lyxtext.h: remove BufferView* as first arg from almost all class
3806 * other files: adjust.
3808 2003-03-17 John Levon <levon@movementarian.org>
3812 * text2.C: more paint cleanups
3814 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3817 * rowpainter.C: remove "smart" background painting code
3819 2003-03-16 John Levon <levon@movementarian.org>
3824 * text3.C: add helper functions for setting refresh_row/y
3826 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3828 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3829 newline inset which *can* get inserted in the pass_thru layouts.
3830 This is primarily for literate documents.
3832 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3834 * buffer.C: increment LYX_FORMAT to 223
3836 2003-03-14 André Pönitz <poenitz@gmx.net>
3838 * textclass.h: prepare for environment handling, ws changes
3839 * lyxlayout.C: read latexheader and latexfooter tags
3841 2003-03-14 John Levon <levon@movementarian.org>
3843 * text2.C: rewrite ::status() a bit
3845 2003-03-13 John Levon <levon@movementarian.org>
3847 * lyxtext.h: add some docs
3849 2003-03-13 John Levon <levon@movementarian.org>
3854 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3856 2003-03-13 John Levon <levon@movementarian.org>
3858 * text3.C: fix appendix redrawing
3860 2003-03-13 John Levon <levon@movementarian.org>
3862 * text.C (setHeightOfRow):
3864 * rowpainter.C: make appendix mark have the text
3865 "Appendix" so the user knows what it is
3868 * LColor.C: s/appendixline/appendix/ from above
3870 2003-03-13 John Levon <levon@movementarian.org>
3872 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3874 * text.C: fix a getChar(pos) bug properly
3876 2003-03-13 Angus Leeming <leeming@lyx.org>
3879 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3880 Probably only temporary. Let's see how things pan out.
3882 * BufferView.C (unlockInset):
3883 * BufferView_pimpl.C (fitCursor):
3884 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3886 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3887 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3889 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3890 new functions that convert ParagraphParameters to and from a string.
3892 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3893 BufferView::Pimpl's dispatch.
3894 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3896 2003-03-13 André Pönitz <poenitz@gmx.net>
3900 * factory.C: make it aware of InsetEnv
3902 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3904 * text2.C (setCursor): never ask for one past last
3905 (setCursor): add some debugging messages.
3907 * text.C (singleWidth): never ask for one past last
3908 (singleWidth): ditto
3910 (rightMargin): ditto
3911 (rowBreakPoint): ditto
3912 (setHeightOfRow): ditto
3913 (prepareToPrint): ditto
3915 * rowpainter.C (paintBackground): never ask for one past last
3916 (paintText): never ask for one past last
3918 * paragraph_pimpl.C (getChar): make the assert stricter, never
3919 allow the one past last pos to be taken
3921 * paragraph.C (getChar): ws changes only
3923 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3924 (numberOfSeparators): ditto
3925 (numberOfHfills): ditto
3927 2003-03-12 John Levon <levon@movementarian.org>
3933 * paragraph_funcs.C: fix per-buffer authorlists
3935 2003-03-12 John Levon <levon@movementarian.org>
3937 * text.C: fix newline in right address
3939 2003-03-12 Angus Leeming <leeming@lyx.org>
3941 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3942 duplicate those in LyXFunc::dispatch.
3946 * ToolbarDefaults.C:
3947 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3948 Add LFUN_FONTFREE_UPDATE.
3950 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3951 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3953 * bufferview_func.[Ch]: several new functions to facilliate
3954 transfer of data to and from the character dialog.
3956 2003-03-12 John Levon <levon@movementarian.org>
3961 * paragraph_funcs.C:
3962 * paragraph_pimpl.C:
3966 * text3.C: remove META_NEWLINE in favour of an inset
3969 * rowpainter.C: remove paintNewline (done by inset)
3971 2003-03-12 John Levon <levon@movementarian.org>
3973 * paragraph_pimpl.C: complain about bad getChar()s
3974 for a while at least
3976 2003-03-12 John Levon <levon@movementarian.org>
3979 * buffer.C: move paragraph read into a separate function,
3980 a little renaming to reflect that.
3983 * bufferparams.C: remove the author_ids map, not necessary now
3986 * factory.C: moved Buffer::readInset to here
3988 * paragraph_funcs.h:
3989 * paragraph_funcs.C: readParagraph free function moved from
3992 * tabular.C: name change
3994 2003-03-12 John Levon <levon@movementarian.org>
3997 * ParagraphParameters.C: move par params input to
4000 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4001 behave like a normal read from the stream wrt reading
4002 a line vs. a \\token
4004 2003-03-12 John Levon <levon@movementarian.org>
4007 * ParagraphParameters.h:
4008 * ParagraphParameters.C: move output code to a
4011 2003-03-12 John Levon <levon@movementarian.org>
4013 * BufferView.C (insertLyXFile):
4016 * tabular.C: use a parlist iterator for creating the
4019 2003-03-12 John Levon <levon@movementarian.org>
4021 * buffer.C: make current_change static local not
4024 2003-03-12 John Levon <levon@movementarian.org>
4026 * buffer.C: fix insertStringAsLines for change tracking
4028 2003-03-12 John Levon <levon@movementarian.org>
4035 * bufferparams.C: move author list into params. Rename some
4036 functions. Move the header reading into a separate token
4037 loop. Move the header token reading into BufferParams.
4039 2003-03-12 John Levon <levon@movementarian.org>
4041 * changes.C: put debug inside lyxerr.debugging() checks
4043 2003-03-11 André Pönitz <poenitz@gmx.net>
4045 * factory.C: make it aware of InsetHFill
4047 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4049 * buffer.C (latexParagraphs): move function from here...
4050 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4053 2003-03-10 Angus Leeming <leeming@lyx.org>
4055 * LyXAction.C (init): fix bug in poplating array with multiple entries
4056 with the same LFUN (spotted by JMarc).
4058 2003-03-10 John Levon <levon@movementarian.org>
4061 * text2.C: move getColumnNearX() near its
4064 2003-03-10 John Levon <levon@movementarian.org>
4066 * text.C: fix break before a minipage
4068 2003-03-10 John Levon <levon@movementarian.org>
4070 * text.C: fix the last commit
4072 2003-03-09 John Levon <levon@movementarian.org>
4076 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4077 bug 365 (don't break before insets unless needed). Don't
4078 return a value > last under any circumstances.
4080 2003-03-09 Angus Leeming <leeming@lyx.org>
4082 * BufferView_pimpl.C (trackChanges, dispatch): call
4083 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4085 2003-03-09 Angus Leeming <leeming@lyx.org>
4087 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4088 than Dialogs::showAboutlyx().
4090 2003-03-09 Angus Leeming <leeming@lyx.org>
4092 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4093 than Dialogs::showTabularCreate().
4095 2003-03-09 John Levon <levon@movementarian.org>
4099 * text2.C: 3rd arg to nextBreakPoint was always the same.
4102 2003-03-08 John Levon <levon@movementarian.org>
4109 * text2.C: Remove the "main" bit from the "main body"
4112 2003-03-08 John Levon <levon@movementarian.org>
4114 * text.C (leftMargin): The left margin of an empty
4115 manual label paragraph should not include the label width
4118 * text.C (prepareToPrint): don't attempt to measure hfills
4119 for empty manual label paragraphs - the answer should be 0
4121 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * CutAndPaste.C: remove commented code and reindent.
4125 2003-03-08 John Levon <levon@movementarian.org>
4128 * lyxfunc.C: move reloadBuffer()
4131 * BufferView.C: to here
4133 * lyxvc.C: add comment
4136 * vc-backend.C: call bv->reload() to avoid
4137 getStatus() check on MENURELOAD
4139 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4141 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4142 to an old format .dep file.
4144 2003-03-07 Angus Leeming <leeming@lyx.org>
4146 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4147 when the LFUN_MOUSE_RELEASE should have been handled by
4148 inset->localDispatch.
4150 2003-03-07 Angus Leeming <leeming@lyx.org>
4152 * BufferView_pimpl.C (dispatch):
4153 * LyXAction.C (init):
4154 * ToolbarDefaults.C (init):
4156 * lyxfunc.C (getStatus):
4157 remove LFUN_INSET_GRAPHICS.
4159 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4161 2003-03-07 Angus Leeming <leeming@lyx.org>
4164 * LyXAction.C (init):
4165 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4167 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4170 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4172 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4173 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4175 2003-03-07 Angus Leeming <leeming@lyx.org>
4177 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4180 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4182 * ParagraphList.C (front): new function
4185 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4187 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4188 and top_row_offset_. removed var first_y.
4190 * text2.C (LyXText, removeRow):
4192 * BufferView_pimpl.C:
4193 use these methods instead of using first_y
4195 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4197 * text2.C (pasteSelection): adjust for checkPastePossible
4199 * CutAndPaste.C: remove Paragraph * buf and replace with
4200 ParagraphList paragraphs.
4201 (DeleteBuffer): delete
4202 (cutSelection): change the tc type to textclass_type
4203 (copySelection): change the tc type to textclass_type
4204 (copySelection): adjust for ParagraphList
4205 (pasteSelection): change the tc type to textclass_type
4206 (pasteSelection): adjust for Paragraphlist
4207 (nrOfParagraphs): simplify for ParagraphList
4208 (checkPastePossible): simplify for ParagraphList
4209 (checkPastePossible): remove unused arg
4211 * ParagraphList.C (insert): handle the case where there are no
4214 * CutAndPaste.h: make CutAndPaste a namespace.
4216 * text3.C (dispatch): adjust
4218 * text.C (breakParagraph): add a ParagraphList as arg
4220 * paragraph_funcs.C (breakParagraph): change to take a
4221 BufferParams and a ParagraphList as args.
4222 (breakParagraphConservative): ditto
4223 (mergeParagraph): ditto
4224 (TeXDeeper): add a ParagraphList arg
4225 (TeXEnvironment): ditto
4228 * buffer.C (readLyXformat2): adjust
4229 (insertStringAsLines): adjust
4230 (latexParagraphs): adjust
4232 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4233 (cutSelection): adjust
4234 (pasteSelection): adjust
4236 * BufferView_pimpl.C (insertInset): adjust
4238 2003-03-05 Angus Leeming <leeming@lyx.org>
4241 * LyXAction.C (init):
4242 * BufferView_pimpl.C (dispatch):
4243 * lyxfunc.C (getStatus):
4244 remove LFUN_CHILD_INSERT.
4246 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4248 2003-03-05 Angus Leeming <leeming@lyx.org>
4251 * LyXAction.C (init):
4252 * src/factory.C (createInset):
4253 * lyxfunc.C (getStatus):
4254 * text3.C (dispatch):
4255 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4257 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4259 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4261 * ParagraphList.C (insert): handle insert right before end()
4262 (erase): fix cases where it can be first or last paragraph.
4264 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4266 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4267 Paragraph::next and Paragraph::previous
4270 * text.C (breakParagraph): adjust
4272 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4273 BufferParams& as arg.
4274 (breakParagraph): use ParagraphList::insert
4275 (breakParagraphConservative): take a Buffer* instead of a
4276 BufferParams& as arg.
4277 (breakParagraphConservative): use ParagraphList::insert.
4279 * buffer.C (insertStringAsLines): un-const it
4280 (insertStringAsLines): adjust
4282 * ParagraphList.C (insert): new function
4284 * CutAndPaste.C (pasteSelection): adjust
4286 * text.C (backspace): adjust
4288 * tabular.C (SetMultiColumn): adjust
4290 * CutAndPaste.C (cutSelection): adjust
4291 (pasteSelection): adjust
4293 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4294 Buffer const * as arg
4296 * ParagraphList.C (erase): new function
4297 * paragraph_funcs.C (mergeParagraph): use it
4298 (mergeParagraph): make it take a Buffer* instead of a
4299 BufferParams* as arg
4301 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4303 (breakParagraphConservative): ditto
4305 * paragraph.h: remove the breakParagraph friend
4307 * paragraph.C (eraseIntern): new function
4308 (setChange): new function
4310 * paragraph_funcs.C (mergeParagraph): make it take a
4311 ParagraphList::iterator instead of a Paragraph *, adjust
4314 * paragraph.h: move an #endif so that the change tracking stuff
4315 also works in the NO_NEXT case.
4317 2003-03-04 Angus Leeming <leeming@lyx.org>
4320 * LyXAction.C: new LFUN_INSET_MODIFY.
4322 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4323 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4325 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * several files: ws changes only
4329 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4330 (TeXEnvironment): ditto
4333 * buffer.C (makeLaTeXFile): adjust
4334 (latexParagraphs): make it take ParagraphList::iterator as args
4336 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * buffer.C (latexParagraphs): adjust
4340 * paragraph.C (TeXOnePar): move function...
4341 (optArgInset): move function...
4342 (TeXEnvironment): move function...
4343 * paragraph_pimpl.C (TeXDeeper): move function...
4344 * paragraph_funcs.C: ...here
4346 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4348 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4350 * buffer.C (readInset): remove compability code for old Figure and
4353 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * buffer.C: ws changes
4358 * BufferView_pimpl.C: ditto
4361 * bufferlist.h: ditto
4365 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4367 * converter.[Ch]: split into itself +
4370 * Makefile.am: += graph.[Ch] + format.[Ch]
4377 * lyxrc.C: added #include "format.h"
4379 2003-02-27 Angus Leeming <leeming@lyx.org>
4381 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4384 * factory.C (createInset): add "label" to the factory.
4386 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4387 string and do no more.
4389 2003-02-27 Angus Leeming <leeming@lyx.org>
4392 * LyXAction.C (init):
4393 * factory.C (createInset):
4394 * BufferView_pimpl.C (dispatch):
4395 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4397 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4399 * lyxfunc.C (dispatch):
4400 * text3.C (dispatch): pass name to params2string.
4402 2003-02-26 Angus Leeming <leeming@lyx.org>
4404 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4406 Rearrange the ~includes. Strip out the unnecessary ones.
4408 * factory.C (createInset): reformat.
4409 create new insets for the various LFUN_XYZ_APPLY lfuns.
4411 2003-02-26 John Levon <levon@movementarian.org>
4414 * lyxrow.C: add isParStart,isParEnd helpers
4416 * paragraph.h: make isInserted/DeletedText take refs
4418 * paragraph_funcs.h:
4419 * paragraph_funcs.C: remove #if 0'd code
4424 * text.C: use lyxrow helpers above.
4425 Move draw and paint routines to RowPainter.
4426 Make several methods use refs not pointers.
4427 Make backgroundColor() const.
4428 Add markChangeInDraw(), isInInset().
4429 Merge changeRegionCase into changeCase.
4430 Make workWidth() shouldn't-happen code into an Assert.
4433 * rowpainter.C: new class for painting a row.
4436 * vspace.C: make inPixels take a ref
4438 2003-02-26 Angus Leeming <leeming@lyx.org>
4440 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4443 2003-02-25 John Levon <levon@movementarian.org>
4445 * ispell.C: give the forked command a more accurate name
4447 2003-02-22 John Levon <levon@movementarian.org>
4450 * toc.C: make TocItem store an id not a Paragraph *
4453 2003-02-21 Angus Leeming <leeming@lyx.org>
4455 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4456 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4457 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4458 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4459 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4460 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4462 * BufferView_pimpl.C (dispatch):
4463 * LyXAction.C (init):
4464 * factory.C (createInset):
4465 * lyxfunc.C (getStatus, dispatch):
4466 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4468 2003-02-21 Angus Leeming <leeming@lyx.org>
4470 * BufferView_pimpl.C (MenuInsertLyXFile):
4471 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4472 * lyxfunc.C (menuNew, open, doImport):
4473 no longer pass a LyXView & to fileDlg.
4475 2003-02-21 Angus Leeming <leeming@lyx.org>
4477 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4478 * LyXAction.C: change, BIBKEY to BIBITEM.
4479 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4480 Change InsetBibKey to InsetBibitem.
4481 Change BIBKEY_CODE to BIBITEM_CODE.
4482 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4483 * factory.C: replace insetbib.h with insetbibitem.h.
4484 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4485 * paragraph.C: replace insetbib.h with insetbibitem.h.
4486 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4487 Change bibkey() to bibitem().
4488 * text.C: remove insetbib.h.
4489 * text2.C: replace insetbib.h with insetbibitem.h.
4490 change bibkey() to bibitem().
4491 * text3.C: remove insetbib.h.
4492 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4494 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4496 * lyxrc.C (output): enclose user email in quotes (in case there are
4499 2003-02-18 John Levon <levon@movementarian.org>
4501 * buffer.h: add std::
4503 2003-02-17 John Levon <levon@movementarian.org>
4509 * pspell.C: reworking. Especially in ispell, a large
4510 number of clean ups and bug fixes.
4512 * lyxfunc.C: fix revert to behave sensibly
4514 2003-02-17 André Pönitz <poenitz@gmx.net>
4517 * commandtags.h: new LFUN_INSERT_BIBKEY
4527 * paragraph_func.C: remove special bibkey handling
4529 2003-02-17 John Levon <levon@movementarian.org>
4531 * text.C (Delete): fix case where delete at the end of
4532 the very first paragraph would not merge the pars
4534 2003-02-17 John Levon <levon@movementarian.org>
4536 * lyxrow.C: fix lastPrintablePos()
4538 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4540 * bufferparams.C (writeLaTeX): add a std:here
4542 * buffer.C: and remove a using directive there
4544 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4546 * buffer.C (makeLaTeXFile): move the code that generates the
4549 * bufferparams.C (writeLaTeX): ... in this new method
4551 * LaTeXFeatures.C (getEncodingSet): make const
4552 (getLanguages): make const
4554 * MenuBackend.C (binding): returns the binding associated to this
4556 (add): sets the status of each item by calling getStatus. Adds
4558 (read): add support for OptSubMenu
4559 (expand): remove extra separator at the end of expanded menu
4561 2003-02-15 John Levon <levon@movementarian.org>
4564 * BufferView_pimpl.C:
4566 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4567 inset code that had no actual effect. Remove unneeded status
4570 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4572 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4575 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4577 * text.C (drawLengthMarker): also draw an arrow marker for
4578 symbolic lengths (medskip...)
4580 2003-02-14 John Levon <levon@movementarian.org>
4583 * tabular.C: better method names
4585 2003-02-14 John Levon <levon@movementarian.org>
4587 * BufferView_pimpl.C:
4592 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4593 it's a more accurate name. Remove some pointless uses.
4595 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4597 * text2.C (LyXText): change order of initilizers to shut off
4600 2003-02-14 John Levon <levon@movementarian.org>
4602 * buffer.C: use ParIterator for getParFromID()
4606 * paragraph_pimpl.h:
4607 * paragraph_pimpl.C: remove unused getParFromID()
4609 2003-02-14 John Levon <levon@movementarian.org>
4611 * buffer.C: remove some very old #if 0'd parse code
4613 2003-02-13 John Levon <levon@movementarian.org>
4617 * text2.C: move hfillExpansion(), numberOfSeparators(),
4618 rowLast(), rowLastPrintable(), numberofHfills(),
4619 numberOfLabelHfills() ...
4622 * lyxrow.C: ... to member functions here.
4627 * text.C: remove LyXText::beginningOfMainBody(), and call
4628 p->beginningOfMainBody() directly. Move the check for
4629 LABEL_MANUAL into the latter.
4636 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4642 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4643 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4645 2003-02-13 John Levon <levon@movementarian.org>
4647 * CutAndPaste.C: remove debug
4649 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4651 * paragraph.C (asString): remove two unused variables
4653 * lyxtextclass.C (readTitleType):
4655 (LyXTextClass): handle new members titletype_ and titlename_
4657 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4659 2003-02-09 John Levon <levon@movementarian.org>
4662 * buffer.C: replace hand-coded list with a map for the dep clean
4664 2003-02-08 John Levon <levon@movementarian.org>
4666 * LaTeX.C: consolidate code into showRunMessage() helper
4668 2003-02-08 John Levon <levon@movementarian.org>
4673 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4674 and pass the size in explicitly
4676 * BufferView_pimpl.h:
4677 * BufferView_pimpl.C:
4679 * BufferView.C: add getCurrentChange()
4681 * BufferView_pimpl.h:
4682 * BufferView_pimpl.C: handle change lfuns
4684 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4685 for changes. Mark pasted paragraphs as new.
4687 * support/lyxtime.h:
4688 * support/lyxtime.C:
4689 * DepTable.C: abstract time_t as lyx::time_type
4692 * LColor.C: add colours for new text, deleted text, changebars
4694 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4695 package use "usenames" option.
4699 * LyXAction.C: add change lfuns
4703 * author.C: author handling
4706 * buffer.C: add a per-buffer author list, with first entry as
4707 current author. Handle new .lyx tokens for change tracking. Output
4708 author list to .lyx file. Output dvipost stuff to .tex preamble.
4709 Bump lyx format to 222.
4712 * bufferlist.C: add setCurrentAuthor() to reset current author details
4716 * bufferparams.C: add param for tracking
4718 * bufferview_funcs.C: output change info in minibuffer
4722 * changes.C: add change-tracking structure
4725 * debug.C: add CHANGES debug flag
4728 * lyxfind.C: add code for finding the next change piece
4731 * lyxrc.C: add user_name and user_email
4734 * lyxrow.C: add a metric for the top of the text line
4737 * text.C: implement accept/rejectChange()
4740 * text.C: paint changebars. Paint new/deleted text in the chosen
4741 colours. Strike through deleted text.
4745 * paragraph_pimpl.h:
4746 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4747 in the current change to the insert functions. Rework erase to
4748 mark text as deleted, adding an eraseIntern() and a range-based
4749 erase(). Implement per-paragraph change lookup and
4752 * paragraph_funcs.C: Fixup paste for change tracking.
4754 * tabular.C: mark added row/columns as new.
4756 * text.C: fix rowLast() to never return -1. Don't allow
4757 spellchecking of deleted text. Track transpose changes. Don't
4758 allow paragraph break or merge where appropriate.
4760 * text2.C: leave cursor at end of selection after a cut.
4762 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4764 * text.C (getLengthMarkerHeight):
4765 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4766 visible on screen too.
4768 2003-02-07 John Levon <levon@movementarian.org>
4770 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4772 2003-02-05 Angus Leeming <leeming@lyx.org>
4774 * lyxserver.C (read_ready): revert my patch of 11 September last year
4775 as it sends PC cpu through the roof. Presumably this means that
4776 the lyxserver will no longer run on an Alpha...
4778 2003-01-30 Angus Leeming <leeming@lyx.org>
4780 * factory.C (createInset): create an InsetCommandParam of type "index"
4781 and use it to 'do the right thing'.
4783 * text2.C (getStringToIndex): ensure that cursor position is always
4784 reset to the reset_cursor position.
4786 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4788 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4791 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4795 * lyxfunc.C: Output messages with identical spelling, punctuation,
4798 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4800 * MenuBackend.C (expandFormats): List only viewable export formats
4803 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4806 * lyxfunc.C (getStatus): Make sure that formats other than
4807 "fax" can also be disabled
4809 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4811 * text3.C (dispatch): put the lfuns that insert insets in 3
4812 groups, and call doInsertInset with appropriate arguments.
4813 (doInsertInset): new function, that creates an inset and inserts
4814 it according to some boolean parameters.
4816 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4818 * buffer.C (readFile): remember to pass on 'par' when calling
4819 readFile recursively.
4821 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4823 * MenuBackend.C (expandFormats): add "..." to import formats.
4825 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4827 * paragraph.C (asString): Remove XForms RTL hacks.
4829 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4830 * buffer.C: fix typo
4832 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4834 * Makefile.am (LIBS): delete var
4835 (lyx_LDADD): add @LIBS@ here instead.
4837 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4839 * Clarify the meaning of "wheel mouse jump"
4841 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4843 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4846 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4848 * importer.C (Loaders): do not preallocate 3 elements in the
4849 vector, since one ends up with 6 elements otherwise
4851 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4853 * DepTable.C (write): write the file name as last element of the
4854 .dep file (because it may contain spaces)
4855 (read): read info in the right order
4857 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4859 * paragraph_pimpl.C (simpleTeXBlanks):
4860 (simpleTeXSpecialChars):
4861 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4863 * tabular.C (latex): add some missing case statements. Reindent.
4865 * MenuBackend.C (expandToc): remove unused variable.
4867 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4876 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4879 2003-01-05 John Levon <levon@movementarian.org>
4882 * BufferView.C: add getEncoding()
4885 * kbsequence.C: do not store last keypress
4888 * lyxfunc.C: store last keypress here instead. Pass encoding
4891 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4893 * lyx_main.C (init): remove annoying error message when following
4894 symbolic links (bug #780)
4896 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4898 * text.C (insertChar):
4899 * lyxrc.C (getDescription): remove extra spaces
4901 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4903 * lyxrc.C (getDescription): remove extra spaces
4905 2002-12-20 John Levon <levon@movementarian.org>
4907 * text3.C: hack fix for page up/down across tall rows
4909 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4911 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4914 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4916 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4917 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4918 thesaurus is not compiled in
4920 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4922 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4924 2002-12-16 Angus Leeming <leeming@lyx.org>
4927 * lyx_main.C (init): remove override_x_deadkeys stuff.
4929 2002-12-12 John Levon <levon@movementarian.org>
4931 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4932 insert. Only remove shift modifier under strict
4935 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * MenuBackend.C (expandToc): fix crash.
4939 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * MenuBackend.C (expandToc): gettext on float names.
4943 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4945 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4946 implement bool empty() [bug 490]
4948 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4950 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4952 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4954 * several files: ws changes
4956 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4958 * text2.C (setCounter): clean up a bit, use boost.format.
4959 (updateCounters): initialize par upon declaration.
4961 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4962 if the layout exists. We do not just store the layout any more.
4963 (SwitchLayoutsBetweenClasses): use boost.format
4965 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4967 * converter.C (convert): if from and to files are the same, use a
4968 temporary files as intermediary
4970 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4973 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4975 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4977 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4979 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4981 * tabular.C (asciiPrintCell): use string(size, char) instead of
4984 * sgml.C (openTag): fix order of arguments to string constructor
4987 * lyxfunc.C (dispatch): use boost.format
4989 * lots of files: change "c" -> 'c'
4991 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4993 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4995 2002-11-25 Angus Leeming <leeming@lyx.org>
4997 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4999 * lyx_main.C (init): compile fix.
5001 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5003 * lyx_cb.C (start): boost.formatify
5004 do not include <iostream>
5006 * lengthcommon.C: ws only
5008 * boost-inst.C,BoostFormat.h: add more explict instantations
5010 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5012 * lots of files: handle USE_BOOST_FORMAT
5014 2002-11-21 John Levon <levon@movementarian.org>
5016 * pspell.C: fix compile
5018 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5020 * lyxfunc.C (dispatch): use boost::format
5024 * lyxfont.C (stateText): use boost::format
5026 * lyx_main.C (LyX): use boost::format
5028 (queryUserLyXDir): ditto
5031 (typedef boost::function): use the recommened syntax.
5033 * importer.C (Import): use boost::format
5035 * debug.C (showLevel): use boost::format
5037 * converter.C (view): use boost::format
5042 * bufferview_funcs.C (currentState): use boost::format
5044 * bufferlist.C (emergencyWrite): use boost::format
5046 * buffer.C (readLyXformat2): use boost::format
5047 (parseSingleLyXformat2Token): ditto
5049 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5051 * LaTeX.C (run): use boost::format
5053 * Chktex.C (scanLogFile): use boost::format
5055 * BufferView_pimpl.C (savePosition): use boost::format
5056 (restorePosition): ditto
5057 (MenuInsertLyXFile): ditto
5059 * BoostFormat.h: help file for explicit instation.
5061 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5063 * tabular.C (latex): Support for block alignment in fixed width
5066 2002-11-17 John Levon <levon@movementarian.org>
5068 * BufferView_pimpl.C:
5070 * lyxfunc.C: split filedialog into open/save
5072 2002-11-08 Juergen Vigna <jug@sad.it>
5074 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5075 by my last patch (hopefully).
5077 2002-11-08 John Levon <levon@movementarian.org>
5086 * toc.C: ParConstIterator, and use it (from Lars)
5088 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5090 * lyxtextclass.[Ch]: revise and add doxygen comments
5092 2002-11-07 John Levon <levon@movementarian.org>
5094 * text.C: fix progress value for spellchecker
5096 * toc.C: fix navigate menu for insetwrap inside minipage
5098 * paragraph_funcs.C: added FIXME for suspect code
5100 2002-11-07 John Levon <levon@movementarian.org>
5102 * BufferView_pimpl.C: fix redrawing of insets
5105 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5107 * text2.C (updateCounters): fix bug 668
5109 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5111 * text3.C (dispatch): Do not make the buffer dirty when moving the
5114 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5116 * vc-backend.C: STRCONV
5119 * text2.C (setCounter): STRCONV
5121 * paragraph.C (asString): STRCONV
5123 * lyxlength.C (asString): STRCONV
5124 (asLatexString): ditto
5126 * lyxgluelength.C (asString): STRCONV
5127 (asLatexString): ditto
5129 * lyxfunc.C (dispatch): STRCONV
5132 * lyxfont.C (stateText): STRCONV
5134 * importer.C (Import): STRCONV
5136 * counters.C (labelItem): STRCONV
5137 (numberLabel): ditto
5138 (numberLabel): remove unused ostringstream o
5143 * bufferview_funcs.C (currentState): STRCONV
5145 * buffer.C (readFile): STRCONV
5146 (asciiParagraph): ditto
5147 (makeLaTeXFile): ditto
5149 * Spacing.C (writeEnvirBegin): STRCONV
5151 * LaTeXFeatures.C (getLanguages): STRCONV
5152 (getPackages): ditto
5154 (getBabelOptions): ditto
5155 (getTClassPreamble): ditto
5156 (getLyXSGMLEntities): ditto
5157 (getIncludedFiles): ditto
5161 (scanAuxFile): ditto
5164 * LString.h: add the STRCONV macros
5166 * BufferView_pimpl.C (savePosition): STRCONV
5167 (restorePosition): ditto
5168 (MenuInsertLyXFile): ditto
5170 * vc-backend.C (scanMaster): change from submatch[...] to
5173 * funcrequest.C: include config.h
5175 * factory.C: include config.h
5177 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5179 * box.C: include config.h
5181 * LaTeX.C (scanAuxFile): change from submatch[...] to
5185 2002-10-25 Angus Leeming <leeming@lyx.org>
5187 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5189 * ispell.[Ch] (setError): new method.
5190 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5191 Use setError() insetead of goto END.
5193 * lyx_cb.C (AutoSave): move out child process into new class
5196 2002-10-30 John Levon <levon@movementarian.org>
5198 * text3.C: make start appendix undoable
5200 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5202 * lyxlength.C (inPixels): Fix returned value.
5204 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5207 2002-10-24 Angus Leeming <leeming@lyx.org>
5209 * lyxgluelength.h: no need to forward declare BufferParams
5210 or BufferView, so don't.
5212 2002-10-21 John Levon <levon@movementarian.org>
5214 * BufferView.C: menuUndo ->undo, redo
5216 * BufferView.h: document, remove dead, make some methods private
5218 * paragraph_funcs.h:
5219 * paragraph_funcs.C:
5220 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5225 * sgml.C: move sgml open/close tag into sgml.C
5227 * bufferview_funcs.h: unused prototype
5230 * lyxfunc.C: remove unused
5233 * text.C: remove unused
5235 2002-10-21 John Levon <levon@movementarian.org>
5239 * BufferView_pimpl.h:
5240 * BufferView_pimpl.C: fix mouse wheel handling based on
5241 patch from Darren Freeman
5243 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5245 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5247 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5249 * lyxlength.C (inPixels): Fix hanfling of negative length.
5250 Fix LyXLength::MU case.
5252 2002-10-16 John Levon <levon@movementarian.org>
5254 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5256 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5258 * converter.C (view): add support for $$i (file name) and $$p
5259 (file path) for the viewer command. If $$i is not specified, then
5260 it is appended to the command (for compatibility with old syntax)
5262 2002-10-14 Juergen Vigna <jug@sad.it>
5264 * undo_funcs.C (textHandleUndo): alter the order in which the
5265 new undopar is added to the LyXText, as we have to set first
5266 the right prev/next and then add it as otherwise the rebuild of
5267 LyXText is not correct. Also reset the cursor to the right paragraph,
5268 with this IMO we could remove the hack in "redoParagraphs()".
5270 2002-10-09 Angus Leeming <leeming@lyx.org>
5272 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5273 to turn off an optimisation if a new inset is to be inserted.
5275 2002-10-11 André Pönitz <poenitz@gmx.net>
5277 * lyxtext.h: make some functions public to allow access
5278 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5280 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5282 * text3.C (dispatch): when changing layout, avoid an infinite loop
5285 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5287 * lyxrc.C (read): treat a viewer or converter command of "none" as
5290 * MenuBackend.C (expandFormats): for an update, also allow the
5291 formats that are not viewable
5293 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5294 script if it is newer than the lyxrc.defaults in user directory
5296 2002-10-07 André Pönitz <poenitz@gmx.net>
5298 * text.C: Vitaly Lipatov's small i18n fix
5300 2002-09-25 Angus Leeming <leeming@lyx.org>
5302 * ispell.h: doxygen fix.
5304 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5306 * buffer.h (readFile): Add a new argument to the method, to allow
5307 reading of old-format templates.
5309 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5311 * toc.C (getTocList): Get TOC from InsetWrap.
5313 2002-09-16 John Levon <levon@movementarian.org>
5315 * lyxfunc.C: check tabular for cut/copy too
5317 2002-09-12 John Levon <levon@movementarian.org>
5322 * factory.C: add header
5324 * paragraph_funcs.h:
5325 * paragraph_funcs.C: cleanup
5327 2002-09-11 John Levon <levon@movementarian.org>
5329 * PrinterParams.h: odd/even default to true
5331 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5333 * PrinterParams.h: update printer parameters for new xforms dialog
5335 2002-09-11 Angus Leeming <leeming@lyx.org>
5337 * lyxserver.C (read_ready): re-write to make it more transparent
5338 and to make it work in coherent fashion under Tru64 Unix.
5340 2002-09-11 André Pönitz <poenitz@gmx.net>
5344 * text3.C: implement LFUN_WORDSEL
5346 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5348 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5349 make floatlist_ a boost::shared_ptr<FloatList>
5351 * lyxtextclass.C: include FloatList.h
5352 (LyXTextClass): initialize floatlist_
5353 (TextClassTags): add TC_NOFLOAT
5354 (Read): match "nofloat" to TC_NOFLOAT and use it.
5355 (readFloat): modify call to floatlist_
5359 * FloatList.[Ch] (FloatList): remove commented out float
5361 (erase): new function
5363 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5365 * MenuBackend.C (expandToc): fix crash when there is no document
5368 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5370 * many files: Add insetwrap.
5372 2002-09-09 John Levon <levon@movementarian.org>
5374 * text2.C: remove confusing and awkward depth wraparound
5376 2002-09-09 John Levon <levon@movementarian.org>
5378 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5381 * buffer.C: remove getIncludeonlyList()
5384 * lyxfunc.C: remove headers
5386 2002-09-09 Juergen Vigna <jug@sad.it>
5388 * text.C (getColumnNearX): fix form Michael this is most
5389 probably a cut&paste bug.
5391 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5393 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5395 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5396 references, ws changes.
5398 * text2.C (init): update counters after init
5399 (insertParagraph): no need to set counter on idividual paragraphs.
5400 (setCounter): access the counters object in the textclass object
5401 on in the buffer object.
5402 (updateCounters): ditto
5404 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5405 shared_ptr<Counters> to avoid loading counters.h in all
5407 (LyXTextClass): initialize ctrs_
5408 (TextClassTags): add TC_COUNTER, and ...
5409 (Read): use it here.
5410 (CounterTags): new tags
5411 (readCounter): new function
5412 (counters): new funtion
5413 (defaultLayoutName): return a const reference
5415 * counters.C (Counters): remove contructor
5416 (newCounter): remove a couple of unneeded statements.
5417 (newCounter): simplify a bit.
5418 (numberLabel): some small formatting changes.
5420 * buffer.[Ch]: remove all traces of counters, move the Counters
5421 object to the LyXTextClass.
5423 2002-09-06 Alain Castera <castera@in2p3.fr>
5425 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5426 package to set the horizontal alignment on fixed width columns.
5429 * lyx_sty.h: added tabularnewline macro def.
5431 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5433 2002-09-06 John Levon <levon@movementarian.org>
5435 * LyXAction.C: tooltips for sub/superscript
5437 * MenuBackend.C: a bit more verbose
5439 * lyxfunc.C: tiny clean
5441 * undo_funcs.C: document undo_frozen
5443 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5445 * counters.C (Counters): add missing algorithm counter.
5447 * text2.C (setCounter): lookup the counter with layouts latexname
5448 instead of by section number.
5449 (setCounter): use a hackish way to lookup the correct enum
5451 a float name->type change
5452 reset enum couners with counter name directly instead of depth value.
5454 * counters.C (Counters): remove the push_backs, change to use the
5455 float type not the float name.
5456 (labelItem): remove unused string, float name->type change
5458 * counters.h: don't include vector, loose the enums and sects vectors
5460 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5462 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5463 (Read): add float->TC_FLOAT to textclassTags
5464 (Read): and handle it in the switch
5465 (readFloat): new function
5467 * FloatList.C (FloatList): comment out the hardcoded float
5470 * lyxlayout.h: ws change.
5472 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5474 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5476 2002-09-03 Angus Leeming <leeming@lyx.org>
5478 * BufferView_pimpl.h: qualified name is not allowed in member
5479 declaration: WorkArea & Pimpl::workarea() const;
5481 * factory.C: added using std::endl directive.
5483 * text3.C: added using std::find and std::vector directives.
5485 2002-08-29 André Pönitz <poenitz@gmx.net>
5488 * text2.C: remove unused member number_of_rows
5491 * BufferView2.C: remove file, move contents to...
5492 * BufferView.C: ... here
5494 * BufferView_pimpl.C:
5495 * factory.C: move more inset creation to factory
5497 * vspace.C: avoid direct usage of LyXText, ws changes
5500 don't provide direct access to WorkArea, use two simple
5501 acessors haveSelction() and workHeight() instead
5504 2002-08-29 John Levon <levon@movementarian.org>
5506 * BufferView_pimpl.C (dispatch): do not continue when
5509 2002-08-28 André Pönitz <poenitz@gmx.net>
5511 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5514 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5516 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5518 * buffer.C: increment LYX_FORMAT to 221
5520 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5521 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5523 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5525 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5527 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5529 * factory.C (createInset): use LyXTextClass::floats
5531 * MenuBackend.C (expandFloatListInsert):
5532 (expandFloatInsert):
5535 * text2.C (setCounter):
5537 * LaTeXFeatures.C (useFloat):
5538 (getFloatDefinitions):
5540 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5542 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5543 floatlist_, with accessor floats().
5545 * FloatList.h: remove global FloatList
5547 2002-08-26 André Pönitz <poenitz@gmx.net>
5549 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5553 * BufferView_pimpl.C:
5554 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5556 2002-08-25 John Levon <levon@movementarian.org>
5558 * LyXAction.C: fix margin note description
5560 2002-08-24 John Levon <levon@movementarian.org>
5564 * bufferview_funcs.C:
5566 * undo_funcs.C: cleanups
5568 * lyxfunc.C: disable CUT/COPY when no selection
5570 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5572 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5573 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5575 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5576 Add backward compatibility to "mono", "gray" and "no".
5578 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5580 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5581 (and file_format >= 200).
5583 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5585 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5587 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5589 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5591 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5593 * BufferView_pimpl.C:
5600 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5601 inset and code to make it work with the paragraph code. The inset
5602 can be anywhere in the paragraph, but will only do the expected
5603 thing in LaTeX if the layout file contains the parameter line
5605 (or more generally, a nonzero value) for that layout.
5607 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5609 * paragraph.h: remove the declaration of undefined counters class
5612 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5614 * text2.C (setCounter): fixed enumeration mis-count as reported by
5615 Dr. Richard Hawkins.
5617 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5619 * paragraph_funcs.h: remove some unneeded includes
5621 * text.C (backspace): pasteParagraph now in global scipe
5623 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5624 (pasteSelection): ditto
5626 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5627 * paragraph_funcs.C (pasteParagraph): ... here
5629 2002-08-20 André Pönitz <poenitz@gmx.net>
5631 * commandtags.h: new LFUNs for swapping/copying table row/colums
5634 * lyxfunc.C: support for new lfuns
5636 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5639 * buffer.[Ch]: remove NO_COMPABILITY stuff
5641 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5643 * boost.C (throw_exception): new file, with helper function for
5644 boost compiled without exceptions.
5649 * ParameterStruct.h:
5650 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5652 * bufferlist.C (emergencyWriteAll): use boost bind
5654 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5656 * text.C: include paragraph_funcs.h
5657 (breakParagraph): breakParagraph is now in global scope
5659 * paragraph_funcs.[Ch]: new files
5661 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5664 * buffer.C: include paragraph_funcs.h
5665 (insertStringAsLines): breakParagraph is now in global scope
5667 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5670 * CutAndPaste.C: include paragraph_funcs.h
5671 (cutSelection): breakParagraphConservative is now in global scope
5672 (pasteSelection): ditto
5674 * buffer.h: declare oprator== and operator!= for
5675 Buffer::inset_iterator
5677 * bufferlist.C (emergencyWrite): don't use fmt(...)
5679 * text3.C: add using std::endl
5681 * BufferView.C (moveCursorUpdate): remove default arg
5683 2002-08-20 André Pönitz <poenitz@gmx.net>
5685 * buffer.[Ch]: move inline functions to .C
5688 * BufferView_pimpl.C:
5690 * buffer.[Ch]: use improved inset_iterator
5693 * paragraph.[Ch]: write one paragraph at a time
5695 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5697 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5698 style if style is not specified.
5700 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5702 * text2.C (setCounter): when searching for right label for a
5703 caption, make sure to recurse to parent insets (so that a caption
5704 in a minipage in a figure float works) (bug #568)
5706 2002-08-20 André Pönitz <poenitz@gmx.net>
5708 * text3.C: new file for LyXText::dispatch() and helpers
5710 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5712 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5714 2002-08-19 André Pönitz <poenitz@gmx.net>
5717 * text.C: new LyXText::dispatch()
5719 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5721 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5723 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5725 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5728 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5730 * Makefile.am: use $(variables) instead of @substitutions@
5732 2002-08-15 André Pönitz <poenitz@gmx.net>
5735 * BufferView_pimpl.C: streamlining mathed <-> outer world
5739 * LyXAction.C: remove unused LFUN_MATH
5741 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5743 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5745 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5747 * paragraph.C (Paragraph): reformat a bit
5748 (cutIntoMinibuffer): use builtin InsetList function instad of
5752 * buffer.C: include boost/bind.hpp, add using std::for_each
5753 (writeFileAscii): use ParagraphList iterators
5754 (validate): use for_each for validate traversal of paragraphs
5755 (getBibkeyList): use ParagraphList iterators
5756 (resizeInsets): use for_each to resizeInsetsLyXText for all
5758 (getParFromID): use ParagraphList iterators
5760 * BufferView2.C (lockInset): use paragraph list and iterators
5762 2002-08-14 John Levon <levon@movementarian.org>
5764 * lyxserver.C: remove spurious xforms include
5766 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5768 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5770 2002-08-13 André Pönitz <poenitz@gmx.net>
5773 * lyxfunc.C: further cleaning
5775 2002-08-13 André Pönitz <poenitz@gmx.net>
5777 * funcrequest.h: new constructor
5779 * funcrequest.C: move stuff here from .h
5782 * BufferView_pimpl.C:
5785 * lyxfunc.C: subsequent changes
5787 * lyxfunc.h: new view() member function
5789 * lyxfunc.C: subsequent changes
5791 2002-08-13 Angus Leeming <leeming@lyx.org>
5794 * BufferView_pimpl.C:
5802 changes due to the changed LyXView interface that now returns references
5803 to member variables not pointers.
5805 2002-08-13 Angus Leeming <leeming@lyx.org>
5807 * WordLangTuple (word, lang_code): return references to strings,
5812 * lyxtext.h: forward-declare WordLangTuple.
5817 * text.C: #include "WordLangTuple.h".
5820 * text.C: (selectNextWordToSpellcheck): constify return type.
5822 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5828 * paragraph_pimpl.h:
5831 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5833 Made updateCounter always count from start of buffer, and removed
5834 second argument (par).
5835 Reverted floats number display to '#'. Perhaps I'll try again when the
5836 code base is sanitized a bit.
5838 2002-08-12 Angus Leeming <leeming@lyx.org>
5840 * buffer.[Ch] (getLabelList): constify.
5842 2002-08-07 André Pönitz <poenitz@gmx.net>
5844 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5846 * funcrequest.h: extension to keep mouse (x,y) position
5848 2002-08-12 Juergen Vigna <jug@sad.it>
5850 * BufferView2.C (insertErrors): forbid undo when inserting error
5853 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5855 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5857 * ParagraphList.[Ch]: new files
5859 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5861 * BufferView2.C (lockInset): ParagraphList changes
5864 * bufferlist.C: ditto
5868 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5870 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5871 unused class variable counter_,
5873 * paragraph.[Ch] (getFirstCounter): delete unused function
5875 * counters.C: include LAssert.h
5876 (reset): add a new function with no arg, change other version to
5877 not have def. arg and to not allow empty arg.
5879 * text2.C (setCounter): remove empty arg from call to Counters::reset
5881 2002-08-11 John Levon <levon@movementarian.org>
5883 * Makefile.am: add WordLangTuple.h
5885 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5887 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5888 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5890 * insets/insettext.C: InsetList changes
5892 * graphics/GraphicsSupport.C (operator()): InsetList changes
5894 * toc.C (getTocList): InsetList changes
5896 * paragraph_pimpl.[Ch]: InsetList changes
5898 * paragraph.[Ch]: InsetList changes
5900 * buffer.C (inset_iterator): InsetList changes
5901 (setParagraph): ditto
5902 * buffer.h (inset_iterator): ditto
5903 * iterators.C (operator++): ditto
5904 * iterators.h: ditto
5906 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5908 * InsetList.[Ch]: new files, most InsetList handling moved out of
5911 * BufferView2.C (removeAutoInsets): InsetList changes
5913 (ChangeInsets): ditto
5915 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5917 * paragraph_pimpl.h (empty): new function
5919 * paragraph.[Ch] (empty): new function
5921 * other files: use the new Paragraph::empty function
5923 2002-08-09 John Levon <levon@movementarian.org>
5925 * lyxtext.h: remove unused refresh_height
5927 2002-08-09 John Levon <levon@movementarian.org>
5934 * paragraph.C: move sgml char escaping out of paragraph
5937 * paragraph.C: remove id setter
5941 * paragraph_pimpl.C: remove dead tex_code_break_column
5943 * bufferview_funcs.C: small cleanup
5945 * lyxfunc.C: remove dead proto
5947 * lyxtext.h: make some stuff private. Remove some dead stuff.
5949 * lyxgluelength.C: make as[LyX]String() readable
5951 2002-08-08 John Levon <levon@movementarian.org>
5956 * ToolbarDefaults.C:
5959 * toc.C: lyxaction cleanup
5961 2002-08-08 John Levon <levon@movementarian.org>
5963 * BufferView2.C: small cleanup
5966 * lyxfind.C: move unnecessary header into the .C
5968 2002-08-08 John Levon <levon@movementarian.org>
5970 * funcrequest.h: just tedious nonsense
5973 * lyx_main.C: cleanups
5976 * vspace.C: remove dead header lyx_main.h
5978 2002-08-07 Angus Leeming <leeming@lyx.org>
5981 * paragraph_pimpl.h:
5982 Forward declare class Counters in paragraph.h by moving the ctrs member
5983 variable into Paragraph::Pimpl.
5984 (counters): new method, returning a reference to pimpl_->ctrs.
5986 * text2.C: ensuing changes.
5988 2002-08-07 John Levon <levon@movementarian.org>
5990 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5992 * BufferView_pimpl.C: announce X selection on double/triple
5995 * lyx_main.C: use correct bool in batch dispatch
5997 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5999 2002-08-07 André Pönitz <poenitz@gmx.net>
6001 * funcrequest.h: new class to wrap a kb_action and its argument
6004 * BufferView_pimpl[Ch]:
6008 * lyxrc.C: subsequent changes
6011 2002-08-07 John Levon <levon@movementarian.org>
6013 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6014 document options change.
6016 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6021 * makefile.am: move counters functionality over from
6022 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6024 2002-08-06 John Levon <levon@movementarian.org>
6026 * WordLangTuple.h: new file for word + language code tuple
6037 * BufferView2.C: use WordLangTuple
6040 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6042 2002-08-06 John Levon <levon@movementarian.org>
6044 * lyx_main.C: fix cmdline batch handling
6046 2002-08-06 André Pönitz <poenitz@gmx.net>
6048 * lyxrc.C: set default for show_banner to true
6050 2002-08-06 John Levon <levon@movementarian.org>
6052 * pspell.C: fix a crash, and allow new aspell to work
6054 2002-08-06 John Levon <levon@movementarian.org>
6057 * kbmap.C: small cleanup
6060 * vspace.C: add const
6062 2002-08-05 John Levon <levon@movementarian.org>
6064 * LyXAction.C: back to tabular-insert
6066 2002-08-04 John Levon <levon@movementarian.org>
6069 * BufferView.C: cosmetic change
6071 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6081 * BufferView2.C: purge all "Lyx" not "LyX" strings
6084 * lyxcursor.C: attempt to add some documentation
6089 * ToolbarDefaults.C:
6090 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6091 merge with LFUN_TABULAR_INSERT
6098 * pspell.C: split up i/pspell implementations into separate
6099 files, many cleanups
6101 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6103 * text2.C: some cleanup
6105 * lyxfunc.C: don't check for isp_command == "none" any more, it
6106 didn't make any sense
6108 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6113 * makefile.am: move counters functionality over
6114 from text2.C/paragraph.[Ch] to counters.[Ch], and
6116 2002-08-02 John Levon <levon@movementarian.org>
6118 * buffer.C: s/lyxconvert/lyx2lyx/
6120 2002-08-02 Angus Leeming <leeming@lyx.org>
6122 * lyxlex.C: revert John's change as it breaks reading of the user
6125 2002-08-02 Angus Leeming <leeming@lyx.org>
6127 * importer.C (Import):
6128 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6129 changes due to LyXView::view() now returning a boost::shared_ptr.
6131 2002-08-02 John Levon <levon@movementarian.org>
6133 * lyxlex.C: small cleanup
6135 2002-08-02 John Levon <levon@movementarian.org>
6137 * text2.C (status): small cleanup, no logic change
6139 2002-08-01 John Levon <levon@movementarian.org>
6142 * buffer.C (writeFile): don't output alerts, caller
6146 * lyx_cb.C: from above
6148 * lyxfunc.C: allow to open non-existent files
6150 2002-07-31 John Levon <levon@movementarian.org>
6152 * lyxserver.C: don't let incidental errors get
6155 2002-07-30 John Levon <levon@movementarian.org>
6157 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6159 2002-07-30 John Levon <levon@movementarian.org>
6162 * lyxserver.C: remove I/O callback too
6164 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6166 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6169 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6171 * many files: strip,frontStrip -> trim,ltrim,rtrim
6173 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6175 * PrinterParams.h: remove extern containsOnly, and include
6176 support/lstrings.h instead.
6178 * LaTeX.C (scanAuxFile): modify because of strip changes
6180 * buffer.C (makeLaTeXFile): ditto
6181 * bufferparams.C (writeFile): ditt
6182 * lyxfont.C (stateText): ditto
6183 * lyxserver.C (read_ready): ditto
6184 * vc-backend.C (scanMaster): ditto
6186 * BufferView_pimpl.h: ws changes
6188 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6190 2002-07-26 André Pönitz <poenitz@gmx.net>
6192 * kb_sequence.C: remove unnedred usings
6194 2002-07-26 Juergen Vigna <jug@sad.it>
6196 * lyxfind.C (LyXReplace): we have to check better if the returned
6197 text is not of theLockingInset()->getLockingInset().
6199 2002-07-25 Juergen Vigna <jug@sad.it>
6201 * lyxfind.C (LyXReplace): don't replace if we don't get the
6204 * undo_funcs.C (createUndo): remove debugging code.
6206 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6208 * buffer.C (parseSingleLyXformat2Token): Use default placement
6209 when reading old floats.
6211 * FloatList.C (FloatList): Change the default placement of figure
6212 and tables to "tbp".
6214 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6216 * MenuBackend.C: using std::max
6218 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6220 * MenuBackend.C (expandToc):
6221 (expandToc2): code moved from xforms menu frontend. It is now
6222 generic and TOCs are transparent to menu frontends.
6224 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6226 * toc.C (getTocList): protect against buf=0
6228 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6229 Menu as first parameter. Now, this calls itself recursively to
6230 expand a whole tree (this will be useful for TOC handling)
6231 (expandFloatInsert): remove 'wide' version of floats
6233 * MenuBackend.h (submenuname): returns the name of the submenu.
6234 (submenu): returns the submenu itself, provided it has been
6235 created by MenuBackend::expand
6237 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6239 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6240 insets which have noFontChange == true. (bug #172)
6242 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6244 * BufferView_pimpl.C: add connection objects and use them...
6247 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6249 * MenuBackend.C (expandLastfiles):
6252 (expandFloatListInsert):
6253 (expandFloatInsert):
6254 (expand): split expand in parts
6256 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6258 * lyx_gui.C: use lyx_gui::exit()
6260 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6262 * LyXAction.C: show the failing pseudo action
6264 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6266 * buffer.C (readFile): Run the lyxconvert script in order to read
6269 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6273 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6275 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6279 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6281 2002-07-22 Herbert Voss <voss@lyx.org>
6284 * lyxlength.[Ch]: add support for the vertical lengths
6286 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6288 * toc.[Ch]: std:: fixes
6290 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6292 * lyxrc.C: do not include lyx_main.h
6294 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6300 * BufferView2.C: include "lyxlex.h"
6303 * bufferparams.h: do not #include "lyxlex.h"
6305 * lyxtextclasslist.C (Add): remove method
6306 (classlist): renamed to classlist_
6308 * paragraph_pimpl.C:
6312 * bufferview_funcs.C:
6317 * toc.C (getTocList): use BufferParams::getLyXTextClass
6319 * toc.C (getTocList): use InsetFloat::addToToc
6321 * toc.[Ch]: new files, containing helper functions to handle table
6324 * lyxfunc.C (dispatch): no need to remove spaces around command
6326 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6327 first command of the sequence; it is not very clever, but I do not
6328 have a better idea, actually
6330 * LyXAction.C (LookupFunc): make sure to remove space at the
6331 beginning and end of the command
6333 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6335 * MenuBackend.C (getMenubar): new method: return the menubar of
6337 (read): treat differently reading of menu and menubar (in
6338 particular, the menubar has no name now)
6339 (Menu::menubar): remove
6341 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6344 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6346 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6347 a bibitem inset in a RTL paragraph.
6349 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6351 * paragraph_pimpl.C: constify
6353 * BufferView_pimpl.C:
6355 * lyxfunc.C: fix dispatch in a nicer way
6357 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6359 * lyxfunc.C (dispatch):
6360 * BufferView_pimpl.C:
6361 * BufferView_pimpl.h:
6363 * BufferView.h: rename Dispatch() to dispatch()
6365 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6367 * lyxlayout.C (Read): honor DependsOn tag
6369 * lyxlayout.[Ch] (depends_on): new method
6371 * version.C.in: update lyx_docversion
6373 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6375 * paragraph.C (validate): remove from here...
6376 * paragraph_pimpl.C (validate): ... and move here
6377 (isTextAt): make it const
6379 * buffer.C (getLists): ws cleanup
6381 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6383 * language.C (read): Use iso8859-1 encoding in latex_lang
6384 (this prevents LyX from crashing when using iso10646-1 encoding).
6386 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6388 * text2.C (toggleInset): if cursor is inside an inset, close the
6389 inset and leave cursor _after_ it
6391 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6393 * lyxfunc.C: move minibuffer completion handling out of here
6395 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6397 * BufferView_pimpl.C:
6398 * LaTeX.C: fix dispatch calls
6400 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6402 * text.C (drawChars): Fix Arabic text rendering.
6404 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6408 * lyxfunc.C: remove message-push/pop
6412 * lyxfunc.C: rationalise some code by removing verboseDispatch
6413 in favour of a bool argument to dispatch()
6415 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6417 * lyx_main.C (init): make sure to read symlinks as absolute paths
6419 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6422 * lyxfunc.C: no need for commandshortcut to be a member
6424 2002-07-15 André Pönitz <poenitz@gmx.net>
6426 * converter.C: add support for $$s (scripts from lib/scripts dir)
6427 * lyx_main.C: white space
6429 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6433 * lyxrc.C: remove second exit confirmation
6435 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6440 * BufferView_pimpl.h:
6441 * BufferView_pimpl.C:
6442 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6444 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6446 * MenuBackend.C (expand): add numeric shortcuts to document menu
6448 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6450 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6452 * lyxfont.C (setLyXFamily):
6459 * buffer.C (asciiParagraph): use ascii_lowercase
6461 2002-07-15 Mike Fabian <mfabian@suse.de>
6463 * lyxlex_pimpl.C (search_kw):
6464 * lyxlex.C (getLongString):
6465 * converter.h (operator<):
6466 * converter.C (operator<):
6467 * buffer.C (parseSingleLyXformat2Token):
6469 * ToolbarDefaults.C (read):
6470 * MenuBackend.C (checkShortcuts):
6472 * LColor.C (getFromGUIName):
6473 (getFromLyXName): use the compare_ascii_no_case instead of
6474 compare_no_case, because in turkish, 'i' is not the lowercase
6475 version of 'I', and thus turkish locale breaks parsing of tags.
6477 2002-07-16 Angus Leeming <leeming@lyx.org>
6479 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6480 now takes a Buffer const & argument.
6482 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6484 * BufferView.C (resize): check there's a buffer to resize
6486 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6488 * lyxfunc.C: remove dead code
6491 * lyxserver.C: use lyx_guii::set_read_callback
6493 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6495 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6496 an inset in a RTL paragraph.
6498 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6500 * lyxfunc.C: repaint after a font size update
6502 2002-07-15 André Pönitz <poenitz@gmx.net>
6504 * lyxlength.C: inBP should be able to return negative values
6506 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6508 * lyxfunc.C: use lyx_gui::update_fonts()
6510 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6512 * lyxfunc.C: use lyx_gui::update_color()
6514 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6520 * lyxrc.C: remove file->new asks for name option, and let
6521 buffer-new take an argument
6523 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6525 * BufferView_pimpl.C: remove unneeded extra repaint()
6527 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6529 * LyXAction.C: allow command-sequence with NoBuffer
6531 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6533 2002-07-10 Angus Leeming <leeming@lyx.org>
6535 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6537 2002-07-09 Angus Leeming <leeming@lyx.org>
6539 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6541 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6543 * lengthcommon.h: whitespace
6545 * lyxfunc.C: update scrollbar after goto paragraph
6547 * lyxtext.h: factor out page break drawing, and fix it so
6548 page break/added space paints as selected nicely
6550 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6552 * BufferView_pimpl.C: add FIXMEs, clean up a little
6554 2002-07-09 André Pönitz <poenitz@gmx.net>
6556 * lyxfont.[Ch]: support for wasy symbols
6558 2002-07-08 André Pönitz <poenitz@gmx.net>
6560 * BufferView_pimpl.C: apply John's patch for #93.
6562 2002-07-05 Angus Leeming <leeming@lyx.org>
6564 * BufferView_pimpl.C (buffer): generate previews if desired.
6566 * LColor.h: add "preview" to the color enum.
6568 * LColor.C (LColor): add a corresponding entry to the items array.
6570 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6573 2002-07-05 Angus Leeming <leeming@lyx.org>
6575 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6576 The body of the code is now in the method that is passed an ostream &
6577 rather than a file name.
6578 Pass an additional only_preamble parameter, useful for the forthcoming
6581 2002-07-03 André Pönitz <poenitz@gmx.net>
6583 * lyxfunc.C: simplify getStatus() a bit for math stuff
6585 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6587 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6589 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6591 * text.C (changeRegionCase): do not change case of all the
6592 document when region ends at paragraph end (bug #461)
6594 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6596 * paragraph.C (startTeXParParams):
6597 (endTeXParParams): add \protect when necessary
6599 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6601 * BufferView_pimpl.C (workAreaExpose): remove warning
6603 2002-06-27 Angus Leeming <leeming@lyx.org>
6605 * Makefile.am: add lyxlayout_ptr_fwd.h.
6607 2002-06-26 André Pönitz <poenitz@gmx.net>
6609 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6611 2002-06-25 Angus Leeming <leeming@lyx.org>
6613 * lyxfunc.C (dispatch): Comment out the call to
6614 grfx::GCache::changeDisplay. The method no longer exists now that the
6615 pixmap generation part of the graphics loader has been moved into
6618 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6620 * text2.C: layout as layout
6622 * text.C: layout as layout
6624 * tabular.C (OldFormatRead): layout as layout
6626 * paragraph_pimpl.C (TeXDeeper): layout as layout
6627 (realizeFont): layout as layout
6629 * paragraph.C (writeFile): layout as layout
6630 (validate): layout as layout
6631 (getFont): layout as layout
6632 (getLabelFont): layout as layout
6633 (getLayoutFont): layout as layout
6634 (breakParagraph): layout as layout
6635 (stripLeadingSpaces): layout as layout
6636 (getEndLabel): layout as layout
6637 (getMaxDepthAfter): layout as layout
6638 (applyLayout): layout as layout
6639 (TeXOnePar): layout as layout
6640 (simpleTeXOnePar): layout as layout
6641 (TeXEnvironment): layout as layout
6642 (layout): layout as layout
6643 (layout): layout as layout
6645 * lyxtextclass.C (compare_name): new functor to work with
6646 shared_ptr, layout as layout
6647 (Read): layout as layout
6648 (hasLayout): layout as layout
6649 (operator): layout as layout
6650 (delete_layout): layout as layout
6651 (defaultLayout): layout as layout
6653 * lyxlayout_ptr_fwd.h: new file
6655 * lyxlayout.C (Read): layout as layout
6657 * lyx_cb.C (MenuInsertLabel): layout as layout
6659 * bufferlist.C (newFile): layout as layout
6661 * buffer.C (readLyXformat2): layout as layout
6662 (parseSingleLyXformat2Token): layout as layout
6663 (insertStringAsLines): layout as layout
6664 (asciiParagraph): layout as layout
6665 (latexParagraphs): layout as layout
6666 (makeLinuxDocFile): layout as layout
6667 (simpleLinuxDocOnePar): layout as layout
6668 (makeDocBookFile): layout as layout
6669 (simpleDocBookOnePar): layout as layout
6670 (getLists): layout as layout
6672 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6674 * CutAndPaste.C (cutSelection): layout as layout
6675 (pasteSelection): layout as layout
6676 (SwitchLayoutsBetweenClasses): layout as layout
6678 * BufferView_pimpl.C (Dispatch): layout as layout
6679 (smartQuote): layout as layout
6681 * BufferView2.C (unlockInset): layout as layout
6683 2002-06-24 André Pönitz <poenitz@gmx.net>
6685 * lyxfunc.C: fix #487
6687 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6691 * lyxfunc.C: remove display_shortcuts, show_banner
6693 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6695 * Buffer_pimpl.C: oops, update on resize
6697 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6704 * BufferView.C: use repaint()
6706 * BufferView_pimpl.h:
6707 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6708 as it's a clearer description. Remove superfluous
6711 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6713 * text.C: fix bug 488. Not ideal, but getting
6714 getWord() to work properly for the insets that
6715 matter is more difficult ...
6717 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6719 * BufferView_pimpl.C:
6722 * lyxfunc.C: remove the six million index lyxfuncs to just
6723 one, and DTRT (bug 458)
6725 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6729 * BufferView_pimpl.h:
6730 * BufferView_pimpl.C: clean up resize() stuff,
6731 and unnecessary updateScreen()s
6733 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6737 * BufferView_pimpl.h:
6738 * BufferView_pimpl.C:
6741 * minibuffer.C: remove focus management of workarea,
6742 not needed. Use screen's greyOut()
6744 2002-06-17 Herbert Voss <voss@lyx.org>
6746 * converter.C: (convert) do not post a message, when converting
6747 fails, let the calling function decide what to do in this case
6749 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6751 * lyxfunc.C: tidy up a little
6753 2002-06-16 <alstrup@diku.dk>
6755 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6756 Got rid of FORMS_H_LOCATION include. Now we are
6759 2002-06-15 LyX Development team <lyx@rilke>
6761 * buffer.[Ch] (sgmlOpenTag):
6762 (sgmlCloseTag): Added support for avoiding pernicious mixed
6763 content. Return number of lines written.
6766 (makeDocBookFile): Fixed calls to sgml*Tag.
6767 Simple white space clean.
6769 (simpleDocBookOnePar): Simple white space clean.
6771 * tabular.[Ch] (docBook): Renamed to docbook and got another
6772 argument to related with the pernicious mixed content.
6774 (docbookRow): Fixed calls for docbook inset method.
6776 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6778 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6779 so it's X11 independent.
6783 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6785 2002-06-15 Lyx Development team <lyx@electronia>
6787 * intl.h: Renamed getTrans to getTransManager.
6789 2002-06-14 Angus Leeming <leeming@lyx.org>
6791 * Makefile.am: nuke forgotten stl_string_fwd.h.
6793 2002-06-12 Angus Leeming <leeming@lyx.org>
6795 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6797 2002-06-13 Angus Leeming <leeming@lyx.org>
6800 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6802 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6804 * kbmap.C (getiso): add support for cyrillic and greek
6806 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6810 * BufferView_pimpl.h:
6811 * BufferView_pimpl.C: move bogus scrolling logic
6814 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6817 * BufferView_pimpl.C: view->resize() change
6819 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6821 * BufferView_pimpl.C: topCursorVisible
6824 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6828 * lyx_gui.C: move to frontends/
6832 * lyx_main.C: changes from above
6834 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6841 * lyx_main.C: minor tidy
6843 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6845 * BufferView_pimpl.h:
6846 * BufferView_pimpl.C:
6848 * BufferView.C: make painter() const,
6851 * BufferView2.C: use screen() accessor
6854 * lyx_main.C: some minor cleanup
6856 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6858 * BufferView_pimpl.h:
6859 * BufferView_pimpl.C: remove enter/leaveView,
6862 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6867 * BufferView_pimpl.h:
6868 * BufferView_pimpl.C: only construct screen once,
6871 * lyxrc.C: remove pointless comment
6873 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6876 * BufferView.C: remove active() and belowMouse()
6878 * BufferView_pimpl.h:
6879 * BufferView_pimpl.C: use workarea() not workarea_,
6880 and make it use a scoped_ptr instead
6882 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6884 * lyx_gui.C: add debug message on BadWindow
6886 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6888 * sp_spell.C: fdopen is not part of the C++ standard.
6890 * paragraph.C (InsetIterator): use >= instead of ==
6892 2002-06-07 Angus Leeming <leeming@lyx.org>
6894 Fixes needed to compile with Compaq cxx 6.5.
6895 * BufferView_pimpl.C:
6902 * lyxtextclasslist.C:
6907 all c-library variables have been moved into namespace std. Wrap
6908 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6913 Add a using std::abs declaration.
6915 * kbmap.h (modifier_pair):
6916 * paragraph.h (InsetTable, InsetList):
6917 * lyxfont.h (FontBits):
6918 type definition made public.
6920 * bufferlist.C (emergencyWriteAll): the compiler complains that
6921 there is more than one possible lyx::class_fun template to choose from.
6922 I re-named the void specialisation as lyx::void_class_fun.
6924 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6926 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6927 the compiler is is unable to find tostr in write_attribute.
6929 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6931 * buffer.C (sgmlError): hide #warning
6933 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6935 * xtl/*: get rid of xtl, which is not in use anyway
6937 * LyXAction.C (init):
6938 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6939 were unimplemented xtl experimentation
6941 2002-06-04 André Pönitz <poenitz@gmx.net>
6943 * lyxfunc.C: disable array operation on simple formulae
6945 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6947 * converter.C: constify a bit
6949 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6951 * lyx_gui.C: check xforms version correctly
6953 2002-04-30 Herbert Voss <voss@lyx.org>
6955 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6958 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6960 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6961 attempt to register it with a VCS)
6963 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6965 * lyx_main.C (init): honor variables LYX_DIR_13x and
6968 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6972 * lyx_main.C: fix a crash on bad command line,
6973 and give a useful exit status on error
6975 * lyxfunc.C (doImport): allow -i lyx to work
6977 2002-03-30 André Pönitz <poenitz@gmx.net>
6979 * lyxfunc.C: mathed font changes
6981 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6996 * trans_mgr.h: srcdocs, and some minor cleanups
6998 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7000 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7001 call getFont all the time)
7003 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7005 * switch from SigC signals to boost::signals
7007 2002-05-29 André Pönitz <poenitz@gmx.net>
7009 * paragraph_pimpl.C (getChar): don't call size() too often...
7011 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7013 * paragraph_pimpl.C (insertChar): do not try to update tables when
7014 appending (pos == size())
7016 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7017 in order to reduce drastically the number of comparisons needed to
7018 parse a large document
7020 2002-05-29 André Pönitz <poenitz@gmx.net>
7026 * textclasslist.[Ch]:
7027 * sp_ispell.h: whitespace change
7029 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7031 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7032 lyxaction directly now.
7034 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7038 * lyxvc.C: remove unused headers
7040 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7047 * undo_funcs.C: some cleanups. Use shared_ptr
7048 and a template for the undo stacks.
7050 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7052 * BufferView_pimpl.h:
7053 * BufferView_pimpl.C:
7060 * text2.C: use key_state/mouse_state
7062 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7064 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7067 * chset.C: change include order
7068 (loadFile): use boost regex and get rid of LRegex and LSubstring
7070 * Makefile.am (BOOST_LIBS): new variable
7073 * LaTeX.C: change include order.
7074 (scanAuxFile): use boost regex and get rid of LRegex and
7078 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7083 * FontInfo.C: moved to frontends/xforms/
7086 * FontLoader.C: moved into frontends for GUIIzation
7091 * lyxfunc.C: changes from above
7093 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7095 * LColor.C: remove spurious X include
7097 * BufferView_pimpl.C:
7102 * text2.C: move font metrics to frontends/
7104 2002-05-24 Juergen Vigna <jug@sad.it>
7106 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7107 setting the undo_cursor.
7109 * ParagraphParameters.h: include local includes first.
7111 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7113 * BufferView_pimpl.C:
7114 * BufferView_pimpl.h:
7118 * screen.C: move WorkArea into frontends/
7124 * BufferView2.C: move LyXScreen into frontends/
7128 * lyx_gui.C: move lyxlookup into frontends/xforms/
7130 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7133 * BufferView_pimpl.C:
7143 * bufferview_funcs.C:
7156 * vc-backend.C: move LyX/XFormsView into frontends/
7158 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7170 * text2.C: move Painter to frontends/
7172 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7174 * buffer.C: comment out some some code that depend upon lyx_format
7177 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7178 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7180 * buffer.h (NO_COMPABILITY): turn off compability
7182 * ColorHandler.C: include scoped_array.hpp
7184 * font.C: Use more specific smart_ptr header.
7187 * ShareContainer.h: ditto
7191 * BufferView_pimpl.h: ditto
7192 * ColorHandler.h: ditto
7194 * kbmap.C (defkey): change call to shared_ptr::reset
7196 2002-05-21 Juergen Vigna <jug@sad.it>
7198 * buffer.C (insertErtContents): fix to insert ert asis if it is
7199 non empty. Skip it completely if it contains only whitespaces.
7201 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7203 * BufferView_pimpl.C:
7204 * BufferView2.C: clear selection on paste (bug 393)
7206 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7208 * DepTable.C: include ctime
7210 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7212 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7214 2002-05-14 Juergen Vigna <jug@sad.it>
7216 * text.C (breakParagraph): fixed function to honor the keepempty
7217 layout in the right maner and also to permit the right breaking
7218 algorithm on empty or non empyt keepempty paragraphs.
7220 * paragraph.C (breakParagraph): we have to check also if the par
7221 is really empty (!size()) for isempty otherwise we do the wrong
7224 2002-05-10 Juergen Vigna <jug@sad.it>
7226 * buffer.[Ch] : The following are only changes to the ert
7227 compatibility read reading old LaTeX layout and font stuff and
7228 convert it to ERTInsets.
7230 * buffer.h: added isErtInset().
7232 * buffer.C (struct ErtComp): add a fromlayout bool to check
7233 if we're inside a LaTeX layout.
7234 (isErtInset): new helper function.
7235 (insertErtContents): look for other ert insets before this one
7236 and insert the contents there, so that we don't have subsequent
7237 ERT insets with nothing between them. This way we create only one
7238 inset with multiple paragraphs. Also check if we don't insert only
7239 spaces ' ' as they are ignored anyway afterwards in the .tex file
7240 so if we have only spaces we will ignore this latex part in the
7242 (parseSingleLyXformat2Token \\layout): better compatibility when
7243 reading layout-latex stuff.
7244 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7246 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7247 stuff after reading the inset only get the information back from
7250 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7252 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7254 * LaTeXFeatures.C (getBabelOptions): New method.
7256 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7258 * BufferView_pimpl.C (Dispatch): work around missing argument for
7261 2002-05-08 Juergen Vigna <jug@sad.it>
7263 * text.C (leftMargin): handle paragraph leftindent.
7265 * paragraph.C (writeFile): write the new \\leftindent tag.
7266 (validate): handle leftindent code.
7267 (TeXEnvironment): handle paragraphleftindent code again.
7269 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7271 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7272 for paragrap_extra indent code and new token \\leftindent.
7273 (latexParagraphs): handle the leftindent as environment.
7275 * ParameterStruct.h: added leftindent support.
7277 * ParagraphParameters.C (leftIndent): added support functions for
7278 the paragraph left indent.
7280 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7283 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7285 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7288 * text.C (computeBidiTables): No bidi in insetERT.
7290 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7293 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7295 * version.C.in: pre 5
7297 2002-05-02 José Matos <jamatos@fep.up.pt>
7298 * buffer.C (makeDocBookFile): white space changes, add newline to
7300 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7302 * tabular.C (docBook): fix typo.
7304 2002-05-03 Juergen Vigna <jug@sad.it>
7306 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7307 change in LyXText as we can not be sure it was not freed.
7308 (drawOneRow): remove unused code.
7310 * text.C (drawInset): redo the calculation of the need_break_row as
7311 it could have a row which was already freed.
7312 (draw): look at the return value of drawInset and return false if
7313 it also returned false.
7314 (paintRowText): look at the return value of draw and return false if
7315 it also returned false.
7317 * lyxtext.h: added bool return type to drawInset() and draw() so that
7318 if we have a change in the row so that the rowbreak has to be redone
7319 we abort drawing as it will be called again.
7321 2002-05-02 Juergen Vigna <jug@sad.it>
7323 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7324 a change in the maintext also if we're inside an inset.
7325 (Dispatch): set the cursor again after a break line and after the
7326 screen has been updated as it could be we're in a different row.
7328 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7329 to set the cursor behind the pargraph with > size().
7330 (setCursor): check also for the same paragraph when checking where
7331 to put the cursor if we have a NFR inset.
7333 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7334 parts of layout read further up as it still was in the wrong
7337 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7339 * screen.C (drawFromTo): change sine fullRebreak always return
7342 * buffer.C (parseSingleLyXformat2Token): reindent some
7344 * BufferView_pimpl.C (update): change since fullRebreak always
7346 (Dispatch): git rid of the last hardcoded "Standard"s.
7348 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7350 * text2.[Ch] (fullRebreak): make it return void now that we always
7353 2002-04-30 Juergen Vigna <jug@sad.it>
7355 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7356 ert compatibility check for "latex" layout.
7358 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7360 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7361 minipages: use col% instead of p%, and also use the current font.
7362 (makeLaTeXFile): Fix use babel condition.
7363 (parseSingleLyXformat2Token): Correct font when reading old floats.
7365 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7367 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7368 inserting list of floats.
7370 2002-04-25 Herbert Voss <voss@lyx.org>
7372 * MenuBackend.C (expand): don't add the graphics extensions to the
7375 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7377 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7378 non-existing layout, do not complain if it was the default layout
7379 of the original class (bug #342)
7381 2002-04-24 Juergen Vigna <jug@sad.it>
7383 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7384 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7386 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7388 * buffer.C (getBibkeyList): If using \bibliography, return the
7389 option field with the reference itself. Enables us to provide natbib
7390 support when using \bibliography.
7392 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7394 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7396 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7397 natbib is provided by the LaTeX class.
7399 2002-04-23 Juergen Vigna <jug@sad.it>
7401 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7404 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7406 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7408 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7410 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7411 ensuremath around textordmasculine, textordfeminine and
7414 2002-04-19 Juergen Vigna <jug@sad.it>
7416 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7417 reinitializing the buffer otherwise row-dimensions may be wrong.
7418 (update): reset also the selection cursors if they do exits otherwise
7419 their x/y positions may be wrong.
7421 * text2.C (cursorDown): don't enter the inset if we came from a row
7422 above and are one row over the inset.
7424 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7425 really leaving an inset.
7427 2002-04-18 Juergen Vigna <jug@sad.it>
7429 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7430 of the selected paragraph does not have the selected layout also if
7433 * text2.C (setLayout): fixed bug which did not change last selected
7436 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7437 changed the read and substituted \\end_float with \\end_inset!
7439 * BufferView_pimpl.C (cursorPrevious):
7440 (cursorNext): fixed to make it work with rows heigher than the work
7441 area without moving the cursor only the draw of the row.
7442 (workAreaMotionNotify): fix jumping over high rows.
7444 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7446 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7449 2002-04-16 Juergen Vigna <jug@sad.it>
7451 * text2.C (setCursor): set also the irow().
7452 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7454 (cursorDown): support for locking an inset if the x_fix value goes
7455 inside it. That way I can transverse insets too with cursor up/down.
7457 * lyxrow.h: added irow helper function same as other (i) functions.
7459 * BufferView_pimpl.C (cursorPrevious):
7460 (cursorNext): fixed for insets!
7462 2002-04-15 Juergen Vigna <jug@sad.it>
7464 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7465 position otherwise it is wrong in some cases.
7467 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7468 inside the inset before the call.
7470 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7472 * buffer.[Ch] (getBibkeyList): make it const.
7474 2002-04-12 Juergen Vigna <jug@sad.it>
7476 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7478 * text2.C (getCursorX): new helper function
7479 (setCursor): compute also ix_
7480 (setCursorFromCoordinates): set also ix.
7482 * lyxcursor.h: added ix_ and helper functions.
7484 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7486 * buffer.C (insertStringAsLines): dont break paragraph if the this
7487 paragraph is inside an inset which does not permit it!
7489 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7490 also with no chars on this paragraph.
7491 (paintRowText): only paint stuff if it's inside the workarea!
7493 * paragraph.C (breakParagraph): honor keepempty flag and break the
7494 paragraph always below not above.
7496 * BufferView2.C (unlockInset): update the paragraph layout on inset
7497 unlock as we changed paragraph in such a case.
7499 * lyxfind.C (LyXFind): clear the former selection if not found!
7501 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7502 again called in insertChar().
7504 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7505 an inset which uses the whole row!
7506 (rightMargin): ditto.
7507 (insertChar): force a rebreak if we inserted an inset!
7509 2002-03-28 Herbert Voss <voss@lyx.org>
7511 * lyxlength.[Ch]: add inBP() to get the right PS-point
7512 units (BigPoint). With inPixels we have rounding errors
7514 2002-04-11 Juergen Vigna <jug@sad.it>
7516 * text2.C (setCursorFromCoordinates): set iy to the right value.
7517 (setCursor): add check if row->previous exists!
7519 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7520 an old float_type as this was the case in the old code!
7522 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7524 * BufferView2.C (showLockedInsetCursor): use iy
7525 (fitLockedInsetCursor): ditto
7527 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7528 locked insets as there we have the right value now.
7530 * lyxcursor.C: added iy_ variable and iy functions to set to the
7531 baseline of cursor-y of the locked inset.
7533 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7534 (setCursor): fixed for insets which need a full row.
7536 * text.C (rowLastPrintable): don't ignore the last space when before
7537 an inset which needs a full row.
7538 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7539 as last character of a row when before a inset which needs a full row.
7541 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7543 * version.C.in: update date
7545 * text2.C (fullRebreak): try to always return true and see what
7548 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7550 * MenuBackend.C (expand): use Floating::listName
7552 * FloatList.C (FloatList): add listName argument to the built-in
7555 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7556 text associated with the float.
7558 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7560 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7562 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7564 * ShareContainer.h: add a couple of missing typenames.
7566 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7568 * lyxrc.C (getDescription): use _() correctly rather than N_().
7570 2002-03-28 Herbert Voss <voss@lyx.org>
7572 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7573 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7575 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7577 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7578 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7580 2002-03-29 Juergen Vigna <jug@sad.it>
7582 * lyxfunc.C (dispatch): add a missing fitCursor call.
7584 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7585 it was scrolled by a cursor move, so return the bool status.
7587 * BufferView.C (fitCursor): return the bool flag also to the outside
7588 world as this is needed.
7590 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7592 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7593 call the edit() as it is not needed (and wrong) IMO.
7594 (workAreaButtonPress): set the screen_first variable before evt.
7595 unlock the inset as this may change screen_first and then we have
7596 a wrong y position for the click!
7598 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7600 * MenuBackend.C (expand): another translation that I missed
7602 2002-03-28 Juergen Vigna <jug@sad.it>
7604 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7606 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7608 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7610 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7612 * MenuBackend.C (expand): fix export/view/update when there is no
7615 2002-03-27 Herbert Voss <voss@lyx.org>
7617 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7620 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7622 * bufferview_funcs.C (currentState): only show paragraph number
7623 for is DEVEL_VERSION is set.
7625 * lyxfunc.C (dispatch): put warning in INFO channel
7627 * MenuBackend.C (expand): translate the name of floats
7629 * FloatList.C (FloatList): mark the float names for translation
7631 * converter.C (convert): use LibScriptSearch
7633 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7635 * MenuBackend.C (defaults): fix default menu (we might as well get
7638 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7640 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7643 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7645 * lyxvc.C: reorder includes.
7647 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7649 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7652 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7654 * CutAndPaste.C: change layouts earlier on paste
7655 to avoid crashing when calling getFont()
7657 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7659 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7662 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7664 * WorkArea.C: remove 'Pending' debug message.
7666 * most files: ws cleanup
7668 * buffer.[Ch]: ws changes
7670 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7672 2002-03-21 Juergen Vigna <jug@sad.it>
7674 * tabular.C (SetMultiColumn): collapse also the contents of the
7675 cells and set the last border right. Added a Buffer const * param.
7677 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7679 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7682 2002-03-19 Juergen Vigna <jug@sad.it>
7684 * text2.C (clearSelection): reset also xsel_cache.
7686 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7687 where it needs to be called (John tells us to do so too :)
7688 (selectionLost): reset sel_cache.
7690 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7692 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7694 * text2.C (setCursorIntern): put debuging code in INSETS channel
7696 2002-03-19 André Pönitz <poenitz@gmx.net>
7698 * lyxfunc.C: tiny whitespace change
7700 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7702 * ToolbarDefaults.C (init):
7703 * LyXAction.C (init):
7705 * BufferView_pimpl.C (Dispatch):
7706 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7708 2002-03-19 Allan Rae <rae@lyx.org>
7710 * exporter.C (Export): removeAutoInsets before doing anything else.
7711 While I've just introduced a dependency on BufferView this really is
7712 the best place to clean the buffer otherwise you need to cleanup in
7713 a dozen places before calling export or cleanup in a dozen functions
7716 * converter.C (runLaTeX):
7717 (scanLog): Better handling of removeAutoInsets and screen updates.
7719 * lyxfunc.C (dispatch): small whitespace changes
7721 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7723 * WorkArea.C (C_WorkAreaEvent): return a value.
7724 (event_cb): return 1 if we handled the event, 0 otherwise.
7726 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7728 2002-03-18 Juergen Vigna <jug@sad.it>
7730 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7731 (GetAdditionalWidth): ditto.
7735 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7736 inset if we're there actually (probably not used right now but this
7737 is the direction to go for unifying code).
7738 (paste): disable code to clear the selection.
7740 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7741 inside an InsetText and move the check further up as it is in the
7744 * text2.C (pasteSelection): set a selection over the pasted text.
7746 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7748 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7749 and libgraphics to build on Cygwin.
7751 2002-03-15 Juergen Vigna <jug@sad.it>
7753 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7754 inserting an Inset into the paragraph. I know this is not the best
7755 fix but we already use current_view in CutAndPaste so we will remove
7756 all of it's using at the same time.
7758 * buffer.C (sgmlError): deactivated function till it is rewritten in
7759 the right mode, now it can create problems.
7761 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7762 before accessing it.
7764 2002-03-14 Juergen Vigna <jug@sad.it>
7766 * undo_funcs.C (textHandleUndo): do the right thing when updating
7767 the inset after the undo/redo.
7769 * text2.C (setCursor): just some testcode for #44 not ready yet.
7771 * undo_funcs.C (textHandleUndo): set the next() and previous()
7772 pointers of the paragraph to 0 before deleting otherwise we have
7773 problems with the Paragraph::[destructor].
7775 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7776 on a paragraph insertion.
7778 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7780 * buffer.C (asciiParagraph): use += operator for char append to
7783 * paragraph.C (getFontSettings): compare >= not just >
7784 (highestFontInRange): ditto
7787 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7789 * paragraph.C: change several algorithm to be more appripriate for
7790 the problem domain. This is lookip in FontList and in the InsetList.
7792 2002-03-13 André Pönitz <poenitz@gmx.net>
7795 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7797 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7802 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7804 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7806 * Painter.C (display): anon helper function, adjust code for this
7808 (pixmap): remove function.
7810 * Painter.h: remove private display variable.
7812 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7814 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7816 * WorkArea.[Ch]: remove figinset_canvas cruft.
7818 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7820 * lyxtextclass.C (operator): add one item cache optimization.
7822 * bufferlist.h: doxy changes
7824 * bufferlist.C: ws changes
7826 * DepTable.[Ch] (ext_exist): place const in the right spot.
7828 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7830 (workAreaExpose): call resizeInsets when the with BufferView changes.
7831 (Dispatch): adjust for protectedBlank removal
7832 (specialChar): call updateInset if the insert went ok.
7834 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7835 specialChar instead.
7837 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7839 * BufferView.h: doxy change
7841 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7843 * lyxtextclass.C (operator[]): remove non-const version
7844 (defaultLayout): remove non-const version
7846 2002-03-12 Juergen Vigna <jug@sad.it>
7848 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7849 did resize the LyXText too.
7851 * buffer.C (readLyXformat2): set layout information on newly allocated
7854 * tabular.C (OldFormatRead): set layout information on the paragraph.
7856 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7858 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7860 2002-03-11 Juergen Vigna <jug@sad.it>
7862 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7864 (resizeCurrentBuffer): force also the insets to resize themselfes.
7865 (moveCursorUpdate): fixed up for InsetText.
7867 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7870 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7871 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7872 value of Dialogs::tooltipsEnabled().
7873 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7875 2002-03-08 Juergen Vigna <jug@sad.it>
7877 * BufferView_pimpl.C (updateInset): update inset inside inset also
7878 if it isn't inside theLockingInset().
7880 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7882 * buffer.C (asciiParagraph): redo some of the word and line length
7884 (getLists): look for Caption instead of caption.
7886 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7888 * buffer.C (Buffer): initialize niceFile to true
7891 (makeDocBookFile): make sure niceFile is true on exit
7893 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7895 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7897 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7899 * LyXSendto.C: remove.
7900 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7901 * lyx_gui.C: remove now-redundant comment.
7902 * ColorHandler.h: remove forward declaration of class WorkArea.
7903 * lyxfunc.C: remove #include "WorkArea.h".
7905 2002-03-07 Juergen Vigna <jug@sad.it>
7907 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7908 got moved away with the DEPM and also set the inset_owner always
7909 right which before could have been omitted.
7911 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7913 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7914 wanted layout is not found.
7916 2002-03-07 Juergen Vigna <jug@sad.it>
7918 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7920 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7922 * paragraph.C (breakParagraph): use default layout not layout of
7924 (Paragraph): clear ParagraphParameters.
7926 2002-03-06 Juergen Vigna <jug@sad.it>
7928 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7929 otherwise it would not be a valid lenght. Fixed a special case in
7930 the minipage compatibility read where we end the document with a
7933 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7934 was set as it could be 0 for InsetTexts first entry.
7936 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7938 * paragraph.C (writeFile): if layout is empty write out
7939 defaultLayoutName().
7941 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7942 file without named layout we set layout to defaultLayoutName().
7944 2002-03-06 Juergen Vigna <jug@sad.it>
7946 * CutAndPaste.C (copySelection): set layout for new paragraph.
7948 * text.C (prepareToPrint): leave ERT inset left aligned
7949 (leftMargin): don't indent paragraphs inside ERT insets
7951 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7953 * paragraph.C (breakParagraph): dont call clear do the work manually
7955 * paragraph.[Ch] (clear): remove function
7957 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7959 * paragraph.C (Paragraph): dont call clear, the work has already
7962 * lyxtextclass.C (operator): assert if n is empty
7964 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7965 work manually instead.
7967 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7969 * BufferView_pimpl.C: protect selectionLost against text == 0
7971 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7973 * text.C (breakParagraph): fix a setting layout to '0' problem.
7975 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7977 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7978 final location of file, for the included files, and graphics.
7980 2002-03-05 Juergen Vigna <jug@sad.it>
7982 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7984 2002-03-04 Juergen Vigna <jug@sad.it>
7986 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7988 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7989 last column of multicolumn cells.
7990 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7992 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7994 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7995 file if it doesn't go to a temporary file.
7997 * buffer.C (sgmlOpenTag):
7998 (sgmlCloseTag): remove extra newline insertion.
8000 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8002 * text.C (getRowNearY): comment out debug msg
8004 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8006 * text2.C: first -> first_y
8008 * text.C (getRowNearY): add some attemts at a possible
8009 optimization, not working.
8011 * tabular.[Ch]: add BufferParams to several function so that newly
8012 created paragraph can be initialized to he default layotu for the
8015 * tabular-old.C (ReadOld): add buf->params to call of Init
8017 * screen.C: rename text->first to text->first_y
8019 * paragraph.C (breakParagraph): always set layout in the broken
8022 * lyxtextclass.C (Read): remove lowercase
8025 (delete_layout): ditto
8027 * lyxtext.h: rename first -> first_y
8029 * lyxlayout.C (Read): remove lowercase
8032 (obsoleted_by): ditto
8034 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8036 * buffer.C (insertErtContents): add params are to InsetERT
8037 (parseSingleLyXformat2Token): add code to check if a paragraphs
8038 layout really exist.
8039 (parseSingleLyXformat2Token): add params to several inset
8041 (asciiParagraph): remove lowercase, do the layout comparisons with
8044 * BufferView_pimpl.C (cursorNext): first -> first_y
8045 (resizeCurrentBuffer): first -> first_y
8046 (updateScrollbar): first -> first_y
8047 (scrollCB): first -> first_y
8048 (workAreaMotionNotify): first -> first_y
8049 (workAreaButtonPress): first -> first_y
8050 (checkInsetHit): first -> first_y
8051 (cursorPrevious): first -> first_y
8052 (cursorNext): first -> first_y
8053 (Dispatch): add buffer_->params to severl inset contructors
8055 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8057 * lyxlayout.C (Read): remove some debug info that I forgot.
8059 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8060 clean up the code slightly.
8061 (makeLinuxDocFile): ditto
8062 (makeDocBookFile): ditto
8064 * text2.C: layout as string
8066 * text.C: layout as string
8068 * paragraph_pimpl.C: layout as string
8070 * paragraph.[Ch]: layout as string
8072 * lyxtextclasslist.[Ch]: layout as string
8074 * lyxtextclass.[Ch]: layout as string
8076 * lyxtext.h: layout as string
8078 * lyxlayout.[Ch]: layout as string
8080 * lyx_cb.C: layout as string
8082 * bufferview_funcs.C: layout as string
8084 * bufferparams.C: layout as string
8086 * buffer.C: layout as string
8088 * LyXView.[Ch]: layout as string
8090 * LaTeXFeatures.[Ch]: layout as string
8092 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8094 * BufferView_pimpl.C: change current_layout to string, remove
8099 (workAreaButtonRelease): layout as string
8101 * BufferView2.C (unlockInset): adjust
8103 * vspace.C (asLatexCommand): use an explict temp variable.
8105 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8107 * Makefile.am: use FRONTEND_*
8109 2002-03-01 Juergen Vigna <jug@sad.it>
8111 * tabular.C (SetWidthOfMulticolCell): changed to something better
8112 I hope but still work in progress.
8113 (recalculateMulticolumnsOfColumn): renamed function from
8114 recalculateMulticolCells as it is more appropriate now.
8115 (SetWidthOfCell): calculate multicols better.
8117 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8119 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8121 * lyxfunc.C (processKeySym): print sequence also if it is
8122 `deleted' (complete)
8124 * kbsequence.C (print): print sequence even if it is deleted
8125 (complete would be a better word, actually).
8127 * lyxfunc.C (dispatch): print complete options after a prefix key
8129 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8131 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8133 * text2.C (setCharFont): eliminate setCharFont code duplication.
8135 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8137 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8138 LFUN_TABULAR_FEATURE (bug #177)
8140 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8142 * Makefile.am: remove figure.h
8144 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8146 * Bufferview_pimpl.C:
8158 * text2.C: remove #include "lyx_gui_misc.h".
8160 * LaTeX.C: added #include <cstdio>
8162 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8164 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8165 that the paragraph following this one can have.
8167 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8169 * vspace.C (asLatexCommand): fix bogus gcc warning
8171 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8173 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8175 * text2.C (setLayout): get rid of redundant code
8177 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8179 * text2.C (incDepth): make sure depth cannot be increased beyond
8182 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8184 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8185 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8187 * PainterBase.h (image):
8188 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8191 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8195 * BufferView_pimpl.C:
8196 * BufferView_pimpl.h:
8216 * sp_spell.C: remove fig inset, and the crap house of
8217 cards that follows it
8219 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8225 * nt_defines.h: move .h into support/
8227 * vms_defines.h: remove
8229 * WorkArea.C: add space in debug output
8233 * buffer.C: add WITH_WARNINGS
8237 * bufferlist.C: s/retrive/retrieve/, add docs
8248 * lyxgui.C: add ID to X error handler
8250 * lyxtestclass.c: fix typo
8252 2002-02-26 Juergen Vigna <jug@sad.it>
8254 * tabular_funcs.C (write_attribute): changed so that some default
8255 attributes are not written at all.
8256 (getTokenValue): set default values before trying to read the
8257 value so we have the return value always set as default if we don't
8258 find the token we search for.
8260 * tabular.C (Write): write bools as bools not as strings!
8262 2002-02-22 Juergen Vigna <jug@sad.it>
8264 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8265 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8267 * text.C (leftMargin): don't add an indent for paragraphs inside
8268 tabular cells (fix #208).
8270 2002-02-21 José Matos <jamatos@fep.up.pt>
8272 * tabular.C (docBook): fixed support for long tables.
8274 2002-02-20 Juergen Vigna <jug@sad.it>
8276 * text2.C (getFont): get the drawing font of the Inset if this
8277 paragraph is inside an inset (only important for InsetERT for now).
8279 * buffer.C (insertErtContents): use new lanugage params in ERT
8282 * CutAndPaste.C: commenting out seemingly uneeded code.
8284 2002-02-19 Allan Rae <rae@lyx.org>
8286 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8287 Iterators might be simple to use but they also get invalidated.
8288 (removeAutoInsets): renamed saved cursor tracking variables and added
8289 some comments to clarify what everything does.
8291 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8298 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8299 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8302 * vc-backend.h: remove #include "support/syscall.h"
8306 * converter.C: rearrange #includes in Lars' approved fashion.
8308 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8309 forward declare class Timeout in the header file.
8311 * XFormsView.C: changes due to the above.
8313 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8316 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8317 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8319 2002-02-18 José Matos <jamatos@fep.up.pt>
8321 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8324 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8326 * a lot of small ws changes
8327 * add a lot of using std::XXX
8328 * use std construcs some places where approp.
8329 * use some exisint stuff from lyxfunctional where approp.
8330 * Make file changes to use partial linking (lets test this now...)
8332 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8336 remove #include "support/syscontr.h" as it's redundant. Always has been.
8344 change Systemcalls::System to Systemcalls::Wait and
8345 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8346 No change of functionality, just reflects the stripped down Systemcalls
8349 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8351 * debug.[Ch]: add a GRAPHICS type to the enum.
8353 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8355 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8357 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8360 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8362 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8363 match the changes below.
8365 * text2.C (toggleInset): if there is not editable inset at cursor
8366 position, try to see if cursor is _inside_ a collapsable inset
8369 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8371 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8372 document menu has a nice checkbox
8374 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8376 * lyxlength.C (asLatexString): change PW to output as percent of
8379 * lengthcommon.C: change '%' to 't%'
8381 * lyxfunc.C (dispatch): a few comments from Martin
8383 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8387 * BufferView_pimpl.h:
8388 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8391 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8393 * vspace.C (inPixels): fix compiler warning
8395 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8397 * lyxfunc.C (getStatus): fix status message for disabled commands.
8399 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8401 * BufferView_pimpl.C: fix crash on close buffer
8402 during selection (#227)
8404 2002-01-27 Herbert Voss <voss@lyx.org>
8406 * buffer.C: link old Figure to new graphic inset
8408 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8410 * FontLoader.C (getFontinfo): Change the latex font names in order
8411 to match the names of type1inst.
8413 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8415 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8417 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8420 (remove_files_with_extension): ditto
8421 (remove_file): ditto
8424 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8425 document is smaller than the work area height. Do not initialize
8426 static variables to 0.
8428 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8430 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8432 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8433 LFUN_LAYOUT_PARAGRAPHS.
8435 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8436 tabular. It is possible to provide a possible cell, which will
8437 typically be the actcell from the corresponding insettabular
8439 * lyxfunc.C (getStatus): small cleanup; disable
8440 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8443 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8445 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8447 * paragraph.C (startTeXParParams):
8448 (endTeXParParams): new methods. The LaTeX code to
8449 start/end paragraph formatting
8450 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8451 empty (fixes bug #200)
8453 * vspace.C (inPixels): adapt to the change below
8454 (inPixels): [later] more cleanups (remove unused variables)
8456 * lyxlength.C (inPixels): change to use a width and a height as
8459 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8461 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8462 Replaced with \paperwidth
8464 * DepTable.C (insert): add std:: qualifier
8466 2002-01-18 Allan Rae <rae@lyx.org>
8468 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8471 * text.C (drawInset): Turned out I didn't know enough about how
8472 rebreaking worked. This fixes most of the redraw problems. I see
8473 an occasional cursor trail when a line is broken now and the cursor
8474 placement can seem out by a few pixels also after a rebreak.
8476 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8478 * buffer.C (parseSingleLyXformat2Token): update because minipage
8479 width is now a LyXLength
8481 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8483 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8486 2002-01-17 Juergen Vigna <jug@sad.it>
8488 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8490 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8491 is set correctly and the inset is updated correctly.
8493 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8495 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8496 the beginning of the loop.
8498 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8500 * lyxrc.C: improve help for use_scalable_fonts
8502 2002-01-17 Allan Rae <rae@lyx.org>
8504 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8506 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8508 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8509 make sure to set their inset_owner to the right value (bug #171)
8511 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8514 * DepTable.C: Implement mtime checking to reduce time spent doing
8517 2002-01-16 Juergen Vigna <jug@sad.it>
8519 * tabular.C (GetAdditionalHeight): one of error fixed.
8521 * lyxrc.C (output): small fix in writing use_pspell.
8523 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8525 * sp_base.h: #include LString.h
8527 2002-01-16 Allan Rae <rae@lyx.org>
8529 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8530 Can someone check this please?
8532 * text.C (drawInset): It was possible that p.row would be removed by
8533 breakAgainOneRow upsetting a few other settings. There may be another
8534 small tweak possible by setting need_break_row = 0 when p.row has been
8535 removed but I don't know enough about the logic here.
8537 2002-01-15 Allan Rae <rae@lyx.org>
8539 * text.C (insertChar): removed conditional truism.
8541 * BufferView2.C (removeAutoInsets): More tweaks.
8542 cur_par_prev could be a stray pointer. Check for trailing empty line
8543 in case last line was cur_par and only had an error inset on it.
8545 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8547 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8550 * vc-backend.C (most methods):
8551 * exporter.C (Export):
8552 * converter.C (convert):
8554 * LyXSendto.C (SendtoApplyCB):
8555 * lyxfunc.C (dispatch):
8559 * lyx_cb.C (AutoSave):
8561 * BufferView_pimpl.C (MenuInsertLyXFile):
8562 * buffer.C (runChktex): use Buffer::filePath().
8564 * buffer.h: rename filename to filename_; rename filepath to
8565 filepath_ and make it private
8566 (filePath): new method
8568 * buffer.C (writeFile): use fileName()
8571 * lyx_main.C (init): fix starting of LyX when the binary is a
8572 link from so,ewhere else.
8574 * minibuffer.C: include <cctype> for isprint
8576 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8578 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8579 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8580 name clash with InsetCollapsable's width function.
8582 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8584 * lastfiles.C: include <iterator>
8586 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8588 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8591 * buffer.C (makeLaTeXFile): ditto.
8592 Also make loop operation more transparent.
8594 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8596 * ToolbarDefaults.C: remove trailing comma closing namespace.
8598 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8600 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8603 * trans.C (Load): comment out unused variable, allowed.
8605 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8607 * minibuffer.[Ch] (append_char): new method to recieve input from the
8608 drop-down completion browser. If a key was pressed, then recieve this
8609 char and append it to the existing string.
8610 (peek_event): modify the positioning data passed to the completion
8611 browser so that it can be placed above the minibuffer rather than below.
8612 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8614 * LyXAction.C (init): alloe error-next for readonly documents.
8616 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8619 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8621 * bufferlist.C (readFile): create the buffer _after_ checking that
8624 * lyxfunc.C (verboseDispatch): fix handling of arguments
8626 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8628 * lyxrc.C: use string::erase() instead of initializing to "".
8631 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8633 * BufferView_pimpl.h:
8634 * BufferView_pimpl.C:
8637 * text2.C: tell X when we have made a selection for copying
8639 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8641 * BufferView_pimpl.C (MenuInsertLyXFile):
8642 * lyxfunc.C (menuNew):
8644 (doImport): add shortcuts to directory buttons
8646 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8649 * lyxfunc.C (setStatusMessage):
8650 (getStatusMessage): new methods
8651 (getStatus):use setStatusMessage instead of setErrorMessage
8652 (dispatch): when function is disabled, set error message here
8653 [instead of in getStatus previously]
8655 * BufferView_pimpl.C (workAreaButtonRelease): update
8656 toolbar/menubar here too.
8658 2002-01-13 Allan Rae <rae@lyx.org>
8660 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8661 Now seems indestructible. Remaining task is to audit all other
8662 code affected by deleteEmptyParagraphMechanism. One small quirk
8663 left is that an empty document with an error in the preamble can
8664 be made to report an error but no error box appears. I don't know
8666 (removeAutoInsets): Improved comments.
8668 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8671 * Thesaurus.C: update for Aiksaurus 0.14
8673 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8675 * text2.C (firstParagraph): removed member function, all uses
8676 replaces with ownerParagraph
8677 (redoParagraphs): here
8679 (toggleAppendix): here
8680 * BufferView2.C (insertErrors): here
8681 (setCursorFromRow): here
8683 2002-01-13 Allan Rae <rae@lyx.org>
8685 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8686 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8687 There is still a way to segfault this although you may have to do this
8688 multiple times: Have an InsetERT with an unknown command in it.
8689 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8690 <down-arrow>, <Enter> again, View->DVI, BANG!
8692 * text2.C (setCursor):
8693 (deleteEmptyParagraphMechanism):
8694 * lyxtext.h (setCursor):
8695 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8696 Making use of the return value may help fix other bugs.
8698 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8700 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8702 * LyXView.C (updateMenubar): call MenuBar::update here
8703 (updateToolbar): but not here
8704 (showState): do not update toolbar/menubar
8706 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8707 should need to care about that.
8709 * lyxfunc.C (verboseDispatch): simplify a bit
8710 (getStatus): have a version which takes a pseudoaction, and
8711 another which requires a (kb_action,string).
8713 * LyXAction.C (retrieveActionArg): make it work also when action
8714 is not a pseudo-action.
8715 (getActionName): simplify a bit
8718 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8720 * lyxfunc.C (verboseDispatch): new families of methods with
8721 several ways to specify a command and a bool to indicate whether
8722 the command name and shortcut should be displayed in minibuffer
8723 (eventually, we could extend that to a finer bitmask like
8724 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8725 (dispatch): the pristine dispatch command which just, well,
8726 dispatchs! Note it still sets its result to minibuffer; I'm not
8729 * lyxfunc.h: remove setHintMessage
8731 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8733 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8735 * BufferView_pimpl.C (specialChar): delete new inset if we have
8736 not been able to insert it.
8738 * kbmap.C: revert to using int instead of kb_action, since all we
8739 are dealing with is pseudo-actions.
8741 * LyXAction.C (searchActionArg): change to return int instead of
8742 kb_action, since the result is a pseudoaction.
8744 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8746 * buffer.C (insertErtContents): Fix (partially) the font bug.
8748 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8750 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8751 as the other one is broken on my machine!
8753 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8756 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8758 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8760 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8761 reflect their actual use. Provide compatibility code for older lyxrc
8764 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8766 change names of popup font variables in line with the changes to lyxrc.C
8768 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8770 * buffer.C (asciiParagraph): avoid outputing a word twice after
8773 * lyxrc.C (getDescription): document that document_path and
8774 template_path can be empty.
8776 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8778 * LaTeXFeatures.C (getMacros):
8779 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8781 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8783 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8785 (getPackages): rename feature "floats" to "float". Use an array to
8786 iterate over 'simple' features (i.e. just a \usepackage). Add
8787 handling of "amsmath" (renamed from "amsstyle").
8789 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8791 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8794 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8796 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8797 FuncStaus::FuncStatus & FuncStaus::some_method().
8799 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8801 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8802 of the func_satus stuff. Edited and massaged in various ways by
8805 * lyxfunc.C (getStatus): use FuncStatus
8807 2002-01-08 Juergen Vigna <jug@sad.it>
8809 * text.C (nextBreakPoint): use function Inset::isChar().
8811 * paragraph.C (TeXOnePar): use function
8812 Inset::forceDefaultParagraphs.
8814 * buffer.C (latexParagraphs): use function
8815 Inset::forceDefaultParagraphs.
8817 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8819 * lyx_gui.C (init): set the style of the menu popups to
8820 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8822 2002-01-07 Juergen Vigna <jug@sad.it>
8824 * text.C (setHeightOfRow): small fix
8825 (prepareToPrint): don't look at alignment if we don't have the place
8828 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8830 * box.C: New file. Move the Box methods and functions out of box.h,
8831 following Lars' suggestion.
8833 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8835 * box.h: #include "support/LOstream.h", needed for inlined function.
8838 * lyxtextclasslist.C: added some using std declarations.
8840 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8842 * box.h: make signed dimensions to allow insets wider than
8843 the screen (bug #162)
8845 * BufferView_pimpl.C: add some insetHit debug
8847 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8849 * vc-backend.C: add FIXME
8851 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8853 * lyxfunc.C (getStatus): enable code for showing math font status
8856 2002-01-07 Juergen Vigna <jug@sad.it>
8858 * text.C (nextBreakPoint): removed debug output not needed anymore.
8860 2002-01-06 Juergen Vigna <jug@sad.it>
8862 * text.C (nextBreakPoint): fixed up this function we had this bug
8863 since ever but now hopefully we break row better.
8864 (insertChar): we have to check if an inset is the next char as it
8865 could now happen that a large inset is causing a break.
8867 2002-01-05 Juergen Vigna <jug@sad.it>
8869 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8870 if it doesn't like to be drawed.
8872 2002-01-04 Juergen Vigna <jug@sad.it>
8874 * BufferView2.C (lockInset): forgot to set a cursor.
8876 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8878 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8883 * form_maths_panel.C:
8884 * form_maths_panel.h:
8885 * form_maths_panel.fd: implemented sub- and super- buttons in math
8888 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8889 (or ^ space) to be used as in TeX (req'd by André).
8891 * lyxfunc.C: Allow ^ and _ again to be used both as
8892 super/subscript (mathed) and as themselves (in text).
8894 2002-01-03 Allan Rae <rae@lyx.org>
8896 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8897 "LyX" or the filename of the current buffer if it has one. This is a
8898 modified form of John Levon's patch.
8900 * XFormsView.C (setWindowTitle): also set icon title.
8902 * LyXView.h (setWindowTitle): signature changed.
8903 * XFormsView.h (setWindowTitle): ditto.
8905 2002-01-02 Juergen Vigna <jug@sad.it>
8907 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8909 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8911 * screen.C (topCursorVisible): introduce a temp var for
8912 text->cursor.row(), handle the case where this row is null. (kindo
8915 * text2.C (setCursor): add a couple of asserts.
8917 * paragraph.h (inset_iterator): add -> operator
8919 * paragraph.[Ch] (autoDeleteInsets): remove member function
8921 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8922 cursor pos correctly and handle inset deletion by itself.
8923 (insertErrors): move iterator declaration out of for expression
8925 * lyxtextclass.C: add <algorithm>
8927 * Makefile.am: added the new files to sources, removed layout.C
8929 * layout.C: removed file
8931 * layout.h: remove LYX_DUMMY_LAYOUT
8933 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8937 * lyxtextclass.[Ch]:
8938 * lyxtextclasslist.[Ch]: new files
8940 * include order changes to a lot of files, also changes because of
8943 2001-12-27 Juergen Vigna <jug@sad.it>
8945 * buffer.C (asciiParagraph): more fixes.
8947 * tabular.C (ascii): make ascii export support export of only the
8948 data separated by a column-delimiter.
8949 (ascii): better support for ascii export.
8951 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8953 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8955 * tabular_funcs.C: use a "using std::getline" instead of the
8956 previous fix from Angus (necessary for cxx + lyxstring)
8958 2001-12-24 Juergen Vigna <jug@sad.it>
8960 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8962 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8963 problems. First check a minipage also if we have some ert-contents
8964 (not only on par->size(), second set the right depth of the paragraph
8965 on the relink to the root-paragraph-list!
8967 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8968 which then did not anymore update the main paragraphs on undo/redo!
8970 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8972 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8973 code. Support all font-changing funcs (even those which are not in
8974 menu currently). Support for reporting font settings in
8975 mathed (disabled until Andre provides a function on mathed's side).
8977 * func_status.h (toggle): small helper function to set toggle
8980 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8982 * tabular_funcs.C: getline -> std::getline
8984 2001-12-21 Juergen Vigna <jug@sad.it>
8986 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8987 accessed and could be 0 (I couldn't generate this but it seems
8990 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8992 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8993 * tabular_funcs.h: here and include iosfwd
8995 2001-12-20 Juergen Vigna <jug@sad.it>
8997 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8998 inside inset but undo_par was.
9000 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9002 * Thesaurus.C: always include <config.h> in sources.
9006 * box.h: do not include <config.h> in header files
9008 * text.C (paintLastRow): remove unused variable
9010 * text.C (transformChar):
9012 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9015 * font.C (width): rewrite to use uppercase() instead of
9018 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9020 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9022 * lyxfind.C: clean up of find failure position change
9024 2001-12-20 Juergen Vigna <jug@sad.it>
9026 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9028 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9029 (TeXRow): added to LaTeX a single tabular row.
9030 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9031 (Latex): simplified and finally good LT-h/f support.
9032 (various_functions): just small adaptions for LT-h/f support.
9034 * tabular_funcs.[hC]: added and moved here all not classfunctions
9037 2001-12-19 Juergen Vigna <jug@sad.it>
9039 * tabular.[Ch]: better support for longtabular options (not finished
9042 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9044 * text.C (paintLastRow): use the label font instead of the font of
9045 the last character to compute the size of *_BOX. This makes more
9046 sense and avoids a crash with empty paragraphs.
9047 Use Painter::rectangle to draw EMPTY_BOX.
9049 2001-12-19 Juergen Vigna <jug@sad.it>
9051 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9052 the paragraphs if the replaced paragraph is not the first one!
9053 Tried to delete not used paragraphs but does not work yet so for
9054 now it's inside #ifdef's and by default off!
9056 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9058 * MenuBackend.C: include "lyx_main.h" instead of declaring
9059 lastfiles (actually was declared as LastFiles* instead of a
9062 2001-12-17 Juergen Vigna <jug@sad.it>
9064 * tabular.C (AppendColumn): applied John's fix
9066 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9070 * BufferView_pimpl.h:
9071 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9074 * box.h: new start of class for above
9076 * lyxfunc.C: ignore space-only minibuffer dispatches.
9077 Show the command name when it doesn't exist
9079 * minibuffer.C: don't add empty lines to the history
9081 * minibuffer.C: add a space on dropdown completion
9083 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9085 * text.C: fix line above/below drawing in insets
9087 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9089 * lyxlength.C (LyXLength): Initialize private variables.
9091 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9093 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9094 when inserting error insets.
9096 2001-12-13 Juergen Vigna <jug@sad.it>
9098 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9099 actually sometimes the before-paragraph.
9100 (setUndo): don't clear the redostack if we're not actually undoing!
9102 2001-12-06 Juergen Vigna <jug@sad.it>
9104 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9105 and fixed redoing of main paragraph, so we can use it now ;)
9107 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9109 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9111 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9114 2001-12-13 André Pönitz <poenitz@gmx.net>
9117 * undo_func.C: minor cleanup
9119 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9121 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9122 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9123 font in urw-fonts package which is marked as -urw-fontspecific and
9124 does not work (incidentally, changing the encoding in the
9125 fonts.dir of this package to -adobe-fontspecific fixes the
9128 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9129 is a crash when undoing first paragraph (Juergen, please take a
9130 look). THis does not mean the undo fix is wrong, just that it
9133 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9134 the (Paragraph*) version when needed instead of duplicating the
9137 * text.C (workWidth): use Inset::parOwner to find out where the
9138 inset has been inserted. This is a huge performance gain for large
9139 documents with lots of insets. If Inset::parOwner is not set, fall
9140 back on the brute force method
9142 * paragraph_pimpl.C (insertInset):
9143 * paragraph.C (Paragraph):
9144 (cutIntoMinibuffer): set parOwner of insets when
9145 inserting/removing them
9147 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9149 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9155 * mathed/formulabase.C:
9156 * mathed/math_cursor.[Ch]:
9157 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9160 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9162 * lyxlength.[Ch] (operator!=): new function
9164 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9166 * text.C (workWidth): use Inset::parOwner to find out where the
9167 inset has been inserted. This is a huge performance gain for large
9168 documents with lots of insets. If Inset::parOwner is not set, fall
9169 back on the brute force method
9171 * paragraph_pimpl.C (insertInset):
9172 * paragraph.C (Paragraph):
9173 (cutIntoMinibuffer): set parOwner of insets when
9174 inserting/removing them
9176 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9178 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9180 * tabular-old.C (getTokenValue):
9181 * tabular.C (getTokenValue):
9182 (write_attribute): new versions for LyXLength
9183 (everywhere): adjust the use of widths
9185 * tabular.h: change the type of widths from string to LyXLength
9187 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9189 * paragraph.C: fixed missing line number count when exporting
9190 Environments to LaTeX file
9192 * buffer.C: added informational message for checking line numbers.
9194 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9196 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9197 paragraph, do the 'double space' part, but not the 'empty
9200 * text.C (workWidth): small optimization
9201 (getLengthMarkerHeight): use minimal size for negative lengths.
9203 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9205 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9207 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9209 2001-12-11 André Pönitz <poenitz@gmx.net>
9212 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9214 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9216 * text2.C: keep selection on a setFont()
9218 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9220 * lyx_cb.C: another bv->text misuse, from insert label
9222 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9225 * kbsequence.C: re-instate nmodifier mask
9227 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9229 * lyx_main.h: make lyxGUI private.
9231 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9233 * lyxfind.C: place the cursor correctly on failed search
9235 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9237 * text.C (getLengthMarkerHeight): for small heights, the arrows
9238 are not always on top/bottom of the text
9239 (drawLengthMarker): smaller arrows; take the left margin in
9240 account; draw also vfills.
9242 (paintLastRow): remove special code for vfill and standard spaces,
9243 since everything is handled in drawLengthMarker now.
9245 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9247 * buffer.C (insertErtContents): try to handle font and language
9248 interaction a bit better.g
9250 * ColorHandler.C (updateColor): change the hash to cover the whole
9251 LColor enum, ws cleanup
9252 (getGCLinepars): ditto
9253 (getGCLinepars): only lookup in the linecache once.
9255 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9257 * iterators.C (operator++): Make the iterator more robust
9259 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9261 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9263 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9266 * text.C: better added space drawing
9268 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9271 * BufferView2.C: fix layout combo update on inset unlock
9273 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9275 * Makefile.am: don't compile unused files
9277 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9281 * LyXAction.C: remove old LFUN_LAYOUTNO
9283 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9285 * paragraph_pimpl.h:
9286 * paragraph_pimpl.C: isTextAt() doesn't need font param
9288 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9291 * lyxlex.C: little cleanup
9293 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9295 * BufferView_pimpl.C: fix insertAscii for insets
9297 2001-12-05 Juergen Vigna <jug@sad.it>
9299 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9300 set the right font on the "multi" paragraph paste!
9302 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9308 * lyxlength.C: remove out-commented code.
9324 * vc-backend.C: change "while(" to "while ("
9326 * lyxlength.[Ch]: add zero function to check if length is zero or
9328 * lyxgluelength.C: use it
9330 2001-12-05 Allan Rae <rae@lyx.org>
9332 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9333 Works for 2.95.3, from what I understand of Garst's reports this should
9334 work for other g++ versions. We're screwed if the abs(int) definition
9335 changed between bugfix releases of gcc.
9337 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9339 * text.C: fix chapter label offset !
9341 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9344 * text.C: fix hfill at end of line, clean up
9346 2001-12-04 Juergen Vigna <jug@sad.it>
9348 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9349 that we force an update of the inset and it's owners if neccessary.
9351 2001-12-03 Juergen Vigna <jug@sad.it>
9353 * text.C (rowLast): simplified code
9355 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9357 * lyxfunc.C: fix show options on timeout
9359 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9361 * screen.C (topCursorVisible): scroll half a page when the cursor
9362 reached top of bottom of screen
9364 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9366 * minibuffer.C: deactivate on loss of focus
9368 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9370 * vspace.[Ch] (operator!=): add operator.
9372 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9374 * BufferView_pimpl.C: refuse to open an inset when
9375 there's a selection.
9377 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9379 * BufferView_pimpl.C: allow to click on RHS of full row insets
9381 2001-11-30 Juergen Vigna <jug@sad.it>
9383 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9384 insets for undo reasons.
9386 2001-11-28 André Pönitz <poenitz@gmx.net>
9388 * vspace.[Ch]: cosmetical changes
9390 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9400 * kbsequence.C: part re-write of old kb code
9403 * WorkArea.C: remove Lgb_bug_find_hack
9405 2001-11-30 José Matos <jamatos@fep.up.pt>
9407 * buffer.C (makeDocBookFile): add a comment to point a hack.
9408 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9409 Fixed a double write of labels.
9411 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9414 * LaTeX.h Fixed bug in LaTeX class where it would not
9415 re-run latex if no depfiles were changed, but the .dvi was removed.
9417 2001-11-28 André Pönitz <poenitz@gmx.net>
9419 * all the files from the change on 2001/11/26:
9420 use lyx::layout_type instead of LyXTextClass::size_type
9421 use lyx::textclass_type instead of LyXTextClassList::size_type
9423 2001-11-29 Juergen Vigna <jug@sad.it>
9425 * text.C: added support for paragraph::isFreeSpacing()
9427 * buffer.C: same as above
9429 * paragraph.h: inserted isFreeSpacing() function to enable
9430 FreeSpacing inside InsetERT.
9432 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9433 of the paragraph's in the cut/copy buffer to 0!
9435 * text2.C (removeRow): remove the assert as it can!
9437 * lyxtext.h: added helper function firstRow returning firstrow and
9438 made firstrow private again.
9440 * BufferView2.C (lockInset): don't relock if we're already locked!
9442 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9444 (removeRow): added Assert::(firstrow)
9446 * debug.C: forgot to add INSETTEXT here.
9448 2001-11-28 Juergen Vigna <jug@sad.it>
9450 * sp_spell.C (initialize): changed error text to more general
9451 spellchecker command use (not only ispell!)
9453 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9455 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9457 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9459 * vspace.C: initialise lyxgluelength on failure
9461 2001-11-28 Allan Rae <rae@lyx.org>
9463 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9464 declaration & definition that looks like a function declaration.
9466 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9468 * BufferView2.C (copy):
9469 (copyEnvironment): do not clear the selection when doing a copy.
9471 * text.C (paintFirstRow): compilation fix
9473 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9475 * tabular.C (Latex): correct line count when writing latex.
9477 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9479 * paragraph_pimpl.h:
9480 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9483 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9487 * LColor.C: change vfillline->added_space
9489 * text.C: add markers and text for added space
9491 * vspace.C: fix comment
9493 2001-11-28 André Pönitz <poenitz@gmx.net>
9495 * paragraph.C: whitespace changes
9496 * all the other files from the change on 2001/11/26:
9497 change *::pos_type into lyx::pos_type
9499 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9501 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9502 language of the document when inserting error insets.
9504 2001-11-26 André Pönitz <poenitz@gmx.net>
9506 * BufferView_pimpl.[Ch]:
9514 * paragraph_pimpl.[Ch]:
9517 * text2.C: reduce header dependencies, introduce type for positions
9519 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9521 * <various>: change to use Alert.h
9523 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9525 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9526 when encountering an unknown token.
9527 (readLyXformat2): Show an error message if there were unknown tokens.
9529 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9532 * BufferView_pimpl.C:
9536 * text2.C: use par->isInset()
9538 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9540 * paragraph_pimpl.h:
9541 * paragraph_pimpl.C: cleanup
9543 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9545 * text2.C (removeRow):
9546 * text.C (setHeightOfRow): remove useless (and costly) call to
9549 2001-11-20 Allan Rae <rae@lyx.org>
9551 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9552 Now need Inset*::checkInsertChar() to return true for appropriate
9553 cases so that the characters in the minibuffer will actually be
9556 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9558 * text.C: change the order of the includes.
9559 (workWidth): initialize it at once.
9560 (workWidth): make maxw unsigned
9561 (setHeightOfRow): remove unused variable (inset)
9562 (selectSelectedWord): remove unused variable (inset)
9563 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9565 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9567 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9568 server is not running.
9570 (closeConnection): add debug info when server is disabled.
9572 * ColorHandler.C (getGCForeground): send debug message to GUI
9575 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9577 * kbmap.C (bind): modify because return conventions of
9578 kb_sequence::parse have changed.
9580 * kbsequence.C (parse): only ignore spaces and not any stupid
9581 control character. This avoids tests like s[i] <= ' ', which are
9582 guaranteed to fail with 8bit characters and signed chars.
9583 Change return code to string::npos when there have been no error
9584 (0 was a bad idea when error is at first character)
9586 2001-11-14 José Matos <jamatos@fep.up.pt>
9589 * buffer.C (simpleDocBookOnePar): removed unused argument.
9591 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9593 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9594 insets which are part of a word. Paragraph::isLetter takes care of
9595 that now. Use Paragraph::isInset to identify insets.
9596 (selectSelectedWord): do not test for hyphenation break.
9598 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9599 that protected spaces are considered as spaces.
9601 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9604 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9607 * lyxserver.C: fix it. and small cleanup.
9609 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9611 * BufferView_pimpl.C: use inline helpers
9614 * LaTeXFeatures.C: fix typos
9617 * Spacing.C: move spacing_string into class
9619 * ToolbarDefaults.C: move stuff into namespace anon
9621 * layout.h: update enum
9623 * lyxfunc.C: use better debug
9625 * minibuffer.h: fix typo
9629 * WorkArea.C: add and use Debug::WORKAREA
9633 * text2.C: code re-organisation, inline helpers
9635 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9637 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9638 std::vector.empty().
9640 2001-11-09 Allan Rae <rae@lyx.org>
9642 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9643 '\n's after tables. Tabular and ERT inset work now makes this no
9646 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9649 * minibuffer.C: fix crash, improve drop-down completion
9651 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9654 * lyxserver.C: invalidate fd's when doing endPipe()
9656 2001-11-08 José Matos <jamatos@fep.up.pt>
9658 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9659 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9662 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9664 2001-11-07 José Matos <jamatos@fep.up.pt>
9667 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9670 * buffer.C (sgmlOpenTag):
9671 * buffer.C (sgmlCloseTag): removed debug info.
9673 * buffer.h (sgmlOpenTag):
9674 * buffer.h (sgmlCloseTag): made public.
9676 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * buffer.C (saveParamsAsDefaults):
9679 * lyx_cb.C (MenuLayoutSave): remove
9681 * LyXAction.C (init):
9683 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9685 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9687 * buffer.C (setPaperStuff): removed from here...
9689 * bufferparams.C (setPaperStuff): ... and moved there.
9691 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9695 * XFormsView.C: add support for drop-down completion
9697 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9699 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9702 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9704 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9707 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9709 * lyx_main.C: change ref to known bugs
9711 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9713 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9714 to work around older babel problems.
9716 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9718 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9720 2001-10-24 Juergen Vigna <jug@sad.it>
9722 * tabular-old.C (ReadOld): below variable changes reflected.
9724 * tabular.[Ch]: added ltType struct for longtable header/footer
9725 defines and changed all instances where they are used. Added
9726 future support for double top/bottom rows.
9728 2001-10-24 José Matos <jamatos@fep.up.pt>
9730 * buffer.h (docbookHandleCaption):
9731 * buffer.C (docbookHandleCaption): removed unused function.
9732 (makeDocBookFile): moved docbook supported version to v4.1.
9734 2001-10-24 José Matos <jamatos@fep.up.pt>
9737 * tabular.C (docbookRow): new function to export docbook code of a row.
9738 (DocBook): now honors the longtable flags.
9740 2001-10-23 José Matos <jamatos@fep.up.pt>
9743 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9744 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9746 * buffer.C (makeLinuxDocFile):
9747 (makeDocBookFile): reworked the preamble, more clean, and with
9748 support for lyx defined entities. Changed the document declaration
9749 to be more XML friendly.
9751 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9752 if we need to output XML that should be done with a filter.
9754 2001-10-22 Juergen Vigna <jug@sad.it>
9756 * sp_pspell.h (class PSpell): add alive function needed in the
9757 controller to see if the spellchecker could be started.
9759 2001-10-22 Juergen Vigna <jug@sad.it>
9761 * buffer.C (insertStringAsLines): modify the font for inserting
9762 chars in certain conditions by calling checkInsertChar(font).
9764 2001-10-19 Juergen Vigna <jug@sad.it>
9766 * text.C (workWidth): use getRow instead of wrong algorithm.
9767 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9769 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9774 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9776 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9778 * text.C (workWidth): do not search for the exact row when
9779 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9780 optimization for big documents.
9782 2001-10-18 Juergen Vigna <jug@sad.it>
9784 * text.C (workWidth): new function with added Inset * parameter.
9786 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9788 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9790 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9791 change return type of getColumnNearX.
9794 * text.C (changeRegionCase): use uppercase/lowercase instead of
9797 (rightMargin): simplify code by factoring out the uses of
9802 (appendParagraph): use Paragraph::size_type
9804 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9806 * vspace.C (asLatexString): add a missing break
9808 2001-10-15 Herbert Voss <voss@perce.de>
9810 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9812 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9814 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9817 2001-10-10 André Pönitz <poenitz@gmx.net>
9819 * lyxfunc.C: removed greek_kb_flag.
9821 2001-10-10 Herbert Voss <voss@perce.de>
9823 * lyx_main.C: delete global string help_lyxdir.
9825 2001-10-09 Herbert Voss <voss@perce.de>
9827 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9829 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9831 * lyx_main.C: added global string help_lyxdir.
9833 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9835 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9837 * lyxrc.C (set_font_norm_type): support iso8859-4
9839 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9841 * LaTeX.C (deplog): add another regex for MikTeX
9843 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9845 * lyxrc.C (set_font_norm_type): support iso8859-3
9847 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9849 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9851 * LaTeXFeatures.C: remove special case of french and index
9853 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9854 before \begin{document}). This solves several incompatibilities.
9856 2001-10-03 Garst Reese <reese@isn.net>
9858 * lyx_cb.C: change CheckTex error msg.
9860 2001-10-03 José Matos <jamatos@fep.up.pt>
9862 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9864 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9866 * .cvsignore: update
9868 * lyx_main.C (commandLineVersionInfo): use new style version info.
9870 * buffer.C (writeFile):
9873 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9875 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9877 * version.h: update to use stuff in version.C
9879 * version.C.in: new file. Contains version information determined
9880 at compile time. This is a merging of version.h and
9883 2001-10-03 Juergen Vigna <jug@sad.it>
9885 * BufferView_pimpl.C (update): don't change "dirty" status in
9888 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9890 * WorkArea.C (c-tor): re-position version string slightly.
9892 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9894 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9895 revert to previous code.
9897 WorkArea.[Ch]: (show, destroySplash): methods removed.
9899 WorkArea.C: rework code so that it's an amalgam of the codes before and
9900 after the splash screen was moved to WorkArea.
9902 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9905 * vspace.C (inPixels):
9908 * buffer.C (insertStringAsLines):
9909 (asciiParagraph): fix types to be large enough
9911 * lyxlex_pimpl.h: change member status from short to int
9913 * layout.h: fix type of endlabeltype
9916 * kbsequence.C (parse): change return type to string::size_type
9918 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9921 * Bullet.C (bulletSize):
9922 (bulletEntry): do not use short ints as parameters
9924 * BufferView2.C (insertLyXFile): change a char to an int.
9926 * WorkArea.C (WorkArea): remove unneeded floats in computation
9928 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9930 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9932 * paragraph.C (asString): Do not ignore newline/hfill chars when
9933 copying to the clipboard.
9935 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9937 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9938 after a multi-line inset.
9940 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9942 * paragraph.C (validate): Set NeedLyXFootnoteCode
9944 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9946 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9947 and decrease-error to decrease.
9949 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9951 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9952 it more readable (should be equivalent)
9954 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9956 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9958 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9960 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9961 of a cursor (row, etc.) after a character has been deleted
9962 (deleteEmptyParagraphMechanism): call the method above on _all_
9963 cursors held by the LyXText when a double space has been
9966 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9968 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9970 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9972 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9973 background. Use greyOut() and the new show() methods to toggle between
9974 the foreground and background. Add code to remove the splash after
9975 its initial showing.
9977 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9978 (create_forms): no longer call Dialogs::showSplash.
9980 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9982 * .cvsignore: add version_info.h
9984 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9986 * version_info.h.in: new file
9988 * Makefile.am: add version_info.h.in
9990 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9991 version_info.h instead of VERSION_INFO
9993 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9995 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9996 The ERT inset now returns string().
9998 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10000 * lyxtext.h, text.C (selectNextWord): renamed as
10001 selectNextWordToSpellcheck.
10003 * text.C (selectNextWordToSpellcheck): Modified to not select
10004 words inside an ERT inset.
10006 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10008 * lyx_cb.C (MenuLayoutSave): change a bit the question
10010 * sp_base.h: include <sys/types.h>
10012 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10014 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10016 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10018 * several files: fix typos in user-visible strings
10020 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10022 * text2.C (pasteSelection): do not set the selection, since it
10023 will be cleared later. Actually, the intent was to fix the way the
10024 selection was set, but I figured rmoving the code was just as good.
10026 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10028 * FontLoader.C (available): Check if font is available without
10031 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10033 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10035 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10037 * lyxrc.[Ch]: added display_graphics variable and associated code.
10039 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10041 * bufferparams.C (hasClassDefaults): new method. Returns true if
10042 the buffer parameters correspond to known class defaults
10044 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10046 * XFormsView.C (show): set minimum size to the main window.
10048 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10050 * text2.C (copySelection):
10052 * lyxfind.C (LyXReplace):
10053 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10054 LyXText::selectionAsString.
10056 * paragraph.C (asString): add "label" argument to the second form
10058 * text2.C (selectionAsString): add "label" argument and pass it to
10059 Paragraph::asString.
10061 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10063 * lyx_main.C (commandLineHelp): remove version information
10065 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10067 * lyx_main.C: add -version commandline option
10069 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10071 * paragraph.h: make the optional constructor arg required instead.
10072 some modifications to other files because of this.
10074 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10076 * lyxserver.C (C_LyXComm_callback): make it static
10078 * lyx_main.C (error_handler): make it static
10080 * lyx_gui.C (LyX_XErrHandler): make it static
10082 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10084 * WorkArea.C: make the extern "C" methods static.
10086 * Makefile.am (lyx_LDADD): simplify
10088 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10090 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10091 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10093 * LyXAction.C (init):
10094 * lyxfunc.C (dispatch): associated code removal.
10096 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10098 * lyxfont.h (isSymbolFont): shut off warning
10100 * text.C (setHeightOfRow):
10101 (getVisibleRow): fix crash with empty paragraphs which have a
10104 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10106 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10109 2001-09-04 José Matos <jamatos@fep.up.pt>
10112 * tabular.C (docbook): rename docBook method to docbook.
10114 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10116 * Makefile.am: add dependencies to main.o.
10118 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10120 * FontLoader.C (available): Return false if !lyxrc.use_gui
10122 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10124 * FontInfo.C (query):
10125 * converter.C (view):
10126 * importer.C (Import):
10127 * exporter.C (Export): Can not -> cannot.
10129 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10131 * BufferView_pimpl.C: allow to create index inset even if
10134 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10136 * buffer.C (getLists): replace boost::tie code with an explicit pair
10137 as boost::tie can break some compilers.
10139 * iterators.h: Added a std:: declaration to the return type of
10142 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10144 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10147 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10149 * iterators.[Ch]: New files. Provide paragraph iterators.
10151 * buffer.C (changeLanguage): Use paragraph iterators.
10152 (isMultiLingual): ditto
10154 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10156 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10158 * FontLoader.C: Support for cmr font.
10160 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10162 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10163 (available): New method.
10165 * FontInfo.C (getFontname): Use scalable fonts even when
10166 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10169 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10171 * converter.C (Formats::view): reverted! Incorrect fix.
10173 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10175 * converter.C (Formats::view): only output the -paper option
10176 if the dvi viewer is xdvi, thereby fixing bug #233429.
10178 2001-08-23 Herbert Voss <voss@perce>
10180 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10182 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10184 * Spacing.h (Spacing): Set space to Default on in the default
10187 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10189 * vc-backend.h (RCS::versionString): add RCS to version
10190 (CVS::versionString): add CVS to version
10192 * vc-backend.C (scanMaster): do not add CVS to version.
10193 (scanMaster): do not add RCS to version
10195 * lyxvc.C (versionString): new method
10197 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10199 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10201 * Spacing.C (set): initialize fval
10203 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10205 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10208 2001-08-16 Juergen Vigna <jug@sad.it>
10210 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10212 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10214 * BufferView_pimpl.C:
10217 * text2.C: setParagraph takes linespacing now
10219 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10221 * LyxAction.C: add internal LFUN_CITATION_INSERT
10223 * LyXView.C: actually apply fix
10225 * bufferlist.C: fix open non-existent file
10227 * lyxfind.C: fix indentation
10229 * lyxfunc.C: remove unneeded assert, fix typo
10231 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10233 * MenuBackend.C: use "Floatname List"
10235 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10237 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10238 when converting LaTeX layout to insetERT.
10239 Generate a non-collapsed float when reading old float
10241 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10243 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10246 2001-08-13 Juergen Vigna <jug@sad.it>
10248 * text.C (fill): return 0 instead of 20 as this seems to be the more
10251 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10253 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10256 2001-08-13 Juergen Vigna <jug@sad.it>
10258 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10260 (SearchBackward): comment out the unlocking of the inset_owner this
10261 should not be needed!
10263 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10265 * Many files: Remove inherit_language, and add latex_language
10267 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10268 collapsible insets.
10270 2001-08-10 Juergen Vigna <jug@sad.it>
10272 * text.C (prepareToPrint): fixed hfill-width in draw!
10274 * BufferView2.C (selectLastWord): save the selection cursor as this
10275 now is cleared in the function LyXText::clearSelection!
10277 2001-08-08 Juergen Vigna <jug@sad.it>
10279 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10280 BACKSPACE type functions.
10282 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10283 is only cutted from the document but not put in the cut-buffer, where
10284 still the old stuff should be.
10286 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10288 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10290 * tabular.C (SetWidthOfCell): fixed special case where the width
10292 (LeftLine): handle '|' in align_special.
10294 (LeftAlreadyDrawed): ditto
10295 (SetWidthOfCell): ditto
10297 2001-08-07 Juergen Vigna <jug@sad.it>
10299 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10301 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10303 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10304 * lyxlex.[hC]: ditto
10306 2001-08-06 Juergen Vigna <jug@sad.it>
10308 * text.C (getVisibleRow): fix up row clearing a bit.
10310 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10312 * minibuffer.C: make sure the X server sees the changes in the input.
10314 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10316 * paragraph.C (getFont): split into...
10317 (getLabelFont): this
10318 (getLayoutFont): and this
10319 * paragraph_pimpl.C (realizeFont): calling this
10321 * text2.C (getFont): split into...
10322 (getLayoutFont): this
10323 (getLabelFont): and this
10324 (realizeFont): all three calling this
10326 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10329 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10331 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10333 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10335 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10336 layouts from the Quote inset insertion.
10338 2001-08-03 Juergen Vigna <jug@sad.it>
10340 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10342 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10343 only if status not is already CHANGED_IN_DRAW (second level).
10345 * text.C (draw): don't set the need_break_row when inside an
10348 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10350 * buffer.C (parseSingleLyXformat2Token): handle more latex
10353 * bufferview_funcs.[hC]: change function names to
10354 begin with small char, adjust other files.
10356 2001-08-02 André Pönitz <poenitz@gmx.net>
10359 BufferView_pimpl.C: remove broken special code for math-greek
10361 2001-08-02 Juergen Vigna <jug@sad.it>
10363 * BufferView_pimpl.C (update): redone this function so that we
10364 update the text again if there was a CHANGE_IN_DRAW.
10366 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10367 (drawFromTo): added a new internal bool which is used by draw() and
10369 (general): some cursor drawing problems fixed.
10371 2001-08-01 Juergen Vigna <jug@sad.it>
10373 * lyxfind.C (LyXFind): fixed
10374 (SearchForward): ditto
10375 (SearchBackward): ditto
10377 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10378 spurius drawing of the cursor in the main area.
10380 * text2.C (status): small fix which could lead to a segfault!
10381 (clearSelection): remove unneeded BufferView param.
10383 2001-08-01 André Pönitz <poenitz@gmx.net>
10385 * lyxfunc.C: small change due to changed mathed interface
10387 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10389 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10391 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10393 * lyxfunc.c: fail gracefully if file doesn't exist
10398 * BufferView_pimpl.C: IsDirWriteable() proto changed
10400 * LyXView.C: fix updateWindowTitle() to store the last title
10402 2001-07-31 Juergen Vigna <jug@sad.it>
10404 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10405 the font (wrong since using of Paragraph::highestFontInRange).
10407 * paragraph.C (highestFontInRange): added a default_size parameter.
10409 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10410 (setHeightOfRow): reformat
10412 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10414 * converter.[hC] + affected files: move to (inital-char)lowercase
10417 * ParagraphParameters.C (ParagraphParameters): remove commented code
10419 * PainterBase.[Ch]: remove commented code
10421 * LaTeXFeatures.h: add "bool floats" for float.sty
10423 * LaTeXFeatures.C (LaTeXFeatures): init floats
10424 (require): handle float
10425 (getPackages): do it with floats
10427 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10429 * BufferView_pimpl.C (Dispatch): improve handling of
10430 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10432 * commandtags.h: #include lyxfont.h here temporarily to avoid
10435 * bufferlist.h: include LString.h here.
10437 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10439 * text2.C (getStringToIndex): new method.
10441 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10443 * *: Reduced header file dependencies all over.
10445 2001-07-30 Baruch Even <baruch@lyx.org>
10447 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10449 2001-07-29 Baruch Even <baruch@lyx.org>
10451 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10453 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10455 * ParameterStruct.h (endif): add a default constructor to make
10456 sure that all variables is initialized.
10458 * ParagraphParameters.C (ParagraphParameters): adjust
10460 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10462 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10463 index; also, check that there is something to index, and that it
10464 does not span over several paragraphs.
10465 (doubleClick): use WHOLE_WORD_STRICT for double click.
10467 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10469 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10472 2001-07-26 Baruch Even <baruch@lyx.org>
10474 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10475 an InsetFig figure, backwards compatible reading of old figure code.
10477 2001-07-27 Juergen Vigna <jug@sad.it>
10479 * text2.C: font.realize function adaption.
10481 * text.C (draw): add a warnings lyxerr text if needed.
10483 * layout.C: font.realize function adaption.
10485 * language.C: add inherit_language and implement it's handlings
10487 * bufferview_funcs.C (StyleReset): remove language parameter from
10488 font creation (should be language_inherit now).
10490 * bufferparams.C (writeFile): handle ignore_language.
10492 * paragraph.C (getFontSettings): the language has to be resolved
10493 otherwise we have problems in LyXFont!
10495 * lyxfont.C (lyxWriteChanges): added document_language parameter
10496 (update): removed unneeded language parameter
10498 * paragraph.C (validate): fixed wrong output of color-package when
10499 using interface colors for certain fonts in certain environments,
10500 which should not seen as that on the final output.
10502 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10504 * BufferView_pimpl.C:
10509 * LyXAction.C: add thesaurus support
10512 * lyxfind.C: add "once" parameter, for thesaurus, to not
10513 move to the next match
10515 2001-07-26 Juergen Vigna <jug@sad.it>
10517 * lyxfont.C (realize): honor ignore_language too!
10520 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10522 * text.C (draw): one place more for ignore_language to not draw
10525 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10527 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10529 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10531 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10532 the minipage conversion problem.
10534 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10536 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10539 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10541 * BufferView.h: don't forward declare WorkArea
10543 * BufferView.C: don't include WorkArea.h
10545 2001-07-25 André Pönitz <poenitz@gmx.net>
10549 * lyxfunc.C: new LFUN 'math-space'
10551 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10553 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10555 * text2.C (toggleInset): call open/close
10557 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10559 * lyxfunc.C (dispatch): add debug for the disabled case
10561 * font.C (buttonText): make similar to rectText
10563 * buffer.C (readInset): comment out parsing of insetlist and
10566 * PainterBase.C (rectText): small correction
10568 * BufferView_pimpl.C: comment out insettheorem and insetlist
10569 * LyXAction.C: ditto
10570 * commandtags.h: ditto
10572 2001-07-24 Juergen Vigna <jug@sad.it>
10574 * text.C (draw): honor the ignore_language.
10576 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10578 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10580 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10583 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10585 * lyxtext.h: remove unused (and unimplemented) methods
10587 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10589 * text.C (getVisibleRow): honor background color
10592 * Painter.h: remove default color argument for fillRectangle
10594 * text.C (backgroundColor): new method
10596 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10598 * text.C (getVisibleRow): adjust
10600 * font.[Ch] (rectText): new method, metrics
10601 (buttonText): new method, metrics
10603 * PainterBase.[hC]: make rectText and buttonText always draw and take
10606 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10608 * ToolbarDefaults.C (read):
10609 * MenuBackend.C (read): allow escaping in all strings
10611 * BufferView_pimpl.C (insertAndEditInset): new method.
10612 (Dispatch): use insertAndEditInset whenever appropriate.
10614 * BufferView_pimpl.C (insertNote): removed
10616 * BufferView_pimpl.C (smartQuote): new method, moved from
10617 BufferView; if an insetquote cannot be inserted, insert a '"'
10620 * BufferView2.C: remove insertCorrectQuote();
10622 * lyxfunc.C (getStatus): Add support for all remaingin
10623 inset-insert lfuns.
10625 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10627 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10628 command (necessary to pass " as parameter of self-insert.
10630 * text.C (selectWordWhenUnderCursor):
10631 (selectWord): add word_location parameter
10632 (selectWordWhenUnderCursor): same + remove special code for word
10634 (selectNextWord): use kind() to guess type of insetspecialchar,
10637 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10638 (insertErtContents): create ert insets as collapsed.
10639 (readInset): better compatibility code for Info inset.
10641 2001-07-20 Juergen Vigna <jug@sad.it>
10643 * lyxfunc.C (dispatch): use always LyXFind now!
10645 * text2.C (init): add a reinit flag so that the LyXText can be
10646 reinited instead of deleted and reallocated (used in InsetText).
10648 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10654 2001-07-18 Juergen Vigna <jug@sad.it>
10656 * text.C (selectNextWord): handle insets inside inset by calling
10657 always the bv->text functions so that we can go up the_locking_inset!
10659 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10660 in strange locations when inside an inset!
10662 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10663 handling to include insets.
10665 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10667 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10669 * LyXAction.C (init):
10671 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10672 LIGATURE_BREAK, since the name is so stupid.
10674 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10676 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10679 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10681 * sp_form.[Ch]: remove.
10683 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10685 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10688 * src/buffer.C (readInset): ditto.
10690 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10692 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10693 menuSeparator(), endOfSentenceDot(), ldots() and
10694 hyphenationPoint(), which are therefore removed.
10695 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10697 * LyXAction.C (init):
10698 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10700 * paragraph.C (getWord): removed.
10702 * BufferView_pimpl.C (Dispatch): use last word or selection for
10703 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10705 * lyx_main.C (queryUserLyXDir): do not ask before creating
10706 user_dir, except if it has been named explicitely.
10708 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10710 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10711 a document of zero size.
10713 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10715 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10716 approriately in the c-tor and in require().
10717 (getPackages): output the appropriate LaTeX for natbib support.
10719 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10720 variables "use_natbib" and "use_numerical_citations" when reading the
10722 (readInset): read the various natbib cite commands.
10723 (validate): white-space change.
10725 * bufferparams.[Ch]: new variables "bool use_natbib" and
10726 "bool use_numerical_citations".
10727 (writeFile): output them in the LyX file.
10729 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10731 * lyxfunc.C (getStatus): add support for all the inset insertion
10734 * text2.C (insertInset):
10735 * paragraph.C (insetAllowed):
10736 * BufferView_pimpl.C (insertInset): update to take in account the
10737 renaming of insertInsetAllowed
10739 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10741 * text2.C (getInset): new method. returns inset at cursor position.
10743 * BufferView_pimpl.C (Dispatch): changes because of this.
10745 * LyXAction.C (init): rename open-stuff to inset-toggle.
10747 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10749 * text2.C (toggleInset): renamed from openStuff; use
10752 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10754 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10756 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10758 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10760 * buffer.C (readLyXformat2): Add filename to the error dialog
10762 2001-07-18 Juergen Vigna <jug@sad.it>
10764 * tabular.C (GetCellNumber): put an assert here instead of the check!
10766 2001-07-17 Juergen Vigna <jug@sad.it>
10768 * BufferView_pimpl.C (toggleSelection): adapted too.
10770 * text.C (selectNextWord): adapted for use with insets.
10771 (selectSelectedWord): ditto
10773 2001-07-17 Juergen Vigna <jug@sad.it>
10775 * sp_spell.C (PSpell): fix initialitation order.
10777 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10779 * paragraph.C: spacing
10781 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10783 * sp_spell.C: repair language selection for pspell
10785 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10787 * lyxfunc.h: change more methods to begin with lower char.
10789 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10791 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10792 for unknown layouts.
10794 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10796 * buffer.C (readLyXformat2): Generate an error dialog if there are
10799 2001-07-16 Juergen Vigna <jug@sad.it>
10801 * sp_spell.C: always compile ISpell part.
10803 * lyxrc.C: added use_pspell entry and it's handling.
10805 2001-07-13 Juergen Vigna <jug@sad.it>
10807 * sp_spell.C: removed double includes.
10809 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10811 Consistent use of Lsstream.h:
10812 * Lsstream.h: added using std::stringstream for consistencies sake.
10814 * buffer.C: removed using std::stringstream
10816 * lyxfont.C (stateText):
10817 * paragraph.C (asString):
10818 * text.C (selectNextWord, selectSelectedWord):
10819 * text2.C (setCounter):
10820 * vspace.C (asString, asLatexString):
10821 std::ostringstream -> ostringstream.
10823 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10825 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10826 * commandtags.h: add LFUN_HELP_ABOUTLYX
10827 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10829 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10831 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10833 * lyx_gui_misc.C: remove spellchecker
10834 * lyxfunc.C: showSpellchecker
10836 * sp_ispell.h: added
10837 * sp_pspell.h: added
10838 * sp_spell.C: added
10839 * sp_form.[Ch]: removed
10840 * spellchecker.[Ch]: removed
10842 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10844 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10846 (simpleTeXSpecialChars): Simply print the input character without
10847 any special translation if pass_thru is set.
10849 * layout.h: Added bool pass_thru to layout class for being able to
10850 implement pass through of a paragraph for Literate Programming.
10852 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10853 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10854 * layout.C (Read): add "passthru" to list of layout tags and add
10855 code to set the pass_thru boolean when it is read.
10857 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10859 * trans_decl.h: remove allowed from KmodInfo
10861 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10862 remove allowed code
10865 * paragraph_pimpl.C (erase): use boost::prior
10867 * Painter.C (text): use data() instead of c_str() when length is
10869 * WorkArea.C (putClipboard): ditto
10870 * font.h (width): ditto
10872 * BufferView2.C: use it-> instead of (*it). for iterators
10874 * paragraph_pimpl.C: ditto
10875 * paragraph.C: ditto
10876 * minibuffer.C: ditto
10877 * language.C: ditto
10879 * encoding.C: ditto
10880 * counters.C: ditto
10881 * converter.C: ditto
10883 * Variables.C: ditto
10884 * TextCache.C: ditto
10885 * MenuBackend.C: ditto
10886 * LyXAction.C: ditto
10888 * FloatList.C: ditto
10889 * DepTable.C: ditto
10890 * ColorHandler.C (LyXColorHandler): ditto
10892 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10894 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10896 * text2.C (openStuff): reintroduce this method (which had been
10897 nuked in NEW_INSETS frenzy).
10899 * lyxfunc.C (Dispatch): when an action has not been handled, use
10900 its name in the error message, not its number.
10902 * paragraph.C (inInset): change method name to begin with lowercase.
10905 * text2.C: updates because of this.
10907 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10909 * ToolbarDefaults.C (add): add spaces in error message
10911 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10913 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10914 (readLyXformat2): rename return_par to first_par, use lyxlex's
10915 pushToken and remove the manual push handling.
10916 (parseSingleLyXformat2Token): add another ert comp. variable:
10917 in_tabular, rename return_par to first_par. handle newlines better
10919 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10921 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10923 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10925 * text2.C (getParFromID): removed
10927 * buffer.C (getParFromID): new method moved form lyxtext.
10928 * BufferView2.C (insertErrors): adjust
10929 (setCursorFromRow): adjust
10930 * BufferView_pimpl.C (restorePosition): adjust
10931 * lyxfunc.C (Dispatch): adjust
10932 * undo_funcs.C (textUndo): adjust
10934 (textHandleUndo): adjust
10935 (textHandleUndo): adjust
10937 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10939 * buffer.C: up' the LYX_FORMAT
10941 * lyxfont.h: turn NO_LATEX on as default
10943 * buffer.C (insertErtContents): new methods of tex style compability.
10944 (parseSingleLyXformat2Token): use it several places.
10945 * tabular.C (OldFormatRead): and here
10947 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10949 * text2.C: remove some commented code.
10952 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10953 * trans.C: changes because of the above.
10955 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10957 * text2.C (setCounter): Fix counters bug with bibliography layout.
10959 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10961 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10962 own member functions
10963 (simpleTeXSpecialChars): ditto
10965 2001-07-06 Juergen Vigna <jug@sad.it>
10967 * a lot of files: changed the access to LyXText::status and the
10968 call of undo-functions.
10970 * undo.[Ch]: added a inset_id to the undo informations.
10972 * undo_funcs.[Ch]: added and moved here all undo functions.
10974 * lyxtext.h: give the status enum a weight, made status_ a private
10975 variable and made accessor functions for it, removed the whole bunch
10976 of undo-functions as they are now in their own file, make some
10977 functions publically available. Added function ownerParagraph with
10980 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10981 made InInset() a const function, added getParFromID() function.
10983 * buffer.[Ch]: added const version for inset_iterator functions,
10984 added getInsetFromID() function.
10986 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10987 changed undo functions for new version.
10989 2001-07-05 Juergen Vigna <jug@sad.it>
10991 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10992 unknow mechanism does not call the proper constructor but only this
10993 one also if I request the other!?
10995 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10997 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10999 * text2.C (LyXText): use initialization lists.
11001 * lyxtext.h (Selection): initialize set_ and mark_
11002 (init): remove method
11004 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11006 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11008 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11010 * screen.[Ch]: change method names to begin with lowercase
11012 * BufferView_pimpl.C (updateScrollbar): simplify further and
11013 hopefully make it a bit faster.
11015 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11017 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11018 calling directly xforms functions.
11020 * Painter.C (Painter):
11021 * lyx_cb.C (MenuWrite):
11022 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11025 * lyx_gui.C: remove bogus guiruntime extern declaration.
11027 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11029 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11031 (redoDrawingOfParagraph): ditto
11032 (redoParagraphs): ditto
11033 (cutSelection): don't create a object for CutAndPaste use the
11034 static method directly
11035 (pasteSelection): ditto
11037 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11040 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11042 * modifications to some other files because of this.
11044 * Makefile.am (lyx_SOURCES): add XFormsView
11046 * XFormsView.[Ch]: new files
11048 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11049 the main window. Move the gui dependent stuff to XFormsView
11051 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11053 * tabular.C (GetCellInset): update cur_cell also in the row/col
11054 version of this function.
11056 * lyxfunc.C: no need to include figure_form.h here.
11062 * lyxvc.C: no need to include forms.h here.
11064 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11066 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11068 * lyxfunc.C (Dispatch):
11070 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11071 constructor argument.
11073 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11075 * paragraph.C (Paragraph): dont't clear, and just set layout.
11076 (makeSameLayout): use params's copy contructor.
11078 * ParagraphParameters.[Ch] (makeSame): delete method
11080 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11082 * Variables.[Ch]: fix indentation, rename set to isSet
11084 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11086 * lyxfunc.C (Dispatch): fix typo
11088 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11090 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11093 * bufferlist.C: include assert.h for emergencyWrite().
11095 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11097 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11098 give up at last (bug #425202) !
11100 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11106 * spellchecker.C: strip spellchecker options and bring up
11107 preferences tab instead
11109 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11111 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11112 the istringstream constructor
11114 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11116 * paragraph.C (getLayout): fix return value
11118 * paragraph.h: do not declare getLayout as inline.
11120 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11122 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11124 * lyxcursor.h (operator<): new func
11125 (operator>): new func
11126 (operator>=): new func
11127 (operator<=): new func
11129 * text.C (changeCase): use selection.start and selection.end
11130 (changeRegionCase): require from to be <= to. Require par to be a
11133 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11135 2001-06-27 Juergen Vigna <jug@sad.it>
11137 * text.C (cursorLeftOneWord): changed to return the cursor and added
11138 overlay with BufferView * parameter which calls this one.
11140 (selectWord): use new getWord function.
11141 (changeCase): renamed from changeWordCase as and extended to work
11142 also on selections.
11144 * lyxtext.h: added enum word_location
11146 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11147 changeCase as this operates now also on selections.
11149 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11151 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11153 * many files: send debug output to Debug::INFO instead of
11156 * converter.C (View):
11158 (Move): send debug output to Debug::FILES instead of console.
11160 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11162 * lyxfunc.C (getStatus): use func_status
11164 * func_status.h: new header, describing the results of
11165 LyXFunc::getStatus;
11167 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11170 2001-06-25 The LyX Project <jug@sad.it>
11172 * buffer.C (sgmlOpenTag):
11174 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11176 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * text2.C: remove some dead code
11180 * tabular.C (GetCellInset): store the last cell checked (gotten)
11182 * tabular.h: add the helper for the speedup
11184 * lyxtext.h: remove some dead code
11186 2001-06-26 The LyX Project <Asger>
11188 * paragraph.C: Change export to LaTeX of alignment to
11189 \begin{center} and family for better roundtrip work with reLyX.
11191 * Tune the math drawing a bit.
11193 2001-06-25 The LyX Project <Asger>
11195 * LColor.C (LColor): New color for math background. New color
11198 2001-06-25 The LyX Project <jug@sad.it>
11200 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11202 * lyxfunc.C (Open):
11203 * bufferlist.C (newFile): do not restrict to files ending with
11206 * BufferView_pimpl.C (MenuInsertLyXFile):
11208 2001-06-24 The LyX Project <jug@sad.it>
11210 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11213 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11215 * lyxtext.h: rename most methods to begin with a small char.
11216 Lots of changes because of this.
11218 * paragraph.C (Paragraph): do not call fitToSize
11219 (erase): call Pimpl::erase
11220 (insertChar): call Pimpl::insertChar
11221 (insertInset): call Pipl::insertInset
11222 (breakParagraph): do not call fitToSize
11223 (breakParagraphConservative): do not call fitToSize
11224 (fitToSize): remove method
11226 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11228 2001-06-24 The LyX Project <Asger>
11230 * Fix Qt compilation^2
11232 2001-06-24 The LyX Project <jug@sad.it>
11234 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11235 depthHook(getDepth()-1).
11238 * ParagraphParameters.h:
11239 * ParameterStruct.h: change type of depth to unsigned int ==
11240 depth_type. Many adaptations to other files before of that.
11242 2001-06-24 The LyX Project <Asger>
11244 * Fix Qt compilation.
11246 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11248 * paragraph.h: renamed several methods to begin with small letter.
11249 several changes to many parts of the code because of this.
11251 2001-06-23 The LyX Project <jug@sad.it>
11253 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11254 rewritten to discard all double spaces when KeepEmpty is off
11255 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11256 to only handle newlines but not fiddle with spaces and friends.
11258 * lyxfunc.C (MenuNew): when doing 'new from template', use
11259 template_path as default directory
11261 2001-06-23 The LyX Project <Asger>
11263 * Clean-up of header file includes all over
11264 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11266 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11268 * paragraph.h: renamed from lyxparagraph.h
11270 2001-06-23 Asger <lyx@violet.home.sad.it>
11272 * Buffer.h: Removed Buffer::resize
11273 * BufferList.h: Removed BufferList::resize
11274 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11275 the document lazily when we change the width, or the font settings.
11277 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11279 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11281 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11283 * buffer.h: remove out of date comment
11285 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11288 * screen.C: fix "theoretical" GC leak
11290 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11292 * LaTeX.C (scanAuxFile):
11293 (deplog): remove trailing \r when reading stream (useful under
11296 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11298 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11299 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11300 and BufferView::theLockingInset(Inset*), so should use them and not
11301 access bv_->text->the_locking_inset directly.
11303 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11305 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11308 * tex-defs.h: remove old unused file
11310 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11312 * BufferView_pimpl.C: fix typo, remove minibuffer message
11313 when buffer has loaded
11315 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11317 * lyxfunc.C (Dispatch): use stringstream
11318 (MenuNew): use stringstream
11319 (Open): use stringstream
11321 * importer.C (Import): use stringstream
11323 * bufferview_funcs.C (CurrentState): use stringstream
11325 * LaTeX.C (run): use stringstream
11327 * BufferView_pimpl.C (savePosition): use stringstream
11328 (restorePosition): use stringstream
11329 (MenuInsertLyXFile): use stringstream
11331 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11344 * vspace.C: removed // -*- C++ -*- as first line.
11347 * version.h: added // -*- C++ -*- as first line.
11349 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11351 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11353 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11356 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11358 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11361 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11363 * gettext.C: include LString.h even when --disable-nls is on.
11365 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11367 * converter.h (Get): changed argument type from int to
11368 FormatList::size_type to avoid unnecessary conversion.
11370 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11373 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11375 * gettext.h: include LString.h even when --disable-nls is on.
11377 2001-06-07 Juergen Vigna <jug@sad.it>
11379 * text.C (BreakAgain): subst spaces with tabs.
11381 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11382 (resizeInsetsLyXText): set force on resizeLyXText.
11384 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11386 * gettext.h (gettext_init):
11387 (locale_init): use a real definition instead of a macro
11389 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11391 * Bufferview_pimpl.C:
11393 * LColor.C: further lcolor tidies
11395 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11397 * BufferView_pimpl.C (updateScrollbar): simplify.
11399 * BufferView2.C: don't include insets/insetinfo.h, change
11400 prototype for insertInset and call the Pimpl version. let
11401 updateInset call Pimpl version.
11403 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11404 gotoInset to BufferView::Pimpl
11406 2001-06-01 Juergen Vigna <jug@sad.it>
11408 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11409 inside a LockingInset (is the update needed at all?).
11411 2001-05-31 Juergen Vigna <jug@sad.it>
11413 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11414 here not the old one otherwise how should we compare it afterwards
11417 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11422 * FontInfo.C: bring C functions into global namespace when
11425 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11427 * LString.h: make sure config.h has been loaded before LString.h.
11429 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11430 (one for each char read by EatLine!).
11432 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11435 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11437 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11438 to the same as the par we break from
11440 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11442 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11444 * MenuBackend.C (expand): also create menu entries for wide
11445 versions of the floats.
11447 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11449 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11451 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11452 frontends/Makefile.am
11458 * tabular.C (getTokenValue): add std::
11460 * tabular-old.C (getTokenValue): add std::
11461 (getTokenValue): ditto
11462 (getTokenValue): ditto
11464 * screen.C (ToggleSelection): adjust
11466 * lyxtext.h: put selection cursors inside a Selection struct.
11468 * lyxfunc.C (moveCursorUpdate): adjust
11470 * lyxfont.C (latexWriteStartChanges): add std::
11472 * lyxfind.C: adjust
11474 * font.h: delete with(char const *, LyXFont const &)
11476 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11478 * FontInfo.C (getFontname): add std::
11480 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11481 (workAreaButtonPress): adjust
11482 (tripleClick): adjust
11484 (moveCursorUpdate): adjust
11487 * BufferView2.C (gotoInset): adjust
11489 2001-05-30 Juergen Vigna <jug@sad.it>
11491 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11492 to check pspell I add this as default as I now have new pspell
11493 libraries and they seem to use this.
11495 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11497 * text2.C (CutSelection): make the cursor valid before the call to
11500 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11502 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11503 relied on 0 terminated strings and other horrors. Bug found due to
11504 the new assert in lyxstring!
11506 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11509 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11511 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11514 * lyxfunc.C (processKeySym): change method of getting to the
11517 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11518 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11519 * BufferView_pimpl.[Ch]: here as private methods.
11521 2001-05-28 Juergen Vigna <jug@sad.it>
11523 * text.C (SetHeightOfRow): added the update() call again as it is
11524 needed to initialize inset dimensions!
11526 2001-05-16 Juergen Vigna <jug@sad.it>
11528 * text2.C (SetCharFont): Add new function with BufferView * and
11529 bool toggleall parameters for setting insets internal fonts.
11530 (SetFont): Freeze the undo as we may change fonts in Insets and
11531 all this change should be inside only one Undo!
11533 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11534 setting font's in insets as for them we have the SetFont function!
11536 2001-05-15 Juergen Vigna <jug@sad.it>
11538 * text2.C (ClearSelection): to be sure we REALLY don't have any
11541 * tabular.C (TeXCellPreamble): fixed the left border problem for
11544 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11546 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11549 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11551 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11552 LFUN_BREAKPARAGRAPH.
11554 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11555 help test to "internal only", similar for LFUN_INSERT_URL
11557 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11558 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11559 auto_region_delete and deadkeys.
11561 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11564 * LColor.C: remove some dead entries, tidy a little
11566 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11568 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11570 (Dispatch): implement LFUN_ESCAPE
11572 * commandtags.h: add LFUN_ESCAPE
11574 * LyXAction.C (init): add entry for LFUN_ESCAPE
11576 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11577 Remove commented code.
11578 (insertNote): moved here
11579 (open_new_inset): moved here
11581 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11584 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11586 * kbmap.C (findbinding): clean it up and make it work correctly.
11588 * lyx_main.C (init): do not pass argc and argv as parameters
11590 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11592 * buffer.C: fix path for OS/2 & Win32
11596 * lyx_main.C: Added os:: class.
11598 * os2_defines.h: update
11600 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11602 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11603 better by trying again with reduced state.
11605 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11607 * lyxrc.C (read): print error about invalid key sequence only when
11608 debugging (because not all latinX keysyms are known to some X
11611 * kbsequence.C (getiso): add a few std:: qualifiers
11612 (getiso): comment out extra return statement.
11614 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11616 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11618 (Dispatch): enhance the accent inset a bit. (not perfect)
11620 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11622 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11624 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11626 * bufferlist.C (emergencyWrite): fix assert() call
11628 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11630 * text.C (InsertChar): Added trivial patch to only send the "you
11631 can not do multiple spaces this way" message once during a
11634 2001-05-08 Baruch Even <baruch@lyx.org>
11636 * Makefile.am: Changed order of libraries to get LyX to link properly
11637 with the gnome frontend.
11639 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11641 * LaTeXFeatures.h: add a std:: qualifier
11643 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11645 * paragraph.C (String): use stringstream
11647 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11649 * paragraph.C (writeFile): remove footflag arg
11651 * buffer.C (makeLaTeXFile): use stringstream
11652 (latexParagraphs): remove footnot gurba
11654 * LaTeXFeatures.C (getPackages): use stringstream
11655 (getMacros): likewise
11656 (getTClassPreamble): likewise
11657 (getFloatDefinitions): new method
11659 * paragraph.C (writeFile): reindent
11662 * WorkArea.h: revert the xpos + etc changes.
11664 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11666 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11668 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11669 (pasteSelection): likewise
11670 * text2.C (CreateUndo): likewise
11672 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11674 * minibuffer.C (peek_event): temporarily reduce the functionality
11675 of the minibuffer (to allow args on lfuns)
11677 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11678 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11680 * buffer.C (readInset): add compability reading of old float
11681 lists, add reading of new style float list.
11682 (readInset): avoid reevaluation of inscmd.getCmdName()
11683 (getLists): reindent
11685 * MenuBackend.C (MenuItem): implement parsing of
11686 md_floatlistinsert and md_floatinsert.
11687 (expand::LastFiles): move initalizaton of iterators out of loop,
11688 avoid reevaluation.
11689 (expand::Documents): introduce typdedef vector<string> Strings,
11691 (expand::ExportFormats): introduce typedef vector<Format const *>
11692 Formats, and use it.
11693 (expand): implement FloatListInsert and FloatInsert.
11695 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11696 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11697 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11699 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11701 (Dispatch::LFUN_FLOAT_LIST): implement
11703 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11705 * LaTeX.C (run): Fix problem with --export code.
11707 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11709 * BufferView.[Ch] (workarea): removed.
11710 (getClipboard) new method; wrapper for workarea()->getClipboard()
11712 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11715 * WorkArea.h (width, height, xpos, ypos): These methods all
11716 returned the dimensions of the work_area sub-area of WorkArea,
11717 resulting in a position error if the WorkArea were resized. Now
11718 return the dimensions of the entire WorkArea.
11720 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11722 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11724 * LaTeX.C (deplog): correct the syntax of regex reg1
11726 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11728 * undo.C: remove !NEW_INSETS cruft
11730 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11732 * text2.C: remove !NEW_INSETS cruft
11734 * text.C: remove !NEW_INSETS cruft
11736 * tabular.C: remove !NEW_INSETS cruft
11738 * spellchecker.C: remove !NEW_INSETS cruft
11740 * lyxtext.h: remove !NEW_INSETS cruft
11742 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11744 * lyxfunc.C: remove !NEW_INSETS cruft
11746 * lyxfind.C: remove !NEW_INSETS cruft
11748 * lyx_cb.C: remove !NEW_INSETS cruft
11750 * figureForm.C: remove !NEW_INSETS cruft
11752 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11754 * buffer.[Ch]: remove !NEW_INSETS cruft
11756 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11758 * CutAndPaste.C: remove !NEW_INSETS cruft
11760 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11762 * BufferView2.C: remove !NEW_INSETS cruft
11764 * BufferView.h: remove !NEW_INSETS cruft
11766 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11768 * Lsstream.h: include LString.h before the sstream headers to
11769 fix problem with gcc 2.95.3 and lyxstring
11771 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11773 * lyx_main.C: add using directives when needed for C functions
11774 declared in std:: namespace.
11776 2001-04-27 Juergen Vigna <jug@sad.it>
11778 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11779 (SetHeightOfRow): comment out the update call should not be needed!
11781 2001-04-13 Juergen Vigna <jug@sad.it>
11783 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11784 (LyXTabular): tried to minimize operator= operations (and realized
11785 hopfully Lars wish).
11787 2001-04-27 Juergen Vigna <jug@sad.it>
11789 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11791 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11793 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11795 * buffer.C (readInset): hack to make listof algorithm work
11797 * BufferView_pimpl.C: hack to make listof algorithm work
11799 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11801 * LyXAction.C: removed all !NEW_INSETS cruft
11802 (init): moved lfun_item in method
11804 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11806 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11808 * BufferView2.C (theLockingInset): white space.
11810 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11812 * minibuffer.C: include <iostream>
11814 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11816 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11818 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11820 * text.[Ch] (TransposeChars): new method
11822 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11824 * call message directly through LyXView instead of through LyXFunc
11825 * BufferView2.C: adjust
11826 * BufferView_pimpl.C: adjust
11827 * FontLoader.C: adjust
11829 * bufferview_funcs.C: adjust
11830 * converter.C: adjust
11831 * figureForm.C: adjust
11832 * importer.C: adjust
11834 * lyx_gui_misc.C: adjust
11835 * lyxfunc.C: adjust
11838 + more files in subdirs
11840 * lyxparagraph.h (size): move up int file
11843 * adjust all uses of Assert to lyx::Assert.
11845 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11846 lyxfunctional in namespace lyx
11847 * layout.C (hasLayout): ditto
11850 (delete_layout): ditto
11851 (NumberOfClass): ditto
11852 * converter.C (GetFormat): ditto
11857 * bufferlist.C (getFileNames): ditto
11858 (emergencyWriteAll): ditto
11861 * MenuBackend.C (hasSubmenu): ditto
11864 * BufferView_pimpl.C (getInsetByCode): ditto
11866 2001-04-18 Juergen Vigna <jug@sad.it>
11868 * vspace.C (asLatexString): fixed the 100% problem.
11870 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11872 * lyxfunc.C (Dispatch):
11874 * minibuffer.h: add a few std:: qualifiers
11876 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11878 * minibuffer.[Ch]: reimplement so that commands is initiated and
11879 run from lyxfunc, simplified som handling, and made the completion
11880 and history code for complete. wip.
11882 * lyxfunc.C (processKeySym): call message
11883 (miniDispatch): new temporary method
11884 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11885 (LFUN_MESSAGE): implement
11886 (LFUN_MESSAGE_PUSH): implement
11887 (LFUN_MESSAGE_POP): implement
11888 (initMiniBuffer): the initial/defualt minibuffer message.
11890 * lyxfont.[Ch]: inline some more getters
11892 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11894 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11896 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11897 (AutoSave): use LFUN_MESSAGE
11898 (Reconfigure): ditto
11900 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11902 * figureForm.C: use LFUN_MESSAGE
11904 * converter.C (runLaTeX): use LFUN_MESSAGE
11906 * bufferview_funcs.C: use LFUN_MESSAGE
11908 (changeDepth): ditto
11910 * bufferparams.h: use boost::
11912 * bufferlist.h: inherit privately from noncopyable
11914 * bufferlist.C (loadLyXFile): remove some commented code.
11916 * buffer.C (runChktex): use LFUN_MESSAGE
11918 * ShareContainer.h: inherit privately from noncopyable
11920 * ParagraphParameters.[hC] (depth): inline it.
11922 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11924 (message): new method
11925 (messagePush): ditto
11926 (messagePop): ditto
11927 (show): init minibuffer
11928 (showState): direct call
11930 * LaTeX.[Ch]: inherit privately from noncopyable
11931 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11932 instead of WriteStatus.
11934 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11936 * BufferView_pimpl.C (buffer): don't init minibuffer
11937 (workAreaButtonPress): use LFUN_MESSAGE
11938 (workAreaButtonRelease): ditto
11939 (savePosition): ditto
11940 (restorePosition): ditto
11941 (MenuInsertLyXFile): ditto
11942 (workAreaExpose): don't init minibuffer
11943 (update): remove commented code, simplify
11945 * BufferView2.C (openStuff): use LFUN_MESSAGE
11946 (toggleFloat): ditto
11949 (copyEnvironment): ditto
11950 (pasteEnvironment): ditto
11955 (updateInset): remove some commented code
11957 * lastfiles.h: inherit privately from noncopyable
11960 * lyx_main.h: ditto
11962 * lyxlex_pimpl.h: ditto
11964 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11965 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11966 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11968 * LyXAction.h: inherit privately from noncopyable, add methods
11969 func_begin, func_end, returning iterators to the func map.
11971 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11972 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11973 (func_begin): new method
11974 (func_end): new method
11976 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11978 (copySelection): ditto
11979 (pasteSelection): ditto
11981 * BufferView.C: whitespace change
11982 * BufferView.h: inherit privately from noncopyable
11984 2001-04-16 Allan Rae <rae@lyx.org>
11986 * tabular-old.C (l_getline):
11987 * spellchecker.C (sc_check_word):
11988 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11989 an unrecognised preprocessor directive. So ensure they're wrapped.
11991 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11993 * src/exporter.C (Export): Give an error message when path to file
11996 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11998 * LaTeX.C (deplog): Always check that foundfile exists.
12000 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12003 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12005 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12007 * tabular.[Ch] (getLabelList): implement new method
12009 * minibuffer.h: comment ouf setTiimer
12011 * minibuffer.C (ExecutingCB): constify res
12012 (peek_event): constify s
12013 (Set): constify ntext
12014 (Init): constify nicename
12016 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12018 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12019 (savePosition): use two params to Minibuffer::Set
12020 (restorePosition): ditto
12022 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12024 * lyx_main.C: include language.h
12026 * Makefile.am (lyx_main.o): add language.h
12028 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12034 * CutAndPaste.C: include gettext.h
12036 * lyxfont.h: remove old hack with ON and OFF.
12039 * lyxfont.h: do not include language.h...
12044 * bufferview_funcs.C:
12050 * paragraph.C: ... but do it here instead
12052 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12054 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12056 * tabular.C: small reformat
12058 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12061 (BreakParagraph): ditto
12062 (SetOnlyLayout): ditto
12065 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12068 * lastfiles.C: removed most using decl, add std:: where needed
12070 * buffer.C: ws changes
12072 * MenuBackend.C (class compare_format): put into anon namespace
12073 (expand): constify label, names, action, action2
12076 * text.C (SingleWidth): constify font
12077 (IsBoundary): constify rtl2
12078 (GetVisibleRow): constify ww
12080 * LaTeX.C (deplog): constify logfile
12082 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12084 (workAreaExpose): constify widthChange, heightChange
12086 * lyxrow.C (par): moved
12089 * lyxrow.h: as inlines here
12091 * lyxfont.h (shape): moved from lyxfont.C
12092 (emph): moved from lyxfont.C
12094 * lyxfont.C (LyXFont): use initialization list for all
12096 (shape): move to lyxfont.h as inline
12097 (emph): move to lyxfont.h as inline
12100 2001-04-04 Juergen Vigna <jug@sad.it>
12102 * vspace.C: had to include stdio.h for use of sscanf
12104 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12107 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12108 independent of xforms.
12110 2001-04-02 Juergen Vigna <jug@sad.it>
12112 * spellchecker.C: fixed namespace placing!
12114 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12116 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12117 the LyXParagraph * is 0.
12119 2001-03-29 Juergen Vigna <jug@sad.it>
12121 * vspace.C: added support for %, c%, p%, l%.
12122 (stringFromUnit): added helper function.
12123 (asLatexString): changed to give right results for the %-values.
12125 * buffer.C: convert the widthp in a width%.
12127 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12129 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12132 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12133 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12135 * lyx_cb.[Ch]: see above.
12137 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12141 * lyx.[Ch]: replaced by figure_form.[Ch].
12145 * lyxfunc.C: changed headers associated with above changes.
12147 2001-03-27 Juergen Vigna <jug@sad.it>
12149 * BufferView_pimpl.C: set the temporary cursor right!
12151 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12153 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12155 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12157 * LString.h: removed "using std::getline"!
12159 * BufferView_pimpl.C (Dispatch): changes due to changes in
12160 InsetInclude::Params.
12162 * buffer.C (tag_name): removed redundant break statements as they were
12163 producing lots of warnings with my compiler.
12165 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12167 * LString.h: add "using std::getline" when using the real <string>.
12169 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12171 * buffer.C: removed bitset usage.
12172 PAR_TAG moved to an anonymous name space.
12173 (tag_name): new funtion, also in the anonymous namespace.
12174 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12175 (makeDocBookFile): clean code. Completed transition from string arrays
12177 (SimpleDocBookOnePar): code clean.
12179 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12181 * tabular.C: add some comments.
12183 2001-03-22 Juergen Vigna <jug@sad.it>
12185 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12186 compatibility read a bit and fixed bug with minipage in different
12189 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12191 * buffer.C (pop_tag): removed.
12192 (push_tag): removed.
12193 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12194 array replaced with vector. Added support for CDATA sections.
12195 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12197 (makeDocBookFile): XML conformant declaration of CDATA section,
12198 fixed bug related to <emphasis> in the first paragraph char.
12199 (sgmlOpenTag): exclude empty tags.
12200 (sgmlCloseTag): ditto.
12202 * buffer.h (pop_tag): removed.
12203 (push_tag): removed.
12205 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12207 * language.h (Languages): added size_type and size().
12209 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12211 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12212 response on compability reading of minipages. One probliem is that
12213 the old usage of minipages was «flertydig»
12215 * several files here and in subdirs: don't use static at file
12216 scope use anon namespaces instead.
12218 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12220 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12221 LaTeX output. This is necessary for Literate document
12224 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12226 * buffer.C: insert hfill when needed.
12228 * tabular.C (l_getline): use string::erase, small whitespace change.
12230 * BufferView_pimpl.C: try the anon namespace.
12231 * WorkArea.C: ditto
12233 2001-03-16 Juergen Vigna <jug@sad.it>
12235 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12236 otherwise it won't open options-dialogs.
12238 * buffer.C: honor pextraWidth(p) on converting minipages.
12240 * tabular.C (l_getline): changed the functions to strip trailing \r.
12242 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12244 * BufferView_pimpl.C:
12245 * minibuffer..C: added "using SigC::slot" declaration.
12247 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12249 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12255 * paragraph.C: ditto
12257 * lyxtext.h: NO_PEXTRA
12259 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12261 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12262 * ParameterStruct.h: ditto
12263 * ParagraphParameters.h: ditto
12264 * lyxparagraph.h: ditto
12266 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12268 * buffer.C: add compability for minipage alignment.
12269 (latexParagraphs): remove unwanted pextra check.
12271 * several files: remove CXX_WORKING_NAMESPACES
12273 * buffer.C (pop_tag): tie is in namespace boost
12275 * BufferView.h: noncopyable is in namespace boost
12277 * lyx_main.h: ditto
12280 * lastfiles.h: ditto
12281 * bufferlist.h: ditto
12282 * ShareContainer.h: ditto
12284 * LyXAction.h: ditto
12287 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12289 * Merging changes from BRANCH_MVC back into HEAD.
12291 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12293 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12295 * BufferView_pimpl.C: change from intl.C
12299 * Makefile.am: move combox.*
12305 * intl.C: remove dialog (covered by prefs)
12307 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12309 * lyxfunc.C (Dispatch): removed redundant break statement.
12311 2001-03-14 Juergen Vigna <jug@sad.it>
12313 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12315 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12317 * buffer.C: add hack to fix compability reading of minipages.
12319 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12321 * buffer.C (getLists): Cleanup.
12323 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12325 * lyxfont.C (update): don't honor toggleall on font size.
12327 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12331 * Makefile.am: moved to frontends/xforms/
12335 * BufferView_pimpl.C: changes for moved mathpanel
12337 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12339 * gettext.h: fix gettext_init() in --disable-nls
12341 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12343 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12345 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12348 * lyx.h: strip external form
12350 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12352 * BufferView_pimpl.C: add comment, destroySplash()
12354 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12356 * BufferView_pimpl.C:
12360 * lyxfunc.C: use re-worked insetinclude
12362 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12364 * buffer.C: add using std::stringstream.
12366 * lyx_cb.C: readd using std::ios.
12368 * buffer.C: add using std::map.
12370 * BufferView_pimpl.C: add using std::vector.
12372 * ShareContainer.h: add std:: to swap.
12374 * buffer.h: add some typedefs
12375 * buffer.C (getLists): use them
12376 (getLists): renamed from getTocList.
12377 add a counter for the different float types and use it in the
12379 (getLists): use the same counter for the NEW_INSETS and the "non"
12382 * lyx_cb.h: remove unused items, includes, using etc.
12384 * ShareContainer.h: remove some commented code, add more comments
12385 and "documentation".
12387 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12389 * buffer.C (getTocList): make the list also when NEW_INSETS is
12392 * buffer.h: remove TocType
12394 * buffer.C (getTocList): change to return a map<string,
12395 vector<TocItem> >, implement for dynamic number of list.
12397 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12398 * text2.C (PasteSelection): adjust
12399 * CutAndPaste.C (pasteSelection): adjust
12401 * FloatList.C (FloatList): update from the new_insets branch.
12402 * Floating.[Ch]: ditto
12403 * LaTeXFeatures.C: ditto
12405 * lyxlex_pimpl.C: ditto
12407 * paragraph.C (Last): remove when NEW_INSETS is defined.
12409 * other file: changes because of the above.
12411 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12413 * lyxparagraph.h: rename next to next_, previous to previous_,
12414 make them private for NEW_INSETS. Rename Next() to next(),
12415 Previous() to previous().
12417 * other files: changes because of the above.
12419 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12422 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12425 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12427 * main.C (main): pass lyx_localedir to gettext_init().
12429 * gettext.h: remove locale_init and gettext_init macros
12431 * gettext.C (locale_init): new function
12432 (gettext_init): new function
12434 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12437 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12439 * Moved credits to frontends:
12440 * credits.[Ch]: removed
12441 * credits_form.[Ch]: removed
12442 * lyx_gui_misc.C: remove credits stuff
12445 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12447 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12449 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12450 unneeded destructor.
12452 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12453 a standalone pointer again.
12455 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12457 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12463 * ToolbarDefaults.C:
12472 * BufferView_pimpl.C: use new file dialog in GUII
12475 * lyx_cb.C: remove LayoutsCB to Toolbar
12477 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12479 * ShareContainer.h (get): add std:: qualifier
12481 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12483 * ShareContainer.h: define a proper ShareContainer::value_type
12484 type (and use typename to please compaq cxx)
12486 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12488 * lyxparagraph.h: move serveral local vars to
12489 ParameterStruct/ParagraphParameters., use ShareContainer in
12490 FontTable., make vars in FontTable private and add getter and
12493 * paragraph.C: changes because of the above.
12495 * lyxfont.h: remove copy constructor and copy assignment. (the
12496 default ones is ok), move number inside FontBits. move inlines to
12499 * lyxfont.C: add number to initializaton of statics, move several
12500 inlines here. constify several local vars. some whitespace
12501 cleanup. Dont hide outerscope variables.
12503 * Spacing.h: add two new constructors to match the set methods.
12505 * ShareContainer.h: new file, will perhaps be moved to support
12507 * ParameterStruct.h: new file
12509 * ParagraphParameters.h: new file
12511 * ParagraphParameters.C: new file
12513 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12514 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12516 * BufferView_pimpl.C: ParagraphParameter changes.
12517 * buffer.C: Likewise.
12518 * bufferview_funcs.C: Likewise.
12519 * text.C: Likewise.
12520 * text2.C: Likewise.
12522 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12524 * lyxfind.C (LyXReplace): do not redefine default argument in
12526 (IsStringInText): ditto
12527 (SearchForward): ditto
12528 (SearchBackward): ditto
12530 2001-03-06 Juergen Vigna <jug@sad.it>
12532 * lyxfind.C (IsStringInText): put parentes around expressions.
12534 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12536 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12538 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12540 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12542 * stl_string_fwd.h: add comment
12544 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12547 * tabular.C: remove unused DocBook methods
12553 killed DO_USE_DEFAULT_LANGUAGE
12555 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12557 * lyx_gui.C: do not include language.h.
12559 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12560 arguments in function implementation.
12562 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12564 * BufferView_pimpl.C: add <ctime>
12566 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12568 * BufferView_pimpl.C: add using std::find_if
12570 2001-02-27 José Matos <jamatos@fep.up.pt>
12572 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12575 2001-02-11 José Matos <jamatos@fep.up.pt>
12577 * buffer.C (makeDocBookFile): command styles now have a parameter as
12578 "title" by default.
12580 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12582 * layout_forms.[Ch]: removed
12583 * lyx_cb.[Ch]: out character
12584 * lyx_gui.C: out character
12585 * lyx_gui_misc.C: out character
12586 * bufferview_funcs.C: : out character,
12587 added toggleall as parameter in ToggleAndShow
12589 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12591 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12593 * text2.C (SetCurrentFont): Disable number property at boundary.
12595 2001-02-26 Juergen Vigna <jug@sad.it>
12597 * lyxfunc.C (getStatus): added a string argument override function so
12598 that this is correctly called from LyXFunc::Dispatch if it contains a
12599 do_not_use_argument which is used!
12600 (Dispatch): added check for "custom" export and call appropriate func.
12602 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12604 * lyxrc.C: Add language_command_local, language_use_babel and
12605 language_global_options.
12607 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12609 * buffer.C (makeLaTeXFile): Use language_use_babel and
12610 language_global_options.
12612 2001-02-23 Juergen Vigna <jug@sad.it>
12614 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12615 which works with LyXText and putted it inside BufferView. Here now we
12616 only call for that part the BufferView::Dispatch() function.
12618 * BufferView.C (Dispatch): added.
12620 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12621 functions which needs to use a LyXText over from LyXFunc.
12622 (MenuInsertLyXFile): added
12623 (getInsetByCode): added
12624 (moveCursorUpdate): added
12625 (static TEXT): added
12627 2001-02-22 Juergen Vigna <jug@sad.it>
12629 * BufferView_pimpl.C (update): call a status update to see if LyXText
12632 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12634 * vc-backend.C (revert): implement for CVS
12635 (getLog): implement for CVS
12637 2001-02-20 Juergen Vigna <jug@sad.it>
12639 * text2.C (ClearSelection): added BufferView param for inset_owner call
12641 * lyxfunc.C (TEXT): added this function and use it instead of
12642 directly owner->view()-text of getLyXText().
12644 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12646 * src/layout_forms.C: out preamble
12647 * src/layout_forms.h: out preamble
12648 * src/lyx_cb.C: out preamble
12649 * src/lyx_cb.h: out preamble
12650 * src/lyx_gui.C: out preamble
12651 * src/lyx_gui_misc.C: out preamble
12652 * src/lyxfunc.C: connect with guii preamble
12654 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12656 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12658 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12660 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12661 whether to run bibtex.
12663 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12665 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12667 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12669 * Makefile.am (lyx_SOURCES): removed bibforms.h
12671 * vspace.h: doxygen
12673 * text.C (GetVisibleRow): make several local vars const
12675 * tabular.C: small cleanup.
12677 * lyxserver.C (callback): use compare instead of strncmp
12679 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12680 inlines to after class or to paragraph.C
12682 * lyxfont.h: remove friend operator!=
12684 * converter.h: move friend bool operator< to non friend and after
12687 * combox.h: small cleanup
12689 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12690 to inlines after class def.
12692 * buffer.C (pop_tag): use string operations instead of strcmp
12694 * bmtable.c: doxygen, small cleanup
12696 * LaTeX.h: remove friend operator==
12698 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12710 * BufferView_pimpl.C:
12711 * BufferView.[Ch]: remove cruft
12713 2001-02-14 Juergen Vigna <jug@sad.it>
12715 * lyxfunc.C: removed #if 0 unused code
12717 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12719 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12721 * text2.C (SetSelection): added a BufferView * parameter
12723 2001-02-13 Juergen Vigna <jug@sad.it>
12725 * lyxfunc.C (Dispatch): fixed protected blank problem.
12726 * BufferView2.C (protectedBlank): added LyxText * parameter.
12728 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12729 (AppendColumn): same as above for column_info.
12731 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12732 (moveCursorUpdate): use a LyXText param for support of InsetText.
12734 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12735 (tripleClick): ditto
12737 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12739 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12741 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12743 * text2.C (SetSelection): set correct update status if inset_owner
12744 (ToggleFree): ditto
12746 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12748 * tabular.C: remove some commented code.
12750 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12752 * BufferView_pimpl.C: call hideSplash()
12754 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12757 * bibforms.h: remove
12760 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12761 add LFUN_CHILD_CREATE
12763 * counters.h: fix tiny typo
12768 * lyx.C: move splash to frontends/xforms/
12770 * lyx_gui_misc.C: move Include and Bibform to frontends
12772 * lyxvc.h: clarify comment
12774 * vspace.C: tiny housekeeping
12776 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12778 * text.C (PrepareToPrint): RTL Fix.
12780 * paragraph.C (GetUChar): New method.
12781 (String): Use GetUChar.
12783 * buffer.C (asciiParagraph): Use GetUChar.
12785 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12787 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12789 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12792 * buffer.C: rename to getLogName(), handle
12793 build log / latex log nicely
12795 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12798 * MenuBackend.h: remove support for reference menuitem type.
12800 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12802 * BufferView_pimpl.C: housekeeping
12803 * BufferView_pimpl.h:
12808 * minibuffer.h: move Timeout GUI-I
12810 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12812 * lyxrc.C (read): Update converters data-structures.
12814 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12816 * LaTeX.h (operator!=): add operator != for Aux_Info
12818 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12820 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12822 * LaTeXLog.C: deleted, useful code moved to Buffer
12825 * buffer.C: new function getLatexLogName()
12831 * lyxfunc.C: use frontends for LaTeX and VC logs
12833 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12835 * LaTeX.h: yet another std:: that Allan forgot.
12837 * Variables.C (set): renamed from isset(), because this clashes
12838 with some HP-UX macros (grr).
12840 2001-02-06 Allan Rae <rae@lyx.org>
12842 * LaTeX.h: Another bug fix. Missing std:: this time.
12844 2001-02-04 Allan Rae <rae@lyx.org>
12846 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12847 floats problem. I've left it commented out because it's not quite
12848 correct. It should also test that the current object is a table or
12849 figure inset. But I haven't gotten around to figuring out how to do
12850 that. I *think* it'll be something like: "table" == inset.type()
12852 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12855 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12857 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12858 all the citation/databases/styles in the auxilary file.
12859 (run): Rerun latex if there was a babel language error.
12861 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12863 * text.C (Backspace): Preserve the font when changing newline char
12865 (BreakParagraph): If the cursor is before a space, delete the space.
12867 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12869 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12871 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12872 new argument (code).
12873 (ChangeCitationsIfUnique): New method.
12875 * paragraph.C (GetPositionOfInset): Handle bibkey.
12877 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12879 * BufferView_pimpl.h: change type of Position::par_pos to
12880 LyXParagraph::size_type.
12882 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12884 * BufferView_pimpl.C (savePosition, restorePosition): Write
12885 messages to minibuffer.
12887 2001-01-28 José Matos <jamatos@fep.up.pt>
12889 * buffer.C (makeDocBookFile): adds support for document language.
12890 A silly restriction on the name of LatexCommand types where removed.
12891 Added support for CDATA sections, allows to chars unescaped, used
12892 among others in code, to avoid escape < and >.
12894 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12896 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12897 saved positions instrad of a stack. Furthermore, a position is
12898 stored using paragraph id/paragraph position.
12900 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12901 Remove LFUN_REF_BACK.
12903 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12905 * converter.C (dvipdfm_options): New method.
12907 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12909 * vspace.C (isValidLength): Fix for empty input string.
12911 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12913 * LyXAction.C (init): change description of LFUN_FIGURE to
12916 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12918 * LaTeX.C: add using directive
12920 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12922 * MenuBackend.C (expand): Fix the sorting of the formats.
12924 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12926 * lyx_main.C: tiny error message fix
12928 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12930 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12931 calling fl_initialize(). This fixes the problem with ',' as
12932 decimal separator in text files.
12934 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12936 * trans.C (process): Fix the keymap bug.
12938 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12940 * LaTeX.C (scanAuxFiles): New method. Provides support for
12941 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12942 (scanLogFile) Scan for "run BibTeX" messages.
12944 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12945 OT1 font encoding. Also, load the aecompl package if the ae
12948 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12950 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12952 * texrow.C (increasePos): turn two error messages into debug
12955 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12957 * LaTeX.C (scanAux): Handle the \@input macro.
12958 (runBibTeX): Use scanAux().
12960 * language.C (latex_options_): New field.
12962 * LaTeXFeatures.C (getMacros): Add language macros.
12964 * buffer.C (makeLaTeXFile): Small fix.
12966 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12968 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12970 * text2.C: add a using directive.
12972 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12977 * lyxfunc.C: kill LyXBell.
12979 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12981 * text.C (IsBoundary): Remove the error message
12983 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12985 * lyxrc.C (setDefaults): Correct initialization value for
12988 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12990 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12993 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12994 and GotoNextNote().
12996 * src/LyXAction.C: Added reference-next.
12998 * text.C (InsertChar): Use contains instead of strchr.
13000 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13002 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13004 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13005 alignment commands (when needed).
13007 * text.C (InsertChar): Add ':' to number separator chars.