1 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * lyxfunc.C (processKeySym): adjust
5 (dispatch): change arg name from ev to func, adjust
6 (sendDispatchMessage): ditto
8 * lyx_main.C (defaultKeyBindings): adjust keybindings
9 (deadKeyBindings): ditto
11 * kbsequence.C (addkey): return a FuncRequest
13 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
15 * kbmap.C (bind): take a FuncRequest as arg, adjust
18 (defkey): change to take a FuncRequest as arg, adjust
19 (findbinding): take a FuncRequest as arg, adjust.
21 * funcrequest.h (operator=): added
23 * funcrequest.C (FuncRequest): default kb_action changed from
24 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
26 * buffer.C (dispatch): simplify
27 (dispatch): adjust to take a FuncRequest as arg, adjust
29 * boost.C (assertion_failed): change assertion message slightly
31 * ToolbarBackend.C (read): simplify
33 * MenuBackend.C (binding): adjust call to findbinding, add a
34 message if no binding is found.
36 (expandToc): correct by adding a empty FuncRequest
38 * LyXAction.C: include <boost/assert.hpp>
39 (isPseudoAction): delete function
40 (LookupFunc): change name to...
41 (lookupFunc): this. change return type to FuncRequest.
42 (getActionName): take kb_action as arg, simplify
43 (funcHasFlag): add an assert, simplify.
45 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
47 * toc.C (action): return a FuncRequest, simplify
49 * lyxfunc.C (processKeySym): adjust
50 (getStatus): delete version that takes an int.
52 (dispatch): delete version that takes action as int
54 (sendDispatchMessage): simplify and adjust
56 * funcrequest.C (getArg): take unsigned int as arg
58 * ToolbarBackend.C (read): adjust
59 (add): delete version that takes func as a string.
60 (getIton): take a FuncRequest as arg
62 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
65 * MenuBackend.C (MenuItem): add a new construct that only takes a
66 Kind, simplify the constructor use for submenus.
68 (expandLastfiles): adjust
69 (expandDocuments): adjust
70 (expandFormats): adjust
71 (expandFloatListInsert): adjust
72 (expandFloatInsert): adjust
73 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
75 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
76 Remove class variables lyx_pseudo_map and lyx_arg_map
78 * LyXAction.C (searchActionArg): delete function
79 (getPseudoAction): delete function
80 (retrieveActionArg): delete function
81 (LookupFunc): make it return kb_action, simplify.
82 (getActionName): simplify
84 * factory.C (createInset): fix new bug
86 2003-09-19 Angus Leeming <leeming@lyx.org>
88 * CutAndPaste.C (pasteSelection): remove fudge used to set the
89 masterFilename_ parameter in the include inset.
91 * factory.C (createInset): changes due to the changes to InsetInclude.
93 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
95 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
97 2003-09-18 Angus Leeming <leeming@lyx.org>
100 * BufferView.C: pass the buffer when calling Inset::getLabelList,
101 Inset::fillWithBibKeys.
102 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
104 2003-09-18 Angus Leeming <leeming@lyx.org>
106 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
108 (ctor): pass and store a 'Buffer const &'
109 (buffer): new member function.
111 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
112 '*this' to the LaTeXFeatures ctor.
114 2003-09-18 Angus Leeming <leeming@lyx.org>
120 * text.C: rename EnumLColor as LColor_color.
122 2003-09-18 Angus Leeming <leeming@lyx.org>
124 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
125 remove #include "insets/insetbase.h" from cursor.h.
127 2003-09-18 Angus Leeming <leeming@lyx.org>
129 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
130 InsetOld_code to remove #include "inset.h".
132 * iterators.C: add #include "insets/inset.h"
134 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
136 * BufferView.C: remove more locking stuff that apparently doesn't
137 do anything sensible.
139 2003-09-16 André Pönitz <poenitz@gmx.net>
142 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
145 2003-09-16 Angus Leeming <leeming@lyx.org>
147 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
149 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
152 * paragraph.h: remove #include "lyxfont.h". Forward declare
155 2003-09-16 Angus Leeming <leeming@lyx.org>
157 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
158 of support/textutils.h.
159 (isWord): move the contents of support/textutils.h's IsWordChar here.
165 * text2.C: add #include "paragraph.h".
168 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
170 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
176 * LaTeX.C: use namespace alias for lyx::support::os
178 2003-09-16 Angus Leeming <leeming@lyx.org>
181 * bufferview_funcs.C:
186 * text.C: add #include "LColor.h".
188 2003-09-16 Angus Leeming <leeming@lyx.org>
190 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
191 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
193 Store the FontBits::color variable as an int rather than as an
194 LColor::colorso that we can move LColor.h out of the lyxfont.h header
197 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
198 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
199 string calls together.
201 * lyxrc.C: add #include "LColor.h".
203 2003-09-15 Angus Leeming <leeming@lyx.org>
205 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
208 2003-09-15 Angus Leeming <leeming@lyx.org>
210 * LColor.h: add an EnumLColor wrapper for LColor::color.
212 * lyxfont.[Ch] (color, setColor, realColor):
213 * lyxtext.h, text.C (backgroundColor):
214 pass EnumLColor args to/from the functions, rather than LColor::color
218 * lyxtext.h: forward declare EnumLColor.
220 * lyx_main.C: add #include "LColor.h".
222 2003-09-15 Angus Leeming <leeming@lyx.org>
224 * .cvsignore: add lyx-gtk.
226 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
231 * ParagraphParameters.C
245 * vc-backend.C: remove usage of STRCONV
247 2003-09-15 Angus Leeming <leeming@lyx.org>
249 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
250 explicitly define the color passed to the painter.
252 2003-09-15 Angus Leeming <leeming@lyx.org>
254 * bufferparams.C (BufferParams): reorder member initializers to avoid
257 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
259 * CutAndPaste.C (pasteSelection): remove an outdated #warning
260 * text.C (updateRowPositions): remove an unusual nop
262 2003-09-12 André Pönitz <poenitz@gmx.net>
264 * BufferView_pimpl.C:
273 * Counters.[Ch]: finish the 'automatic counters' job
275 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
277 * aspell.C: include <boost/assert.cpp> (compile fix)
279 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
281 * boost.C (assertion_failed): use lyx::support::abort instead of
284 2003-09-10 Angus Leeming <leeming@lyx.org>
286 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
287 with their _fwd progeny.
289 2003-09-09 Angus Leeming <leeming@lyx.org>
291 134 files throughtout the source tree: replace 'using namespace abc;'
292 directives with the appropriate 'using abc::xyz;' declarations.
294 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
296 * boost.C (emergencyCleanup): moved here from LAssert.c
297 (assertion_failed): new function, called by BOOST_ASSERT
299 * several files: change Assert to BOOST_ASSERT
301 2003-09-09 Angus Leeming <leeming@lyx.org>
303 * buffer.[Ch]: Add an Impl class and move Buffer's member
304 variables into it. As a result move several header files out of
307 Add header files to lots of .C files all over the tree as a result.
309 2003-09-09 Angus Leeming <leeming@lyx.org>
311 * buffer.[Ch]: make Buffer's member variables private. Add
314 Lots of changes all over the tree as a result.
316 2003-09-08 Angus Leeming <leeming@lyx.org>
318 * graph.C: #include <config.h>.
320 2003-09-08 Angus Leeming <leeming@lyx.org>
324 * BufferView_pimpl.C:
353 * toc.C: remove redundant using directives.
355 2003-09-07 Angus Leeming <leeming@lyx.org>
357 * LaTeXFeatures.h: remove #include "support/types.h".
358 * ToolbarBackend.h: remove #include <algorithm>.
359 * changes.h: remove #include <ctime>.
360 * debug.h: remove #include <iosfwd>.
361 * graph.h: remove #include "support/std_string.h".
362 * lyx_main.h: remove #include <csignal>.
363 * lyxlex_pimpl.h: remove #include <fstream>.
364 * sgml.h: remove #include <algorithm>, <utility>.
365 * toc.h: remove #include "support/std_ostream.h".
366 Add #include <iosfwd>.
368 2003-09-07 Angus Leeming <leeming@lyx.org>
370 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
372 * converter.h: forward declare LatexRunParams.
373 * encoding.h: remove #include "lyxrc.h".
374 * lyxtext.h: remove #include "LColor.h".
375 * lyxtextclass.h: remove #include "support/types.h".
376 * trans.h: remove #include "tex-accent.h".
377 * trans_mgr.h: remove #include "tex-accent.h".
378 * insets/inset.h: remove #include "support/types.h", <vector>.
379 * insets/insetcollapsable.h: remove #include "LColor.h".
380 * insets/insetinclude.h: remove #include "dimension.h".
381 * insets/insetlatexaccent.h: remove #include "dimension.h".
382 * insets/insetoptarg.h:: remove #include "insettext.h".
383 * insets/insettext.h: remove #include "dimension.h",
384 <boost/shared_ptr.hpp>
386 * insets/renderers.h: add #include "dimension.h".
387 * insets/updatableinset.h: add #include "support/types.h".
389 * many .C files: Associated changes.
391 2003-09-06 Angus Leeming <leeming@lyx.org>
393 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
394 one, inside testInvariant.
396 * PrinterParams.C: new file.
397 * PrinterParams.[Ch]: move the function bodies out of line.
399 2003-09-06 Angus Leeming <leeming@lyx.org>
401 * ParagraphParameters.h: forward declare ParameterStruct rather than
402 including its header file.
403 (depth): moved out-of-line.
405 2003-09-06 Angus Leeming <leeming@lyx.org>
407 * BufferView_pimpl.h:
410 * lyxfunc.h: forward declare LyXKeySym rather than
411 #include "frontends/LyXKeySym.h".
413 * BufferView_pimpl.C:
416 * lyxfunc.C: associated changes.
418 2003-09-06 Angus Leeming <leeming@lyx.org>
420 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
421 As a result, can remove the #include "insets/inset.h" from BufferView.h
423 2003-09-06 Angus Leeming <leeming@lyx.org>
425 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
426 As a result, can remove the #include "insets/inset.h" from BufferView.h
428 2003-09-06 Angus Leeming <leeming@lyx.org>
434 * bufferview_funcs.C:
435 * BufferView_pimpl.C:
440 * ParagraphParameters.C:
445 * frontends/controllers/ControlDocument.C:
446 * insets/insetcaption.C: rearrange the #includes into some sort of
449 * buffer.h: remove #includes ErrorList.h, undo.h
451 2003-09-06 Angus Leeming <leeming@lyx.org>
453 * support/types.h: add a 'depth_type' typedef, used to store the
454 nesting depth of a paragraph.
457 * ParameterStruct.h: use this lyx::depth_type typedef rather than
462 * ParagraphParameters.h:
463 * sgml.h: use lyx::depth_type rather than Paragraph or
464 ParameterStruct's depth_type.
467 * paragraph_funcs.h: no need to #include paragraph.h anymore.
470 * BufferView_pimpl.C:
472 * ParagraphParameters.C:
475 * bufferview_funcs.C:
482 * frontends/LyXView.C:
483 * frontends/controllers/ControlDocument.C:
484 * frontends/controllers/ControlErrorList.C:
485 * insets/insetbibitem.C:
486 * insets/insetbranch.C:
487 * insets/insetcaption.C:
488 * insets/insetcollapsable.C:
491 * insets/insetfloat.C:
492 * insets/insetfoot.C:
493 * insets/insetfootlike.C:
494 * insets/insetnewline.C:
495 * insets/insetquotes.C:
496 * insets/insettabular.C:
497 * insets/insettext.C:
498 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
500 * frontends/controllers/ControlChanges.C: #include "changes.h".
502 2003-09-06 Angus Leeming <leeming@lyx.org>
504 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
505 than #including paragraph.h.
508 * RowList.h: deleted. Superfluous.
518 * insets/insettext.h: use ParagraphList_fwd.h rather than
521 * paragraph.h: don't forward declare ParagraphList.
524 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
525 rather than ParagraphList.h. paragraph.h is still needed for the
526 Paragraph::depth_type parameters.
528 * textcursor.h: enable it to compile stand-alone in light of the
531 * bufferview_funcs.C:
543 * frontends/controllers/ControlParagraph.C:
544 * frontends/controllers/ControlTabular.C:
545 * insets/insetmarginal.C:
546 * insets/insetminipage.C:
547 * insets/insetnote.C:
548 * insets/insetoptarg.C: add header files needed to compile again.
550 2003-09-06 Angus Leeming <leeming@lyx.org>
552 * RowList_fwd.h: new file, forward-declaring Row rather than
558 * insets/insettext.h: use it instead of RowList.h
560 * bufferview_funcs.C:
567 * text3.C: #include "RowList.h".
569 2003-09-05 Angus Leeming <leeming@lyx.org>
571 * factory.C (createInset):
572 * vspace.C (c-tor): replace sscanf call with an istringstream.
573 * ispell.C: re-add missing HP/UX headers.
574 * lyxserver.C: re-add missing os2 headers.
576 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
585 * text3.C: re-add missing system headers, needed for 2.95.2.
587 2003-09-05 Angus Leeming <leeming@lyx.org>
589 Changes most place everywhere due to the removal of using directives
590 from support/std_sstream.h.
592 2003-09-05 Angus Leeming <leeming@lyx.org>
594 Replace LString.h with support/std_string.h,
595 Lsstream.h with support/std_sstream.h,
596 support/LIstream.h with support/std_istream.h,
597 support/LOstream.h with support/std_ostream.h.
599 Changes resulting throughout the tree.
601 2003-09-05 Angus Leeming <leeming@lyx.org>
603 * sgml.h: ensure that the header file can be compiled stand-alone.
604 * *.C: strip out redundant #includes. (320 in total.)
606 2003-09-04 Angus Leeming <leeming@lyx.org>
608 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
609 here (from getPackages).
611 * debug.[Ch]: add a new EXTERNAL tag.
613 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
615 * text2.C (cursorEnd): simplify
617 (getColumnNearX): adjust
619 * text.C (computeBidiTables): adjust
622 * rowpainter.C (paintChars): adjust
623 (paintSelection): adjust
624 (paintChangeBar): adjust
627 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
629 (numberOfSeparators): adjust
631 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
637 * text3.C: Restricts the mouse click functionality
638 of insets like bibtex, include, toc and floatlist to the visible
639 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
640 up the dialogs. Cursor has to be in front of the inset (i.e.
641 start of row) for this to function.
643 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
645 * bufferview_funcs.C (currentState): output row information
647 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
649 * bufferview_funcs.C (currentState): output paragraph position
651 2003-09-04 Angus Leeming <leeming@lyx.org>
653 * FloatList.h: move out #include "Floating.h".
654 * LaTeX.h: move out #include "DepTable.h".
655 * LyXAction.h: move out #include "funcrequest.h".
656 * buffer.h: move out #include "author.h", "iterators.h".
657 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
658 * lyx_main.h: move out #include "errorlist.h".
659 * lyxfunc.h: move out #include "FuncStatus.h".
660 * lyxtext: move out #include "lyxcursor.h".
661 * paragraph_pimpl.h: move out #include "counters.h".
663 2003-09-03 Angus Leeming <leeming@lyx.org>
665 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
666 preamble_snippets list, enabling us to add snippets to the preamble
667 only if the snippet was not there already.
669 2003-09-04 Angus Leeming <leeming@lyx.org>
671 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
673 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * lyxfunc.C (dispatch): if fitCursor did something be sure to
678 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
680 * BranchList.C: point fix, earlier forgotten
682 2003-09-02 Angus Leeming <leeming@lyx.org>
684 * box.C (contains): renamed from 'contained' after a fantastic
687 2003-09-02 John Levon <levon@movementarian.org>
693 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
695 2003-09-02 John Levon <levon@movementarian.org>
697 * text2.C: simplification of cursorEnd(), including partial
700 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
702 * buffer.C (readFile): add a space
704 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
706 * BufferView_pimpl.C (update): remove bogus fitCursor() call
708 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
710 * buffer.C (readFile): new function, take a filename and a
711 ParagraphList::iterator
713 (readFile): adjust, make it private. don't use setStream, make
714 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
715 always contain the filename.
717 * BufferView.C (insertLyXFile): simplify and make it work for
720 2003-08-30 John Levon <levon@movementarian.org>
722 * Makefile.am: fix dist (from Kayvan)
724 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
726 * most files: change to use const Buffer refs
728 2003-08-27 André Pönitz <poenitz@gmx.net>
730 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
731 on top of ownerPar().
733 2003-08-27 John Levon <levon@movementarian.org>
735 * funcrequest.C: properly initialise POD members
737 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
739 * lyxtext.h (top_y): move top_y from here
744 * BufferView_pimpl.[Ch]: to here
745 * frontends/screen.C:
746 * insets/insettabular.C:
747 * insets/insettext.C: adjust
748 * rowpainter.[Ch] (paintRows): remove LyXText & argument
750 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
753 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
755 2003-08-26 André Pönitz <poenitz@gmx.net>
757 * paragraph_func.[Ch] (outerPar): new function
763 * text2.C: remove Inset::par_owner
765 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
770 * text2.C: eliminates the needFullRow/display() stuff
771 altogether, putting the logic in metrics/draw in the insets.
773 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
775 * text2.C (redoParagraphInternal, redoParagraphs):
776 * text.C (redoParagraph): add a call to updateRowPositions at the
777 end of each 'metrics-like' call. Remove all others.
778 (getRow): remove the 'y-computing' version.
779 (getRowNearY): do not compute nor return the real y. Solve the
780 'y < 0' problem and simplify.
782 2003-08-22 Angus Leeming <leeming@lyx.org>
784 * *.[Ch]: clean-up of licence and author blurbs.
785 Also move config.h out of a few .h files and into a few .C files.
787 2003-08-22 André Pönitz <poenitz@gmx.net>
789 * lyxrow.[Ch]: add x_ and *fill_ members
794 * text2.C: adjust/remove prepareToPrint() calls
796 2003-08-22 André Pönitz <poenitz@gmx.net>
798 * lyxrow.[Ch]: add end_ member
800 * lyxrow_funcs.C: use LyXRow::end_
802 * lyxtext.h (singleWidth): add LyXFont parameter
805 * text2.C: adjust LyXText::singleWidth() calls
807 * text.C (redoParagraph): simplify row breaking logic
810 2003-08-19 André Pönitz <poenitz@gmx.net>
812 * funcrequest.C: initialize button_ member
815 * rowpainter.[Ch]: interface consolidation
817 2003-08-18 André Pönitz <poenitz@gmx.net>
820 * BufferView_pimpl.C:
824 * text3.C: remove LyXScreen::draw() and fitCursor calls
826 * BranchList.h: remove spurious semicolons
828 * MenuBackend.C: fix branchlist related crash
830 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
842 * text3.C: implements the 'branch inset'
843 idea. This allows the output of various versions of a document
844 from a single source version, selectively outputing or suppressing
845 output of parts of the text.
846 This implementation contains a 'branch list editor' in a separate
847 tab of the document settings dialog. Branches are user definable
848 and have a "display colour" to distinguish them on-screen.
850 ColorHandler was somewhat cleaned up.
851 (1) make possible a dynamically growing LColor list by allowing
852 the graphic context cache to grow along (vector);
853 (2) eliminate an IMHO unnecessary step in colour allocation.
855 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
857 * BufferView_pimpl.C: compile fix
859 2003-08-15 André Pönitz <poenitz@gmx.net>
861 * rowpainter.C: remove extra metrics calls
863 * lyxtext.h: merge the two constructors into a single one,
864 pass reference to owner's par list
866 * BufferView_pimpl.C:
870 2003-08-15 André Pönitz <poenitz@gmx.net>
880 * text_funcs.C: split LyXText::rowlist_ into individual
881 Paragraph::rows_ chunks
884 * BufferView_pimpl.[Ch]:
887 * text3.C: remove toggleSelection()
889 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
891 * bufferlist.C: beautify two alerts (shorter text of buttons)
892 * buffer.C: Remove redundant ' ' from message
894 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
895 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
896 rename VALIGN_CENTER to VALIGN_MIDDLE
898 2003-08-11 André Pönitz <poenitz@gmx.net>
900 * lyxtext.h (getPar):
901 * text.C: new function
903 2003-08-11 André Pönitz <poenitz@gmx.net>
906 * tracer.[Ch]: remove unneeded files
908 * InsetList.[Ch]: remove resizeInsetsLyXText()
913 * text3.C: merge insertParagraphs() and appendParagraph()
914 remove breakAgain(), update()
916 * BufferView_pimpl.[Ch]:
917 * bufferview_funcs.[Ch]:
921 * tabular.C: adjust after text & InsetList changes.
923 2003-08-08 André Pönitz <poenitz@gmx.net>
925 * text.C (insertChar, backspace): replace rowlist fiddling
926 with rebreak of full par
929 * text.C (breakAgainOneRow, redoHeightOfParagraph,
930 checkParagraph, updateInset): removed
932 2003-08-07 André Pönitz <poenitz@gmx.net>
935 * text3.C: merge some LFUN handlers, remove dead code
937 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
939 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
941 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
943 * text2.C (DEPM): fix part of bug 1255 and 1256
945 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
947 * BufferView_pimpl.C (workAreaDispatch): change to use
948 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
949 that are no mouse related.
951 2003-08-05 André Pönitz <poenitz@gmx.net>
954 * BufferView_pimpl.[Ch]:
955 * bufferview_funcs.C:
957 * text3.C: rip out "deep update"
959 * textcursor.[Ch] (last_sel_cursor): remove unused member
961 2003-08-04 André Pönitz <poenitz@gmx.net>
964 * BufferView_pimpl.[Ch]:
965 * ParagraphParameters.C:
966 * bufferview_funcs.C:
972 * text3.C: replace "complicated" BufferView::update(...) calls with
975 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
977 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
979 * Makefile.am (lyx_SOURCES): add paper.h
981 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
983 * Makefile.am: move things around so that both lyx-qt and
984 lyx-xforms can be built (according to --with-frontend). Then lyx
985 is a symbolic link to lyx-[firstfrontend]
987 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
989 * Always use std::endl with lyxerr
991 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
993 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
995 2003-08-01 André Pönitz <poenitz@gmx.net>
998 * BufferView_pimpl.[Ch]:
1000 * text3.C: merge BufferView::repaint() and BufferView::update()
1002 2003-08-01 José Matos <jamatos@lyx.org>
1004 * buffer.[Ch]: file_format is no longer a buffer data element.
1006 2003-08-01 André Pönitz <poenitz@gmx.net>
1011 * text2.C: make redoParagraph more independent of current cursor
1013 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1015 * text2.C: remove unneeded members
1017 2003-07-30 André Pönitz <poenitz@gmx.net>
1019 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1021 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1022 create a single function...
1024 * paragraph_funcs.C (moveItem): ... here.
1027 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1029 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1031 * LColor.[Ch]: Add comment and greyedout logical colors.
1033 2003-07-30 André Pönitz <poenitz@gmx.net>
1035 * tabular.C: don't use Assert too heavily. This crashes where it
1038 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1040 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1041 is disabled (bug 1232)
1043 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1045 * factory.C: limited 'arg' scope
1047 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1049 * factory.C: fixed Note submenu issues
1051 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1053 * factory.C: submenu for Note/Comment/Greyedout
1055 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1058 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1060 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1063 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1064 greyedout. Patch provided by Jürgen Spitzmüller.
1066 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1068 * kbmap.C (read): fix error message when reading bind files
1070 2003-07-29 Angus Leeming <leeming@lyx.org>
1072 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1073 certainly does not do what it purports to do. I am doing it, and
1074 us, a favour by killing it.
1076 2003-07-28 José Matos <jamatos@lyx.org>
1078 * buffer.C (readBody, do_writeFile):
1079 * paragraph.C(readParagraph): \end_document replaces \the_end.
1081 2003-07-29 André Pönitz <poenitz@gmx.net>
1084 * BufferView_pimpl.[Ch]:
1088 * textcursor.[Ch]: remove toggleToggle & Co
1090 2003-07-28 José Matos <jamatos@fep.up.pt>
1092 * buffer.C (readParagraph):
1093 * params_func (readParToken, readParagraph):
1094 * paragraph.C (write): \layout -> \begin_layout.
1096 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1098 * lyxlex_pimpl.C (setFile): clean up slightly.
1100 * bufferparams.h: add compressed var
1102 * buffer_funcs.C (readFile): adjust for LyXLex change
1103 (newFile): ditto + simplify
1105 * buffer.C (writeFile): handle writing of compressed files
1107 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1108 Check if the file is compressed and set a bufferparm if so.
1110 * Makefile.am (lyx_LDADD): remove explicit -lz
1112 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1114 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1115 makeDocBookFile): put the real LyX version in the first line of
1119 * version.C.in: remove lyx_docversion
1121 * tabular.C (write_attribute): add a template-based version to
1122 write enums properly
1124 2003-07-28 André Pönitz <poenitz@gmx.net>
1129 * text3.C: use doubles again for x-coordinates. They are needed.
1131 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1133 * messages.C (getLocaleDir): use lyx_localedir()
1135 * lyxlex_pimpl.C (setFile): compress stuff
1137 * buffer.C (writeFile): add some compression stuff
1138 (do_writeFile): new func, dont call expliti close... will this
1141 * Makefile.am (lyx_LDADD): add -lz
1143 2003-07-28 José Matos <jamatos@fep.up.pt>
1145 * buffer.C: increment file format.
1146 * paragraph_funcs (readParagraph, readParToken):
1147 * paragraph.C (readParagraph): add \end_layout.
1149 2003-07-27 Angus Leeming <leeming@lyx.org>
1151 * Makefile.am: remove special casing for configure-time setting of
1152 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1154 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1155 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1157 2003-07-26 André Pönitz <poenitz@gmx.net>
1159 * paragraph_func.[Ch]:
1160 * paragraph.C (realizeFont): inline it whereever it is used
1165 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1168 2003-07-26 André Pönitz <poenitz@gmx.net>
1172 * text2.C: get rid of LyXText::need_break_row
1174 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1176 * toc.[Ch]: put namespace toc inside namespace lyx
1178 * MenuBackend.C (expandToc2): adjust for lyx::toc
1181 * lyxfunc.C (dispatch): adjust for lyx::find
1183 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1184 lyx::find instead. Reorganize a bit.
1185 (LyXReplace): rename to replace
1186 (LyXFind): rename to find
1188 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1191 2003-07-26 André Pönitz <poenitz@gmx.net>
1193 * text.C (setHeightOfRow): restrict scope of temporary variable
1195 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1196 code (never has been used?)
1198 2003-07-27 Asger Alstrup <alstrup@local>
1200 * text.C (fill): Optimise algorithm to exploit that we can reuse
1201 the LyXFont for many characters.
1202 (setHeightOfRow): Same thing.
1203 (rowBreakPoint): Same thing.
1205 2003-07-26 Asger Alstrup <alstrup@local>
1207 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1209 * text.C (singleWidth): Spurious font copying in hot-spot
1210 singleWidth avoided. Reorder tests for arabic for efficiency.
1212 * text.C (fill): handle empty paragraphs better.
1214 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1217 * encoding.h: add includes
1219 * lyxrc.C: remove reading of bind files
1221 * lyx_main.C (init): setup bindings and menus only if we have a
1224 * kbmap.C (read): new method. Do the actual reading of bind
1227 * converter.C (dvipdfm_options):
1230 (output): adapt PAPER_* enums.
1232 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1234 * bufferparams.h: remove paper-related enums from there
1236 * paper.h: New file. A trivial header file to hold paper-related
1237 enums. It should later expand to contain many paper-related
1240 * lyxrc.C: declare extern displayTranslator
1242 2003-07-27 José Matos <jamatos@fep.up.pt>
1244 * tabular.[Ch] (linuxdoc): add support for tables and figures
1247 2003-07-27 José Matos <jamatos@fep.up.pt>
1249 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1250 consistency in both functions.
1251 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1253 2003-07-26 Asger Alstrup <alstrup@local>
1255 * rowpainter.C (paintRows): Change algorithm to work directly on
1256 the insets rather than asking every character in the document
1257 whether its an inset.
1259 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1261 * buffer.C (openFileWrite): factorize some code
1263 2003-07-26 Angus Leeming <leeming@lyx.org>
1266 * lyx_main.[Ch]: replace occurances of system_tempdir with
1269 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1271 * rename Inset to InsetOld
1273 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1275 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1276 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1277 which I think is a bit clearer. EDIT is gone, since it was
1278 premature optimisation, and broken for mathed anyway.
1279 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1280 with cursor positioning in insets as well (math insets still do not
1281 work, but that's a different story anyway.) It mysteriously
1282 crashes sometimes with undo in the first paragraph, but I'm fairly
1283 confident that this is a compiler bug.
1285 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1287 * paragraph.C (Paragraph): adjust for new clone return type
1289 (copyIntoMinibuffer): ditto
1291 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1293 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1294 by not having a special case, and always doing a full rebreak of
1295 the document after undo.
1297 2003-07-23 Angus Leeming <leeming@lyx.org>
1299 * factory.C (createInset): InsetExternal::setParams now takes a
1302 2003-07-23 Angus Leeming <leeming@lyx.org>
1304 * factory.C (createInset): changed interface to the external and
1305 graphics mailers' string2params functions.
1307 2003-07-23 Angus Leeming <leeming@lyx.org>
1309 * factory.C (createInset): pass a
1310 Buffer const * parameter to InsetExternalMailer's string2params.
1312 2003-07-22 John Levon <levon@movementarian.org>
1314 * Thesaurus.h: include the right aiksaurus header
1316 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1318 * MenuBackend.C (expand): check menu shortcuts unconditionally
1320 2003-07-21 Angus Leeming <leeming@lyx.org>
1322 * factory.C (createInset): pass a
1323 buffer_path parameter to InsetGraphicsMailer's string2params.
1325 2003-07-21 Angus Leeming <leeming@lyx.org>
1327 * BufferView_pimpl.C (buffer):
1330 * lyxfunc.C (dispatch):
1331 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1332 rather than the grfx shortcut.
1334 2003-07-21 André Pönitz <poenitz@gmx.net>
1336 * rowpainter.C: remove unused variables
1339 * tabular_funcs.h: move to tabular.C
1340 * Makefile.am: adjust
1342 * tabular.[Ch]: basic optical cleaning
1344 * author.h: pass references, not values
1346 2003-07-18 André Pönitz <poenitz@gmx.net>
1354 * text3.C: two-phase drawing for InsetText and InsetTabular
1355 some float -> int changes.
1357 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1359 * lyx_main.C: fix the fix
1361 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1363 * lyx_main.C: fix a crash in batch mode if no files specified
1366 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1368 * format.[Ch] (papersize): moved to BufferParams
1369 * converter.[Ch] (dvips_options): moved to BufferParams
1370 (dvipdfm_options): moved to anon namespace
1371 * bufferparams.[Ch]: added above functions.
1373 2003-07-17 André Pönitz <poenitz@gmx.net>
1377 * text2.C: don't call inset->update() anymore
1379 * metricsinfo.[Ch]: add convenience constructor
1381 2003-07-16 André Pönitz <poenitz@gmx.net>
1386 * text2.C: replace the LyXCursor::irow_ member with
1387 on-demand computation of the value
1389 2003-07-16 John Levon <levon@movementarian.org>
1391 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1393 2003-07-15 André Pönitz <poenitz@gmx.net>
1396 * text2.C: remove no more needed refresh_row
1398 2003-07-15 André Pönitz <poenitz@gmx.net>
1403 * text3.C: refresh_status tristate -> need_update bool
1405 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1407 * lyxtext.h (init): remove reinit argument (act as if always true)
1408 * text2.C: adjust to that
1410 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1412 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1413 * text3.C: use it to delete selections in some cases
1414 (bugs 441, 673, 702, 954).
1416 2003-07-14 André Pönitz <poenitz@gmx.net>
1418 * rowpainter.[Ch]: reduce interface
1420 2003-07-14 André Pönitz <poenitz@gmx.net>
1422 * BufferView_pimpl.C:
1423 * text2.C: adjust after removing unused BufferView * argument
1425 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1427 * text2.C (init): fix a crash fired on resize
1429 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1431 * buffer.[Ch]: added new closing signal
1432 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1433 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1434 BufferView::Pimpl via the closing the signal
1436 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1438 * buffer.[Ch]: take out all bv-related from buffer
1440 * BufferView_pimpl.[Ch]: connect to new signals
1441 * CutAndPaste.C: removed useless asserts
1442 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1445 * lyxfunc.C: moved view-related funciontality from vc here
1446 * paragraph.C: removed outdated comments
1449 2003-07-10 André Pönitz <poenitz@gmx.net>
1451 * BufferView_pimpl.C:
1455 * text2.C: remove InsetText::InnerCache, clean up consequences
1457 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1459 * ispell.C: fix two typos in error messages
1461 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1463 * Extend Note inset to other forms of annotation like Comment
1464 and Greyedout. Right button click gives dialog.
1466 Files modified or added (+):
1470 * ControlNote.[Ch] +
1472 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1473 frontends/controllers
1477 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1479 * aspell.C: add missing namespace lyx::support
1481 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1483 * BufferView.[Ch] (newFile): Add
1484 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1485 * LaTeX.[Ch] (message): added this signal and use it
1486 * buffer.[Ch] (busy, message): added these signals and use them
1487 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1491 * importer.C: use buffer signals instead of direct bv calling
1492 * lyx_cb.[Ch] (ShowMessage): removed
1495 * paragraph_funcs.C:
1496 * text2.C: use buffer signals
1498 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1500 * introduce namespace lyx::graphics
1502 2003-07-02 André Pönitz <poenitz@gmx.net>
1504 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1506 2003-07-01 André Pönitz <poenitz@gmx.net>
1513 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1514 text*.C to text_func.C
1516 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1518 * introduce namespace lyx::support
1520 2003-06-30 André Pönitz <poenitz@gmx.net>
1525 * text.C: re-enable --with-included-string
1527 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1529 * textcursor.C: add <config.h>
1531 * text.C (getWord): remove const from word_location arg
1533 * lyxvc.C (getLogFile): fix const type order
1535 * lyxtext.h: remove const from word_location arg, add arg name
1537 * lyxlayout.h: currect type on labeltype.
1539 * importer.C: correct \file
1541 * converter.C (intToFormat): use std:: on ret val, ws changes
1543 * bufferlist.h: correct \file
1545 * buffer.C (makeLinuxDocFile): fix const type order
1546 (makeDocBookFile): ditto
1547 (fillWithBibKeys): use std:: on stdlib args.
1549 * CutAndPaste.C: fix authors.
1550 (availableSelections): use std:: on return vector
1552 2003-06-27 André Pönitz <poenitz@gmx.net>
1554 * BufferView_pimpl.C:
1555 * bufferview_funcs.C:
1563 * text3.C: remove LyXCursor::row_ member
1566 * text.C: rename fullRebreak() to partialRebreak() and implement
1567 a fullRebreak() that really bereks fully
1569 * textcursor.h: new struct for cursor-related data
1571 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1573 * lyx_main.C (LyX): get full path of document loaded on the
1576 2003-06-26 André Pönitz <poenitz@gmx.net>
1578 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1579 remove unused/broken operator>,<,>=.
1581 * text.C: remove only use of broken operator<= in an Assert().
1583 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1585 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1586 moved errorlist_.clear to showErrorList
1588 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1590 * converter.C (scanLog, runLaTeX):
1591 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1592 move the bv->showErrorList call to the callers
1593 * lyxfunc.C: i.e. here...
1595 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1596 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1597 namespace, the second to...
1598 * buffer_funcs (BufferFormat, parseErrors): added
1599 * errorlist.C (ErrorList(TeXErrors const &)): removed
1601 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1603 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1605 2003-06-24 "Garst R. Reese" <reese@isn.net>
1609 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1611 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1613 * version.C.in: change docversion to 1.4
1615 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1617 * buffer.C: fix a bug just introduced
1619 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1621 * buffer.[Ch]: added the parseError signal and use it, removed
1623 * BufferView.[Ch] (addError): moved to ...
1624 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1625 to the Buffer::parseError signal to catch (guess what) parse errors
1626 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1628 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1630 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1631 ability to create a buffer and to return an existing one from
1632 the list. Moved these functions to...
1633 * buffer_funcs.[Ch]: added
1634 * BufferView.[Ch] (loadLyXFile): added
1635 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1636 job removed from bufferlist::loadLyXFile.
1637 * buffer.C (setReadOnly): make it work without view
1638 (i.e added an if (users))
1640 2003-06-19 Angus Leeming <leeming@lyx.org>
1643 * LyXAction.C (init):
1644 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1645 with LFUN_DIALOG_SHOW <name> <data>.
1647 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1649 * CutAndPaste.C (availableSelections): small compilation fix for
1650 ancient (gcc 2.9x) compilers
1652 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1654 * text3.C (cursorNext): add tmp var
1656 * text2.C (updateCounters): for function calling out of for clause
1657 (replaceSelectionWithString): ditto
1658 (insertStringAsParagraphs): ditto
1659 (getColumnNearX): add tmp var
1660 (setCursorFromCoordinates): add tmp var
1661 (cursorDownParagraph): add tmp var
1662 (deleteEmptyParagraphMechanism): add tmp var
1664 * text.C (insertChar): add tmp var
1666 * rowpainter.C (paintDepthBar): add tmp var
1668 * CutAndPaste.C (availableSelections): potentially check all
1669 paragraphs in a cut to fill the shown strings.
1671 2003-06-18 André Pönitz <poenitz@gmx.net>
1673 * kbmap.[Ch]: use vector<> instead of list<>
1675 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1677 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1678 pasteSelection with index
1680 * text2.C (pasteSelection): modify, call pasteSelection with index
1682 * paragraph.C (asString): reimplement version with no interval to
1683 call the one with interval.
1685 * lyxtext.h: add index arg to pasteSelection
1687 * MenuBackend.C (MenuItem): handle PasteRecent
1688 (Menu::read::Menutags): add md_pasterecent
1690 (expandPasteRecent): new function
1693 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1695 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1697 (availableSelections): new function
1699 2003-06-17 Angus Leeming <leeming@lyx.org>
1701 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1703 2003-06-17 Angus Leeming <leeming@lyx.org>
1706 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1708 * lyxfunc.C (dispatch): invoke it.
1710 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1712 * iterators.C (operator++, ParPosition): reintroduce some
1713 const_cast for the benefit of older compilers.
1715 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1717 * text3.C (dispatch): do not modify clipboard when doing
1718 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1719 LFUN_DELETE_SKIP on a selection selection
1721 2003-06-16 André Pönitz <poenitz@gmx.net>
1727 * tabular.[Ch]: IU of clone() and getLabelList();
1729 2003-06-13 André Pönitz <poenitz@gmx.net>
1731 * tabular.h: compactification
1733 2003-06-12 André Pönitz <poenitz@gmx.net>
1737 * tabular_funcs.h: some renaming plus whitespace
1739 2003-06-12 André Pönitz <poenitz@gmx.net>
1742 * BufferView_pimpl.C:
1748 * toc.C: Return a Paragraph & for ParIterator::operator*()
1750 2003-06-11 John Levon <levon@movementarian.org>
1754 * ToolbarBackend.C: add "Toolbars" section and
1757 2003-06-10 Angus Leeming <leeming@lyx.org>
1760 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1762 * lyxfunc.C (dispatch): invoke it.
1764 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1766 * main.C: protect <ios> with HAVE_IOS
1767 (main): protect sync_with_stdio with HAVE_IOS
1769 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1771 * text2.C (cutSelection): adjust
1772 (pasteSelection): adjust
1774 * messages.C: handle get of empty string
1776 * main.C (main): use sync_with_stdio(false)
1778 * lyxfunc.C (dispatch): adjust
1780 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1781 (WriteAs): remove unneeded BufferView arg.
1783 * bufferparams.h: use correct types on papersize, papersize2 and
1786 * bufferparams.C (readToken): adjust for type
1787 (writeLaTeX): add missing cases to switch.
1789 * bufferlist.C (quitWriteBuffer): adjust
1792 * buffer.C (asciiParagraph): remove some commented code.
1794 * CutAndPaste.C: remove current_view extern variable.
1795 (cutSelection): add BufferParams arg.
1796 (eraseSelection): add BufferParams arg.
1797 (pasteSelection): add Buffer const & arg
1799 2003-06-07 John Levon <levon@movementarian.org>
1802 * paragraph_funcs.C:
1803 * paragraph_pimpl.C:
1807 * paragraph.C: allow InsetERT to freely space lines,
1808 and some consolidation of code
1810 2003-06-06 José Matos <jamatos@fep.up.pt>
1812 * buffer.C (makeDocBookFile): fix bug #821
1814 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1816 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1818 2003-06-04 Angus Leeming <leeming@lyx.org>
1820 * buffer.C: bump format to 224.
1822 2003-06-05 André Pönitz <poenitz@gmx.net>
1824 * text2.C (redoParagraphs): remove two const_cast<>
1826 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1828 * ParagraphList.h: remove last remnants of NO_STD_LIST
1830 2003-06-03 Angus Leeming <leeming@lyx.org>
1832 * factory.C (createInset): small change to the way InsetExternal's params
1835 2003-06-04 André Pönitz <poenitz@gmx.net>
1837 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1839 * paragraph_pimpl.h:
1840 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1842 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1844 * undo_funcs.C: make some simple cases of undo work again
1846 2003-06-03 John Levon <levon@movementarian.org>
1848 * ispell.C: HPUX doesn't have sys/select.h
1851 2003-06-03 John Levon <levon@movementarian.org>
1853 * CutAndPaste.C: update tabular and include inset
1858 * paragraph.C: remove owningBuffer(), don't pass Buffer
1861 * factory.C: insetGraphicsParams changed
1863 2003-06-02 John Levon <levon@movementarian.org>
1869 * text3.C: remove insetparent
1871 2003-06-02 John Levon <levon@movementarian.org>
1874 * buffer.C: fix inset_iterator.end(), move out of line
1877 2003-06-01 John Levon <levon@movementarian.org>
1879 * text3.C: use a proper cut/paste when doing inset
1880 insert (from Jürgen Spitzmüller)
1882 2003-06-01 John Levon <levon@movementarian.org>
1884 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1886 2003-05-30 André Pönitz <poenitz@gmx.net>
1888 * rowpainter.C: unify second drawing phase
1890 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1892 * trans_mgr.C: remove one case of current_view
1894 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1896 * paragraph_funcs.h: remove paragraph.h include
1898 * paragraph.h: delete NO_STD_LIST stuff
1900 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1902 * buffer.h: remove paragraph.h include
1904 * ParagraphList.C: delete file
1906 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1908 * toc.C (getTocList): adjust
1910 * paragraph_pimpl.C (validate): adjust
1912 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1914 * paragraph.C (Paragraph): adjust
1915 (getPositionOfInset): use const_iterator, adjust
1916 (bibitem): use const_iterator, adjust
1917 (setInsetOwner): adjust
1919 * iterators.C (operator++): adjust
1921 * InsetList.[Ch]: Replace selfmade iterator with standard
1922 vector::iterator also introduce const_iterator. Remove getPos,
1923 getInset and setInset from InsetTable. Adjust accordingly.
1925 * BufferView.C (lockInset): adjust
1926 (ChangeInsets): adjust
1928 * tabular.[Ch]: delete commented same_id functions
1930 2003-05-28 John Levon <levon@movementarian.org>
1932 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1934 2003-05-28 André Pönitz <poenitz@gmx.net>
1936 * metricsinfo.[Ch]: remove 'fullredraw' member
1938 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1940 * lyxtextclass.C (operator): remove caching.
1942 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1946 * text2.C (cursorBottom): adjust
1947 (setCounter): use ParagraphList::find, adjust
1949 * text.C (workWidth): use ParagraphList::find, adjust
1951 * lyxcursor.C (LyXCursor): adjust
1953 * buffer.C (inset_iterator): adjust
1955 * ParagraphList.h: make iterator(value_type) private, make
1956 ParagraphList a friend of iterator.
1958 * ParagraphList.C (find): new function
1960 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1962 2003-05-27 André Pönitz <poenitz@gmx.net>
1964 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1966 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1968 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1970 2003-05-26 John Levon <levon@movementarian.org>
1972 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1974 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1976 * remove same_id from function signatures, adjust.
1978 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1980 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1982 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1984 * paragraph.C (Paragraph): get rid of same_ids parameter
1986 * ParagraphList.C (insert): adjust
1989 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1991 * paragraph_funcs.C (breakParagraph): adjust
1992 (breakParagraphConservative): adjust
1994 * buffer.C (readParagraph): adjust
1996 * ParagraphList.C (insert): take a reference instead of a pointer
1999 * paragraph.[Ch] (id): new function
2001 * bufferlist.C (newFile): adjust
2003 * ParagraphList.C (ParagraphList): adjust
2005 (push_back): take a reference instead of a pointer.
2007 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2009 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2012 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2013 set else use old code.
2015 * ParagraphList.C: remove all NO_NEXT code and only compile this
2016 code of NO_STD_LIST is set.
2018 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2020 * BufferView_pimpl.C:
2030 * graphics/GraphicsConverter.C:
2031 * graphics/PreviewLoader.C: header adjustment
2033 2003-05-23 Angus Leeming <leeming@lyx.org>
2035 * LaTeXFeatures.[Ch] (useBabel): new method.
2036 * bufferparams.C (writeLaTeX): use it.
2038 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2040 * ParagraphList.h (set): remove unused function.
2042 2003-05-23 André Pönitz <poenitz@gmx.net>
2045 * BufferView_pimpl.C:
2049 * undo_funcs.C: setUndo reworked
2051 * iterators.[Ch]: add access to topmost ParagraphList
2053 * lyxtext.[Ch] (workWidth): add a const
2055 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2057 * texrow.[Ch] (increasePos): remove function
2058 * exporter.C (export): removed unused var and outdated comment
2060 2003-05-23 Angus Leeming <leeming@lyx.org>
2062 * latexrunparams.h: rename fragile as moving_arg.
2063 * paragraph.C (simpleTeXOnePar): ditto.
2064 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2066 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2068 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2070 (textUndoOrRedo): comment out a currently unused var.
2072 * paragraph.h (NO_NEXT): enable NO_NEXT
2074 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2076 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2078 * exporter.C (Export): adjust for removeAutoInsets removal.
2080 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2082 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2084 * BufferView.[Ch] (removeAutoInsets): delete function
2086 2003-05-22 Angus Leeming <leeming@lyx.org>
2088 * latexrunparams.h: add a free_spacing variable.
2090 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2091 to pass moving_arg, as the data is stored in runparams.fragile.
2093 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2094 to Inset::latexOptional or to simpleTeXOnePar.
2096 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2097 free_spacing arg to Inset::latexOptional.
2099 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2102 2003-05-22 Angus Leeming <leeming@lyx.org>
2104 * latexrunparams.h: add fragile and use_babel variables.
2106 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2107 * buffer.C (makeLaTeXFile): store this returned value in
2108 runparams.use_babel, thus passing it to the inset::latex methods.
2110 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2111 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2113 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2114 longer has a fragile arg, as it is stored in runparams.fragile.
2116 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2117 moving_arg parameter as the data is stored in runparams.fragile.
2119 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2120 a fragile parameter as the data is stored in runparams.fragile.
2122 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2126 2003-05-22 Angus Leeming <leeming@lyx.org>
2128 * latexrunparams.h: add a 'bool nice' which defaults to false.
2130 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2131 now encapsulated within runparams.
2133 * bufferlist.C (updateIncludedTeXfiles):
2134 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2136 2003-05-22 Angus Leeming <leeming@lyx.org>
2138 * latexrunparams.h: new file containing struct LatexRunParams.
2139 * Makefile.am: add new file.
2141 * LaTeX.[Ch] (c-tor, run):
2142 * buffer.[Ch] (makeLaTeXFile):
2143 * bufferlist.[Ch] (updateIncludedTeXfiles):
2144 * converter.C (convert, scanLog):
2145 * converter.[Ch] (runLaTeX):
2146 * exporter.C (Export):
2147 * paragraph.[Ch] (simpleTeXOnePar):
2148 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2149 * paragraph_funcs.[Ch] (latexParagraphs):
2150 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2151 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2152 pass around a LatexRunParams parameter.
2154 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2156 * paragraph.[Ch]: remove unused constructor
2158 * ParagraphList.C (erase): new function, taking two iterators
2160 2003-05-22 André Pönitz <poenitz@gmx.net>
2162 * undo_funcs.C: remove duplicated code
2164 * iterator.[Ch]: operator=
2166 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2168 * tabular.C (SetMultiColumn): ws changes
2170 * rowpainter.C (paintFirst): get rid of a ->previous
2172 * lyx_cb.C (getPossibleLabel): parlist simplification
2174 * BufferView.C (ChangeInsets): simplify slightly.
2176 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2178 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2179 * lfuns.h: new LFUN_SPACE
2180 * lyxfunc.C: protected space has a new lfun
2181 * paragraph_funcs.C: read new space insets
2183 * factory.C: handle new space insets
2185 2003-05-22 André Pönitz <poenitz@gmx.net>
2188 * BufferView_pimpl.C:
2191 * undo_funcs.C: return a ParIterator from getParFromID.
2193 * iterators.[Ch]: add two const's
2195 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2197 * toc.C (getTocList): adjust
2199 * iterators.[Ch]: rework for parlist
2201 * buffer.C (par_iterator_begin): adjust
2202 (par_iterator_end): adjust
2204 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2206 * BufferView.C (removeAutoInsets): adjust
2207 (ChangeInsets): adjust
2209 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2211 * text.C (top_y): fix bug 1110
2213 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2215 * errorlist.[Ch]: added
2218 * BufferView_pimpl.C:
2219 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2222 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2224 * Makefile.am: ensure that lyx is relinked upon changes to the
2225 various "convenience" libs.
2227 2003-05-20 Angus Leeming <leeming@lyx.org>
2229 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2230 files are compiled in alphabetical order again.
2232 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2234 2003-05-19 Angus Leeming <leeming@lyx.org>
2236 * gettext.[Ch]: remove "char const * _(char const *)".
2238 2003-05-19 André Pönitz <poenitz@gmx.net>
2240 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2249 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2251 2003-05-19 André Pönitz <poenitz@gmx.net>
2255 * lyxtextclass.[Ch]:
2257 * paragraph_funcs.[Ch]:
2259 * text3.C: more insetenv work
2261 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2263 * ParagraphParameters.C (params2string): small bug fixed
2265 2003-05-16 André Pönitz <poenitz@gmx.net>
2268 * bufferview_funcs.C: patch from Kornel Benko to prevent
2269 crash when _(...) is called twice in a statement
2271 2003-05-16 André Pönitz <poenitz@gmx.net>
2278 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2280 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2282 * lyx_main.C (init): remove spurious static_cast
2284 2003-05-14 André Pönitz <poenitz@gmx.net>
2286 * BufferView.C: fix format string
2288 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2290 * BufferView.[Ch] (insertErrors): removed
2291 * BufferView.[Ch] (showErrorList): added
2292 * buffer.C (runChkTeX):
2293 * converter.C (scanLog): call showErrorList instead of inserterrors
2295 2003-05-13 André Pönitz <poenitz@gmx.net>
2297 * BufferView_pimpl.C:
2299 * bufferview_func.C:
2306 * tabular_funcs.h: tostr() from its own header
2308 * ParagraphParameters.C:
2313 * text3.C: STRCONV()
2315 2003-05-12 André Pönitz <poenitz@gmx.net>
2318 * BufferView_pimpl.C:
2322 * ParagraphParameters.C:
2326 * bufferview_funcs.C:
2339 * paragraph_funcs.C:
2343 * text3.C: boost::format -> bformat all over the place
2346 2003-05-09 André Pönitz <poenitz@gmx.net>
2348 * LColor.[Ch]: Pimpl the #include <map> away
2350 2003-05-09 John Levon <levon@movementarian.org>
2352 * bufferlist.C: never remove emergency saves
2354 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2356 * Makefile.am: better lib building
2358 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2360 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2362 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2363 (simpleTeXSpecialChars): adjust
2364 (simpleTeXSpecialChars): adjust
2365 * paragraph.C (simpleTeXOnePar): adjust
2366 * buffer.C (makeLaTeXFile): adjust
2368 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2370 * text2.C (changeDepth): parlist cleanup
2371 (getColumnNearX): ditto
2373 * rowpainter.C (getLabelFont): parlist cleanup
2375 * bufferlist.C (newFile): parlist cleanup
2377 * CutAndPaste.C (eraseSelection): parlist cleanup
2379 * BufferView_pimpl.C (trackChanges): parlist cleanup
2382 * BufferView.C (lockInset): parlist cleanup.
2383 (ChangeInsets): ditto
2385 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2387 * CutAndPaste.h: Update file header.
2389 * CutAndPaste.C: Update file header.
2390 Store the parts cut out of the Document in a limited_stack.
2391 (copySelection): adjust
2392 (pasteSelection): new function, takes the index in the limited stack.
2393 (nrOfParagraphs): adjust
2394 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2395 simplify error inset insertion.
2396 (checkPastePossible): adjust
2398 2003-05-06 John Levon <levon@movementarian.org>
2400 * text2.C: don't cast wrap inset to float
2402 2003-05-05 André Pönitz <poenitz@gmx.net>
2405 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2407 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2408 few naked Paragraph *.
2410 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2412 * bufferparams.C: Output warning if a document with missing
2413 TeX document class is loaded
2414 * exporter.C: Disable TeX exports if the document class is missing
2417 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2418 isTeXClassAvailable()
2420 2003-05-03 John Levon <levon@movementarian.org>
2423 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2424 explicit cursor show/hide
2426 * BufferView_pimpl.h:
2427 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2428 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2430 * lyxfunc.C: hide cursor before dispatching.
2435 * text3.C: remove explicit cursor hides
2437 2003-05-02 André Pönitz <poenitz@gmx.net>
2439 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2442 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2445 * text2.C: tiny whitespace
2447 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2449 * undo_funcs.C: almost only ws changes.
2451 * ParagraphList.C (splice): just return if pl is empty.
2453 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * ParagraphList.C (splice): new function.
2457 * CutAndPaste.C (pasteSelection): use it
2459 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2461 * CutAndPaste.C (pasteSelection): remove the last next and
2462 previous from this file.
2464 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2466 * CutAndPaste.C (pasteSelection): more clean up, user proper
2467 ParagraphList functions for pasteing.
2469 * ParagraphList.C (insert): new function, three arg insert
2471 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2473 * ParagraphList.C (insert): new function, three arg insert
2475 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2478 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2482 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2484 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2486 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2488 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2489 (copySelection): clean up a bit.
2490 (pasteSelection): use make_pair
2492 * ParagraphList.C (ParagraphList): implement copy constructor
2493 (operator=): implement, base on copy constructor.
2496 * paragraph.C (erase): return a bool
2498 * paragraph_pimpl.C (erasePos): remove function, move contents...
2499 (erase): ... here. Return a bool.
2500 (erase): call erase instead of erasePos.
2502 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2504 * ParagraphList.h: define PitPosPair
2505 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2506 ParagraphList, fix a bug on pasting multiple pars
2507 * text2.C: change interface to C&P
2509 2003-04-30 André Pönitz <poenitz@gmx.net>
2511 * undo_func.C: revert part of yesterday's patch 2
2513 2003-04-30 John Levon <levon@movementarian.org>
2515 * LColor.C: s/tabular/table/
2517 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2519 * text3.C (dispatch): do not convert iterator -> pointer
2520 * undo_funcs.C (setCursorParUndo): ditto
2521 * text_funcs.C (transposeChars): ditto
2523 * text2.C (setLayout): ws changes only
2525 * text.C (breakParagraph): do not convert iterator -> pointer
2527 (acceptChange): ditto
2528 (rejectChange): ditto
2533 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2536 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2538 * text3.C (gotoInset): YABG (yet another bad getChar)
2540 2003-04-29 André Pönitz <poenitz@gmx.net>
2542 * paragraph.h: make operator= private unimplemented as long as
2545 * ParagraphList.C: whitespace
2548 * paragraph_pimpl.[Ch]:
2549 * paragraph_funcs.C:
2551 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2554 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2556 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2558 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2559 * paragraph.[Ch] (erase):
2560 * paragraph_pimpl.[Ch] (erase): change return type and value
2561 * text2.C (cutSelection): some rework
2563 2003-04-28 John Levon <levon@movementarian.org>
2565 * bufferlist.C: changes for unsaved changes dialog
2567 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2569 * bufferlist.C (newFile): set language (messages_) for new
2572 * buffer.C (readFile): ws changes only.
2574 2003-04-28 André Pönitz <poenitz@gmx.net>
2579 * BufferView_pimpl.C:
2580 * BufferView.C: getParFromID related ParagraphList::iterator changes
2582 2003-04-28 André Pönitz <poenitz@gmx.net>
2584 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2587 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * messages.C: remove one more localedir class variable.
2591 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2593 * messages.C (getLocaleDir): singleton generation function
2595 (Messages): add a default constructor.
2597 * main.C (main): do not setup localedir here, do not call
2600 * gettext.C (_): use it.
2601 (gettext_init): delete funciton
2603 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2605 * gettext.C (getLyXMessages): new singleton generating function.
2607 * buffer.C (updateDocLang): adjust
2609 * Makefile.am (messages.o): add target
2610 (main.o): remove target
2612 2003-04-27 John Levon <levon@movementarian.org>
2617 * lyxvc.C: specify cancel button in Alert::prompt
2619 2003-04-26 John Levon <levon@movementarian.org>
2624 * LyXAction.C: add LFUN_INSET_SETTINGS
2626 * lyxfunc.C: don't enable tabular-feature when there's
2627 just any locking inset
2629 2003-04-26 John Levon <levon@movementarian.org>
2631 * bufferlist.C: re-add Cancel to buffer close question
2633 * lyxfunc.C: fix import UI a bit
2635 2003-04-25 John Levon <levon@movementarian.org>
2637 * gettext.C: remove the broken asserts for now
2639 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2641 * messages.C: make case where setlocale cannot comply work better.
2643 * buffer.C (updateDocLang): new function
2644 (changeLanguage): use it
2647 * text2.C (setCounter): use B_ a bit.
2649 * lyxlayout.C (Read): be sure to trim the label strings.
2651 * messages.C (Messages): fix typo in comment
2653 * buffer.C (readFile): set message_ after file is loaded.
2654 (makeDocBookFile): remove double return
2655 (changeLanguage): reset message_ upon language change.
2656 (B_): new func, use this to get translated buffer strings.
2658 * main.C: add myself and Jean Marc as authors.
2660 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2662 * messages.[hC]: pimplify Messages, and three different pimpls to be
2663 used in different circumstances.
2665 * gettext.[Ch]: change for use with new message code.
2667 2003-04-24 André Pönitz <poenitz@gmx.net>
2669 * factory.C: support for eqref
2671 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2673 * messages.[Ch]: add missing char
2675 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2677 * messages.[Ch]: New files
2679 2003-04-18 John Levon <levon@movementarian.org>
2683 * BufferView_pimpl.C:
2687 * text2.C: remove layout-copy/paste (bug 778)
2689 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2691 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2693 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2695 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2696 if they succeed. Act accordingly.
2698 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2700 * text2.C (setCharFont): adjust
2701 (setCounter): adjust
2702 (insertStringAsLines): adjust
2704 * text.C (leftMargin): adjust
2705 (setHeightOfRow): adjust
2707 * rowpainter.C (paintFirst): adjust
2710 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2712 (isFirstInSequence): ditto
2713 (getEndLabel): ditto
2716 * paragraph.C (getParLanguage): comment out some hard stuff.
2718 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2720 (simpleDocBookOnePar): ditto
2721 (makeDocBookFile): use ParagraphList::iterator
2723 * CutAndPaste.C (pasteSelection): adjust
2725 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2727 * text2.C (getFont): adjust
2728 (getLayoutFont): adjust
2729 (getLabelFont): adjust
2731 * paragraph_funcs.C (TeXOnePar): adjust
2733 * buffer.C (simpleLinuxDocOnePar): adjust
2734 (simpleDocBookOnePar): adjust
2736 * CutAndPaste.C (pasteSelection): adjust
2738 * BufferView.C (getEncoding): adjust
2740 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2742 2003-04-16 John Levon <levon@movementarian.org>
2744 * lyxfind.C: use parlist stuff for search/changes
2746 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2748 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2750 * text2.C (deleteEmptyParagraphMechanism): adjust
2752 * text2.[Ch] (ownerParagraph): delete func (both of them
2754 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2756 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2758 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2760 * ParagraphList.C: prepare for NO_NEXT
2762 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2764 * text2.C (getFont): adjust
2765 (getLayoutFont): adjust
2766 (getLabelFont): adjust
2768 * paragraph.C (getFont): adjust
2769 (getLabelFont): adjust
2770 (getLayoutFont): adjust
2772 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2774 2003-04-15 John Levon <levon@movementarian.org>
2778 * lyx_main.C: handle Include in .ui files
2780 2003-04-15 John Levon <levon@movementarian.org>
2782 * MenuBackend.C: make the doc files length shorter
2785 * ToolbarBackend.C: handle toolbar placement flags,
2788 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2790 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2793 * paragraph_funcs.C (TeXOnePar): adjust
2795 * paragraph.C (getLabelFont): add outerfont arg, adjust
2796 (getLayoutFont): ditto
2797 (simpleTeXOnePar): adjust
2799 * paragraph_pimpl.C (realizeFont): delete func
2801 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2803 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2804 row argument, constify cur argument.
2806 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2808 * text2.C (getFont): adjust
2809 (getLayoutFont): adjust
2810 (getLabelFont): adjust
2812 * paragraph_funcs.C (TeXOnePar): adjust
2813 (outerFont): new func...
2814 (realizeFont): ...moved out from here, changed this to facilitate
2817 * paragraph.C (getFont): take outerfont as arg, adjust
2818 (simpleTeXOnePar): add outerfont arg, adjust
2820 * buffer.C (simpleLinuxDocOnePar): adjust
2821 (simpleDocBookOnePar): adjust
2823 * CutAndPaste.C (pasteSelection): adjust
2825 * BufferView.C (getEncoding): adjust
2827 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2829 * text2.C (setCharFont): adjust
2830 (setCounter): adjust
2832 * text.C (leftMargin): adjust
2833 (setHeightOfRow): adjust
2835 * rowpainter.C (paintFirst): adjust
2838 * paragraph_pimpl.C (realizeFont): adjust
2840 * paragraph.C (isFirstInSequence): move from here...
2841 * paragraph_funcs.C (isFirstInSequence): ...to here
2843 * paragraph.C (outerHook): move from here...
2844 * paragraph_funcs.C (outerHook): ...to here
2846 * paragraph.C (depthHook): move from here...
2847 * paragraph_funcs.C (depthHook): ...to here
2849 * paragraph.C (getEndLabel): move from here...
2850 * paragraph_funcs.C (getEndLabel): ...to here
2852 * text2.C (realizeFont): move from here...
2853 * paragraph_funcs.C (realizeFont): ...to here
2855 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2857 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2859 2003-04-14 Angus Leeming <leeming@lyx.org>
2861 * LColor.[Ch]: scrap LColor mathcursor.
2863 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2865 * lyxlex.[Ch] (text): delete function
2866 * trans.C (Load): adjust
2867 * paragraph_funcs.C (readParToken): adjust
2869 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2871 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2872 vector<char> instead of a char[].
2874 * lyxlex_pimpl.C (getString): adjust
2876 (lex): use getString
2880 * lyxlex.C (text): use pimpl_->getString()
2884 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2886 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2887 (makeFontEntriesLayoutSpecific): temp var for par.size()
2888 (setLayout): temp var for ownerParagraphs().end()
2889 (fullRebreak): temp var for rows().end()
2890 (selectionAsString): temp var for boost::next(startpit), realize
2891 that the while really is a regular for loop.
2892 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2893 setCursor in one place.
2894 (setParagraph): temp vr for ownerParagraphs().end()
2895 (updateCounters): make the while loop a for loop
2896 (cutSelection): temp var for ownerParagraphs().end()
2897 (updateInset): make the do {} while() a regular for loop
2898 (getCursorX): use temp vars
2899 (setCurrentFont): use temp vars
2900 (getColumnNearX): use temp vars
2902 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2904 * text.C (transformChar): use temp var for getChar
2905 (computeBidiTables): use temp var for row->par()
2906 (fill): move temp vars for row->par() and pit->layout() earlier in
2908 (labelFill): use temp var for row->par()
2909 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2910 asc and desc, realize that pit never changes and that firstpit is
2911 just a duplicate and not needed. Exchange rit->par() with pit in a
2913 (breakAgain): use a temp var for boost::next(rit)
2914 (breakAgainOneRow): ditto
2915 (breakParagraph): use a temp var for rows().begin()
2916 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2917 (cursorRightOneWord): use temp var for cursor.par() and
2918 cursor.pos(), remove usage of tmpcursor.
2919 (cursorLeftOneWord): use temp var for cursor.par() and
2920 cursor.pos() only set cur at end of function.
2922 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2924 * text.C, text2.C: exchange all usage of Paragraph::next with
2925 boost::next(ParagraphList::iterator)
2927 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2929 * text2.C (cursorTop): simplify implementation
2930 (cursorBottom): ditto
2931 (setParagraph): use ParagraphList::iterator
2932 (setCurrentFont): adjust
2933 (getColumnNearX): adjust
2934 (cursorRight): adjust
2935 (cursorLeft): remove usage of Paragraph::previous
2936 (cursorUpParagraph): ditto
2937 (deleteEmptyParagraphMechanism): slight cleanup
2939 * text.C (isBoundary): take a Paragraph const & instead of a
2941 (addressBreakPoint): ditto
2942 (leftMargin): remove usage of Paragraph::previous.
2943 (setHeightOfRow): ditto
2944 (cursorLeftOneWord): ditto
2945 (selectNextWordToSpellcheck): ditto
2948 (breakParagraph): remove one usage of Paragraph::next
2949 (redoParagraph): ditto
2950 (acceptChange): ditto
2951 (insertChar): adjust
2952 (rowBreakPoint): adjust
2954 * bufferview_funcs.C (toggleAndShow): adjust
2956 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2958 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2959 methods to access it.
2961 * text.C: Added updateRowPositions to compute all row positions.
2962 Make top_y and getRowNearY() to use the cached y position
2964 2003-04-11 John Levon <levon@movementarian.org>
2966 * text.C (rowBreakPoint): reintroduce the labelEnd
2967 checks, code copied from the row fill stuff. Deep voodoo.
2969 * text.C (fill): add a comment and debugging for the
2972 2003-04-11 John Levon <levon@movementarian.org>
2974 * text.C: make sure fullrow insets get wrapped to the next line,
2975 even when they're in a manual label
2977 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2979 * text2.C (insertParagraph): make it take ParagraphList::iterator
2981 (setLayout): make it return ParagraphList::iterator
2982 (redoParagraphs): ditto
2984 (checkParagraph): ditto
2986 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2988 * text2.C: adjust several funcs.
2989 (realizeFont): take a ParagraphList::iterator as arg.
2990 (getLayoutFont): ditto
2991 (getLabelFont): ditto
2992 (setCharFont): ditto
2994 * text.C: adjust several funcs.
2996 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2998 * text.C (selectNextWordToSpellcheck): don't accidentally
3001 2003-04-10 John Levon <levon@movementarian.org>
3003 * ToolbarBackend.C (getIcon): special handling for
3006 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3008 * text2.C (cursorRight): a getChar assert fixed
3010 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3012 * text2.C (getFont): change to take a ParagraphList::iterator
3013 instead of Paragraph*
3014 Adjust several functions.
3016 * text.C (transformChar): change to take a ParagraphList::iterator
3017 instead of Paragraph*
3018 (singleWidth): ditto
3019 Adjust several functions.
3021 * rowpainter.C: adjust several functions
3022 * rowpainter.h:store a ParagraphList::iterator and not a
3026 2003-04-09 John Levon <levon@movementarian.org>
3031 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3032 and the "help" bits as well
3034 2003-04-09 John Levon <levon@movementarian.org>
3037 * ToolbarBackend.C: allow multiple toolbars
3039 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * undo_funcs.C (setCursorParUndo): adjust
3043 * text_funcs.C (transposeChars): adjust
3045 * text3.C (gotoNextInset): adjust
3048 * text2.C (setLayout): adjust
3049 (changeDepth): adjust
3051 (redoParagraphs): adjust
3052 (selectionAsString): adjust
3053 (setParagraph): adjust
3054 (insertInset): adjust
3055 (cutSelection): adjust
3056 (copySelection): adjust
3057 (pasteSelection): adjust
3058 (insertStringAsLines): adjust
3059 (updateInset): adjust
3060 (setCursor): change to take a ParagraphList::iterator parameter
3061 (setCursorIntern): change to take a ParagraphList::iterator parameter
3062 (setCurrentFont): adjust
3063 (cursorLeft): adjust
3064 (cursorRight): adjust
3065 (deleteEmptyParagraphMechanism): adjust
3067 * text.C (breakParagraph): adjust
3068 (insertChar): adjust
3069 (acceptChange): adjust
3070 (rejectChange): adjust
3071 (selectNextWordToSpellcheck): adjust
3072 (changeCase): adjust
3076 * lyxfind.C (SearchForward): adjust
3077 (SearchBackward): adjust
3078 (nextChange): adjust
3080 * lyxcursor.C (par): adjust
3082 * lyxcursor.h: store a ParagraphList::iterator instead of a
3085 * lyx_cb.C (getPossibleLabel): adjust
3087 * bufferview_funcs.C (toggleAndShow): adjust
3089 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3092 * BufferView.C (removeAutoInsets): adjust
3093 (lockedInsetStoreUndo): adjust
3095 2003-04-09 John Levon <levon@movementarian.org>
3097 * ToolbarBackend.C: try icon without argument
3098 if with argument fails
3100 2003-04-08 John Levon <levon@movementarian.org>
3103 * ToolbarBackend.C: add getIcon(), handle tooltip,
3104 and change from "Icon" to "Item".
3106 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3108 * BufferView.C (lockInset): another bad getchar crunched
3110 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3112 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3115 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3117 * lyxfind.C (searchForward, searchBackwards): bug 782
3119 2003-04-07 John Levon <levon@movementarian.org>
3121 * paragraph.C: remove dead comment
3123 * text.C: remove troublesome depth-fiddling code
3124 in leftMargin() and rightMargin() (bug 1017)
3126 * text.C: fix breaking of rows in nested lists
3129 * text2.C (updateCounters): fix up depth values
3132 2003-04-07 John Levon <levon@movementarian.org>
3134 * BufferView_pimpl.C: clear message when doc finishes resizing,
3135 and after a mouse event
3137 * lyxfunc.C: clear message after exiting inset
3139 2003-04-07 John Levon <levon@movementarian.org>
3141 * bufferview_funcs.C: show math status not outside
3142 status in the statusbar
3144 2003-04-07 John Levon <levon@movementarian.org>
3146 * lyxfunc.C: note status changed after a depth change
3148 2003-04-04 Angus Leeming <leeming@lyx.org>
3150 * LaTeX.h: move AuxInfo operator==, != out of line.
3151 Remove LaTeX virtual destructor; nothing derives from it.
3152 Move operator()() out of public area and rename it startscript().
3153 Change protected for private.
3155 2003-04-04 Angus Leeming <leeming@lyx.org>
3158 * text2.C: remove unneeded #includes.
3160 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3162 * text2.C (dEPM): fix the heigth of the next row
3164 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3166 * text.C: squashed an invalid getChar requester + some ws changes
3168 2003-04-03 John Levon <levon@movementarian.org>
3170 * bufferview_funcs.h:
3171 * bufferview_funcs.C:
3174 * text2.C: make getStatus work for the env depth lfuns
3176 2003-04-03 John Levon <levon@movementarian.org>
3178 * bufferview_funcs.h:
3179 * bufferview_funcs.C:
3182 * text2.C: parlistize decDepth(), by merging it with incDepth()
3184 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3186 * lyxrow.h: store a ParagraphList::iterator instead of a
3187 Paragraph* and adjust other class functions to suit.
3189 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3192 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3194 * text2.C (setCursor): do not anchor to cursor row for the time being
3196 2003-04-02 John Levon <levon@movementarian.org>
3203 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3205 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3207 * paragraph.h: make ParagraphList and ParagraphList::iterator
3208 friends of Paragraph.
3210 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3212 * ParagraphList.C: Use the private next_ and previous_ from
3215 2003-04-01 John Levon <levon@movementarian.org>
3219 * Makefile.am: rename, remove defaults gunk
3222 * MenuBackend.C: remove defaults gunk
3225 * Languages.C: remove defaults gunk
3228 * lyx_main.C: error out if files couldn't be found.
3230 2003-04-02 John Levon <levon@movementarian.org>
3232 * text2.C: make incDepth() use parlist
3234 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3236 * undo_funcs.C (firstUndoParagraph): adjust
3238 * text3.C (gotoInset): adjust
3239 (dispatch): adjust, and rewrite loop.
3241 * text2.C (init): adjust, and rewrite loop.
3242 (redoParagraphs): adjust
3243 (updateInset): adjust, and rewrite loop.
3244 (deleteEmptyParagraphMechanism): adjust
3246 * tabular.C (LyXTabular): adjust
3247 (SetMultiColumn): adjust
3250 * lyxtext.[Ch] (ownerParagraph): delete function
3251 (ownerParagraphs): new function returns a ParagraphList.
3253 * BufferView.C (removeAutoInsets): adjust
3254 (insertErrors): adjust
3255 (setCursorFromRow): adjust
3257 2003-04-01 Angus Leeming <leeming@lyx.org>
3259 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3262 2003-04-02 John Levon <levon@movementarian.org>
3268 * text_funcs.C: make transposeChars a free function
3270 * lyxrow_funcs.C: remove wrong comment
3272 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3275 * rowpainter.C: adjust
3280 * lyxrow_funcs. [Ch]: new files
3282 * lyxrow.[Ch]: remove next and previous pointers
3283 (next,previous): remove accessor functions
3284 (isParEnd): move to lyxrow_funcs
3285 (lastPos): move to lyxrow_funcs
3286 (nextRowIsAllInset): move to lyxrow_funcs
3287 (lastPrintablePos): move to lyxrow_funcs
3288 (numberOfSeparators): move to lyxrow_funcs
3289 (numberOfHfills): move to lyxrow_funcs
3290 (numberOfLabelHfills): move to lyxrow_funcs
3291 (hfillExpansion): move to lyxrow_funcs
3295 * bufferview_funcs.C (toggleAndShow): adjust
3297 * RowList.h: Remove class RowList from file leave just a
3300 * RowList.C: delete file
3302 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3305 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3307 * text3.C (cursorPrevious): adjust
3308 (cursorNext): adjust
3311 * text2.C (redoHeightOfParagraph): adjust
3312 (redoDrawingOfParagraph): adjust
3315 * text.C (breakParagraph): adjust
3316 (insertChar): adjust
3319 * rowpainter.C (RowPainter): adjust
3320 (leftMargin): simplify and adjust
3321 (most rowpainter functions): adjust.
3323 * rowpainter.h: store the row as RowList::iterator not as Row*
3325 * lyxcursor.C (row): taka RowList::iterator as arg
3328 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3331 2003-04-01 Angus Leeming <leeming@lyx.org>
3333 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3334 stuff like bool Bool.
3336 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3338 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3341 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3343 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3346 * lyxtext.h (rows): drop one version and leve a const variant that
3347 returns a RowList::iterator.
3349 2003-03-31 Angus Leeming <leeming@lyx.org>
3351 * text.C (fill): ensure that the signature is the same as that in the
3354 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3356 * text2.C (redoParagraphs): adjust
3357 (updateCounters): adjust
3358 (checkParagraph): adjust
3359 (getColumnNearX): adjust and reformat a bit.
3361 * text.C (top_y): adjust
3363 (leftMargin): adjust
3364 (prepareToPrint): adjust
3366 (getRowNearY): adjust
3368 * lyxtext.h: make rowlist_ mutable.
3370 * RowList.h: add const_iterator
3371 * RowList.C: adjust for RowList::const_iterator.
3373 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3376 2003-03-31 John Levon <levon@movementarian.org>
3379 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3381 * lyx_main.C: set default fonts from using lyx_gui funcs
3383 * exporter.C: pdf_mode moved from lyxrc
3386 * lyxfunc.C: changes from above
3388 2003-03-31 John Levon <levon@movementarian.org>
3390 * lyx_main.C: fix to the last fix
3392 2003-03-31 John Levon <levon@movementarian.org>
3394 * bufferlist.C: "Load original" -> "Load Original"
3400 * format.C: more Alert cleanups
3402 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3404 * text2.C (removeParagraph): make it take a RowList::iterator as
3406 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3407 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3409 * text.C (anchor_row): make it take a RowList::iterator as arg,
3411 (computeBidiTables): make it take a const reference to Row instead
3412 of Row pointer, adjust.
3413 (leftMargin): make it take a RowList::iterator as arg, adjust.
3414 (rowBreakPoint): adjust
3415 (breakAgainOneRow): make it take a RowList::iterator as arg,
3417 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3419 * bufferview_funcs.C (toggleAndShow): adjust
3421 2003-03-30 John Levon <levon@movementarian.org>
3425 * boost-inst.C: moved to support
3427 * several files: changes as a result
3429 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * text2.C (LyXText): adjust.
3433 (removeRow): make it take a RowList::iterator as arg, adjust.
3434 (fullRebreak): adjust
3435 (deleteEmptyParagraphMechanism): adjust
3436 (clearPaint): adjust
3439 * text.C (top_y): adjust
3440 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3441 (breakAgain): make it take a RowList::iterator as arg, adjust.
3442 (breakParagraph): adjust
3443 (insertChar): adjust
3446 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3447 need_break_row, and refresh_row.
3449 * text3.C (dispatch): adjust
3451 * text2.C (checkParagraph): adjust
3453 (setCursorFromCoordinates): adjust
3455 * text.C (top_y): adjust
3457 (getRow): make it return a RowList::iterator, adjust
3458 (getRowNearY): make it return a RowList::iterator, adjust
3460 * text2.C (init): adjust
3461 (insertRow): remove function
3462 (insertParagraph): adjust
3463 (redoParagraphs): adjust
3464 (fullRebreak): adjust
3465 (updateCounters): adjust
3467 * text.C (top_y): rewrite to use RowList iterators.
3469 (setHeightOfRow): rewrite to sue RowList iterators.
3470 (appendParagraph): adjust
3471 (breakAgain): adjust
3472 (breakAgainOneRow): adjust
3473 (breakParagraph): adjust
3475 (getRowNearY): adjust, and remove commented code.
3477 * lyxtext.h (firstRow): delete function
3478 (lastRow): delete function
3479 (rows): new function (const and non-const versions.)
3480 (insertRow): delete function
3482 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3484 2003-03-29 John Levon <levon@movementarian.org>
3486 * BufferView_pimpl.C: always update scrollbar top
3487 because pasting text when we're anchored could mean we
3488 miss an update altogether
3490 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3492 * text2.C (init): use rowlist_.end() and not 0.
3493 (insertRow): change to take a RowList::iterator as arg, adjust
3495 (insertParagraph): change to take a RowList::iterator as arg,
3497 (redoParagraphs): remove some debug msgs.
3499 * text.C (appendParagraph): change to take a RowList::iterator
3500 arg, adjust for this.
3501 (breakAgain): add an assert
3502 (breakAgainOneRow): ditto
3504 2003-03-29 John Levon <levon@movementarian.org>
3506 * text2.C: do not clear selection after inc/decDepth
3509 2003-03-29 John Levon <levon@movementarian.org>
3512 * buffer.C: fix broken strerrors according to Lars
3514 2003-03-29 John Levon <levon@movementarian.org>
3516 * converters.C: more Alert cleanups
3518 2003-03-29 John Levon <levon@movementarian.org>
3520 * bufferview_funcs.C: remove pointless Alert
3522 * buffer.C: fix confusing error message when
3523 a template is chmoded 000
3525 2003-03-29 John Levon <levon@movementarian.org>
3529 * BufferView_pimpl.C: Alert fixes
3533 * tabular-old.C: remove unused table compat reading
3535 2003-03-29 John Levon <levon@movementarian.org>
3540 * lyx_cb.C: more Alert cleanups
3542 * lyxfunc.C: don't allow chktex if not latex document
3544 2003-03-29 John Levon <levon@movementarian.org>
3548 * buffer.C: warnings pushed down from support/,
3551 2003-03-29 John Levon <levon@movementarian.org>
3553 * lyxfunc.C: safety check for C-r (revert)
3555 2003-03-29 John Levon <levon@movementarian.org>
3558 * bufferlist.C: several UI fixes using Alert::prompt.
3559 Fix the pointless looping quit code. Fix stupid revert
3564 * lyx_cb.C: use Alert::prompt
3566 * lyx_main.C: remove a silly question
3568 * lyxfunc.C: remove a couple of silly questions,
3571 2003-03-28 John Levon <levon@movementarian.org>
3573 * text2.C: fix bug 974 (End on empty par)
3575 2003-03-28 John Levon <levon@movementarian.org>
3577 * BufferView_pimpl.C:
3579 * lfuns.h: remove do-nothing math greek lfuns
3581 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * lyxgluelength.h (isValidGlueLength): add default arg on
3584 parameter 2. Remove default arg from friend in class.
3586 * lyxlength.h (isValidLength): add default arg on parameter 2.
3587 Remove default arg from friend in class.
3589 * text2.C (LyXText): adjust, initialize refresh_row.
3593 (insertParagraph): adjst
3594 (redoParagraphs): adjust
3595 (fullRebreak): adjust
3596 (updateCounters): adjust
3597 (deleteEmptyParagraphMechanism): first attempt at fixing a
3600 * text.C (top_y): adjust
3601 (setHeightOfRow): adjust
3603 (getRowNearY): adjust
3605 * lyxtext.h: include RowList.h
3606 (~LyXText): not needed anymore, deleted.
3607 (firstRow): modify for RowList
3608 (lastRow): new function
3609 Delete firstrow and lastrow class variables, add a Rowlist
3610 rowlist_ class variable.
3612 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3615 * RowList.C (insert): fix case where it == begin().
3617 2003-03-26 Angus Leeming <leeming@lyx.org>
3619 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3620 the thesaurus dialog.
3622 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3624 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3626 * RowList.[Ch]: new files
3628 * ParagraphList.C (erase): handle the case where it == begin
3631 2003-03-25 John Levon <levon@movementarian.org>
3635 * aspell.C: add new aspell support
3638 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3641 2003-03-25 Angus Leeming <leeming@lyx.org>
3644 * LyXAction.C (init): new LFUN_INSET_INSERT.
3646 * BufferView_pimpl.C (dispatch): split out part of the
3647 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3649 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3652 2003-03-25 Angus Leeming <leeming@lyx.org>
3654 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3656 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3659 * text3.C: remove useless row->height(0)
3661 2003-03-25 John Levon <levon@movementarian.org>
3665 * text3.C: rename the refreshing stuff to better names
3667 2003-03-24 John Levon <levon@movementarian.org>
3669 * BufferView_pimpl.h:
3670 * BufferView_pimpl.C: update layout choice on a mouse
3673 2003-03-23 John Levon <levon@movementarian.org>
3675 * Makefile.am: fix commandtags.h reference
3677 2003-03-22 John Levon <levon@movementarian.org>
3679 * BufferView_pimpl.C:
3684 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3686 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3689 * text.C: take the rtl methods out of line
3691 2003-03-21 André Pönitz <poenitz@gmx.net>
3693 * metricsinfo.[Ch]: new files containing structures to be passed around
3694 during the two-phase-drawing...
3696 2003-03-21 André Pönitz <poenitz@gmx.net>
3698 * lyxtextclass.C: read 'environment' tag.
3700 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3702 * text2.C (removeRow): fix bug 964
3704 2003-03-20 John Levon <levon@movementarian.org>
3708 * text2.C: paint cleanups. Inset::update() dropped font
3711 2003-03-19 John Levon <levon@movementarian.org>
3713 * lyxfunc.C: only fitcursor/markDirty if available()
3715 2003-03-19 John Levon <levon@movementarian.org>
3717 * commandtags.h: rename to ...
3719 * lfuns.h: ... this, and renumber / cleanup
3721 2003-03-19 John Levon <levon@movementarian.org>
3723 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3724 fit the cursor after an lfun
3728 * BufferView_pimpl.h:
3729 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3731 * LyXAction.C: layout-character should have ReadOnly
3733 * ParagraphParameters.C:
3735 * bufferview_funcs.C:
3742 * undo_funcs.C: changes from above
3744 2003-03-18 John Levon <levon@movementarian.org>
3746 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3747 remove it from update()
3749 * lyxfunc.C: update layout choice after an lfun
3751 * text3.C: remove extra updateLayoutChoice()s
3753 2003-03-18 John Levon <levon@movementarian.org>
3755 * text.C: top_y change means full repaint, fix
3756 a drawing bug with cursor movement
3758 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3762 * text2.C: anchor row on setCursor
3764 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3766 * lyxtext.h: remove almost all mutable keywords
3769 * text3.C: remove const keywords accordingly
3771 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3773 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3775 (TeXEnvironment): ditto
3778 2003-03-17 John Levon <levon@movementarian.org>
3780 * text.C (rowBreakPoint): remove attempt to fix displayed
3781 math insets inside a manual label
3783 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * lyxtext.h: remove BufferView* as first arg from almost all class
3787 * other files: adjust.
3789 2003-03-17 John Levon <levon@movementarian.org>
3793 * text2.C: more paint cleanups
3795 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3798 * rowpainter.C: remove "smart" background painting code
3800 2003-03-16 John Levon <levon@movementarian.org>
3805 * text3.C: add helper functions for setting refresh_row/y
3807 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3809 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3810 newline inset which *can* get inserted in the pass_thru layouts.
3811 This is primarily for literate documents.
3813 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3815 * buffer.C: increment LYX_FORMAT to 223
3817 2003-03-14 André Pönitz <poenitz@gmx.net>
3819 * textclass.h: prepare for environment handling, ws changes
3820 * lyxlayout.C: read latexheader and latexfooter tags
3822 2003-03-14 John Levon <levon@movementarian.org>
3824 * text2.C: rewrite ::status() a bit
3826 2003-03-13 John Levon <levon@movementarian.org>
3828 * lyxtext.h: add some docs
3830 2003-03-13 John Levon <levon@movementarian.org>
3835 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3837 2003-03-13 John Levon <levon@movementarian.org>
3839 * text3.C: fix appendix redrawing
3841 2003-03-13 John Levon <levon@movementarian.org>
3843 * text.C (setHeightOfRow):
3845 * rowpainter.C: make appendix mark have the text
3846 "Appendix" so the user knows what it is
3849 * LColor.C: s/appendixline/appendix/ from above
3851 2003-03-13 John Levon <levon@movementarian.org>
3853 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3855 * text.C: fix a getChar(pos) bug properly
3857 2003-03-13 Angus Leeming <leeming@lyx.org>
3860 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3861 Probably only temporary. Let's see how things pan out.
3863 * BufferView.C (unlockInset):
3864 * BufferView_pimpl.C (fitCursor):
3865 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3867 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3868 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3870 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3871 new functions that convert ParagraphParameters to and from a string.
3873 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3874 BufferView::Pimpl's dispatch.
3875 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3877 2003-03-13 André Pönitz <poenitz@gmx.net>
3881 * factory.C: make it aware of InsetEnv
3883 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3885 * text2.C (setCursor): never ask for one past last
3886 (setCursor): add some debugging messages.
3888 * text.C (singleWidth): never ask for one past last
3889 (singleWidth): ditto
3891 (rightMargin): ditto
3892 (rowBreakPoint): ditto
3893 (setHeightOfRow): ditto
3894 (prepareToPrint): ditto
3896 * rowpainter.C (paintBackground): never ask for one past last
3897 (paintText): never ask for one past last
3899 * paragraph_pimpl.C (getChar): make the assert stricter, never
3900 allow the one past last pos to be taken
3902 * paragraph.C (getChar): ws changes only
3904 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3905 (numberOfSeparators): ditto
3906 (numberOfHfills): ditto
3908 2003-03-12 John Levon <levon@movementarian.org>
3914 * paragraph_funcs.C: fix per-buffer authorlists
3916 2003-03-12 John Levon <levon@movementarian.org>
3918 * text.C: fix newline in right address
3920 2003-03-12 Angus Leeming <leeming@lyx.org>
3922 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3923 duplicate those in LyXFunc::dispatch.
3927 * ToolbarDefaults.C:
3928 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3929 Add LFUN_FONTFREE_UPDATE.
3931 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3932 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3934 * bufferview_func.[Ch]: several new functions to facilliate
3935 transfer of data to and from the character dialog.
3937 2003-03-12 John Levon <levon@movementarian.org>
3942 * paragraph_funcs.C:
3943 * paragraph_pimpl.C:
3947 * text3.C: remove META_NEWLINE in favour of an inset
3950 * rowpainter.C: remove paintNewline (done by inset)
3952 2003-03-12 John Levon <levon@movementarian.org>
3954 * paragraph_pimpl.C: complain about bad getChar()s
3955 for a while at least
3957 2003-03-12 John Levon <levon@movementarian.org>
3960 * buffer.C: move paragraph read into a separate function,
3961 a little renaming to reflect that.
3964 * bufferparams.C: remove the author_ids map, not necessary now
3967 * factory.C: moved Buffer::readInset to here
3969 * paragraph_funcs.h:
3970 * paragraph_funcs.C: readParagraph free function moved from
3973 * tabular.C: name change
3975 2003-03-12 John Levon <levon@movementarian.org>
3978 * ParagraphParameters.C: move par params input to
3981 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3982 behave like a normal read from the stream wrt reading
3983 a line vs. a \\token
3985 2003-03-12 John Levon <levon@movementarian.org>
3988 * ParagraphParameters.h:
3989 * ParagraphParameters.C: move output code to a
3992 2003-03-12 John Levon <levon@movementarian.org>
3994 * BufferView.C (insertLyXFile):
3997 * tabular.C: use a parlist iterator for creating the
4000 2003-03-12 John Levon <levon@movementarian.org>
4002 * buffer.C: make current_change static local not
4005 2003-03-12 John Levon <levon@movementarian.org>
4007 * buffer.C: fix insertStringAsLines for change tracking
4009 2003-03-12 John Levon <levon@movementarian.org>
4016 * bufferparams.C: move author list into params. Rename some
4017 functions. Move the header reading into a separate token
4018 loop. Move the header token reading into BufferParams.
4020 2003-03-12 John Levon <levon@movementarian.org>
4022 * changes.C: put debug inside lyxerr.debugging() checks
4024 2003-03-11 André Pönitz <poenitz@gmx.net>
4026 * factory.C: make it aware of InsetHFill
4028 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4030 * buffer.C (latexParagraphs): move function from here...
4031 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4034 2003-03-10 Angus Leeming <leeming@lyx.org>
4036 * LyXAction.C (init): fix bug in poplating array with multiple entries
4037 with the same LFUN (spotted by JMarc).
4039 2003-03-10 John Levon <levon@movementarian.org>
4042 * text2.C: move getColumnNearX() near its
4045 2003-03-10 John Levon <levon@movementarian.org>
4047 * text.C: fix break before a minipage
4049 2003-03-10 John Levon <levon@movementarian.org>
4051 * text.C: fix the last commit
4053 2003-03-09 John Levon <levon@movementarian.org>
4057 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4058 bug 365 (don't break before insets unless needed). Don't
4059 return a value > last under any circumstances.
4061 2003-03-09 Angus Leeming <leeming@lyx.org>
4063 * BufferView_pimpl.C (trackChanges, dispatch): call
4064 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4066 2003-03-09 Angus Leeming <leeming@lyx.org>
4068 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4069 than Dialogs::showAboutlyx().
4071 2003-03-09 Angus Leeming <leeming@lyx.org>
4073 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4074 than Dialogs::showTabularCreate().
4076 2003-03-09 John Levon <levon@movementarian.org>
4080 * text2.C: 3rd arg to nextBreakPoint was always the same.
4083 2003-03-08 John Levon <levon@movementarian.org>
4090 * text2.C: Remove the "main" bit from the "main body"
4093 2003-03-08 John Levon <levon@movementarian.org>
4095 * text.C (leftMargin): The left margin of an empty
4096 manual label paragraph should not include the label width
4099 * text.C (prepareToPrint): don't attempt to measure hfills
4100 for empty manual label paragraphs - the answer should be 0
4102 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4104 * CutAndPaste.C: remove commented code and reindent.
4106 2003-03-08 John Levon <levon@movementarian.org>
4109 * lyxfunc.C: move reloadBuffer()
4112 * BufferView.C: to here
4114 * lyxvc.C: add comment
4117 * vc-backend.C: call bv->reload() to avoid
4118 getStatus() check on MENURELOAD
4120 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4122 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4123 to an old format .dep file.
4125 2003-03-07 Angus Leeming <leeming@lyx.org>
4127 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4128 when the LFUN_MOUSE_RELEASE should have been handled by
4129 inset->localDispatch.
4131 2003-03-07 Angus Leeming <leeming@lyx.org>
4133 * BufferView_pimpl.C (dispatch):
4134 * LyXAction.C (init):
4135 * ToolbarDefaults.C (init):
4137 * lyxfunc.C (getStatus):
4138 remove LFUN_INSET_GRAPHICS.
4140 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4142 2003-03-07 Angus Leeming <leeming@lyx.org>
4145 * LyXAction.C (init):
4146 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4148 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4151 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4153 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4154 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4156 2003-03-07 Angus Leeming <leeming@lyx.org>
4158 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4161 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4163 * ParagraphList.C (front): new function
4166 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4168 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4169 and top_row_offset_. removed var first_y.
4171 * text2.C (LyXText, removeRow):
4173 * BufferView_pimpl.C:
4174 use these methods instead of using first_y
4176 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4178 * text2.C (pasteSelection): adjust for checkPastePossible
4180 * CutAndPaste.C: remove Paragraph * buf and replace with
4181 ParagraphList paragraphs.
4182 (DeleteBuffer): delete
4183 (cutSelection): change the tc type to textclass_type
4184 (copySelection): change the tc type to textclass_type
4185 (copySelection): adjust for ParagraphList
4186 (pasteSelection): change the tc type to textclass_type
4187 (pasteSelection): adjust for Paragraphlist
4188 (nrOfParagraphs): simplify for ParagraphList
4189 (checkPastePossible): simplify for ParagraphList
4190 (checkPastePossible): remove unused arg
4192 * ParagraphList.C (insert): handle the case where there are no
4195 * CutAndPaste.h: make CutAndPaste a namespace.
4197 * text3.C (dispatch): adjust
4199 * text.C (breakParagraph): add a ParagraphList as arg
4201 * paragraph_funcs.C (breakParagraph): change to take a
4202 BufferParams and a ParagraphList as args.
4203 (breakParagraphConservative): ditto
4204 (mergeParagraph): ditto
4205 (TeXDeeper): add a ParagraphList arg
4206 (TeXEnvironment): ditto
4209 * buffer.C (readLyXformat2): adjust
4210 (insertStringAsLines): adjust
4211 (latexParagraphs): adjust
4213 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4214 (cutSelection): adjust
4215 (pasteSelection): adjust
4217 * BufferView_pimpl.C (insertInset): adjust
4219 2003-03-05 Angus Leeming <leeming@lyx.org>
4222 * LyXAction.C (init):
4223 * BufferView_pimpl.C (dispatch):
4224 * lyxfunc.C (getStatus):
4225 remove LFUN_CHILD_INSERT.
4227 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4229 2003-03-05 Angus Leeming <leeming@lyx.org>
4232 * LyXAction.C (init):
4233 * src/factory.C (createInset):
4234 * lyxfunc.C (getStatus):
4235 * text3.C (dispatch):
4236 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4238 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4240 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * ParagraphList.C (insert): handle insert right before end()
4243 (erase): fix cases where it can be first or last paragraph.
4245 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4247 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4248 Paragraph::next and Paragraph::previous
4251 * text.C (breakParagraph): adjust
4253 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4254 BufferParams& as arg.
4255 (breakParagraph): use ParagraphList::insert
4256 (breakParagraphConservative): take a Buffer* instead of a
4257 BufferParams& as arg.
4258 (breakParagraphConservative): use ParagraphList::insert.
4260 * buffer.C (insertStringAsLines): un-const it
4261 (insertStringAsLines): adjust
4263 * ParagraphList.C (insert): new function
4265 * CutAndPaste.C (pasteSelection): adjust
4267 * text.C (backspace): adjust
4269 * tabular.C (SetMultiColumn): adjust
4271 * CutAndPaste.C (cutSelection): adjust
4272 (pasteSelection): adjust
4274 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4275 Buffer const * as arg
4277 * ParagraphList.C (erase): new function
4278 * paragraph_funcs.C (mergeParagraph): use it
4279 (mergeParagraph): make it take a Buffer* instead of a
4280 BufferParams* as arg
4282 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4284 (breakParagraphConservative): ditto
4286 * paragraph.h: remove the breakParagraph friend
4288 * paragraph.C (eraseIntern): new function
4289 (setChange): new function
4291 * paragraph_funcs.C (mergeParagraph): make it take a
4292 ParagraphList::iterator instead of a Paragraph *, adjust
4295 * paragraph.h: move an #endif so that the change tracking stuff
4296 also works in the NO_NEXT case.
4298 2003-03-04 Angus Leeming <leeming@lyx.org>
4301 * LyXAction.C: new LFUN_INSET_MODIFY.
4303 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4304 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4306 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4308 * several files: ws changes only
4310 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4311 (TeXEnvironment): ditto
4314 * buffer.C (makeLaTeXFile): adjust
4315 (latexParagraphs): make it take ParagraphList::iterator as args
4317 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4319 * buffer.C (latexParagraphs): adjust
4321 * paragraph.C (TeXOnePar): move function...
4322 (optArgInset): move function...
4323 (TeXEnvironment): move function...
4324 * paragraph_pimpl.C (TeXDeeper): move function...
4325 * paragraph_funcs.C: ...here
4327 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4329 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * buffer.C (readInset): remove compability code for old Figure and
4334 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * buffer.C: ws changes
4339 * BufferView_pimpl.C: ditto
4342 * bufferlist.h: ditto
4346 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4348 * converter.[Ch]: split into itself +
4351 * Makefile.am: += graph.[Ch] + format.[Ch]
4358 * lyxrc.C: added #include "format.h"
4360 2003-02-27 Angus Leeming <leeming@lyx.org>
4362 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4365 * factory.C (createInset): add "label" to the factory.
4367 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4368 string and do no more.
4370 2003-02-27 Angus Leeming <leeming@lyx.org>
4373 * LyXAction.C (init):
4374 * factory.C (createInset):
4375 * BufferView_pimpl.C (dispatch):
4376 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4378 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4380 * lyxfunc.C (dispatch):
4381 * text3.C (dispatch): pass name to params2string.
4383 2003-02-26 Angus Leeming <leeming@lyx.org>
4385 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4387 Rearrange the ~includes. Strip out the unnecessary ones.
4389 * factory.C (createInset): reformat.
4390 create new insets for the various LFUN_XYZ_APPLY lfuns.
4392 2003-02-26 John Levon <levon@movementarian.org>
4395 * lyxrow.C: add isParStart,isParEnd helpers
4397 * paragraph.h: make isInserted/DeletedText take refs
4399 * paragraph_funcs.h:
4400 * paragraph_funcs.C: remove #if 0'd code
4405 * text.C: use lyxrow helpers above.
4406 Move draw and paint routines to RowPainter.
4407 Make several methods use refs not pointers.
4408 Make backgroundColor() const.
4409 Add markChangeInDraw(), isInInset().
4410 Merge changeRegionCase into changeCase.
4411 Make workWidth() shouldn't-happen code into an Assert.
4414 * rowpainter.C: new class for painting a row.
4417 * vspace.C: make inPixels take a ref
4419 2003-02-26 Angus Leeming <leeming@lyx.org>
4421 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4424 2003-02-25 John Levon <levon@movementarian.org>
4426 * ispell.C: give the forked command a more accurate name
4428 2003-02-22 John Levon <levon@movementarian.org>
4431 * toc.C: make TocItem store an id not a Paragraph *
4434 2003-02-21 Angus Leeming <leeming@lyx.org>
4436 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4437 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4438 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4439 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4440 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4441 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4443 * BufferView_pimpl.C (dispatch):
4444 * LyXAction.C (init):
4445 * factory.C (createInset):
4446 * lyxfunc.C (getStatus, dispatch):
4447 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4449 2003-02-21 Angus Leeming <leeming@lyx.org>
4451 * BufferView_pimpl.C (MenuInsertLyXFile):
4452 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4453 * lyxfunc.C (menuNew, open, doImport):
4454 no longer pass a LyXView & to fileDlg.
4456 2003-02-21 Angus Leeming <leeming@lyx.org>
4458 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4459 * LyXAction.C: change, BIBKEY to BIBITEM.
4460 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4461 Change InsetBibKey to InsetBibitem.
4462 Change BIBKEY_CODE to BIBITEM_CODE.
4463 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4464 * factory.C: replace insetbib.h with insetbibitem.h.
4465 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4466 * paragraph.C: replace insetbib.h with insetbibitem.h.
4467 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4468 Change bibkey() to bibitem().
4469 * text.C: remove insetbib.h.
4470 * text2.C: replace insetbib.h with insetbibitem.h.
4471 change bibkey() to bibitem().
4472 * text3.C: remove insetbib.h.
4473 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4475 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4477 * lyxrc.C (output): enclose user email in quotes (in case there are
4480 2003-02-18 John Levon <levon@movementarian.org>
4482 * buffer.h: add std::
4484 2003-02-17 John Levon <levon@movementarian.org>
4490 * pspell.C: reworking. Especially in ispell, a large
4491 number of clean ups and bug fixes.
4493 * lyxfunc.C: fix revert to behave sensibly
4495 2003-02-17 André Pönitz <poenitz@gmx.net>
4498 * commandtags.h: new LFUN_INSERT_BIBKEY
4508 * paragraph_func.C: remove special bibkey handling
4510 2003-02-17 John Levon <levon@movementarian.org>
4512 * text.C (Delete): fix case where delete at the end of
4513 the very first paragraph would not merge the pars
4515 2003-02-17 John Levon <levon@movementarian.org>
4517 * lyxrow.C: fix lastPrintablePos()
4519 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4521 * bufferparams.C (writeLaTeX): add a std:here
4523 * buffer.C: and remove a using directive there
4525 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4527 * buffer.C (makeLaTeXFile): move the code that generates the
4530 * bufferparams.C (writeLaTeX): ... in this new method
4532 * LaTeXFeatures.C (getEncodingSet): make const
4533 (getLanguages): make const
4535 * MenuBackend.C (binding): returns the binding associated to this
4537 (add): sets the status of each item by calling getStatus. Adds
4539 (read): add support for OptSubMenu
4540 (expand): remove extra separator at the end of expanded menu
4542 2003-02-15 John Levon <levon@movementarian.org>
4545 * BufferView_pimpl.C:
4547 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4548 inset code that had no actual effect. Remove unneeded status
4551 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4553 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4556 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4558 * text.C (drawLengthMarker): also draw an arrow marker for
4559 symbolic lengths (medskip...)
4561 2003-02-14 John Levon <levon@movementarian.org>
4564 * tabular.C: better method names
4566 2003-02-14 John Levon <levon@movementarian.org>
4568 * BufferView_pimpl.C:
4573 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4574 it's a more accurate name. Remove some pointless uses.
4576 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4578 * text2.C (LyXText): change order of initilizers to shut off
4581 2003-02-14 John Levon <levon@movementarian.org>
4583 * buffer.C: use ParIterator for getParFromID()
4587 * paragraph_pimpl.h:
4588 * paragraph_pimpl.C: remove unused getParFromID()
4590 2003-02-14 John Levon <levon@movementarian.org>
4592 * buffer.C: remove some very old #if 0'd parse code
4594 2003-02-13 John Levon <levon@movementarian.org>
4598 * text2.C: move hfillExpansion(), numberOfSeparators(),
4599 rowLast(), rowLastPrintable(), numberofHfills(),
4600 numberOfLabelHfills() ...
4603 * lyxrow.C: ... to member functions here.
4608 * text.C: remove LyXText::beginningOfMainBody(), and call
4609 p->beginningOfMainBody() directly. Move the check for
4610 LABEL_MANUAL into the latter.
4617 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4623 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4624 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4626 2003-02-13 John Levon <levon@movementarian.org>
4628 * CutAndPaste.C: remove debug
4630 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4632 * paragraph.C (asString): remove two unused variables
4634 * lyxtextclass.C (readTitleType):
4636 (LyXTextClass): handle new members titletype_ and titlename_
4638 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4640 2003-02-09 John Levon <levon@movementarian.org>
4643 * buffer.C: replace hand-coded list with a map for the dep clean
4645 2003-02-08 John Levon <levon@movementarian.org>
4647 * LaTeX.C: consolidate code into showRunMessage() helper
4649 2003-02-08 John Levon <levon@movementarian.org>
4654 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4655 and pass the size in explicitly
4657 * BufferView_pimpl.h:
4658 * BufferView_pimpl.C:
4660 * BufferView.C: add getCurrentChange()
4662 * BufferView_pimpl.h:
4663 * BufferView_pimpl.C: handle change lfuns
4665 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4666 for changes. Mark pasted paragraphs as new.
4668 * support/lyxtime.h:
4669 * support/lyxtime.C:
4670 * DepTable.C: abstract time_t as lyx::time_type
4673 * LColor.C: add colours for new text, deleted text, changebars
4675 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4676 package use "usenames" option.
4680 * LyXAction.C: add change lfuns
4684 * author.C: author handling
4687 * buffer.C: add a per-buffer author list, with first entry as
4688 current author. Handle new .lyx tokens for change tracking. Output
4689 author list to .lyx file. Output dvipost stuff to .tex preamble.
4690 Bump lyx format to 222.
4693 * bufferlist.C: add setCurrentAuthor() to reset current author details
4697 * bufferparams.C: add param for tracking
4699 * bufferview_funcs.C: output change info in minibuffer
4703 * changes.C: add change-tracking structure
4706 * debug.C: add CHANGES debug flag
4709 * lyxfind.C: add code for finding the next change piece
4712 * lyxrc.C: add user_name and user_email
4715 * lyxrow.C: add a metric for the top of the text line
4718 * text.C: implement accept/rejectChange()
4721 * text.C: paint changebars. Paint new/deleted text in the chosen
4722 colours. Strike through deleted text.
4726 * paragraph_pimpl.h:
4727 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4728 in the current change to the insert functions. Rework erase to
4729 mark text as deleted, adding an eraseIntern() and a range-based
4730 erase(). Implement per-paragraph change lookup and
4733 * paragraph_funcs.C: Fixup paste for change tracking.
4735 * tabular.C: mark added row/columns as new.
4737 * text.C: fix rowLast() to never return -1. Don't allow
4738 spellchecking of deleted text. Track transpose changes. Don't
4739 allow paragraph break or merge where appropriate.
4741 * text2.C: leave cursor at end of selection after a cut.
4743 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4745 * text.C (getLengthMarkerHeight):
4746 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4747 visible on screen too.
4749 2003-02-07 John Levon <levon@movementarian.org>
4751 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4753 2003-02-05 Angus Leeming <leeming@lyx.org>
4755 * lyxserver.C (read_ready): revert my patch of 11 September last year
4756 as it sends PC cpu through the roof. Presumably this means that
4757 the lyxserver will no longer run on an Alpha...
4759 2003-01-30 Angus Leeming <leeming@lyx.org>
4761 * factory.C (createInset): create an InsetCommandParam of type "index"
4762 and use it to 'do the right thing'.
4764 * text2.C (getStringToIndex): ensure that cursor position is always
4765 reset to the reset_cursor position.
4767 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4769 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4772 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4776 * lyxfunc.C: Output messages with identical spelling, punctuation,
4779 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4781 * MenuBackend.C (expandFormats): List only viewable export formats
4784 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4787 * lyxfunc.C (getStatus): Make sure that formats other than
4788 "fax" can also be disabled
4790 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4792 * text3.C (dispatch): put the lfuns that insert insets in 3
4793 groups, and call doInsertInset with appropriate arguments.
4794 (doInsertInset): new function, that creates an inset and inserts
4795 it according to some boolean parameters.
4797 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4799 * buffer.C (readFile): remember to pass on 'par' when calling
4800 readFile recursively.
4802 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4804 * MenuBackend.C (expandFormats): add "..." to import formats.
4806 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4808 * paragraph.C (asString): Remove XForms RTL hacks.
4810 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4811 * buffer.C: fix typo
4813 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * Makefile.am (LIBS): delete var
4816 (lyx_LDADD): add @LIBS@ here instead.
4818 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4820 * Clarify the meaning of "wheel mouse jump"
4822 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4824 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4827 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4829 * importer.C (Loaders): do not preallocate 3 elements in the
4830 vector, since one ends up with 6 elements otherwise
4832 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4834 * DepTable.C (write): write the file name as last element of the
4835 .dep file (because it may contain spaces)
4836 (read): read info in the right order
4838 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4840 * paragraph_pimpl.C (simpleTeXBlanks):
4841 (simpleTeXSpecialChars):
4842 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4844 * tabular.C (latex): add some missing case statements. Reindent.
4846 * MenuBackend.C (expandToc): remove unused variable.
4848 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4857 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4860 2003-01-05 John Levon <levon@movementarian.org>
4863 * BufferView.C: add getEncoding()
4866 * kbsequence.C: do not store last keypress
4869 * lyxfunc.C: store last keypress here instead. Pass encoding
4872 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4874 * lyx_main.C (init): remove annoying error message when following
4875 symbolic links (bug #780)
4877 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4879 * text.C (insertChar):
4880 * lyxrc.C (getDescription): remove extra spaces
4882 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4884 * lyxrc.C (getDescription): remove extra spaces
4886 2002-12-20 John Levon <levon@movementarian.org>
4888 * text3.C: hack fix for page up/down across tall rows
4890 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4892 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4895 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4897 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4898 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4899 thesaurus is not compiled in
4901 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4903 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4905 2002-12-16 Angus Leeming <leeming@lyx.org>
4908 * lyx_main.C (init): remove override_x_deadkeys stuff.
4910 2002-12-12 John Levon <levon@movementarian.org>
4912 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4913 insert. Only remove shift modifier under strict
4916 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * MenuBackend.C (expandToc): fix crash.
4920 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4922 * MenuBackend.C (expandToc): gettext on float names.
4924 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4926 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4927 implement bool empty() [bug 490]
4929 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4931 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4933 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4935 * several files: ws changes
4937 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4939 * text2.C (setCounter): clean up a bit, use boost.format.
4940 (updateCounters): initialize par upon declaration.
4942 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4943 if the layout exists. We do not just store the layout any more.
4944 (SwitchLayoutsBetweenClasses): use boost.format
4946 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4948 * converter.C (convert): if from and to files are the same, use a
4949 temporary files as intermediary
4951 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4954 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4956 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4958 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4960 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4962 * tabular.C (asciiPrintCell): use string(size, char) instead of
4965 * sgml.C (openTag): fix order of arguments to string constructor
4968 * lyxfunc.C (dispatch): use boost.format
4970 * lots of files: change "c" -> 'c'
4972 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4974 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4976 2002-11-25 Angus Leeming <leeming@lyx.org>
4978 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4980 * lyx_main.C (init): compile fix.
4982 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4984 * lyx_cb.C (start): boost.formatify
4985 do not include <iostream>
4987 * lengthcommon.C: ws only
4989 * boost-inst.C,BoostFormat.h: add more explict instantations
4991 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4993 * lots of files: handle USE_BOOST_FORMAT
4995 2002-11-21 John Levon <levon@movementarian.org>
4997 * pspell.C: fix compile
4999 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5001 * lyxfunc.C (dispatch): use boost::format
5005 * lyxfont.C (stateText): use boost::format
5007 * lyx_main.C (LyX): use boost::format
5009 (queryUserLyXDir): ditto
5012 (typedef boost::function): use the recommened syntax.
5014 * importer.C (Import): use boost::format
5016 * debug.C (showLevel): use boost::format
5018 * converter.C (view): use boost::format
5023 * bufferview_funcs.C (currentState): use boost::format
5025 * bufferlist.C (emergencyWrite): use boost::format
5027 * buffer.C (readLyXformat2): use boost::format
5028 (parseSingleLyXformat2Token): ditto
5030 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5032 * LaTeX.C (run): use boost::format
5034 * Chktex.C (scanLogFile): use boost::format
5036 * BufferView_pimpl.C (savePosition): use boost::format
5037 (restorePosition): ditto
5038 (MenuInsertLyXFile): ditto
5040 * BoostFormat.h: help file for explicit instation.
5042 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5044 * tabular.C (latex): Support for block alignment in fixed width
5047 2002-11-17 John Levon <levon@movementarian.org>
5049 * BufferView_pimpl.C:
5051 * lyxfunc.C: split filedialog into open/save
5053 2002-11-08 Juergen Vigna <jug@sad.it>
5055 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5056 by my last patch (hopefully).
5058 2002-11-08 John Levon <levon@movementarian.org>
5067 * toc.C: ParConstIterator, and use it (from Lars)
5069 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5071 * lyxtextclass.[Ch]: revise and add doxygen comments
5073 2002-11-07 John Levon <levon@movementarian.org>
5075 * text.C: fix progress value for spellchecker
5077 * toc.C: fix navigate menu for insetwrap inside minipage
5079 * paragraph_funcs.C: added FIXME for suspect code
5081 2002-11-07 John Levon <levon@movementarian.org>
5083 * BufferView_pimpl.C: fix redrawing of insets
5086 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5088 * text2.C (updateCounters): fix bug 668
5090 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5092 * text3.C (dispatch): Do not make the buffer dirty when moving the
5095 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5097 * vc-backend.C: STRCONV
5100 * text2.C (setCounter): STRCONV
5102 * paragraph.C (asString): STRCONV
5104 * lyxlength.C (asString): STRCONV
5105 (asLatexString): ditto
5107 * lyxgluelength.C (asString): STRCONV
5108 (asLatexString): ditto
5110 * lyxfunc.C (dispatch): STRCONV
5113 * lyxfont.C (stateText): STRCONV
5115 * importer.C (Import): STRCONV
5117 * counters.C (labelItem): STRCONV
5118 (numberLabel): ditto
5119 (numberLabel): remove unused ostringstream o
5124 * bufferview_funcs.C (currentState): STRCONV
5126 * buffer.C (readFile): STRCONV
5127 (asciiParagraph): ditto
5128 (makeLaTeXFile): ditto
5130 * Spacing.C (writeEnvirBegin): STRCONV
5132 * LaTeXFeatures.C (getLanguages): STRCONV
5133 (getPackages): ditto
5135 (getBabelOptions): ditto
5136 (getTClassPreamble): ditto
5137 (getLyXSGMLEntities): ditto
5138 (getIncludedFiles): ditto
5142 (scanAuxFile): ditto
5145 * LString.h: add the STRCONV macros
5147 * BufferView_pimpl.C (savePosition): STRCONV
5148 (restorePosition): ditto
5149 (MenuInsertLyXFile): ditto
5151 * vc-backend.C (scanMaster): change from submatch[...] to
5154 * funcrequest.C: include config.h
5156 * factory.C: include config.h
5158 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5160 * box.C: include config.h
5162 * LaTeX.C (scanAuxFile): change from submatch[...] to
5166 2002-10-25 Angus Leeming <leeming@lyx.org>
5168 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5170 * ispell.[Ch] (setError): new method.
5171 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5172 Use setError() insetead of goto END.
5174 * lyx_cb.C (AutoSave): move out child process into new class
5177 2002-10-30 John Levon <levon@movementarian.org>
5179 * text3.C: make start appendix undoable
5181 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5183 * lyxlength.C (inPixels): Fix returned value.
5185 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5188 2002-10-24 Angus Leeming <leeming@lyx.org>
5190 * lyxgluelength.h: no need to forward declare BufferParams
5191 or BufferView, so don't.
5193 2002-10-21 John Levon <levon@movementarian.org>
5195 * BufferView.C: menuUndo ->undo, redo
5197 * BufferView.h: document, remove dead, make some methods private
5199 * paragraph_funcs.h:
5200 * paragraph_funcs.C:
5201 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5206 * sgml.C: move sgml open/close tag into sgml.C
5208 * bufferview_funcs.h: unused prototype
5211 * lyxfunc.C: remove unused
5214 * text.C: remove unused
5216 2002-10-21 John Levon <levon@movementarian.org>
5220 * BufferView_pimpl.h:
5221 * BufferView_pimpl.C: fix mouse wheel handling based on
5222 patch from Darren Freeman
5224 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5226 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5228 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5230 * lyxlength.C (inPixels): Fix hanfling of negative length.
5231 Fix LyXLength::MU case.
5233 2002-10-16 John Levon <levon@movementarian.org>
5235 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5237 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5239 * converter.C (view): add support for $$i (file name) and $$p
5240 (file path) for the viewer command. If $$i is not specified, then
5241 it is appended to the command (for compatibility with old syntax)
5243 2002-10-14 Juergen Vigna <jug@sad.it>
5245 * undo_funcs.C (textHandleUndo): alter the order in which the
5246 new undopar is added to the LyXText, as we have to set first
5247 the right prev/next and then add it as otherwise the rebuild of
5248 LyXText is not correct. Also reset the cursor to the right paragraph,
5249 with this IMO we could remove the hack in "redoParagraphs()".
5251 2002-10-09 Angus Leeming <leeming@lyx.org>
5253 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5254 to turn off an optimisation if a new inset is to be inserted.
5256 2002-10-11 André Pönitz <poenitz@gmx.net>
5258 * lyxtext.h: make some functions public to allow access
5259 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5261 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5263 * text3.C (dispatch): when changing layout, avoid an infinite loop
5266 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5268 * lyxrc.C (read): treat a viewer or converter command of "none" as
5271 * MenuBackend.C (expandFormats): for an update, also allow the
5272 formats that are not viewable
5274 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5275 script if it is newer than the lyxrc.defaults in user directory
5277 2002-10-07 André Pönitz <poenitz@gmx.net>
5279 * text.C: Vitaly Lipatov's small i18n fix
5281 2002-09-25 Angus Leeming <leeming@lyx.org>
5283 * ispell.h: doxygen fix.
5285 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5287 * buffer.h (readFile): Add a new argument to the method, to allow
5288 reading of old-format templates.
5290 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5292 * toc.C (getTocList): Get TOC from InsetWrap.
5294 2002-09-16 John Levon <levon@movementarian.org>
5296 * lyxfunc.C: check tabular for cut/copy too
5298 2002-09-12 John Levon <levon@movementarian.org>
5303 * factory.C: add header
5305 * paragraph_funcs.h:
5306 * paragraph_funcs.C: cleanup
5308 2002-09-11 John Levon <levon@movementarian.org>
5310 * PrinterParams.h: odd/even default to true
5312 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5314 * PrinterParams.h: update printer parameters for new xforms dialog
5316 2002-09-11 Angus Leeming <leeming@lyx.org>
5318 * lyxserver.C (read_ready): re-write to make it more transparent
5319 and to make it work in coherent fashion under Tru64 Unix.
5321 2002-09-11 André Pönitz <poenitz@gmx.net>
5325 * text3.C: implement LFUN_WORDSEL
5327 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5329 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5330 make floatlist_ a boost::shared_ptr<FloatList>
5332 * lyxtextclass.C: include FloatList.h
5333 (LyXTextClass): initialize floatlist_
5334 (TextClassTags): add TC_NOFLOAT
5335 (Read): match "nofloat" to TC_NOFLOAT and use it.
5336 (readFloat): modify call to floatlist_
5340 * FloatList.[Ch] (FloatList): remove commented out float
5342 (erase): new function
5344 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5346 * MenuBackend.C (expandToc): fix crash when there is no document
5349 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5351 * many files: Add insetwrap.
5353 2002-09-09 John Levon <levon@movementarian.org>
5355 * text2.C: remove confusing and awkward depth wraparound
5357 2002-09-09 John Levon <levon@movementarian.org>
5359 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5362 * buffer.C: remove getIncludeonlyList()
5365 * lyxfunc.C: remove headers
5367 2002-09-09 Juergen Vigna <jug@sad.it>
5369 * text.C (getColumnNearX): fix form Michael this is most
5370 probably a cut&paste bug.
5372 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5374 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5376 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5377 references, ws changes.
5379 * text2.C (init): update counters after init
5380 (insertParagraph): no need to set counter on idividual paragraphs.
5381 (setCounter): access the counters object in the textclass object
5382 on in the buffer object.
5383 (updateCounters): ditto
5385 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5386 shared_ptr<Counters> to avoid loading counters.h in all
5388 (LyXTextClass): initialize ctrs_
5389 (TextClassTags): add TC_COUNTER, and ...
5390 (Read): use it here.
5391 (CounterTags): new tags
5392 (readCounter): new function
5393 (counters): new funtion
5394 (defaultLayoutName): return a const reference
5396 * counters.C (Counters): remove contructor
5397 (newCounter): remove a couple of unneeded statements.
5398 (newCounter): simplify a bit.
5399 (numberLabel): some small formatting changes.
5401 * buffer.[Ch]: remove all traces of counters, move the Counters
5402 object to the LyXTextClass.
5404 2002-09-06 Alain Castera <castera@in2p3.fr>
5406 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5407 package to set the horizontal alignment on fixed width columns.
5410 * lyx_sty.h: added tabularnewline macro def.
5412 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5414 2002-09-06 John Levon <levon@movementarian.org>
5416 * LyXAction.C: tooltips for sub/superscript
5418 * MenuBackend.C: a bit more verbose
5420 * lyxfunc.C: tiny clean
5422 * undo_funcs.C: document undo_frozen
5424 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5426 * counters.C (Counters): add missing algorithm counter.
5428 * text2.C (setCounter): lookup the counter with layouts latexname
5429 instead of by section number.
5430 (setCounter): use a hackish way to lookup the correct enum
5432 a float name->type change
5433 reset enum couners with counter name directly instead of depth value.
5435 * counters.C (Counters): remove the push_backs, change to use the
5436 float type not the float name.
5437 (labelItem): remove unused string, float name->type change
5439 * counters.h: don't include vector, loose the enums and sects vectors
5441 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5443 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5444 (Read): add float->TC_FLOAT to textclassTags
5445 (Read): and handle it in the switch
5446 (readFloat): new function
5448 * FloatList.C (FloatList): comment out the hardcoded float
5451 * lyxlayout.h: ws change.
5453 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5455 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5457 2002-09-03 Angus Leeming <leeming@lyx.org>
5459 * BufferView_pimpl.h: qualified name is not allowed in member
5460 declaration: WorkArea & Pimpl::workarea() const;
5462 * factory.C: added using std::endl directive.
5464 * text3.C: added using std::find and std::vector directives.
5466 2002-08-29 André Pönitz <poenitz@gmx.net>
5469 * text2.C: remove unused member number_of_rows
5472 * BufferView2.C: remove file, move contents to...
5473 * BufferView.C: ... here
5475 * BufferView_pimpl.C:
5476 * factory.C: move more inset creation to factory
5478 * vspace.C: avoid direct usage of LyXText, ws changes
5481 don't provide direct access to WorkArea, use two simple
5482 acessors haveSelction() and workHeight() instead
5485 2002-08-29 John Levon <levon@movementarian.org>
5487 * BufferView_pimpl.C (dispatch): do not continue when
5490 2002-08-28 André Pönitz <poenitz@gmx.net>
5492 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5495 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5497 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5499 * buffer.C: increment LYX_FORMAT to 221
5501 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5502 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5504 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5506 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5508 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5510 * factory.C (createInset): use LyXTextClass::floats
5512 * MenuBackend.C (expandFloatListInsert):
5513 (expandFloatInsert):
5516 * text2.C (setCounter):
5518 * LaTeXFeatures.C (useFloat):
5519 (getFloatDefinitions):
5521 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5523 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5524 floatlist_, with accessor floats().
5526 * FloatList.h: remove global FloatList
5528 2002-08-26 André Pönitz <poenitz@gmx.net>
5530 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5534 * BufferView_pimpl.C:
5535 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5537 2002-08-25 John Levon <levon@movementarian.org>
5539 * LyXAction.C: fix margin note description
5541 2002-08-24 John Levon <levon@movementarian.org>
5545 * bufferview_funcs.C:
5547 * undo_funcs.C: cleanups
5549 * lyxfunc.C: disable CUT/COPY when no selection
5551 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5553 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5554 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5556 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5557 Add backward compatibility to "mono", "gray" and "no".
5559 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5561 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5562 (and file_format >= 200).
5564 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5566 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5568 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5570 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5572 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5574 * BufferView_pimpl.C:
5581 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5582 inset and code to make it work with the paragraph code. The inset
5583 can be anywhere in the paragraph, but will only do the expected
5584 thing in LaTeX if the layout file contains the parameter line
5586 (or more generally, a nonzero value) for that layout.
5588 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5590 * paragraph.h: remove the declaration of undefined counters class
5593 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5595 * text2.C (setCounter): fixed enumeration mis-count as reported by
5596 Dr. Richard Hawkins.
5598 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5600 * paragraph_funcs.h: remove some unneeded includes
5602 * text.C (backspace): pasteParagraph now in global scipe
5604 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5605 (pasteSelection): ditto
5607 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5608 * paragraph_funcs.C (pasteParagraph): ... here
5610 2002-08-20 André Pönitz <poenitz@gmx.net>
5612 * commandtags.h: new LFUNs for swapping/copying table row/colums
5615 * lyxfunc.C: support for new lfuns
5617 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5620 * buffer.[Ch]: remove NO_COMPABILITY stuff
5622 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5624 * boost.C (throw_exception): new file, with helper function for
5625 boost compiled without exceptions.
5630 * ParameterStruct.h:
5631 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5633 * bufferlist.C (emergencyWriteAll): use boost bind
5635 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5637 * text.C: include paragraph_funcs.h
5638 (breakParagraph): breakParagraph is now in global scope
5640 * paragraph_funcs.[Ch]: new files
5642 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5645 * buffer.C: include paragraph_funcs.h
5646 (insertStringAsLines): breakParagraph is now in global scope
5648 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5651 * CutAndPaste.C: include paragraph_funcs.h
5652 (cutSelection): breakParagraphConservative is now in global scope
5653 (pasteSelection): ditto
5655 * buffer.h: declare oprator== and operator!= for
5656 Buffer::inset_iterator
5658 * bufferlist.C (emergencyWrite): don't use fmt(...)
5660 * text3.C: add using std::endl
5662 * BufferView.C (moveCursorUpdate): remove default arg
5664 2002-08-20 André Pönitz <poenitz@gmx.net>
5666 * buffer.[Ch]: move inline functions to .C
5669 * BufferView_pimpl.C:
5671 * buffer.[Ch]: use improved inset_iterator
5674 * paragraph.[Ch]: write one paragraph at a time
5676 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5678 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5679 style if style is not specified.
5681 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5683 * text2.C (setCounter): when searching for right label for a
5684 caption, make sure to recurse to parent insets (so that a caption
5685 in a minipage in a figure float works) (bug #568)
5687 2002-08-20 André Pönitz <poenitz@gmx.net>
5689 * text3.C: new file for LyXText::dispatch() and helpers
5691 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5693 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5695 2002-08-19 André Pönitz <poenitz@gmx.net>
5698 * text.C: new LyXText::dispatch()
5700 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5702 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5704 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5706 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5709 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5711 * Makefile.am: use $(variables) instead of @substitutions@
5713 2002-08-15 André Pönitz <poenitz@gmx.net>
5716 * BufferView_pimpl.C: streamlining mathed <-> outer world
5720 * LyXAction.C: remove unused LFUN_MATH
5722 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5724 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5726 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5728 * paragraph.C (Paragraph): reformat a bit
5729 (cutIntoMinibuffer): use builtin InsetList function instad of
5733 * buffer.C: include boost/bind.hpp, add using std::for_each
5734 (writeFileAscii): use ParagraphList iterators
5735 (validate): use for_each for validate traversal of paragraphs
5736 (getBibkeyList): use ParagraphList iterators
5737 (resizeInsets): use for_each to resizeInsetsLyXText for all
5739 (getParFromID): use ParagraphList iterators
5741 * BufferView2.C (lockInset): use paragraph list and iterators
5743 2002-08-14 John Levon <levon@movementarian.org>
5745 * lyxserver.C: remove spurious xforms include
5747 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5749 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5751 2002-08-13 André Pönitz <poenitz@gmx.net>
5754 * lyxfunc.C: further cleaning
5756 2002-08-13 André Pönitz <poenitz@gmx.net>
5758 * funcrequest.h: new constructor
5760 * funcrequest.C: move stuff here from .h
5763 * BufferView_pimpl.C:
5766 * lyxfunc.C: subsequent changes
5768 * lyxfunc.h: new view() member function
5770 * lyxfunc.C: subsequent changes
5772 2002-08-13 Angus Leeming <leeming@lyx.org>
5775 * BufferView_pimpl.C:
5783 changes due to the changed LyXView interface that now returns references
5784 to member variables not pointers.
5786 2002-08-13 Angus Leeming <leeming@lyx.org>
5788 * WordLangTuple (word, lang_code): return references to strings,
5793 * lyxtext.h: forward-declare WordLangTuple.
5798 * text.C: #include "WordLangTuple.h".
5801 * text.C: (selectNextWordToSpellcheck): constify return type.
5803 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5809 * paragraph_pimpl.h:
5812 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5814 Made updateCounter always count from start of buffer, and removed
5815 second argument (par).
5816 Reverted floats number display to '#'. Perhaps I'll try again when the
5817 code base is sanitized a bit.
5819 2002-08-12 Angus Leeming <leeming@lyx.org>
5821 * buffer.[Ch] (getLabelList): constify.
5823 2002-08-07 André Pönitz <poenitz@gmx.net>
5825 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5827 * funcrequest.h: extension to keep mouse (x,y) position
5829 2002-08-12 Juergen Vigna <jug@sad.it>
5831 * BufferView2.C (insertErrors): forbid undo when inserting error
5834 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5836 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5838 * ParagraphList.[Ch]: new files
5840 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5842 * BufferView2.C (lockInset): ParagraphList changes
5845 * bufferlist.C: ditto
5849 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5851 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5852 unused class variable counter_,
5854 * paragraph.[Ch] (getFirstCounter): delete unused function
5856 * counters.C: include LAssert.h
5857 (reset): add a new function with no arg, change other version to
5858 not have def. arg and to not allow empty arg.
5860 * text2.C (setCounter): remove empty arg from call to Counters::reset
5862 2002-08-11 John Levon <levon@movementarian.org>
5864 * Makefile.am: add WordLangTuple.h
5866 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5868 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5869 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5871 * insets/insettext.C: InsetList changes
5873 * graphics/GraphicsSupport.C (operator()): InsetList changes
5875 * toc.C (getTocList): InsetList changes
5877 * paragraph_pimpl.[Ch]: InsetList changes
5879 * paragraph.[Ch]: InsetList changes
5881 * buffer.C (inset_iterator): InsetList changes
5882 (setParagraph): ditto
5883 * buffer.h (inset_iterator): ditto
5884 * iterators.C (operator++): ditto
5885 * iterators.h: ditto
5887 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5889 * InsetList.[Ch]: new files, most InsetList handling moved out of
5892 * BufferView2.C (removeAutoInsets): InsetList changes
5894 (ChangeInsets): ditto
5896 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5898 * paragraph_pimpl.h (empty): new function
5900 * paragraph.[Ch] (empty): new function
5902 * other files: use the new Paragraph::empty function
5904 2002-08-09 John Levon <levon@movementarian.org>
5906 * lyxtext.h: remove unused refresh_height
5908 2002-08-09 John Levon <levon@movementarian.org>
5915 * paragraph.C: move sgml char escaping out of paragraph
5918 * paragraph.C: remove id setter
5922 * paragraph_pimpl.C: remove dead tex_code_break_column
5924 * bufferview_funcs.C: small cleanup
5926 * lyxfunc.C: remove dead proto
5928 * lyxtext.h: make some stuff private. Remove some dead stuff.
5930 * lyxgluelength.C: make as[LyX]String() readable
5932 2002-08-08 John Levon <levon@movementarian.org>
5937 * ToolbarDefaults.C:
5940 * toc.C: lyxaction cleanup
5942 2002-08-08 John Levon <levon@movementarian.org>
5944 * BufferView2.C: small cleanup
5947 * lyxfind.C: move unnecessary header into the .C
5949 2002-08-08 John Levon <levon@movementarian.org>
5951 * funcrequest.h: just tedious nonsense
5954 * lyx_main.C: cleanups
5957 * vspace.C: remove dead header lyx_main.h
5959 2002-08-07 Angus Leeming <leeming@lyx.org>
5962 * paragraph_pimpl.h:
5963 Forward declare class Counters in paragraph.h by moving the ctrs member
5964 variable into Paragraph::Pimpl.
5965 (counters): new method, returning a reference to pimpl_->ctrs.
5967 * text2.C: ensuing changes.
5969 2002-08-07 John Levon <levon@movementarian.org>
5971 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5973 * BufferView_pimpl.C: announce X selection on double/triple
5976 * lyx_main.C: use correct bool in batch dispatch
5978 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5980 2002-08-07 André Pönitz <poenitz@gmx.net>
5982 * funcrequest.h: new class to wrap a kb_action and its argument
5985 * BufferView_pimpl[Ch]:
5989 * lyxrc.C: subsequent changes
5992 2002-08-07 John Levon <levon@movementarian.org>
5994 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5995 document options change.
5997 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6002 * makefile.am: move counters functionality over from
6003 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6005 2002-08-06 John Levon <levon@movementarian.org>
6007 * WordLangTuple.h: new file for word + language code tuple
6018 * BufferView2.C: use WordLangTuple
6021 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6023 2002-08-06 John Levon <levon@movementarian.org>
6025 * lyx_main.C: fix cmdline batch handling
6027 2002-08-06 André Pönitz <poenitz@gmx.net>
6029 * lyxrc.C: set default for show_banner to true
6031 2002-08-06 John Levon <levon@movementarian.org>
6033 * pspell.C: fix a crash, and allow new aspell to work
6035 2002-08-06 John Levon <levon@movementarian.org>
6038 * kbmap.C: small cleanup
6041 * vspace.C: add const
6043 2002-08-05 John Levon <levon@movementarian.org>
6045 * LyXAction.C: back to tabular-insert
6047 2002-08-04 John Levon <levon@movementarian.org>
6050 * BufferView.C: cosmetic change
6052 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6062 * BufferView2.C: purge all "Lyx" not "LyX" strings
6065 * lyxcursor.C: attempt to add some documentation
6070 * ToolbarDefaults.C:
6071 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6072 merge with LFUN_TABULAR_INSERT
6079 * pspell.C: split up i/pspell implementations into separate
6080 files, many cleanups
6082 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6084 * text2.C: some cleanup
6086 * lyxfunc.C: don't check for isp_command == "none" any more, it
6087 didn't make any sense
6089 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6094 * makefile.am: move counters functionality over
6095 from text2.C/paragraph.[Ch] to counters.[Ch], and
6097 2002-08-02 John Levon <levon@movementarian.org>
6099 * buffer.C: s/lyxconvert/lyx2lyx/
6101 2002-08-02 Angus Leeming <leeming@lyx.org>
6103 * lyxlex.C: revert John's change as it breaks reading of the user
6106 2002-08-02 Angus Leeming <leeming@lyx.org>
6108 * importer.C (Import):
6109 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6110 changes due to LyXView::view() now returning a boost::shared_ptr.
6112 2002-08-02 John Levon <levon@movementarian.org>
6114 * lyxlex.C: small cleanup
6116 2002-08-02 John Levon <levon@movementarian.org>
6118 * text2.C (status): small cleanup, no logic change
6120 2002-08-01 John Levon <levon@movementarian.org>
6123 * buffer.C (writeFile): don't output alerts, caller
6127 * lyx_cb.C: from above
6129 * lyxfunc.C: allow to open non-existent files
6131 2002-07-31 John Levon <levon@movementarian.org>
6133 * lyxserver.C: don't let incidental errors get
6136 2002-07-30 John Levon <levon@movementarian.org>
6138 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6140 2002-07-30 John Levon <levon@movementarian.org>
6143 * lyxserver.C: remove I/O callback too
6145 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6147 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6150 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6152 * many files: strip,frontStrip -> trim,ltrim,rtrim
6154 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6156 * PrinterParams.h: remove extern containsOnly, and include
6157 support/lstrings.h instead.
6159 * LaTeX.C (scanAuxFile): modify because of strip changes
6161 * buffer.C (makeLaTeXFile): ditto
6162 * bufferparams.C (writeFile): ditt
6163 * lyxfont.C (stateText): ditto
6164 * lyxserver.C (read_ready): ditto
6165 * vc-backend.C (scanMaster): ditto
6167 * BufferView_pimpl.h: ws changes
6169 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6171 2002-07-26 André Pönitz <poenitz@gmx.net>
6173 * kb_sequence.C: remove unnedred usings
6175 2002-07-26 Juergen Vigna <jug@sad.it>
6177 * lyxfind.C (LyXReplace): we have to check better if the returned
6178 text is not of theLockingInset()->getLockingInset().
6180 2002-07-25 Juergen Vigna <jug@sad.it>
6182 * lyxfind.C (LyXReplace): don't replace if we don't get the
6185 * undo_funcs.C (createUndo): remove debugging code.
6187 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6189 * buffer.C (parseSingleLyXformat2Token): Use default placement
6190 when reading old floats.
6192 * FloatList.C (FloatList): Change the default placement of figure
6193 and tables to "tbp".
6195 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6197 * MenuBackend.C: using std::max
6199 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6201 * MenuBackend.C (expandToc):
6202 (expandToc2): code moved from xforms menu frontend. It is now
6203 generic and TOCs are transparent to menu frontends.
6205 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6207 * toc.C (getTocList): protect against buf=0
6209 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6210 Menu as first parameter. Now, this calls itself recursively to
6211 expand a whole tree (this will be useful for TOC handling)
6212 (expandFloatInsert): remove 'wide' version of floats
6214 * MenuBackend.h (submenuname): returns the name of the submenu.
6215 (submenu): returns the submenu itself, provided it has been
6216 created by MenuBackend::expand
6218 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6220 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6221 insets which have noFontChange == true. (bug #172)
6223 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6225 * BufferView_pimpl.C: add connection objects and use them...
6228 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6230 * MenuBackend.C (expandLastfiles):
6233 (expandFloatListInsert):
6234 (expandFloatInsert):
6235 (expand): split expand in parts
6237 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6239 * lyx_gui.C: use lyx_gui::exit()
6241 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6243 * LyXAction.C: show the failing pseudo action
6245 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6247 * buffer.C (readFile): Run the lyxconvert script in order to read
6250 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6254 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6256 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6260 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6262 2002-07-22 Herbert Voss <voss@lyx.org>
6265 * lyxlength.[Ch]: add support for the vertical lengths
6267 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6269 * toc.[Ch]: std:: fixes
6271 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6273 * lyxrc.C: do not include lyx_main.h
6275 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6281 * BufferView2.C: include "lyxlex.h"
6284 * bufferparams.h: do not #include "lyxlex.h"
6286 * lyxtextclasslist.C (Add): remove method
6287 (classlist): renamed to classlist_
6289 * paragraph_pimpl.C:
6293 * bufferview_funcs.C:
6298 * toc.C (getTocList): use BufferParams::getLyXTextClass
6300 * toc.C (getTocList): use InsetFloat::addToToc
6302 * toc.[Ch]: new files, containing helper functions to handle table
6305 * lyxfunc.C (dispatch): no need to remove spaces around command
6307 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6308 first command of the sequence; it is not very clever, but I do not
6309 have a better idea, actually
6311 * LyXAction.C (LookupFunc): make sure to remove space at the
6312 beginning and end of the command
6314 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6316 * MenuBackend.C (getMenubar): new method: return the menubar of
6318 (read): treat differently reading of menu and menubar (in
6319 particular, the menubar has no name now)
6320 (Menu::menubar): remove
6322 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6325 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6327 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6328 a bibitem inset in a RTL paragraph.
6330 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6332 * paragraph_pimpl.C: constify
6334 * BufferView_pimpl.C:
6336 * lyxfunc.C: fix dispatch in a nicer way
6338 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6340 * lyxfunc.C (dispatch):
6341 * BufferView_pimpl.C:
6342 * BufferView_pimpl.h:
6344 * BufferView.h: rename Dispatch() to dispatch()
6346 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6348 * lyxlayout.C (Read): honor DependsOn tag
6350 * lyxlayout.[Ch] (depends_on): new method
6352 * version.C.in: update lyx_docversion
6354 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6356 * paragraph.C (validate): remove from here...
6357 * paragraph_pimpl.C (validate): ... and move here
6358 (isTextAt): make it const
6360 * buffer.C (getLists): ws cleanup
6362 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6364 * language.C (read): Use iso8859-1 encoding in latex_lang
6365 (this prevents LyX from crashing when using iso10646-1 encoding).
6367 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6369 * text2.C (toggleInset): if cursor is inside an inset, close the
6370 inset and leave cursor _after_ it
6372 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6374 * lyxfunc.C: move minibuffer completion handling out of here
6376 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6378 * BufferView_pimpl.C:
6379 * LaTeX.C: fix dispatch calls
6381 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6383 * text.C (drawChars): Fix Arabic text rendering.
6385 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6389 * lyxfunc.C: remove message-push/pop
6393 * lyxfunc.C: rationalise some code by removing verboseDispatch
6394 in favour of a bool argument to dispatch()
6396 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6398 * lyx_main.C (init): make sure to read symlinks as absolute paths
6400 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6403 * lyxfunc.C: no need for commandshortcut to be a member
6405 2002-07-15 André Pönitz <poenitz@gmx.net>
6407 * converter.C: add support for $$s (scripts from lib/scripts dir)
6408 * lyx_main.C: white space
6410 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6414 * lyxrc.C: remove second exit confirmation
6416 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6421 * BufferView_pimpl.h:
6422 * BufferView_pimpl.C:
6423 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6425 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6427 * MenuBackend.C (expand): add numeric shortcuts to document menu
6429 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6431 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6433 * lyxfont.C (setLyXFamily):
6440 * buffer.C (asciiParagraph): use ascii_lowercase
6442 2002-07-15 Mike Fabian <mfabian@suse.de>
6444 * lyxlex_pimpl.C (search_kw):
6445 * lyxlex.C (getLongString):
6446 * converter.h (operator<):
6447 * converter.C (operator<):
6448 * buffer.C (parseSingleLyXformat2Token):
6450 * ToolbarDefaults.C (read):
6451 * MenuBackend.C (checkShortcuts):
6453 * LColor.C (getFromGUIName):
6454 (getFromLyXName): use the compare_ascii_no_case instead of
6455 compare_no_case, because in turkish, 'i' is not the lowercase
6456 version of 'I', and thus turkish locale breaks parsing of tags.
6458 2002-07-16 Angus Leeming <leeming@lyx.org>
6460 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6461 now takes a Buffer const & argument.
6463 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6465 * BufferView.C (resize): check there's a buffer to resize
6467 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6469 * lyxfunc.C: remove dead code
6472 * lyxserver.C: use lyx_guii::set_read_callback
6474 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6476 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6477 an inset in a RTL paragraph.
6479 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6481 * lyxfunc.C: repaint after a font size update
6483 2002-07-15 André Pönitz <poenitz@gmx.net>
6485 * lyxlength.C: inBP should be able to return negative values
6487 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6489 * lyxfunc.C: use lyx_gui::update_fonts()
6491 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6493 * lyxfunc.C: use lyx_gui::update_color()
6495 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6501 * lyxrc.C: remove file->new asks for name option, and let
6502 buffer-new take an argument
6504 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6506 * BufferView_pimpl.C: remove unneeded extra repaint()
6508 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6510 * LyXAction.C: allow command-sequence with NoBuffer
6512 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6514 2002-07-10 Angus Leeming <leeming@lyx.org>
6516 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6518 2002-07-09 Angus Leeming <leeming@lyx.org>
6520 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6522 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6524 * lengthcommon.h: whitespace
6526 * lyxfunc.C: update scrollbar after goto paragraph
6528 * lyxtext.h: factor out page break drawing, and fix it so
6529 page break/added space paints as selected nicely
6531 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6533 * BufferView_pimpl.C: add FIXMEs, clean up a little
6535 2002-07-09 André Pönitz <poenitz@gmx.net>
6537 * lyxfont.[Ch]: support for wasy symbols
6539 2002-07-08 André Pönitz <poenitz@gmx.net>
6541 * BufferView_pimpl.C: apply John's patch for #93.
6543 2002-07-05 Angus Leeming <leeming@lyx.org>
6545 * BufferView_pimpl.C (buffer): generate previews if desired.
6547 * LColor.h: add "preview" to the color enum.
6549 * LColor.C (LColor): add a corresponding entry to the items array.
6551 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6554 2002-07-05 Angus Leeming <leeming@lyx.org>
6556 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6557 The body of the code is now in the method that is passed an ostream &
6558 rather than a file name.
6559 Pass an additional only_preamble parameter, useful for the forthcoming
6562 2002-07-03 André Pönitz <poenitz@gmx.net>
6564 * lyxfunc.C: simplify getStatus() a bit for math stuff
6566 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6568 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6570 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6572 * text.C (changeRegionCase): do not change case of all the
6573 document when region ends at paragraph end (bug #461)
6575 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6577 * paragraph.C (startTeXParParams):
6578 (endTeXParParams): add \protect when necessary
6580 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6582 * BufferView_pimpl.C (workAreaExpose): remove warning
6584 2002-06-27 Angus Leeming <leeming@lyx.org>
6586 * Makefile.am: add lyxlayout_ptr_fwd.h.
6588 2002-06-26 André Pönitz <poenitz@gmx.net>
6590 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6592 2002-06-25 Angus Leeming <leeming@lyx.org>
6594 * lyxfunc.C (dispatch): Comment out the call to
6595 grfx::GCache::changeDisplay. The method no longer exists now that the
6596 pixmap generation part of the graphics loader has been moved into
6599 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6601 * text2.C: layout as layout
6603 * text.C: layout as layout
6605 * tabular.C (OldFormatRead): layout as layout
6607 * paragraph_pimpl.C (TeXDeeper): layout as layout
6608 (realizeFont): layout as layout
6610 * paragraph.C (writeFile): layout as layout
6611 (validate): layout as layout
6612 (getFont): layout as layout
6613 (getLabelFont): layout as layout
6614 (getLayoutFont): layout as layout
6615 (breakParagraph): layout as layout
6616 (stripLeadingSpaces): layout as layout
6617 (getEndLabel): layout as layout
6618 (getMaxDepthAfter): layout as layout
6619 (applyLayout): layout as layout
6620 (TeXOnePar): layout as layout
6621 (simpleTeXOnePar): layout as layout
6622 (TeXEnvironment): layout as layout
6623 (layout): layout as layout
6624 (layout): layout as layout
6626 * lyxtextclass.C (compare_name): new functor to work with
6627 shared_ptr, layout as layout
6628 (Read): layout as layout
6629 (hasLayout): layout as layout
6630 (operator): layout as layout
6631 (delete_layout): layout as layout
6632 (defaultLayout): layout as layout
6634 * lyxlayout_ptr_fwd.h: new file
6636 * lyxlayout.C (Read): layout as layout
6638 * lyx_cb.C (MenuInsertLabel): layout as layout
6640 * bufferlist.C (newFile): layout as layout
6642 * buffer.C (readLyXformat2): layout as layout
6643 (parseSingleLyXformat2Token): layout as layout
6644 (insertStringAsLines): layout as layout
6645 (asciiParagraph): layout as layout
6646 (latexParagraphs): layout as layout
6647 (makeLinuxDocFile): layout as layout
6648 (simpleLinuxDocOnePar): layout as layout
6649 (makeDocBookFile): layout as layout
6650 (simpleDocBookOnePar): layout as layout
6651 (getLists): layout as layout
6653 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6655 * CutAndPaste.C (cutSelection): layout as layout
6656 (pasteSelection): layout as layout
6657 (SwitchLayoutsBetweenClasses): layout as layout
6659 * BufferView_pimpl.C (Dispatch): layout as layout
6660 (smartQuote): layout as layout
6662 * BufferView2.C (unlockInset): layout as layout
6664 2002-06-24 André Pönitz <poenitz@gmx.net>
6666 * lyxfunc.C: fix #487
6668 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6672 * lyxfunc.C: remove display_shortcuts, show_banner
6674 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6676 * Buffer_pimpl.C: oops, update on resize
6678 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6685 * BufferView.C: use repaint()
6687 * BufferView_pimpl.h:
6688 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6689 as it's a clearer description. Remove superfluous
6692 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6694 * text.C: fix bug 488. Not ideal, but getting
6695 getWord() to work properly for the insets that
6696 matter is more difficult ...
6698 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6700 * BufferView_pimpl.C:
6703 * lyxfunc.C: remove the six million index lyxfuncs to just
6704 one, and DTRT (bug 458)
6706 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6710 * BufferView_pimpl.h:
6711 * BufferView_pimpl.C: clean up resize() stuff,
6712 and unnecessary updateScreen()s
6714 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6718 * BufferView_pimpl.h:
6719 * BufferView_pimpl.C:
6722 * minibuffer.C: remove focus management of workarea,
6723 not needed. Use screen's greyOut()
6725 2002-06-17 Herbert Voss <voss@lyx.org>
6727 * converter.C: (convert) do not post a message, when converting
6728 fails, let the calling function decide what to do in this case
6730 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6732 * lyxfunc.C: tidy up a little
6734 2002-06-16 <alstrup@diku.dk>
6736 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6737 Got rid of FORMS_H_LOCATION include. Now we are
6740 2002-06-15 LyX Development team <lyx@rilke>
6742 * buffer.[Ch] (sgmlOpenTag):
6743 (sgmlCloseTag): Added support for avoiding pernicious mixed
6744 content. Return number of lines written.
6747 (makeDocBookFile): Fixed calls to sgml*Tag.
6748 Simple white space clean.
6750 (simpleDocBookOnePar): Simple white space clean.
6752 * tabular.[Ch] (docBook): Renamed to docbook and got another
6753 argument to related with the pernicious mixed content.
6755 (docbookRow): Fixed calls for docbook inset method.
6757 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6759 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6760 so it's X11 independent.
6764 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6766 2002-06-15 Lyx Development team <lyx@electronia>
6768 * intl.h: Renamed getTrans to getTransManager.
6770 2002-06-14 Angus Leeming <leeming@lyx.org>
6772 * Makefile.am: nuke forgotten stl_string_fwd.h.
6774 2002-06-12 Angus Leeming <leeming@lyx.org>
6776 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6778 2002-06-13 Angus Leeming <leeming@lyx.org>
6781 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6783 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6785 * kbmap.C (getiso): add support for cyrillic and greek
6787 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6791 * BufferView_pimpl.h:
6792 * BufferView_pimpl.C: move bogus scrolling logic
6795 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6798 * BufferView_pimpl.C: view->resize() change
6800 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6802 * BufferView_pimpl.C: topCursorVisible
6805 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6809 * lyx_gui.C: move to frontends/
6813 * lyx_main.C: changes from above
6815 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6822 * lyx_main.C: minor tidy
6824 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6826 * BufferView_pimpl.h:
6827 * BufferView_pimpl.C:
6829 * BufferView.C: make painter() const,
6832 * BufferView2.C: use screen() accessor
6835 * lyx_main.C: some minor cleanup
6837 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6839 * BufferView_pimpl.h:
6840 * BufferView_pimpl.C: remove enter/leaveView,
6843 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6848 * BufferView_pimpl.h:
6849 * BufferView_pimpl.C: only construct screen once,
6852 * lyxrc.C: remove pointless comment
6854 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6857 * BufferView.C: remove active() and belowMouse()
6859 * BufferView_pimpl.h:
6860 * BufferView_pimpl.C: use workarea() not workarea_,
6861 and make it use a scoped_ptr instead
6863 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6865 * lyx_gui.C: add debug message on BadWindow
6867 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6869 * sp_spell.C: fdopen is not part of the C++ standard.
6871 * paragraph.C (InsetIterator): use >= instead of ==
6873 2002-06-07 Angus Leeming <leeming@lyx.org>
6875 Fixes needed to compile with Compaq cxx 6.5.
6876 * BufferView_pimpl.C:
6883 * lyxtextclasslist.C:
6888 all c-library variables have been moved into namespace std. Wrap
6889 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6894 Add a using std::abs declaration.
6896 * kbmap.h (modifier_pair):
6897 * paragraph.h (InsetTable, InsetList):
6898 * lyxfont.h (FontBits):
6899 type definition made public.
6901 * bufferlist.C (emergencyWriteAll): the compiler complains that
6902 there is more than one possible lyx::class_fun template to choose from.
6903 I re-named the void specialisation as lyx::void_class_fun.
6905 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6907 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6908 the compiler is is unable to find tostr in write_attribute.
6910 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6912 * buffer.C (sgmlError): hide #warning
6914 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6916 * xtl/*: get rid of xtl, which is not in use anyway
6918 * LyXAction.C (init):
6919 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6920 were unimplemented xtl experimentation
6922 2002-06-04 André Pönitz <poenitz@gmx.net>
6924 * lyxfunc.C: disable array operation on simple formulae
6926 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6928 * converter.C: constify a bit
6930 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6932 * lyx_gui.C: check xforms version correctly
6934 2002-04-30 Herbert Voss <voss@lyx.org>
6936 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6939 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6941 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6942 attempt to register it with a VCS)
6944 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6946 * lyx_main.C (init): honor variables LYX_DIR_13x and
6949 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6953 * lyx_main.C: fix a crash on bad command line,
6954 and give a useful exit status on error
6956 * lyxfunc.C (doImport): allow -i lyx to work
6958 2002-03-30 André Pönitz <poenitz@gmx.net>
6960 * lyxfunc.C: mathed font changes
6962 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6977 * trans_mgr.h: srcdocs, and some minor cleanups
6979 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6981 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6982 call getFont all the time)
6984 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6986 * switch from SigC signals to boost::signals
6988 2002-05-29 André Pönitz <poenitz@gmx.net>
6990 * paragraph_pimpl.C (getChar): don't call size() too often...
6992 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6994 * paragraph_pimpl.C (insertChar): do not try to update tables when
6995 appending (pos == size())
6997 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6998 in order to reduce drastically the number of comparisons needed to
6999 parse a large document
7001 2002-05-29 André Pönitz <poenitz@gmx.net>
7007 * textclasslist.[Ch]:
7008 * sp_ispell.h: whitespace change
7010 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7012 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7013 lyxaction directly now.
7015 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7019 * lyxvc.C: remove unused headers
7021 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7028 * undo_funcs.C: some cleanups. Use shared_ptr
7029 and a template for the undo stacks.
7031 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7033 * BufferView_pimpl.h:
7034 * BufferView_pimpl.C:
7041 * text2.C: use key_state/mouse_state
7043 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7045 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7048 * chset.C: change include order
7049 (loadFile): use boost regex and get rid of LRegex and LSubstring
7051 * Makefile.am (BOOST_LIBS): new variable
7054 * LaTeX.C: change include order.
7055 (scanAuxFile): use boost regex and get rid of LRegex and
7059 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7064 * FontInfo.C: moved to frontends/xforms/
7067 * FontLoader.C: moved into frontends for GUIIzation
7072 * lyxfunc.C: changes from above
7074 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7076 * LColor.C: remove spurious X include
7078 * BufferView_pimpl.C:
7083 * text2.C: move font metrics to frontends/
7085 2002-05-24 Juergen Vigna <jug@sad.it>
7087 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7088 setting the undo_cursor.
7090 * ParagraphParameters.h: include local includes first.
7092 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7094 * BufferView_pimpl.C:
7095 * BufferView_pimpl.h:
7099 * screen.C: move WorkArea into frontends/
7105 * BufferView2.C: move LyXScreen into frontends/
7109 * lyx_gui.C: move lyxlookup into frontends/xforms/
7111 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7114 * BufferView_pimpl.C:
7124 * bufferview_funcs.C:
7137 * vc-backend.C: move LyX/XFormsView into frontends/
7139 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7151 * text2.C: move Painter to frontends/
7153 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7155 * buffer.C: comment out some some code that depend upon lyx_format
7158 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7159 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7161 * buffer.h (NO_COMPABILITY): turn off compability
7163 * ColorHandler.C: include scoped_array.hpp
7165 * font.C: Use more specific smart_ptr header.
7168 * ShareContainer.h: ditto
7172 * BufferView_pimpl.h: ditto
7173 * ColorHandler.h: ditto
7175 * kbmap.C (defkey): change call to shared_ptr::reset
7177 2002-05-21 Juergen Vigna <jug@sad.it>
7179 * buffer.C (insertErtContents): fix to insert ert asis if it is
7180 non empty. Skip it completely if it contains only whitespaces.
7182 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7184 * BufferView_pimpl.C:
7185 * BufferView2.C: clear selection on paste (bug 393)
7187 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7189 * DepTable.C: include ctime
7191 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7193 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7195 2002-05-14 Juergen Vigna <jug@sad.it>
7197 * text.C (breakParagraph): fixed function to honor the keepempty
7198 layout in the right maner and also to permit the right breaking
7199 algorithm on empty or non empyt keepempty paragraphs.
7201 * paragraph.C (breakParagraph): we have to check also if the par
7202 is really empty (!size()) for isempty otherwise we do the wrong
7205 2002-05-10 Juergen Vigna <jug@sad.it>
7207 * buffer.[Ch] : The following are only changes to the ert
7208 compatibility read reading old LaTeX layout and font stuff and
7209 convert it to ERTInsets.
7211 * buffer.h: added isErtInset().
7213 * buffer.C (struct ErtComp): add a fromlayout bool to check
7214 if we're inside a LaTeX layout.
7215 (isErtInset): new helper function.
7216 (insertErtContents): look for other ert insets before this one
7217 and insert the contents there, so that we don't have subsequent
7218 ERT insets with nothing between them. This way we create only one
7219 inset with multiple paragraphs. Also check if we don't insert only
7220 spaces ' ' as they are ignored anyway afterwards in the .tex file
7221 so if we have only spaces we will ignore this latex part in the
7223 (parseSingleLyXformat2Token \\layout): better compatibility when
7224 reading layout-latex stuff.
7225 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7227 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7228 stuff after reading the inset only get the information back from
7231 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7233 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7235 * LaTeXFeatures.C (getBabelOptions): New method.
7237 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7239 * BufferView_pimpl.C (Dispatch): work around missing argument for
7242 2002-05-08 Juergen Vigna <jug@sad.it>
7244 * text.C (leftMargin): handle paragraph leftindent.
7246 * paragraph.C (writeFile): write the new \\leftindent tag.
7247 (validate): handle leftindent code.
7248 (TeXEnvironment): handle paragraphleftindent code again.
7250 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7252 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7253 for paragrap_extra indent code and new token \\leftindent.
7254 (latexParagraphs): handle the leftindent as environment.
7256 * ParameterStruct.h: added leftindent support.
7258 * ParagraphParameters.C (leftIndent): added support functions for
7259 the paragraph left indent.
7261 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7264 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7266 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7269 * text.C (computeBidiTables): No bidi in insetERT.
7271 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7274 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7276 * version.C.in: pre 5
7278 2002-05-02 José Matos <jamatos@fep.up.pt>
7279 * buffer.C (makeDocBookFile): white space changes, add newline to
7281 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7283 * tabular.C (docBook): fix typo.
7285 2002-05-03 Juergen Vigna <jug@sad.it>
7287 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7288 change in LyXText as we can not be sure it was not freed.
7289 (drawOneRow): remove unused code.
7291 * text.C (drawInset): redo the calculation of the need_break_row as
7292 it could have a row which was already freed.
7293 (draw): look at the return value of drawInset and return false if
7294 it also returned false.
7295 (paintRowText): look at the return value of draw and return false if
7296 it also returned false.
7298 * lyxtext.h: added bool return type to drawInset() and draw() so that
7299 if we have a change in the row so that the rowbreak has to be redone
7300 we abort drawing as it will be called again.
7302 2002-05-02 Juergen Vigna <jug@sad.it>
7304 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7305 a change in the maintext also if we're inside an inset.
7306 (Dispatch): set the cursor again after a break line and after the
7307 screen has been updated as it could be we're in a different row.
7309 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7310 to set the cursor behind the pargraph with > size().
7311 (setCursor): check also for the same paragraph when checking where
7312 to put the cursor if we have a NFR inset.
7314 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7315 parts of layout read further up as it still was in the wrong
7318 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7320 * screen.C (drawFromTo): change sine fullRebreak always return
7323 * buffer.C (parseSingleLyXformat2Token): reindent some
7325 * BufferView_pimpl.C (update): change since fullRebreak always
7327 (Dispatch): git rid of the last hardcoded "Standard"s.
7329 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7331 * text2.[Ch] (fullRebreak): make it return void now that we always
7334 2002-04-30 Juergen Vigna <jug@sad.it>
7336 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7337 ert compatibility check for "latex" layout.
7339 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7341 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7342 minipages: use col% instead of p%, and also use the current font.
7343 (makeLaTeXFile): Fix use babel condition.
7344 (parseSingleLyXformat2Token): Correct font when reading old floats.
7346 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7348 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7349 inserting list of floats.
7351 2002-04-25 Herbert Voss <voss@lyx.org>
7353 * MenuBackend.C (expand): don't add the graphics extensions to the
7356 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7358 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7359 non-existing layout, do not complain if it was the default layout
7360 of the original class (bug #342)
7362 2002-04-24 Juergen Vigna <jug@sad.it>
7364 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7365 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7367 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7369 * buffer.C (getBibkeyList): If using \bibliography, return the
7370 option field with the reference itself. Enables us to provide natbib
7371 support when using \bibliography.
7373 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7375 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7377 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7378 natbib is provided by the LaTeX class.
7380 2002-04-23 Juergen Vigna <jug@sad.it>
7382 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7385 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7387 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7389 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7391 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7392 ensuremath around textordmasculine, textordfeminine and
7395 2002-04-19 Juergen Vigna <jug@sad.it>
7397 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7398 reinitializing the buffer otherwise row-dimensions may be wrong.
7399 (update): reset also the selection cursors if they do exits otherwise
7400 their x/y positions may be wrong.
7402 * text2.C (cursorDown): don't enter the inset if we came from a row
7403 above and are one row over the inset.
7405 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7406 really leaving an inset.
7408 2002-04-18 Juergen Vigna <jug@sad.it>
7410 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7411 of the selected paragraph does not have the selected layout also if
7414 * text2.C (setLayout): fixed bug which did not change last selected
7417 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7418 changed the read and substituted \\end_float with \\end_inset!
7420 * BufferView_pimpl.C (cursorPrevious):
7421 (cursorNext): fixed to make it work with rows heigher than the work
7422 area without moving the cursor only the draw of the row.
7423 (workAreaMotionNotify): fix jumping over high rows.
7425 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7427 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7430 2002-04-16 Juergen Vigna <jug@sad.it>
7432 * text2.C (setCursor): set also the irow().
7433 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7435 (cursorDown): support for locking an inset if the x_fix value goes
7436 inside it. That way I can transverse insets too with cursor up/down.
7438 * lyxrow.h: added irow helper function same as other (i) functions.
7440 * BufferView_pimpl.C (cursorPrevious):
7441 (cursorNext): fixed for insets!
7443 2002-04-15 Juergen Vigna <jug@sad.it>
7445 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7446 position otherwise it is wrong in some cases.
7448 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7449 inside the inset before the call.
7451 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7453 * buffer.[Ch] (getBibkeyList): make it const.
7455 2002-04-12 Juergen Vigna <jug@sad.it>
7457 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7459 * text2.C (getCursorX): new helper function
7460 (setCursor): compute also ix_
7461 (setCursorFromCoordinates): set also ix.
7463 * lyxcursor.h: added ix_ and helper functions.
7465 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7467 * buffer.C (insertStringAsLines): dont break paragraph if the this
7468 paragraph is inside an inset which does not permit it!
7470 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7471 also with no chars on this paragraph.
7472 (paintRowText): only paint stuff if it's inside the workarea!
7474 * paragraph.C (breakParagraph): honor keepempty flag and break the
7475 paragraph always below not above.
7477 * BufferView2.C (unlockInset): update the paragraph layout on inset
7478 unlock as we changed paragraph in such a case.
7480 * lyxfind.C (LyXFind): clear the former selection if not found!
7482 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7483 again called in insertChar().
7485 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7486 an inset which uses the whole row!
7487 (rightMargin): ditto.
7488 (insertChar): force a rebreak if we inserted an inset!
7490 2002-03-28 Herbert Voss <voss@lyx.org>
7492 * lyxlength.[Ch]: add inBP() to get the right PS-point
7493 units (BigPoint). With inPixels we have rounding errors
7495 2002-04-11 Juergen Vigna <jug@sad.it>
7497 * text2.C (setCursorFromCoordinates): set iy to the right value.
7498 (setCursor): add check if row->previous exists!
7500 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7501 an old float_type as this was the case in the old code!
7503 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7505 * BufferView2.C (showLockedInsetCursor): use iy
7506 (fitLockedInsetCursor): ditto
7508 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7509 locked insets as there we have the right value now.
7511 * lyxcursor.C: added iy_ variable and iy functions to set to the
7512 baseline of cursor-y of the locked inset.
7514 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7515 (setCursor): fixed for insets which need a full row.
7517 * text.C (rowLastPrintable): don't ignore the last space when before
7518 an inset which needs a full row.
7519 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7520 as last character of a row when before a inset which needs a full row.
7522 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7524 * version.C.in: update date
7526 * text2.C (fullRebreak): try to always return true and see what
7529 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7531 * MenuBackend.C (expand): use Floating::listName
7533 * FloatList.C (FloatList): add listName argument to the built-in
7536 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7537 text associated with the float.
7539 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7541 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7543 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7545 * ShareContainer.h: add a couple of missing typenames.
7547 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7549 * lyxrc.C (getDescription): use _() correctly rather than N_().
7551 2002-03-28 Herbert Voss <voss@lyx.org>
7553 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7554 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7556 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7558 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7559 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7561 2002-03-29 Juergen Vigna <jug@sad.it>
7563 * lyxfunc.C (dispatch): add a missing fitCursor call.
7565 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7566 it was scrolled by a cursor move, so return the bool status.
7568 * BufferView.C (fitCursor): return the bool flag also to the outside
7569 world as this is needed.
7571 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7573 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7574 call the edit() as it is not needed (and wrong) IMO.
7575 (workAreaButtonPress): set the screen_first variable before evt.
7576 unlock the inset as this may change screen_first and then we have
7577 a wrong y position for the click!
7579 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7581 * MenuBackend.C (expand): another translation that I missed
7583 2002-03-28 Juergen Vigna <jug@sad.it>
7585 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7587 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7589 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7591 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7593 * MenuBackend.C (expand): fix export/view/update when there is no
7596 2002-03-27 Herbert Voss <voss@lyx.org>
7598 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7601 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7603 * bufferview_funcs.C (currentState): only show paragraph number
7604 for is DEVEL_VERSION is set.
7606 * lyxfunc.C (dispatch): put warning in INFO channel
7608 * MenuBackend.C (expand): translate the name of floats
7610 * FloatList.C (FloatList): mark the float names for translation
7612 * converter.C (convert): use LibScriptSearch
7614 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7616 * MenuBackend.C (defaults): fix default menu (we might as well get
7619 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7621 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7624 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7626 * lyxvc.C: reorder includes.
7628 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7630 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7633 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7635 * CutAndPaste.C: change layouts earlier on paste
7636 to avoid crashing when calling getFont()
7638 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7640 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7643 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7645 * WorkArea.C: remove 'Pending' debug message.
7647 * most files: ws cleanup
7649 * buffer.[Ch]: ws changes
7651 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7653 2002-03-21 Juergen Vigna <jug@sad.it>
7655 * tabular.C (SetMultiColumn): collapse also the contents of the
7656 cells and set the last border right. Added a Buffer const * param.
7658 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7660 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7663 2002-03-19 Juergen Vigna <jug@sad.it>
7665 * text2.C (clearSelection): reset also xsel_cache.
7667 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7668 where it needs to be called (John tells us to do so too :)
7669 (selectionLost): reset sel_cache.
7671 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7673 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7675 * text2.C (setCursorIntern): put debuging code in INSETS channel
7677 2002-03-19 André Pönitz <poenitz@gmx.net>
7679 * lyxfunc.C: tiny whitespace change
7681 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7683 * ToolbarDefaults.C (init):
7684 * LyXAction.C (init):
7686 * BufferView_pimpl.C (Dispatch):
7687 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7689 2002-03-19 Allan Rae <rae@lyx.org>
7691 * exporter.C (Export): removeAutoInsets before doing anything else.
7692 While I've just introduced a dependency on BufferView this really is
7693 the best place to clean the buffer otherwise you need to cleanup in
7694 a dozen places before calling export or cleanup in a dozen functions
7697 * converter.C (runLaTeX):
7698 (scanLog): Better handling of removeAutoInsets and screen updates.
7700 * lyxfunc.C (dispatch): small whitespace changes
7702 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7704 * WorkArea.C (C_WorkAreaEvent): return a value.
7705 (event_cb): return 1 if we handled the event, 0 otherwise.
7707 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7709 2002-03-18 Juergen Vigna <jug@sad.it>
7711 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7712 (GetAdditionalWidth): ditto.
7716 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7717 inset if we're there actually (probably not used right now but this
7718 is the direction to go for unifying code).
7719 (paste): disable code to clear the selection.
7721 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7722 inside an InsetText and move the check further up as it is in the
7725 * text2.C (pasteSelection): set a selection over the pasted text.
7727 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7729 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7730 and libgraphics to build on Cygwin.
7732 2002-03-15 Juergen Vigna <jug@sad.it>
7734 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7735 inserting an Inset into the paragraph. I know this is not the best
7736 fix but we already use current_view in CutAndPaste so we will remove
7737 all of it's using at the same time.
7739 * buffer.C (sgmlError): deactivated function till it is rewritten in
7740 the right mode, now it can create problems.
7742 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7743 before accessing it.
7745 2002-03-14 Juergen Vigna <jug@sad.it>
7747 * undo_funcs.C (textHandleUndo): do the right thing when updating
7748 the inset after the undo/redo.
7750 * text2.C (setCursor): just some testcode for #44 not ready yet.
7752 * undo_funcs.C (textHandleUndo): set the next() and previous()
7753 pointers of the paragraph to 0 before deleting otherwise we have
7754 problems with the Paragraph::[destructor].
7756 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7757 on a paragraph insertion.
7759 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7761 * buffer.C (asciiParagraph): use += operator for char append to
7764 * paragraph.C (getFontSettings): compare >= not just >
7765 (highestFontInRange): ditto
7768 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7770 * paragraph.C: change several algorithm to be more appripriate for
7771 the problem domain. This is lookip in FontList and in the InsetList.
7773 2002-03-13 André Pönitz <poenitz@gmx.net>
7776 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7778 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7783 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7785 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7787 * Painter.C (display): anon helper function, adjust code for this
7789 (pixmap): remove function.
7791 * Painter.h: remove private display variable.
7793 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7795 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7797 * WorkArea.[Ch]: remove figinset_canvas cruft.
7799 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7801 * lyxtextclass.C (operator): add one item cache optimization.
7803 * bufferlist.h: doxy changes
7805 * bufferlist.C: ws changes
7807 * DepTable.[Ch] (ext_exist): place const in the right spot.
7809 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7811 (workAreaExpose): call resizeInsets when the with BufferView changes.
7812 (Dispatch): adjust for protectedBlank removal
7813 (specialChar): call updateInset if the insert went ok.
7815 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7816 specialChar instead.
7818 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7820 * BufferView.h: doxy change
7822 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7824 * lyxtextclass.C (operator[]): remove non-const version
7825 (defaultLayout): remove non-const version
7827 2002-03-12 Juergen Vigna <jug@sad.it>
7829 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7830 did resize the LyXText too.
7832 * buffer.C (readLyXformat2): set layout information on newly allocated
7835 * tabular.C (OldFormatRead): set layout information on the paragraph.
7837 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7839 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7841 2002-03-11 Juergen Vigna <jug@sad.it>
7843 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7845 (resizeCurrentBuffer): force also the insets to resize themselfes.
7846 (moveCursorUpdate): fixed up for InsetText.
7848 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7851 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7852 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7853 value of Dialogs::tooltipsEnabled().
7854 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7856 2002-03-08 Juergen Vigna <jug@sad.it>
7858 * BufferView_pimpl.C (updateInset): update inset inside inset also
7859 if it isn't inside theLockingInset().
7861 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7863 * buffer.C (asciiParagraph): redo some of the word and line length
7865 (getLists): look for Caption instead of caption.
7867 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7869 * buffer.C (Buffer): initialize niceFile to true
7872 (makeDocBookFile): make sure niceFile is true on exit
7874 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7876 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7878 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7880 * LyXSendto.C: remove.
7881 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7882 * lyx_gui.C: remove now-redundant comment.
7883 * ColorHandler.h: remove forward declaration of class WorkArea.
7884 * lyxfunc.C: remove #include "WorkArea.h".
7886 2002-03-07 Juergen Vigna <jug@sad.it>
7888 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7889 got moved away with the DEPM and also set the inset_owner always
7890 right which before could have been omitted.
7892 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7894 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7895 wanted layout is not found.
7897 2002-03-07 Juergen Vigna <jug@sad.it>
7899 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7901 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7903 * paragraph.C (breakParagraph): use default layout not layout of
7905 (Paragraph): clear ParagraphParameters.
7907 2002-03-06 Juergen Vigna <jug@sad.it>
7909 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7910 otherwise it would not be a valid lenght. Fixed a special case in
7911 the minipage compatibility read where we end the document with a
7914 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7915 was set as it could be 0 for InsetTexts first entry.
7917 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7919 * paragraph.C (writeFile): if layout is empty write out
7920 defaultLayoutName().
7922 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7923 file without named layout we set layout to defaultLayoutName().
7925 2002-03-06 Juergen Vigna <jug@sad.it>
7927 * CutAndPaste.C (copySelection): set layout for new paragraph.
7929 * text.C (prepareToPrint): leave ERT inset left aligned
7930 (leftMargin): don't indent paragraphs inside ERT insets
7932 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7934 * paragraph.C (breakParagraph): dont call clear do the work manually
7936 * paragraph.[Ch] (clear): remove function
7938 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7940 * paragraph.C (Paragraph): dont call clear, the work has already
7943 * lyxtextclass.C (operator): assert if n is empty
7945 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7946 work manually instead.
7948 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7950 * BufferView_pimpl.C: protect selectionLost against text == 0
7952 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7954 * text.C (breakParagraph): fix a setting layout to '0' problem.
7956 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7958 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7959 final location of file, for the included files, and graphics.
7961 2002-03-05 Juergen Vigna <jug@sad.it>
7963 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7965 2002-03-04 Juergen Vigna <jug@sad.it>
7967 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7969 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7970 last column of multicolumn cells.
7971 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7973 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7975 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7976 file if it doesn't go to a temporary file.
7978 * buffer.C (sgmlOpenTag):
7979 (sgmlCloseTag): remove extra newline insertion.
7981 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7983 * text.C (getRowNearY): comment out debug msg
7985 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7987 * text2.C: first -> first_y
7989 * text.C (getRowNearY): add some attemts at a possible
7990 optimization, not working.
7992 * tabular.[Ch]: add BufferParams to several function so that newly
7993 created paragraph can be initialized to he default layotu for the
7996 * tabular-old.C (ReadOld): add buf->params to call of Init
7998 * screen.C: rename text->first to text->first_y
8000 * paragraph.C (breakParagraph): always set layout in the broken
8003 * lyxtextclass.C (Read): remove lowercase
8006 (delete_layout): ditto
8008 * lyxtext.h: rename first -> first_y
8010 * lyxlayout.C (Read): remove lowercase
8013 (obsoleted_by): ditto
8015 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8017 * buffer.C (insertErtContents): add params are to InsetERT
8018 (parseSingleLyXformat2Token): add code to check if a paragraphs
8019 layout really exist.
8020 (parseSingleLyXformat2Token): add params to several inset
8022 (asciiParagraph): remove lowercase, do the layout comparisons with
8025 * BufferView_pimpl.C (cursorNext): first -> first_y
8026 (resizeCurrentBuffer): first -> first_y
8027 (updateScrollbar): first -> first_y
8028 (scrollCB): first -> first_y
8029 (workAreaMotionNotify): first -> first_y
8030 (workAreaButtonPress): first -> first_y
8031 (checkInsetHit): first -> first_y
8032 (cursorPrevious): first -> first_y
8033 (cursorNext): first -> first_y
8034 (Dispatch): add buffer_->params to severl inset contructors
8036 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8038 * lyxlayout.C (Read): remove some debug info that I forgot.
8040 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8041 clean up the code slightly.
8042 (makeLinuxDocFile): ditto
8043 (makeDocBookFile): ditto
8045 * text2.C: layout as string
8047 * text.C: layout as string
8049 * paragraph_pimpl.C: layout as string
8051 * paragraph.[Ch]: layout as string
8053 * lyxtextclasslist.[Ch]: layout as string
8055 * lyxtextclass.[Ch]: layout as string
8057 * lyxtext.h: layout as string
8059 * lyxlayout.[Ch]: layout as string
8061 * lyx_cb.C: layout as string
8063 * bufferview_funcs.C: layout as string
8065 * bufferparams.C: layout as string
8067 * buffer.C: layout as string
8069 * LyXView.[Ch]: layout as string
8071 * LaTeXFeatures.[Ch]: layout as string
8073 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8075 * BufferView_pimpl.C: change current_layout to string, remove
8080 (workAreaButtonRelease): layout as string
8082 * BufferView2.C (unlockInset): adjust
8084 * vspace.C (asLatexCommand): use an explict temp variable.
8086 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8088 * Makefile.am: use FRONTEND_*
8090 2002-03-01 Juergen Vigna <jug@sad.it>
8092 * tabular.C (SetWidthOfMulticolCell): changed to something better
8093 I hope but still work in progress.
8094 (recalculateMulticolumnsOfColumn): renamed function from
8095 recalculateMulticolCells as it is more appropriate now.
8096 (SetWidthOfCell): calculate multicols better.
8098 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8100 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8102 * lyxfunc.C (processKeySym): print sequence also if it is
8103 `deleted' (complete)
8105 * kbsequence.C (print): print sequence even if it is deleted
8106 (complete would be a better word, actually).
8108 * lyxfunc.C (dispatch): print complete options after a prefix key
8110 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8112 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8114 * text2.C (setCharFont): eliminate setCharFont code duplication.
8116 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8118 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8119 LFUN_TABULAR_FEATURE (bug #177)
8121 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8123 * Makefile.am: remove figure.h
8125 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8127 * Bufferview_pimpl.C:
8139 * text2.C: remove #include "lyx_gui_misc.h".
8141 * LaTeX.C: added #include <cstdio>
8143 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8145 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8146 that the paragraph following this one can have.
8148 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8150 * vspace.C (asLatexCommand): fix bogus gcc warning
8152 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8154 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8156 * text2.C (setLayout): get rid of redundant code
8158 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8160 * text2.C (incDepth): make sure depth cannot be increased beyond
8163 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8165 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8166 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8168 * PainterBase.h (image):
8169 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8172 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8176 * BufferView_pimpl.C:
8177 * BufferView_pimpl.h:
8197 * sp_spell.C: remove fig inset, and the crap house of
8198 cards that follows it
8200 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8206 * nt_defines.h: move .h into support/
8208 * vms_defines.h: remove
8210 * WorkArea.C: add space in debug output
8214 * buffer.C: add WITH_WARNINGS
8218 * bufferlist.C: s/retrive/retrieve/, add docs
8229 * lyxgui.C: add ID to X error handler
8231 * lyxtestclass.c: fix typo
8233 2002-02-26 Juergen Vigna <jug@sad.it>
8235 * tabular_funcs.C (write_attribute): changed so that some default
8236 attributes are not written at all.
8237 (getTokenValue): set default values before trying to read the
8238 value so we have the return value always set as default if we don't
8239 find the token we search for.
8241 * tabular.C (Write): write bools as bools not as strings!
8243 2002-02-22 Juergen Vigna <jug@sad.it>
8245 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8246 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8248 * text.C (leftMargin): don't add an indent for paragraphs inside
8249 tabular cells (fix #208).
8251 2002-02-21 José Matos <jamatos@fep.up.pt>
8253 * tabular.C (docBook): fixed support for long tables.
8255 2002-02-20 Juergen Vigna <jug@sad.it>
8257 * text2.C (getFont): get the drawing font of the Inset if this
8258 paragraph is inside an inset (only important for InsetERT for now).
8260 * buffer.C (insertErtContents): use new lanugage params in ERT
8263 * CutAndPaste.C: commenting out seemingly uneeded code.
8265 2002-02-19 Allan Rae <rae@lyx.org>
8267 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8268 Iterators might be simple to use but they also get invalidated.
8269 (removeAutoInsets): renamed saved cursor tracking variables and added
8270 some comments to clarify what everything does.
8272 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8279 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8280 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8283 * vc-backend.h: remove #include "support/syscall.h"
8287 * converter.C: rearrange #includes in Lars' approved fashion.
8289 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8290 forward declare class Timeout in the header file.
8292 * XFormsView.C: changes due to the above.
8294 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8297 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8298 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8300 2002-02-18 José Matos <jamatos@fep.up.pt>
8302 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8305 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8307 * a lot of small ws changes
8308 * add a lot of using std::XXX
8309 * use std construcs some places where approp.
8310 * use some exisint stuff from lyxfunctional where approp.
8311 * Make file changes to use partial linking (lets test this now...)
8313 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8317 remove #include "support/syscontr.h" as it's redundant. Always has been.
8325 change Systemcalls::System to Systemcalls::Wait and
8326 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8327 No change of functionality, just reflects the stripped down Systemcalls
8330 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8332 * debug.[Ch]: add a GRAPHICS type to the enum.
8334 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8336 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8338 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8341 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8343 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8344 match the changes below.
8346 * text2.C (toggleInset): if there is not editable inset at cursor
8347 position, try to see if cursor is _inside_ a collapsable inset
8350 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8352 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8353 document menu has a nice checkbox
8355 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8357 * lyxlength.C (asLatexString): change PW to output as percent of
8360 * lengthcommon.C: change '%' to 't%'
8362 * lyxfunc.C (dispatch): a few comments from Martin
8364 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8368 * BufferView_pimpl.h:
8369 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8372 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8374 * vspace.C (inPixels): fix compiler warning
8376 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8378 * lyxfunc.C (getStatus): fix status message for disabled commands.
8380 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8382 * BufferView_pimpl.C: fix crash on close buffer
8383 during selection (#227)
8385 2002-01-27 Herbert Voss <voss@lyx.org>
8387 * buffer.C: link old Figure to new graphic inset
8389 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8391 * FontLoader.C (getFontinfo): Change the latex font names in order
8392 to match the names of type1inst.
8394 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8396 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8398 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8401 (remove_files_with_extension): ditto
8402 (remove_file): ditto
8405 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8406 document is smaller than the work area height. Do not initialize
8407 static variables to 0.
8409 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8411 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8413 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8414 LFUN_LAYOUT_PARAGRAPHS.
8416 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8417 tabular. It is possible to provide a possible cell, which will
8418 typically be the actcell from the corresponding insettabular
8420 * lyxfunc.C (getStatus): small cleanup; disable
8421 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8424 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8426 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8428 * paragraph.C (startTeXParParams):
8429 (endTeXParParams): new methods. The LaTeX code to
8430 start/end paragraph formatting
8431 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8432 empty (fixes bug #200)
8434 * vspace.C (inPixels): adapt to the change below
8435 (inPixels): [later] more cleanups (remove unused variables)
8437 * lyxlength.C (inPixels): change to use a width and a height as
8440 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8442 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8443 Replaced with \paperwidth
8445 * DepTable.C (insert): add std:: qualifier
8447 2002-01-18 Allan Rae <rae@lyx.org>
8449 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8452 * text.C (drawInset): Turned out I didn't know enough about how
8453 rebreaking worked. This fixes most of the redraw problems. I see
8454 an occasional cursor trail when a line is broken now and the cursor
8455 placement can seem out by a few pixels also after a rebreak.
8457 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8459 * buffer.C (parseSingleLyXformat2Token): update because minipage
8460 width is now a LyXLength
8462 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8464 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8467 2002-01-17 Juergen Vigna <jug@sad.it>
8469 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8471 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8472 is set correctly and the inset is updated correctly.
8474 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8476 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8477 the beginning of the loop.
8479 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8481 * lyxrc.C: improve help for use_scalable_fonts
8483 2002-01-17 Allan Rae <rae@lyx.org>
8485 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8487 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8489 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8490 make sure to set their inset_owner to the right value (bug #171)
8492 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8495 * DepTable.C: Implement mtime checking to reduce time spent doing
8498 2002-01-16 Juergen Vigna <jug@sad.it>
8500 * tabular.C (GetAdditionalHeight): one of error fixed.
8502 * lyxrc.C (output): small fix in writing use_pspell.
8504 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8506 * sp_base.h: #include LString.h
8508 2002-01-16 Allan Rae <rae@lyx.org>
8510 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8511 Can someone check this please?
8513 * text.C (drawInset): It was possible that p.row would be removed by
8514 breakAgainOneRow upsetting a few other settings. There may be another
8515 small tweak possible by setting need_break_row = 0 when p.row has been
8516 removed but I don't know enough about the logic here.
8518 2002-01-15 Allan Rae <rae@lyx.org>
8520 * text.C (insertChar): removed conditional truism.
8522 * BufferView2.C (removeAutoInsets): More tweaks.
8523 cur_par_prev could be a stray pointer. Check for trailing empty line
8524 in case last line was cur_par and only had an error inset on it.
8526 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8528 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8531 * vc-backend.C (most methods):
8532 * exporter.C (Export):
8533 * converter.C (convert):
8535 * LyXSendto.C (SendtoApplyCB):
8536 * lyxfunc.C (dispatch):
8540 * lyx_cb.C (AutoSave):
8542 * BufferView_pimpl.C (MenuInsertLyXFile):
8543 * buffer.C (runChktex): use Buffer::filePath().
8545 * buffer.h: rename filename to filename_; rename filepath to
8546 filepath_ and make it private
8547 (filePath): new method
8549 * buffer.C (writeFile): use fileName()
8552 * lyx_main.C (init): fix starting of LyX when the binary is a
8553 link from so,ewhere else.
8555 * minibuffer.C: include <cctype> for isprint
8557 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8559 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8560 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8561 name clash with InsetCollapsable's width function.
8563 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8565 * lastfiles.C: include <iterator>
8567 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8569 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8572 * buffer.C (makeLaTeXFile): ditto.
8573 Also make loop operation more transparent.
8575 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8577 * ToolbarDefaults.C: remove trailing comma closing namespace.
8579 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8581 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8584 * trans.C (Load): comment out unused variable, allowed.
8586 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8588 * minibuffer.[Ch] (append_char): new method to recieve input from the
8589 drop-down completion browser. If a key was pressed, then recieve this
8590 char and append it to the existing string.
8591 (peek_event): modify the positioning data passed to the completion
8592 browser so that it can be placed above the minibuffer rather than below.
8593 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8595 * LyXAction.C (init): alloe error-next for readonly documents.
8597 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8600 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8602 * bufferlist.C (readFile): create the buffer _after_ checking that
8605 * lyxfunc.C (verboseDispatch): fix handling of arguments
8607 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8609 * lyxrc.C: use string::erase() instead of initializing to "".
8612 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8614 * BufferView_pimpl.h:
8615 * BufferView_pimpl.C:
8618 * text2.C: tell X when we have made a selection for copying
8620 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8622 * BufferView_pimpl.C (MenuInsertLyXFile):
8623 * lyxfunc.C (menuNew):
8625 (doImport): add shortcuts to directory buttons
8627 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8630 * lyxfunc.C (setStatusMessage):
8631 (getStatusMessage): new methods
8632 (getStatus):use setStatusMessage instead of setErrorMessage
8633 (dispatch): when function is disabled, set error message here
8634 [instead of in getStatus previously]
8636 * BufferView_pimpl.C (workAreaButtonRelease): update
8637 toolbar/menubar here too.
8639 2002-01-13 Allan Rae <rae@lyx.org>
8641 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8642 Now seems indestructible. Remaining task is to audit all other
8643 code affected by deleteEmptyParagraphMechanism. One small quirk
8644 left is that an empty document with an error in the preamble can
8645 be made to report an error but no error box appears. I don't know
8647 (removeAutoInsets): Improved comments.
8649 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8652 * Thesaurus.C: update for Aiksaurus 0.14
8654 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8656 * text2.C (firstParagraph): removed member function, all uses
8657 replaces with ownerParagraph
8658 (redoParagraphs): here
8660 (toggleAppendix): here
8661 * BufferView2.C (insertErrors): here
8662 (setCursorFromRow): here
8664 2002-01-13 Allan Rae <rae@lyx.org>
8666 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8667 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8668 There is still a way to segfault this although you may have to do this
8669 multiple times: Have an InsetERT with an unknown command in it.
8670 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8671 <down-arrow>, <Enter> again, View->DVI, BANG!
8673 * text2.C (setCursor):
8674 (deleteEmptyParagraphMechanism):
8675 * lyxtext.h (setCursor):
8676 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8677 Making use of the return value may help fix other bugs.
8679 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8681 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8683 * LyXView.C (updateMenubar): call MenuBar::update here
8684 (updateToolbar): but not here
8685 (showState): do not update toolbar/menubar
8687 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8688 should need to care about that.
8690 * lyxfunc.C (verboseDispatch): simplify a bit
8691 (getStatus): have a version which takes a pseudoaction, and
8692 another which requires a (kb_action,string).
8694 * LyXAction.C (retrieveActionArg): make it work also when action
8695 is not a pseudo-action.
8696 (getActionName): simplify a bit
8699 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8701 * lyxfunc.C (verboseDispatch): new families of methods with
8702 several ways to specify a command and a bool to indicate whether
8703 the command name and shortcut should be displayed in minibuffer
8704 (eventually, we could extend that to a finer bitmask like
8705 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8706 (dispatch): the pristine dispatch command which just, well,
8707 dispatchs! Note it still sets its result to minibuffer; I'm not
8710 * lyxfunc.h: remove setHintMessage
8712 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8714 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8716 * BufferView_pimpl.C (specialChar): delete new inset if we have
8717 not been able to insert it.
8719 * kbmap.C: revert to using int instead of kb_action, since all we
8720 are dealing with is pseudo-actions.
8722 * LyXAction.C (searchActionArg): change to return int instead of
8723 kb_action, since the result is a pseudoaction.
8725 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8727 * buffer.C (insertErtContents): Fix (partially) the font bug.
8729 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8731 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8732 as the other one is broken on my machine!
8734 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8737 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8739 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8741 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8742 reflect their actual use. Provide compatibility code for older lyxrc
8745 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8747 change names of popup font variables in line with the changes to lyxrc.C
8749 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8751 * buffer.C (asciiParagraph): avoid outputing a word twice after
8754 * lyxrc.C (getDescription): document that document_path and
8755 template_path can be empty.
8757 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8759 * LaTeXFeatures.C (getMacros):
8760 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8762 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8764 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8766 (getPackages): rename feature "floats" to "float". Use an array to
8767 iterate over 'simple' features (i.e. just a \usepackage). Add
8768 handling of "amsmath" (renamed from "amsstyle").
8770 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8772 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8775 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8777 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8778 FuncStaus::FuncStatus & FuncStaus::some_method().
8780 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8782 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8783 of the func_satus stuff. Edited and massaged in various ways by
8786 * lyxfunc.C (getStatus): use FuncStatus
8788 2002-01-08 Juergen Vigna <jug@sad.it>
8790 * text.C (nextBreakPoint): use function Inset::isChar().
8792 * paragraph.C (TeXOnePar): use function
8793 Inset::forceDefaultParagraphs.
8795 * buffer.C (latexParagraphs): use function
8796 Inset::forceDefaultParagraphs.
8798 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8800 * lyx_gui.C (init): set the style of the menu popups to
8801 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8803 2002-01-07 Juergen Vigna <jug@sad.it>
8805 * text.C (setHeightOfRow): small fix
8806 (prepareToPrint): don't look at alignment if we don't have the place
8809 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8811 * box.C: New file. Move the Box methods and functions out of box.h,
8812 following Lars' suggestion.
8814 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8816 * box.h: #include "support/LOstream.h", needed for inlined function.
8819 * lyxtextclasslist.C: added some using std declarations.
8821 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8823 * box.h: make signed dimensions to allow insets wider than
8824 the screen (bug #162)
8826 * BufferView_pimpl.C: add some insetHit debug
8828 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8830 * vc-backend.C: add FIXME
8832 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8834 * lyxfunc.C (getStatus): enable code for showing math font status
8837 2002-01-07 Juergen Vigna <jug@sad.it>
8839 * text.C (nextBreakPoint): removed debug output not needed anymore.
8841 2002-01-06 Juergen Vigna <jug@sad.it>
8843 * text.C (nextBreakPoint): fixed up this function we had this bug
8844 since ever but now hopefully we break row better.
8845 (insertChar): we have to check if an inset is the next char as it
8846 could now happen that a large inset is causing a break.
8848 2002-01-05 Juergen Vigna <jug@sad.it>
8850 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8851 if it doesn't like to be drawed.
8853 2002-01-04 Juergen Vigna <jug@sad.it>
8855 * BufferView2.C (lockInset): forgot to set a cursor.
8857 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8859 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8864 * form_maths_panel.C:
8865 * form_maths_panel.h:
8866 * form_maths_panel.fd: implemented sub- and super- buttons in math
8869 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8870 (or ^ space) to be used as in TeX (req'd by André).
8872 * lyxfunc.C: Allow ^ and _ again to be used both as
8873 super/subscript (mathed) and as themselves (in text).
8875 2002-01-03 Allan Rae <rae@lyx.org>
8877 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8878 "LyX" or the filename of the current buffer if it has one. This is a
8879 modified form of John Levon's patch.
8881 * XFormsView.C (setWindowTitle): also set icon title.
8883 * LyXView.h (setWindowTitle): signature changed.
8884 * XFormsView.h (setWindowTitle): ditto.
8886 2002-01-02 Juergen Vigna <jug@sad.it>
8888 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8890 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8892 * screen.C (topCursorVisible): introduce a temp var for
8893 text->cursor.row(), handle the case where this row is null. (kindo
8896 * text2.C (setCursor): add a couple of asserts.
8898 * paragraph.h (inset_iterator): add -> operator
8900 * paragraph.[Ch] (autoDeleteInsets): remove member function
8902 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8903 cursor pos correctly and handle inset deletion by itself.
8904 (insertErrors): move iterator declaration out of for expression
8906 * lyxtextclass.C: add <algorithm>
8908 * Makefile.am: added the new files to sources, removed layout.C
8910 * layout.C: removed file
8912 * layout.h: remove LYX_DUMMY_LAYOUT
8914 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8918 * lyxtextclass.[Ch]:
8919 * lyxtextclasslist.[Ch]: new files
8921 * include order changes to a lot of files, also changes because of
8924 2001-12-27 Juergen Vigna <jug@sad.it>
8926 * buffer.C (asciiParagraph): more fixes.
8928 * tabular.C (ascii): make ascii export support export of only the
8929 data separated by a column-delimiter.
8930 (ascii): better support for ascii export.
8932 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8934 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8936 * tabular_funcs.C: use a "using std::getline" instead of the
8937 previous fix from Angus (necessary for cxx + lyxstring)
8939 2001-12-24 Juergen Vigna <jug@sad.it>
8941 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8943 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8944 problems. First check a minipage also if we have some ert-contents
8945 (not only on par->size(), second set the right depth of the paragraph
8946 on the relink to the root-paragraph-list!
8948 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8949 which then did not anymore update the main paragraphs on undo/redo!
8951 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8953 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8954 code. Support all font-changing funcs (even those which are not in
8955 menu currently). Support for reporting font settings in
8956 mathed (disabled until Andre provides a function on mathed's side).
8958 * func_status.h (toggle): small helper function to set toggle
8961 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8963 * tabular_funcs.C: getline -> std::getline
8965 2001-12-21 Juergen Vigna <jug@sad.it>
8967 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8968 accessed and could be 0 (I couldn't generate this but it seems
8971 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8973 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8974 * tabular_funcs.h: here and include iosfwd
8976 2001-12-20 Juergen Vigna <jug@sad.it>
8978 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8979 inside inset but undo_par was.
8981 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8983 * Thesaurus.C: always include <config.h> in sources.
8987 * box.h: do not include <config.h> in header files
8989 * text.C (paintLastRow): remove unused variable
8991 * text.C (transformChar):
8993 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8996 * font.C (width): rewrite to use uppercase() instead of
8999 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9001 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9003 * lyxfind.C: clean up of find failure position change
9005 2001-12-20 Juergen Vigna <jug@sad.it>
9007 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9009 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9010 (TeXRow): added to LaTeX a single tabular row.
9011 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9012 (Latex): simplified and finally good LT-h/f support.
9013 (various_functions): just small adaptions for LT-h/f support.
9015 * tabular_funcs.[hC]: added and moved here all not classfunctions
9018 2001-12-19 Juergen Vigna <jug@sad.it>
9020 * tabular.[Ch]: better support for longtabular options (not finished
9023 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9025 * text.C (paintLastRow): use the label font instead of the font of
9026 the last character to compute the size of *_BOX. This makes more
9027 sense and avoids a crash with empty paragraphs.
9028 Use Painter::rectangle to draw EMPTY_BOX.
9030 2001-12-19 Juergen Vigna <jug@sad.it>
9032 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9033 the paragraphs if the replaced paragraph is not the first one!
9034 Tried to delete not used paragraphs but does not work yet so for
9035 now it's inside #ifdef's and by default off!
9037 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9039 * MenuBackend.C: include "lyx_main.h" instead of declaring
9040 lastfiles (actually was declared as LastFiles* instead of a
9043 2001-12-17 Juergen Vigna <jug@sad.it>
9045 * tabular.C (AppendColumn): applied John's fix
9047 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9051 * BufferView_pimpl.h:
9052 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9055 * box.h: new start of class for above
9057 * lyxfunc.C: ignore space-only minibuffer dispatches.
9058 Show the command name when it doesn't exist
9060 * minibuffer.C: don't add empty lines to the history
9062 * minibuffer.C: add a space on dropdown completion
9064 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9066 * text.C: fix line above/below drawing in insets
9068 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9070 * lyxlength.C (LyXLength): Initialize private variables.
9072 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9074 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9075 when inserting error insets.
9077 2001-12-13 Juergen Vigna <jug@sad.it>
9079 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9080 actually sometimes the before-paragraph.
9081 (setUndo): don't clear the redostack if we're not actually undoing!
9083 2001-12-06 Juergen Vigna <jug@sad.it>
9085 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9086 and fixed redoing of main paragraph, so we can use it now ;)
9088 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9090 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9092 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9095 2001-12-13 André Pönitz <poenitz@gmx.net>
9098 * undo_func.C: minor cleanup
9100 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9102 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9103 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9104 font in urw-fonts package which is marked as -urw-fontspecific and
9105 does not work (incidentally, changing the encoding in the
9106 fonts.dir of this package to -adobe-fontspecific fixes the
9109 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9110 is a crash when undoing first paragraph (Juergen, please take a
9111 look). THis does not mean the undo fix is wrong, just that it
9114 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9115 the (Paragraph*) version when needed instead of duplicating the
9118 * text.C (workWidth): use Inset::parOwner to find out where the
9119 inset has been inserted. This is a huge performance gain for large
9120 documents with lots of insets. If Inset::parOwner is not set, fall
9121 back on the brute force method
9123 * paragraph_pimpl.C (insertInset):
9124 * paragraph.C (Paragraph):
9125 (cutIntoMinibuffer): set parOwner of insets when
9126 inserting/removing them
9128 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9130 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9136 * mathed/formulabase.C:
9137 * mathed/math_cursor.[Ch]:
9138 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9141 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * lyxlength.[Ch] (operator!=): new function
9145 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9147 * text.C (workWidth): use Inset::parOwner to find out where the
9148 inset has been inserted. This is a huge performance gain for large
9149 documents with lots of insets. If Inset::parOwner is not set, fall
9150 back on the brute force method
9152 * paragraph_pimpl.C (insertInset):
9153 * paragraph.C (Paragraph):
9154 (cutIntoMinibuffer): set parOwner of insets when
9155 inserting/removing them
9157 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9159 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9161 * tabular-old.C (getTokenValue):
9162 * tabular.C (getTokenValue):
9163 (write_attribute): new versions for LyXLength
9164 (everywhere): adjust the use of widths
9166 * tabular.h: change the type of widths from string to LyXLength
9168 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9170 * paragraph.C: fixed missing line number count when exporting
9171 Environments to LaTeX file
9173 * buffer.C: added informational message for checking line numbers.
9175 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9177 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9178 paragraph, do the 'double space' part, but not the 'empty
9181 * text.C (workWidth): small optimization
9182 (getLengthMarkerHeight): use minimal size for negative lengths.
9184 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9186 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9188 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9190 2001-12-11 André Pönitz <poenitz@gmx.net>
9193 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9195 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9197 * text2.C: keep selection on a setFont()
9199 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9201 * lyx_cb.C: another bv->text misuse, from insert label
9203 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9206 * kbsequence.C: re-instate nmodifier mask
9208 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9210 * lyx_main.h: make lyxGUI private.
9212 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9214 * lyxfind.C: place the cursor correctly on failed search
9216 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9218 * text.C (getLengthMarkerHeight): for small heights, the arrows
9219 are not always on top/bottom of the text
9220 (drawLengthMarker): smaller arrows; take the left margin in
9221 account; draw also vfills.
9223 (paintLastRow): remove special code for vfill and standard spaces,
9224 since everything is handled in drawLengthMarker now.
9226 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9228 * buffer.C (insertErtContents): try to handle font and language
9229 interaction a bit better.g
9231 * ColorHandler.C (updateColor): change the hash to cover the whole
9232 LColor enum, ws cleanup
9233 (getGCLinepars): ditto
9234 (getGCLinepars): only lookup in the linecache once.
9236 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9238 * iterators.C (operator++): Make the iterator more robust
9240 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9242 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9244 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9247 * text.C: better added space drawing
9249 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9252 * BufferView2.C: fix layout combo update on inset unlock
9254 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9256 * Makefile.am: don't compile unused files
9258 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9262 * LyXAction.C: remove old LFUN_LAYOUTNO
9264 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9266 * paragraph_pimpl.h:
9267 * paragraph_pimpl.C: isTextAt() doesn't need font param
9269 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9272 * lyxlex.C: little cleanup
9274 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9276 * BufferView_pimpl.C: fix insertAscii for insets
9278 2001-12-05 Juergen Vigna <jug@sad.it>
9280 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9281 set the right font on the "multi" paragraph paste!
9283 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9289 * lyxlength.C: remove out-commented code.
9305 * vc-backend.C: change "while(" to "while ("
9307 * lyxlength.[Ch]: add zero function to check if length is zero or
9309 * lyxgluelength.C: use it
9311 2001-12-05 Allan Rae <rae@lyx.org>
9313 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9314 Works for 2.95.3, from what I understand of Garst's reports this should
9315 work for other g++ versions. We're screwed if the abs(int) definition
9316 changed between bugfix releases of gcc.
9318 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9320 * text.C: fix chapter label offset !
9322 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9325 * text.C: fix hfill at end of line, clean up
9327 2001-12-04 Juergen Vigna <jug@sad.it>
9329 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9330 that we force an update of the inset and it's owners if neccessary.
9332 2001-12-03 Juergen Vigna <jug@sad.it>
9334 * text.C (rowLast): simplified code
9336 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9338 * lyxfunc.C: fix show options on timeout
9340 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9342 * screen.C (topCursorVisible): scroll half a page when the cursor
9343 reached top of bottom of screen
9345 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9347 * minibuffer.C: deactivate on loss of focus
9349 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9351 * vspace.[Ch] (operator!=): add operator.
9353 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9355 * BufferView_pimpl.C: refuse to open an inset when
9356 there's a selection.
9358 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9360 * BufferView_pimpl.C: allow to click on RHS of full row insets
9362 2001-11-30 Juergen Vigna <jug@sad.it>
9364 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9365 insets for undo reasons.
9367 2001-11-28 André Pönitz <poenitz@gmx.net>
9369 * vspace.[Ch]: cosmetical changes
9371 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9381 * kbsequence.C: part re-write of old kb code
9384 * WorkArea.C: remove Lgb_bug_find_hack
9386 2001-11-30 José Matos <jamatos@fep.up.pt>
9388 * buffer.C (makeDocBookFile): add a comment to point a hack.
9389 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9390 Fixed a double write of labels.
9392 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9395 * LaTeX.h Fixed bug in LaTeX class where it would not
9396 re-run latex if no depfiles were changed, but the .dvi was removed.
9398 2001-11-28 André Pönitz <poenitz@gmx.net>
9400 * all the files from the change on 2001/11/26:
9401 use lyx::layout_type instead of LyXTextClass::size_type
9402 use lyx::textclass_type instead of LyXTextClassList::size_type
9404 2001-11-29 Juergen Vigna <jug@sad.it>
9406 * text.C: added support for paragraph::isFreeSpacing()
9408 * buffer.C: same as above
9410 * paragraph.h: inserted isFreeSpacing() function to enable
9411 FreeSpacing inside InsetERT.
9413 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9414 of the paragraph's in the cut/copy buffer to 0!
9416 * text2.C (removeRow): remove the assert as it can!
9418 * lyxtext.h: added helper function firstRow returning firstrow and
9419 made firstrow private again.
9421 * BufferView2.C (lockInset): don't relock if we're already locked!
9423 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9425 (removeRow): added Assert::(firstrow)
9427 * debug.C: forgot to add INSETTEXT here.
9429 2001-11-28 Juergen Vigna <jug@sad.it>
9431 * sp_spell.C (initialize): changed error text to more general
9432 spellchecker command use (not only ispell!)
9434 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9436 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9438 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9440 * vspace.C: initialise lyxgluelength on failure
9442 2001-11-28 Allan Rae <rae@lyx.org>
9444 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9445 declaration & definition that looks like a function declaration.
9447 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9449 * BufferView2.C (copy):
9450 (copyEnvironment): do not clear the selection when doing a copy.
9452 * text.C (paintFirstRow): compilation fix
9454 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9456 * tabular.C (Latex): correct line count when writing latex.
9458 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9460 * paragraph_pimpl.h:
9461 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9464 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9468 * LColor.C: change vfillline->added_space
9470 * text.C: add markers and text for added space
9472 * vspace.C: fix comment
9474 2001-11-28 André Pönitz <poenitz@gmx.net>
9476 * paragraph.C: whitespace changes
9477 * all the other files from the change on 2001/11/26:
9478 change *::pos_type into lyx::pos_type
9480 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9482 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9483 language of the document when inserting error insets.
9485 2001-11-26 André Pönitz <poenitz@gmx.net>
9487 * BufferView_pimpl.[Ch]:
9495 * paragraph_pimpl.[Ch]:
9498 * text2.C: reduce header dependencies, introduce type for positions
9500 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9502 * <various>: change to use Alert.h
9504 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9506 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9507 when encountering an unknown token.
9508 (readLyXformat2): Show an error message if there were unknown tokens.
9510 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9513 * BufferView_pimpl.C:
9517 * text2.C: use par->isInset()
9519 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9521 * paragraph_pimpl.h:
9522 * paragraph_pimpl.C: cleanup
9524 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9526 * text2.C (removeRow):
9527 * text.C (setHeightOfRow): remove useless (and costly) call to
9530 2001-11-20 Allan Rae <rae@lyx.org>
9532 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9533 Now need Inset*::checkInsertChar() to return true for appropriate
9534 cases so that the characters in the minibuffer will actually be
9537 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9539 * text.C: change the order of the includes.
9540 (workWidth): initialize it at once.
9541 (workWidth): make maxw unsigned
9542 (setHeightOfRow): remove unused variable (inset)
9543 (selectSelectedWord): remove unused variable (inset)
9544 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9546 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9548 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9549 server is not running.
9551 (closeConnection): add debug info when server is disabled.
9553 * ColorHandler.C (getGCForeground): send debug message to GUI
9556 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9558 * kbmap.C (bind): modify because return conventions of
9559 kb_sequence::parse have changed.
9561 * kbsequence.C (parse): only ignore spaces and not any stupid
9562 control character. This avoids tests like s[i] <= ' ', which are
9563 guaranteed to fail with 8bit characters and signed chars.
9564 Change return code to string::npos when there have been no error
9565 (0 was a bad idea when error is at first character)
9567 2001-11-14 José Matos <jamatos@fep.up.pt>
9570 * buffer.C (simpleDocBookOnePar): removed unused argument.
9572 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9574 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9575 insets which are part of a word. Paragraph::isLetter takes care of
9576 that now. Use Paragraph::isInset to identify insets.
9577 (selectSelectedWord): do not test for hyphenation break.
9579 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9580 that protected spaces are considered as spaces.
9582 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9585 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9588 * lyxserver.C: fix it. and small cleanup.
9590 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9592 * BufferView_pimpl.C: use inline helpers
9595 * LaTeXFeatures.C: fix typos
9598 * Spacing.C: move spacing_string into class
9600 * ToolbarDefaults.C: move stuff into namespace anon
9602 * layout.h: update enum
9604 * lyxfunc.C: use better debug
9606 * minibuffer.h: fix typo
9610 * WorkArea.C: add and use Debug::WORKAREA
9614 * text2.C: code re-organisation, inline helpers
9616 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9618 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9619 std::vector.empty().
9621 2001-11-09 Allan Rae <rae@lyx.org>
9623 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9624 '\n's after tables. Tabular and ERT inset work now makes this no
9627 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9630 * minibuffer.C: fix crash, improve drop-down completion
9632 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9635 * lyxserver.C: invalidate fd's when doing endPipe()
9637 2001-11-08 José Matos <jamatos@fep.up.pt>
9639 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9640 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9643 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9645 2001-11-07 José Matos <jamatos@fep.up.pt>
9648 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9651 * buffer.C (sgmlOpenTag):
9652 * buffer.C (sgmlCloseTag): removed debug info.
9654 * buffer.h (sgmlOpenTag):
9655 * buffer.h (sgmlCloseTag): made public.
9657 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9659 * buffer.C (saveParamsAsDefaults):
9660 * lyx_cb.C (MenuLayoutSave): remove
9662 * LyXAction.C (init):
9664 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9666 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9668 * buffer.C (setPaperStuff): removed from here...
9670 * bufferparams.C (setPaperStuff): ... and moved there.
9672 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9676 * XFormsView.C: add support for drop-down completion
9678 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9680 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9683 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9685 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9688 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9690 * lyx_main.C: change ref to known bugs
9692 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9694 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9695 to work around older babel problems.
9697 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9699 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9701 2001-10-24 Juergen Vigna <jug@sad.it>
9703 * tabular-old.C (ReadOld): below variable changes reflected.
9705 * tabular.[Ch]: added ltType struct for longtable header/footer
9706 defines and changed all instances where they are used. Added
9707 future support for double top/bottom rows.
9709 2001-10-24 José Matos <jamatos@fep.up.pt>
9711 * buffer.h (docbookHandleCaption):
9712 * buffer.C (docbookHandleCaption): removed unused function.
9713 (makeDocBookFile): moved docbook supported version to v4.1.
9715 2001-10-24 José Matos <jamatos@fep.up.pt>
9718 * tabular.C (docbookRow): new function to export docbook code of a row.
9719 (DocBook): now honors the longtable flags.
9721 2001-10-23 José Matos <jamatos@fep.up.pt>
9724 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9725 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9727 * buffer.C (makeLinuxDocFile):
9728 (makeDocBookFile): reworked the preamble, more clean, and with
9729 support for lyx defined entities. Changed the document declaration
9730 to be more XML friendly.
9732 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9733 if we need to output XML that should be done with a filter.
9735 2001-10-22 Juergen Vigna <jug@sad.it>
9737 * sp_pspell.h (class PSpell): add alive function needed in the
9738 controller to see if the spellchecker could be started.
9740 2001-10-22 Juergen Vigna <jug@sad.it>
9742 * buffer.C (insertStringAsLines): modify the font for inserting
9743 chars in certain conditions by calling checkInsertChar(font).
9745 2001-10-19 Juergen Vigna <jug@sad.it>
9747 * text.C (workWidth): use getRow instead of wrong algorithm.
9748 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9750 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9755 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9757 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9759 * text.C (workWidth): do not search for the exact row when
9760 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9761 optimization for big documents.
9763 2001-10-18 Juergen Vigna <jug@sad.it>
9765 * text.C (workWidth): new function with added Inset * parameter.
9767 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9769 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9771 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9772 change return type of getColumnNearX.
9775 * text.C (changeRegionCase): use uppercase/lowercase instead of
9778 (rightMargin): simplify code by factoring out the uses of
9783 (appendParagraph): use Paragraph::size_type
9785 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9787 * vspace.C (asLatexString): add a missing break
9789 2001-10-15 Herbert Voss <voss@perce.de>
9791 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9793 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9795 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9798 2001-10-10 André Pönitz <poenitz@gmx.net>
9800 * lyxfunc.C: removed greek_kb_flag.
9802 2001-10-10 Herbert Voss <voss@perce.de>
9804 * lyx_main.C: delete global string help_lyxdir.
9806 2001-10-09 Herbert Voss <voss@perce.de>
9808 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9810 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9812 * lyx_main.C: added global string help_lyxdir.
9814 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9816 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9818 * lyxrc.C (set_font_norm_type): support iso8859-4
9820 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9822 * LaTeX.C (deplog): add another regex for MikTeX
9824 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9826 * lyxrc.C (set_font_norm_type): support iso8859-3
9828 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9830 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9832 * LaTeXFeatures.C: remove special case of french and index
9834 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9835 before \begin{document}). This solves several incompatibilities.
9837 2001-10-03 Garst Reese <reese@isn.net>
9839 * lyx_cb.C: change CheckTex error msg.
9841 2001-10-03 José Matos <jamatos@fep.up.pt>
9843 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9845 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9847 * .cvsignore: update
9849 * lyx_main.C (commandLineVersionInfo): use new style version info.
9851 * buffer.C (writeFile):
9854 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9856 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9858 * version.h: update to use stuff in version.C
9860 * version.C.in: new file. Contains version information determined
9861 at compile time. This is a merging of version.h and
9864 2001-10-03 Juergen Vigna <jug@sad.it>
9866 * BufferView_pimpl.C (update): don't change "dirty" status in
9869 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9871 * WorkArea.C (c-tor): re-position version string slightly.
9873 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9875 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9876 revert to previous code.
9878 WorkArea.[Ch]: (show, destroySplash): methods removed.
9880 WorkArea.C: rework code so that it's an amalgam of the codes before and
9881 after the splash screen was moved to WorkArea.
9883 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9886 * vspace.C (inPixels):
9889 * buffer.C (insertStringAsLines):
9890 (asciiParagraph): fix types to be large enough
9892 * lyxlex_pimpl.h: change member status from short to int
9894 * layout.h: fix type of endlabeltype
9897 * kbsequence.C (parse): change return type to string::size_type
9899 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9902 * Bullet.C (bulletSize):
9903 (bulletEntry): do not use short ints as parameters
9905 * BufferView2.C (insertLyXFile): change a char to an int.
9907 * WorkArea.C (WorkArea): remove unneeded floats in computation
9909 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9911 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9913 * paragraph.C (asString): Do not ignore newline/hfill chars when
9914 copying to the clipboard.
9916 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9918 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9919 after a multi-line inset.
9921 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9923 * paragraph.C (validate): Set NeedLyXFootnoteCode
9925 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9927 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9928 and decrease-error to decrease.
9930 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9932 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9933 it more readable (should be equivalent)
9935 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9937 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9939 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9941 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9942 of a cursor (row, etc.) after a character has been deleted
9943 (deleteEmptyParagraphMechanism): call the method above on _all_
9944 cursors held by the LyXText when a double space has been
9947 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9949 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9951 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9953 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9954 background. Use greyOut() and the new show() methods to toggle between
9955 the foreground and background. Add code to remove the splash after
9956 its initial showing.
9958 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9959 (create_forms): no longer call Dialogs::showSplash.
9961 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9963 * .cvsignore: add version_info.h
9965 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9967 * version_info.h.in: new file
9969 * Makefile.am: add version_info.h.in
9971 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9972 version_info.h instead of VERSION_INFO
9974 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9976 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9977 The ERT inset now returns string().
9979 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9981 * lyxtext.h, text.C (selectNextWord): renamed as
9982 selectNextWordToSpellcheck.
9984 * text.C (selectNextWordToSpellcheck): Modified to not select
9985 words inside an ERT inset.
9987 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9989 * lyx_cb.C (MenuLayoutSave): change a bit the question
9991 * sp_base.h: include <sys/types.h>
9993 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9995 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9997 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9999 * several files: fix typos in user-visible strings
10001 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10003 * text2.C (pasteSelection): do not set the selection, since it
10004 will be cleared later. Actually, the intent was to fix the way the
10005 selection was set, but I figured rmoving the code was just as good.
10007 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10009 * FontLoader.C (available): Check if font is available without
10012 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10014 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10016 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10018 * lyxrc.[Ch]: added display_graphics variable and associated code.
10020 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10022 * bufferparams.C (hasClassDefaults): new method. Returns true if
10023 the buffer parameters correspond to known class defaults
10025 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10027 * XFormsView.C (show): set minimum size to the main window.
10029 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10031 * text2.C (copySelection):
10033 * lyxfind.C (LyXReplace):
10034 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10035 LyXText::selectionAsString.
10037 * paragraph.C (asString): add "label" argument to the second form
10039 * text2.C (selectionAsString): add "label" argument and pass it to
10040 Paragraph::asString.
10042 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10044 * lyx_main.C (commandLineHelp): remove version information
10046 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10048 * lyx_main.C: add -version commandline option
10050 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10052 * paragraph.h: make the optional constructor arg required instead.
10053 some modifications to other files because of this.
10055 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10057 * lyxserver.C (C_LyXComm_callback): make it static
10059 * lyx_main.C (error_handler): make it static
10061 * lyx_gui.C (LyX_XErrHandler): make it static
10063 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10065 * WorkArea.C: make the extern "C" methods static.
10067 * Makefile.am (lyx_LDADD): simplify
10069 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10071 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10072 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10074 * LyXAction.C (init):
10075 * lyxfunc.C (dispatch): associated code removal.
10077 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10079 * lyxfont.h (isSymbolFont): shut off warning
10081 * text.C (setHeightOfRow):
10082 (getVisibleRow): fix crash with empty paragraphs which have a
10085 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10087 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10090 2001-09-04 José Matos <jamatos@fep.up.pt>
10093 * tabular.C (docbook): rename docBook method to docbook.
10095 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10097 * Makefile.am: add dependencies to main.o.
10099 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10101 * FontLoader.C (available): Return false if !lyxrc.use_gui
10103 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10105 * FontInfo.C (query):
10106 * converter.C (view):
10107 * importer.C (Import):
10108 * exporter.C (Export): Can not -> cannot.
10110 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10112 * BufferView_pimpl.C: allow to create index inset even if
10115 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10117 * buffer.C (getLists): replace boost::tie code with an explicit pair
10118 as boost::tie can break some compilers.
10120 * iterators.h: Added a std:: declaration to the return type of
10123 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10125 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10128 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10130 * iterators.[Ch]: New files. Provide paragraph iterators.
10132 * buffer.C (changeLanguage): Use paragraph iterators.
10133 (isMultiLingual): ditto
10135 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10137 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10139 * FontLoader.C: Support for cmr font.
10141 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10143 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10144 (available): New method.
10146 * FontInfo.C (getFontname): Use scalable fonts even when
10147 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10150 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10152 * converter.C (Formats::view): reverted! Incorrect fix.
10154 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10156 * converter.C (Formats::view): only output the -paper option
10157 if the dvi viewer is xdvi, thereby fixing bug #233429.
10159 2001-08-23 Herbert Voss <voss@perce>
10161 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10163 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10165 * Spacing.h (Spacing): Set space to Default on in the default
10168 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10170 * vc-backend.h (RCS::versionString): add RCS to version
10171 (CVS::versionString): add CVS to version
10173 * vc-backend.C (scanMaster): do not add CVS to version.
10174 (scanMaster): do not add RCS to version
10176 * lyxvc.C (versionString): new method
10178 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10180 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10182 * Spacing.C (set): initialize fval
10184 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10186 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10189 2001-08-16 Juergen Vigna <jug@sad.it>
10191 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10193 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10195 * BufferView_pimpl.C:
10198 * text2.C: setParagraph takes linespacing now
10200 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10202 * LyxAction.C: add internal LFUN_CITATION_INSERT
10204 * LyXView.C: actually apply fix
10206 * bufferlist.C: fix open non-existent file
10208 * lyxfind.C: fix indentation
10210 * lyxfunc.C: remove unneeded assert, fix typo
10212 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10214 * MenuBackend.C: use "Floatname List"
10216 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10218 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10219 when converting LaTeX layout to insetERT.
10220 Generate a non-collapsed float when reading old float
10222 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10224 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10227 2001-08-13 Juergen Vigna <jug@sad.it>
10229 * text.C (fill): return 0 instead of 20 as this seems to be the more
10232 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10234 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10237 2001-08-13 Juergen Vigna <jug@sad.it>
10239 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10241 (SearchBackward): comment out the unlocking of the inset_owner this
10242 should not be needed!
10244 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10246 * Many files: Remove inherit_language, and add latex_language
10248 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10249 collapsible insets.
10251 2001-08-10 Juergen Vigna <jug@sad.it>
10253 * text.C (prepareToPrint): fixed hfill-width in draw!
10255 * BufferView2.C (selectLastWord): save the selection cursor as this
10256 now is cleared in the function LyXText::clearSelection!
10258 2001-08-08 Juergen Vigna <jug@sad.it>
10260 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10261 BACKSPACE type functions.
10263 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10264 is only cutted from the document but not put in the cut-buffer, where
10265 still the old stuff should be.
10267 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10269 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10271 * tabular.C (SetWidthOfCell): fixed special case where the width
10273 (LeftLine): handle '|' in align_special.
10275 (LeftAlreadyDrawed): ditto
10276 (SetWidthOfCell): ditto
10278 2001-08-07 Juergen Vigna <jug@sad.it>
10280 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10282 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10284 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10285 * lyxlex.[hC]: ditto
10287 2001-08-06 Juergen Vigna <jug@sad.it>
10289 * text.C (getVisibleRow): fix up row clearing a bit.
10291 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10293 * minibuffer.C: make sure the X server sees the changes in the input.
10295 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10297 * paragraph.C (getFont): split into...
10298 (getLabelFont): this
10299 (getLayoutFont): and this
10300 * paragraph_pimpl.C (realizeFont): calling this
10302 * text2.C (getFont): split into...
10303 (getLayoutFont): this
10304 (getLabelFont): and this
10305 (realizeFont): all three calling this
10307 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10310 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10312 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10314 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10316 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10317 layouts from the Quote inset insertion.
10319 2001-08-03 Juergen Vigna <jug@sad.it>
10321 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10323 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10324 only if status not is already CHANGED_IN_DRAW (second level).
10326 * text.C (draw): don't set the need_break_row when inside an
10329 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10331 * buffer.C (parseSingleLyXformat2Token): handle more latex
10334 * bufferview_funcs.[hC]: change function names to
10335 begin with small char, adjust other files.
10337 2001-08-02 André Pönitz <poenitz@gmx.net>
10340 BufferView_pimpl.C: remove broken special code for math-greek
10342 2001-08-02 Juergen Vigna <jug@sad.it>
10344 * BufferView_pimpl.C (update): redone this function so that we
10345 update the text again if there was a CHANGE_IN_DRAW.
10347 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10348 (drawFromTo): added a new internal bool which is used by draw() and
10350 (general): some cursor drawing problems fixed.
10352 2001-08-01 Juergen Vigna <jug@sad.it>
10354 * lyxfind.C (LyXFind): fixed
10355 (SearchForward): ditto
10356 (SearchBackward): ditto
10358 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10359 spurius drawing of the cursor in the main area.
10361 * text2.C (status): small fix which could lead to a segfault!
10362 (clearSelection): remove unneeded BufferView param.
10364 2001-08-01 André Pönitz <poenitz@gmx.net>
10366 * lyxfunc.C: small change due to changed mathed interface
10368 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10370 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10372 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10374 * lyxfunc.c: fail gracefully if file doesn't exist
10379 * BufferView_pimpl.C: IsDirWriteable() proto changed
10381 * LyXView.C: fix updateWindowTitle() to store the last title
10383 2001-07-31 Juergen Vigna <jug@sad.it>
10385 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10386 the font (wrong since using of Paragraph::highestFontInRange).
10388 * paragraph.C (highestFontInRange): added a default_size parameter.
10390 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10391 (setHeightOfRow): reformat
10393 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10395 * converter.[hC] + affected files: move to (inital-char)lowercase
10398 * ParagraphParameters.C (ParagraphParameters): remove commented code
10400 * PainterBase.[Ch]: remove commented code
10402 * LaTeXFeatures.h: add "bool floats" for float.sty
10404 * LaTeXFeatures.C (LaTeXFeatures): init floats
10405 (require): handle float
10406 (getPackages): do it with floats
10408 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10410 * BufferView_pimpl.C (Dispatch): improve handling of
10411 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10413 * commandtags.h: #include lyxfont.h here temporarily to avoid
10416 * bufferlist.h: include LString.h here.
10418 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10420 * text2.C (getStringToIndex): new method.
10422 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10424 * *: Reduced header file dependencies all over.
10426 2001-07-30 Baruch Even <baruch@lyx.org>
10428 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10430 2001-07-29 Baruch Even <baruch@lyx.org>
10432 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10434 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10436 * ParameterStruct.h (endif): add a default constructor to make
10437 sure that all variables is initialized.
10439 * ParagraphParameters.C (ParagraphParameters): adjust
10441 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10443 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10444 index; also, check that there is something to index, and that it
10445 does not span over several paragraphs.
10446 (doubleClick): use WHOLE_WORD_STRICT for double click.
10448 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10450 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10453 2001-07-26 Baruch Even <baruch@lyx.org>
10455 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10456 an InsetFig figure, backwards compatible reading of old figure code.
10458 2001-07-27 Juergen Vigna <jug@sad.it>
10460 * text2.C: font.realize function adaption.
10462 * text.C (draw): add a warnings lyxerr text if needed.
10464 * layout.C: font.realize function adaption.
10466 * language.C: add inherit_language and implement it's handlings
10468 * bufferview_funcs.C (StyleReset): remove language parameter from
10469 font creation (should be language_inherit now).
10471 * bufferparams.C (writeFile): handle ignore_language.
10473 * paragraph.C (getFontSettings): the language has to be resolved
10474 otherwise we have problems in LyXFont!
10476 * lyxfont.C (lyxWriteChanges): added document_language parameter
10477 (update): removed unneeded language parameter
10479 * paragraph.C (validate): fixed wrong output of color-package when
10480 using interface colors for certain fonts in certain environments,
10481 which should not seen as that on the final output.
10483 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10485 * BufferView_pimpl.C:
10490 * LyXAction.C: add thesaurus support
10493 * lyxfind.C: add "once" parameter, for thesaurus, to not
10494 move to the next match
10496 2001-07-26 Juergen Vigna <jug@sad.it>
10498 * lyxfont.C (realize): honor ignore_language too!
10501 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10503 * text.C (draw): one place more for ignore_language to not draw
10506 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10508 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10510 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10512 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10513 the minipage conversion problem.
10515 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10517 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10520 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10522 * BufferView.h: don't forward declare WorkArea
10524 * BufferView.C: don't include WorkArea.h
10526 2001-07-25 André Pönitz <poenitz@gmx.net>
10530 * lyxfunc.C: new LFUN 'math-space'
10532 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10534 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10536 * text2.C (toggleInset): call open/close
10538 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10540 * lyxfunc.C (dispatch): add debug for the disabled case
10542 * font.C (buttonText): make similar to rectText
10544 * buffer.C (readInset): comment out parsing of insetlist and
10547 * PainterBase.C (rectText): small correction
10549 * BufferView_pimpl.C: comment out insettheorem and insetlist
10550 * LyXAction.C: ditto
10551 * commandtags.h: ditto
10553 2001-07-24 Juergen Vigna <jug@sad.it>
10555 * text.C (draw): honor the ignore_language.
10557 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10559 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10561 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10564 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10566 * lyxtext.h: remove unused (and unimplemented) methods
10568 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10570 * text.C (getVisibleRow): honor background color
10573 * Painter.h: remove default color argument for fillRectangle
10575 * text.C (backgroundColor): new method
10577 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10579 * text.C (getVisibleRow): adjust
10581 * font.[Ch] (rectText): new method, metrics
10582 (buttonText): new method, metrics
10584 * PainterBase.[hC]: make rectText and buttonText always draw and take
10587 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10589 * ToolbarDefaults.C (read):
10590 * MenuBackend.C (read): allow escaping in all strings
10592 * BufferView_pimpl.C (insertAndEditInset): new method.
10593 (Dispatch): use insertAndEditInset whenever appropriate.
10595 * BufferView_pimpl.C (insertNote): removed
10597 * BufferView_pimpl.C (smartQuote): new method, moved from
10598 BufferView; if an insetquote cannot be inserted, insert a '"'
10601 * BufferView2.C: remove insertCorrectQuote();
10603 * lyxfunc.C (getStatus): Add support for all remaingin
10604 inset-insert lfuns.
10606 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10608 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10609 command (necessary to pass " as parameter of self-insert.
10611 * text.C (selectWordWhenUnderCursor):
10612 (selectWord): add word_location parameter
10613 (selectWordWhenUnderCursor): same + remove special code for word
10615 (selectNextWord): use kind() to guess type of insetspecialchar,
10618 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10619 (insertErtContents): create ert insets as collapsed.
10620 (readInset): better compatibility code for Info inset.
10622 2001-07-20 Juergen Vigna <jug@sad.it>
10624 * lyxfunc.C (dispatch): use always LyXFind now!
10626 * text2.C (init): add a reinit flag so that the LyXText can be
10627 reinited instead of deleted and reallocated (used in InsetText).
10629 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10635 2001-07-18 Juergen Vigna <jug@sad.it>
10637 * text.C (selectNextWord): handle insets inside inset by calling
10638 always the bv->text functions so that we can go up the_locking_inset!
10640 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10641 in strange locations when inside an inset!
10643 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10644 handling to include insets.
10646 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10648 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10650 * LyXAction.C (init):
10652 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10653 LIGATURE_BREAK, since the name is so stupid.
10655 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10657 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10660 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10662 * sp_form.[Ch]: remove.
10664 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10666 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10669 * src/buffer.C (readInset): ditto.
10671 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10673 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10674 menuSeparator(), endOfSentenceDot(), ldots() and
10675 hyphenationPoint(), which are therefore removed.
10676 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10678 * LyXAction.C (init):
10679 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10681 * paragraph.C (getWord): removed.
10683 * BufferView_pimpl.C (Dispatch): use last word or selection for
10684 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10686 * lyx_main.C (queryUserLyXDir): do not ask before creating
10687 user_dir, except if it has been named explicitely.
10689 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10691 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10692 a document of zero size.
10694 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10696 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10697 approriately in the c-tor and in require().
10698 (getPackages): output the appropriate LaTeX for natbib support.
10700 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10701 variables "use_natbib" and "use_numerical_citations" when reading the
10703 (readInset): read the various natbib cite commands.
10704 (validate): white-space change.
10706 * bufferparams.[Ch]: new variables "bool use_natbib" and
10707 "bool use_numerical_citations".
10708 (writeFile): output them in the LyX file.
10710 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10712 * lyxfunc.C (getStatus): add support for all the inset insertion
10715 * text2.C (insertInset):
10716 * paragraph.C (insetAllowed):
10717 * BufferView_pimpl.C (insertInset): update to take in account the
10718 renaming of insertInsetAllowed
10720 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10722 * text2.C (getInset): new method. returns inset at cursor position.
10724 * BufferView_pimpl.C (Dispatch): changes because of this.
10726 * LyXAction.C (init): rename open-stuff to inset-toggle.
10728 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10730 * text2.C (toggleInset): renamed from openStuff; use
10733 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10735 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10737 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10739 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10741 * buffer.C (readLyXformat2): Add filename to the error dialog
10743 2001-07-18 Juergen Vigna <jug@sad.it>
10745 * tabular.C (GetCellNumber): put an assert here instead of the check!
10747 2001-07-17 Juergen Vigna <jug@sad.it>
10749 * BufferView_pimpl.C (toggleSelection): adapted too.
10751 * text.C (selectNextWord): adapted for use with insets.
10752 (selectSelectedWord): ditto
10754 2001-07-17 Juergen Vigna <jug@sad.it>
10756 * sp_spell.C (PSpell): fix initialitation order.
10758 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10760 * paragraph.C: spacing
10762 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10764 * sp_spell.C: repair language selection for pspell
10766 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10768 * lyxfunc.h: change more methods to begin with lower char.
10770 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10772 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10773 for unknown layouts.
10775 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10777 * buffer.C (readLyXformat2): Generate an error dialog if there are
10780 2001-07-16 Juergen Vigna <jug@sad.it>
10782 * sp_spell.C: always compile ISpell part.
10784 * lyxrc.C: added use_pspell entry and it's handling.
10786 2001-07-13 Juergen Vigna <jug@sad.it>
10788 * sp_spell.C: removed double includes.
10790 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10792 Consistent use of Lsstream.h:
10793 * Lsstream.h: added using std::stringstream for consistencies sake.
10795 * buffer.C: removed using std::stringstream
10797 * lyxfont.C (stateText):
10798 * paragraph.C (asString):
10799 * text.C (selectNextWord, selectSelectedWord):
10800 * text2.C (setCounter):
10801 * vspace.C (asString, asLatexString):
10802 std::ostringstream -> ostringstream.
10804 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10806 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10807 * commandtags.h: add LFUN_HELP_ABOUTLYX
10808 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10810 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10812 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10814 * lyx_gui_misc.C: remove spellchecker
10815 * lyxfunc.C: showSpellchecker
10817 * sp_ispell.h: added
10818 * sp_pspell.h: added
10819 * sp_spell.C: added
10820 * sp_form.[Ch]: removed
10821 * spellchecker.[Ch]: removed
10823 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10825 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10827 (simpleTeXSpecialChars): Simply print the input character without
10828 any special translation if pass_thru is set.
10830 * layout.h: Added bool pass_thru to layout class for being able to
10831 implement pass through of a paragraph for Literate Programming.
10833 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10834 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10835 * layout.C (Read): add "passthru" to list of layout tags and add
10836 code to set the pass_thru boolean when it is read.
10838 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10840 * trans_decl.h: remove allowed from KmodInfo
10842 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10843 remove allowed code
10846 * paragraph_pimpl.C (erase): use boost::prior
10848 * Painter.C (text): use data() instead of c_str() when length is
10850 * WorkArea.C (putClipboard): ditto
10851 * font.h (width): ditto
10853 * BufferView2.C: use it-> instead of (*it). for iterators
10855 * paragraph_pimpl.C: ditto
10856 * paragraph.C: ditto
10857 * minibuffer.C: ditto
10858 * language.C: ditto
10860 * encoding.C: ditto
10861 * counters.C: ditto
10862 * converter.C: ditto
10864 * Variables.C: ditto
10865 * TextCache.C: ditto
10866 * MenuBackend.C: ditto
10867 * LyXAction.C: ditto
10869 * FloatList.C: ditto
10870 * DepTable.C: ditto
10871 * ColorHandler.C (LyXColorHandler): ditto
10873 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10875 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10877 * text2.C (openStuff): reintroduce this method (which had been
10878 nuked in NEW_INSETS frenzy).
10880 * lyxfunc.C (Dispatch): when an action has not been handled, use
10881 its name in the error message, not its number.
10883 * paragraph.C (inInset): change method name to begin with lowercase.
10886 * text2.C: updates because of this.
10888 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10890 * ToolbarDefaults.C (add): add spaces in error message
10892 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10895 (readLyXformat2): rename return_par to first_par, use lyxlex's
10896 pushToken and remove the manual push handling.
10897 (parseSingleLyXformat2Token): add another ert comp. variable:
10898 in_tabular, rename return_par to first_par. handle newlines better
10900 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10902 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10904 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10906 * text2.C (getParFromID): removed
10908 * buffer.C (getParFromID): new method moved form lyxtext.
10909 * BufferView2.C (insertErrors): adjust
10910 (setCursorFromRow): adjust
10911 * BufferView_pimpl.C (restorePosition): adjust
10912 * lyxfunc.C (Dispatch): adjust
10913 * undo_funcs.C (textUndo): adjust
10915 (textHandleUndo): adjust
10916 (textHandleUndo): adjust
10918 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10920 * buffer.C: up' the LYX_FORMAT
10922 * lyxfont.h: turn NO_LATEX on as default
10924 * buffer.C (insertErtContents): new methods of tex style compability.
10925 (parseSingleLyXformat2Token): use it several places.
10926 * tabular.C (OldFormatRead): and here
10928 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10930 * text2.C: remove some commented code.
10933 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10934 * trans.C: changes because of the above.
10936 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10938 * text2.C (setCounter): Fix counters bug with bibliography layout.
10940 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10942 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10943 own member functions
10944 (simpleTeXSpecialChars): ditto
10946 2001-07-06 Juergen Vigna <jug@sad.it>
10948 * a lot of files: changed the access to LyXText::status and the
10949 call of undo-functions.
10951 * undo.[Ch]: added a inset_id to the undo informations.
10953 * undo_funcs.[Ch]: added and moved here all undo functions.
10955 * lyxtext.h: give the status enum a weight, made status_ a private
10956 variable and made accessor functions for it, removed the whole bunch
10957 of undo-functions as they are now in their own file, make some
10958 functions publically available. Added function ownerParagraph with
10961 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10962 made InInset() a const function, added getParFromID() function.
10964 * buffer.[Ch]: added const version for inset_iterator functions,
10965 added getInsetFromID() function.
10967 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10968 changed undo functions for new version.
10970 2001-07-05 Juergen Vigna <jug@sad.it>
10972 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10973 unknow mechanism does not call the proper constructor but only this
10974 one also if I request the other!?
10976 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10978 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10980 * text2.C (LyXText): use initialization lists.
10982 * lyxtext.h (Selection): initialize set_ and mark_
10983 (init): remove method
10985 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10987 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10989 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10991 * screen.[Ch]: change method names to begin with lowercase
10993 * BufferView_pimpl.C (updateScrollbar): simplify further and
10994 hopefully make it a bit faster.
10996 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10998 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10999 calling directly xforms functions.
11001 * Painter.C (Painter):
11002 * lyx_cb.C (MenuWrite):
11003 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11006 * lyx_gui.C: remove bogus guiruntime extern declaration.
11008 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11010 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11012 (redoDrawingOfParagraph): ditto
11013 (redoParagraphs): ditto
11014 (cutSelection): don't create a object for CutAndPaste use the
11015 static method directly
11016 (pasteSelection): ditto
11018 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11021 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11023 * modifications to some other files because of this.
11025 * Makefile.am (lyx_SOURCES): add XFormsView
11027 * XFormsView.[Ch]: new files
11029 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11030 the main window. Move the gui dependent stuff to XFormsView
11032 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11034 * tabular.C (GetCellInset): update cur_cell also in the row/col
11035 version of this function.
11037 * lyxfunc.C: no need to include figure_form.h here.
11043 * lyxvc.C: no need to include forms.h here.
11045 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11047 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11049 * lyxfunc.C (Dispatch):
11051 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11052 constructor argument.
11054 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11056 * paragraph.C (Paragraph): dont't clear, and just set layout.
11057 (makeSameLayout): use params's copy contructor.
11059 * ParagraphParameters.[Ch] (makeSame): delete method
11061 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11063 * Variables.[Ch]: fix indentation, rename set to isSet
11065 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11067 * lyxfunc.C (Dispatch): fix typo
11069 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11071 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11074 * bufferlist.C: include assert.h for emergencyWrite().
11076 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11078 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11079 give up at last (bug #425202) !
11081 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11087 * spellchecker.C: strip spellchecker options and bring up
11088 preferences tab instead
11090 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11092 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11093 the istringstream constructor
11095 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11097 * paragraph.C (getLayout): fix return value
11099 * paragraph.h: do not declare getLayout as inline.
11101 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11103 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11105 * lyxcursor.h (operator<): new func
11106 (operator>): new func
11107 (operator>=): new func
11108 (operator<=): new func
11110 * text.C (changeCase): use selection.start and selection.end
11111 (changeRegionCase): require from to be <= to. Require par to be a
11114 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11116 2001-06-27 Juergen Vigna <jug@sad.it>
11118 * text.C (cursorLeftOneWord): changed to return the cursor and added
11119 overlay with BufferView * parameter which calls this one.
11121 (selectWord): use new getWord function.
11122 (changeCase): renamed from changeWordCase as and extended to work
11123 also on selections.
11125 * lyxtext.h: added enum word_location
11127 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11128 changeCase as this operates now also on selections.
11130 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11132 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11134 * many files: send debug output to Debug::INFO instead of
11137 * converter.C (View):
11139 (Move): send debug output to Debug::FILES instead of console.
11141 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11143 * lyxfunc.C (getStatus): use func_status
11145 * func_status.h: new header, describing the results of
11146 LyXFunc::getStatus;
11148 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11151 2001-06-25 The LyX Project <jug@sad.it>
11153 * buffer.C (sgmlOpenTag):
11155 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11157 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11159 * text2.C: remove some dead code
11161 * tabular.C (GetCellInset): store the last cell checked (gotten)
11163 * tabular.h: add the helper for the speedup
11165 * lyxtext.h: remove some dead code
11167 2001-06-26 The LyX Project <Asger>
11169 * paragraph.C: Change export to LaTeX of alignment to
11170 \begin{center} and family for better roundtrip work with reLyX.
11172 * Tune the math drawing a bit.
11174 2001-06-25 The LyX Project <Asger>
11176 * LColor.C (LColor): New color for math background. New color
11179 2001-06-25 The LyX Project <jug@sad.it>
11181 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11183 * lyxfunc.C (Open):
11184 * bufferlist.C (newFile): do not restrict to files ending with
11187 * BufferView_pimpl.C (MenuInsertLyXFile):
11189 2001-06-24 The LyX Project <jug@sad.it>
11191 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11194 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11196 * lyxtext.h: rename most methods to begin with a small char.
11197 Lots of changes because of this.
11199 * paragraph.C (Paragraph): do not call fitToSize
11200 (erase): call Pimpl::erase
11201 (insertChar): call Pimpl::insertChar
11202 (insertInset): call Pipl::insertInset
11203 (breakParagraph): do not call fitToSize
11204 (breakParagraphConservative): do not call fitToSize
11205 (fitToSize): remove method
11207 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11209 2001-06-24 The LyX Project <Asger>
11211 * Fix Qt compilation^2
11213 2001-06-24 The LyX Project <jug@sad.it>
11215 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11216 depthHook(getDepth()-1).
11219 * ParagraphParameters.h:
11220 * ParameterStruct.h: change type of depth to unsigned int ==
11221 depth_type. Many adaptations to other files before of that.
11223 2001-06-24 The LyX Project <Asger>
11225 * Fix Qt compilation.
11227 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11229 * paragraph.h: renamed several methods to begin with small letter.
11230 several changes to many parts of the code because of this.
11232 2001-06-23 The LyX Project <jug@sad.it>
11234 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11235 rewritten to discard all double spaces when KeepEmpty is off
11236 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11237 to only handle newlines but not fiddle with spaces and friends.
11239 * lyxfunc.C (MenuNew): when doing 'new from template', use
11240 template_path as default directory
11242 2001-06-23 The LyX Project <Asger>
11244 * Clean-up of header file includes all over
11245 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11247 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11249 * paragraph.h: renamed from lyxparagraph.h
11251 2001-06-23 Asger <lyx@violet.home.sad.it>
11253 * Buffer.h: Removed Buffer::resize
11254 * BufferList.h: Removed BufferList::resize
11255 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11256 the document lazily when we change the width, or the font settings.
11258 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11260 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11262 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11264 * buffer.h: remove out of date comment
11266 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11269 * screen.C: fix "theoretical" GC leak
11271 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11273 * LaTeX.C (scanAuxFile):
11274 (deplog): remove trailing \r when reading stream (useful under
11277 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11279 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11280 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11281 and BufferView::theLockingInset(Inset*), so should use them and not
11282 access bv_->text->the_locking_inset directly.
11284 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11286 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11289 * tex-defs.h: remove old unused file
11291 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11293 * BufferView_pimpl.C: fix typo, remove minibuffer message
11294 when buffer has loaded
11296 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11298 * lyxfunc.C (Dispatch): use stringstream
11299 (MenuNew): use stringstream
11300 (Open): use stringstream
11302 * importer.C (Import): use stringstream
11304 * bufferview_funcs.C (CurrentState): use stringstream
11306 * LaTeX.C (run): use stringstream
11308 * BufferView_pimpl.C (savePosition): use stringstream
11309 (restorePosition): use stringstream
11310 (MenuInsertLyXFile): use stringstream
11312 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11325 * vspace.C: removed // -*- C++ -*- as first line.
11328 * version.h: added // -*- C++ -*- as first line.
11330 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11332 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11334 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11337 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11339 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11342 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11344 * gettext.C: include LString.h even when --disable-nls is on.
11346 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11348 * converter.h (Get): changed argument type from int to
11349 FormatList::size_type to avoid unnecessary conversion.
11351 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11354 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11356 * gettext.h: include LString.h even when --disable-nls is on.
11358 2001-06-07 Juergen Vigna <jug@sad.it>
11360 * text.C (BreakAgain): subst spaces with tabs.
11362 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11363 (resizeInsetsLyXText): set force on resizeLyXText.
11365 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11367 * gettext.h (gettext_init):
11368 (locale_init): use a real definition instead of a macro
11370 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11372 * Bufferview_pimpl.C:
11374 * LColor.C: further lcolor tidies
11376 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11378 * BufferView_pimpl.C (updateScrollbar): simplify.
11380 * BufferView2.C: don't include insets/insetinfo.h, change
11381 prototype for insertInset and call the Pimpl version. let
11382 updateInset call Pimpl version.
11384 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11385 gotoInset to BufferView::Pimpl
11387 2001-06-01 Juergen Vigna <jug@sad.it>
11389 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11390 inside a LockingInset (is the update needed at all?).
11392 2001-05-31 Juergen Vigna <jug@sad.it>
11394 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11395 here not the old one otherwise how should we compare it afterwards
11398 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11403 * FontInfo.C: bring C functions into global namespace when
11406 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11408 * LString.h: make sure config.h has been loaded before LString.h.
11410 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11411 (one for each char read by EatLine!).
11413 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11416 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11418 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11419 to the same as the par we break from
11421 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11423 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11425 * MenuBackend.C (expand): also create menu entries for wide
11426 versions of the floats.
11428 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11430 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11432 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11433 frontends/Makefile.am
11439 * tabular.C (getTokenValue): add std::
11441 * tabular-old.C (getTokenValue): add std::
11442 (getTokenValue): ditto
11443 (getTokenValue): ditto
11445 * screen.C (ToggleSelection): adjust
11447 * lyxtext.h: put selection cursors inside a Selection struct.
11449 * lyxfunc.C (moveCursorUpdate): adjust
11451 * lyxfont.C (latexWriteStartChanges): add std::
11453 * lyxfind.C: adjust
11455 * font.h: delete with(char const *, LyXFont const &)
11457 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11459 * FontInfo.C (getFontname): add std::
11461 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11462 (workAreaButtonPress): adjust
11463 (tripleClick): adjust
11465 (moveCursorUpdate): adjust
11468 * BufferView2.C (gotoInset): adjust
11470 2001-05-30 Juergen Vigna <jug@sad.it>
11472 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11473 to check pspell I add this as default as I now have new pspell
11474 libraries and they seem to use this.
11476 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11478 * text2.C (CutSelection): make the cursor valid before the call to
11481 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11483 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11484 relied on 0 terminated strings and other horrors. Bug found due to
11485 the new assert in lyxstring!
11487 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11490 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11492 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11495 * lyxfunc.C (processKeySym): change method of getting to the
11498 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11499 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11500 * BufferView_pimpl.[Ch]: here as private methods.
11502 2001-05-28 Juergen Vigna <jug@sad.it>
11504 * text.C (SetHeightOfRow): added the update() call again as it is
11505 needed to initialize inset dimensions!
11507 2001-05-16 Juergen Vigna <jug@sad.it>
11509 * text2.C (SetCharFont): Add new function with BufferView * and
11510 bool toggleall parameters for setting insets internal fonts.
11511 (SetFont): Freeze the undo as we may change fonts in Insets and
11512 all this change should be inside only one Undo!
11514 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11515 setting font's in insets as for them we have the SetFont function!
11517 2001-05-15 Juergen Vigna <jug@sad.it>
11519 * text2.C (ClearSelection): to be sure we REALLY don't have any
11522 * tabular.C (TeXCellPreamble): fixed the left border problem for
11525 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11527 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11530 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11532 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11533 LFUN_BREAKPARAGRAPH.
11535 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11536 help test to "internal only", similar for LFUN_INSERT_URL
11538 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11539 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11540 auto_region_delete and deadkeys.
11542 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11545 * LColor.C: remove some dead entries, tidy a little
11547 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11549 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11551 (Dispatch): implement LFUN_ESCAPE
11553 * commandtags.h: add LFUN_ESCAPE
11555 * LyXAction.C (init): add entry for LFUN_ESCAPE
11557 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11558 Remove commented code.
11559 (insertNote): moved here
11560 (open_new_inset): moved here
11562 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11565 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11567 * kbmap.C (findbinding): clean it up and make it work correctly.
11569 * lyx_main.C (init): do not pass argc and argv as parameters
11571 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11573 * buffer.C: fix path for OS/2 & Win32
11577 * lyx_main.C: Added os:: class.
11579 * os2_defines.h: update
11581 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11583 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11584 better by trying again with reduced state.
11586 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11588 * lyxrc.C (read): print error about invalid key sequence only when
11589 debugging (because not all latinX keysyms are known to some X
11592 * kbsequence.C (getiso): add a few std:: qualifiers
11593 (getiso): comment out extra return statement.
11595 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11597 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11599 (Dispatch): enhance the accent inset a bit. (not perfect)
11601 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11603 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11605 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11607 * bufferlist.C (emergencyWrite): fix assert() call
11609 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11611 * text.C (InsertChar): Added trivial patch to only send the "you
11612 can not do multiple spaces this way" message once during a
11615 2001-05-08 Baruch Even <baruch@lyx.org>
11617 * Makefile.am: Changed order of libraries to get LyX to link properly
11618 with the gnome frontend.
11620 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11622 * LaTeXFeatures.h: add a std:: qualifier
11624 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11626 * paragraph.C (String): use stringstream
11628 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11630 * paragraph.C (writeFile): remove footflag arg
11632 * buffer.C (makeLaTeXFile): use stringstream
11633 (latexParagraphs): remove footnot gurba
11635 * LaTeXFeatures.C (getPackages): use stringstream
11636 (getMacros): likewise
11637 (getTClassPreamble): likewise
11638 (getFloatDefinitions): new method
11640 * paragraph.C (writeFile): reindent
11643 * WorkArea.h: revert the xpos + etc changes.
11645 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11647 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11649 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11650 (pasteSelection): likewise
11651 * text2.C (CreateUndo): likewise
11653 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11655 * minibuffer.C (peek_event): temporarily reduce the functionality
11656 of the minibuffer (to allow args on lfuns)
11658 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11659 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11661 * buffer.C (readInset): add compability reading of old float
11662 lists, add reading of new style float list.
11663 (readInset): avoid reevaluation of inscmd.getCmdName()
11664 (getLists): reindent
11666 * MenuBackend.C (MenuItem): implement parsing of
11667 md_floatlistinsert and md_floatinsert.
11668 (expand::LastFiles): move initalizaton of iterators out of loop,
11669 avoid reevaluation.
11670 (expand::Documents): introduce typdedef vector<string> Strings,
11672 (expand::ExportFormats): introduce typedef vector<Format const *>
11673 Formats, and use it.
11674 (expand): implement FloatListInsert and FloatInsert.
11676 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11677 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11678 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11680 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11682 (Dispatch::LFUN_FLOAT_LIST): implement
11684 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11686 * LaTeX.C (run): Fix problem with --export code.
11688 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11690 * BufferView.[Ch] (workarea): removed.
11691 (getClipboard) new method; wrapper for workarea()->getClipboard()
11693 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11696 * WorkArea.h (width, height, xpos, ypos): These methods all
11697 returned the dimensions of the work_area sub-area of WorkArea,
11698 resulting in a position error if the WorkArea were resized. Now
11699 return the dimensions of the entire WorkArea.
11701 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11703 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11705 * LaTeX.C (deplog): correct the syntax of regex reg1
11707 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11709 * undo.C: remove !NEW_INSETS cruft
11711 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11713 * text2.C: remove !NEW_INSETS cruft
11715 * text.C: remove !NEW_INSETS cruft
11717 * tabular.C: remove !NEW_INSETS cruft
11719 * spellchecker.C: remove !NEW_INSETS cruft
11721 * lyxtext.h: remove !NEW_INSETS cruft
11723 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11725 * lyxfunc.C: remove !NEW_INSETS cruft
11727 * lyxfind.C: remove !NEW_INSETS cruft
11729 * lyx_cb.C: remove !NEW_INSETS cruft
11731 * figureForm.C: remove !NEW_INSETS cruft
11733 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11735 * buffer.[Ch]: remove !NEW_INSETS cruft
11737 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11739 * CutAndPaste.C: remove !NEW_INSETS cruft
11741 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11743 * BufferView2.C: remove !NEW_INSETS cruft
11745 * BufferView.h: remove !NEW_INSETS cruft
11747 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11749 * Lsstream.h: include LString.h before the sstream headers to
11750 fix problem with gcc 2.95.3 and lyxstring
11752 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11754 * lyx_main.C: add using directives when needed for C functions
11755 declared in std:: namespace.
11757 2001-04-27 Juergen Vigna <jug@sad.it>
11759 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11760 (SetHeightOfRow): comment out the update call should not be needed!
11762 2001-04-13 Juergen Vigna <jug@sad.it>
11764 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11765 (LyXTabular): tried to minimize operator= operations (and realized
11766 hopfully Lars wish).
11768 2001-04-27 Juergen Vigna <jug@sad.it>
11770 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11772 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11774 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11776 * buffer.C (readInset): hack to make listof algorithm work
11778 * BufferView_pimpl.C: hack to make listof algorithm work
11780 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11782 * LyXAction.C: removed all !NEW_INSETS cruft
11783 (init): moved lfun_item in method
11785 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11787 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11789 * BufferView2.C (theLockingInset): white space.
11791 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11793 * minibuffer.C: include <iostream>
11795 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11797 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11799 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11801 * text.[Ch] (TransposeChars): new method
11803 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11805 * call message directly through LyXView instead of through LyXFunc
11806 * BufferView2.C: adjust
11807 * BufferView_pimpl.C: adjust
11808 * FontLoader.C: adjust
11810 * bufferview_funcs.C: adjust
11811 * converter.C: adjust
11812 * figureForm.C: adjust
11813 * importer.C: adjust
11815 * lyx_gui_misc.C: adjust
11816 * lyxfunc.C: adjust
11819 + more files in subdirs
11821 * lyxparagraph.h (size): move up int file
11824 * adjust all uses of Assert to lyx::Assert.
11826 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11827 lyxfunctional in namespace lyx
11828 * layout.C (hasLayout): ditto
11831 (delete_layout): ditto
11832 (NumberOfClass): ditto
11833 * converter.C (GetFormat): ditto
11838 * bufferlist.C (getFileNames): ditto
11839 (emergencyWriteAll): ditto
11842 * MenuBackend.C (hasSubmenu): ditto
11845 * BufferView_pimpl.C (getInsetByCode): ditto
11847 2001-04-18 Juergen Vigna <jug@sad.it>
11849 * vspace.C (asLatexString): fixed the 100% problem.
11851 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11853 * lyxfunc.C (Dispatch):
11855 * minibuffer.h: add a few std:: qualifiers
11857 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11859 * minibuffer.[Ch]: reimplement so that commands is initiated and
11860 run from lyxfunc, simplified som handling, and made the completion
11861 and history code for complete. wip.
11863 * lyxfunc.C (processKeySym): call message
11864 (miniDispatch): new temporary method
11865 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11866 (LFUN_MESSAGE): implement
11867 (LFUN_MESSAGE_PUSH): implement
11868 (LFUN_MESSAGE_POP): implement
11869 (initMiniBuffer): the initial/defualt minibuffer message.
11871 * lyxfont.[Ch]: inline some more getters
11873 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11875 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11877 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11878 (AutoSave): use LFUN_MESSAGE
11879 (Reconfigure): ditto
11881 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11883 * figureForm.C: use LFUN_MESSAGE
11885 * converter.C (runLaTeX): use LFUN_MESSAGE
11887 * bufferview_funcs.C: use LFUN_MESSAGE
11889 (changeDepth): ditto
11891 * bufferparams.h: use boost::
11893 * bufferlist.h: inherit privately from noncopyable
11895 * bufferlist.C (loadLyXFile): remove some commented code.
11897 * buffer.C (runChktex): use LFUN_MESSAGE
11899 * ShareContainer.h: inherit privately from noncopyable
11901 * ParagraphParameters.[hC] (depth): inline it.
11903 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11905 (message): new method
11906 (messagePush): ditto
11907 (messagePop): ditto
11908 (show): init minibuffer
11909 (showState): direct call
11911 * LaTeX.[Ch]: inherit privately from noncopyable
11912 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11913 instead of WriteStatus.
11915 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11917 * BufferView_pimpl.C (buffer): don't init minibuffer
11918 (workAreaButtonPress): use LFUN_MESSAGE
11919 (workAreaButtonRelease): ditto
11920 (savePosition): ditto
11921 (restorePosition): ditto
11922 (MenuInsertLyXFile): ditto
11923 (workAreaExpose): don't init minibuffer
11924 (update): remove commented code, simplify
11926 * BufferView2.C (openStuff): use LFUN_MESSAGE
11927 (toggleFloat): ditto
11930 (copyEnvironment): ditto
11931 (pasteEnvironment): ditto
11936 (updateInset): remove some commented code
11938 * lastfiles.h: inherit privately from noncopyable
11941 * lyx_main.h: ditto
11943 * lyxlex_pimpl.h: ditto
11945 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11946 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11947 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11949 * LyXAction.h: inherit privately from noncopyable, add methods
11950 func_begin, func_end, returning iterators to the func map.
11952 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11953 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11954 (func_begin): new method
11955 (func_end): new method
11957 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11959 (copySelection): ditto
11960 (pasteSelection): ditto
11962 * BufferView.C: whitespace change
11963 * BufferView.h: inherit privately from noncopyable
11965 2001-04-16 Allan Rae <rae@lyx.org>
11967 * tabular-old.C (l_getline):
11968 * spellchecker.C (sc_check_word):
11969 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11970 an unrecognised preprocessor directive. So ensure they're wrapped.
11972 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11974 * src/exporter.C (Export): Give an error message when path to file
11977 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11979 * LaTeX.C (deplog): Always check that foundfile exists.
11981 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11984 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11986 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11988 * tabular.[Ch] (getLabelList): implement new method
11990 * minibuffer.h: comment ouf setTiimer
11992 * minibuffer.C (ExecutingCB): constify res
11993 (peek_event): constify s
11994 (Set): constify ntext
11995 (Init): constify nicename
11997 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11999 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12000 (savePosition): use two params to Minibuffer::Set
12001 (restorePosition): ditto
12003 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12005 * lyx_main.C: include language.h
12007 * Makefile.am (lyx_main.o): add language.h
12009 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12015 * CutAndPaste.C: include gettext.h
12017 * lyxfont.h: remove old hack with ON and OFF.
12020 * lyxfont.h: do not include language.h...
12025 * bufferview_funcs.C:
12031 * paragraph.C: ... but do it here instead
12033 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12035 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12037 * tabular.C: small reformat
12039 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12042 (BreakParagraph): ditto
12043 (SetOnlyLayout): ditto
12046 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12049 * lastfiles.C: removed most using decl, add std:: where needed
12051 * buffer.C: ws changes
12053 * MenuBackend.C (class compare_format): put into anon namespace
12054 (expand): constify label, names, action, action2
12057 * text.C (SingleWidth): constify font
12058 (IsBoundary): constify rtl2
12059 (GetVisibleRow): constify ww
12061 * LaTeX.C (deplog): constify logfile
12063 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12065 (workAreaExpose): constify widthChange, heightChange
12067 * lyxrow.C (par): moved
12070 * lyxrow.h: as inlines here
12072 * lyxfont.h (shape): moved from lyxfont.C
12073 (emph): moved from lyxfont.C
12075 * lyxfont.C (LyXFont): use initialization list for all
12077 (shape): move to lyxfont.h as inline
12078 (emph): move to lyxfont.h as inline
12081 2001-04-04 Juergen Vigna <jug@sad.it>
12083 * vspace.C: had to include stdio.h for use of sscanf
12085 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12088 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12089 independent of xforms.
12091 2001-04-02 Juergen Vigna <jug@sad.it>
12093 * spellchecker.C: fixed namespace placing!
12095 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12097 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12098 the LyXParagraph * is 0.
12100 2001-03-29 Juergen Vigna <jug@sad.it>
12102 * vspace.C: added support for %, c%, p%, l%.
12103 (stringFromUnit): added helper function.
12104 (asLatexString): changed to give right results for the %-values.
12106 * buffer.C: convert the widthp in a width%.
12108 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12110 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12113 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12114 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12116 * lyx_cb.[Ch]: see above.
12118 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12122 * lyx.[Ch]: replaced by figure_form.[Ch].
12126 * lyxfunc.C: changed headers associated with above changes.
12128 2001-03-27 Juergen Vigna <jug@sad.it>
12130 * BufferView_pimpl.C: set the temporary cursor right!
12132 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12134 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12136 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12138 * LString.h: removed "using std::getline"!
12140 * BufferView_pimpl.C (Dispatch): changes due to changes in
12141 InsetInclude::Params.
12143 * buffer.C (tag_name): removed redundant break statements as they were
12144 producing lots of warnings with my compiler.
12146 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12148 * LString.h: add "using std::getline" when using the real <string>.
12150 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12152 * buffer.C: removed bitset usage.
12153 PAR_TAG moved to an anonymous name space.
12154 (tag_name): new funtion, also in the anonymous namespace.
12155 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12156 (makeDocBookFile): clean code. Completed transition from string arrays
12158 (SimpleDocBookOnePar): code clean.
12160 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12162 * tabular.C: add some comments.
12164 2001-03-22 Juergen Vigna <jug@sad.it>
12166 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12167 compatibility read a bit and fixed bug with minipage in different
12170 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12172 * buffer.C (pop_tag): removed.
12173 (push_tag): removed.
12174 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12175 array replaced with vector. Added support for CDATA sections.
12176 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12178 (makeDocBookFile): XML conformant declaration of CDATA section,
12179 fixed bug related to <emphasis> in the first paragraph char.
12180 (sgmlOpenTag): exclude empty tags.
12181 (sgmlCloseTag): ditto.
12183 * buffer.h (pop_tag): removed.
12184 (push_tag): removed.
12186 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12188 * language.h (Languages): added size_type and size().
12190 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12192 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12193 response on compability reading of minipages. One probliem is that
12194 the old usage of minipages was «flertydig»
12196 * several files here and in subdirs: don't use static at file
12197 scope use anon namespaces instead.
12199 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12201 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12202 LaTeX output. This is necessary for Literate document
12205 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12207 * buffer.C: insert hfill when needed.
12209 * tabular.C (l_getline): use string::erase, small whitespace change.
12211 * BufferView_pimpl.C: try the anon namespace.
12212 * WorkArea.C: ditto
12214 2001-03-16 Juergen Vigna <jug@sad.it>
12216 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12217 otherwise it won't open options-dialogs.
12219 * buffer.C: honor pextraWidth(p) on converting minipages.
12221 * tabular.C (l_getline): changed the functions to strip trailing \r.
12223 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12225 * BufferView_pimpl.C:
12226 * minibuffer..C: added "using SigC::slot" declaration.
12228 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12230 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12236 * paragraph.C: ditto
12238 * lyxtext.h: NO_PEXTRA
12240 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12242 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12243 * ParameterStruct.h: ditto
12244 * ParagraphParameters.h: ditto
12245 * lyxparagraph.h: ditto
12247 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12249 * buffer.C: add compability for minipage alignment.
12250 (latexParagraphs): remove unwanted pextra check.
12252 * several files: remove CXX_WORKING_NAMESPACES
12254 * buffer.C (pop_tag): tie is in namespace boost
12256 * BufferView.h: noncopyable is in namespace boost
12258 * lyx_main.h: ditto
12261 * lastfiles.h: ditto
12262 * bufferlist.h: ditto
12263 * ShareContainer.h: ditto
12265 * LyXAction.h: ditto
12268 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12270 * Merging changes from BRANCH_MVC back into HEAD.
12272 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12274 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12276 * BufferView_pimpl.C: change from intl.C
12280 * Makefile.am: move combox.*
12286 * intl.C: remove dialog (covered by prefs)
12288 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12290 * lyxfunc.C (Dispatch): removed redundant break statement.
12292 2001-03-14 Juergen Vigna <jug@sad.it>
12294 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12296 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12298 * buffer.C: add hack to fix compability reading of minipages.
12300 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12302 * buffer.C (getLists): Cleanup.
12304 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12306 * lyxfont.C (update): don't honor toggleall on font size.
12308 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12312 * Makefile.am: moved to frontends/xforms/
12316 * BufferView_pimpl.C: changes for moved mathpanel
12318 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12320 * gettext.h: fix gettext_init() in --disable-nls
12322 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12324 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12326 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12329 * lyx.h: strip external form
12331 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12333 * BufferView_pimpl.C: add comment, destroySplash()
12335 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12337 * BufferView_pimpl.C:
12341 * lyxfunc.C: use re-worked insetinclude
12343 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12345 * buffer.C: add using std::stringstream.
12347 * lyx_cb.C: readd using std::ios.
12349 * buffer.C: add using std::map.
12351 * BufferView_pimpl.C: add using std::vector.
12353 * ShareContainer.h: add std:: to swap.
12355 * buffer.h: add some typedefs
12356 * buffer.C (getLists): use them
12357 (getLists): renamed from getTocList.
12358 add a counter for the different float types and use it in the
12360 (getLists): use the same counter for the NEW_INSETS and the "non"
12363 * lyx_cb.h: remove unused items, includes, using etc.
12365 * ShareContainer.h: remove some commented code, add more comments
12366 and "documentation".
12368 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12370 * buffer.C (getTocList): make the list also when NEW_INSETS is
12373 * buffer.h: remove TocType
12375 * buffer.C (getTocList): change to return a map<string,
12376 vector<TocItem> >, implement for dynamic number of list.
12378 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12379 * text2.C (PasteSelection): adjust
12380 * CutAndPaste.C (pasteSelection): adjust
12382 * FloatList.C (FloatList): update from the new_insets branch.
12383 * Floating.[Ch]: ditto
12384 * LaTeXFeatures.C: ditto
12386 * lyxlex_pimpl.C: ditto
12388 * paragraph.C (Last): remove when NEW_INSETS is defined.
12390 * other file: changes because of the above.
12392 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12394 * lyxparagraph.h: rename next to next_, previous to previous_,
12395 make them private for NEW_INSETS. Rename Next() to next(),
12396 Previous() to previous().
12398 * other files: changes because of the above.
12400 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12403 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12406 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12408 * main.C (main): pass lyx_localedir to gettext_init().
12410 * gettext.h: remove locale_init and gettext_init macros
12412 * gettext.C (locale_init): new function
12413 (gettext_init): new function
12415 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12418 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12420 * Moved credits to frontends:
12421 * credits.[Ch]: removed
12422 * credits_form.[Ch]: removed
12423 * lyx_gui_misc.C: remove credits stuff
12426 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12428 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12430 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12431 unneeded destructor.
12433 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12434 a standalone pointer again.
12436 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12438 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12444 * ToolbarDefaults.C:
12453 * BufferView_pimpl.C: use new file dialog in GUII
12456 * lyx_cb.C: remove LayoutsCB to Toolbar
12458 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12460 * ShareContainer.h (get): add std:: qualifier
12462 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12464 * ShareContainer.h: define a proper ShareContainer::value_type
12465 type (and use typename to please compaq cxx)
12467 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12469 * lyxparagraph.h: move serveral local vars to
12470 ParameterStruct/ParagraphParameters., use ShareContainer in
12471 FontTable., make vars in FontTable private and add getter and
12474 * paragraph.C: changes because of the above.
12476 * lyxfont.h: remove copy constructor and copy assignment. (the
12477 default ones is ok), move number inside FontBits. move inlines to
12480 * lyxfont.C: add number to initializaton of statics, move several
12481 inlines here. constify several local vars. some whitespace
12482 cleanup. Dont hide outerscope variables.
12484 * Spacing.h: add two new constructors to match the set methods.
12486 * ShareContainer.h: new file, will perhaps be moved to support
12488 * ParameterStruct.h: new file
12490 * ParagraphParameters.h: new file
12492 * ParagraphParameters.C: new file
12494 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12495 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12497 * BufferView_pimpl.C: ParagraphParameter changes.
12498 * buffer.C: Likewise.
12499 * bufferview_funcs.C: Likewise.
12500 * text.C: Likewise.
12501 * text2.C: Likewise.
12503 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12505 * lyxfind.C (LyXReplace): do not redefine default argument in
12507 (IsStringInText): ditto
12508 (SearchForward): ditto
12509 (SearchBackward): ditto
12511 2001-03-06 Juergen Vigna <jug@sad.it>
12513 * lyxfind.C (IsStringInText): put parentes around expressions.
12515 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12517 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12519 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12521 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12523 * stl_string_fwd.h: add comment
12525 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12528 * tabular.C: remove unused DocBook methods
12534 killed DO_USE_DEFAULT_LANGUAGE
12536 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12538 * lyx_gui.C: do not include language.h.
12540 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12541 arguments in function implementation.
12543 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12545 * BufferView_pimpl.C: add <ctime>
12547 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12549 * BufferView_pimpl.C: add using std::find_if
12551 2001-02-27 José Matos <jamatos@fep.up.pt>
12553 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12556 2001-02-11 José Matos <jamatos@fep.up.pt>
12558 * buffer.C (makeDocBookFile): command styles now have a parameter as
12559 "title" by default.
12561 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12563 * layout_forms.[Ch]: removed
12564 * lyx_cb.[Ch]: out character
12565 * lyx_gui.C: out character
12566 * lyx_gui_misc.C: out character
12567 * bufferview_funcs.C: : out character,
12568 added toggleall as parameter in ToggleAndShow
12570 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12572 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12574 * text2.C (SetCurrentFont): Disable number property at boundary.
12576 2001-02-26 Juergen Vigna <jug@sad.it>
12578 * lyxfunc.C (getStatus): added a string argument override function so
12579 that this is correctly called from LyXFunc::Dispatch if it contains a
12580 do_not_use_argument which is used!
12581 (Dispatch): added check for "custom" export and call appropriate func.
12583 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12585 * lyxrc.C: Add language_command_local, language_use_babel and
12586 language_global_options.
12588 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12590 * buffer.C (makeLaTeXFile): Use language_use_babel and
12591 language_global_options.
12593 2001-02-23 Juergen Vigna <jug@sad.it>
12595 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12596 which works with LyXText and putted it inside BufferView. Here now we
12597 only call for that part the BufferView::Dispatch() function.
12599 * BufferView.C (Dispatch): added.
12601 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12602 functions which needs to use a LyXText over from LyXFunc.
12603 (MenuInsertLyXFile): added
12604 (getInsetByCode): added
12605 (moveCursorUpdate): added
12606 (static TEXT): added
12608 2001-02-22 Juergen Vigna <jug@sad.it>
12610 * BufferView_pimpl.C (update): call a status update to see if LyXText
12613 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12615 * vc-backend.C (revert): implement for CVS
12616 (getLog): implement for CVS
12618 2001-02-20 Juergen Vigna <jug@sad.it>
12620 * text2.C (ClearSelection): added BufferView param for inset_owner call
12622 * lyxfunc.C (TEXT): added this function and use it instead of
12623 directly owner->view()-text of getLyXText().
12625 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12627 * src/layout_forms.C: out preamble
12628 * src/layout_forms.h: out preamble
12629 * src/lyx_cb.C: out preamble
12630 * src/lyx_cb.h: out preamble
12631 * src/lyx_gui.C: out preamble
12632 * src/lyx_gui_misc.C: out preamble
12633 * src/lyxfunc.C: connect with guii preamble
12635 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12637 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12639 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12641 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12642 whether to run bibtex.
12644 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12646 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12648 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12650 * Makefile.am (lyx_SOURCES): removed bibforms.h
12652 * vspace.h: doxygen
12654 * text.C (GetVisibleRow): make several local vars const
12656 * tabular.C: small cleanup.
12658 * lyxserver.C (callback): use compare instead of strncmp
12660 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12661 inlines to after class or to paragraph.C
12663 * lyxfont.h: remove friend operator!=
12665 * converter.h: move friend bool operator< to non friend and after
12668 * combox.h: small cleanup
12670 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12671 to inlines after class def.
12673 * buffer.C (pop_tag): use string operations instead of strcmp
12675 * bmtable.c: doxygen, small cleanup
12677 * LaTeX.h: remove friend operator==
12679 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12691 * BufferView_pimpl.C:
12692 * BufferView.[Ch]: remove cruft
12694 2001-02-14 Juergen Vigna <jug@sad.it>
12696 * lyxfunc.C: removed #if 0 unused code
12698 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12700 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12702 * text2.C (SetSelection): added a BufferView * parameter
12704 2001-02-13 Juergen Vigna <jug@sad.it>
12706 * lyxfunc.C (Dispatch): fixed protected blank problem.
12707 * BufferView2.C (protectedBlank): added LyxText * parameter.
12709 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12710 (AppendColumn): same as above for column_info.
12712 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12713 (moveCursorUpdate): use a LyXText param for support of InsetText.
12715 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12716 (tripleClick): ditto
12718 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12720 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12722 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12724 * text2.C (SetSelection): set correct update status if inset_owner
12725 (ToggleFree): ditto
12727 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12729 * tabular.C: remove some commented code.
12731 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12733 * BufferView_pimpl.C: call hideSplash()
12735 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12738 * bibforms.h: remove
12741 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12742 add LFUN_CHILD_CREATE
12744 * counters.h: fix tiny typo
12749 * lyx.C: move splash to frontends/xforms/
12751 * lyx_gui_misc.C: move Include and Bibform to frontends
12753 * lyxvc.h: clarify comment
12755 * vspace.C: tiny housekeeping
12757 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12759 * text.C (PrepareToPrint): RTL Fix.
12761 * paragraph.C (GetUChar): New method.
12762 (String): Use GetUChar.
12764 * buffer.C (asciiParagraph): Use GetUChar.
12766 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12768 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12770 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12773 * buffer.C: rename to getLogName(), handle
12774 build log / latex log nicely
12776 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12779 * MenuBackend.h: remove support for reference menuitem type.
12781 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12783 * BufferView_pimpl.C: housekeeping
12784 * BufferView_pimpl.h:
12789 * minibuffer.h: move Timeout GUI-I
12791 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12793 * lyxrc.C (read): Update converters data-structures.
12795 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12797 * LaTeX.h (operator!=): add operator != for Aux_Info
12799 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12801 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12803 * LaTeXLog.C: deleted, useful code moved to Buffer
12806 * buffer.C: new function getLatexLogName()
12812 * lyxfunc.C: use frontends for LaTeX and VC logs
12814 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12816 * LaTeX.h: yet another std:: that Allan forgot.
12818 * Variables.C (set): renamed from isset(), because this clashes
12819 with some HP-UX macros (grr).
12821 2001-02-06 Allan Rae <rae@lyx.org>
12823 * LaTeX.h: Another bug fix. Missing std:: this time.
12825 2001-02-04 Allan Rae <rae@lyx.org>
12827 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12828 floats problem. I've left it commented out because it's not quite
12829 correct. It should also test that the current object is a table or
12830 figure inset. But I haven't gotten around to figuring out how to do
12831 that. I *think* it'll be something like: "table" == inset.type()
12833 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12836 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12838 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12839 all the citation/databases/styles in the auxilary file.
12840 (run): Rerun latex if there was a babel language error.
12842 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12844 * text.C (Backspace): Preserve the font when changing newline char
12846 (BreakParagraph): If the cursor is before a space, delete the space.
12848 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12850 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12852 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12853 new argument (code).
12854 (ChangeCitationsIfUnique): New method.
12856 * paragraph.C (GetPositionOfInset): Handle bibkey.
12858 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12860 * BufferView_pimpl.h: change type of Position::par_pos to
12861 LyXParagraph::size_type.
12863 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12865 * BufferView_pimpl.C (savePosition, restorePosition): Write
12866 messages to minibuffer.
12868 2001-01-28 José Matos <jamatos@fep.up.pt>
12870 * buffer.C (makeDocBookFile): adds support for document language.
12871 A silly restriction on the name of LatexCommand types where removed.
12872 Added support for CDATA sections, allows to chars unescaped, used
12873 among others in code, to avoid escape < and >.
12875 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12877 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12878 saved positions instrad of a stack. Furthermore, a position is
12879 stored using paragraph id/paragraph position.
12881 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12882 Remove LFUN_REF_BACK.
12884 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12886 * converter.C (dvipdfm_options): New method.
12888 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12890 * vspace.C (isValidLength): Fix for empty input string.
12892 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12894 * LyXAction.C (init): change description of LFUN_FIGURE to
12897 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12899 * LaTeX.C: add using directive
12901 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12903 * MenuBackend.C (expand): Fix the sorting of the formats.
12905 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12907 * lyx_main.C: tiny error message fix
12909 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12911 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12912 calling fl_initialize(). This fixes the problem with ',' as
12913 decimal separator in text files.
12915 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12917 * trans.C (process): Fix the keymap bug.
12919 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12921 * LaTeX.C (scanAuxFiles): New method. Provides support for
12922 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12923 (scanLogFile) Scan for "run BibTeX" messages.
12925 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12926 OT1 font encoding. Also, load the aecompl package if the ae
12929 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12931 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12933 * texrow.C (increasePos): turn two error messages into debug
12936 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12938 * LaTeX.C (scanAux): Handle the \@input macro.
12939 (runBibTeX): Use scanAux().
12941 * language.C (latex_options_): New field.
12943 * LaTeXFeatures.C (getMacros): Add language macros.
12945 * buffer.C (makeLaTeXFile): Small fix.
12947 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12949 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12951 * text2.C: add a using directive.
12953 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12958 * lyxfunc.C: kill LyXBell.
12960 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12962 * text.C (IsBoundary): Remove the error message
12964 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12966 * lyxrc.C (setDefaults): Correct initialization value for
12969 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12971 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12974 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12975 and GotoNextNote().
12977 * src/LyXAction.C: Added reference-next.
12979 * text.C (InsertChar): Use contains instead of strchr.
12981 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12983 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12985 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12986 alignment commands (when needed).
12988 * text.C (InsertChar): Add ':' to number separator chars.