1 2003-10-06 Angus Leeming <leeming@lyx.org>
3 * LColor.h: Add missing #include <string>.
5 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7 * All most all file in all subdirs: Make <string> be the prefered
8 way of getting to std::string, add using declarations.
10 2003-10-06 André Pönitz <poenitz@gmx.net>
12 * metricsinfo.C: initialize LyXFont before changing attribute.
13 (fixes the 'math in \emph is upright' bug)
15 2003-10-06 André Pönitz <poenitz@gmx.net>
17 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
19 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
22 * paragraph_pimpl.C: Small fixes to build using STLport
24 2003-10-02 André Pönitz <poenitz@gmx.net>
27 * text3.C: move handling of LFUN_DEPTH *; fix #1360
29 2003-10-01 André Pönitz <poenitz@gmx.net>
31 * factory.C: assert early
33 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
35 * lyx_main.C: remove the global debug object
37 * debug.h: adjust for new debugstream
39 * debug.C: adjust for new debugstream and keep the global debug
42 2003-09-22 Angus Leeming <leeming@lyx.org>
44 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
45 of g++ which otherwise complain that the scoped_ptr destructor can't delete
46 an incomplete class LyXFont.
48 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
50 * factory.C: bug fix in branches
52 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
54 * lyxfunc.C (processKeySym): adjust
56 (dispatch): change arg name from ev to func, adjust
57 (sendDispatchMessage): ditto
59 * lyx_main.C (defaultKeyBindings): adjust keybindings
60 (deadKeyBindings): ditto
62 * kbsequence.C (addkey): return a FuncRequest
64 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
66 * kbmap.C (bind): take a FuncRequest as arg, adjust
69 (defkey): change to take a FuncRequest as arg, adjust
70 (findbinding): take a FuncRequest as arg, adjust.
72 * funcrequest.h (operator=): added
74 * funcrequest.C (FuncRequest): default kb_action changed from
75 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
77 * buffer.C (dispatch): simplify
78 (dispatch): adjust to take a FuncRequest as arg, adjust
80 * boost.C (assertion_failed): change assertion message slightly
82 * ToolbarBackend.C (read): simplify
84 * MenuBackend.C (binding): adjust call to findbinding, add a
85 message if no binding is found.
87 (expandToc): correct by adding a empty FuncRequest
89 * LyXAction.C: include <boost/assert.hpp>
90 (isPseudoAction): delete function
91 (LookupFunc): change name to...
92 (lookupFunc): this. change return type to FuncRequest.
93 (getActionName): take kb_action as arg, simplify
94 (funcHasFlag): add an assert, simplify.
96 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
98 * toc.C (action): return a FuncRequest, simplify
100 * lyxfunc.C (processKeySym): adjust
101 (getStatus): delete version that takes an int.
103 (dispatch): delete version that takes action as int
105 (sendDispatchMessage): simplify and adjust
107 * funcrequest.C (getArg): take unsigned int as arg
109 * ToolbarBackend.C (read): adjust
110 (add): delete version that takes func as a string.
111 (getIton): take a FuncRequest as arg
113 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
116 * MenuBackend.C (MenuItem): add a new construct that only takes a
117 Kind, simplify the constructor use for submenus.
119 (expandLastfiles): adjust
120 (expandDocuments): adjust
121 (expandFormats): adjust
122 (expandFloatListInsert): adjust
123 (expandFloatInsert): adjust
124 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
126 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
127 Remove class variables lyx_pseudo_map and lyx_arg_map
129 * LyXAction.C (searchActionArg): delete function
130 (getPseudoAction): delete function
131 (retrieveActionArg): delete function
132 (LookupFunc): make it return kb_action, simplify.
133 (getActionName): simplify
135 * factory.C (createInset): fix new bug
137 2003-09-19 Angus Leeming <leeming@lyx.org>
139 * CutAndPaste.C (pasteSelection): remove fudge used to set the
140 masterFilename_ parameter in the include inset.
142 * factory.C (createInset): changes due to the changes to InsetInclude.
144 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
146 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
148 2003-09-18 Angus Leeming <leeming@lyx.org>
151 * BufferView.C: pass the buffer when calling Inset::getLabelList,
152 Inset::fillWithBibKeys.
153 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
155 2003-09-18 Angus Leeming <leeming@lyx.org>
157 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
159 (ctor): pass and store a 'Buffer const &'
160 (buffer): new member function.
162 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
163 '*this' to the LaTeXFeatures ctor.
165 2003-09-18 Angus Leeming <leeming@lyx.org>
171 * text.C: rename EnumLColor as LColor_color.
173 2003-09-18 Angus Leeming <leeming@lyx.org>
175 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
176 remove #include "insets/insetbase.h" from cursor.h.
178 2003-09-18 Angus Leeming <leeming@lyx.org>
180 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
181 InsetOld_code to remove #include "inset.h".
183 * iterators.C: add #include "insets/inset.h"
185 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
187 * BufferView.C: remove more locking stuff that apparently doesn't
188 do anything sensible.
190 2003-09-16 André Pönitz <poenitz@gmx.net>
193 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
196 2003-09-16 Angus Leeming <leeming@lyx.org>
198 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
200 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
203 * paragraph.h: remove #include "lyxfont.h". Forward declare
206 2003-09-16 Angus Leeming <leeming@lyx.org>
208 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
209 of support/textutils.h.
210 (isWord): move the contents of support/textutils.h's IsWordChar here.
216 * text2.C: add #include "paragraph.h".
219 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
221 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
227 * LaTeX.C: use namespace alias for lyx::support::os
229 2003-09-16 Angus Leeming <leeming@lyx.org>
232 * bufferview_funcs.C:
237 * text.C: add #include "LColor.h".
239 2003-09-16 Angus Leeming <leeming@lyx.org>
241 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
242 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
244 Store the FontBits::color variable as an int rather than as an
245 LColor::colorso that we can move LColor.h out of the lyxfont.h header
248 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
249 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
250 string calls together.
252 * lyxrc.C: add #include "LColor.h".
254 2003-09-15 Angus Leeming <leeming@lyx.org>
256 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
259 2003-09-15 Angus Leeming <leeming@lyx.org>
261 * LColor.h: add an EnumLColor wrapper for LColor::color.
263 * lyxfont.[Ch] (color, setColor, realColor):
264 * lyxtext.h, text.C (backgroundColor):
265 pass EnumLColor args to/from the functions, rather than LColor::color
269 * lyxtext.h: forward declare EnumLColor.
271 * lyx_main.C: add #include "LColor.h".
273 2003-09-15 Angus Leeming <leeming@lyx.org>
275 * .cvsignore: add lyx-gtk.
277 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
282 * ParagraphParameters.C
296 * vc-backend.C: remove usage of STRCONV
298 2003-09-15 Angus Leeming <leeming@lyx.org>
300 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
301 explicitly define the color passed to the painter.
303 2003-09-15 Angus Leeming <leeming@lyx.org>
305 * bufferparams.C (BufferParams): reorder member initializers to avoid
308 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
310 * CutAndPaste.C (pasteSelection): remove an outdated #warning
311 * text.C (updateRowPositions): remove an unusual nop
313 2003-09-12 André Pönitz <poenitz@gmx.net>
315 * BufferView_pimpl.C:
324 * Counters.[Ch]: finish the 'automatic counters' job
326 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
328 * aspell.C: include <boost/assert.cpp> (compile fix)
330 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
332 * boost.C (assertion_failed): use lyx::support::abort instead of
335 2003-09-10 Angus Leeming <leeming@lyx.org>
337 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
338 with their _fwd progeny.
340 2003-09-09 Angus Leeming <leeming@lyx.org>
342 134 files throughtout the source tree: replace 'using namespace abc;'
343 directives with the appropriate 'using abc::xyz;' declarations.
345 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
347 * boost.C (emergencyCleanup): moved here from LAssert.c
348 (assertion_failed): new function, called by BOOST_ASSERT
350 * several files: change Assert to BOOST_ASSERT
352 2003-09-09 Angus Leeming <leeming@lyx.org>
354 * buffer.[Ch]: Add an Impl class and move Buffer's member
355 variables into it. As a result move several header files out of
358 Add header files to lots of .C files all over the tree as a result.
360 2003-09-09 Angus Leeming <leeming@lyx.org>
362 * buffer.[Ch]: make Buffer's member variables private. Add
365 Lots of changes all over the tree as a result.
367 2003-09-08 Angus Leeming <leeming@lyx.org>
369 * graph.C: #include <config.h>.
371 2003-09-08 Angus Leeming <leeming@lyx.org>
375 * BufferView_pimpl.C:
404 * toc.C: remove redundant using directives.
406 2003-09-07 Angus Leeming <leeming@lyx.org>
408 * LaTeXFeatures.h: remove #include "support/types.h".
409 * ToolbarBackend.h: remove #include <algorithm>.
410 * changes.h: remove #include <ctime>.
411 * debug.h: remove #include <iosfwd>.
412 * graph.h: remove #include "support/std_string.h".
413 * lyx_main.h: remove #include <csignal>.
414 * lyxlex_pimpl.h: remove #include <fstream>.
415 * sgml.h: remove #include <algorithm>, <utility>.
416 * toc.h: remove #include "support/std_ostream.h".
417 Add #include <iosfwd>.
419 2003-09-07 Angus Leeming <leeming@lyx.org>
421 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
423 * converter.h: forward declare LatexRunParams.
424 * encoding.h: remove #include "lyxrc.h".
425 * lyxtext.h: remove #include "LColor.h".
426 * lyxtextclass.h: remove #include "support/types.h".
427 * trans.h: remove #include "tex-accent.h".
428 * trans_mgr.h: remove #include "tex-accent.h".
429 * insets/inset.h: remove #include "support/types.h", <vector>.
430 * insets/insetcollapsable.h: remove #include "LColor.h".
431 * insets/insetinclude.h: remove #include "dimension.h".
432 * insets/insetlatexaccent.h: remove #include "dimension.h".
433 * insets/insetoptarg.h:: remove #include "insettext.h".
434 * insets/insettext.h: remove #include "dimension.h",
435 <boost/shared_ptr.hpp>
437 * insets/renderers.h: add #include "dimension.h".
438 * insets/updatableinset.h: add #include "support/types.h".
440 * many .C files: Associated changes.
442 2003-09-06 Angus Leeming <leeming@lyx.org>
444 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
445 one, inside testInvariant.
447 * PrinterParams.C: new file.
448 * PrinterParams.[Ch]: move the function bodies out of line.
450 2003-09-06 Angus Leeming <leeming@lyx.org>
452 * ParagraphParameters.h: forward declare ParameterStruct rather than
453 including its header file.
454 (depth): moved out-of-line.
456 2003-09-06 Angus Leeming <leeming@lyx.org>
458 * BufferView_pimpl.h:
461 * lyxfunc.h: forward declare LyXKeySym rather than
462 #include "frontends/LyXKeySym.h".
464 * BufferView_pimpl.C:
467 * lyxfunc.C: associated changes.
469 2003-09-06 Angus Leeming <leeming@lyx.org>
471 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
472 As a result, can remove the #include "insets/inset.h" from BufferView.h
474 2003-09-06 Angus Leeming <leeming@lyx.org>
476 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
477 As a result, can remove the #include "insets/inset.h" from BufferView.h
479 2003-09-06 Angus Leeming <leeming@lyx.org>
485 * bufferview_funcs.C:
486 * BufferView_pimpl.C:
491 * ParagraphParameters.C:
496 * frontends/controllers/ControlDocument.C:
497 * insets/insetcaption.C: rearrange the #includes into some sort of
500 * buffer.h: remove #includes ErrorList.h, undo.h
502 2003-09-06 Angus Leeming <leeming@lyx.org>
504 * support/types.h: add a 'depth_type' typedef, used to store the
505 nesting depth of a paragraph.
508 * ParameterStruct.h: use this lyx::depth_type typedef rather than
513 * ParagraphParameters.h:
514 * sgml.h: use lyx::depth_type rather than Paragraph or
515 ParameterStruct's depth_type.
518 * paragraph_funcs.h: no need to #include paragraph.h anymore.
521 * BufferView_pimpl.C:
523 * ParagraphParameters.C:
526 * bufferview_funcs.C:
533 * frontends/LyXView.C:
534 * frontends/controllers/ControlDocument.C:
535 * frontends/controllers/ControlErrorList.C:
536 * insets/insetbibitem.C:
537 * insets/insetbranch.C:
538 * insets/insetcaption.C:
539 * insets/insetcollapsable.C:
542 * insets/insetfloat.C:
543 * insets/insetfoot.C:
544 * insets/insetfootlike.C:
545 * insets/insetnewline.C:
546 * insets/insetquotes.C:
547 * insets/insettabular.C:
548 * insets/insettext.C:
549 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
551 * frontends/controllers/ControlChanges.C: #include "changes.h".
553 2003-09-06 Angus Leeming <leeming@lyx.org>
555 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
556 than #including paragraph.h.
559 * RowList.h: deleted. Superfluous.
569 * insets/insettext.h: use ParagraphList_fwd.h rather than
572 * paragraph.h: don't forward declare ParagraphList.
575 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
576 rather than ParagraphList.h. paragraph.h is still needed for the
577 Paragraph::depth_type parameters.
579 * textcursor.h: enable it to compile stand-alone in light of the
582 * bufferview_funcs.C:
594 * frontends/controllers/ControlParagraph.C:
595 * frontends/controllers/ControlTabular.C:
596 * insets/insetmarginal.C:
597 * insets/insetminipage.C:
598 * insets/insetnote.C:
599 * insets/insetoptarg.C: add header files needed to compile again.
601 2003-09-06 Angus Leeming <leeming@lyx.org>
603 * RowList_fwd.h: new file, forward-declaring Row rather than
609 * insets/insettext.h: use it instead of RowList.h
611 * bufferview_funcs.C:
618 * text3.C: #include "RowList.h".
620 2003-09-05 Angus Leeming <leeming@lyx.org>
622 * factory.C (createInset):
623 * vspace.C (c-tor): replace sscanf call with an istringstream.
624 * ispell.C: re-add missing HP/UX headers.
625 * lyxserver.C: re-add missing os2 headers.
627 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
636 * text3.C: re-add missing system headers, needed for 2.95.2.
638 2003-09-05 Angus Leeming <leeming@lyx.org>
640 Changes most place everywhere due to the removal of using directives
641 from support/std_sstream.h.
643 2003-09-05 Angus Leeming <leeming@lyx.org>
645 Replace LString.h with support/std_string.h,
646 Lsstream.h with support/std_sstream.h,
647 support/LIstream.h with support/std_istream.h,
648 support/LOstream.h with support/std_ostream.h.
650 Changes resulting throughout the tree.
652 2003-09-05 Angus Leeming <leeming@lyx.org>
654 * sgml.h: ensure that the header file can be compiled stand-alone.
655 * *.C: strip out redundant #includes. (320 in total.)
657 2003-09-04 Angus Leeming <leeming@lyx.org>
659 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
660 here (from getPackages).
662 * debug.[Ch]: add a new EXTERNAL tag.
664 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
666 * text2.C (cursorEnd): simplify
668 (getColumnNearX): adjust
670 * text.C (computeBidiTables): adjust
673 * rowpainter.C (paintChars): adjust
674 (paintSelection): adjust
675 (paintChangeBar): adjust
678 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
680 (numberOfSeparators): adjust
682 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
688 * text3.C: Restricts the mouse click functionality
689 of insets like bibtex, include, toc and floatlist to the visible
690 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
691 up the dialogs. Cursor has to be in front of the inset (i.e.
692 start of row) for this to function.
694 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
696 * bufferview_funcs.C (currentState): output row information
698 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
700 * bufferview_funcs.C (currentState): output paragraph position
702 2003-09-04 Angus Leeming <leeming@lyx.org>
704 * FloatList.h: move out #include "Floating.h".
705 * LaTeX.h: move out #include "DepTable.h".
706 * LyXAction.h: move out #include "funcrequest.h".
707 * buffer.h: move out #include "author.h", "iterators.h".
708 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
709 * lyx_main.h: move out #include "errorlist.h".
710 * lyxfunc.h: move out #include "FuncStatus.h".
711 * lyxtext: move out #include "lyxcursor.h".
712 * paragraph_pimpl.h: move out #include "counters.h".
714 2003-09-03 Angus Leeming <leeming@lyx.org>
716 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
717 preamble_snippets list, enabling us to add snippets to the preamble
718 only if the snippet was not there already.
720 2003-09-04 Angus Leeming <leeming@lyx.org>
722 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
724 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
726 * lyxfunc.C (dispatch): if fitCursor did something be sure to
729 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
731 * BranchList.C: point fix, earlier forgotten
733 2003-09-02 Angus Leeming <leeming@lyx.org>
735 * box.C (contains): renamed from 'contained' after a fantastic
738 2003-09-02 John Levon <levon@movementarian.org>
744 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
746 2003-09-02 John Levon <levon@movementarian.org>
748 * text2.C: simplification of cursorEnd(), including partial
751 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
753 * buffer.C (readFile): add a space
755 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
757 * BufferView_pimpl.C (update): remove bogus fitCursor() call
759 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
761 * buffer.C (readFile): new function, take a filename and a
762 ParagraphList::iterator
764 (readFile): adjust, make it private. don't use setStream, make
765 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
766 always contain the filename.
768 * BufferView.C (insertLyXFile): simplify and make it work for
771 2003-08-30 John Levon <levon@movementarian.org>
773 * Makefile.am: fix dist (from Kayvan)
775 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
777 * most files: change to use const Buffer refs
779 2003-08-27 André Pönitz <poenitz@gmx.net>
781 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
782 on top of ownerPar().
784 2003-08-27 John Levon <levon@movementarian.org>
786 * funcrequest.C: properly initialise POD members
788 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
790 * lyxtext.h (top_y): move top_y from here
795 * BufferView_pimpl.[Ch]: to here
796 * frontends/screen.C:
797 * insets/insettabular.C:
798 * insets/insettext.C: adjust
799 * rowpainter.[Ch] (paintRows): remove LyXText & argument
801 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
804 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
806 2003-08-26 André Pönitz <poenitz@gmx.net>
808 * paragraph_func.[Ch] (outerPar): new function
814 * text2.C: remove Inset::par_owner
816 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
821 * text2.C: eliminates the needFullRow/display() stuff
822 altogether, putting the logic in metrics/draw in the insets.
824 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
826 * text2.C (redoParagraphInternal, redoParagraphs):
827 * text.C (redoParagraph): add a call to updateRowPositions at the
828 end of each 'metrics-like' call. Remove all others.
829 (getRow): remove the 'y-computing' version.
830 (getRowNearY): do not compute nor return the real y. Solve the
831 'y < 0' problem and simplify.
833 2003-08-22 Angus Leeming <leeming@lyx.org>
835 * *.[Ch]: clean-up of licence and author blurbs.
836 Also move config.h out of a few .h files and into a few .C files.
838 2003-08-22 André Pönitz <poenitz@gmx.net>
840 * lyxrow.[Ch]: add x_ and *fill_ members
845 * text2.C: adjust/remove prepareToPrint() calls
847 2003-08-22 André Pönitz <poenitz@gmx.net>
849 * lyxrow.[Ch]: add end_ member
851 * lyxrow_funcs.C: use LyXRow::end_
853 * lyxtext.h (singleWidth): add LyXFont parameter
856 * text2.C: adjust LyXText::singleWidth() calls
858 * text.C (redoParagraph): simplify row breaking logic
861 2003-08-19 André Pönitz <poenitz@gmx.net>
863 * funcrequest.C: initialize button_ member
866 * rowpainter.[Ch]: interface consolidation
868 2003-08-18 André Pönitz <poenitz@gmx.net>
871 * BufferView_pimpl.C:
875 * text3.C: remove LyXScreen::draw() and fitCursor calls
877 * BranchList.h: remove spurious semicolons
879 * MenuBackend.C: fix branchlist related crash
881 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
893 * text3.C: implements the 'branch inset'
894 idea. This allows the output of various versions of a document
895 from a single source version, selectively outputing or suppressing
896 output of parts of the text.
897 This implementation contains a 'branch list editor' in a separate
898 tab of the document settings dialog. Branches are user definable
899 and have a "display colour" to distinguish them on-screen.
901 ColorHandler was somewhat cleaned up.
902 (1) make possible a dynamically growing LColor list by allowing
903 the graphic context cache to grow along (vector);
904 (2) eliminate an IMHO unnecessary step in colour allocation.
906 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
908 * BufferView_pimpl.C: compile fix
910 2003-08-15 André Pönitz <poenitz@gmx.net>
912 * rowpainter.C: remove extra metrics calls
914 * lyxtext.h: merge the two constructors into a single one,
915 pass reference to owner's par list
917 * BufferView_pimpl.C:
921 2003-08-15 André Pönitz <poenitz@gmx.net>
931 * text_funcs.C: split LyXText::rowlist_ into individual
932 Paragraph::rows_ chunks
935 * BufferView_pimpl.[Ch]:
938 * text3.C: remove toggleSelection()
940 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
942 * bufferlist.C: beautify two alerts (shorter text of buttons)
943 * buffer.C: Remove redundant ' ' from message
945 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
946 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
947 rename VALIGN_CENTER to VALIGN_MIDDLE
949 2003-08-11 André Pönitz <poenitz@gmx.net>
951 * lyxtext.h (getPar):
952 * text.C: new function
954 2003-08-11 André Pönitz <poenitz@gmx.net>
957 * tracer.[Ch]: remove unneeded files
959 * InsetList.[Ch]: remove resizeInsetsLyXText()
964 * text3.C: merge insertParagraphs() and appendParagraph()
965 remove breakAgain(), update()
967 * BufferView_pimpl.[Ch]:
968 * bufferview_funcs.[Ch]:
972 * tabular.C: adjust after text & InsetList changes.
974 2003-08-08 André Pönitz <poenitz@gmx.net>
976 * text.C (insertChar, backspace): replace rowlist fiddling
977 with rebreak of full par
980 * text.C (breakAgainOneRow, redoHeightOfParagraph,
981 checkParagraph, updateInset): removed
983 2003-08-07 André Pönitz <poenitz@gmx.net>
986 * text3.C: merge some LFUN handlers, remove dead code
988 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
990 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
992 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
994 * text2.C (DEPM): fix part of bug 1255 and 1256
996 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
998 * BufferView_pimpl.C (workAreaDispatch): change to use
999 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1000 that are no mouse related.
1002 2003-08-05 André Pönitz <poenitz@gmx.net>
1005 * BufferView_pimpl.[Ch]:
1006 * bufferview_funcs.C:
1008 * text3.C: rip out "deep update"
1010 * textcursor.[Ch] (last_sel_cursor): remove unused member
1012 2003-08-04 André Pönitz <poenitz@gmx.net>
1015 * BufferView_pimpl.[Ch]:
1016 * ParagraphParameters.C:
1017 * bufferview_funcs.C:
1023 * text3.C: replace "complicated" BufferView::update(...) calls with
1026 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1028 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1030 * Makefile.am (lyx_SOURCES): add paper.h
1032 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1034 * Makefile.am: move things around so that both lyx-qt and
1035 lyx-xforms can be built (according to --with-frontend). Then lyx
1036 is a symbolic link to lyx-[firstfrontend]
1038 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1040 * Always use std::endl with lyxerr
1042 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1044 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1046 2003-08-01 André Pönitz <poenitz@gmx.net>
1049 * BufferView_pimpl.[Ch]:
1051 * text3.C: merge BufferView::repaint() and BufferView::update()
1053 2003-08-01 José Matos <jamatos@lyx.org>
1055 * buffer.[Ch]: file_format is no longer a buffer data element.
1057 2003-08-01 André Pönitz <poenitz@gmx.net>
1062 * text2.C: make redoParagraph more independent of current cursor
1064 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1066 * text2.C: remove unneeded members
1068 2003-07-30 André Pönitz <poenitz@gmx.net>
1070 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1072 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1073 create a single function...
1075 * paragraph_funcs.C (moveItem): ... here.
1078 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1080 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1082 * LColor.[Ch]: Add comment and greyedout logical colors.
1084 2003-07-30 André Pönitz <poenitz@gmx.net>
1086 * tabular.C: don't use Assert too heavily. This crashes where it
1089 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1091 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1092 is disabled (bug 1232)
1094 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1096 * factory.C: limited 'arg' scope
1098 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1100 * factory.C: fixed Note submenu issues
1102 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1104 * factory.C: submenu for Note/Comment/Greyedout
1106 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1109 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1111 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1114 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1115 greyedout. Patch provided by Jürgen Spitzmüller.
1117 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1119 * kbmap.C (read): fix error message when reading bind files
1121 2003-07-29 Angus Leeming <leeming@lyx.org>
1123 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1124 certainly does not do what it purports to do. I am doing it, and
1125 us, a favour by killing it.
1127 2003-07-28 José Matos <jamatos@lyx.org>
1129 * buffer.C (readBody, do_writeFile):
1130 * paragraph.C(readParagraph): \end_document replaces \the_end.
1132 2003-07-29 André Pönitz <poenitz@gmx.net>
1135 * BufferView_pimpl.[Ch]:
1139 * textcursor.[Ch]: remove toggleToggle & Co
1141 2003-07-28 José Matos <jamatos@fep.up.pt>
1143 * buffer.C (readParagraph):
1144 * params_func (readParToken, readParagraph):
1145 * paragraph.C (write): \layout -> \begin_layout.
1147 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1149 * lyxlex_pimpl.C (setFile): clean up slightly.
1151 * bufferparams.h: add compressed var
1153 * buffer_funcs.C (readFile): adjust for LyXLex change
1154 (newFile): ditto + simplify
1156 * buffer.C (writeFile): handle writing of compressed files
1158 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1159 Check if the file is compressed and set a bufferparm if so.
1161 * Makefile.am (lyx_LDADD): remove explicit -lz
1163 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1165 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1166 makeDocBookFile): put the real LyX version in the first line of
1170 * version.C.in: remove lyx_docversion
1172 * tabular.C (write_attribute): add a template-based version to
1173 write enums properly
1175 2003-07-28 André Pönitz <poenitz@gmx.net>
1180 * text3.C: use doubles again for x-coordinates. They are needed.
1182 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1184 * messages.C (getLocaleDir): use lyx_localedir()
1186 * lyxlex_pimpl.C (setFile): compress stuff
1188 * buffer.C (writeFile): add some compression stuff
1189 (do_writeFile): new func, dont call expliti close... will this
1192 * Makefile.am (lyx_LDADD): add -lz
1194 2003-07-28 José Matos <jamatos@fep.up.pt>
1196 * buffer.C: increment file format.
1197 * paragraph_funcs (readParagraph, readParToken):
1198 * paragraph.C (readParagraph): add \end_layout.
1200 2003-07-27 Angus Leeming <leeming@lyx.org>
1202 * Makefile.am: remove special casing for configure-time setting of
1203 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1205 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1206 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1208 2003-07-26 André Pönitz <poenitz@gmx.net>
1210 * paragraph_func.[Ch]:
1211 * paragraph.C (realizeFont): inline it whereever it is used
1216 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1219 2003-07-26 André Pönitz <poenitz@gmx.net>
1223 * text2.C: get rid of LyXText::need_break_row
1225 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1227 * toc.[Ch]: put namespace toc inside namespace lyx
1229 * MenuBackend.C (expandToc2): adjust for lyx::toc
1232 * lyxfunc.C (dispatch): adjust for lyx::find
1234 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1235 lyx::find instead. Reorganize a bit.
1236 (LyXReplace): rename to replace
1237 (LyXFind): rename to find
1239 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1242 2003-07-26 André Pönitz <poenitz@gmx.net>
1244 * text.C (setHeightOfRow): restrict scope of temporary variable
1246 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1247 code (never has been used?)
1249 2003-07-27 Asger Alstrup <alstrup@local>
1251 * text.C (fill): Optimise algorithm to exploit that we can reuse
1252 the LyXFont for many characters.
1253 (setHeightOfRow): Same thing.
1254 (rowBreakPoint): Same thing.
1256 2003-07-26 Asger Alstrup <alstrup@local>
1258 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1260 * text.C (singleWidth): Spurious font copying in hot-spot
1261 singleWidth avoided. Reorder tests for arabic for efficiency.
1263 * text.C (fill): handle empty paragraphs better.
1265 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1268 * encoding.h: add includes
1270 * lyxrc.C: remove reading of bind files
1272 * lyx_main.C (init): setup bindings and menus only if we have a
1275 * kbmap.C (read): new method. Do the actual reading of bind
1278 * converter.C (dvipdfm_options):
1281 (output): adapt PAPER_* enums.
1283 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1285 * bufferparams.h: remove paper-related enums from there
1287 * paper.h: New file. A trivial header file to hold paper-related
1288 enums. It should later expand to contain many paper-related
1291 * lyxrc.C: declare extern displayTranslator
1293 2003-07-27 José Matos <jamatos@fep.up.pt>
1295 * tabular.[Ch] (linuxdoc): add support for tables and figures
1298 2003-07-27 José Matos <jamatos@fep.up.pt>
1300 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1301 consistency in both functions.
1302 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1304 2003-07-26 Asger Alstrup <alstrup@local>
1306 * rowpainter.C (paintRows): Change algorithm to work directly on
1307 the insets rather than asking every character in the document
1308 whether its an inset.
1310 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1312 * buffer.C (openFileWrite): factorize some code
1314 2003-07-26 Angus Leeming <leeming@lyx.org>
1317 * lyx_main.[Ch]: replace occurances of system_tempdir with
1320 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1322 * rename Inset to InsetOld
1324 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1326 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1327 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1328 which I think is a bit clearer. EDIT is gone, since it was
1329 premature optimisation, and broken for mathed anyway.
1330 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1331 with cursor positioning in insets as well (math insets still do not
1332 work, but that's a different story anyway.) It mysteriously
1333 crashes sometimes with undo in the first paragraph, but I'm fairly
1334 confident that this is a compiler bug.
1336 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1338 * paragraph.C (Paragraph): adjust for new clone return type
1340 (copyIntoMinibuffer): ditto
1342 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1344 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1345 by not having a special case, and always doing a full rebreak of
1346 the document after undo.
1348 2003-07-23 Angus Leeming <leeming@lyx.org>
1350 * factory.C (createInset): InsetExternal::setParams now takes a
1353 2003-07-23 Angus Leeming <leeming@lyx.org>
1355 * factory.C (createInset): changed interface to the external and
1356 graphics mailers' string2params functions.
1358 2003-07-23 Angus Leeming <leeming@lyx.org>
1360 * factory.C (createInset): pass a
1361 Buffer const * parameter to InsetExternalMailer's string2params.
1363 2003-07-22 John Levon <levon@movementarian.org>
1365 * Thesaurus.h: include the right aiksaurus header
1367 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1369 * MenuBackend.C (expand): check menu shortcuts unconditionally
1371 2003-07-21 Angus Leeming <leeming@lyx.org>
1373 * factory.C (createInset): pass a
1374 buffer_path parameter to InsetGraphicsMailer's string2params.
1376 2003-07-21 Angus Leeming <leeming@lyx.org>
1378 * BufferView_pimpl.C (buffer):
1381 * lyxfunc.C (dispatch):
1382 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1383 rather than the grfx shortcut.
1385 2003-07-21 André Pönitz <poenitz@gmx.net>
1387 * rowpainter.C: remove unused variables
1390 * tabular_funcs.h: move to tabular.C
1391 * Makefile.am: adjust
1393 * tabular.[Ch]: basic optical cleaning
1395 * author.h: pass references, not values
1397 2003-07-18 André Pönitz <poenitz@gmx.net>
1405 * text3.C: two-phase drawing for InsetText and InsetTabular
1406 some float -> int changes.
1408 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1410 * lyx_main.C: fix the fix
1412 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1414 * lyx_main.C: fix a crash in batch mode if no files specified
1417 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1419 * format.[Ch] (papersize): moved to BufferParams
1420 * converter.[Ch] (dvips_options): moved to BufferParams
1421 (dvipdfm_options): moved to anon namespace
1422 * bufferparams.[Ch]: added above functions.
1424 2003-07-17 André Pönitz <poenitz@gmx.net>
1428 * text2.C: don't call inset->update() anymore
1430 * metricsinfo.[Ch]: add convenience constructor
1432 2003-07-16 André Pönitz <poenitz@gmx.net>
1437 * text2.C: replace the LyXCursor::irow_ member with
1438 on-demand computation of the value
1440 2003-07-16 John Levon <levon@movementarian.org>
1442 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1444 2003-07-15 André Pönitz <poenitz@gmx.net>
1447 * text2.C: remove no more needed refresh_row
1449 2003-07-15 André Pönitz <poenitz@gmx.net>
1454 * text3.C: refresh_status tristate -> need_update bool
1456 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1458 * lyxtext.h (init): remove reinit argument (act as if always true)
1459 * text2.C: adjust to that
1461 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1463 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1464 * text3.C: use it to delete selections in some cases
1465 (bugs 441, 673, 702, 954).
1467 2003-07-14 André Pönitz <poenitz@gmx.net>
1469 * rowpainter.[Ch]: reduce interface
1471 2003-07-14 André Pönitz <poenitz@gmx.net>
1473 * BufferView_pimpl.C:
1474 * text2.C: adjust after removing unused BufferView * argument
1476 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1478 * text2.C (init): fix a crash fired on resize
1480 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1482 * buffer.[Ch]: added new closing signal
1483 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1484 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1485 BufferView::Pimpl via the closing the signal
1487 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1489 * buffer.[Ch]: take out all bv-related from buffer
1491 * BufferView_pimpl.[Ch]: connect to new signals
1492 * CutAndPaste.C: removed useless asserts
1493 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1496 * lyxfunc.C: moved view-related funciontality from vc here
1497 * paragraph.C: removed outdated comments
1500 2003-07-10 André Pönitz <poenitz@gmx.net>
1502 * BufferView_pimpl.C:
1506 * text2.C: remove InsetText::InnerCache, clean up consequences
1508 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1510 * ispell.C: fix two typos in error messages
1512 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1514 * Extend Note inset to other forms of annotation like Comment
1515 and Greyedout. Right button click gives dialog.
1517 Files modified or added (+):
1521 * ControlNote.[Ch] +
1523 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1524 frontends/controllers
1528 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1530 * aspell.C: add missing namespace lyx::support
1532 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1534 * BufferView.[Ch] (newFile): Add
1535 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1536 * LaTeX.[Ch] (message): added this signal and use it
1537 * buffer.[Ch] (busy, message): added these signals and use them
1538 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1542 * importer.C: use buffer signals instead of direct bv calling
1543 * lyx_cb.[Ch] (ShowMessage): removed
1546 * paragraph_funcs.C:
1547 * text2.C: use buffer signals
1549 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1551 * introduce namespace lyx::graphics
1553 2003-07-02 André Pönitz <poenitz@gmx.net>
1555 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1557 2003-07-01 André Pönitz <poenitz@gmx.net>
1564 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1565 text*.C to text_func.C
1567 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1569 * introduce namespace lyx::support
1571 2003-06-30 André Pönitz <poenitz@gmx.net>
1576 * text.C: re-enable --with-included-string
1578 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1580 * textcursor.C: add <config.h>
1582 * text.C (getWord): remove const from word_location arg
1584 * lyxvc.C (getLogFile): fix const type order
1586 * lyxtext.h: remove const from word_location arg, add arg name
1588 * lyxlayout.h: currect type on labeltype.
1590 * importer.C: correct \file
1592 * converter.C (intToFormat): use std:: on ret val, ws changes
1594 * bufferlist.h: correct \file
1596 * buffer.C (makeLinuxDocFile): fix const type order
1597 (makeDocBookFile): ditto
1598 (fillWithBibKeys): use std:: on stdlib args.
1600 * CutAndPaste.C: fix authors.
1601 (availableSelections): use std:: on return vector
1603 2003-06-27 André Pönitz <poenitz@gmx.net>
1605 * BufferView_pimpl.C:
1606 * bufferview_funcs.C:
1614 * text3.C: remove LyXCursor::row_ member
1617 * text.C: rename fullRebreak() to partialRebreak() and implement
1618 a fullRebreak() that really bereks fully
1620 * textcursor.h: new struct for cursor-related data
1622 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1624 * lyx_main.C (LyX): get full path of document loaded on the
1627 2003-06-26 André Pönitz <poenitz@gmx.net>
1629 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1630 remove unused/broken operator>,<,>=.
1632 * text.C: remove only use of broken operator<= in an Assert().
1634 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1636 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1637 moved errorlist_.clear to showErrorList
1639 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1641 * converter.C (scanLog, runLaTeX):
1642 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1643 move the bv->showErrorList call to the callers
1644 * lyxfunc.C: i.e. here...
1646 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1647 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1648 namespace, the second to...
1649 * buffer_funcs (BufferFormat, parseErrors): added
1650 * errorlist.C (ErrorList(TeXErrors const &)): removed
1652 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1654 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1656 2003-06-24 "Garst R. Reese" <reese@isn.net>
1660 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1662 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1664 * version.C.in: change docversion to 1.4
1666 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1668 * buffer.C: fix a bug just introduced
1670 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1672 * buffer.[Ch]: added the parseError signal and use it, removed
1674 * BufferView.[Ch] (addError): moved to ...
1675 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1676 to the Buffer::parseError signal to catch (guess what) parse errors
1677 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1679 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1681 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1682 ability to create a buffer and to return an existing one from
1683 the list. Moved these functions to...
1684 * buffer_funcs.[Ch]: added
1685 * BufferView.[Ch] (loadLyXFile): added
1686 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1687 job removed from bufferlist::loadLyXFile.
1688 * buffer.C (setReadOnly): make it work without view
1689 (i.e added an if (users))
1691 2003-06-19 Angus Leeming <leeming@lyx.org>
1694 * LyXAction.C (init):
1695 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1696 with LFUN_DIALOG_SHOW <name> <data>.
1698 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1700 * CutAndPaste.C (availableSelections): small compilation fix for
1701 ancient (gcc 2.9x) compilers
1703 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1705 * text3.C (cursorNext): add tmp var
1707 * text2.C (updateCounters): for function calling out of for clause
1708 (replaceSelectionWithString): ditto
1709 (insertStringAsParagraphs): ditto
1710 (getColumnNearX): add tmp var
1711 (setCursorFromCoordinates): add tmp var
1712 (cursorDownParagraph): add tmp var
1713 (deleteEmptyParagraphMechanism): add tmp var
1715 * text.C (insertChar): add tmp var
1717 * rowpainter.C (paintDepthBar): add tmp var
1719 * CutAndPaste.C (availableSelections): potentially check all
1720 paragraphs in a cut to fill the shown strings.
1722 2003-06-18 André Pönitz <poenitz@gmx.net>
1724 * kbmap.[Ch]: use vector<> instead of list<>
1726 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1728 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1729 pasteSelection with index
1731 * text2.C (pasteSelection): modify, call pasteSelection with index
1733 * paragraph.C (asString): reimplement version with no interval to
1734 call the one with interval.
1736 * lyxtext.h: add index arg to pasteSelection
1738 * MenuBackend.C (MenuItem): handle PasteRecent
1739 (Menu::read::Menutags): add md_pasterecent
1741 (expandPasteRecent): new function
1744 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1746 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1748 (availableSelections): new function
1750 2003-06-17 Angus Leeming <leeming@lyx.org>
1752 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1754 2003-06-17 Angus Leeming <leeming@lyx.org>
1757 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1759 * lyxfunc.C (dispatch): invoke it.
1761 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1763 * iterators.C (operator++, ParPosition): reintroduce some
1764 const_cast for the benefit of older compilers.
1766 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1768 * text3.C (dispatch): do not modify clipboard when doing
1769 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1770 LFUN_DELETE_SKIP on a selection selection
1772 2003-06-16 André Pönitz <poenitz@gmx.net>
1778 * tabular.[Ch]: IU of clone() and getLabelList();
1780 2003-06-13 André Pönitz <poenitz@gmx.net>
1782 * tabular.h: compactification
1784 2003-06-12 André Pönitz <poenitz@gmx.net>
1788 * tabular_funcs.h: some renaming plus whitespace
1790 2003-06-12 André Pönitz <poenitz@gmx.net>
1793 * BufferView_pimpl.C:
1799 * toc.C: Return a Paragraph & for ParIterator::operator*()
1801 2003-06-11 John Levon <levon@movementarian.org>
1805 * ToolbarBackend.C: add "Toolbars" section and
1808 2003-06-10 Angus Leeming <leeming@lyx.org>
1811 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1813 * lyxfunc.C (dispatch): invoke it.
1815 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1817 * main.C: protect <ios> with HAVE_IOS
1818 (main): protect sync_with_stdio with HAVE_IOS
1820 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1822 * text2.C (cutSelection): adjust
1823 (pasteSelection): adjust
1825 * messages.C: handle get of empty string
1827 * main.C (main): use sync_with_stdio(false)
1829 * lyxfunc.C (dispatch): adjust
1831 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1832 (WriteAs): remove unneeded BufferView arg.
1834 * bufferparams.h: use correct types on papersize, papersize2 and
1837 * bufferparams.C (readToken): adjust for type
1838 (writeLaTeX): add missing cases to switch.
1840 * bufferlist.C (quitWriteBuffer): adjust
1843 * buffer.C (asciiParagraph): remove some commented code.
1845 * CutAndPaste.C: remove current_view extern variable.
1846 (cutSelection): add BufferParams arg.
1847 (eraseSelection): add BufferParams arg.
1848 (pasteSelection): add Buffer const & arg
1850 2003-06-07 John Levon <levon@movementarian.org>
1853 * paragraph_funcs.C:
1854 * paragraph_pimpl.C:
1858 * paragraph.C: allow InsetERT to freely space lines,
1859 and some consolidation of code
1861 2003-06-06 José Matos <jamatos@fep.up.pt>
1863 * buffer.C (makeDocBookFile): fix bug #821
1865 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1867 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1869 2003-06-04 Angus Leeming <leeming@lyx.org>
1871 * buffer.C: bump format to 224.
1873 2003-06-05 André Pönitz <poenitz@gmx.net>
1875 * text2.C (redoParagraphs): remove two const_cast<>
1877 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1879 * ParagraphList.h: remove last remnants of NO_STD_LIST
1881 2003-06-03 Angus Leeming <leeming@lyx.org>
1883 * factory.C (createInset): small change to the way InsetExternal's params
1886 2003-06-04 André Pönitz <poenitz@gmx.net>
1888 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1890 * paragraph_pimpl.h:
1891 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1893 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1895 * undo_funcs.C: make some simple cases of undo work again
1897 2003-06-03 John Levon <levon@movementarian.org>
1899 * ispell.C: HPUX doesn't have sys/select.h
1902 2003-06-03 John Levon <levon@movementarian.org>
1904 * CutAndPaste.C: update tabular and include inset
1909 * paragraph.C: remove owningBuffer(), don't pass Buffer
1912 * factory.C: insetGraphicsParams changed
1914 2003-06-02 John Levon <levon@movementarian.org>
1920 * text3.C: remove insetparent
1922 2003-06-02 John Levon <levon@movementarian.org>
1925 * buffer.C: fix inset_iterator.end(), move out of line
1928 2003-06-01 John Levon <levon@movementarian.org>
1930 * text3.C: use a proper cut/paste when doing inset
1931 insert (from Jürgen Spitzmüller)
1933 2003-06-01 John Levon <levon@movementarian.org>
1935 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1937 2003-05-30 André Pönitz <poenitz@gmx.net>
1939 * rowpainter.C: unify second drawing phase
1941 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1943 * trans_mgr.C: remove one case of current_view
1945 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1947 * paragraph_funcs.h: remove paragraph.h include
1949 * paragraph.h: delete NO_STD_LIST stuff
1951 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1953 * buffer.h: remove paragraph.h include
1955 * ParagraphList.C: delete file
1957 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1959 * toc.C (getTocList): adjust
1961 * paragraph_pimpl.C (validate): adjust
1963 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1965 * paragraph.C (Paragraph): adjust
1966 (getPositionOfInset): use const_iterator, adjust
1967 (bibitem): use const_iterator, adjust
1968 (setInsetOwner): adjust
1970 * iterators.C (operator++): adjust
1972 * InsetList.[Ch]: Replace selfmade iterator with standard
1973 vector::iterator also introduce const_iterator. Remove getPos,
1974 getInset and setInset from InsetTable. Adjust accordingly.
1976 * BufferView.C (lockInset): adjust
1977 (ChangeInsets): adjust
1979 * tabular.[Ch]: delete commented same_id functions
1981 2003-05-28 John Levon <levon@movementarian.org>
1983 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1985 2003-05-28 André Pönitz <poenitz@gmx.net>
1987 * metricsinfo.[Ch]: remove 'fullredraw' member
1989 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1991 * lyxtextclass.C (operator): remove caching.
1993 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1997 * text2.C (cursorBottom): adjust
1998 (setCounter): use ParagraphList::find, adjust
2000 * text.C (workWidth): use ParagraphList::find, adjust
2002 * lyxcursor.C (LyXCursor): adjust
2004 * buffer.C (inset_iterator): adjust
2006 * ParagraphList.h: make iterator(value_type) private, make
2007 ParagraphList a friend of iterator.
2009 * ParagraphList.C (find): new function
2011 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2013 2003-05-27 André Pönitz <poenitz@gmx.net>
2015 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2017 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2019 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2021 2003-05-26 John Levon <levon@movementarian.org>
2023 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2025 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2027 * remove same_id from function signatures, adjust.
2029 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2031 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2033 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2035 * paragraph.C (Paragraph): get rid of same_ids parameter
2037 * ParagraphList.C (insert): adjust
2040 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2042 * paragraph_funcs.C (breakParagraph): adjust
2043 (breakParagraphConservative): adjust
2045 * buffer.C (readParagraph): adjust
2047 * ParagraphList.C (insert): take a reference instead of a pointer
2050 * paragraph.[Ch] (id): new function
2052 * bufferlist.C (newFile): adjust
2054 * ParagraphList.C (ParagraphList): adjust
2056 (push_back): take a reference instead of a pointer.
2058 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2060 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2063 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2064 set else use old code.
2066 * ParagraphList.C: remove all NO_NEXT code and only compile this
2067 code of NO_STD_LIST is set.
2069 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2071 * BufferView_pimpl.C:
2081 * graphics/GraphicsConverter.C:
2082 * graphics/PreviewLoader.C: header adjustment
2084 2003-05-23 Angus Leeming <leeming@lyx.org>
2086 * LaTeXFeatures.[Ch] (useBabel): new method.
2087 * bufferparams.C (writeLaTeX): use it.
2089 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2091 * ParagraphList.h (set): remove unused function.
2093 2003-05-23 André Pönitz <poenitz@gmx.net>
2096 * BufferView_pimpl.C:
2100 * undo_funcs.C: setUndo reworked
2102 * iterators.[Ch]: add access to topmost ParagraphList
2104 * lyxtext.[Ch] (workWidth): add a const
2106 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2108 * texrow.[Ch] (increasePos): remove function
2109 * exporter.C (export): removed unused var and outdated comment
2111 2003-05-23 Angus Leeming <leeming@lyx.org>
2113 * latexrunparams.h: rename fragile as moving_arg.
2114 * paragraph.C (simpleTeXOnePar): ditto.
2115 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2117 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2119 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2121 (textUndoOrRedo): comment out a currently unused var.
2123 * paragraph.h (NO_NEXT): enable NO_NEXT
2125 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2127 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2129 * exporter.C (Export): adjust for removeAutoInsets removal.
2131 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2133 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2135 * BufferView.[Ch] (removeAutoInsets): delete function
2137 2003-05-22 Angus Leeming <leeming@lyx.org>
2139 * latexrunparams.h: add a free_spacing variable.
2141 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2142 to pass moving_arg, as the data is stored in runparams.fragile.
2144 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2145 to Inset::latexOptional or to simpleTeXOnePar.
2147 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2148 free_spacing arg to Inset::latexOptional.
2150 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2153 2003-05-22 Angus Leeming <leeming@lyx.org>
2155 * latexrunparams.h: add fragile and use_babel variables.
2157 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2158 * buffer.C (makeLaTeXFile): store this returned value in
2159 runparams.use_babel, thus passing it to the inset::latex methods.
2161 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2162 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2164 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2165 longer has a fragile arg, as it is stored in runparams.fragile.
2167 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2168 moving_arg parameter as the data is stored in runparams.fragile.
2170 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2171 a fragile parameter as the data is stored in runparams.fragile.
2173 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2175 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2177 2003-05-22 Angus Leeming <leeming@lyx.org>
2179 * latexrunparams.h: add a 'bool nice' which defaults to false.
2181 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2182 now encapsulated within runparams.
2184 * bufferlist.C (updateIncludedTeXfiles):
2185 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2187 2003-05-22 Angus Leeming <leeming@lyx.org>
2189 * latexrunparams.h: new file containing struct LatexRunParams.
2190 * Makefile.am: add new file.
2192 * LaTeX.[Ch] (c-tor, run):
2193 * buffer.[Ch] (makeLaTeXFile):
2194 * bufferlist.[Ch] (updateIncludedTeXfiles):
2195 * converter.C (convert, scanLog):
2196 * converter.[Ch] (runLaTeX):
2197 * exporter.C (Export):
2198 * paragraph.[Ch] (simpleTeXOnePar):
2199 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2200 * paragraph_funcs.[Ch] (latexParagraphs):
2201 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2202 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2203 pass around a LatexRunParams parameter.
2205 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * paragraph.[Ch]: remove unused constructor
2209 * ParagraphList.C (erase): new function, taking two iterators
2211 2003-05-22 André Pönitz <poenitz@gmx.net>
2213 * undo_funcs.C: remove duplicated code
2215 * iterator.[Ch]: operator=
2217 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2219 * tabular.C (SetMultiColumn): ws changes
2221 * rowpainter.C (paintFirst): get rid of a ->previous
2223 * lyx_cb.C (getPossibleLabel): parlist simplification
2225 * BufferView.C (ChangeInsets): simplify slightly.
2227 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2229 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2230 * lfuns.h: new LFUN_SPACE
2231 * lyxfunc.C: protected space has a new lfun
2232 * paragraph_funcs.C: read new space insets
2234 * factory.C: handle new space insets
2236 2003-05-22 André Pönitz <poenitz@gmx.net>
2239 * BufferView_pimpl.C:
2242 * undo_funcs.C: return a ParIterator from getParFromID.
2244 * iterators.[Ch]: add two const's
2246 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2248 * toc.C (getTocList): adjust
2250 * iterators.[Ch]: rework for parlist
2252 * buffer.C (par_iterator_begin): adjust
2253 (par_iterator_end): adjust
2255 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2257 * BufferView.C (removeAutoInsets): adjust
2258 (ChangeInsets): adjust
2260 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2262 * text.C (top_y): fix bug 1110
2264 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2266 * errorlist.[Ch]: added
2269 * BufferView_pimpl.C:
2270 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2273 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2275 * Makefile.am: ensure that lyx is relinked upon changes to the
2276 various "convenience" libs.
2278 2003-05-20 Angus Leeming <leeming@lyx.org>
2280 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2281 files are compiled in alphabetical order again.
2283 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2285 2003-05-19 Angus Leeming <leeming@lyx.org>
2287 * gettext.[Ch]: remove "char const * _(char const *)".
2289 2003-05-19 André Pönitz <poenitz@gmx.net>
2291 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2300 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2302 2003-05-19 André Pönitz <poenitz@gmx.net>
2306 * lyxtextclass.[Ch]:
2308 * paragraph_funcs.[Ch]:
2310 * text3.C: more insetenv work
2312 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2314 * ParagraphParameters.C (params2string): small bug fixed
2316 2003-05-16 André Pönitz <poenitz@gmx.net>
2319 * bufferview_funcs.C: patch from Kornel Benko to prevent
2320 crash when _(...) is called twice in a statement
2322 2003-05-16 André Pönitz <poenitz@gmx.net>
2329 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2331 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2333 * lyx_main.C (init): remove spurious static_cast
2335 2003-05-14 André Pönitz <poenitz@gmx.net>
2337 * BufferView.C: fix format string
2339 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2341 * BufferView.[Ch] (insertErrors): removed
2342 * BufferView.[Ch] (showErrorList): added
2343 * buffer.C (runChkTeX):
2344 * converter.C (scanLog): call showErrorList instead of inserterrors
2346 2003-05-13 André Pönitz <poenitz@gmx.net>
2348 * BufferView_pimpl.C:
2350 * bufferview_func.C:
2357 * tabular_funcs.h: tostr() from its own header
2359 * ParagraphParameters.C:
2364 * text3.C: STRCONV()
2366 2003-05-12 André Pönitz <poenitz@gmx.net>
2369 * BufferView_pimpl.C:
2373 * ParagraphParameters.C:
2377 * bufferview_funcs.C:
2390 * paragraph_funcs.C:
2394 * text3.C: boost::format -> bformat all over the place
2397 2003-05-09 André Pönitz <poenitz@gmx.net>
2399 * LColor.[Ch]: Pimpl the #include <map> away
2401 2003-05-09 John Levon <levon@movementarian.org>
2403 * bufferlist.C: never remove emergency saves
2405 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2407 * Makefile.am: better lib building
2409 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2411 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2413 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2414 (simpleTeXSpecialChars): adjust
2415 (simpleTeXSpecialChars): adjust
2416 * paragraph.C (simpleTeXOnePar): adjust
2417 * buffer.C (makeLaTeXFile): adjust
2419 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2421 * text2.C (changeDepth): parlist cleanup
2422 (getColumnNearX): ditto
2424 * rowpainter.C (getLabelFont): parlist cleanup
2426 * bufferlist.C (newFile): parlist cleanup
2428 * CutAndPaste.C (eraseSelection): parlist cleanup
2430 * BufferView_pimpl.C (trackChanges): parlist cleanup
2433 * BufferView.C (lockInset): parlist cleanup.
2434 (ChangeInsets): ditto
2436 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * CutAndPaste.h: Update file header.
2440 * CutAndPaste.C: Update file header.
2441 Store the parts cut out of the Document in a limited_stack.
2442 (copySelection): adjust
2443 (pasteSelection): new function, takes the index in the limited stack.
2444 (nrOfParagraphs): adjust
2445 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2446 simplify error inset insertion.
2447 (checkPastePossible): adjust
2449 2003-05-06 John Levon <levon@movementarian.org>
2451 * text2.C: don't cast wrap inset to float
2453 2003-05-05 André Pönitz <poenitz@gmx.net>
2456 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2458 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2459 few naked Paragraph *.
2461 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2463 * bufferparams.C: Output warning if a document with missing
2464 TeX document class is loaded
2465 * exporter.C: Disable TeX exports if the document class is missing
2468 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2469 isTeXClassAvailable()
2471 2003-05-03 John Levon <levon@movementarian.org>
2474 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2475 explicit cursor show/hide
2477 * BufferView_pimpl.h:
2478 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2479 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2481 * lyxfunc.C: hide cursor before dispatching.
2486 * text3.C: remove explicit cursor hides
2488 2003-05-02 André Pönitz <poenitz@gmx.net>
2490 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2493 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2496 * text2.C: tiny whitespace
2498 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2500 * undo_funcs.C: almost only ws changes.
2502 * ParagraphList.C (splice): just return if pl is empty.
2504 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * ParagraphList.C (splice): new function.
2508 * CutAndPaste.C (pasteSelection): use it
2510 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2512 * CutAndPaste.C (pasteSelection): remove the last next and
2513 previous from this file.
2515 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2517 * CutAndPaste.C (pasteSelection): more clean up, user proper
2518 ParagraphList functions for pasteing.
2520 * ParagraphList.C (insert): new function, three arg insert
2522 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2524 * ParagraphList.C (insert): new function, three arg insert
2526 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2529 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2531 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2533 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2537 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2540 (copySelection): clean up a bit.
2541 (pasteSelection): use make_pair
2543 * ParagraphList.C (ParagraphList): implement copy constructor
2544 (operator=): implement, base on copy constructor.
2547 * paragraph.C (erase): return a bool
2549 * paragraph_pimpl.C (erasePos): remove function, move contents...
2550 (erase): ... here. Return a bool.
2551 (erase): call erase instead of erasePos.
2553 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2555 * ParagraphList.h: define PitPosPair
2556 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2557 ParagraphList, fix a bug on pasting multiple pars
2558 * text2.C: change interface to C&P
2560 2003-04-30 André Pönitz <poenitz@gmx.net>
2562 * undo_func.C: revert part of yesterday's patch 2
2564 2003-04-30 John Levon <levon@movementarian.org>
2566 * LColor.C: s/tabular/table/
2568 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2570 * text3.C (dispatch): do not convert iterator -> pointer
2571 * undo_funcs.C (setCursorParUndo): ditto
2572 * text_funcs.C (transposeChars): ditto
2574 * text2.C (setLayout): ws changes only
2576 * text.C (breakParagraph): do not convert iterator -> pointer
2578 (acceptChange): ditto
2579 (rejectChange): ditto
2584 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2587 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2589 * text3.C (gotoInset): YABG (yet another bad getChar)
2591 2003-04-29 André Pönitz <poenitz@gmx.net>
2593 * paragraph.h: make operator= private unimplemented as long as
2596 * ParagraphList.C: whitespace
2599 * paragraph_pimpl.[Ch]:
2600 * paragraph_funcs.C:
2602 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2605 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2607 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2609 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2610 * paragraph.[Ch] (erase):
2611 * paragraph_pimpl.[Ch] (erase): change return type and value
2612 * text2.C (cutSelection): some rework
2614 2003-04-28 John Levon <levon@movementarian.org>
2616 * bufferlist.C: changes for unsaved changes dialog
2618 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2620 * bufferlist.C (newFile): set language (messages_) for new
2623 * buffer.C (readFile): ws changes only.
2625 2003-04-28 André Pönitz <poenitz@gmx.net>
2630 * BufferView_pimpl.C:
2631 * BufferView.C: getParFromID related ParagraphList::iterator changes
2633 2003-04-28 André Pönitz <poenitz@gmx.net>
2635 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2638 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2640 * messages.C: remove one more localedir class variable.
2642 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2644 * messages.C (getLocaleDir): singleton generation function
2646 (Messages): add a default constructor.
2648 * main.C (main): do not setup localedir here, do not call
2651 * gettext.C (_): use it.
2652 (gettext_init): delete funciton
2654 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2656 * gettext.C (getLyXMessages): new singleton generating function.
2658 * buffer.C (updateDocLang): adjust
2660 * Makefile.am (messages.o): add target
2661 (main.o): remove target
2663 2003-04-27 John Levon <levon@movementarian.org>
2668 * lyxvc.C: specify cancel button in Alert::prompt
2670 2003-04-26 John Levon <levon@movementarian.org>
2675 * LyXAction.C: add LFUN_INSET_SETTINGS
2677 * lyxfunc.C: don't enable tabular-feature when there's
2678 just any locking inset
2680 2003-04-26 John Levon <levon@movementarian.org>
2682 * bufferlist.C: re-add Cancel to buffer close question
2684 * lyxfunc.C: fix import UI a bit
2686 2003-04-25 John Levon <levon@movementarian.org>
2688 * gettext.C: remove the broken asserts for now
2690 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2692 * messages.C: make case where setlocale cannot comply work better.
2694 * buffer.C (updateDocLang): new function
2695 (changeLanguage): use it
2698 * text2.C (setCounter): use B_ a bit.
2700 * lyxlayout.C (Read): be sure to trim the label strings.
2702 * messages.C (Messages): fix typo in comment
2704 * buffer.C (readFile): set message_ after file is loaded.
2705 (makeDocBookFile): remove double return
2706 (changeLanguage): reset message_ upon language change.
2707 (B_): new func, use this to get translated buffer strings.
2709 * main.C: add myself and Jean Marc as authors.
2711 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * messages.[hC]: pimplify Messages, and three different pimpls to be
2714 used in different circumstances.
2716 * gettext.[Ch]: change for use with new message code.
2718 2003-04-24 André Pönitz <poenitz@gmx.net>
2720 * factory.C: support for eqref
2722 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2724 * messages.[Ch]: add missing char
2726 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2728 * messages.[Ch]: New files
2730 2003-04-18 John Levon <levon@movementarian.org>
2734 * BufferView_pimpl.C:
2738 * text2.C: remove layout-copy/paste (bug 778)
2740 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2742 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2744 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2746 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2747 if they succeed. Act accordingly.
2749 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2751 * text2.C (setCharFont): adjust
2752 (setCounter): adjust
2753 (insertStringAsLines): adjust
2755 * text.C (leftMargin): adjust
2756 (setHeightOfRow): adjust
2758 * rowpainter.C (paintFirst): adjust
2761 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2763 (isFirstInSequence): ditto
2764 (getEndLabel): ditto
2767 * paragraph.C (getParLanguage): comment out some hard stuff.
2769 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2771 (simpleDocBookOnePar): ditto
2772 (makeDocBookFile): use ParagraphList::iterator
2774 * CutAndPaste.C (pasteSelection): adjust
2776 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2778 * text2.C (getFont): adjust
2779 (getLayoutFont): adjust
2780 (getLabelFont): adjust
2782 * paragraph_funcs.C (TeXOnePar): adjust
2784 * buffer.C (simpleLinuxDocOnePar): adjust
2785 (simpleDocBookOnePar): adjust
2787 * CutAndPaste.C (pasteSelection): adjust
2789 * BufferView.C (getEncoding): adjust
2791 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2793 2003-04-16 John Levon <levon@movementarian.org>
2795 * lyxfind.C: use parlist stuff for search/changes
2797 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2799 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2801 * text2.C (deleteEmptyParagraphMechanism): adjust
2803 * text2.[Ch] (ownerParagraph): delete func (both of them
2805 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2807 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2809 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2811 * ParagraphList.C: prepare for NO_NEXT
2813 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2815 * text2.C (getFont): adjust
2816 (getLayoutFont): adjust
2817 (getLabelFont): adjust
2819 * paragraph.C (getFont): adjust
2820 (getLabelFont): adjust
2821 (getLayoutFont): adjust
2823 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2825 2003-04-15 John Levon <levon@movementarian.org>
2829 * lyx_main.C: handle Include in .ui files
2831 2003-04-15 John Levon <levon@movementarian.org>
2833 * MenuBackend.C: make the doc files length shorter
2836 * ToolbarBackend.C: handle toolbar placement flags,
2839 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2841 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2844 * paragraph_funcs.C (TeXOnePar): adjust
2846 * paragraph.C (getLabelFont): add outerfont arg, adjust
2847 (getLayoutFont): ditto
2848 (simpleTeXOnePar): adjust
2850 * paragraph_pimpl.C (realizeFont): delete func
2852 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2854 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2855 row argument, constify cur argument.
2857 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * text2.C (getFont): adjust
2860 (getLayoutFont): adjust
2861 (getLabelFont): adjust
2863 * paragraph_funcs.C (TeXOnePar): adjust
2864 (outerFont): new func...
2865 (realizeFont): ...moved out from here, changed this to facilitate
2868 * paragraph.C (getFont): take outerfont as arg, adjust
2869 (simpleTeXOnePar): add outerfont arg, adjust
2871 * buffer.C (simpleLinuxDocOnePar): adjust
2872 (simpleDocBookOnePar): adjust
2874 * CutAndPaste.C (pasteSelection): adjust
2876 * BufferView.C (getEncoding): adjust
2878 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * text2.C (setCharFont): adjust
2881 (setCounter): adjust
2883 * text.C (leftMargin): adjust
2884 (setHeightOfRow): adjust
2886 * rowpainter.C (paintFirst): adjust
2889 * paragraph_pimpl.C (realizeFont): adjust
2891 * paragraph.C (isFirstInSequence): move from here...
2892 * paragraph_funcs.C (isFirstInSequence): ...to here
2894 * paragraph.C (outerHook): move from here...
2895 * paragraph_funcs.C (outerHook): ...to here
2897 * paragraph.C (depthHook): move from here...
2898 * paragraph_funcs.C (depthHook): ...to here
2900 * paragraph.C (getEndLabel): move from here...
2901 * paragraph_funcs.C (getEndLabel): ...to here
2903 * text2.C (realizeFont): move from here...
2904 * paragraph_funcs.C (realizeFont): ...to here
2906 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2908 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2910 2003-04-14 Angus Leeming <leeming@lyx.org>
2912 * LColor.[Ch]: scrap LColor mathcursor.
2914 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2916 * lyxlex.[Ch] (text): delete function
2917 * trans.C (Load): adjust
2918 * paragraph_funcs.C (readParToken): adjust
2920 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2922 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2923 vector<char> instead of a char[].
2925 * lyxlex_pimpl.C (getString): adjust
2927 (lex): use getString
2931 * lyxlex.C (text): use pimpl_->getString()
2935 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2937 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2938 (makeFontEntriesLayoutSpecific): temp var for par.size()
2939 (setLayout): temp var for ownerParagraphs().end()
2940 (fullRebreak): temp var for rows().end()
2941 (selectionAsString): temp var for boost::next(startpit), realize
2942 that the while really is a regular for loop.
2943 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2944 setCursor in one place.
2945 (setParagraph): temp vr for ownerParagraphs().end()
2946 (updateCounters): make the while loop a for loop
2947 (cutSelection): temp var for ownerParagraphs().end()
2948 (updateInset): make the do {} while() a regular for loop
2949 (getCursorX): use temp vars
2950 (setCurrentFont): use temp vars
2951 (getColumnNearX): use temp vars
2953 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2955 * text.C (transformChar): use temp var for getChar
2956 (computeBidiTables): use temp var for row->par()
2957 (fill): move temp vars for row->par() and pit->layout() earlier in
2959 (labelFill): use temp var for row->par()
2960 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2961 asc and desc, realize that pit never changes and that firstpit is
2962 just a duplicate and not needed. Exchange rit->par() with pit in a
2964 (breakAgain): use a temp var for boost::next(rit)
2965 (breakAgainOneRow): ditto
2966 (breakParagraph): use a temp var for rows().begin()
2967 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2968 (cursorRightOneWord): use temp var for cursor.par() and
2969 cursor.pos(), remove usage of tmpcursor.
2970 (cursorLeftOneWord): use temp var for cursor.par() and
2971 cursor.pos() only set cur at end of function.
2973 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2975 * text.C, text2.C: exchange all usage of Paragraph::next with
2976 boost::next(ParagraphList::iterator)
2978 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2980 * text2.C (cursorTop): simplify implementation
2981 (cursorBottom): ditto
2982 (setParagraph): use ParagraphList::iterator
2983 (setCurrentFont): adjust
2984 (getColumnNearX): adjust
2985 (cursorRight): adjust
2986 (cursorLeft): remove usage of Paragraph::previous
2987 (cursorUpParagraph): ditto
2988 (deleteEmptyParagraphMechanism): slight cleanup
2990 * text.C (isBoundary): take a Paragraph const & instead of a
2992 (addressBreakPoint): ditto
2993 (leftMargin): remove usage of Paragraph::previous.
2994 (setHeightOfRow): ditto
2995 (cursorLeftOneWord): ditto
2996 (selectNextWordToSpellcheck): ditto
2999 (breakParagraph): remove one usage of Paragraph::next
3000 (redoParagraph): ditto
3001 (acceptChange): ditto
3002 (insertChar): adjust
3003 (rowBreakPoint): adjust
3005 * bufferview_funcs.C (toggleAndShow): adjust
3007 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3009 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3010 methods to access it.
3012 * text.C: Added updateRowPositions to compute all row positions.
3013 Make top_y and getRowNearY() to use the cached y position
3015 2003-04-11 John Levon <levon@movementarian.org>
3017 * text.C (rowBreakPoint): reintroduce the labelEnd
3018 checks, code copied from the row fill stuff. Deep voodoo.
3020 * text.C (fill): add a comment and debugging for the
3023 2003-04-11 John Levon <levon@movementarian.org>
3025 * text.C: make sure fullrow insets get wrapped to the next line,
3026 even when they're in a manual label
3028 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3030 * text2.C (insertParagraph): make it take ParagraphList::iterator
3032 (setLayout): make it return ParagraphList::iterator
3033 (redoParagraphs): ditto
3035 (checkParagraph): ditto
3037 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3039 * text2.C: adjust several funcs.
3040 (realizeFont): take a ParagraphList::iterator as arg.
3041 (getLayoutFont): ditto
3042 (getLabelFont): ditto
3043 (setCharFont): ditto
3045 * text.C: adjust several funcs.
3047 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3049 * text.C (selectNextWordToSpellcheck): don't accidentally
3052 2003-04-10 John Levon <levon@movementarian.org>
3054 * ToolbarBackend.C (getIcon): special handling for
3057 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3059 * text2.C (cursorRight): a getChar assert fixed
3061 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3063 * text2.C (getFont): change to take a ParagraphList::iterator
3064 instead of Paragraph*
3065 Adjust several functions.
3067 * text.C (transformChar): change to take a ParagraphList::iterator
3068 instead of Paragraph*
3069 (singleWidth): ditto
3070 Adjust several functions.
3072 * rowpainter.C: adjust several functions
3073 * rowpainter.h:store a ParagraphList::iterator and not a
3077 2003-04-09 John Levon <levon@movementarian.org>
3082 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3083 and the "help" bits as well
3085 2003-04-09 John Levon <levon@movementarian.org>
3088 * ToolbarBackend.C: allow multiple toolbars
3090 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3092 * undo_funcs.C (setCursorParUndo): adjust
3094 * text_funcs.C (transposeChars): adjust
3096 * text3.C (gotoNextInset): adjust
3099 * text2.C (setLayout): adjust
3100 (changeDepth): adjust
3102 (redoParagraphs): adjust
3103 (selectionAsString): adjust
3104 (setParagraph): adjust
3105 (insertInset): adjust
3106 (cutSelection): adjust
3107 (copySelection): adjust
3108 (pasteSelection): adjust
3109 (insertStringAsLines): adjust
3110 (updateInset): adjust
3111 (setCursor): change to take a ParagraphList::iterator parameter
3112 (setCursorIntern): change to take a ParagraphList::iterator parameter
3113 (setCurrentFont): adjust
3114 (cursorLeft): adjust
3115 (cursorRight): adjust
3116 (deleteEmptyParagraphMechanism): adjust
3118 * text.C (breakParagraph): adjust
3119 (insertChar): adjust
3120 (acceptChange): adjust
3121 (rejectChange): adjust
3122 (selectNextWordToSpellcheck): adjust
3123 (changeCase): adjust
3127 * lyxfind.C (SearchForward): adjust
3128 (SearchBackward): adjust
3129 (nextChange): adjust
3131 * lyxcursor.C (par): adjust
3133 * lyxcursor.h: store a ParagraphList::iterator instead of a
3136 * lyx_cb.C (getPossibleLabel): adjust
3138 * bufferview_funcs.C (toggleAndShow): adjust
3140 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3143 * BufferView.C (removeAutoInsets): adjust
3144 (lockedInsetStoreUndo): adjust
3146 2003-04-09 John Levon <levon@movementarian.org>
3148 * ToolbarBackend.C: try icon without argument
3149 if with argument fails
3151 2003-04-08 John Levon <levon@movementarian.org>
3154 * ToolbarBackend.C: add getIcon(), handle tooltip,
3155 and change from "Icon" to "Item".
3157 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3159 * BufferView.C (lockInset): another bad getchar crunched
3161 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3163 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3166 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3168 * lyxfind.C (searchForward, searchBackwards): bug 782
3170 2003-04-07 John Levon <levon@movementarian.org>
3172 * paragraph.C: remove dead comment
3174 * text.C: remove troublesome depth-fiddling code
3175 in leftMargin() and rightMargin() (bug 1017)
3177 * text.C: fix breaking of rows in nested lists
3180 * text2.C (updateCounters): fix up depth values
3183 2003-04-07 John Levon <levon@movementarian.org>
3185 * BufferView_pimpl.C: clear message when doc finishes resizing,
3186 and after a mouse event
3188 * lyxfunc.C: clear message after exiting inset
3190 2003-04-07 John Levon <levon@movementarian.org>
3192 * bufferview_funcs.C: show math status not outside
3193 status in the statusbar
3195 2003-04-07 John Levon <levon@movementarian.org>
3197 * lyxfunc.C: note status changed after a depth change
3199 2003-04-04 Angus Leeming <leeming@lyx.org>
3201 * LaTeX.h: move AuxInfo operator==, != out of line.
3202 Remove LaTeX virtual destructor; nothing derives from it.
3203 Move operator()() out of public area and rename it startscript().
3204 Change protected for private.
3206 2003-04-04 Angus Leeming <leeming@lyx.org>
3209 * text2.C: remove unneeded #includes.
3211 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3213 * text2.C (dEPM): fix the heigth of the next row
3215 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3217 * text.C: squashed an invalid getChar requester + some ws changes
3219 2003-04-03 John Levon <levon@movementarian.org>
3221 * bufferview_funcs.h:
3222 * bufferview_funcs.C:
3225 * text2.C: make getStatus work for the env depth lfuns
3227 2003-04-03 John Levon <levon@movementarian.org>
3229 * bufferview_funcs.h:
3230 * bufferview_funcs.C:
3233 * text2.C: parlistize decDepth(), by merging it with incDepth()
3235 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3237 * lyxrow.h: store a ParagraphList::iterator instead of a
3238 Paragraph* and adjust other class functions to suit.
3240 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3243 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3245 * text2.C (setCursor): do not anchor to cursor row for the time being
3247 2003-04-02 John Levon <levon@movementarian.org>
3254 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3256 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3258 * paragraph.h: make ParagraphList and ParagraphList::iterator
3259 friends of Paragraph.
3261 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3263 * ParagraphList.C: Use the private next_ and previous_ from
3266 2003-04-01 John Levon <levon@movementarian.org>
3270 * Makefile.am: rename, remove defaults gunk
3273 * MenuBackend.C: remove defaults gunk
3276 * Languages.C: remove defaults gunk
3279 * lyx_main.C: error out if files couldn't be found.
3281 2003-04-02 John Levon <levon@movementarian.org>
3283 * text2.C: make incDepth() use parlist
3285 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3287 * undo_funcs.C (firstUndoParagraph): adjust
3289 * text3.C (gotoInset): adjust
3290 (dispatch): adjust, and rewrite loop.
3292 * text2.C (init): adjust, and rewrite loop.
3293 (redoParagraphs): adjust
3294 (updateInset): adjust, and rewrite loop.
3295 (deleteEmptyParagraphMechanism): adjust
3297 * tabular.C (LyXTabular): adjust
3298 (SetMultiColumn): adjust
3301 * lyxtext.[Ch] (ownerParagraph): delete function
3302 (ownerParagraphs): new function returns a ParagraphList.
3304 * BufferView.C (removeAutoInsets): adjust
3305 (insertErrors): adjust
3306 (setCursorFromRow): adjust
3308 2003-04-01 Angus Leeming <leeming@lyx.org>
3310 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3313 2003-04-02 John Levon <levon@movementarian.org>
3319 * text_funcs.C: make transposeChars a free function
3321 * lyxrow_funcs.C: remove wrong comment
3323 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3326 * rowpainter.C: adjust
3331 * lyxrow_funcs. [Ch]: new files
3333 * lyxrow.[Ch]: remove next and previous pointers
3334 (next,previous): remove accessor functions
3335 (isParEnd): move to lyxrow_funcs
3336 (lastPos): move to lyxrow_funcs
3337 (nextRowIsAllInset): move to lyxrow_funcs
3338 (lastPrintablePos): move to lyxrow_funcs
3339 (numberOfSeparators): move to lyxrow_funcs
3340 (numberOfHfills): move to lyxrow_funcs
3341 (numberOfLabelHfills): move to lyxrow_funcs
3342 (hfillExpansion): move to lyxrow_funcs
3346 * bufferview_funcs.C (toggleAndShow): adjust
3348 * RowList.h: Remove class RowList from file leave just a
3351 * RowList.C: delete file
3353 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3356 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3358 * text3.C (cursorPrevious): adjust
3359 (cursorNext): adjust
3362 * text2.C (redoHeightOfParagraph): adjust
3363 (redoDrawingOfParagraph): adjust
3366 * text.C (breakParagraph): adjust
3367 (insertChar): adjust
3370 * rowpainter.C (RowPainter): adjust
3371 (leftMargin): simplify and adjust
3372 (most rowpainter functions): adjust.
3374 * rowpainter.h: store the row as RowList::iterator not as Row*
3376 * lyxcursor.C (row): taka RowList::iterator as arg
3379 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3382 2003-04-01 Angus Leeming <leeming@lyx.org>
3384 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3385 stuff like bool Bool.
3387 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3389 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3392 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3394 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3397 * lyxtext.h (rows): drop one version and leve a const variant that
3398 returns a RowList::iterator.
3400 2003-03-31 Angus Leeming <leeming@lyx.org>
3402 * text.C (fill): ensure that the signature is the same as that in the
3405 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3407 * text2.C (redoParagraphs): adjust
3408 (updateCounters): adjust
3409 (checkParagraph): adjust
3410 (getColumnNearX): adjust and reformat a bit.
3412 * text.C (top_y): adjust
3414 (leftMargin): adjust
3415 (prepareToPrint): adjust
3417 (getRowNearY): adjust
3419 * lyxtext.h: make rowlist_ mutable.
3421 * RowList.h: add const_iterator
3422 * RowList.C: adjust for RowList::const_iterator.
3424 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3427 2003-03-31 John Levon <levon@movementarian.org>
3430 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3432 * lyx_main.C: set default fonts from using lyx_gui funcs
3434 * exporter.C: pdf_mode moved from lyxrc
3437 * lyxfunc.C: changes from above
3439 2003-03-31 John Levon <levon@movementarian.org>
3441 * lyx_main.C: fix to the last fix
3443 2003-03-31 John Levon <levon@movementarian.org>
3445 * bufferlist.C: "Load original" -> "Load Original"
3451 * format.C: more Alert cleanups
3453 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3455 * text2.C (removeParagraph): make it take a RowList::iterator as
3457 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3458 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3460 * text.C (anchor_row): make it take a RowList::iterator as arg,
3462 (computeBidiTables): make it take a const reference to Row instead
3463 of Row pointer, adjust.
3464 (leftMargin): make it take a RowList::iterator as arg, adjust.
3465 (rowBreakPoint): adjust
3466 (breakAgainOneRow): make it take a RowList::iterator as arg,
3468 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3470 * bufferview_funcs.C (toggleAndShow): adjust
3472 2003-03-30 John Levon <levon@movementarian.org>
3476 * boost-inst.C: moved to support
3478 * several files: changes as a result
3480 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * text2.C (LyXText): adjust.
3484 (removeRow): make it take a RowList::iterator as arg, adjust.
3485 (fullRebreak): adjust
3486 (deleteEmptyParagraphMechanism): adjust
3487 (clearPaint): adjust
3490 * text.C (top_y): adjust
3491 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3492 (breakAgain): make it take a RowList::iterator as arg, adjust.
3493 (breakParagraph): adjust
3494 (insertChar): adjust
3497 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3498 need_break_row, and refresh_row.
3500 * text3.C (dispatch): adjust
3502 * text2.C (checkParagraph): adjust
3504 (setCursorFromCoordinates): adjust
3506 * text.C (top_y): adjust
3508 (getRow): make it return a RowList::iterator, adjust
3509 (getRowNearY): make it return a RowList::iterator, adjust
3511 * text2.C (init): adjust
3512 (insertRow): remove function
3513 (insertParagraph): adjust
3514 (redoParagraphs): adjust
3515 (fullRebreak): adjust
3516 (updateCounters): adjust
3518 * text.C (top_y): rewrite to use RowList iterators.
3520 (setHeightOfRow): rewrite to sue RowList iterators.
3521 (appendParagraph): adjust
3522 (breakAgain): adjust
3523 (breakAgainOneRow): adjust
3524 (breakParagraph): adjust
3526 (getRowNearY): adjust, and remove commented code.
3528 * lyxtext.h (firstRow): delete function
3529 (lastRow): delete function
3530 (rows): new function (const and non-const versions.)
3531 (insertRow): delete function
3533 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3535 2003-03-29 John Levon <levon@movementarian.org>
3537 * BufferView_pimpl.C: always update scrollbar top
3538 because pasting text when we're anchored could mean we
3539 miss an update altogether
3541 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3543 * text2.C (init): use rowlist_.end() and not 0.
3544 (insertRow): change to take a RowList::iterator as arg, adjust
3546 (insertParagraph): change to take a RowList::iterator as arg,
3548 (redoParagraphs): remove some debug msgs.
3550 * text.C (appendParagraph): change to take a RowList::iterator
3551 arg, adjust for this.
3552 (breakAgain): add an assert
3553 (breakAgainOneRow): ditto
3555 2003-03-29 John Levon <levon@movementarian.org>
3557 * text2.C: do not clear selection after inc/decDepth
3560 2003-03-29 John Levon <levon@movementarian.org>
3563 * buffer.C: fix broken strerrors according to Lars
3565 2003-03-29 John Levon <levon@movementarian.org>
3567 * converters.C: more Alert cleanups
3569 2003-03-29 John Levon <levon@movementarian.org>
3571 * bufferview_funcs.C: remove pointless Alert
3573 * buffer.C: fix confusing error message when
3574 a template is chmoded 000
3576 2003-03-29 John Levon <levon@movementarian.org>
3580 * BufferView_pimpl.C: Alert fixes
3584 * tabular-old.C: remove unused table compat reading
3586 2003-03-29 John Levon <levon@movementarian.org>
3591 * lyx_cb.C: more Alert cleanups
3593 * lyxfunc.C: don't allow chktex if not latex document
3595 2003-03-29 John Levon <levon@movementarian.org>
3599 * buffer.C: warnings pushed down from support/,
3602 2003-03-29 John Levon <levon@movementarian.org>
3604 * lyxfunc.C: safety check for C-r (revert)
3606 2003-03-29 John Levon <levon@movementarian.org>
3609 * bufferlist.C: several UI fixes using Alert::prompt.
3610 Fix the pointless looping quit code. Fix stupid revert
3615 * lyx_cb.C: use Alert::prompt
3617 * lyx_main.C: remove a silly question
3619 * lyxfunc.C: remove a couple of silly questions,
3622 2003-03-28 John Levon <levon@movementarian.org>
3624 * text2.C: fix bug 974 (End on empty par)
3626 2003-03-28 John Levon <levon@movementarian.org>
3628 * BufferView_pimpl.C:
3630 * lfuns.h: remove do-nothing math greek lfuns
3632 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * lyxgluelength.h (isValidGlueLength): add default arg on
3635 parameter 2. Remove default arg from friend in class.
3637 * lyxlength.h (isValidLength): add default arg on parameter 2.
3638 Remove default arg from friend in class.
3640 * text2.C (LyXText): adjust, initialize refresh_row.
3644 (insertParagraph): adjst
3645 (redoParagraphs): adjust
3646 (fullRebreak): adjust
3647 (updateCounters): adjust
3648 (deleteEmptyParagraphMechanism): first attempt at fixing a
3651 * text.C (top_y): adjust
3652 (setHeightOfRow): adjust
3654 (getRowNearY): adjust
3656 * lyxtext.h: include RowList.h
3657 (~LyXText): not needed anymore, deleted.
3658 (firstRow): modify for RowList
3659 (lastRow): new function
3660 Delete firstrow and lastrow class variables, add a Rowlist
3661 rowlist_ class variable.
3663 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3666 * RowList.C (insert): fix case where it == begin().
3668 2003-03-26 Angus Leeming <leeming@lyx.org>
3670 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3671 the thesaurus dialog.
3673 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3675 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3677 * RowList.[Ch]: new files
3679 * ParagraphList.C (erase): handle the case where it == begin
3682 2003-03-25 John Levon <levon@movementarian.org>
3686 * aspell.C: add new aspell support
3689 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3692 2003-03-25 Angus Leeming <leeming@lyx.org>
3695 * LyXAction.C (init): new LFUN_INSET_INSERT.
3697 * BufferView_pimpl.C (dispatch): split out part of the
3698 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3700 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3703 2003-03-25 Angus Leeming <leeming@lyx.org>
3705 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3707 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3710 * text3.C: remove useless row->height(0)
3712 2003-03-25 John Levon <levon@movementarian.org>
3716 * text3.C: rename the refreshing stuff to better names
3718 2003-03-24 John Levon <levon@movementarian.org>
3720 * BufferView_pimpl.h:
3721 * BufferView_pimpl.C: update layout choice on a mouse
3724 2003-03-23 John Levon <levon@movementarian.org>
3726 * Makefile.am: fix commandtags.h reference
3728 2003-03-22 John Levon <levon@movementarian.org>
3730 * BufferView_pimpl.C:
3735 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3737 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3740 * text.C: take the rtl methods out of line
3742 2003-03-21 André Pönitz <poenitz@gmx.net>
3744 * metricsinfo.[Ch]: new files containing structures to be passed around
3745 during the two-phase-drawing...
3747 2003-03-21 André Pönitz <poenitz@gmx.net>
3749 * lyxtextclass.C: read 'environment' tag.
3751 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3753 * text2.C (removeRow): fix bug 964
3755 2003-03-20 John Levon <levon@movementarian.org>
3759 * text2.C: paint cleanups. Inset::update() dropped font
3762 2003-03-19 John Levon <levon@movementarian.org>
3764 * lyxfunc.C: only fitcursor/markDirty if available()
3766 2003-03-19 John Levon <levon@movementarian.org>
3768 * commandtags.h: rename to ...
3770 * lfuns.h: ... this, and renumber / cleanup
3772 2003-03-19 John Levon <levon@movementarian.org>
3774 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3775 fit the cursor after an lfun
3779 * BufferView_pimpl.h:
3780 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3782 * LyXAction.C: layout-character should have ReadOnly
3784 * ParagraphParameters.C:
3786 * bufferview_funcs.C:
3793 * undo_funcs.C: changes from above
3795 2003-03-18 John Levon <levon@movementarian.org>
3797 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3798 remove it from update()
3800 * lyxfunc.C: update layout choice after an lfun
3802 * text3.C: remove extra updateLayoutChoice()s
3804 2003-03-18 John Levon <levon@movementarian.org>
3806 * text.C: top_y change means full repaint, fix
3807 a drawing bug with cursor movement
3809 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3813 * text2.C: anchor row on setCursor
3815 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3817 * lyxtext.h: remove almost all mutable keywords
3820 * text3.C: remove const keywords accordingly
3822 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3826 (TeXEnvironment): ditto
3829 2003-03-17 John Levon <levon@movementarian.org>
3831 * text.C (rowBreakPoint): remove attempt to fix displayed
3832 math insets inside a manual label
3834 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3836 * lyxtext.h: remove BufferView* as first arg from almost all class
3838 * other files: adjust.
3840 2003-03-17 John Levon <levon@movementarian.org>
3844 * text2.C: more paint cleanups
3846 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3849 * rowpainter.C: remove "smart" background painting code
3851 2003-03-16 John Levon <levon@movementarian.org>
3856 * text3.C: add helper functions for setting refresh_row/y
3858 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3860 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3861 newline inset which *can* get inserted in the pass_thru layouts.
3862 This is primarily for literate documents.
3864 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3866 * buffer.C: increment LYX_FORMAT to 223
3868 2003-03-14 André Pönitz <poenitz@gmx.net>
3870 * textclass.h: prepare for environment handling, ws changes
3871 * lyxlayout.C: read latexheader and latexfooter tags
3873 2003-03-14 John Levon <levon@movementarian.org>
3875 * text2.C: rewrite ::status() a bit
3877 2003-03-13 John Levon <levon@movementarian.org>
3879 * lyxtext.h: add some docs
3881 2003-03-13 John Levon <levon@movementarian.org>
3886 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3888 2003-03-13 John Levon <levon@movementarian.org>
3890 * text3.C: fix appendix redrawing
3892 2003-03-13 John Levon <levon@movementarian.org>
3894 * text.C (setHeightOfRow):
3896 * rowpainter.C: make appendix mark have the text
3897 "Appendix" so the user knows what it is
3900 * LColor.C: s/appendixline/appendix/ from above
3902 2003-03-13 John Levon <levon@movementarian.org>
3904 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3906 * text.C: fix a getChar(pos) bug properly
3908 2003-03-13 Angus Leeming <leeming@lyx.org>
3911 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3912 Probably only temporary. Let's see how things pan out.
3914 * BufferView.C (unlockInset):
3915 * BufferView_pimpl.C (fitCursor):
3916 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3918 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3919 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3921 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3922 new functions that convert ParagraphParameters to and from a string.
3924 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3925 BufferView::Pimpl's dispatch.
3926 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3928 2003-03-13 André Pönitz <poenitz@gmx.net>
3932 * factory.C: make it aware of InsetEnv
3934 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3936 * text2.C (setCursor): never ask for one past last
3937 (setCursor): add some debugging messages.
3939 * text.C (singleWidth): never ask for one past last
3940 (singleWidth): ditto
3942 (rightMargin): ditto
3943 (rowBreakPoint): ditto
3944 (setHeightOfRow): ditto
3945 (prepareToPrint): ditto
3947 * rowpainter.C (paintBackground): never ask for one past last
3948 (paintText): never ask for one past last
3950 * paragraph_pimpl.C (getChar): make the assert stricter, never
3951 allow the one past last pos to be taken
3953 * paragraph.C (getChar): ws changes only
3955 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3956 (numberOfSeparators): ditto
3957 (numberOfHfills): ditto
3959 2003-03-12 John Levon <levon@movementarian.org>
3965 * paragraph_funcs.C: fix per-buffer authorlists
3967 2003-03-12 John Levon <levon@movementarian.org>
3969 * text.C: fix newline in right address
3971 2003-03-12 Angus Leeming <leeming@lyx.org>
3973 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3974 duplicate those in LyXFunc::dispatch.
3978 * ToolbarDefaults.C:
3979 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3980 Add LFUN_FONTFREE_UPDATE.
3982 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3983 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3985 * bufferview_func.[Ch]: several new functions to facilliate
3986 transfer of data to and from the character dialog.
3988 2003-03-12 John Levon <levon@movementarian.org>
3993 * paragraph_funcs.C:
3994 * paragraph_pimpl.C:
3998 * text3.C: remove META_NEWLINE in favour of an inset
4001 * rowpainter.C: remove paintNewline (done by inset)
4003 2003-03-12 John Levon <levon@movementarian.org>
4005 * paragraph_pimpl.C: complain about bad getChar()s
4006 for a while at least
4008 2003-03-12 John Levon <levon@movementarian.org>
4011 * buffer.C: move paragraph read into a separate function,
4012 a little renaming to reflect that.
4015 * bufferparams.C: remove the author_ids map, not necessary now
4018 * factory.C: moved Buffer::readInset to here
4020 * paragraph_funcs.h:
4021 * paragraph_funcs.C: readParagraph free function moved from
4024 * tabular.C: name change
4026 2003-03-12 John Levon <levon@movementarian.org>
4029 * ParagraphParameters.C: move par params input to
4032 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4033 behave like a normal read from the stream wrt reading
4034 a line vs. a \\token
4036 2003-03-12 John Levon <levon@movementarian.org>
4039 * ParagraphParameters.h:
4040 * ParagraphParameters.C: move output code to a
4043 2003-03-12 John Levon <levon@movementarian.org>
4045 * BufferView.C (insertLyXFile):
4048 * tabular.C: use a parlist iterator for creating the
4051 2003-03-12 John Levon <levon@movementarian.org>
4053 * buffer.C: make current_change static local not
4056 2003-03-12 John Levon <levon@movementarian.org>
4058 * buffer.C: fix insertStringAsLines for change tracking
4060 2003-03-12 John Levon <levon@movementarian.org>
4067 * bufferparams.C: move author list into params. Rename some
4068 functions. Move the header reading into a separate token
4069 loop. Move the header token reading into BufferParams.
4071 2003-03-12 John Levon <levon@movementarian.org>
4073 * changes.C: put debug inside lyxerr.debugging() checks
4075 2003-03-11 André Pönitz <poenitz@gmx.net>
4077 * factory.C: make it aware of InsetHFill
4079 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4081 * buffer.C (latexParagraphs): move function from here...
4082 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4085 2003-03-10 Angus Leeming <leeming@lyx.org>
4087 * LyXAction.C (init): fix bug in poplating array with multiple entries
4088 with the same LFUN (spotted by JMarc).
4090 2003-03-10 John Levon <levon@movementarian.org>
4093 * text2.C: move getColumnNearX() near its
4096 2003-03-10 John Levon <levon@movementarian.org>
4098 * text.C: fix break before a minipage
4100 2003-03-10 John Levon <levon@movementarian.org>
4102 * text.C: fix the last commit
4104 2003-03-09 John Levon <levon@movementarian.org>
4108 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4109 bug 365 (don't break before insets unless needed). Don't
4110 return a value > last under any circumstances.
4112 2003-03-09 Angus Leeming <leeming@lyx.org>
4114 * BufferView_pimpl.C (trackChanges, dispatch): call
4115 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4117 2003-03-09 Angus Leeming <leeming@lyx.org>
4119 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4120 than Dialogs::showAboutlyx().
4122 2003-03-09 Angus Leeming <leeming@lyx.org>
4124 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4125 than Dialogs::showTabularCreate().
4127 2003-03-09 John Levon <levon@movementarian.org>
4131 * text2.C: 3rd arg to nextBreakPoint was always the same.
4134 2003-03-08 John Levon <levon@movementarian.org>
4141 * text2.C: Remove the "main" bit from the "main body"
4144 2003-03-08 John Levon <levon@movementarian.org>
4146 * text.C (leftMargin): The left margin of an empty
4147 manual label paragraph should not include the label width
4150 * text.C (prepareToPrint): don't attempt to measure hfills
4151 for empty manual label paragraphs - the answer should be 0
4153 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4155 * CutAndPaste.C: remove commented code and reindent.
4157 2003-03-08 John Levon <levon@movementarian.org>
4160 * lyxfunc.C: move reloadBuffer()
4163 * BufferView.C: to here
4165 * lyxvc.C: add comment
4168 * vc-backend.C: call bv->reload() to avoid
4169 getStatus() check on MENURELOAD
4171 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4173 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4174 to an old format .dep file.
4176 2003-03-07 Angus Leeming <leeming@lyx.org>
4178 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4179 when the LFUN_MOUSE_RELEASE should have been handled by
4180 inset->localDispatch.
4182 2003-03-07 Angus Leeming <leeming@lyx.org>
4184 * BufferView_pimpl.C (dispatch):
4185 * LyXAction.C (init):
4186 * ToolbarDefaults.C (init):
4188 * lyxfunc.C (getStatus):
4189 remove LFUN_INSET_GRAPHICS.
4191 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4193 2003-03-07 Angus Leeming <leeming@lyx.org>
4196 * LyXAction.C (init):
4197 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4199 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4202 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4204 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4205 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4207 2003-03-07 Angus Leeming <leeming@lyx.org>
4209 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4212 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4214 * ParagraphList.C (front): new function
4217 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4219 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4220 and top_row_offset_. removed var first_y.
4222 * text2.C (LyXText, removeRow):
4224 * BufferView_pimpl.C:
4225 use these methods instead of using first_y
4227 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4229 * text2.C (pasteSelection): adjust for checkPastePossible
4231 * CutAndPaste.C: remove Paragraph * buf and replace with
4232 ParagraphList paragraphs.
4233 (DeleteBuffer): delete
4234 (cutSelection): change the tc type to textclass_type
4235 (copySelection): change the tc type to textclass_type
4236 (copySelection): adjust for ParagraphList
4237 (pasteSelection): change the tc type to textclass_type
4238 (pasteSelection): adjust for Paragraphlist
4239 (nrOfParagraphs): simplify for ParagraphList
4240 (checkPastePossible): simplify for ParagraphList
4241 (checkPastePossible): remove unused arg
4243 * ParagraphList.C (insert): handle the case where there are no
4246 * CutAndPaste.h: make CutAndPaste a namespace.
4248 * text3.C (dispatch): adjust
4250 * text.C (breakParagraph): add a ParagraphList as arg
4252 * paragraph_funcs.C (breakParagraph): change to take a
4253 BufferParams and a ParagraphList as args.
4254 (breakParagraphConservative): ditto
4255 (mergeParagraph): ditto
4256 (TeXDeeper): add a ParagraphList arg
4257 (TeXEnvironment): ditto
4260 * buffer.C (readLyXformat2): adjust
4261 (insertStringAsLines): adjust
4262 (latexParagraphs): adjust
4264 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4265 (cutSelection): adjust
4266 (pasteSelection): adjust
4268 * BufferView_pimpl.C (insertInset): adjust
4270 2003-03-05 Angus Leeming <leeming@lyx.org>
4273 * LyXAction.C (init):
4274 * BufferView_pimpl.C (dispatch):
4275 * lyxfunc.C (getStatus):
4276 remove LFUN_CHILD_INSERT.
4278 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4280 2003-03-05 Angus Leeming <leeming@lyx.org>
4283 * LyXAction.C (init):
4284 * src/factory.C (createInset):
4285 * lyxfunc.C (getStatus):
4286 * text3.C (dispatch):
4287 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4289 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4291 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4293 * ParagraphList.C (insert): handle insert right before end()
4294 (erase): fix cases where it can be first or last paragraph.
4296 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4299 Paragraph::next and Paragraph::previous
4302 * text.C (breakParagraph): adjust
4304 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4305 BufferParams& as arg.
4306 (breakParagraph): use ParagraphList::insert
4307 (breakParagraphConservative): take a Buffer* instead of a
4308 BufferParams& as arg.
4309 (breakParagraphConservative): use ParagraphList::insert.
4311 * buffer.C (insertStringAsLines): un-const it
4312 (insertStringAsLines): adjust
4314 * ParagraphList.C (insert): new function
4316 * CutAndPaste.C (pasteSelection): adjust
4318 * text.C (backspace): adjust
4320 * tabular.C (SetMultiColumn): adjust
4322 * CutAndPaste.C (cutSelection): adjust
4323 (pasteSelection): adjust
4325 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4326 Buffer const * as arg
4328 * ParagraphList.C (erase): new function
4329 * paragraph_funcs.C (mergeParagraph): use it
4330 (mergeParagraph): make it take a Buffer* instead of a
4331 BufferParams* as arg
4333 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4335 (breakParagraphConservative): ditto
4337 * paragraph.h: remove the breakParagraph friend
4339 * paragraph.C (eraseIntern): new function
4340 (setChange): new function
4342 * paragraph_funcs.C (mergeParagraph): make it take a
4343 ParagraphList::iterator instead of a Paragraph *, adjust
4346 * paragraph.h: move an #endif so that the change tracking stuff
4347 also works in the NO_NEXT case.
4349 2003-03-04 Angus Leeming <leeming@lyx.org>
4352 * LyXAction.C: new LFUN_INSET_MODIFY.
4354 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4355 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4357 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * several files: ws changes only
4361 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4362 (TeXEnvironment): ditto
4365 * buffer.C (makeLaTeXFile): adjust
4366 (latexParagraphs): make it take ParagraphList::iterator as args
4368 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4370 * buffer.C (latexParagraphs): adjust
4372 * paragraph.C (TeXOnePar): move function...
4373 (optArgInset): move function...
4374 (TeXEnvironment): move function...
4375 * paragraph_pimpl.C (TeXDeeper): move function...
4376 * paragraph_funcs.C: ...here
4378 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4380 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4382 * buffer.C (readInset): remove compability code for old Figure and
4385 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4387 * buffer.C: ws changes
4390 * BufferView_pimpl.C: ditto
4393 * bufferlist.h: ditto
4397 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4399 * converter.[Ch]: split into itself +
4402 * Makefile.am: += graph.[Ch] + format.[Ch]
4409 * lyxrc.C: added #include "format.h"
4411 2003-02-27 Angus Leeming <leeming@lyx.org>
4413 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4416 * factory.C (createInset): add "label" to the factory.
4418 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4419 string and do no more.
4421 2003-02-27 Angus Leeming <leeming@lyx.org>
4424 * LyXAction.C (init):
4425 * factory.C (createInset):
4426 * BufferView_pimpl.C (dispatch):
4427 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4429 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4431 * lyxfunc.C (dispatch):
4432 * text3.C (dispatch): pass name to params2string.
4434 2003-02-26 Angus Leeming <leeming@lyx.org>
4436 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4438 Rearrange the ~includes. Strip out the unnecessary ones.
4440 * factory.C (createInset): reformat.
4441 create new insets for the various LFUN_XYZ_APPLY lfuns.
4443 2003-02-26 John Levon <levon@movementarian.org>
4446 * lyxrow.C: add isParStart,isParEnd helpers
4448 * paragraph.h: make isInserted/DeletedText take refs
4450 * paragraph_funcs.h:
4451 * paragraph_funcs.C: remove #if 0'd code
4456 * text.C: use lyxrow helpers above.
4457 Move draw and paint routines to RowPainter.
4458 Make several methods use refs not pointers.
4459 Make backgroundColor() const.
4460 Add markChangeInDraw(), isInInset().
4461 Merge changeRegionCase into changeCase.
4462 Make workWidth() shouldn't-happen code into an Assert.
4465 * rowpainter.C: new class for painting a row.
4468 * vspace.C: make inPixels take a ref
4470 2003-02-26 Angus Leeming <leeming@lyx.org>
4472 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4475 2003-02-25 John Levon <levon@movementarian.org>
4477 * ispell.C: give the forked command a more accurate name
4479 2003-02-22 John Levon <levon@movementarian.org>
4482 * toc.C: make TocItem store an id not a Paragraph *
4485 2003-02-21 Angus Leeming <leeming@lyx.org>
4487 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4488 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4489 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4490 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4491 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4492 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4494 * BufferView_pimpl.C (dispatch):
4495 * LyXAction.C (init):
4496 * factory.C (createInset):
4497 * lyxfunc.C (getStatus, dispatch):
4498 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4500 2003-02-21 Angus Leeming <leeming@lyx.org>
4502 * BufferView_pimpl.C (MenuInsertLyXFile):
4503 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4504 * lyxfunc.C (menuNew, open, doImport):
4505 no longer pass a LyXView & to fileDlg.
4507 2003-02-21 Angus Leeming <leeming@lyx.org>
4509 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4510 * LyXAction.C: change, BIBKEY to BIBITEM.
4511 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4512 Change InsetBibKey to InsetBibitem.
4513 Change BIBKEY_CODE to BIBITEM_CODE.
4514 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4515 * factory.C: replace insetbib.h with insetbibitem.h.
4516 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4517 * paragraph.C: replace insetbib.h with insetbibitem.h.
4518 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4519 Change bibkey() to bibitem().
4520 * text.C: remove insetbib.h.
4521 * text2.C: replace insetbib.h with insetbibitem.h.
4522 change bibkey() to bibitem().
4523 * text3.C: remove insetbib.h.
4524 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4526 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4528 * lyxrc.C (output): enclose user email in quotes (in case there are
4531 2003-02-18 John Levon <levon@movementarian.org>
4533 * buffer.h: add std::
4535 2003-02-17 John Levon <levon@movementarian.org>
4541 * pspell.C: reworking. Especially in ispell, a large
4542 number of clean ups and bug fixes.
4544 * lyxfunc.C: fix revert to behave sensibly
4546 2003-02-17 André Pönitz <poenitz@gmx.net>
4549 * commandtags.h: new LFUN_INSERT_BIBKEY
4559 * paragraph_func.C: remove special bibkey handling
4561 2003-02-17 John Levon <levon@movementarian.org>
4563 * text.C (Delete): fix case where delete at the end of
4564 the very first paragraph would not merge the pars
4566 2003-02-17 John Levon <levon@movementarian.org>
4568 * lyxrow.C: fix lastPrintablePos()
4570 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4572 * bufferparams.C (writeLaTeX): add a std:here
4574 * buffer.C: and remove a using directive there
4576 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4578 * buffer.C (makeLaTeXFile): move the code that generates the
4581 * bufferparams.C (writeLaTeX): ... in this new method
4583 * LaTeXFeatures.C (getEncodingSet): make const
4584 (getLanguages): make const
4586 * MenuBackend.C (binding): returns the binding associated to this
4588 (add): sets the status of each item by calling getStatus. Adds
4590 (read): add support for OptSubMenu
4591 (expand): remove extra separator at the end of expanded menu
4593 2003-02-15 John Levon <levon@movementarian.org>
4596 * BufferView_pimpl.C:
4598 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4599 inset code that had no actual effect. Remove unneeded status
4602 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4604 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4607 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4609 * text.C (drawLengthMarker): also draw an arrow marker for
4610 symbolic lengths (medskip...)
4612 2003-02-14 John Levon <levon@movementarian.org>
4615 * tabular.C: better method names
4617 2003-02-14 John Levon <levon@movementarian.org>
4619 * BufferView_pimpl.C:
4624 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4625 it's a more accurate name. Remove some pointless uses.
4627 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4629 * text2.C (LyXText): change order of initilizers to shut off
4632 2003-02-14 John Levon <levon@movementarian.org>
4634 * buffer.C: use ParIterator for getParFromID()
4638 * paragraph_pimpl.h:
4639 * paragraph_pimpl.C: remove unused getParFromID()
4641 2003-02-14 John Levon <levon@movementarian.org>
4643 * buffer.C: remove some very old #if 0'd parse code
4645 2003-02-13 John Levon <levon@movementarian.org>
4649 * text2.C: move hfillExpansion(), numberOfSeparators(),
4650 rowLast(), rowLastPrintable(), numberofHfills(),
4651 numberOfLabelHfills() ...
4654 * lyxrow.C: ... to member functions here.
4659 * text.C: remove LyXText::beginningOfMainBody(), and call
4660 p->beginningOfMainBody() directly. Move the check for
4661 LABEL_MANUAL into the latter.
4668 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4674 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4675 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4677 2003-02-13 John Levon <levon@movementarian.org>
4679 * CutAndPaste.C: remove debug
4681 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4683 * paragraph.C (asString): remove two unused variables
4685 * lyxtextclass.C (readTitleType):
4687 (LyXTextClass): handle new members titletype_ and titlename_
4689 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4691 2003-02-09 John Levon <levon@movementarian.org>
4694 * buffer.C: replace hand-coded list with a map for the dep clean
4696 2003-02-08 John Levon <levon@movementarian.org>
4698 * LaTeX.C: consolidate code into showRunMessage() helper
4700 2003-02-08 John Levon <levon@movementarian.org>
4705 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4706 and pass the size in explicitly
4708 * BufferView_pimpl.h:
4709 * BufferView_pimpl.C:
4711 * BufferView.C: add getCurrentChange()
4713 * BufferView_pimpl.h:
4714 * BufferView_pimpl.C: handle change lfuns
4716 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4717 for changes. Mark pasted paragraphs as new.
4719 * support/lyxtime.h:
4720 * support/lyxtime.C:
4721 * DepTable.C: abstract time_t as lyx::time_type
4724 * LColor.C: add colours for new text, deleted text, changebars
4726 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4727 package use "usenames" option.
4731 * LyXAction.C: add change lfuns
4735 * author.C: author handling
4738 * buffer.C: add a per-buffer author list, with first entry as
4739 current author. Handle new .lyx tokens for change tracking. Output
4740 author list to .lyx file. Output dvipost stuff to .tex preamble.
4741 Bump lyx format to 222.
4744 * bufferlist.C: add setCurrentAuthor() to reset current author details
4748 * bufferparams.C: add param for tracking
4750 * bufferview_funcs.C: output change info in minibuffer
4754 * changes.C: add change-tracking structure
4757 * debug.C: add CHANGES debug flag
4760 * lyxfind.C: add code for finding the next change piece
4763 * lyxrc.C: add user_name and user_email
4766 * lyxrow.C: add a metric for the top of the text line
4769 * text.C: implement accept/rejectChange()
4772 * text.C: paint changebars. Paint new/deleted text in the chosen
4773 colours. Strike through deleted text.
4777 * paragraph_pimpl.h:
4778 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4779 in the current change to the insert functions. Rework erase to
4780 mark text as deleted, adding an eraseIntern() and a range-based
4781 erase(). Implement per-paragraph change lookup and
4784 * paragraph_funcs.C: Fixup paste for change tracking.
4786 * tabular.C: mark added row/columns as new.
4788 * text.C: fix rowLast() to never return -1. Don't allow
4789 spellchecking of deleted text. Track transpose changes. Don't
4790 allow paragraph break or merge where appropriate.
4792 * text2.C: leave cursor at end of selection after a cut.
4794 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4796 * text.C (getLengthMarkerHeight):
4797 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4798 visible on screen too.
4800 2003-02-07 John Levon <levon@movementarian.org>
4802 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4804 2003-02-05 Angus Leeming <leeming@lyx.org>
4806 * lyxserver.C (read_ready): revert my patch of 11 September last year
4807 as it sends PC cpu through the roof. Presumably this means that
4808 the lyxserver will no longer run on an Alpha...
4810 2003-01-30 Angus Leeming <leeming@lyx.org>
4812 * factory.C (createInset): create an InsetCommandParam of type "index"
4813 and use it to 'do the right thing'.
4815 * text2.C (getStringToIndex): ensure that cursor position is always
4816 reset to the reset_cursor position.
4818 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4820 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4823 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4827 * lyxfunc.C: Output messages with identical spelling, punctuation,
4830 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4832 * MenuBackend.C (expandFormats): List only viewable export formats
4835 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4838 * lyxfunc.C (getStatus): Make sure that formats other than
4839 "fax" can also be disabled
4841 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4843 * text3.C (dispatch): put the lfuns that insert insets in 3
4844 groups, and call doInsertInset with appropriate arguments.
4845 (doInsertInset): new function, that creates an inset and inserts
4846 it according to some boolean parameters.
4848 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * buffer.C (readFile): remember to pass on 'par' when calling
4851 readFile recursively.
4853 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4855 * MenuBackend.C (expandFormats): add "..." to import formats.
4857 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4859 * paragraph.C (asString): Remove XForms RTL hacks.
4861 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4862 * buffer.C: fix typo
4864 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4866 * Makefile.am (LIBS): delete var
4867 (lyx_LDADD): add @LIBS@ here instead.
4869 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4871 * Clarify the meaning of "wheel mouse jump"
4873 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4875 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4878 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4880 * importer.C (Loaders): do not preallocate 3 elements in the
4881 vector, since one ends up with 6 elements otherwise
4883 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4885 * DepTable.C (write): write the file name as last element of the
4886 .dep file (because it may contain spaces)
4887 (read): read info in the right order
4889 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4891 * paragraph_pimpl.C (simpleTeXBlanks):
4892 (simpleTeXSpecialChars):
4893 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4895 * tabular.C (latex): add some missing case statements. Reindent.
4897 * MenuBackend.C (expandToc): remove unused variable.
4899 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4908 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4911 2003-01-05 John Levon <levon@movementarian.org>
4914 * BufferView.C: add getEncoding()
4917 * kbsequence.C: do not store last keypress
4920 * lyxfunc.C: store last keypress here instead. Pass encoding
4923 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4925 * lyx_main.C (init): remove annoying error message when following
4926 symbolic links (bug #780)
4928 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4930 * text.C (insertChar):
4931 * lyxrc.C (getDescription): remove extra spaces
4933 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4935 * lyxrc.C (getDescription): remove extra spaces
4937 2002-12-20 John Levon <levon@movementarian.org>
4939 * text3.C: hack fix for page up/down across tall rows
4941 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4943 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4946 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4948 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4949 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4950 thesaurus is not compiled in
4952 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4954 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4956 2002-12-16 Angus Leeming <leeming@lyx.org>
4959 * lyx_main.C (init): remove override_x_deadkeys stuff.
4961 2002-12-12 John Levon <levon@movementarian.org>
4963 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4964 insert. Only remove shift modifier under strict
4967 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * MenuBackend.C (expandToc): fix crash.
4971 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * MenuBackend.C (expandToc): gettext on float names.
4975 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4977 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4978 implement bool empty() [bug 490]
4980 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4982 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4984 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4986 * several files: ws changes
4988 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4990 * text2.C (setCounter): clean up a bit, use boost.format.
4991 (updateCounters): initialize par upon declaration.
4993 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4994 if the layout exists. We do not just store the layout any more.
4995 (SwitchLayoutsBetweenClasses): use boost.format
4997 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4999 * converter.C (convert): if from and to files are the same, use a
5000 temporary files as intermediary
5002 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5005 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5007 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5009 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5011 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5013 * tabular.C (asciiPrintCell): use string(size, char) instead of
5016 * sgml.C (openTag): fix order of arguments to string constructor
5019 * lyxfunc.C (dispatch): use boost.format
5021 * lots of files: change "c" -> 'c'
5023 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5025 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5027 2002-11-25 Angus Leeming <leeming@lyx.org>
5029 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5031 * lyx_main.C (init): compile fix.
5033 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5035 * lyx_cb.C (start): boost.formatify
5036 do not include <iostream>
5038 * lengthcommon.C: ws only
5040 * boost-inst.C,BoostFormat.h: add more explict instantations
5042 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5044 * lots of files: handle USE_BOOST_FORMAT
5046 2002-11-21 John Levon <levon@movementarian.org>
5048 * pspell.C: fix compile
5050 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5052 * lyxfunc.C (dispatch): use boost::format
5056 * lyxfont.C (stateText): use boost::format
5058 * lyx_main.C (LyX): use boost::format
5060 (queryUserLyXDir): ditto
5063 (typedef boost::function): use the recommened syntax.
5065 * importer.C (Import): use boost::format
5067 * debug.C (showLevel): use boost::format
5069 * converter.C (view): use boost::format
5074 * bufferview_funcs.C (currentState): use boost::format
5076 * bufferlist.C (emergencyWrite): use boost::format
5078 * buffer.C (readLyXformat2): use boost::format
5079 (parseSingleLyXformat2Token): ditto
5081 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5083 * LaTeX.C (run): use boost::format
5085 * Chktex.C (scanLogFile): use boost::format
5087 * BufferView_pimpl.C (savePosition): use boost::format
5088 (restorePosition): ditto
5089 (MenuInsertLyXFile): ditto
5091 * BoostFormat.h: help file for explicit instation.
5093 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5095 * tabular.C (latex): Support for block alignment in fixed width
5098 2002-11-17 John Levon <levon@movementarian.org>
5100 * BufferView_pimpl.C:
5102 * lyxfunc.C: split filedialog into open/save
5104 2002-11-08 Juergen Vigna <jug@sad.it>
5106 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5107 by my last patch (hopefully).
5109 2002-11-08 John Levon <levon@movementarian.org>
5118 * toc.C: ParConstIterator, and use it (from Lars)
5120 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5122 * lyxtextclass.[Ch]: revise and add doxygen comments
5124 2002-11-07 John Levon <levon@movementarian.org>
5126 * text.C: fix progress value for spellchecker
5128 * toc.C: fix navigate menu for insetwrap inside minipage
5130 * paragraph_funcs.C: added FIXME for suspect code
5132 2002-11-07 John Levon <levon@movementarian.org>
5134 * BufferView_pimpl.C: fix redrawing of insets
5137 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5139 * text2.C (updateCounters): fix bug 668
5141 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5143 * text3.C (dispatch): Do not make the buffer dirty when moving the
5146 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5148 * vc-backend.C: STRCONV
5151 * text2.C (setCounter): STRCONV
5153 * paragraph.C (asString): STRCONV
5155 * lyxlength.C (asString): STRCONV
5156 (asLatexString): ditto
5158 * lyxgluelength.C (asString): STRCONV
5159 (asLatexString): ditto
5161 * lyxfunc.C (dispatch): STRCONV
5164 * lyxfont.C (stateText): STRCONV
5166 * importer.C (Import): STRCONV
5168 * counters.C (labelItem): STRCONV
5169 (numberLabel): ditto
5170 (numberLabel): remove unused ostringstream o
5175 * bufferview_funcs.C (currentState): STRCONV
5177 * buffer.C (readFile): STRCONV
5178 (asciiParagraph): ditto
5179 (makeLaTeXFile): ditto
5181 * Spacing.C (writeEnvirBegin): STRCONV
5183 * LaTeXFeatures.C (getLanguages): STRCONV
5184 (getPackages): ditto
5186 (getBabelOptions): ditto
5187 (getTClassPreamble): ditto
5188 (getLyXSGMLEntities): ditto
5189 (getIncludedFiles): ditto
5193 (scanAuxFile): ditto
5196 * LString.h: add the STRCONV macros
5198 * BufferView_pimpl.C (savePosition): STRCONV
5199 (restorePosition): ditto
5200 (MenuInsertLyXFile): ditto
5202 * vc-backend.C (scanMaster): change from submatch[...] to
5205 * funcrequest.C: include config.h
5207 * factory.C: include config.h
5209 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5211 * box.C: include config.h
5213 * LaTeX.C (scanAuxFile): change from submatch[...] to
5217 2002-10-25 Angus Leeming <leeming@lyx.org>
5219 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5221 * ispell.[Ch] (setError): new method.
5222 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5223 Use setError() insetead of goto END.
5225 * lyx_cb.C (AutoSave): move out child process into new class
5228 2002-10-30 John Levon <levon@movementarian.org>
5230 * text3.C: make start appendix undoable
5232 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5234 * lyxlength.C (inPixels): Fix returned value.
5236 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5239 2002-10-24 Angus Leeming <leeming@lyx.org>
5241 * lyxgluelength.h: no need to forward declare BufferParams
5242 or BufferView, so don't.
5244 2002-10-21 John Levon <levon@movementarian.org>
5246 * BufferView.C: menuUndo ->undo, redo
5248 * BufferView.h: document, remove dead, make some methods private
5250 * paragraph_funcs.h:
5251 * paragraph_funcs.C:
5252 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5257 * sgml.C: move sgml open/close tag into sgml.C
5259 * bufferview_funcs.h: unused prototype
5262 * lyxfunc.C: remove unused
5265 * text.C: remove unused
5267 2002-10-21 John Levon <levon@movementarian.org>
5271 * BufferView_pimpl.h:
5272 * BufferView_pimpl.C: fix mouse wheel handling based on
5273 patch from Darren Freeman
5275 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5277 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5279 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5281 * lyxlength.C (inPixels): Fix hanfling of negative length.
5282 Fix LyXLength::MU case.
5284 2002-10-16 John Levon <levon@movementarian.org>
5286 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5288 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5290 * converter.C (view): add support for $$i (file name) and $$p
5291 (file path) for the viewer command. If $$i is not specified, then
5292 it is appended to the command (for compatibility with old syntax)
5294 2002-10-14 Juergen Vigna <jug@sad.it>
5296 * undo_funcs.C (textHandleUndo): alter the order in which the
5297 new undopar is added to the LyXText, as we have to set first
5298 the right prev/next and then add it as otherwise the rebuild of
5299 LyXText is not correct. Also reset the cursor to the right paragraph,
5300 with this IMO we could remove the hack in "redoParagraphs()".
5302 2002-10-09 Angus Leeming <leeming@lyx.org>
5304 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5305 to turn off an optimisation if a new inset is to be inserted.
5307 2002-10-11 André Pönitz <poenitz@gmx.net>
5309 * lyxtext.h: make some functions public to allow access
5310 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5312 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5314 * text3.C (dispatch): when changing layout, avoid an infinite loop
5317 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5319 * lyxrc.C (read): treat a viewer or converter command of "none" as
5322 * MenuBackend.C (expandFormats): for an update, also allow the
5323 formats that are not viewable
5325 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5326 script if it is newer than the lyxrc.defaults in user directory
5328 2002-10-07 André Pönitz <poenitz@gmx.net>
5330 * text.C: Vitaly Lipatov's small i18n fix
5332 2002-09-25 Angus Leeming <leeming@lyx.org>
5334 * ispell.h: doxygen fix.
5336 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5338 * buffer.h (readFile): Add a new argument to the method, to allow
5339 reading of old-format templates.
5341 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5343 * toc.C (getTocList): Get TOC from InsetWrap.
5345 2002-09-16 John Levon <levon@movementarian.org>
5347 * lyxfunc.C: check tabular for cut/copy too
5349 2002-09-12 John Levon <levon@movementarian.org>
5354 * factory.C: add header
5356 * paragraph_funcs.h:
5357 * paragraph_funcs.C: cleanup
5359 2002-09-11 John Levon <levon@movementarian.org>
5361 * PrinterParams.h: odd/even default to true
5363 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5365 * PrinterParams.h: update printer parameters for new xforms dialog
5367 2002-09-11 Angus Leeming <leeming@lyx.org>
5369 * lyxserver.C (read_ready): re-write to make it more transparent
5370 and to make it work in coherent fashion under Tru64 Unix.
5372 2002-09-11 André Pönitz <poenitz@gmx.net>
5376 * text3.C: implement LFUN_WORDSEL
5378 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5381 make floatlist_ a boost::shared_ptr<FloatList>
5383 * lyxtextclass.C: include FloatList.h
5384 (LyXTextClass): initialize floatlist_
5385 (TextClassTags): add TC_NOFLOAT
5386 (Read): match "nofloat" to TC_NOFLOAT and use it.
5387 (readFloat): modify call to floatlist_
5391 * FloatList.[Ch] (FloatList): remove commented out float
5393 (erase): new function
5395 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5397 * MenuBackend.C (expandToc): fix crash when there is no document
5400 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5402 * many files: Add insetwrap.
5404 2002-09-09 John Levon <levon@movementarian.org>
5406 * text2.C: remove confusing and awkward depth wraparound
5408 2002-09-09 John Levon <levon@movementarian.org>
5410 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5413 * buffer.C: remove getIncludeonlyList()
5416 * lyxfunc.C: remove headers
5418 2002-09-09 Juergen Vigna <jug@sad.it>
5420 * text.C (getColumnNearX): fix form Michael this is most
5421 probably a cut&paste bug.
5423 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5425 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5427 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5428 references, ws changes.
5430 * text2.C (init): update counters after init
5431 (insertParagraph): no need to set counter on idividual paragraphs.
5432 (setCounter): access the counters object in the textclass object
5433 on in the buffer object.
5434 (updateCounters): ditto
5436 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5437 shared_ptr<Counters> to avoid loading counters.h in all
5439 (LyXTextClass): initialize ctrs_
5440 (TextClassTags): add TC_COUNTER, and ...
5441 (Read): use it here.
5442 (CounterTags): new tags
5443 (readCounter): new function
5444 (counters): new funtion
5445 (defaultLayoutName): return a const reference
5447 * counters.C (Counters): remove contructor
5448 (newCounter): remove a couple of unneeded statements.
5449 (newCounter): simplify a bit.
5450 (numberLabel): some small formatting changes.
5452 * buffer.[Ch]: remove all traces of counters, move the Counters
5453 object to the LyXTextClass.
5455 2002-09-06 Alain Castera <castera@in2p3.fr>
5457 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5458 package to set the horizontal alignment on fixed width columns.
5461 * lyx_sty.h: added tabularnewline macro def.
5463 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5465 2002-09-06 John Levon <levon@movementarian.org>
5467 * LyXAction.C: tooltips for sub/superscript
5469 * MenuBackend.C: a bit more verbose
5471 * lyxfunc.C: tiny clean
5473 * undo_funcs.C: document undo_frozen
5475 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5477 * counters.C (Counters): add missing algorithm counter.
5479 * text2.C (setCounter): lookup the counter with layouts latexname
5480 instead of by section number.
5481 (setCounter): use a hackish way to lookup the correct enum
5483 a float name->type change
5484 reset enum couners with counter name directly instead of depth value.
5486 * counters.C (Counters): remove the push_backs, change to use the
5487 float type not the float name.
5488 (labelItem): remove unused string, float name->type change
5490 * counters.h: don't include vector, loose the enums and sects vectors
5492 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5494 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5495 (Read): add float->TC_FLOAT to textclassTags
5496 (Read): and handle it in the switch
5497 (readFloat): new function
5499 * FloatList.C (FloatList): comment out the hardcoded float
5502 * lyxlayout.h: ws change.
5504 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5506 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5508 2002-09-03 Angus Leeming <leeming@lyx.org>
5510 * BufferView_pimpl.h: qualified name is not allowed in member
5511 declaration: WorkArea & Pimpl::workarea() const;
5513 * factory.C: added using std::endl directive.
5515 * text3.C: added using std::find and std::vector directives.
5517 2002-08-29 André Pönitz <poenitz@gmx.net>
5520 * text2.C: remove unused member number_of_rows
5523 * BufferView2.C: remove file, move contents to...
5524 * BufferView.C: ... here
5526 * BufferView_pimpl.C:
5527 * factory.C: move more inset creation to factory
5529 * vspace.C: avoid direct usage of LyXText, ws changes
5532 don't provide direct access to WorkArea, use two simple
5533 acessors haveSelction() and workHeight() instead
5536 2002-08-29 John Levon <levon@movementarian.org>
5538 * BufferView_pimpl.C (dispatch): do not continue when
5541 2002-08-28 André Pönitz <poenitz@gmx.net>
5543 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5546 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5548 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5550 * buffer.C: increment LYX_FORMAT to 221
5552 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5553 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5555 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5557 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5559 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5561 * factory.C (createInset): use LyXTextClass::floats
5563 * MenuBackend.C (expandFloatListInsert):
5564 (expandFloatInsert):
5567 * text2.C (setCounter):
5569 * LaTeXFeatures.C (useFloat):
5570 (getFloatDefinitions):
5572 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5574 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5575 floatlist_, with accessor floats().
5577 * FloatList.h: remove global FloatList
5579 2002-08-26 André Pönitz <poenitz@gmx.net>
5581 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5585 * BufferView_pimpl.C:
5586 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5588 2002-08-25 John Levon <levon@movementarian.org>
5590 * LyXAction.C: fix margin note description
5592 2002-08-24 John Levon <levon@movementarian.org>
5596 * bufferview_funcs.C:
5598 * undo_funcs.C: cleanups
5600 * lyxfunc.C: disable CUT/COPY when no selection
5602 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5604 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5605 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5607 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5608 Add backward compatibility to "mono", "gray" and "no".
5610 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5612 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5613 (and file_format >= 200).
5615 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5617 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5619 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5621 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5623 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5625 * BufferView_pimpl.C:
5632 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5633 inset and code to make it work with the paragraph code. The inset
5634 can be anywhere in the paragraph, but will only do the expected
5635 thing in LaTeX if the layout file contains the parameter line
5637 (or more generally, a nonzero value) for that layout.
5639 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5641 * paragraph.h: remove the declaration of undefined counters class
5644 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5646 * text2.C (setCounter): fixed enumeration mis-count as reported by
5647 Dr. Richard Hawkins.
5649 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5651 * paragraph_funcs.h: remove some unneeded includes
5653 * text.C (backspace): pasteParagraph now in global scipe
5655 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5656 (pasteSelection): ditto
5658 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5659 * paragraph_funcs.C (pasteParagraph): ... here
5661 2002-08-20 André Pönitz <poenitz@gmx.net>
5663 * commandtags.h: new LFUNs for swapping/copying table row/colums
5666 * lyxfunc.C: support for new lfuns
5668 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5671 * buffer.[Ch]: remove NO_COMPABILITY stuff
5673 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5675 * boost.C (throw_exception): new file, with helper function for
5676 boost compiled without exceptions.
5681 * ParameterStruct.h:
5682 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5684 * bufferlist.C (emergencyWriteAll): use boost bind
5686 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5688 * text.C: include paragraph_funcs.h
5689 (breakParagraph): breakParagraph is now in global scope
5691 * paragraph_funcs.[Ch]: new files
5693 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5696 * buffer.C: include paragraph_funcs.h
5697 (insertStringAsLines): breakParagraph is now in global scope
5699 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5702 * CutAndPaste.C: include paragraph_funcs.h
5703 (cutSelection): breakParagraphConservative is now in global scope
5704 (pasteSelection): ditto
5706 * buffer.h: declare oprator== and operator!= for
5707 Buffer::inset_iterator
5709 * bufferlist.C (emergencyWrite): don't use fmt(...)
5711 * text3.C: add using std::endl
5713 * BufferView.C (moveCursorUpdate): remove default arg
5715 2002-08-20 André Pönitz <poenitz@gmx.net>
5717 * buffer.[Ch]: move inline functions to .C
5720 * BufferView_pimpl.C:
5722 * buffer.[Ch]: use improved inset_iterator
5725 * paragraph.[Ch]: write one paragraph at a time
5727 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5729 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5730 style if style is not specified.
5732 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5734 * text2.C (setCounter): when searching for right label for a
5735 caption, make sure to recurse to parent insets (so that a caption
5736 in a minipage in a figure float works) (bug #568)
5738 2002-08-20 André Pönitz <poenitz@gmx.net>
5740 * text3.C: new file for LyXText::dispatch() and helpers
5742 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5744 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5746 2002-08-19 André Pönitz <poenitz@gmx.net>
5749 * text.C: new LyXText::dispatch()
5751 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5753 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5755 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5757 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5760 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5762 * Makefile.am: use $(variables) instead of @substitutions@
5764 2002-08-15 André Pönitz <poenitz@gmx.net>
5767 * BufferView_pimpl.C: streamlining mathed <-> outer world
5771 * LyXAction.C: remove unused LFUN_MATH
5773 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5775 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5777 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5779 * paragraph.C (Paragraph): reformat a bit
5780 (cutIntoMinibuffer): use builtin InsetList function instad of
5784 * buffer.C: include boost/bind.hpp, add using std::for_each
5785 (writeFileAscii): use ParagraphList iterators
5786 (validate): use for_each for validate traversal of paragraphs
5787 (getBibkeyList): use ParagraphList iterators
5788 (resizeInsets): use for_each to resizeInsetsLyXText for all
5790 (getParFromID): use ParagraphList iterators
5792 * BufferView2.C (lockInset): use paragraph list and iterators
5794 2002-08-14 John Levon <levon@movementarian.org>
5796 * lyxserver.C: remove spurious xforms include
5798 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5800 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5802 2002-08-13 André Pönitz <poenitz@gmx.net>
5805 * lyxfunc.C: further cleaning
5807 2002-08-13 André Pönitz <poenitz@gmx.net>
5809 * funcrequest.h: new constructor
5811 * funcrequest.C: move stuff here from .h
5814 * BufferView_pimpl.C:
5817 * lyxfunc.C: subsequent changes
5819 * lyxfunc.h: new view() member function
5821 * lyxfunc.C: subsequent changes
5823 2002-08-13 Angus Leeming <leeming@lyx.org>
5826 * BufferView_pimpl.C:
5834 changes due to the changed LyXView interface that now returns references
5835 to member variables not pointers.
5837 2002-08-13 Angus Leeming <leeming@lyx.org>
5839 * WordLangTuple (word, lang_code): return references to strings,
5844 * lyxtext.h: forward-declare WordLangTuple.
5849 * text.C: #include "WordLangTuple.h".
5852 * text.C: (selectNextWordToSpellcheck): constify return type.
5854 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5860 * paragraph_pimpl.h:
5863 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5865 Made updateCounter always count from start of buffer, and removed
5866 second argument (par).
5867 Reverted floats number display to '#'. Perhaps I'll try again when the
5868 code base is sanitized a bit.
5870 2002-08-12 Angus Leeming <leeming@lyx.org>
5872 * buffer.[Ch] (getLabelList): constify.
5874 2002-08-07 André Pönitz <poenitz@gmx.net>
5876 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5878 * funcrequest.h: extension to keep mouse (x,y) position
5880 2002-08-12 Juergen Vigna <jug@sad.it>
5882 * BufferView2.C (insertErrors): forbid undo when inserting error
5885 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5887 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * ParagraphList.[Ch]: new files
5891 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5893 * BufferView2.C (lockInset): ParagraphList changes
5896 * bufferlist.C: ditto
5900 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5902 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5903 unused class variable counter_,
5905 * paragraph.[Ch] (getFirstCounter): delete unused function
5907 * counters.C: include LAssert.h
5908 (reset): add a new function with no arg, change other version to
5909 not have def. arg and to not allow empty arg.
5911 * text2.C (setCounter): remove empty arg from call to Counters::reset
5913 2002-08-11 John Levon <levon@movementarian.org>
5915 * Makefile.am: add WordLangTuple.h
5917 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5919 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5920 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5922 * insets/insettext.C: InsetList changes
5924 * graphics/GraphicsSupport.C (operator()): InsetList changes
5926 * toc.C (getTocList): InsetList changes
5928 * paragraph_pimpl.[Ch]: InsetList changes
5930 * paragraph.[Ch]: InsetList changes
5932 * buffer.C (inset_iterator): InsetList changes
5933 (setParagraph): ditto
5934 * buffer.h (inset_iterator): ditto
5935 * iterators.C (operator++): ditto
5936 * iterators.h: ditto
5938 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5940 * InsetList.[Ch]: new files, most InsetList handling moved out of
5943 * BufferView2.C (removeAutoInsets): InsetList changes
5945 (ChangeInsets): ditto
5947 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5949 * paragraph_pimpl.h (empty): new function
5951 * paragraph.[Ch] (empty): new function
5953 * other files: use the new Paragraph::empty function
5955 2002-08-09 John Levon <levon@movementarian.org>
5957 * lyxtext.h: remove unused refresh_height
5959 2002-08-09 John Levon <levon@movementarian.org>
5966 * paragraph.C: move sgml char escaping out of paragraph
5969 * paragraph.C: remove id setter
5973 * paragraph_pimpl.C: remove dead tex_code_break_column
5975 * bufferview_funcs.C: small cleanup
5977 * lyxfunc.C: remove dead proto
5979 * lyxtext.h: make some stuff private. Remove some dead stuff.
5981 * lyxgluelength.C: make as[LyX]String() readable
5983 2002-08-08 John Levon <levon@movementarian.org>
5988 * ToolbarDefaults.C:
5991 * toc.C: lyxaction cleanup
5993 2002-08-08 John Levon <levon@movementarian.org>
5995 * BufferView2.C: small cleanup
5998 * lyxfind.C: move unnecessary header into the .C
6000 2002-08-08 John Levon <levon@movementarian.org>
6002 * funcrequest.h: just tedious nonsense
6005 * lyx_main.C: cleanups
6008 * vspace.C: remove dead header lyx_main.h
6010 2002-08-07 Angus Leeming <leeming@lyx.org>
6013 * paragraph_pimpl.h:
6014 Forward declare class Counters in paragraph.h by moving the ctrs member
6015 variable into Paragraph::Pimpl.
6016 (counters): new method, returning a reference to pimpl_->ctrs.
6018 * text2.C: ensuing changes.
6020 2002-08-07 John Levon <levon@movementarian.org>
6022 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6024 * BufferView_pimpl.C: announce X selection on double/triple
6027 * lyx_main.C: use correct bool in batch dispatch
6029 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6031 2002-08-07 André Pönitz <poenitz@gmx.net>
6033 * funcrequest.h: new class to wrap a kb_action and its argument
6036 * BufferView_pimpl[Ch]:
6040 * lyxrc.C: subsequent changes
6043 2002-08-07 John Levon <levon@movementarian.org>
6045 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6046 document options change.
6048 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6053 * makefile.am: move counters functionality over from
6054 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6056 2002-08-06 John Levon <levon@movementarian.org>
6058 * WordLangTuple.h: new file for word + language code tuple
6069 * BufferView2.C: use WordLangTuple
6072 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6074 2002-08-06 John Levon <levon@movementarian.org>
6076 * lyx_main.C: fix cmdline batch handling
6078 2002-08-06 André Pönitz <poenitz@gmx.net>
6080 * lyxrc.C: set default for show_banner to true
6082 2002-08-06 John Levon <levon@movementarian.org>
6084 * pspell.C: fix a crash, and allow new aspell to work
6086 2002-08-06 John Levon <levon@movementarian.org>
6089 * kbmap.C: small cleanup
6092 * vspace.C: add const
6094 2002-08-05 John Levon <levon@movementarian.org>
6096 * LyXAction.C: back to tabular-insert
6098 2002-08-04 John Levon <levon@movementarian.org>
6101 * BufferView.C: cosmetic change
6103 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6113 * BufferView2.C: purge all "Lyx" not "LyX" strings
6116 * lyxcursor.C: attempt to add some documentation
6121 * ToolbarDefaults.C:
6122 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6123 merge with LFUN_TABULAR_INSERT
6130 * pspell.C: split up i/pspell implementations into separate
6131 files, many cleanups
6133 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6135 * text2.C: some cleanup
6137 * lyxfunc.C: don't check for isp_command == "none" any more, it
6138 didn't make any sense
6140 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6145 * makefile.am: move counters functionality over
6146 from text2.C/paragraph.[Ch] to counters.[Ch], and
6148 2002-08-02 John Levon <levon@movementarian.org>
6150 * buffer.C: s/lyxconvert/lyx2lyx/
6152 2002-08-02 Angus Leeming <leeming@lyx.org>
6154 * lyxlex.C: revert John's change as it breaks reading of the user
6157 2002-08-02 Angus Leeming <leeming@lyx.org>
6159 * importer.C (Import):
6160 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6161 changes due to LyXView::view() now returning a boost::shared_ptr.
6163 2002-08-02 John Levon <levon@movementarian.org>
6165 * lyxlex.C: small cleanup
6167 2002-08-02 John Levon <levon@movementarian.org>
6169 * text2.C (status): small cleanup, no logic change
6171 2002-08-01 John Levon <levon@movementarian.org>
6174 * buffer.C (writeFile): don't output alerts, caller
6178 * lyx_cb.C: from above
6180 * lyxfunc.C: allow to open non-existent files
6182 2002-07-31 John Levon <levon@movementarian.org>
6184 * lyxserver.C: don't let incidental errors get
6187 2002-07-30 John Levon <levon@movementarian.org>
6189 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6191 2002-07-30 John Levon <levon@movementarian.org>
6194 * lyxserver.C: remove I/O callback too
6196 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6198 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6201 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6203 * many files: strip,frontStrip -> trim,ltrim,rtrim
6205 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6207 * PrinterParams.h: remove extern containsOnly, and include
6208 support/lstrings.h instead.
6210 * LaTeX.C (scanAuxFile): modify because of strip changes
6212 * buffer.C (makeLaTeXFile): ditto
6213 * bufferparams.C (writeFile): ditt
6214 * lyxfont.C (stateText): ditto
6215 * lyxserver.C (read_ready): ditto
6216 * vc-backend.C (scanMaster): ditto
6218 * BufferView_pimpl.h: ws changes
6220 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6222 2002-07-26 André Pönitz <poenitz@gmx.net>
6224 * kb_sequence.C: remove unnedred usings
6226 2002-07-26 Juergen Vigna <jug@sad.it>
6228 * lyxfind.C (LyXReplace): we have to check better if the returned
6229 text is not of theLockingInset()->getLockingInset().
6231 2002-07-25 Juergen Vigna <jug@sad.it>
6233 * lyxfind.C (LyXReplace): don't replace if we don't get the
6236 * undo_funcs.C (createUndo): remove debugging code.
6238 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6240 * buffer.C (parseSingleLyXformat2Token): Use default placement
6241 when reading old floats.
6243 * FloatList.C (FloatList): Change the default placement of figure
6244 and tables to "tbp".
6246 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6248 * MenuBackend.C: using std::max
6250 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6252 * MenuBackend.C (expandToc):
6253 (expandToc2): code moved from xforms menu frontend. It is now
6254 generic and TOCs are transparent to menu frontends.
6256 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6258 * toc.C (getTocList): protect against buf=0
6260 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6261 Menu as first parameter. Now, this calls itself recursively to
6262 expand a whole tree (this will be useful for TOC handling)
6263 (expandFloatInsert): remove 'wide' version of floats
6265 * MenuBackend.h (submenuname): returns the name of the submenu.
6266 (submenu): returns the submenu itself, provided it has been
6267 created by MenuBackend::expand
6269 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6271 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6272 insets which have noFontChange == true. (bug #172)
6274 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6276 * BufferView_pimpl.C: add connection objects and use them...
6279 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6281 * MenuBackend.C (expandLastfiles):
6284 (expandFloatListInsert):
6285 (expandFloatInsert):
6286 (expand): split expand in parts
6288 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6290 * lyx_gui.C: use lyx_gui::exit()
6292 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6294 * LyXAction.C: show the failing pseudo action
6296 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6298 * buffer.C (readFile): Run the lyxconvert script in order to read
6301 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6305 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6307 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6311 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6313 2002-07-22 Herbert Voss <voss@lyx.org>
6316 * lyxlength.[Ch]: add support for the vertical lengths
6318 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6320 * toc.[Ch]: std:: fixes
6322 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6324 * lyxrc.C: do not include lyx_main.h
6326 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6332 * BufferView2.C: include "lyxlex.h"
6335 * bufferparams.h: do not #include "lyxlex.h"
6337 * lyxtextclasslist.C (Add): remove method
6338 (classlist): renamed to classlist_
6340 * paragraph_pimpl.C:
6344 * bufferview_funcs.C:
6349 * toc.C (getTocList): use BufferParams::getLyXTextClass
6351 * toc.C (getTocList): use InsetFloat::addToToc
6353 * toc.[Ch]: new files, containing helper functions to handle table
6356 * lyxfunc.C (dispatch): no need to remove spaces around command
6358 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6359 first command of the sequence; it is not very clever, but I do not
6360 have a better idea, actually
6362 * LyXAction.C (LookupFunc): make sure to remove space at the
6363 beginning and end of the command
6365 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6367 * MenuBackend.C (getMenubar): new method: return the menubar of
6369 (read): treat differently reading of menu and menubar (in
6370 particular, the menubar has no name now)
6371 (Menu::menubar): remove
6373 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6376 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6378 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6379 a bibitem inset in a RTL paragraph.
6381 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6383 * paragraph_pimpl.C: constify
6385 * BufferView_pimpl.C:
6387 * lyxfunc.C: fix dispatch in a nicer way
6389 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6391 * lyxfunc.C (dispatch):
6392 * BufferView_pimpl.C:
6393 * BufferView_pimpl.h:
6395 * BufferView.h: rename Dispatch() to dispatch()
6397 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6399 * lyxlayout.C (Read): honor DependsOn tag
6401 * lyxlayout.[Ch] (depends_on): new method
6403 * version.C.in: update lyx_docversion
6405 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6407 * paragraph.C (validate): remove from here...
6408 * paragraph_pimpl.C (validate): ... and move here
6409 (isTextAt): make it const
6411 * buffer.C (getLists): ws cleanup
6413 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6415 * language.C (read): Use iso8859-1 encoding in latex_lang
6416 (this prevents LyX from crashing when using iso10646-1 encoding).
6418 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6420 * text2.C (toggleInset): if cursor is inside an inset, close the
6421 inset and leave cursor _after_ it
6423 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6425 * lyxfunc.C: move minibuffer completion handling out of here
6427 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6429 * BufferView_pimpl.C:
6430 * LaTeX.C: fix dispatch calls
6432 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6434 * text.C (drawChars): Fix Arabic text rendering.
6436 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6440 * lyxfunc.C: remove message-push/pop
6444 * lyxfunc.C: rationalise some code by removing verboseDispatch
6445 in favour of a bool argument to dispatch()
6447 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6449 * lyx_main.C (init): make sure to read symlinks as absolute paths
6451 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6454 * lyxfunc.C: no need for commandshortcut to be a member
6456 2002-07-15 André Pönitz <poenitz@gmx.net>
6458 * converter.C: add support for $$s (scripts from lib/scripts dir)
6459 * lyx_main.C: white space
6461 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6465 * lyxrc.C: remove second exit confirmation
6467 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6472 * BufferView_pimpl.h:
6473 * BufferView_pimpl.C:
6474 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6476 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6478 * MenuBackend.C (expand): add numeric shortcuts to document menu
6480 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6482 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6484 * lyxfont.C (setLyXFamily):
6491 * buffer.C (asciiParagraph): use ascii_lowercase
6493 2002-07-15 Mike Fabian <mfabian@suse.de>
6495 * lyxlex_pimpl.C (search_kw):
6496 * lyxlex.C (getLongString):
6497 * converter.h (operator<):
6498 * converter.C (operator<):
6499 * buffer.C (parseSingleLyXformat2Token):
6501 * ToolbarDefaults.C (read):
6502 * MenuBackend.C (checkShortcuts):
6504 * LColor.C (getFromGUIName):
6505 (getFromLyXName): use the compare_ascii_no_case instead of
6506 compare_no_case, because in turkish, 'i' is not the lowercase
6507 version of 'I', and thus turkish locale breaks parsing of tags.
6509 2002-07-16 Angus Leeming <leeming@lyx.org>
6511 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6512 now takes a Buffer const & argument.
6514 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6516 * BufferView.C (resize): check there's a buffer to resize
6518 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6520 * lyxfunc.C: remove dead code
6523 * lyxserver.C: use lyx_guii::set_read_callback
6525 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6527 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6528 an inset in a RTL paragraph.
6530 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6532 * lyxfunc.C: repaint after a font size update
6534 2002-07-15 André Pönitz <poenitz@gmx.net>
6536 * lyxlength.C: inBP should be able to return negative values
6538 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6540 * lyxfunc.C: use lyx_gui::update_fonts()
6542 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6544 * lyxfunc.C: use lyx_gui::update_color()
6546 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6552 * lyxrc.C: remove file->new asks for name option, and let
6553 buffer-new take an argument
6555 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6557 * BufferView_pimpl.C: remove unneeded extra repaint()
6559 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6561 * LyXAction.C: allow command-sequence with NoBuffer
6563 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6565 2002-07-10 Angus Leeming <leeming@lyx.org>
6567 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6569 2002-07-09 Angus Leeming <leeming@lyx.org>
6571 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6573 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6575 * lengthcommon.h: whitespace
6577 * lyxfunc.C: update scrollbar after goto paragraph
6579 * lyxtext.h: factor out page break drawing, and fix it so
6580 page break/added space paints as selected nicely
6582 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6584 * BufferView_pimpl.C: add FIXMEs, clean up a little
6586 2002-07-09 André Pönitz <poenitz@gmx.net>
6588 * lyxfont.[Ch]: support for wasy symbols
6590 2002-07-08 André Pönitz <poenitz@gmx.net>
6592 * BufferView_pimpl.C: apply John's patch for #93.
6594 2002-07-05 Angus Leeming <leeming@lyx.org>
6596 * BufferView_pimpl.C (buffer): generate previews if desired.
6598 * LColor.h: add "preview" to the color enum.
6600 * LColor.C (LColor): add a corresponding entry to the items array.
6602 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6605 2002-07-05 Angus Leeming <leeming@lyx.org>
6607 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6608 The body of the code is now in the method that is passed an ostream &
6609 rather than a file name.
6610 Pass an additional only_preamble parameter, useful for the forthcoming
6613 2002-07-03 André Pönitz <poenitz@gmx.net>
6615 * lyxfunc.C: simplify getStatus() a bit for math stuff
6617 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6619 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6621 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6623 * text.C (changeRegionCase): do not change case of all the
6624 document when region ends at paragraph end (bug #461)
6626 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6628 * paragraph.C (startTeXParParams):
6629 (endTeXParParams): add \protect when necessary
6631 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6633 * BufferView_pimpl.C (workAreaExpose): remove warning
6635 2002-06-27 Angus Leeming <leeming@lyx.org>
6637 * Makefile.am: add lyxlayout_ptr_fwd.h.
6639 2002-06-26 André Pönitz <poenitz@gmx.net>
6641 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6643 2002-06-25 Angus Leeming <leeming@lyx.org>
6645 * lyxfunc.C (dispatch): Comment out the call to
6646 grfx::GCache::changeDisplay. The method no longer exists now that the
6647 pixmap generation part of the graphics loader has been moved into
6650 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6652 * text2.C: layout as layout
6654 * text.C: layout as layout
6656 * tabular.C (OldFormatRead): layout as layout
6658 * paragraph_pimpl.C (TeXDeeper): layout as layout
6659 (realizeFont): layout as layout
6661 * paragraph.C (writeFile): layout as layout
6662 (validate): layout as layout
6663 (getFont): layout as layout
6664 (getLabelFont): layout as layout
6665 (getLayoutFont): layout as layout
6666 (breakParagraph): layout as layout
6667 (stripLeadingSpaces): layout as layout
6668 (getEndLabel): layout as layout
6669 (getMaxDepthAfter): layout as layout
6670 (applyLayout): layout as layout
6671 (TeXOnePar): layout as layout
6672 (simpleTeXOnePar): layout as layout
6673 (TeXEnvironment): layout as layout
6674 (layout): layout as layout
6675 (layout): layout as layout
6677 * lyxtextclass.C (compare_name): new functor to work with
6678 shared_ptr, layout as layout
6679 (Read): layout as layout
6680 (hasLayout): layout as layout
6681 (operator): layout as layout
6682 (delete_layout): layout as layout
6683 (defaultLayout): layout as layout
6685 * lyxlayout_ptr_fwd.h: new file
6687 * lyxlayout.C (Read): layout as layout
6689 * lyx_cb.C (MenuInsertLabel): layout as layout
6691 * bufferlist.C (newFile): layout as layout
6693 * buffer.C (readLyXformat2): layout as layout
6694 (parseSingleLyXformat2Token): layout as layout
6695 (insertStringAsLines): layout as layout
6696 (asciiParagraph): layout as layout
6697 (latexParagraphs): layout as layout
6698 (makeLinuxDocFile): layout as layout
6699 (simpleLinuxDocOnePar): layout as layout
6700 (makeDocBookFile): layout as layout
6701 (simpleDocBookOnePar): layout as layout
6702 (getLists): layout as layout
6704 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6706 * CutAndPaste.C (cutSelection): layout as layout
6707 (pasteSelection): layout as layout
6708 (SwitchLayoutsBetweenClasses): layout as layout
6710 * BufferView_pimpl.C (Dispatch): layout as layout
6711 (smartQuote): layout as layout
6713 * BufferView2.C (unlockInset): layout as layout
6715 2002-06-24 André Pönitz <poenitz@gmx.net>
6717 * lyxfunc.C: fix #487
6719 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6723 * lyxfunc.C: remove display_shortcuts, show_banner
6725 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6727 * Buffer_pimpl.C: oops, update on resize
6729 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6736 * BufferView.C: use repaint()
6738 * BufferView_pimpl.h:
6739 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6740 as it's a clearer description. Remove superfluous
6743 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6745 * text.C: fix bug 488. Not ideal, but getting
6746 getWord() to work properly for the insets that
6747 matter is more difficult ...
6749 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6751 * BufferView_pimpl.C:
6754 * lyxfunc.C: remove the six million index lyxfuncs to just
6755 one, and DTRT (bug 458)
6757 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6761 * BufferView_pimpl.h:
6762 * BufferView_pimpl.C: clean up resize() stuff,
6763 and unnecessary updateScreen()s
6765 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6769 * BufferView_pimpl.h:
6770 * BufferView_pimpl.C:
6773 * minibuffer.C: remove focus management of workarea,
6774 not needed. Use screen's greyOut()
6776 2002-06-17 Herbert Voss <voss@lyx.org>
6778 * converter.C: (convert) do not post a message, when converting
6779 fails, let the calling function decide what to do in this case
6781 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6783 * lyxfunc.C: tidy up a little
6785 2002-06-16 <alstrup@diku.dk>
6787 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6788 Got rid of FORMS_H_LOCATION include. Now we are
6791 2002-06-15 LyX Development team <lyx@rilke>
6793 * buffer.[Ch] (sgmlOpenTag):
6794 (sgmlCloseTag): Added support for avoiding pernicious mixed
6795 content. Return number of lines written.
6798 (makeDocBookFile): Fixed calls to sgml*Tag.
6799 Simple white space clean.
6801 (simpleDocBookOnePar): Simple white space clean.
6803 * tabular.[Ch] (docBook): Renamed to docbook and got another
6804 argument to related with the pernicious mixed content.
6806 (docbookRow): Fixed calls for docbook inset method.
6808 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6810 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6811 so it's X11 independent.
6815 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6817 2002-06-15 Lyx Development team <lyx@electronia>
6819 * intl.h: Renamed getTrans to getTransManager.
6821 2002-06-14 Angus Leeming <leeming@lyx.org>
6823 * Makefile.am: nuke forgotten stl_string_fwd.h.
6825 2002-06-12 Angus Leeming <leeming@lyx.org>
6827 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6829 2002-06-13 Angus Leeming <leeming@lyx.org>
6832 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6834 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6836 * kbmap.C (getiso): add support for cyrillic and greek
6838 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6842 * BufferView_pimpl.h:
6843 * BufferView_pimpl.C: move bogus scrolling logic
6846 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6849 * BufferView_pimpl.C: view->resize() change
6851 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6853 * BufferView_pimpl.C: topCursorVisible
6856 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6860 * lyx_gui.C: move to frontends/
6864 * lyx_main.C: changes from above
6866 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6873 * lyx_main.C: minor tidy
6875 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6877 * BufferView_pimpl.h:
6878 * BufferView_pimpl.C:
6880 * BufferView.C: make painter() const,
6883 * BufferView2.C: use screen() accessor
6886 * lyx_main.C: some minor cleanup
6888 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6890 * BufferView_pimpl.h:
6891 * BufferView_pimpl.C: remove enter/leaveView,
6894 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6899 * BufferView_pimpl.h:
6900 * BufferView_pimpl.C: only construct screen once,
6903 * lyxrc.C: remove pointless comment
6905 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6908 * BufferView.C: remove active() and belowMouse()
6910 * BufferView_pimpl.h:
6911 * BufferView_pimpl.C: use workarea() not workarea_,
6912 and make it use a scoped_ptr instead
6914 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6916 * lyx_gui.C: add debug message on BadWindow
6918 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6920 * sp_spell.C: fdopen is not part of the C++ standard.
6922 * paragraph.C (InsetIterator): use >= instead of ==
6924 2002-06-07 Angus Leeming <leeming@lyx.org>
6926 Fixes needed to compile with Compaq cxx 6.5.
6927 * BufferView_pimpl.C:
6934 * lyxtextclasslist.C:
6939 all c-library variables have been moved into namespace std. Wrap
6940 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6945 Add a using std::abs declaration.
6947 * kbmap.h (modifier_pair):
6948 * paragraph.h (InsetTable, InsetList):
6949 * lyxfont.h (FontBits):
6950 type definition made public.
6952 * bufferlist.C (emergencyWriteAll): the compiler complains that
6953 there is more than one possible lyx::class_fun template to choose from.
6954 I re-named the void specialisation as lyx::void_class_fun.
6956 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6958 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6959 the compiler is is unable to find tostr in write_attribute.
6961 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6963 * buffer.C (sgmlError): hide #warning
6965 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6967 * xtl/*: get rid of xtl, which is not in use anyway
6969 * LyXAction.C (init):
6970 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6971 were unimplemented xtl experimentation
6973 2002-06-04 André Pönitz <poenitz@gmx.net>
6975 * lyxfunc.C: disable array operation on simple formulae
6977 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6979 * converter.C: constify a bit
6981 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6983 * lyx_gui.C: check xforms version correctly
6985 2002-04-30 Herbert Voss <voss@lyx.org>
6987 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6990 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6992 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6993 attempt to register it with a VCS)
6995 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6997 * lyx_main.C (init): honor variables LYX_DIR_13x and
7000 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7004 * lyx_main.C: fix a crash on bad command line,
7005 and give a useful exit status on error
7007 * lyxfunc.C (doImport): allow -i lyx to work
7009 2002-03-30 André Pönitz <poenitz@gmx.net>
7011 * lyxfunc.C: mathed font changes
7013 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7028 * trans_mgr.h: srcdocs, and some minor cleanups
7030 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7032 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7033 call getFont all the time)
7035 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7037 * switch from SigC signals to boost::signals
7039 2002-05-29 André Pönitz <poenitz@gmx.net>
7041 * paragraph_pimpl.C (getChar): don't call size() too often...
7043 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7045 * paragraph_pimpl.C (insertChar): do not try to update tables when
7046 appending (pos == size())
7048 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7049 in order to reduce drastically the number of comparisons needed to
7050 parse a large document
7052 2002-05-29 André Pönitz <poenitz@gmx.net>
7058 * textclasslist.[Ch]:
7059 * sp_ispell.h: whitespace change
7061 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7063 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7064 lyxaction directly now.
7066 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7070 * lyxvc.C: remove unused headers
7072 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7079 * undo_funcs.C: some cleanups. Use shared_ptr
7080 and a template for the undo stacks.
7082 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7084 * BufferView_pimpl.h:
7085 * BufferView_pimpl.C:
7092 * text2.C: use key_state/mouse_state
7094 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7096 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7099 * chset.C: change include order
7100 (loadFile): use boost regex and get rid of LRegex and LSubstring
7102 * Makefile.am (BOOST_LIBS): new variable
7105 * LaTeX.C: change include order.
7106 (scanAuxFile): use boost regex and get rid of LRegex and
7110 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7115 * FontInfo.C: moved to frontends/xforms/
7118 * FontLoader.C: moved into frontends for GUIIzation
7123 * lyxfunc.C: changes from above
7125 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7127 * LColor.C: remove spurious X include
7129 * BufferView_pimpl.C:
7134 * text2.C: move font metrics to frontends/
7136 2002-05-24 Juergen Vigna <jug@sad.it>
7138 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7139 setting the undo_cursor.
7141 * ParagraphParameters.h: include local includes first.
7143 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7145 * BufferView_pimpl.C:
7146 * BufferView_pimpl.h:
7150 * screen.C: move WorkArea into frontends/
7156 * BufferView2.C: move LyXScreen into frontends/
7160 * lyx_gui.C: move lyxlookup into frontends/xforms/
7162 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7165 * BufferView_pimpl.C:
7175 * bufferview_funcs.C:
7188 * vc-backend.C: move LyX/XFormsView into frontends/
7190 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7202 * text2.C: move Painter to frontends/
7204 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7206 * buffer.C: comment out some some code that depend upon lyx_format
7209 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7210 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7212 * buffer.h (NO_COMPABILITY): turn off compability
7214 * ColorHandler.C: include scoped_array.hpp
7216 * font.C: Use more specific smart_ptr header.
7219 * ShareContainer.h: ditto
7223 * BufferView_pimpl.h: ditto
7224 * ColorHandler.h: ditto
7226 * kbmap.C (defkey): change call to shared_ptr::reset
7228 2002-05-21 Juergen Vigna <jug@sad.it>
7230 * buffer.C (insertErtContents): fix to insert ert asis if it is
7231 non empty. Skip it completely if it contains only whitespaces.
7233 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7235 * BufferView_pimpl.C:
7236 * BufferView2.C: clear selection on paste (bug 393)
7238 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7240 * DepTable.C: include ctime
7242 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7244 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7246 2002-05-14 Juergen Vigna <jug@sad.it>
7248 * text.C (breakParagraph): fixed function to honor the keepempty
7249 layout in the right maner and also to permit the right breaking
7250 algorithm on empty or non empyt keepempty paragraphs.
7252 * paragraph.C (breakParagraph): we have to check also if the par
7253 is really empty (!size()) for isempty otherwise we do the wrong
7256 2002-05-10 Juergen Vigna <jug@sad.it>
7258 * buffer.[Ch] : The following are only changes to the ert
7259 compatibility read reading old LaTeX layout and font stuff and
7260 convert it to ERTInsets.
7262 * buffer.h: added isErtInset().
7264 * buffer.C (struct ErtComp): add a fromlayout bool to check
7265 if we're inside a LaTeX layout.
7266 (isErtInset): new helper function.
7267 (insertErtContents): look for other ert insets before this one
7268 and insert the contents there, so that we don't have subsequent
7269 ERT insets with nothing between them. This way we create only one
7270 inset with multiple paragraphs. Also check if we don't insert only
7271 spaces ' ' as they are ignored anyway afterwards in the .tex file
7272 so if we have only spaces we will ignore this latex part in the
7274 (parseSingleLyXformat2Token \\layout): better compatibility when
7275 reading layout-latex stuff.
7276 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7278 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7279 stuff after reading the inset only get the information back from
7282 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7284 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7286 * LaTeXFeatures.C (getBabelOptions): New method.
7288 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7290 * BufferView_pimpl.C (Dispatch): work around missing argument for
7293 2002-05-08 Juergen Vigna <jug@sad.it>
7295 * text.C (leftMargin): handle paragraph leftindent.
7297 * paragraph.C (writeFile): write the new \\leftindent tag.
7298 (validate): handle leftindent code.
7299 (TeXEnvironment): handle paragraphleftindent code again.
7301 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7303 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7304 for paragrap_extra indent code and new token \\leftindent.
7305 (latexParagraphs): handle the leftindent as environment.
7307 * ParameterStruct.h: added leftindent support.
7309 * ParagraphParameters.C (leftIndent): added support functions for
7310 the paragraph left indent.
7312 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7315 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7317 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7320 * text.C (computeBidiTables): No bidi in insetERT.
7322 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7325 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7327 * version.C.in: pre 5
7329 2002-05-02 José Matos <jamatos@fep.up.pt>
7330 * buffer.C (makeDocBookFile): white space changes, add newline to
7332 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7334 * tabular.C (docBook): fix typo.
7336 2002-05-03 Juergen Vigna <jug@sad.it>
7338 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7339 change in LyXText as we can not be sure it was not freed.
7340 (drawOneRow): remove unused code.
7342 * text.C (drawInset): redo the calculation of the need_break_row as
7343 it could have a row which was already freed.
7344 (draw): look at the return value of drawInset and return false if
7345 it also returned false.
7346 (paintRowText): look at the return value of draw and return false if
7347 it also returned false.
7349 * lyxtext.h: added bool return type to drawInset() and draw() so that
7350 if we have a change in the row so that the rowbreak has to be redone
7351 we abort drawing as it will be called again.
7353 2002-05-02 Juergen Vigna <jug@sad.it>
7355 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7356 a change in the maintext also if we're inside an inset.
7357 (Dispatch): set the cursor again after a break line and after the
7358 screen has been updated as it could be we're in a different row.
7360 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7361 to set the cursor behind the pargraph with > size().
7362 (setCursor): check also for the same paragraph when checking where
7363 to put the cursor if we have a NFR inset.
7365 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7366 parts of layout read further up as it still was in the wrong
7369 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7371 * screen.C (drawFromTo): change sine fullRebreak always return
7374 * buffer.C (parseSingleLyXformat2Token): reindent some
7376 * BufferView_pimpl.C (update): change since fullRebreak always
7378 (Dispatch): git rid of the last hardcoded "Standard"s.
7380 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7382 * text2.[Ch] (fullRebreak): make it return void now that we always
7385 2002-04-30 Juergen Vigna <jug@sad.it>
7387 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7388 ert compatibility check for "latex" layout.
7390 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7392 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7393 minipages: use col% instead of p%, and also use the current font.
7394 (makeLaTeXFile): Fix use babel condition.
7395 (parseSingleLyXformat2Token): Correct font when reading old floats.
7397 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7399 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7400 inserting list of floats.
7402 2002-04-25 Herbert Voss <voss@lyx.org>
7404 * MenuBackend.C (expand): don't add the graphics extensions to the
7407 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7409 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7410 non-existing layout, do not complain if it was the default layout
7411 of the original class (bug #342)
7413 2002-04-24 Juergen Vigna <jug@sad.it>
7415 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7416 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7418 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7420 * buffer.C (getBibkeyList): If using \bibliography, return the
7421 option field with the reference itself. Enables us to provide natbib
7422 support when using \bibliography.
7424 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7426 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7428 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7429 natbib is provided by the LaTeX class.
7431 2002-04-23 Juergen Vigna <jug@sad.it>
7433 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7436 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7438 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7440 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7442 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7443 ensuremath around textordmasculine, textordfeminine and
7446 2002-04-19 Juergen Vigna <jug@sad.it>
7448 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7449 reinitializing the buffer otherwise row-dimensions may be wrong.
7450 (update): reset also the selection cursors if they do exits otherwise
7451 their x/y positions may be wrong.
7453 * text2.C (cursorDown): don't enter the inset if we came from a row
7454 above and are one row over the inset.
7456 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7457 really leaving an inset.
7459 2002-04-18 Juergen Vigna <jug@sad.it>
7461 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7462 of the selected paragraph does not have the selected layout also if
7465 * text2.C (setLayout): fixed bug which did not change last selected
7468 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7469 changed the read and substituted \\end_float with \\end_inset!
7471 * BufferView_pimpl.C (cursorPrevious):
7472 (cursorNext): fixed to make it work with rows heigher than the work
7473 area without moving the cursor only the draw of the row.
7474 (workAreaMotionNotify): fix jumping over high rows.
7476 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7478 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7481 2002-04-16 Juergen Vigna <jug@sad.it>
7483 * text2.C (setCursor): set also the irow().
7484 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7486 (cursorDown): support for locking an inset if the x_fix value goes
7487 inside it. That way I can transverse insets too with cursor up/down.
7489 * lyxrow.h: added irow helper function same as other (i) functions.
7491 * BufferView_pimpl.C (cursorPrevious):
7492 (cursorNext): fixed for insets!
7494 2002-04-15 Juergen Vigna <jug@sad.it>
7496 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7497 position otherwise it is wrong in some cases.
7499 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7500 inside the inset before the call.
7502 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7504 * buffer.[Ch] (getBibkeyList): make it const.
7506 2002-04-12 Juergen Vigna <jug@sad.it>
7508 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7510 * text2.C (getCursorX): new helper function
7511 (setCursor): compute also ix_
7512 (setCursorFromCoordinates): set also ix.
7514 * lyxcursor.h: added ix_ and helper functions.
7516 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7518 * buffer.C (insertStringAsLines): dont break paragraph if the this
7519 paragraph is inside an inset which does not permit it!
7521 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7522 also with no chars on this paragraph.
7523 (paintRowText): only paint stuff if it's inside the workarea!
7525 * paragraph.C (breakParagraph): honor keepempty flag and break the
7526 paragraph always below not above.
7528 * BufferView2.C (unlockInset): update the paragraph layout on inset
7529 unlock as we changed paragraph in such a case.
7531 * lyxfind.C (LyXFind): clear the former selection if not found!
7533 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7534 again called in insertChar().
7536 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7537 an inset which uses the whole row!
7538 (rightMargin): ditto.
7539 (insertChar): force a rebreak if we inserted an inset!
7541 2002-03-28 Herbert Voss <voss@lyx.org>
7543 * lyxlength.[Ch]: add inBP() to get the right PS-point
7544 units (BigPoint). With inPixels we have rounding errors
7546 2002-04-11 Juergen Vigna <jug@sad.it>
7548 * text2.C (setCursorFromCoordinates): set iy to the right value.
7549 (setCursor): add check if row->previous exists!
7551 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7552 an old float_type as this was the case in the old code!
7554 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7556 * BufferView2.C (showLockedInsetCursor): use iy
7557 (fitLockedInsetCursor): ditto
7559 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7560 locked insets as there we have the right value now.
7562 * lyxcursor.C: added iy_ variable and iy functions to set to the
7563 baseline of cursor-y of the locked inset.
7565 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7566 (setCursor): fixed for insets which need a full row.
7568 * text.C (rowLastPrintable): don't ignore the last space when before
7569 an inset which needs a full row.
7570 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7571 as last character of a row when before a inset which needs a full row.
7573 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7575 * version.C.in: update date
7577 * text2.C (fullRebreak): try to always return true and see what
7580 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7582 * MenuBackend.C (expand): use Floating::listName
7584 * FloatList.C (FloatList): add listName argument to the built-in
7587 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7588 text associated with the float.
7590 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7592 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7594 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7596 * ShareContainer.h: add a couple of missing typenames.
7598 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7600 * lyxrc.C (getDescription): use _() correctly rather than N_().
7602 2002-03-28 Herbert Voss <voss@lyx.org>
7604 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7605 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7607 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7609 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7610 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7612 2002-03-29 Juergen Vigna <jug@sad.it>
7614 * lyxfunc.C (dispatch): add a missing fitCursor call.
7616 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7617 it was scrolled by a cursor move, so return the bool status.
7619 * BufferView.C (fitCursor): return the bool flag also to the outside
7620 world as this is needed.
7622 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7624 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7625 call the edit() as it is not needed (and wrong) IMO.
7626 (workAreaButtonPress): set the screen_first variable before evt.
7627 unlock the inset as this may change screen_first and then we have
7628 a wrong y position for the click!
7630 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7632 * MenuBackend.C (expand): another translation that I missed
7634 2002-03-28 Juergen Vigna <jug@sad.it>
7636 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7638 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7640 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7642 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7644 * MenuBackend.C (expand): fix export/view/update when there is no
7647 2002-03-27 Herbert Voss <voss@lyx.org>
7649 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7652 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7654 * bufferview_funcs.C (currentState): only show paragraph number
7655 for is DEVEL_VERSION is set.
7657 * lyxfunc.C (dispatch): put warning in INFO channel
7659 * MenuBackend.C (expand): translate the name of floats
7661 * FloatList.C (FloatList): mark the float names for translation
7663 * converter.C (convert): use LibScriptSearch
7665 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7667 * MenuBackend.C (defaults): fix default menu (we might as well get
7670 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7672 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7675 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7677 * lyxvc.C: reorder includes.
7679 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7681 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7684 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7686 * CutAndPaste.C: change layouts earlier on paste
7687 to avoid crashing when calling getFont()
7689 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7691 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7694 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7696 * WorkArea.C: remove 'Pending' debug message.
7698 * most files: ws cleanup
7700 * buffer.[Ch]: ws changes
7702 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7704 2002-03-21 Juergen Vigna <jug@sad.it>
7706 * tabular.C (SetMultiColumn): collapse also the contents of the
7707 cells and set the last border right. Added a Buffer const * param.
7709 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7711 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7714 2002-03-19 Juergen Vigna <jug@sad.it>
7716 * text2.C (clearSelection): reset also xsel_cache.
7718 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7719 where it needs to be called (John tells us to do so too :)
7720 (selectionLost): reset sel_cache.
7722 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7724 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7726 * text2.C (setCursorIntern): put debuging code in INSETS channel
7728 2002-03-19 André Pönitz <poenitz@gmx.net>
7730 * lyxfunc.C: tiny whitespace change
7732 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7734 * ToolbarDefaults.C (init):
7735 * LyXAction.C (init):
7737 * BufferView_pimpl.C (Dispatch):
7738 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7740 2002-03-19 Allan Rae <rae@lyx.org>
7742 * exporter.C (Export): removeAutoInsets before doing anything else.
7743 While I've just introduced a dependency on BufferView this really is
7744 the best place to clean the buffer otherwise you need to cleanup in
7745 a dozen places before calling export or cleanup in a dozen functions
7748 * converter.C (runLaTeX):
7749 (scanLog): Better handling of removeAutoInsets and screen updates.
7751 * lyxfunc.C (dispatch): small whitespace changes
7753 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7755 * WorkArea.C (C_WorkAreaEvent): return a value.
7756 (event_cb): return 1 if we handled the event, 0 otherwise.
7758 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7760 2002-03-18 Juergen Vigna <jug@sad.it>
7762 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7763 (GetAdditionalWidth): ditto.
7767 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7768 inset if we're there actually (probably not used right now but this
7769 is the direction to go for unifying code).
7770 (paste): disable code to clear the selection.
7772 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7773 inside an InsetText and move the check further up as it is in the
7776 * text2.C (pasteSelection): set a selection over the pasted text.
7778 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7780 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7781 and libgraphics to build on Cygwin.
7783 2002-03-15 Juergen Vigna <jug@sad.it>
7785 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7786 inserting an Inset into the paragraph. I know this is not the best
7787 fix but we already use current_view in CutAndPaste so we will remove
7788 all of it's using at the same time.
7790 * buffer.C (sgmlError): deactivated function till it is rewritten in
7791 the right mode, now it can create problems.
7793 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7794 before accessing it.
7796 2002-03-14 Juergen Vigna <jug@sad.it>
7798 * undo_funcs.C (textHandleUndo): do the right thing when updating
7799 the inset after the undo/redo.
7801 * text2.C (setCursor): just some testcode for #44 not ready yet.
7803 * undo_funcs.C (textHandleUndo): set the next() and previous()
7804 pointers of the paragraph to 0 before deleting otherwise we have
7805 problems with the Paragraph::[destructor].
7807 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7808 on a paragraph insertion.
7810 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7812 * buffer.C (asciiParagraph): use += operator for char append to
7815 * paragraph.C (getFontSettings): compare >= not just >
7816 (highestFontInRange): ditto
7819 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7821 * paragraph.C: change several algorithm to be more appripriate for
7822 the problem domain. This is lookip in FontList and in the InsetList.
7824 2002-03-13 André Pönitz <poenitz@gmx.net>
7827 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7829 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7834 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7836 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7838 * Painter.C (display): anon helper function, adjust code for this
7840 (pixmap): remove function.
7842 * Painter.h: remove private display variable.
7844 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7846 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7848 * WorkArea.[Ch]: remove figinset_canvas cruft.
7850 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7852 * lyxtextclass.C (operator): add one item cache optimization.
7854 * bufferlist.h: doxy changes
7856 * bufferlist.C: ws changes
7858 * DepTable.[Ch] (ext_exist): place const in the right spot.
7860 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7862 (workAreaExpose): call resizeInsets when the with BufferView changes.
7863 (Dispatch): adjust for protectedBlank removal
7864 (specialChar): call updateInset if the insert went ok.
7866 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7867 specialChar instead.
7869 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7871 * BufferView.h: doxy change
7873 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7875 * lyxtextclass.C (operator[]): remove non-const version
7876 (defaultLayout): remove non-const version
7878 2002-03-12 Juergen Vigna <jug@sad.it>
7880 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7881 did resize the LyXText too.
7883 * buffer.C (readLyXformat2): set layout information on newly allocated
7886 * tabular.C (OldFormatRead): set layout information on the paragraph.
7888 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7890 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7892 2002-03-11 Juergen Vigna <jug@sad.it>
7894 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7896 (resizeCurrentBuffer): force also the insets to resize themselfes.
7897 (moveCursorUpdate): fixed up for InsetText.
7899 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7902 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7903 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7904 value of Dialogs::tooltipsEnabled().
7905 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7907 2002-03-08 Juergen Vigna <jug@sad.it>
7909 * BufferView_pimpl.C (updateInset): update inset inside inset also
7910 if it isn't inside theLockingInset().
7912 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7914 * buffer.C (asciiParagraph): redo some of the word and line length
7916 (getLists): look for Caption instead of caption.
7918 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7920 * buffer.C (Buffer): initialize niceFile to true
7923 (makeDocBookFile): make sure niceFile is true on exit
7925 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7927 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7929 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7931 * LyXSendto.C: remove.
7932 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7933 * lyx_gui.C: remove now-redundant comment.
7934 * ColorHandler.h: remove forward declaration of class WorkArea.
7935 * lyxfunc.C: remove #include "WorkArea.h".
7937 2002-03-07 Juergen Vigna <jug@sad.it>
7939 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7940 got moved away with the DEPM and also set the inset_owner always
7941 right which before could have been omitted.
7943 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7945 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7946 wanted layout is not found.
7948 2002-03-07 Juergen Vigna <jug@sad.it>
7950 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7952 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7954 * paragraph.C (breakParagraph): use default layout not layout of
7956 (Paragraph): clear ParagraphParameters.
7958 2002-03-06 Juergen Vigna <jug@sad.it>
7960 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7961 otherwise it would not be a valid lenght. Fixed a special case in
7962 the minipage compatibility read where we end the document with a
7965 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7966 was set as it could be 0 for InsetTexts first entry.
7968 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7970 * paragraph.C (writeFile): if layout is empty write out
7971 defaultLayoutName().
7973 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7974 file without named layout we set layout to defaultLayoutName().
7976 2002-03-06 Juergen Vigna <jug@sad.it>
7978 * CutAndPaste.C (copySelection): set layout for new paragraph.
7980 * text.C (prepareToPrint): leave ERT inset left aligned
7981 (leftMargin): don't indent paragraphs inside ERT insets
7983 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7985 * paragraph.C (breakParagraph): dont call clear do the work manually
7987 * paragraph.[Ch] (clear): remove function
7989 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7991 * paragraph.C (Paragraph): dont call clear, the work has already
7994 * lyxtextclass.C (operator): assert if n is empty
7996 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7997 work manually instead.
7999 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8001 * BufferView_pimpl.C: protect selectionLost against text == 0
8003 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8005 * text.C (breakParagraph): fix a setting layout to '0' problem.
8007 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8009 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8010 final location of file, for the included files, and graphics.
8012 2002-03-05 Juergen Vigna <jug@sad.it>
8014 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8016 2002-03-04 Juergen Vigna <jug@sad.it>
8018 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8020 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8021 last column of multicolumn cells.
8022 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8024 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8026 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8027 file if it doesn't go to a temporary file.
8029 * buffer.C (sgmlOpenTag):
8030 (sgmlCloseTag): remove extra newline insertion.
8032 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8034 * text.C (getRowNearY): comment out debug msg
8036 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8038 * text2.C: first -> first_y
8040 * text.C (getRowNearY): add some attemts at a possible
8041 optimization, not working.
8043 * tabular.[Ch]: add BufferParams to several function so that newly
8044 created paragraph can be initialized to he default layotu for the
8047 * tabular-old.C (ReadOld): add buf->params to call of Init
8049 * screen.C: rename text->first to text->first_y
8051 * paragraph.C (breakParagraph): always set layout in the broken
8054 * lyxtextclass.C (Read): remove lowercase
8057 (delete_layout): ditto
8059 * lyxtext.h: rename first -> first_y
8061 * lyxlayout.C (Read): remove lowercase
8064 (obsoleted_by): ditto
8066 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8068 * buffer.C (insertErtContents): add params are to InsetERT
8069 (parseSingleLyXformat2Token): add code to check if a paragraphs
8070 layout really exist.
8071 (parseSingleLyXformat2Token): add params to several inset
8073 (asciiParagraph): remove lowercase, do the layout comparisons with
8076 * BufferView_pimpl.C (cursorNext): first -> first_y
8077 (resizeCurrentBuffer): first -> first_y
8078 (updateScrollbar): first -> first_y
8079 (scrollCB): first -> first_y
8080 (workAreaMotionNotify): first -> first_y
8081 (workAreaButtonPress): first -> first_y
8082 (checkInsetHit): first -> first_y
8083 (cursorPrevious): first -> first_y
8084 (cursorNext): first -> first_y
8085 (Dispatch): add buffer_->params to severl inset contructors
8087 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8089 * lyxlayout.C (Read): remove some debug info that I forgot.
8091 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8092 clean up the code slightly.
8093 (makeLinuxDocFile): ditto
8094 (makeDocBookFile): ditto
8096 * text2.C: layout as string
8098 * text.C: layout as string
8100 * paragraph_pimpl.C: layout as string
8102 * paragraph.[Ch]: layout as string
8104 * lyxtextclasslist.[Ch]: layout as string
8106 * lyxtextclass.[Ch]: layout as string
8108 * lyxtext.h: layout as string
8110 * lyxlayout.[Ch]: layout as string
8112 * lyx_cb.C: layout as string
8114 * bufferview_funcs.C: layout as string
8116 * bufferparams.C: layout as string
8118 * buffer.C: layout as string
8120 * LyXView.[Ch]: layout as string
8122 * LaTeXFeatures.[Ch]: layout as string
8124 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8126 * BufferView_pimpl.C: change current_layout to string, remove
8131 (workAreaButtonRelease): layout as string
8133 * BufferView2.C (unlockInset): adjust
8135 * vspace.C (asLatexCommand): use an explict temp variable.
8137 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8139 * Makefile.am: use FRONTEND_*
8141 2002-03-01 Juergen Vigna <jug@sad.it>
8143 * tabular.C (SetWidthOfMulticolCell): changed to something better
8144 I hope but still work in progress.
8145 (recalculateMulticolumnsOfColumn): renamed function from
8146 recalculateMulticolCells as it is more appropriate now.
8147 (SetWidthOfCell): calculate multicols better.
8149 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8151 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8153 * lyxfunc.C (processKeySym): print sequence also if it is
8154 `deleted' (complete)
8156 * kbsequence.C (print): print sequence even if it is deleted
8157 (complete would be a better word, actually).
8159 * lyxfunc.C (dispatch): print complete options after a prefix key
8161 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8163 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8165 * text2.C (setCharFont): eliminate setCharFont code duplication.
8167 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8169 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8170 LFUN_TABULAR_FEATURE (bug #177)
8172 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8174 * Makefile.am: remove figure.h
8176 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8178 * Bufferview_pimpl.C:
8190 * text2.C: remove #include "lyx_gui_misc.h".
8192 * LaTeX.C: added #include <cstdio>
8194 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8196 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8197 that the paragraph following this one can have.
8199 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8201 * vspace.C (asLatexCommand): fix bogus gcc warning
8203 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8205 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8207 * text2.C (setLayout): get rid of redundant code
8209 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8211 * text2.C (incDepth): make sure depth cannot be increased beyond
8214 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8216 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8217 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8219 * PainterBase.h (image):
8220 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8223 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8227 * BufferView_pimpl.C:
8228 * BufferView_pimpl.h:
8248 * sp_spell.C: remove fig inset, and the crap house of
8249 cards that follows it
8251 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8257 * nt_defines.h: move .h into support/
8259 * vms_defines.h: remove
8261 * WorkArea.C: add space in debug output
8265 * buffer.C: add WITH_WARNINGS
8269 * bufferlist.C: s/retrive/retrieve/, add docs
8280 * lyxgui.C: add ID to X error handler
8282 * lyxtestclass.c: fix typo
8284 2002-02-26 Juergen Vigna <jug@sad.it>
8286 * tabular_funcs.C (write_attribute): changed so that some default
8287 attributes are not written at all.
8288 (getTokenValue): set default values before trying to read the
8289 value so we have the return value always set as default if we don't
8290 find the token we search for.
8292 * tabular.C (Write): write bools as bools not as strings!
8294 2002-02-22 Juergen Vigna <jug@sad.it>
8296 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8297 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8299 * text.C (leftMargin): don't add an indent for paragraphs inside
8300 tabular cells (fix #208).
8302 2002-02-21 José Matos <jamatos@fep.up.pt>
8304 * tabular.C (docBook): fixed support for long tables.
8306 2002-02-20 Juergen Vigna <jug@sad.it>
8308 * text2.C (getFont): get the drawing font of the Inset if this
8309 paragraph is inside an inset (only important for InsetERT for now).
8311 * buffer.C (insertErtContents): use new lanugage params in ERT
8314 * CutAndPaste.C: commenting out seemingly uneeded code.
8316 2002-02-19 Allan Rae <rae@lyx.org>
8318 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8319 Iterators might be simple to use but they also get invalidated.
8320 (removeAutoInsets): renamed saved cursor tracking variables and added
8321 some comments to clarify what everything does.
8323 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8330 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8331 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8334 * vc-backend.h: remove #include "support/syscall.h"
8338 * converter.C: rearrange #includes in Lars' approved fashion.
8340 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8341 forward declare class Timeout in the header file.
8343 * XFormsView.C: changes due to the above.
8345 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8348 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8349 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8351 2002-02-18 José Matos <jamatos@fep.up.pt>
8353 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8356 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8358 * a lot of small ws changes
8359 * add a lot of using std::XXX
8360 * use std construcs some places where approp.
8361 * use some exisint stuff from lyxfunctional where approp.
8362 * Make file changes to use partial linking (lets test this now...)
8364 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8368 remove #include "support/syscontr.h" as it's redundant. Always has been.
8376 change Systemcalls::System to Systemcalls::Wait and
8377 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8378 No change of functionality, just reflects the stripped down Systemcalls
8381 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8383 * debug.[Ch]: add a GRAPHICS type to the enum.
8385 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8387 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8389 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8392 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8394 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8395 match the changes below.
8397 * text2.C (toggleInset): if there is not editable inset at cursor
8398 position, try to see if cursor is _inside_ a collapsable inset
8401 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8403 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8404 document menu has a nice checkbox
8406 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8408 * lyxlength.C (asLatexString): change PW to output as percent of
8411 * lengthcommon.C: change '%' to 't%'
8413 * lyxfunc.C (dispatch): a few comments from Martin
8415 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8419 * BufferView_pimpl.h:
8420 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8423 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8425 * vspace.C (inPixels): fix compiler warning
8427 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8429 * lyxfunc.C (getStatus): fix status message for disabled commands.
8431 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8433 * BufferView_pimpl.C: fix crash on close buffer
8434 during selection (#227)
8436 2002-01-27 Herbert Voss <voss@lyx.org>
8438 * buffer.C: link old Figure to new graphic inset
8440 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8442 * FontLoader.C (getFontinfo): Change the latex font names in order
8443 to match the names of type1inst.
8445 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8447 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8449 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8452 (remove_files_with_extension): ditto
8453 (remove_file): ditto
8456 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8457 document is smaller than the work area height. Do not initialize
8458 static variables to 0.
8460 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8462 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8464 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8465 LFUN_LAYOUT_PARAGRAPHS.
8467 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8468 tabular. It is possible to provide a possible cell, which will
8469 typically be the actcell from the corresponding insettabular
8471 * lyxfunc.C (getStatus): small cleanup; disable
8472 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8475 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8477 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8479 * paragraph.C (startTeXParParams):
8480 (endTeXParParams): new methods. The LaTeX code to
8481 start/end paragraph formatting
8482 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8483 empty (fixes bug #200)
8485 * vspace.C (inPixels): adapt to the change below
8486 (inPixels): [later] more cleanups (remove unused variables)
8488 * lyxlength.C (inPixels): change to use a width and a height as
8491 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8493 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8494 Replaced with \paperwidth
8496 * DepTable.C (insert): add std:: qualifier
8498 2002-01-18 Allan Rae <rae@lyx.org>
8500 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8503 * text.C (drawInset): Turned out I didn't know enough about how
8504 rebreaking worked. This fixes most of the redraw problems. I see
8505 an occasional cursor trail when a line is broken now and the cursor
8506 placement can seem out by a few pixels also after a rebreak.
8508 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8510 * buffer.C (parseSingleLyXformat2Token): update because minipage
8511 width is now a LyXLength
8513 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8515 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8518 2002-01-17 Juergen Vigna <jug@sad.it>
8520 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8522 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8523 is set correctly and the inset is updated correctly.
8525 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8527 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8528 the beginning of the loop.
8530 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8532 * lyxrc.C: improve help for use_scalable_fonts
8534 2002-01-17 Allan Rae <rae@lyx.org>
8536 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8538 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8540 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8541 make sure to set their inset_owner to the right value (bug #171)
8543 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8546 * DepTable.C: Implement mtime checking to reduce time spent doing
8549 2002-01-16 Juergen Vigna <jug@sad.it>
8551 * tabular.C (GetAdditionalHeight): one of error fixed.
8553 * lyxrc.C (output): small fix in writing use_pspell.
8555 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8557 * sp_base.h: #include LString.h
8559 2002-01-16 Allan Rae <rae@lyx.org>
8561 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8562 Can someone check this please?
8564 * text.C (drawInset): It was possible that p.row would be removed by
8565 breakAgainOneRow upsetting a few other settings. There may be another
8566 small tweak possible by setting need_break_row = 0 when p.row has been
8567 removed but I don't know enough about the logic here.
8569 2002-01-15 Allan Rae <rae@lyx.org>
8571 * text.C (insertChar): removed conditional truism.
8573 * BufferView2.C (removeAutoInsets): More tweaks.
8574 cur_par_prev could be a stray pointer. Check for trailing empty line
8575 in case last line was cur_par and only had an error inset on it.
8577 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8579 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8582 * vc-backend.C (most methods):
8583 * exporter.C (Export):
8584 * converter.C (convert):
8586 * LyXSendto.C (SendtoApplyCB):
8587 * lyxfunc.C (dispatch):
8591 * lyx_cb.C (AutoSave):
8593 * BufferView_pimpl.C (MenuInsertLyXFile):
8594 * buffer.C (runChktex): use Buffer::filePath().
8596 * buffer.h: rename filename to filename_; rename filepath to
8597 filepath_ and make it private
8598 (filePath): new method
8600 * buffer.C (writeFile): use fileName()
8603 * lyx_main.C (init): fix starting of LyX when the binary is a
8604 link from so,ewhere else.
8606 * minibuffer.C: include <cctype> for isprint
8608 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8610 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8611 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8612 name clash with InsetCollapsable's width function.
8614 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8616 * lastfiles.C: include <iterator>
8618 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8620 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8623 * buffer.C (makeLaTeXFile): ditto.
8624 Also make loop operation more transparent.
8626 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8628 * ToolbarDefaults.C: remove trailing comma closing namespace.
8630 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8632 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8635 * trans.C (Load): comment out unused variable, allowed.
8637 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8639 * minibuffer.[Ch] (append_char): new method to recieve input from the
8640 drop-down completion browser. If a key was pressed, then recieve this
8641 char and append it to the existing string.
8642 (peek_event): modify the positioning data passed to the completion
8643 browser so that it can be placed above the minibuffer rather than below.
8644 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8646 * LyXAction.C (init): alloe error-next for readonly documents.
8648 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8651 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8653 * bufferlist.C (readFile): create the buffer _after_ checking that
8656 * lyxfunc.C (verboseDispatch): fix handling of arguments
8658 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8660 * lyxrc.C: use string::erase() instead of initializing to "".
8663 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8665 * BufferView_pimpl.h:
8666 * BufferView_pimpl.C:
8669 * text2.C: tell X when we have made a selection for copying
8671 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8673 * BufferView_pimpl.C (MenuInsertLyXFile):
8674 * lyxfunc.C (menuNew):
8676 (doImport): add shortcuts to directory buttons
8678 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8681 * lyxfunc.C (setStatusMessage):
8682 (getStatusMessage): new methods
8683 (getStatus):use setStatusMessage instead of setErrorMessage
8684 (dispatch): when function is disabled, set error message here
8685 [instead of in getStatus previously]
8687 * BufferView_pimpl.C (workAreaButtonRelease): update
8688 toolbar/menubar here too.
8690 2002-01-13 Allan Rae <rae@lyx.org>
8692 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8693 Now seems indestructible. Remaining task is to audit all other
8694 code affected by deleteEmptyParagraphMechanism. One small quirk
8695 left is that an empty document with an error in the preamble can
8696 be made to report an error but no error box appears. I don't know
8698 (removeAutoInsets): Improved comments.
8700 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8703 * Thesaurus.C: update for Aiksaurus 0.14
8705 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8707 * text2.C (firstParagraph): removed member function, all uses
8708 replaces with ownerParagraph
8709 (redoParagraphs): here
8711 (toggleAppendix): here
8712 * BufferView2.C (insertErrors): here
8713 (setCursorFromRow): here
8715 2002-01-13 Allan Rae <rae@lyx.org>
8717 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8718 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8719 There is still a way to segfault this although you may have to do this
8720 multiple times: Have an InsetERT with an unknown command in it.
8721 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8722 <down-arrow>, <Enter> again, View->DVI, BANG!
8724 * text2.C (setCursor):
8725 (deleteEmptyParagraphMechanism):
8726 * lyxtext.h (setCursor):
8727 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8728 Making use of the return value may help fix other bugs.
8730 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8732 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8734 * LyXView.C (updateMenubar): call MenuBar::update here
8735 (updateToolbar): but not here
8736 (showState): do not update toolbar/menubar
8738 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8739 should need to care about that.
8741 * lyxfunc.C (verboseDispatch): simplify a bit
8742 (getStatus): have a version which takes a pseudoaction, and
8743 another which requires a (kb_action,string).
8745 * LyXAction.C (retrieveActionArg): make it work also when action
8746 is not a pseudo-action.
8747 (getActionName): simplify a bit
8750 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8752 * lyxfunc.C (verboseDispatch): new families of methods with
8753 several ways to specify a command and a bool to indicate whether
8754 the command name and shortcut should be displayed in minibuffer
8755 (eventually, we could extend that to a finer bitmask like
8756 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8757 (dispatch): the pristine dispatch command which just, well,
8758 dispatchs! Note it still sets its result to minibuffer; I'm not
8761 * lyxfunc.h: remove setHintMessage
8763 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8765 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8767 * BufferView_pimpl.C (specialChar): delete new inset if we have
8768 not been able to insert it.
8770 * kbmap.C: revert to using int instead of kb_action, since all we
8771 are dealing with is pseudo-actions.
8773 * LyXAction.C (searchActionArg): change to return int instead of
8774 kb_action, since the result is a pseudoaction.
8776 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8778 * buffer.C (insertErtContents): Fix (partially) the font bug.
8780 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8782 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8783 as the other one is broken on my machine!
8785 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8788 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8790 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8792 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8793 reflect their actual use. Provide compatibility code for older lyxrc
8796 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8798 change names of popup font variables in line with the changes to lyxrc.C
8800 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8802 * buffer.C (asciiParagraph): avoid outputing a word twice after
8805 * lyxrc.C (getDescription): document that document_path and
8806 template_path can be empty.
8808 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8810 * LaTeXFeatures.C (getMacros):
8811 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8813 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8815 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8817 (getPackages): rename feature "floats" to "float". Use an array to
8818 iterate over 'simple' features (i.e. just a \usepackage). Add
8819 handling of "amsmath" (renamed from "amsstyle").
8821 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8823 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8826 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8828 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8829 FuncStaus::FuncStatus & FuncStaus::some_method().
8831 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8833 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8834 of the func_satus stuff. Edited and massaged in various ways by
8837 * lyxfunc.C (getStatus): use FuncStatus
8839 2002-01-08 Juergen Vigna <jug@sad.it>
8841 * text.C (nextBreakPoint): use function Inset::isChar().
8843 * paragraph.C (TeXOnePar): use function
8844 Inset::forceDefaultParagraphs.
8846 * buffer.C (latexParagraphs): use function
8847 Inset::forceDefaultParagraphs.
8849 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8851 * lyx_gui.C (init): set the style of the menu popups to
8852 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8854 2002-01-07 Juergen Vigna <jug@sad.it>
8856 * text.C (setHeightOfRow): small fix
8857 (prepareToPrint): don't look at alignment if we don't have the place
8860 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8862 * box.C: New file. Move the Box methods and functions out of box.h,
8863 following Lars' suggestion.
8865 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8867 * box.h: #include "support/LOstream.h", needed for inlined function.
8870 * lyxtextclasslist.C: added some using std declarations.
8872 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8874 * box.h: make signed dimensions to allow insets wider than
8875 the screen (bug #162)
8877 * BufferView_pimpl.C: add some insetHit debug
8879 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8881 * vc-backend.C: add FIXME
8883 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8885 * lyxfunc.C (getStatus): enable code for showing math font status
8888 2002-01-07 Juergen Vigna <jug@sad.it>
8890 * text.C (nextBreakPoint): removed debug output not needed anymore.
8892 2002-01-06 Juergen Vigna <jug@sad.it>
8894 * text.C (nextBreakPoint): fixed up this function we had this bug
8895 since ever but now hopefully we break row better.
8896 (insertChar): we have to check if an inset is the next char as it
8897 could now happen that a large inset is causing a break.
8899 2002-01-05 Juergen Vigna <jug@sad.it>
8901 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8902 if it doesn't like to be drawed.
8904 2002-01-04 Juergen Vigna <jug@sad.it>
8906 * BufferView2.C (lockInset): forgot to set a cursor.
8908 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8910 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8915 * form_maths_panel.C:
8916 * form_maths_panel.h:
8917 * form_maths_panel.fd: implemented sub- and super- buttons in math
8920 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8921 (or ^ space) to be used as in TeX (req'd by André).
8923 * lyxfunc.C: Allow ^ and _ again to be used both as
8924 super/subscript (mathed) and as themselves (in text).
8926 2002-01-03 Allan Rae <rae@lyx.org>
8928 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8929 "LyX" or the filename of the current buffer if it has one. This is a
8930 modified form of John Levon's patch.
8932 * XFormsView.C (setWindowTitle): also set icon title.
8934 * LyXView.h (setWindowTitle): signature changed.
8935 * XFormsView.h (setWindowTitle): ditto.
8937 2002-01-02 Juergen Vigna <jug@sad.it>
8939 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8941 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8943 * screen.C (topCursorVisible): introduce a temp var for
8944 text->cursor.row(), handle the case where this row is null. (kindo
8947 * text2.C (setCursor): add a couple of asserts.
8949 * paragraph.h (inset_iterator): add -> operator
8951 * paragraph.[Ch] (autoDeleteInsets): remove member function
8953 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8954 cursor pos correctly and handle inset deletion by itself.
8955 (insertErrors): move iterator declaration out of for expression
8957 * lyxtextclass.C: add <algorithm>
8959 * Makefile.am: added the new files to sources, removed layout.C
8961 * layout.C: removed file
8963 * layout.h: remove LYX_DUMMY_LAYOUT
8965 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8969 * lyxtextclass.[Ch]:
8970 * lyxtextclasslist.[Ch]: new files
8972 * include order changes to a lot of files, also changes because of
8975 2001-12-27 Juergen Vigna <jug@sad.it>
8977 * buffer.C (asciiParagraph): more fixes.
8979 * tabular.C (ascii): make ascii export support export of only the
8980 data separated by a column-delimiter.
8981 (ascii): better support for ascii export.
8983 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8985 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8987 * tabular_funcs.C: use a "using std::getline" instead of the
8988 previous fix from Angus (necessary for cxx + lyxstring)
8990 2001-12-24 Juergen Vigna <jug@sad.it>
8992 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8994 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8995 problems. First check a minipage also if we have some ert-contents
8996 (not only on par->size(), second set the right depth of the paragraph
8997 on the relink to the root-paragraph-list!
8999 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9000 which then did not anymore update the main paragraphs on undo/redo!
9002 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9004 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9005 code. Support all font-changing funcs (even those which are not in
9006 menu currently). Support for reporting font settings in
9007 mathed (disabled until Andre provides a function on mathed's side).
9009 * func_status.h (toggle): small helper function to set toggle
9012 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9014 * tabular_funcs.C: getline -> std::getline
9016 2001-12-21 Juergen Vigna <jug@sad.it>
9018 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9019 accessed and could be 0 (I couldn't generate this but it seems
9022 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9024 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9025 * tabular_funcs.h: here and include iosfwd
9027 2001-12-20 Juergen Vigna <jug@sad.it>
9029 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9030 inside inset but undo_par was.
9032 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9034 * Thesaurus.C: always include <config.h> in sources.
9038 * box.h: do not include <config.h> in header files
9040 * text.C (paintLastRow): remove unused variable
9042 * text.C (transformChar):
9044 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9047 * font.C (width): rewrite to use uppercase() instead of
9050 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9052 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9054 * lyxfind.C: clean up of find failure position change
9056 2001-12-20 Juergen Vigna <jug@sad.it>
9058 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9060 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9061 (TeXRow): added to LaTeX a single tabular row.
9062 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9063 (Latex): simplified and finally good LT-h/f support.
9064 (various_functions): just small adaptions for LT-h/f support.
9066 * tabular_funcs.[hC]: added and moved here all not classfunctions
9069 2001-12-19 Juergen Vigna <jug@sad.it>
9071 * tabular.[Ch]: better support for longtabular options (not finished
9074 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9076 * text.C (paintLastRow): use the label font instead of the font of
9077 the last character to compute the size of *_BOX. This makes more
9078 sense and avoids a crash with empty paragraphs.
9079 Use Painter::rectangle to draw EMPTY_BOX.
9081 2001-12-19 Juergen Vigna <jug@sad.it>
9083 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9084 the paragraphs if the replaced paragraph is not the first one!
9085 Tried to delete not used paragraphs but does not work yet so for
9086 now it's inside #ifdef's and by default off!
9088 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9090 * MenuBackend.C: include "lyx_main.h" instead of declaring
9091 lastfiles (actually was declared as LastFiles* instead of a
9094 2001-12-17 Juergen Vigna <jug@sad.it>
9096 * tabular.C (AppendColumn): applied John's fix
9098 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9102 * BufferView_pimpl.h:
9103 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9106 * box.h: new start of class for above
9108 * lyxfunc.C: ignore space-only minibuffer dispatches.
9109 Show the command name when it doesn't exist
9111 * minibuffer.C: don't add empty lines to the history
9113 * minibuffer.C: add a space on dropdown completion
9115 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9117 * text.C: fix line above/below drawing in insets
9119 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9121 * lyxlength.C (LyXLength): Initialize private variables.
9123 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9125 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9126 when inserting error insets.
9128 2001-12-13 Juergen Vigna <jug@sad.it>
9130 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9131 actually sometimes the before-paragraph.
9132 (setUndo): don't clear the redostack if we're not actually undoing!
9134 2001-12-06 Juergen Vigna <jug@sad.it>
9136 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9137 and fixed redoing of main paragraph, so we can use it now ;)
9139 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9141 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9143 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9146 2001-12-13 André Pönitz <poenitz@gmx.net>
9149 * undo_func.C: minor cleanup
9151 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9153 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9154 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9155 font in urw-fonts package which is marked as -urw-fontspecific and
9156 does not work (incidentally, changing the encoding in the
9157 fonts.dir of this package to -adobe-fontspecific fixes the
9160 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9161 is a crash when undoing first paragraph (Juergen, please take a
9162 look). THis does not mean the undo fix is wrong, just that it
9165 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9166 the (Paragraph*) version when needed instead of duplicating the
9169 * text.C (workWidth): use Inset::parOwner to find out where the
9170 inset has been inserted. This is a huge performance gain for large
9171 documents with lots of insets. If Inset::parOwner is not set, fall
9172 back on the brute force method
9174 * paragraph_pimpl.C (insertInset):
9175 * paragraph.C (Paragraph):
9176 (cutIntoMinibuffer): set parOwner of insets when
9177 inserting/removing them
9179 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9181 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9187 * mathed/formulabase.C:
9188 * mathed/math_cursor.[Ch]:
9189 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9192 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9194 * lyxlength.[Ch] (operator!=): new function
9196 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9198 * text.C (workWidth): use Inset::parOwner to find out where the
9199 inset has been inserted. This is a huge performance gain for large
9200 documents with lots of insets. If Inset::parOwner is not set, fall
9201 back on the brute force method
9203 * paragraph_pimpl.C (insertInset):
9204 * paragraph.C (Paragraph):
9205 (cutIntoMinibuffer): set parOwner of insets when
9206 inserting/removing them
9208 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9210 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9212 * tabular-old.C (getTokenValue):
9213 * tabular.C (getTokenValue):
9214 (write_attribute): new versions for LyXLength
9215 (everywhere): adjust the use of widths
9217 * tabular.h: change the type of widths from string to LyXLength
9219 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9221 * paragraph.C: fixed missing line number count when exporting
9222 Environments to LaTeX file
9224 * buffer.C: added informational message for checking line numbers.
9226 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9228 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9229 paragraph, do the 'double space' part, but not the 'empty
9232 * text.C (workWidth): small optimization
9233 (getLengthMarkerHeight): use minimal size for negative lengths.
9235 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9237 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9239 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9241 2001-12-11 André Pönitz <poenitz@gmx.net>
9244 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9246 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9248 * text2.C: keep selection on a setFont()
9250 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9252 * lyx_cb.C: another bv->text misuse, from insert label
9254 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9257 * kbsequence.C: re-instate nmodifier mask
9259 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9261 * lyx_main.h: make lyxGUI private.
9263 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9265 * lyxfind.C: place the cursor correctly on failed search
9267 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9269 * text.C (getLengthMarkerHeight): for small heights, the arrows
9270 are not always on top/bottom of the text
9271 (drawLengthMarker): smaller arrows; take the left margin in
9272 account; draw also vfills.
9274 (paintLastRow): remove special code for vfill and standard spaces,
9275 since everything is handled in drawLengthMarker now.
9277 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9279 * buffer.C (insertErtContents): try to handle font and language
9280 interaction a bit better.g
9282 * ColorHandler.C (updateColor): change the hash to cover the whole
9283 LColor enum, ws cleanup
9284 (getGCLinepars): ditto
9285 (getGCLinepars): only lookup in the linecache once.
9287 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9289 * iterators.C (operator++): Make the iterator more robust
9291 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9293 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9295 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9298 * text.C: better added space drawing
9300 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9303 * BufferView2.C: fix layout combo update on inset unlock
9305 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9307 * Makefile.am: don't compile unused files
9309 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9313 * LyXAction.C: remove old LFUN_LAYOUTNO
9315 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9317 * paragraph_pimpl.h:
9318 * paragraph_pimpl.C: isTextAt() doesn't need font param
9320 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9323 * lyxlex.C: little cleanup
9325 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9327 * BufferView_pimpl.C: fix insertAscii for insets
9329 2001-12-05 Juergen Vigna <jug@sad.it>
9331 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9332 set the right font on the "multi" paragraph paste!
9334 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9340 * lyxlength.C: remove out-commented code.
9356 * vc-backend.C: change "while(" to "while ("
9358 * lyxlength.[Ch]: add zero function to check if length is zero or
9360 * lyxgluelength.C: use it
9362 2001-12-05 Allan Rae <rae@lyx.org>
9364 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9365 Works for 2.95.3, from what I understand of Garst's reports this should
9366 work for other g++ versions. We're screwed if the abs(int) definition
9367 changed between bugfix releases of gcc.
9369 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9371 * text.C: fix chapter label offset !
9373 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9376 * text.C: fix hfill at end of line, clean up
9378 2001-12-04 Juergen Vigna <jug@sad.it>
9380 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9381 that we force an update of the inset and it's owners if neccessary.
9383 2001-12-03 Juergen Vigna <jug@sad.it>
9385 * text.C (rowLast): simplified code
9387 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9389 * lyxfunc.C: fix show options on timeout
9391 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9393 * screen.C (topCursorVisible): scroll half a page when the cursor
9394 reached top of bottom of screen
9396 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9398 * minibuffer.C: deactivate on loss of focus
9400 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9402 * vspace.[Ch] (operator!=): add operator.
9404 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9406 * BufferView_pimpl.C: refuse to open an inset when
9407 there's a selection.
9409 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9411 * BufferView_pimpl.C: allow to click on RHS of full row insets
9413 2001-11-30 Juergen Vigna <jug@sad.it>
9415 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9416 insets for undo reasons.
9418 2001-11-28 André Pönitz <poenitz@gmx.net>
9420 * vspace.[Ch]: cosmetical changes
9422 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9432 * kbsequence.C: part re-write of old kb code
9435 * WorkArea.C: remove Lgb_bug_find_hack
9437 2001-11-30 José Matos <jamatos@fep.up.pt>
9439 * buffer.C (makeDocBookFile): add a comment to point a hack.
9440 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9441 Fixed a double write of labels.
9443 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9446 * LaTeX.h Fixed bug in LaTeX class where it would not
9447 re-run latex if no depfiles were changed, but the .dvi was removed.
9449 2001-11-28 André Pönitz <poenitz@gmx.net>
9451 * all the files from the change on 2001/11/26:
9452 use lyx::layout_type instead of LyXTextClass::size_type
9453 use lyx::textclass_type instead of LyXTextClassList::size_type
9455 2001-11-29 Juergen Vigna <jug@sad.it>
9457 * text.C: added support for paragraph::isFreeSpacing()
9459 * buffer.C: same as above
9461 * paragraph.h: inserted isFreeSpacing() function to enable
9462 FreeSpacing inside InsetERT.
9464 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9465 of the paragraph's in the cut/copy buffer to 0!
9467 * text2.C (removeRow): remove the assert as it can!
9469 * lyxtext.h: added helper function firstRow returning firstrow and
9470 made firstrow private again.
9472 * BufferView2.C (lockInset): don't relock if we're already locked!
9474 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9476 (removeRow): added Assert::(firstrow)
9478 * debug.C: forgot to add INSETTEXT here.
9480 2001-11-28 Juergen Vigna <jug@sad.it>
9482 * sp_spell.C (initialize): changed error text to more general
9483 spellchecker command use (not only ispell!)
9485 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9487 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9489 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9491 * vspace.C: initialise lyxgluelength on failure
9493 2001-11-28 Allan Rae <rae@lyx.org>
9495 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9496 declaration & definition that looks like a function declaration.
9498 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9500 * BufferView2.C (copy):
9501 (copyEnvironment): do not clear the selection when doing a copy.
9503 * text.C (paintFirstRow): compilation fix
9505 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9507 * tabular.C (Latex): correct line count when writing latex.
9509 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9511 * paragraph_pimpl.h:
9512 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9515 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9519 * LColor.C: change vfillline->added_space
9521 * text.C: add markers and text for added space
9523 * vspace.C: fix comment
9525 2001-11-28 André Pönitz <poenitz@gmx.net>
9527 * paragraph.C: whitespace changes
9528 * all the other files from the change on 2001/11/26:
9529 change *::pos_type into lyx::pos_type
9531 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9533 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9534 language of the document when inserting error insets.
9536 2001-11-26 André Pönitz <poenitz@gmx.net>
9538 * BufferView_pimpl.[Ch]:
9546 * paragraph_pimpl.[Ch]:
9549 * text2.C: reduce header dependencies, introduce type for positions
9551 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9553 * <various>: change to use Alert.h
9555 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9557 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9558 when encountering an unknown token.
9559 (readLyXformat2): Show an error message if there were unknown tokens.
9561 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9564 * BufferView_pimpl.C:
9568 * text2.C: use par->isInset()
9570 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9572 * paragraph_pimpl.h:
9573 * paragraph_pimpl.C: cleanup
9575 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9577 * text2.C (removeRow):
9578 * text.C (setHeightOfRow): remove useless (and costly) call to
9581 2001-11-20 Allan Rae <rae@lyx.org>
9583 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9584 Now need Inset*::checkInsertChar() to return true for appropriate
9585 cases so that the characters in the minibuffer will actually be
9588 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9590 * text.C: change the order of the includes.
9591 (workWidth): initialize it at once.
9592 (workWidth): make maxw unsigned
9593 (setHeightOfRow): remove unused variable (inset)
9594 (selectSelectedWord): remove unused variable (inset)
9595 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9597 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9599 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9600 server is not running.
9602 (closeConnection): add debug info when server is disabled.
9604 * ColorHandler.C (getGCForeground): send debug message to GUI
9607 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9609 * kbmap.C (bind): modify because return conventions of
9610 kb_sequence::parse have changed.
9612 * kbsequence.C (parse): only ignore spaces and not any stupid
9613 control character. This avoids tests like s[i] <= ' ', which are
9614 guaranteed to fail with 8bit characters and signed chars.
9615 Change return code to string::npos when there have been no error
9616 (0 was a bad idea when error is at first character)
9618 2001-11-14 José Matos <jamatos@fep.up.pt>
9621 * buffer.C (simpleDocBookOnePar): removed unused argument.
9623 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9625 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9626 insets which are part of a word. Paragraph::isLetter takes care of
9627 that now. Use Paragraph::isInset to identify insets.
9628 (selectSelectedWord): do not test for hyphenation break.
9630 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9631 that protected spaces are considered as spaces.
9633 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9636 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9639 * lyxserver.C: fix it. and small cleanup.
9641 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9643 * BufferView_pimpl.C: use inline helpers
9646 * LaTeXFeatures.C: fix typos
9649 * Spacing.C: move spacing_string into class
9651 * ToolbarDefaults.C: move stuff into namespace anon
9653 * layout.h: update enum
9655 * lyxfunc.C: use better debug
9657 * minibuffer.h: fix typo
9661 * WorkArea.C: add and use Debug::WORKAREA
9665 * text2.C: code re-organisation, inline helpers
9667 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9669 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9670 std::vector.empty().
9672 2001-11-09 Allan Rae <rae@lyx.org>
9674 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9675 '\n's after tables. Tabular and ERT inset work now makes this no
9678 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9681 * minibuffer.C: fix crash, improve drop-down completion
9683 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9686 * lyxserver.C: invalidate fd's when doing endPipe()
9688 2001-11-08 José Matos <jamatos@fep.up.pt>
9690 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9691 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9694 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9696 2001-11-07 José Matos <jamatos@fep.up.pt>
9699 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9702 * buffer.C (sgmlOpenTag):
9703 * buffer.C (sgmlCloseTag): removed debug info.
9705 * buffer.h (sgmlOpenTag):
9706 * buffer.h (sgmlCloseTag): made public.
9708 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9710 * buffer.C (saveParamsAsDefaults):
9711 * lyx_cb.C (MenuLayoutSave): remove
9713 * LyXAction.C (init):
9715 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9717 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9719 * buffer.C (setPaperStuff): removed from here...
9721 * bufferparams.C (setPaperStuff): ... and moved there.
9723 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9727 * XFormsView.C: add support for drop-down completion
9729 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9731 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9734 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9736 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9739 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9741 * lyx_main.C: change ref to known bugs
9743 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9745 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9746 to work around older babel problems.
9748 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9750 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9752 2001-10-24 Juergen Vigna <jug@sad.it>
9754 * tabular-old.C (ReadOld): below variable changes reflected.
9756 * tabular.[Ch]: added ltType struct for longtable header/footer
9757 defines and changed all instances where they are used. Added
9758 future support for double top/bottom rows.
9760 2001-10-24 José Matos <jamatos@fep.up.pt>
9762 * buffer.h (docbookHandleCaption):
9763 * buffer.C (docbookHandleCaption): removed unused function.
9764 (makeDocBookFile): moved docbook supported version to v4.1.
9766 2001-10-24 José Matos <jamatos@fep.up.pt>
9769 * tabular.C (docbookRow): new function to export docbook code of a row.
9770 (DocBook): now honors the longtable flags.
9772 2001-10-23 José Matos <jamatos@fep.up.pt>
9775 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9776 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9778 * buffer.C (makeLinuxDocFile):
9779 (makeDocBookFile): reworked the preamble, more clean, and with
9780 support for lyx defined entities. Changed the document declaration
9781 to be more XML friendly.
9783 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9784 if we need to output XML that should be done with a filter.
9786 2001-10-22 Juergen Vigna <jug@sad.it>
9788 * sp_pspell.h (class PSpell): add alive function needed in the
9789 controller to see if the spellchecker could be started.
9791 2001-10-22 Juergen Vigna <jug@sad.it>
9793 * buffer.C (insertStringAsLines): modify the font for inserting
9794 chars in certain conditions by calling checkInsertChar(font).
9796 2001-10-19 Juergen Vigna <jug@sad.it>
9798 * text.C (workWidth): use getRow instead of wrong algorithm.
9799 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9801 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9806 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9808 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9810 * text.C (workWidth): do not search for the exact row when
9811 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9812 optimization for big documents.
9814 2001-10-18 Juergen Vigna <jug@sad.it>
9816 * text.C (workWidth): new function with added Inset * parameter.
9818 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9820 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9822 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9823 change return type of getColumnNearX.
9826 * text.C (changeRegionCase): use uppercase/lowercase instead of
9829 (rightMargin): simplify code by factoring out the uses of
9834 (appendParagraph): use Paragraph::size_type
9836 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9838 * vspace.C (asLatexString): add a missing break
9840 2001-10-15 Herbert Voss <voss@perce.de>
9842 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9844 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9846 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9849 2001-10-10 André Pönitz <poenitz@gmx.net>
9851 * lyxfunc.C: removed greek_kb_flag.
9853 2001-10-10 Herbert Voss <voss@perce.de>
9855 * lyx_main.C: delete global string help_lyxdir.
9857 2001-10-09 Herbert Voss <voss@perce.de>
9859 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9861 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9863 * lyx_main.C: added global string help_lyxdir.
9865 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9867 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9869 * lyxrc.C (set_font_norm_type): support iso8859-4
9871 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9873 * LaTeX.C (deplog): add another regex for MikTeX
9875 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9877 * lyxrc.C (set_font_norm_type): support iso8859-3
9879 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9881 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9883 * LaTeXFeatures.C: remove special case of french and index
9885 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9886 before \begin{document}). This solves several incompatibilities.
9888 2001-10-03 Garst Reese <reese@isn.net>
9890 * lyx_cb.C: change CheckTex error msg.
9892 2001-10-03 José Matos <jamatos@fep.up.pt>
9894 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9896 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9898 * .cvsignore: update
9900 * lyx_main.C (commandLineVersionInfo): use new style version info.
9902 * buffer.C (writeFile):
9905 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9907 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9909 * version.h: update to use stuff in version.C
9911 * version.C.in: new file. Contains version information determined
9912 at compile time. This is a merging of version.h and
9915 2001-10-03 Juergen Vigna <jug@sad.it>
9917 * BufferView_pimpl.C (update): don't change "dirty" status in
9920 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9922 * WorkArea.C (c-tor): re-position version string slightly.
9924 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9926 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9927 revert to previous code.
9929 WorkArea.[Ch]: (show, destroySplash): methods removed.
9931 WorkArea.C: rework code so that it's an amalgam of the codes before and
9932 after the splash screen was moved to WorkArea.
9934 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9937 * vspace.C (inPixels):
9940 * buffer.C (insertStringAsLines):
9941 (asciiParagraph): fix types to be large enough
9943 * lyxlex_pimpl.h: change member status from short to int
9945 * layout.h: fix type of endlabeltype
9948 * kbsequence.C (parse): change return type to string::size_type
9950 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9953 * Bullet.C (bulletSize):
9954 (bulletEntry): do not use short ints as parameters
9956 * BufferView2.C (insertLyXFile): change a char to an int.
9958 * WorkArea.C (WorkArea): remove unneeded floats in computation
9960 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9962 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9964 * paragraph.C (asString): Do not ignore newline/hfill chars when
9965 copying to the clipboard.
9967 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9969 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9970 after a multi-line inset.
9972 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9974 * paragraph.C (validate): Set NeedLyXFootnoteCode
9976 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9978 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9979 and decrease-error to decrease.
9981 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9983 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9984 it more readable (should be equivalent)
9986 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9988 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9990 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9992 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9993 of a cursor (row, etc.) after a character has been deleted
9994 (deleteEmptyParagraphMechanism): call the method above on _all_
9995 cursors held by the LyXText when a double space has been
9998 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10000 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10002 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10004 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10005 background. Use greyOut() and the new show() methods to toggle between
10006 the foreground and background. Add code to remove the splash after
10007 its initial showing.
10009 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10010 (create_forms): no longer call Dialogs::showSplash.
10012 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10014 * .cvsignore: add version_info.h
10016 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10018 * version_info.h.in: new file
10020 * Makefile.am: add version_info.h.in
10022 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10023 version_info.h instead of VERSION_INFO
10025 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10027 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10028 The ERT inset now returns string().
10030 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10032 * lyxtext.h, text.C (selectNextWord): renamed as
10033 selectNextWordToSpellcheck.
10035 * text.C (selectNextWordToSpellcheck): Modified to not select
10036 words inside an ERT inset.
10038 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10040 * lyx_cb.C (MenuLayoutSave): change a bit the question
10042 * sp_base.h: include <sys/types.h>
10044 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10046 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10048 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10050 * several files: fix typos in user-visible strings
10052 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10054 * text2.C (pasteSelection): do not set the selection, since it
10055 will be cleared later. Actually, the intent was to fix the way the
10056 selection was set, but I figured rmoving the code was just as good.
10058 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10060 * FontLoader.C (available): Check if font is available without
10063 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10065 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10067 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10069 * lyxrc.[Ch]: added display_graphics variable and associated code.
10071 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10073 * bufferparams.C (hasClassDefaults): new method. Returns true if
10074 the buffer parameters correspond to known class defaults
10076 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10078 * XFormsView.C (show): set minimum size to the main window.
10080 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10082 * text2.C (copySelection):
10084 * lyxfind.C (LyXReplace):
10085 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10086 LyXText::selectionAsString.
10088 * paragraph.C (asString): add "label" argument to the second form
10090 * text2.C (selectionAsString): add "label" argument and pass it to
10091 Paragraph::asString.
10093 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10095 * lyx_main.C (commandLineHelp): remove version information
10097 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10099 * lyx_main.C: add -version commandline option
10101 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10103 * paragraph.h: make the optional constructor arg required instead.
10104 some modifications to other files because of this.
10106 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10108 * lyxserver.C (C_LyXComm_callback): make it static
10110 * lyx_main.C (error_handler): make it static
10112 * lyx_gui.C (LyX_XErrHandler): make it static
10114 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10116 * WorkArea.C: make the extern "C" methods static.
10118 * Makefile.am (lyx_LDADD): simplify
10120 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10122 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10123 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10125 * LyXAction.C (init):
10126 * lyxfunc.C (dispatch): associated code removal.
10128 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10130 * lyxfont.h (isSymbolFont): shut off warning
10132 * text.C (setHeightOfRow):
10133 (getVisibleRow): fix crash with empty paragraphs which have a
10136 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10138 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10141 2001-09-04 José Matos <jamatos@fep.up.pt>
10144 * tabular.C (docbook): rename docBook method to docbook.
10146 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10148 * Makefile.am: add dependencies to main.o.
10150 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10152 * FontLoader.C (available): Return false if !lyxrc.use_gui
10154 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10156 * FontInfo.C (query):
10157 * converter.C (view):
10158 * importer.C (Import):
10159 * exporter.C (Export): Can not -> cannot.
10161 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10163 * BufferView_pimpl.C: allow to create index inset even if
10166 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10168 * buffer.C (getLists): replace boost::tie code with an explicit pair
10169 as boost::tie can break some compilers.
10171 * iterators.h: Added a std:: declaration to the return type of
10174 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10176 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10179 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10181 * iterators.[Ch]: New files. Provide paragraph iterators.
10183 * buffer.C (changeLanguage): Use paragraph iterators.
10184 (isMultiLingual): ditto
10186 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10188 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10190 * FontLoader.C: Support for cmr font.
10192 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10194 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10195 (available): New method.
10197 * FontInfo.C (getFontname): Use scalable fonts even when
10198 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10201 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10203 * converter.C (Formats::view): reverted! Incorrect fix.
10205 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10207 * converter.C (Formats::view): only output the -paper option
10208 if the dvi viewer is xdvi, thereby fixing bug #233429.
10210 2001-08-23 Herbert Voss <voss@perce>
10212 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10214 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10216 * Spacing.h (Spacing): Set space to Default on in the default
10219 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10221 * vc-backend.h (RCS::versionString): add RCS to version
10222 (CVS::versionString): add CVS to version
10224 * vc-backend.C (scanMaster): do not add CVS to version.
10225 (scanMaster): do not add RCS to version
10227 * lyxvc.C (versionString): new method
10229 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10231 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10233 * Spacing.C (set): initialize fval
10235 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10237 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10240 2001-08-16 Juergen Vigna <jug@sad.it>
10242 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10244 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10246 * BufferView_pimpl.C:
10249 * text2.C: setParagraph takes linespacing now
10251 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10253 * LyxAction.C: add internal LFUN_CITATION_INSERT
10255 * LyXView.C: actually apply fix
10257 * bufferlist.C: fix open non-existent file
10259 * lyxfind.C: fix indentation
10261 * lyxfunc.C: remove unneeded assert, fix typo
10263 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10265 * MenuBackend.C: use "Floatname List"
10267 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10269 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10270 when converting LaTeX layout to insetERT.
10271 Generate a non-collapsed float when reading old float
10273 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10275 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10278 2001-08-13 Juergen Vigna <jug@sad.it>
10280 * text.C (fill): return 0 instead of 20 as this seems to be the more
10283 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10285 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10288 2001-08-13 Juergen Vigna <jug@sad.it>
10290 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10292 (SearchBackward): comment out the unlocking of the inset_owner this
10293 should not be needed!
10295 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10297 * Many files: Remove inherit_language, and add latex_language
10299 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10300 collapsible insets.
10302 2001-08-10 Juergen Vigna <jug@sad.it>
10304 * text.C (prepareToPrint): fixed hfill-width in draw!
10306 * BufferView2.C (selectLastWord): save the selection cursor as this
10307 now is cleared in the function LyXText::clearSelection!
10309 2001-08-08 Juergen Vigna <jug@sad.it>
10311 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10312 BACKSPACE type functions.
10314 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10315 is only cutted from the document but not put in the cut-buffer, where
10316 still the old stuff should be.
10318 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10320 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10322 * tabular.C (SetWidthOfCell): fixed special case where the width
10324 (LeftLine): handle '|' in align_special.
10326 (LeftAlreadyDrawed): ditto
10327 (SetWidthOfCell): ditto
10329 2001-08-07 Juergen Vigna <jug@sad.it>
10331 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10333 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10335 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10336 * lyxlex.[hC]: ditto
10338 2001-08-06 Juergen Vigna <jug@sad.it>
10340 * text.C (getVisibleRow): fix up row clearing a bit.
10342 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10344 * minibuffer.C: make sure the X server sees the changes in the input.
10346 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10348 * paragraph.C (getFont): split into...
10349 (getLabelFont): this
10350 (getLayoutFont): and this
10351 * paragraph_pimpl.C (realizeFont): calling this
10353 * text2.C (getFont): split into...
10354 (getLayoutFont): this
10355 (getLabelFont): and this
10356 (realizeFont): all three calling this
10358 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10361 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10363 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10365 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10367 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10368 layouts from the Quote inset insertion.
10370 2001-08-03 Juergen Vigna <jug@sad.it>
10372 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10374 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10375 only if status not is already CHANGED_IN_DRAW (second level).
10377 * text.C (draw): don't set the need_break_row when inside an
10380 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10382 * buffer.C (parseSingleLyXformat2Token): handle more latex
10385 * bufferview_funcs.[hC]: change function names to
10386 begin with small char, adjust other files.
10388 2001-08-02 André Pönitz <poenitz@gmx.net>
10391 BufferView_pimpl.C: remove broken special code for math-greek
10393 2001-08-02 Juergen Vigna <jug@sad.it>
10395 * BufferView_pimpl.C (update): redone this function so that we
10396 update the text again if there was a CHANGE_IN_DRAW.
10398 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10399 (drawFromTo): added a new internal bool which is used by draw() and
10401 (general): some cursor drawing problems fixed.
10403 2001-08-01 Juergen Vigna <jug@sad.it>
10405 * lyxfind.C (LyXFind): fixed
10406 (SearchForward): ditto
10407 (SearchBackward): ditto
10409 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10410 spurius drawing of the cursor in the main area.
10412 * text2.C (status): small fix which could lead to a segfault!
10413 (clearSelection): remove unneeded BufferView param.
10415 2001-08-01 André Pönitz <poenitz@gmx.net>
10417 * lyxfunc.C: small change due to changed mathed interface
10419 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10421 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10423 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10425 * lyxfunc.c: fail gracefully if file doesn't exist
10430 * BufferView_pimpl.C: IsDirWriteable() proto changed
10432 * LyXView.C: fix updateWindowTitle() to store the last title
10434 2001-07-31 Juergen Vigna <jug@sad.it>
10436 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10437 the font (wrong since using of Paragraph::highestFontInRange).
10439 * paragraph.C (highestFontInRange): added a default_size parameter.
10441 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10442 (setHeightOfRow): reformat
10444 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10446 * converter.[hC] + affected files: move to (inital-char)lowercase
10449 * ParagraphParameters.C (ParagraphParameters): remove commented code
10451 * PainterBase.[Ch]: remove commented code
10453 * LaTeXFeatures.h: add "bool floats" for float.sty
10455 * LaTeXFeatures.C (LaTeXFeatures): init floats
10456 (require): handle float
10457 (getPackages): do it with floats
10459 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10461 * BufferView_pimpl.C (Dispatch): improve handling of
10462 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10464 * commandtags.h: #include lyxfont.h here temporarily to avoid
10467 * bufferlist.h: include LString.h here.
10469 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10471 * text2.C (getStringToIndex): new method.
10473 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10475 * *: Reduced header file dependencies all over.
10477 2001-07-30 Baruch Even <baruch@lyx.org>
10479 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10481 2001-07-29 Baruch Even <baruch@lyx.org>
10483 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10485 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10487 * ParameterStruct.h (endif): add a default constructor to make
10488 sure that all variables is initialized.
10490 * ParagraphParameters.C (ParagraphParameters): adjust
10492 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10494 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10495 index; also, check that there is something to index, and that it
10496 does not span over several paragraphs.
10497 (doubleClick): use WHOLE_WORD_STRICT for double click.
10499 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10501 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10504 2001-07-26 Baruch Even <baruch@lyx.org>
10506 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10507 an InsetFig figure, backwards compatible reading of old figure code.
10509 2001-07-27 Juergen Vigna <jug@sad.it>
10511 * text2.C: font.realize function adaption.
10513 * text.C (draw): add a warnings lyxerr text if needed.
10515 * layout.C: font.realize function adaption.
10517 * language.C: add inherit_language and implement it's handlings
10519 * bufferview_funcs.C (StyleReset): remove language parameter from
10520 font creation (should be language_inherit now).
10522 * bufferparams.C (writeFile): handle ignore_language.
10524 * paragraph.C (getFontSettings): the language has to be resolved
10525 otherwise we have problems in LyXFont!
10527 * lyxfont.C (lyxWriteChanges): added document_language parameter
10528 (update): removed unneeded language parameter
10530 * paragraph.C (validate): fixed wrong output of color-package when
10531 using interface colors for certain fonts in certain environments,
10532 which should not seen as that on the final output.
10534 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10536 * BufferView_pimpl.C:
10541 * LyXAction.C: add thesaurus support
10544 * lyxfind.C: add "once" parameter, for thesaurus, to not
10545 move to the next match
10547 2001-07-26 Juergen Vigna <jug@sad.it>
10549 * lyxfont.C (realize): honor ignore_language too!
10552 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10554 * text.C (draw): one place more for ignore_language to not draw
10557 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10559 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10561 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10563 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10564 the minipage conversion problem.
10566 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10568 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10571 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10573 * BufferView.h: don't forward declare WorkArea
10575 * BufferView.C: don't include WorkArea.h
10577 2001-07-25 André Pönitz <poenitz@gmx.net>
10581 * lyxfunc.C: new LFUN 'math-space'
10583 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10585 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10587 * text2.C (toggleInset): call open/close
10589 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10591 * lyxfunc.C (dispatch): add debug for the disabled case
10593 * font.C (buttonText): make similar to rectText
10595 * buffer.C (readInset): comment out parsing of insetlist and
10598 * PainterBase.C (rectText): small correction
10600 * BufferView_pimpl.C: comment out insettheorem and insetlist
10601 * LyXAction.C: ditto
10602 * commandtags.h: ditto
10604 2001-07-24 Juergen Vigna <jug@sad.it>
10606 * text.C (draw): honor the ignore_language.
10608 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10610 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10612 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10615 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10617 * lyxtext.h: remove unused (and unimplemented) methods
10619 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10621 * text.C (getVisibleRow): honor background color
10624 * Painter.h: remove default color argument for fillRectangle
10626 * text.C (backgroundColor): new method
10628 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10630 * text.C (getVisibleRow): adjust
10632 * font.[Ch] (rectText): new method, metrics
10633 (buttonText): new method, metrics
10635 * PainterBase.[hC]: make rectText and buttonText always draw and take
10638 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10640 * ToolbarDefaults.C (read):
10641 * MenuBackend.C (read): allow escaping in all strings
10643 * BufferView_pimpl.C (insertAndEditInset): new method.
10644 (Dispatch): use insertAndEditInset whenever appropriate.
10646 * BufferView_pimpl.C (insertNote): removed
10648 * BufferView_pimpl.C (smartQuote): new method, moved from
10649 BufferView; if an insetquote cannot be inserted, insert a '"'
10652 * BufferView2.C: remove insertCorrectQuote();
10654 * lyxfunc.C (getStatus): Add support for all remaingin
10655 inset-insert lfuns.
10657 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10659 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10660 command (necessary to pass " as parameter of self-insert.
10662 * text.C (selectWordWhenUnderCursor):
10663 (selectWord): add word_location parameter
10664 (selectWordWhenUnderCursor): same + remove special code for word
10666 (selectNextWord): use kind() to guess type of insetspecialchar,
10669 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10670 (insertErtContents): create ert insets as collapsed.
10671 (readInset): better compatibility code for Info inset.
10673 2001-07-20 Juergen Vigna <jug@sad.it>
10675 * lyxfunc.C (dispatch): use always LyXFind now!
10677 * text2.C (init): add a reinit flag so that the LyXText can be
10678 reinited instead of deleted and reallocated (used in InsetText).
10680 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10686 2001-07-18 Juergen Vigna <jug@sad.it>
10688 * text.C (selectNextWord): handle insets inside inset by calling
10689 always the bv->text functions so that we can go up the_locking_inset!
10691 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10692 in strange locations when inside an inset!
10694 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10695 handling to include insets.
10697 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10699 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10701 * LyXAction.C (init):
10703 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10704 LIGATURE_BREAK, since the name is so stupid.
10706 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10708 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10711 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10713 * sp_form.[Ch]: remove.
10715 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10717 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10720 * src/buffer.C (readInset): ditto.
10722 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10724 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10725 menuSeparator(), endOfSentenceDot(), ldots() and
10726 hyphenationPoint(), which are therefore removed.
10727 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10729 * LyXAction.C (init):
10730 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10732 * paragraph.C (getWord): removed.
10734 * BufferView_pimpl.C (Dispatch): use last word or selection for
10735 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10737 * lyx_main.C (queryUserLyXDir): do not ask before creating
10738 user_dir, except if it has been named explicitely.
10740 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10742 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10743 a document of zero size.
10745 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10747 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10748 approriately in the c-tor and in require().
10749 (getPackages): output the appropriate LaTeX for natbib support.
10751 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10752 variables "use_natbib" and "use_numerical_citations" when reading the
10754 (readInset): read the various natbib cite commands.
10755 (validate): white-space change.
10757 * bufferparams.[Ch]: new variables "bool use_natbib" and
10758 "bool use_numerical_citations".
10759 (writeFile): output them in the LyX file.
10761 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10763 * lyxfunc.C (getStatus): add support for all the inset insertion
10766 * text2.C (insertInset):
10767 * paragraph.C (insetAllowed):
10768 * BufferView_pimpl.C (insertInset): update to take in account the
10769 renaming of insertInsetAllowed
10771 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10773 * text2.C (getInset): new method. returns inset at cursor position.
10775 * BufferView_pimpl.C (Dispatch): changes because of this.
10777 * LyXAction.C (init): rename open-stuff to inset-toggle.
10779 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10781 * text2.C (toggleInset): renamed from openStuff; use
10784 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10786 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10788 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10790 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10792 * buffer.C (readLyXformat2): Add filename to the error dialog
10794 2001-07-18 Juergen Vigna <jug@sad.it>
10796 * tabular.C (GetCellNumber): put an assert here instead of the check!
10798 2001-07-17 Juergen Vigna <jug@sad.it>
10800 * BufferView_pimpl.C (toggleSelection): adapted too.
10802 * text.C (selectNextWord): adapted for use with insets.
10803 (selectSelectedWord): ditto
10805 2001-07-17 Juergen Vigna <jug@sad.it>
10807 * sp_spell.C (PSpell): fix initialitation order.
10809 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10811 * paragraph.C: spacing
10813 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10815 * sp_spell.C: repair language selection for pspell
10817 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10819 * lyxfunc.h: change more methods to begin with lower char.
10821 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10823 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10824 for unknown layouts.
10826 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10828 * buffer.C (readLyXformat2): Generate an error dialog if there are
10831 2001-07-16 Juergen Vigna <jug@sad.it>
10833 * sp_spell.C: always compile ISpell part.
10835 * lyxrc.C: added use_pspell entry and it's handling.
10837 2001-07-13 Juergen Vigna <jug@sad.it>
10839 * sp_spell.C: removed double includes.
10841 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10843 Consistent use of Lsstream.h:
10844 * Lsstream.h: added using std::stringstream for consistencies sake.
10846 * buffer.C: removed using std::stringstream
10848 * lyxfont.C (stateText):
10849 * paragraph.C (asString):
10850 * text.C (selectNextWord, selectSelectedWord):
10851 * text2.C (setCounter):
10852 * vspace.C (asString, asLatexString):
10853 std::ostringstream -> ostringstream.
10855 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10857 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10858 * commandtags.h: add LFUN_HELP_ABOUTLYX
10859 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10861 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10863 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10865 * lyx_gui_misc.C: remove spellchecker
10866 * lyxfunc.C: showSpellchecker
10868 * sp_ispell.h: added
10869 * sp_pspell.h: added
10870 * sp_spell.C: added
10871 * sp_form.[Ch]: removed
10872 * spellchecker.[Ch]: removed
10874 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10876 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10878 (simpleTeXSpecialChars): Simply print the input character without
10879 any special translation if pass_thru is set.
10881 * layout.h: Added bool pass_thru to layout class for being able to
10882 implement pass through of a paragraph for Literate Programming.
10884 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10885 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10886 * layout.C (Read): add "passthru" to list of layout tags and add
10887 code to set the pass_thru boolean when it is read.
10889 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10891 * trans_decl.h: remove allowed from KmodInfo
10893 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10894 remove allowed code
10897 * paragraph_pimpl.C (erase): use boost::prior
10899 * Painter.C (text): use data() instead of c_str() when length is
10901 * WorkArea.C (putClipboard): ditto
10902 * font.h (width): ditto
10904 * BufferView2.C: use it-> instead of (*it). for iterators
10906 * paragraph_pimpl.C: ditto
10907 * paragraph.C: ditto
10908 * minibuffer.C: ditto
10909 * language.C: ditto
10911 * encoding.C: ditto
10912 * counters.C: ditto
10913 * converter.C: ditto
10915 * Variables.C: ditto
10916 * TextCache.C: ditto
10917 * MenuBackend.C: ditto
10918 * LyXAction.C: ditto
10920 * FloatList.C: ditto
10921 * DepTable.C: ditto
10922 * ColorHandler.C (LyXColorHandler): ditto
10924 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10926 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10928 * text2.C (openStuff): reintroduce this method (which had been
10929 nuked in NEW_INSETS frenzy).
10931 * lyxfunc.C (Dispatch): when an action has not been handled, use
10932 its name in the error message, not its number.
10934 * paragraph.C (inInset): change method name to begin with lowercase.
10937 * text2.C: updates because of this.
10939 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10941 * ToolbarDefaults.C (add): add spaces in error message
10943 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10945 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10946 (readLyXformat2): rename return_par to first_par, use lyxlex's
10947 pushToken and remove the manual push handling.
10948 (parseSingleLyXformat2Token): add another ert comp. variable:
10949 in_tabular, rename return_par to first_par. handle newlines better
10951 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10953 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10955 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10957 * text2.C (getParFromID): removed
10959 * buffer.C (getParFromID): new method moved form lyxtext.
10960 * BufferView2.C (insertErrors): adjust
10961 (setCursorFromRow): adjust
10962 * BufferView_pimpl.C (restorePosition): adjust
10963 * lyxfunc.C (Dispatch): adjust
10964 * undo_funcs.C (textUndo): adjust
10966 (textHandleUndo): adjust
10967 (textHandleUndo): adjust
10969 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10971 * buffer.C: up' the LYX_FORMAT
10973 * lyxfont.h: turn NO_LATEX on as default
10975 * buffer.C (insertErtContents): new methods of tex style compability.
10976 (parseSingleLyXformat2Token): use it several places.
10977 * tabular.C (OldFormatRead): and here
10979 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10981 * text2.C: remove some commented code.
10984 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10985 * trans.C: changes because of the above.
10987 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10989 * text2.C (setCounter): Fix counters bug with bibliography layout.
10991 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10993 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10994 own member functions
10995 (simpleTeXSpecialChars): ditto
10997 2001-07-06 Juergen Vigna <jug@sad.it>
10999 * a lot of files: changed the access to LyXText::status and the
11000 call of undo-functions.
11002 * undo.[Ch]: added a inset_id to the undo informations.
11004 * undo_funcs.[Ch]: added and moved here all undo functions.
11006 * lyxtext.h: give the status enum a weight, made status_ a private
11007 variable and made accessor functions for it, removed the whole bunch
11008 of undo-functions as they are now in their own file, make some
11009 functions publically available. Added function ownerParagraph with
11012 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11013 made InInset() a const function, added getParFromID() function.
11015 * buffer.[Ch]: added const version for inset_iterator functions,
11016 added getInsetFromID() function.
11018 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11019 changed undo functions for new version.
11021 2001-07-05 Juergen Vigna <jug@sad.it>
11023 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11024 unknow mechanism does not call the proper constructor but only this
11025 one also if I request the other!?
11027 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11029 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11031 * text2.C (LyXText): use initialization lists.
11033 * lyxtext.h (Selection): initialize set_ and mark_
11034 (init): remove method
11036 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11038 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11040 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11042 * screen.[Ch]: change method names to begin with lowercase
11044 * BufferView_pimpl.C (updateScrollbar): simplify further and
11045 hopefully make it a bit faster.
11047 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11049 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11050 calling directly xforms functions.
11052 * Painter.C (Painter):
11053 * lyx_cb.C (MenuWrite):
11054 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11057 * lyx_gui.C: remove bogus guiruntime extern declaration.
11059 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11061 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11063 (redoDrawingOfParagraph): ditto
11064 (redoParagraphs): ditto
11065 (cutSelection): don't create a object for CutAndPaste use the
11066 static method directly
11067 (pasteSelection): ditto
11069 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11072 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11074 * modifications to some other files because of this.
11076 * Makefile.am (lyx_SOURCES): add XFormsView
11078 * XFormsView.[Ch]: new files
11080 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11081 the main window. Move the gui dependent stuff to XFormsView
11083 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11085 * tabular.C (GetCellInset): update cur_cell also in the row/col
11086 version of this function.
11088 * lyxfunc.C: no need to include figure_form.h here.
11094 * lyxvc.C: no need to include forms.h here.
11096 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11098 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11100 * lyxfunc.C (Dispatch):
11102 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11103 constructor argument.
11105 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11107 * paragraph.C (Paragraph): dont't clear, and just set layout.
11108 (makeSameLayout): use params's copy contructor.
11110 * ParagraphParameters.[Ch] (makeSame): delete method
11112 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11114 * Variables.[Ch]: fix indentation, rename set to isSet
11116 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11118 * lyxfunc.C (Dispatch): fix typo
11120 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11122 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11125 * bufferlist.C: include assert.h for emergencyWrite().
11127 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11129 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11130 give up at last (bug #425202) !
11132 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11138 * spellchecker.C: strip spellchecker options and bring up
11139 preferences tab instead
11141 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11143 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11144 the istringstream constructor
11146 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11148 * paragraph.C (getLayout): fix return value
11150 * paragraph.h: do not declare getLayout as inline.
11152 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11154 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11156 * lyxcursor.h (operator<): new func
11157 (operator>): new func
11158 (operator>=): new func
11159 (operator<=): new func
11161 * text.C (changeCase): use selection.start and selection.end
11162 (changeRegionCase): require from to be <= to. Require par to be a
11165 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11167 2001-06-27 Juergen Vigna <jug@sad.it>
11169 * text.C (cursorLeftOneWord): changed to return the cursor and added
11170 overlay with BufferView * parameter which calls this one.
11172 (selectWord): use new getWord function.
11173 (changeCase): renamed from changeWordCase as and extended to work
11174 also on selections.
11176 * lyxtext.h: added enum word_location
11178 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11179 changeCase as this operates now also on selections.
11181 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11183 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11185 * many files: send debug output to Debug::INFO instead of
11188 * converter.C (View):
11190 (Move): send debug output to Debug::FILES instead of console.
11192 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11194 * lyxfunc.C (getStatus): use func_status
11196 * func_status.h: new header, describing the results of
11197 LyXFunc::getStatus;
11199 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11202 2001-06-25 The LyX Project <jug@sad.it>
11204 * buffer.C (sgmlOpenTag):
11206 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11208 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11210 * text2.C: remove some dead code
11212 * tabular.C (GetCellInset): store the last cell checked (gotten)
11214 * tabular.h: add the helper for the speedup
11216 * lyxtext.h: remove some dead code
11218 2001-06-26 The LyX Project <Asger>
11220 * paragraph.C: Change export to LaTeX of alignment to
11221 \begin{center} and family for better roundtrip work with reLyX.
11223 * Tune the math drawing a bit.
11225 2001-06-25 The LyX Project <Asger>
11227 * LColor.C (LColor): New color for math background. New color
11230 2001-06-25 The LyX Project <jug@sad.it>
11232 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11234 * lyxfunc.C (Open):
11235 * bufferlist.C (newFile): do not restrict to files ending with
11238 * BufferView_pimpl.C (MenuInsertLyXFile):
11240 2001-06-24 The LyX Project <jug@sad.it>
11242 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11245 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11247 * lyxtext.h: rename most methods to begin with a small char.
11248 Lots of changes because of this.
11250 * paragraph.C (Paragraph): do not call fitToSize
11251 (erase): call Pimpl::erase
11252 (insertChar): call Pimpl::insertChar
11253 (insertInset): call Pipl::insertInset
11254 (breakParagraph): do not call fitToSize
11255 (breakParagraphConservative): do not call fitToSize
11256 (fitToSize): remove method
11258 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11260 2001-06-24 The LyX Project <Asger>
11262 * Fix Qt compilation^2
11264 2001-06-24 The LyX Project <jug@sad.it>
11266 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11267 depthHook(getDepth()-1).
11270 * ParagraphParameters.h:
11271 * ParameterStruct.h: change type of depth to unsigned int ==
11272 depth_type. Many adaptations to other files before of that.
11274 2001-06-24 The LyX Project <Asger>
11276 * Fix Qt compilation.
11278 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11280 * paragraph.h: renamed several methods to begin with small letter.
11281 several changes to many parts of the code because of this.
11283 2001-06-23 The LyX Project <jug@sad.it>
11285 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11286 rewritten to discard all double spaces when KeepEmpty is off
11287 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11288 to only handle newlines but not fiddle with spaces and friends.
11290 * lyxfunc.C (MenuNew): when doing 'new from template', use
11291 template_path as default directory
11293 2001-06-23 The LyX Project <Asger>
11295 * Clean-up of header file includes all over
11296 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11298 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11300 * paragraph.h: renamed from lyxparagraph.h
11302 2001-06-23 Asger <lyx@violet.home.sad.it>
11304 * Buffer.h: Removed Buffer::resize
11305 * BufferList.h: Removed BufferList::resize
11306 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11307 the document lazily when we change the width, or the font settings.
11309 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11311 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11313 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11315 * buffer.h: remove out of date comment
11317 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11320 * screen.C: fix "theoretical" GC leak
11322 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11324 * LaTeX.C (scanAuxFile):
11325 (deplog): remove trailing \r when reading stream (useful under
11328 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11330 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11331 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11332 and BufferView::theLockingInset(Inset*), so should use them and not
11333 access bv_->text->the_locking_inset directly.
11335 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11337 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11340 * tex-defs.h: remove old unused file
11342 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11344 * BufferView_pimpl.C: fix typo, remove minibuffer message
11345 when buffer has loaded
11347 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11349 * lyxfunc.C (Dispatch): use stringstream
11350 (MenuNew): use stringstream
11351 (Open): use stringstream
11353 * importer.C (Import): use stringstream
11355 * bufferview_funcs.C (CurrentState): use stringstream
11357 * LaTeX.C (run): use stringstream
11359 * BufferView_pimpl.C (savePosition): use stringstream
11360 (restorePosition): use stringstream
11361 (MenuInsertLyXFile): use stringstream
11363 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11376 * vspace.C: removed // -*- C++ -*- as first line.
11379 * version.h: added // -*- C++ -*- as first line.
11381 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11383 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11385 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11388 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11390 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11393 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11395 * gettext.C: include LString.h even when --disable-nls is on.
11397 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11399 * converter.h (Get): changed argument type from int to
11400 FormatList::size_type to avoid unnecessary conversion.
11402 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11405 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11407 * gettext.h: include LString.h even when --disable-nls is on.
11409 2001-06-07 Juergen Vigna <jug@sad.it>
11411 * text.C (BreakAgain): subst spaces with tabs.
11413 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11414 (resizeInsetsLyXText): set force on resizeLyXText.
11416 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11418 * gettext.h (gettext_init):
11419 (locale_init): use a real definition instead of a macro
11421 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11423 * Bufferview_pimpl.C:
11425 * LColor.C: further lcolor tidies
11427 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11429 * BufferView_pimpl.C (updateScrollbar): simplify.
11431 * BufferView2.C: don't include insets/insetinfo.h, change
11432 prototype for insertInset and call the Pimpl version. let
11433 updateInset call Pimpl version.
11435 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11436 gotoInset to BufferView::Pimpl
11438 2001-06-01 Juergen Vigna <jug@sad.it>
11440 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11441 inside a LockingInset (is the update needed at all?).
11443 2001-05-31 Juergen Vigna <jug@sad.it>
11445 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11446 here not the old one otherwise how should we compare it afterwards
11449 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11454 * FontInfo.C: bring C functions into global namespace when
11457 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11459 * LString.h: make sure config.h has been loaded before LString.h.
11461 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11462 (one for each char read by EatLine!).
11464 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11467 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11469 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11470 to the same as the par we break from
11472 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11474 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11476 * MenuBackend.C (expand): also create menu entries for wide
11477 versions of the floats.
11479 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11481 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11483 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11484 frontends/Makefile.am
11490 * tabular.C (getTokenValue): add std::
11492 * tabular-old.C (getTokenValue): add std::
11493 (getTokenValue): ditto
11494 (getTokenValue): ditto
11496 * screen.C (ToggleSelection): adjust
11498 * lyxtext.h: put selection cursors inside a Selection struct.
11500 * lyxfunc.C (moveCursorUpdate): adjust
11502 * lyxfont.C (latexWriteStartChanges): add std::
11504 * lyxfind.C: adjust
11506 * font.h: delete with(char const *, LyXFont const &)
11508 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11510 * FontInfo.C (getFontname): add std::
11512 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11513 (workAreaButtonPress): adjust
11514 (tripleClick): adjust
11516 (moveCursorUpdate): adjust
11519 * BufferView2.C (gotoInset): adjust
11521 2001-05-30 Juergen Vigna <jug@sad.it>
11523 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11524 to check pspell I add this as default as I now have new pspell
11525 libraries and they seem to use this.
11527 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11529 * text2.C (CutSelection): make the cursor valid before the call to
11532 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11534 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11535 relied on 0 terminated strings and other horrors. Bug found due to
11536 the new assert in lyxstring!
11538 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11541 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11543 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11546 * lyxfunc.C (processKeySym): change method of getting to the
11549 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11550 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11551 * BufferView_pimpl.[Ch]: here as private methods.
11553 2001-05-28 Juergen Vigna <jug@sad.it>
11555 * text.C (SetHeightOfRow): added the update() call again as it is
11556 needed to initialize inset dimensions!
11558 2001-05-16 Juergen Vigna <jug@sad.it>
11560 * text2.C (SetCharFont): Add new function with BufferView * and
11561 bool toggleall parameters for setting insets internal fonts.
11562 (SetFont): Freeze the undo as we may change fonts in Insets and
11563 all this change should be inside only one Undo!
11565 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11566 setting font's in insets as for them we have the SetFont function!
11568 2001-05-15 Juergen Vigna <jug@sad.it>
11570 * text2.C (ClearSelection): to be sure we REALLY don't have any
11573 * tabular.C (TeXCellPreamble): fixed the left border problem for
11576 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11578 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11581 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11583 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11584 LFUN_BREAKPARAGRAPH.
11586 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11587 help test to "internal only", similar for LFUN_INSERT_URL
11589 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11590 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11591 auto_region_delete and deadkeys.
11593 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11596 * LColor.C: remove some dead entries, tidy a little
11598 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11600 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11602 (Dispatch): implement LFUN_ESCAPE
11604 * commandtags.h: add LFUN_ESCAPE
11606 * LyXAction.C (init): add entry for LFUN_ESCAPE
11608 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11609 Remove commented code.
11610 (insertNote): moved here
11611 (open_new_inset): moved here
11613 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11616 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11618 * kbmap.C (findbinding): clean it up and make it work correctly.
11620 * lyx_main.C (init): do not pass argc and argv as parameters
11622 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11624 * buffer.C: fix path for OS/2 & Win32
11628 * lyx_main.C: Added os:: class.
11630 * os2_defines.h: update
11632 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11634 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11635 better by trying again with reduced state.
11637 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11639 * lyxrc.C (read): print error about invalid key sequence only when
11640 debugging (because not all latinX keysyms are known to some X
11643 * kbsequence.C (getiso): add a few std:: qualifiers
11644 (getiso): comment out extra return statement.
11646 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11648 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11650 (Dispatch): enhance the accent inset a bit. (not perfect)
11652 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11654 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11656 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11658 * bufferlist.C (emergencyWrite): fix assert() call
11660 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11662 * text.C (InsertChar): Added trivial patch to only send the "you
11663 can not do multiple spaces this way" message once during a
11666 2001-05-08 Baruch Even <baruch@lyx.org>
11668 * Makefile.am: Changed order of libraries to get LyX to link properly
11669 with the gnome frontend.
11671 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11673 * LaTeXFeatures.h: add a std:: qualifier
11675 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11677 * paragraph.C (String): use stringstream
11679 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11681 * paragraph.C (writeFile): remove footflag arg
11683 * buffer.C (makeLaTeXFile): use stringstream
11684 (latexParagraphs): remove footnot gurba
11686 * LaTeXFeatures.C (getPackages): use stringstream
11687 (getMacros): likewise
11688 (getTClassPreamble): likewise
11689 (getFloatDefinitions): new method
11691 * paragraph.C (writeFile): reindent
11694 * WorkArea.h: revert the xpos + etc changes.
11696 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11698 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11700 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11701 (pasteSelection): likewise
11702 * text2.C (CreateUndo): likewise
11704 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11706 * minibuffer.C (peek_event): temporarily reduce the functionality
11707 of the minibuffer (to allow args on lfuns)
11709 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11710 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11712 * buffer.C (readInset): add compability reading of old float
11713 lists, add reading of new style float list.
11714 (readInset): avoid reevaluation of inscmd.getCmdName()
11715 (getLists): reindent
11717 * MenuBackend.C (MenuItem): implement parsing of
11718 md_floatlistinsert and md_floatinsert.
11719 (expand::LastFiles): move initalizaton of iterators out of loop,
11720 avoid reevaluation.
11721 (expand::Documents): introduce typdedef vector<string> Strings,
11723 (expand::ExportFormats): introduce typedef vector<Format const *>
11724 Formats, and use it.
11725 (expand): implement FloatListInsert and FloatInsert.
11727 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11728 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11729 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11731 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11733 (Dispatch::LFUN_FLOAT_LIST): implement
11735 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11737 * LaTeX.C (run): Fix problem with --export code.
11739 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11741 * BufferView.[Ch] (workarea): removed.
11742 (getClipboard) new method; wrapper for workarea()->getClipboard()
11744 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11747 * WorkArea.h (width, height, xpos, ypos): These methods all
11748 returned the dimensions of the work_area sub-area of WorkArea,
11749 resulting in a position error if the WorkArea were resized. Now
11750 return the dimensions of the entire WorkArea.
11752 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11754 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11756 * LaTeX.C (deplog): correct the syntax of regex reg1
11758 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11760 * undo.C: remove !NEW_INSETS cruft
11762 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11764 * text2.C: remove !NEW_INSETS cruft
11766 * text.C: remove !NEW_INSETS cruft
11768 * tabular.C: remove !NEW_INSETS cruft
11770 * spellchecker.C: remove !NEW_INSETS cruft
11772 * lyxtext.h: remove !NEW_INSETS cruft
11774 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11776 * lyxfunc.C: remove !NEW_INSETS cruft
11778 * lyxfind.C: remove !NEW_INSETS cruft
11780 * lyx_cb.C: remove !NEW_INSETS cruft
11782 * figureForm.C: remove !NEW_INSETS cruft
11784 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11786 * buffer.[Ch]: remove !NEW_INSETS cruft
11788 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11790 * CutAndPaste.C: remove !NEW_INSETS cruft
11792 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11794 * BufferView2.C: remove !NEW_INSETS cruft
11796 * BufferView.h: remove !NEW_INSETS cruft
11798 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11800 * Lsstream.h: include LString.h before the sstream headers to
11801 fix problem with gcc 2.95.3 and lyxstring
11803 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11805 * lyx_main.C: add using directives when needed for C functions
11806 declared in std:: namespace.
11808 2001-04-27 Juergen Vigna <jug@sad.it>
11810 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11811 (SetHeightOfRow): comment out the update call should not be needed!
11813 2001-04-13 Juergen Vigna <jug@sad.it>
11815 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11816 (LyXTabular): tried to minimize operator= operations (and realized
11817 hopfully Lars wish).
11819 2001-04-27 Juergen Vigna <jug@sad.it>
11821 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11823 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11825 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11827 * buffer.C (readInset): hack to make listof algorithm work
11829 * BufferView_pimpl.C: hack to make listof algorithm work
11831 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11833 * LyXAction.C: removed all !NEW_INSETS cruft
11834 (init): moved lfun_item in method
11836 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11838 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11840 * BufferView2.C (theLockingInset): white space.
11842 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11844 * minibuffer.C: include <iostream>
11846 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11848 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11850 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11852 * text.[Ch] (TransposeChars): new method
11854 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11856 * call message directly through LyXView instead of through LyXFunc
11857 * BufferView2.C: adjust
11858 * BufferView_pimpl.C: adjust
11859 * FontLoader.C: adjust
11861 * bufferview_funcs.C: adjust
11862 * converter.C: adjust
11863 * figureForm.C: adjust
11864 * importer.C: adjust
11866 * lyx_gui_misc.C: adjust
11867 * lyxfunc.C: adjust
11870 + more files in subdirs
11872 * lyxparagraph.h (size): move up int file
11875 * adjust all uses of Assert to lyx::Assert.
11877 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11878 lyxfunctional in namespace lyx
11879 * layout.C (hasLayout): ditto
11882 (delete_layout): ditto
11883 (NumberOfClass): ditto
11884 * converter.C (GetFormat): ditto
11889 * bufferlist.C (getFileNames): ditto
11890 (emergencyWriteAll): ditto
11893 * MenuBackend.C (hasSubmenu): ditto
11896 * BufferView_pimpl.C (getInsetByCode): ditto
11898 2001-04-18 Juergen Vigna <jug@sad.it>
11900 * vspace.C (asLatexString): fixed the 100% problem.
11902 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11904 * lyxfunc.C (Dispatch):
11906 * minibuffer.h: add a few std:: qualifiers
11908 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11910 * minibuffer.[Ch]: reimplement so that commands is initiated and
11911 run from lyxfunc, simplified som handling, and made the completion
11912 and history code for complete. wip.
11914 * lyxfunc.C (processKeySym): call message
11915 (miniDispatch): new temporary method
11916 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11917 (LFUN_MESSAGE): implement
11918 (LFUN_MESSAGE_PUSH): implement
11919 (LFUN_MESSAGE_POP): implement
11920 (initMiniBuffer): the initial/defualt minibuffer message.
11922 * lyxfont.[Ch]: inline some more getters
11924 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11926 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11928 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11929 (AutoSave): use LFUN_MESSAGE
11930 (Reconfigure): ditto
11932 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11934 * figureForm.C: use LFUN_MESSAGE
11936 * converter.C (runLaTeX): use LFUN_MESSAGE
11938 * bufferview_funcs.C: use LFUN_MESSAGE
11940 (changeDepth): ditto
11942 * bufferparams.h: use boost::
11944 * bufferlist.h: inherit privately from noncopyable
11946 * bufferlist.C (loadLyXFile): remove some commented code.
11948 * buffer.C (runChktex): use LFUN_MESSAGE
11950 * ShareContainer.h: inherit privately from noncopyable
11952 * ParagraphParameters.[hC] (depth): inline it.
11954 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11956 (message): new method
11957 (messagePush): ditto
11958 (messagePop): ditto
11959 (show): init minibuffer
11960 (showState): direct call
11962 * LaTeX.[Ch]: inherit privately from noncopyable
11963 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11964 instead of WriteStatus.
11966 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11968 * BufferView_pimpl.C (buffer): don't init minibuffer
11969 (workAreaButtonPress): use LFUN_MESSAGE
11970 (workAreaButtonRelease): ditto
11971 (savePosition): ditto
11972 (restorePosition): ditto
11973 (MenuInsertLyXFile): ditto
11974 (workAreaExpose): don't init minibuffer
11975 (update): remove commented code, simplify
11977 * BufferView2.C (openStuff): use LFUN_MESSAGE
11978 (toggleFloat): ditto
11981 (copyEnvironment): ditto
11982 (pasteEnvironment): ditto
11987 (updateInset): remove some commented code
11989 * lastfiles.h: inherit privately from noncopyable
11992 * lyx_main.h: ditto
11994 * lyxlex_pimpl.h: ditto
11996 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11997 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11998 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12000 * LyXAction.h: inherit privately from noncopyable, add methods
12001 func_begin, func_end, returning iterators to the func map.
12003 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12004 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12005 (func_begin): new method
12006 (func_end): new method
12008 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12010 (copySelection): ditto
12011 (pasteSelection): ditto
12013 * BufferView.C: whitespace change
12014 * BufferView.h: inherit privately from noncopyable
12016 2001-04-16 Allan Rae <rae@lyx.org>
12018 * tabular-old.C (l_getline):
12019 * spellchecker.C (sc_check_word):
12020 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12021 an unrecognised preprocessor directive. So ensure they're wrapped.
12023 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12025 * src/exporter.C (Export): Give an error message when path to file
12028 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12030 * LaTeX.C (deplog): Always check that foundfile exists.
12032 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12035 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12037 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12039 * tabular.[Ch] (getLabelList): implement new method
12041 * minibuffer.h: comment ouf setTiimer
12043 * minibuffer.C (ExecutingCB): constify res
12044 (peek_event): constify s
12045 (Set): constify ntext
12046 (Init): constify nicename
12048 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12050 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12051 (savePosition): use two params to Minibuffer::Set
12052 (restorePosition): ditto
12054 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12056 * lyx_main.C: include language.h
12058 * Makefile.am (lyx_main.o): add language.h
12060 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12066 * CutAndPaste.C: include gettext.h
12068 * lyxfont.h: remove old hack with ON and OFF.
12071 * lyxfont.h: do not include language.h...
12076 * bufferview_funcs.C:
12082 * paragraph.C: ... but do it here instead
12084 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12086 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12088 * tabular.C: small reformat
12090 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12093 (BreakParagraph): ditto
12094 (SetOnlyLayout): ditto
12097 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12100 * lastfiles.C: removed most using decl, add std:: where needed
12102 * buffer.C: ws changes
12104 * MenuBackend.C (class compare_format): put into anon namespace
12105 (expand): constify label, names, action, action2
12108 * text.C (SingleWidth): constify font
12109 (IsBoundary): constify rtl2
12110 (GetVisibleRow): constify ww
12112 * LaTeX.C (deplog): constify logfile
12114 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12116 (workAreaExpose): constify widthChange, heightChange
12118 * lyxrow.C (par): moved
12121 * lyxrow.h: as inlines here
12123 * lyxfont.h (shape): moved from lyxfont.C
12124 (emph): moved from lyxfont.C
12126 * lyxfont.C (LyXFont): use initialization list for all
12128 (shape): move to lyxfont.h as inline
12129 (emph): move to lyxfont.h as inline
12132 2001-04-04 Juergen Vigna <jug@sad.it>
12134 * vspace.C: had to include stdio.h for use of sscanf
12136 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12139 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12140 independent of xforms.
12142 2001-04-02 Juergen Vigna <jug@sad.it>
12144 * spellchecker.C: fixed namespace placing!
12146 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12148 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12149 the LyXParagraph * is 0.
12151 2001-03-29 Juergen Vigna <jug@sad.it>
12153 * vspace.C: added support for %, c%, p%, l%.
12154 (stringFromUnit): added helper function.
12155 (asLatexString): changed to give right results for the %-values.
12157 * buffer.C: convert the widthp in a width%.
12159 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12161 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12164 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12165 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12167 * lyx_cb.[Ch]: see above.
12169 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12173 * lyx.[Ch]: replaced by figure_form.[Ch].
12177 * lyxfunc.C: changed headers associated with above changes.
12179 2001-03-27 Juergen Vigna <jug@sad.it>
12181 * BufferView_pimpl.C: set the temporary cursor right!
12183 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12185 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12187 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12189 * LString.h: removed "using std::getline"!
12191 * BufferView_pimpl.C (Dispatch): changes due to changes in
12192 InsetInclude::Params.
12194 * buffer.C (tag_name): removed redundant break statements as they were
12195 producing lots of warnings with my compiler.
12197 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12199 * LString.h: add "using std::getline" when using the real <string>.
12201 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12203 * buffer.C: removed bitset usage.
12204 PAR_TAG moved to an anonymous name space.
12205 (tag_name): new funtion, also in the anonymous namespace.
12206 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12207 (makeDocBookFile): clean code. Completed transition from string arrays
12209 (SimpleDocBookOnePar): code clean.
12211 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12213 * tabular.C: add some comments.
12215 2001-03-22 Juergen Vigna <jug@sad.it>
12217 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12218 compatibility read a bit and fixed bug with minipage in different
12221 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12223 * buffer.C (pop_tag): removed.
12224 (push_tag): removed.
12225 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12226 array replaced with vector. Added support for CDATA sections.
12227 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12229 (makeDocBookFile): XML conformant declaration of CDATA section,
12230 fixed bug related to <emphasis> in the first paragraph char.
12231 (sgmlOpenTag): exclude empty tags.
12232 (sgmlCloseTag): ditto.
12234 * buffer.h (pop_tag): removed.
12235 (push_tag): removed.
12237 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12239 * language.h (Languages): added size_type and size().
12241 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12243 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12244 response on compability reading of minipages. One probliem is that
12245 the old usage of minipages was «flertydig»
12247 * several files here and in subdirs: don't use static at file
12248 scope use anon namespaces instead.
12250 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12252 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12253 LaTeX output. This is necessary for Literate document
12256 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12258 * buffer.C: insert hfill when needed.
12260 * tabular.C (l_getline): use string::erase, small whitespace change.
12262 * BufferView_pimpl.C: try the anon namespace.
12263 * WorkArea.C: ditto
12265 2001-03-16 Juergen Vigna <jug@sad.it>
12267 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12268 otherwise it won't open options-dialogs.
12270 * buffer.C: honor pextraWidth(p) on converting minipages.
12272 * tabular.C (l_getline): changed the functions to strip trailing \r.
12274 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12276 * BufferView_pimpl.C:
12277 * minibuffer..C: added "using SigC::slot" declaration.
12279 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12281 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12287 * paragraph.C: ditto
12289 * lyxtext.h: NO_PEXTRA
12291 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12293 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12294 * ParameterStruct.h: ditto
12295 * ParagraphParameters.h: ditto
12296 * lyxparagraph.h: ditto
12298 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12300 * buffer.C: add compability for minipage alignment.
12301 (latexParagraphs): remove unwanted pextra check.
12303 * several files: remove CXX_WORKING_NAMESPACES
12305 * buffer.C (pop_tag): tie is in namespace boost
12307 * BufferView.h: noncopyable is in namespace boost
12309 * lyx_main.h: ditto
12312 * lastfiles.h: ditto
12313 * bufferlist.h: ditto
12314 * ShareContainer.h: ditto
12316 * LyXAction.h: ditto
12319 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12321 * Merging changes from BRANCH_MVC back into HEAD.
12323 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12325 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12327 * BufferView_pimpl.C: change from intl.C
12331 * Makefile.am: move combox.*
12337 * intl.C: remove dialog (covered by prefs)
12339 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12341 * lyxfunc.C (Dispatch): removed redundant break statement.
12343 2001-03-14 Juergen Vigna <jug@sad.it>
12345 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12347 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12349 * buffer.C: add hack to fix compability reading of minipages.
12351 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12353 * buffer.C (getLists): Cleanup.
12355 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12357 * lyxfont.C (update): don't honor toggleall on font size.
12359 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12363 * Makefile.am: moved to frontends/xforms/
12367 * BufferView_pimpl.C: changes for moved mathpanel
12369 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12371 * gettext.h: fix gettext_init() in --disable-nls
12373 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12375 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12377 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12380 * lyx.h: strip external form
12382 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12384 * BufferView_pimpl.C: add comment, destroySplash()
12386 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12388 * BufferView_pimpl.C:
12392 * lyxfunc.C: use re-worked insetinclude
12394 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12396 * buffer.C: add using std::stringstream.
12398 * lyx_cb.C: readd using std::ios.
12400 * buffer.C: add using std::map.
12402 * BufferView_pimpl.C: add using std::vector.
12404 * ShareContainer.h: add std:: to swap.
12406 * buffer.h: add some typedefs
12407 * buffer.C (getLists): use them
12408 (getLists): renamed from getTocList.
12409 add a counter for the different float types and use it in the
12411 (getLists): use the same counter for the NEW_INSETS and the "non"
12414 * lyx_cb.h: remove unused items, includes, using etc.
12416 * ShareContainer.h: remove some commented code, add more comments
12417 and "documentation".
12419 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12421 * buffer.C (getTocList): make the list also when NEW_INSETS is
12424 * buffer.h: remove TocType
12426 * buffer.C (getTocList): change to return a map<string,
12427 vector<TocItem> >, implement for dynamic number of list.
12429 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12430 * text2.C (PasteSelection): adjust
12431 * CutAndPaste.C (pasteSelection): adjust
12433 * FloatList.C (FloatList): update from the new_insets branch.
12434 * Floating.[Ch]: ditto
12435 * LaTeXFeatures.C: ditto
12437 * lyxlex_pimpl.C: ditto
12439 * paragraph.C (Last): remove when NEW_INSETS is defined.
12441 * other file: changes because of the above.
12443 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12445 * lyxparagraph.h: rename next to next_, previous to previous_,
12446 make them private for NEW_INSETS. Rename Next() to next(),
12447 Previous() to previous().
12449 * other files: changes because of the above.
12451 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12454 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12457 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12459 * main.C (main): pass lyx_localedir to gettext_init().
12461 * gettext.h: remove locale_init and gettext_init macros
12463 * gettext.C (locale_init): new function
12464 (gettext_init): new function
12466 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12469 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12471 * Moved credits to frontends:
12472 * credits.[Ch]: removed
12473 * credits_form.[Ch]: removed
12474 * lyx_gui_misc.C: remove credits stuff
12477 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12479 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12481 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12482 unneeded destructor.
12484 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12485 a standalone pointer again.
12487 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12489 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12495 * ToolbarDefaults.C:
12504 * BufferView_pimpl.C: use new file dialog in GUII
12507 * lyx_cb.C: remove LayoutsCB to Toolbar
12509 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12511 * ShareContainer.h (get): add std:: qualifier
12513 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12515 * ShareContainer.h: define a proper ShareContainer::value_type
12516 type (and use typename to please compaq cxx)
12518 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12520 * lyxparagraph.h: move serveral local vars to
12521 ParameterStruct/ParagraphParameters., use ShareContainer in
12522 FontTable., make vars in FontTable private and add getter and
12525 * paragraph.C: changes because of the above.
12527 * lyxfont.h: remove copy constructor and copy assignment. (the
12528 default ones is ok), move number inside FontBits. move inlines to
12531 * lyxfont.C: add number to initializaton of statics, move several
12532 inlines here. constify several local vars. some whitespace
12533 cleanup. Dont hide outerscope variables.
12535 * Spacing.h: add two new constructors to match the set methods.
12537 * ShareContainer.h: new file, will perhaps be moved to support
12539 * ParameterStruct.h: new file
12541 * ParagraphParameters.h: new file
12543 * ParagraphParameters.C: new file
12545 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12546 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12548 * BufferView_pimpl.C: ParagraphParameter changes.
12549 * buffer.C: Likewise.
12550 * bufferview_funcs.C: Likewise.
12551 * text.C: Likewise.
12552 * text2.C: Likewise.
12554 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12556 * lyxfind.C (LyXReplace): do not redefine default argument in
12558 (IsStringInText): ditto
12559 (SearchForward): ditto
12560 (SearchBackward): ditto
12562 2001-03-06 Juergen Vigna <jug@sad.it>
12564 * lyxfind.C (IsStringInText): put parentes around expressions.
12566 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12568 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12570 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12572 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12574 * stl_string_fwd.h: add comment
12576 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12579 * tabular.C: remove unused DocBook methods
12585 killed DO_USE_DEFAULT_LANGUAGE
12587 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12589 * lyx_gui.C: do not include language.h.
12591 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12592 arguments in function implementation.
12594 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12596 * BufferView_pimpl.C: add <ctime>
12598 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12600 * BufferView_pimpl.C: add using std::find_if
12602 2001-02-27 José Matos <jamatos@fep.up.pt>
12604 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12607 2001-02-11 José Matos <jamatos@fep.up.pt>
12609 * buffer.C (makeDocBookFile): command styles now have a parameter as
12610 "title" by default.
12612 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12614 * layout_forms.[Ch]: removed
12615 * lyx_cb.[Ch]: out character
12616 * lyx_gui.C: out character
12617 * lyx_gui_misc.C: out character
12618 * bufferview_funcs.C: : out character,
12619 added toggleall as parameter in ToggleAndShow
12621 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12623 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12625 * text2.C (SetCurrentFont): Disable number property at boundary.
12627 2001-02-26 Juergen Vigna <jug@sad.it>
12629 * lyxfunc.C (getStatus): added a string argument override function so
12630 that this is correctly called from LyXFunc::Dispatch if it contains a
12631 do_not_use_argument which is used!
12632 (Dispatch): added check for "custom" export and call appropriate func.
12634 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12636 * lyxrc.C: Add language_command_local, language_use_babel and
12637 language_global_options.
12639 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12641 * buffer.C (makeLaTeXFile): Use language_use_babel and
12642 language_global_options.
12644 2001-02-23 Juergen Vigna <jug@sad.it>
12646 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12647 which works with LyXText and putted it inside BufferView. Here now we
12648 only call for that part the BufferView::Dispatch() function.
12650 * BufferView.C (Dispatch): added.
12652 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12653 functions which needs to use a LyXText over from LyXFunc.
12654 (MenuInsertLyXFile): added
12655 (getInsetByCode): added
12656 (moveCursorUpdate): added
12657 (static TEXT): added
12659 2001-02-22 Juergen Vigna <jug@sad.it>
12661 * BufferView_pimpl.C (update): call a status update to see if LyXText
12664 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12666 * vc-backend.C (revert): implement for CVS
12667 (getLog): implement for CVS
12669 2001-02-20 Juergen Vigna <jug@sad.it>
12671 * text2.C (ClearSelection): added BufferView param for inset_owner call
12673 * lyxfunc.C (TEXT): added this function and use it instead of
12674 directly owner->view()-text of getLyXText().
12676 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12678 * src/layout_forms.C: out preamble
12679 * src/layout_forms.h: out preamble
12680 * src/lyx_cb.C: out preamble
12681 * src/lyx_cb.h: out preamble
12682 * src/lyx_gui.C: out preamble
12683 * src/lyx_gui_misc.C: out preamble
12684 * src/lyxfunc.C: connect with guii preamble
12686 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12688 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12690 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12692 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12693 whether to run bibtex.
12695 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12697 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12699 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12701 * Makefile.am (lyx_SOURCES): removed bibforms.h
12703 * vspace.h: doxygen
12705 * text.C (GetVisibleRow): make several local vars const
12707 * tabular.C: small cleanup.
12709 * lyxserver.C (callback): use compare instead of strncmp
12711 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12712 inlines to after class or to paragraph.C
12714 * lyxfont.h: remove friend operator!=
12716 * converter.h: move friend bool operator< to non friend and after
12719 * combox.h: small cleanup
12721 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12722 to inlines after class def.
12724 * buffer.C (pop_tag): use string operations instead of strcmp
12726 * bmtable.c: doxygen, small cleanup
12728 * LaTeX.h: remove friend operator==
12730 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12742 * BufferView_pimpl.C:
12743 * BufferView.[Ch]: remove cruft
12745 2001-02-14 Juergen Vigna <jug@sad.it>
12747 * lyxfunc.C: removed #if 0 unused code
12749 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12751 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12753 * text2.C (SetSelection): added a BufferView * parameter
12755 2001-02-13 Juergen Vigna <jug@sad.it>
12757 * lyxfunc.C (Dispatch): fixed protected blank problem.
12758 * BufferView2.C (protectedBlank): added LyxText * parameter.
12760 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12761 (AppendColumn): same as above for column_info.
12763 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12764 (moveCursorUpdate): use a LyXText param for support of InsetText.
12766 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12767 (tripleClick): ditto
12769 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12771 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12773 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12775 * text2.C (SetSelection): set correct update status if inset_owner
12776 (ToggleFree): ditto
12778 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12780 * tabular.C: remove some commented code.
12782 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12784 * BufferView_pimpl.C: call hideSplash()
12786 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12789 * bibforms.h: remove
12792 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12793 add LFUN_CHILD_CREATE
12795 * counters.h: fix tiny typo
12800 * lyx.C: move splash to frontends/xforms/
12802 * lyx_gui_misc.C: move Include and Bibform to frontends
12804 * lyxvc.h: clarify comment
12806 * vspace.C: tiny housekeeping
12808 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12810 * text.C (PrepareToPrint): RTL Fix.
12812 * paragraph.C (GetUChar): New method.
12813 (String): Use GetUChar.
12815 * buffer.C (asciiParagraph): Use GetUChar.
12817 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12819 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12821 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12824 * buffer.C: rename to getLogName(), handle
12825 build log / latex log nicely
12827 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12830 * MenuBackend.h: remove support for reference menuitem type.
12832 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12834 * BufferView_pimpl.C: housekeeping
12835 * BufferView_pimpl.h:
12840 * minibuffer.h: move Timeout GUI-I
12842 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12844 * lyxrc.C (read): Update converters data-structures.
12846 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12848 * LaTeX.h (operator!=): add operator != for Aux_Info
12850 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12852 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12854 * LaTeXLog.C: deleted, useful code moved to Buffer
12857 * buffer.C: new function getLatexLogName()
12863 * lyxfunc.C: use frontends for LaTeX and VC logs
12865 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12867 * LaTeX.h: yet another std:: that Allan forgot.
12869 * Variables.C (set): renamed from isset(), because this clashes
12870 with some HP-UX macros (grr).
12872 2001-02-06 Allan Rae <rae@lyx.org>
12874 * LaTeX.h: Another bug fix. Missing std:: this time.
12876 2001-02-04 Allan Rae <rae@lyx.org>
12878 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12879 floats problem. I've left it commented out because it's not quite
12880 correct. It should also test that the current object is a table or
12881 figure inset. But I haven't gotten around to figuring out how to do
12882 that. I *think* it'll be something like: "table" == inset.type()
12884 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12887 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12889 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12890 all the citation/databases/styles in the auxilary file.
12891 (run): Rerun latex if there was a babel language error.
12893 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12895 * text.C (Backspace): Preserve the font when changing newline char
12897 (BreakParagraph): If the cursor is before a space, delete the space.
12899 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12901 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12903 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12904 new argument (code).
12905 (ChangeCitationsIfUnique): New method.
12907 * paragraph.C (GetPositionOfInset): Handle bibkey.
12909 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12911 * BufferView_pimpl.h: change type of Position::par_pos to
12912 LyXParagraph::size_type.
12914 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12916 * BufferView_pimpl.C (savePosition, restorePosition): Write
12917 messages to minibuffer.
12919 2001-01-28 José Matos <jamatos@fep.up.pt>
12921 * buffer.C (makeDocBookFile): adds support for document language.
12922 A silly restriction on the name of LatexCommand types where removed.
12923 Added support for CDATA sections, allows to chars unescaped, used
12924 among others in code, to avoid escape < and >.
12926 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12928 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12929 saved positions instrad of a stack. Furthermore, a position is
12930 stored using paragraph id/paragraph position.
12932 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12933 Remove LFUN_REF_BACK.
12935 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12937 * converter.C (dvipdfm_options): New method.
12939 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12941 * vspace.C (isValidLength): Fix for empty input string.
12943 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12945 * LyXAction.C (init): change description of LFUN_FIGURE to
12948 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12950 * LaTeX.C: add using directive
12952 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12954 * MenuBackend.C (expand): Fix the sorting of the formats.
12956 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12958 * lyx_main.C: tiny error message fix
12960 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12962 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12963 calling fl_initialize(). This fixes the problem with ',' as
12964 decimal separator in text files.
12966 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12968 * trans.C (process): Fix the keymap bug.
12970 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12972 * LaTeX.C (scanAuxFiles): New method. Provides support for
12973 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12974 (scanLogFile) Scan for "run BibTeX" messages.
12976 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12977 OT1 font encoding. Also, load the aecompl package if the ae
12980 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12982 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12984 * texrow.C (increasePos): turn two error messages into debug
12987 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12989 * LaTeX.C (scanAux): Handle the \@input macro.
12990 (runBibTeX): Use scanAux().
12992 * language.C (latex_options_): New field.
12994 * LaTeXFeatures.C (getMacros): Add language macros.
12996 * buffer.C (makeLaTeXFile): Small fix.
12998 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13000 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13002 * text2.C: add a using directive.
13004 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13009 * lyxfunc.C: kill LyXBell.
13011 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13013 * text.C (IsBoundary): Remove the error message
13015 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13017 * lyxrc.C (setDefaults): Correct initialization value for
13020 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13022 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13025 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13026 and GotoNextNote().
13028 * src/LyXAction.C: Added reference-next.
13030 * text.C (InsertChar): Use contains instead of strchr.
13032 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13034 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13036 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13037 alignment commands (when needed).
13039 * text.C (InsertChar): Add ':' to number separator chars.