1 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * All most all file in all subdirs: Make <string> be the prefered
4 way of getting to std::string, add using declarations.
6 2003-10-06 André Pönitz <poenitz@gmx.net>
8 * metricsinfo.C: initialize LyXFont before changiging attribute.
9 (fixes the 'math in \emph is upright' bug)
11 2003-10-06 André Pönitz <poenitz@gmx.net>
13 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
15 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
18 * paragraph_pimpl.C: Small fixes to build using STLport
20 2003-10-02 André Pönitz <poenitz@gmx.net>
23 * text3.C: move handling of LFUN_DEPTH *; fix #1360
25 2003-10-01 André Pönitz <poenitz@gmx.net>
27 * factory.C: assert early
29 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
31 * lyx_main.C: remove the global debug object
33 * debug.h: adjust for new debugstream
35 * debug.C: adjust for new debugstream and keep the global debug
38 2003-09-22 Angus Leeming <leeming@lyx.org>
40 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
41 of g++ which otherwise complain that the scoped_ptr destructor can't delete
42 an incomplete class LyXFont.
44 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
46 * factory.C: bug fix in branches
48 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
50 * lyxfunc.C (processKeySym): adjust
52 (dispatch): change arg name from ev to func, adjust
53 (sendDispatchMessage): ditto
55 * lyx_main.C (defaultKeyBindings): adjust keybindings
56 (deadKeyBindings): ditto
58 * kbsequence.C (addkey): return a FuncRequest
60 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
62 * kbmap.C (bind): take a FuncRequest as arg, adjust
65 (defkey): change to take a FuncRequest as arg, adjust
66 (findbinding): take a FuncRequest as arg, adjust.
68 * funcrequest.h (operator=): added
70 * funcrequest.C (FuncRequest): default kb_action changed from
71 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
73 * buffer.C (dispatch): simplify
74 (dispatch): adjust to take a FuncRequest as arg, adjust
76 * boost.C (assertion_failed): change assertion message slightly
78 * ToolbarBackend.C (read): simplify
80 * MenuBackend.C (binding): adjust call to findbinding, add a
81 message if no binding is found.
83 (expandToc): correct by adding a empty FuncRequest
85 * LyXAction.C: include <boost/assert.hpp>
86 (isPseudoAction): delete function
87 (LookupFunc): change name to...
88 (lookupFunc): this. change return type to FuncRequest.
89 (getActionName): take kb_action as arg, simplify
90 (funcHasFlag): add an assert, simplify.
92 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
94 * toc.C (action): return a FuncRequest, simplify
96 * lyxfunc.C (processKeySym): adjust
97 (getStatus): delete version that takes an int.
99 (dispatch): delete version that takes action as int
101 (sendDispatchMessage): simplify and adjust
103 * funcrequest.C (getArg): take unsigned int as arg
105 * ToolbarBackend.C (read): adjust
106 (add): delete version that takes func as a string.
107 (getIton): take a FuncRequest as arg
109 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
112 * MenuBackend.C (MenuItem): add a new construct that only takes a
113 Kind, simplify the constructor use for submenus.
115 (expandLastfiles): adjust
116 (expandDocuments): adjust
117 (expandFormats): adjust
118 (expandFloatListInsert): adjust
119 (expandFloatInsert): adjust
120 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
122 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
123 Remove class variables lyx_pseudo_map and lyx_arg_map
125 * LyXAction.C (searchActionArg): delete function
126 (getPseudoAction): delete function
127 (retrieveActionArg): delete function
128 (LookupFunc): make it return kb_action, simplify.
129 (getActionName): simplify
131 * factory.C (createInset): fix new bug
133 2003-09-19 Angus Leeming <leeming@lyx.org>
135 * CutAndPaste.C (pasteSelection): remove fudge used to set the
136 masterFilename_ parameter in the include inset.
138 * factory.C (createInset): changes due to the changes to InsetInclude.
140 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
142 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
144 2003-09-18 Angus Leeming <leeming@lyx.org>
147 * BufferView.C: pass the buffer when calling Inset::getLabelList,
148 Inset::fillWithBibKeys.
149 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
151 2003-09-18 Angus Leeming <leeming@lyx.org>
153 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
155 (ctor): pass and store a 'Buffer const &'
156 (buffer): new member function.
158 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
159 '*this' to the LaTeXFeatures ctor.
161 2003-09-18 Angus Leeming <leeming@lyx.org>
167 * text.C: rename EnumLColor as LColor_color.
169 2003-09-18 Angus Leeming <leeming@lyx.org>
171 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
172 remove #include "insets/insetbase.h" from cursor.h.
174 2003-09-18 Angus Leeming <leeming@lyx.org>
176 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
177 InsetOld_code to remove #include "inset.h".
179 * iterators.C: add #include "insets/inset.h"
181 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
183 * BufferView.C: remove more locking stuff that apparently doesn't
184 do anything sensible.
186 2003-09-16 André Pönitz <poenitz@gmx.net>
189 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
192 2003-09-16 Angus Leeming <leeming@lyx.org>
194 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
196 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
199 * paragraph.h: remove #include "lyxfont.h". Forward declare
202 2003-09-16 Angus Leeming <leeming@lyx.org>
204 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
205 of support/textutils.h.
206 (isWord): move the contents of support/textutils.h's IsWordChar here.
212 * text2.C: add #include "paragraph.h".
215 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
217 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
223 * LaTeX.C: use namespace alias for lyx::support::os
225 2003-09-16 Angus Leeming <leeming@lyx.org>
228 * bufferview_funcs.C:
233 * text.C: add #include "LColor.h".
235 2003-09-16 Angus Leeming <leeming@lyx.org>
237 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
238 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
240 Store the FontBits::color variable as an int rather than as an
241 LColor::colorso that we can move LColor.h out of the lyxfont.h header
244 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
245 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
246 string calls together.
248 * lyxrc.C: add #include "LColor.h".
250 2003-09-15 Angus Leeming <leeming@lyx.org>
252 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
255 2003-09-15 Angus Leeming <leeming@lyx.org>
257 * LColor.h: add an EnumLColor wrapper for LColor::color.
259 * lyxfont.[Ch] (color, setColor, realColor):
260 * lyxtext.h, text.C (backgroundColor):
261 pass EnumLColor args to/from the functions, rather than LColor::color
265 * lyxtext.h: forward declare EnumLColor.
267 * lyx_main.C: add #include "LColor.h".
269 2003-09-15 Angus Leeming <leeming@lyx.org>
271 * .cvsignore: add lyx-gtk.
273 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
278 * ParagraphParameters.C
292 * vc-backend.C: remove usage of STRCONV
294 2003-09-15 Angus Leeming <leeming@lyx.org>
296 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
297 explicitly define the color passed to the painter.
299 2003-09-15 Angus Leeming <leeming@lyx.org>
301 * bufferparams.C (BufferParams): reorder member initializers to avoid
304 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
306 * CutAndPaste.C (pasteSelection): remove an outdated #warning
307 * text.C (updateRowPositions): remove an unusual nop
309 2003-09-12 André Pönitz <poenitz@gmx.net>
311 * BufferView_pimpl.C:
320 * Counters.[Ch]: finish the 'automatic counters' job
322 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
324 * aspell.C: include <boost/assert.cpp> (compile fix)
326 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
328 * boost.C (assertion_failed): use lyx::support::abort instead of
331 2003-09-10 Angus Leeming <leeming@lyx.org>
333 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
334 with their _fwd progeny.
336 2003-09-09 Angus Leeming <leeming@lyx.org>
338 134 files throughtout the source tree: replace 'using namespace abc;'
339 directives with the appropriate 'using abc::xyz;' declarations.
341 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
343 * boost.C (emergencyCleanup): moved here from LAssert.c
344 (assertion_failed): new function, called by BOOST_ASSERT
346 * several files: change Assert to BOOST_ASSERT
348 2003-09-09 Angus Leeming <leeming@lyx.org>
350 * buffer.[Ch]: Add an Impl class and move Buffer's member
351 variables into it. As a result move several header files out of
354 Add header files to lots of .C files all over the tree as a result.
356 2003-09-09 Angus Leeming <leeming@lyx.org>
358 * buffer.[Ch]: make Buffer's member variables private. Add
361 Lots of changes all over the tree as a result.
363 2003-09-08 Angus Leeming <leeming@lyx.org>
365 * graph.C: #include <config.h>.
367 2003-09-08 Angus Leeming <leeming@lyx.org>
371 * BufferView_pimpl.C:
400 * toc.C: remove redundant using directives.
402 2003-09-07 Angus Leeming <leeming@lyx.org>
404 * LaTeXFeatures.h: remove #include "support/types.h".
405 * ToolbarBackend.h: remove #include <algorithm>.
406 * changes.h: remove #include <ctime>.
407 * debug.h: remove #include <iosfwd>.
408 * graph.h: remove #include "support/std_string.h".
409 * lyx_main.h: remove #include <csignal>.
410 * lyxlex_pimpl.h: remove #include <fstream>.
411 * sgml.h: remove #include <algorithm>, <utility>.
412 * toc.h: remove #include "support/std_ostream.h".
413 Add #include <iosfwd>.
415 2003-09-07 Angus Leeming <leeming@lyx.org>
417 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
419 * converter.h: forward declare LatexRunParams.
420 * encoding.h: remove #include "lyxrc.h".
421 * lyxtext.h: remove #include "LColor.h".
422 * lyxtextclass.h: remove #include "support/types.h".
423 * trans.h: remove #include "tex-accent.h".
424 * trans_mgr.h: remove #include "tex-accent.h".
425 * insets/inset.h: remove #include "support/types.h", <vector>.
426 * insets/insetcollapsable.h: remove #include "LColor.h".
427 * insets/insetinclude.h: remove #include "dimension.h".
428 * insets/insetlatexaccent.h: remove #include "dimension.h".
429 * insets/insetoptarg.h:: remove #include "insettext.h".
430 * insets/insettext.h: remove #include "dimension.h",
431 <boost/shared_ptr.hpp>
433 * insets/renderers.h: add #include "dimension.h".
434 * insets/updatableinset.h: add #include "support/types.h".
436 * many .C files: Associated changes.
438 2003-09-06 Angus Leeming <leeming@lyx.org>
440 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
441 one, inside testInvariant.
443 * PrinterParams.C: new file.
444 * PrinterParams.[Ch]: move the function bodies out of line.
446 2003-09-06 Angus Leeming <leeming@lyx.org>
448 * ParagraphParameters.h: forward declare ParameterStruct rather than
449 including its header file.
450 (depth): moved out-of-line.
452 2003-09-06 Angus Leeming <leeming@lyx.org>
454 * BufferView_pimpl.h:
457 * lyxfunc.h: forward declare LyXKeySym rather than
458 #include "frontends/LyXKeySym.h".
460 * BufferView_pimpl.C:
463 * lyxfunc.C: associated changes.
465 2003-09-06 Angus Leeming <leeming@lyx.org>
467 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
468 As a result, can remove the #include "insets/inset.h" from BufferView.h
470 2003-09-06 Angus Leeming <leeming@lyx.org>
472 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
473 As a result, can remove the #include "insets/inset.h" from BufferView.h
475 2003-09-06 Angus Leeming <leeming@lyx.org>
481 * bufferview_funcs.C:
482 * BufferView_pimpl.C:
487 * ParagraphParameters.C:
492 * frontends/controllers/ControlDocument.C:
493 * insets/insetcaption.C: rearrange the #includes into some sort of
496 * buffer.h: remove #includes ErrorList.h, undo.h
498 2003-09-06 Angus Leeming <leeming@lyx.org>
500 * support/types.h: add a 'depth_type' typedef, used to store the
501 nesting depth of a paragraph.
504 * ParameterStruct.h: use this lyx::depth_type typedef rather than
509 * ParagraphParameters.h:
510 * sgml.h: use lyx::depth_type rather than Paragraph or
511 ParameterStruct's depth_type.
514 * paragraph_funcs.h: no need to #include paragraph.h anymore.
517 * BufferView_pimpl.C:
519 * ParagraphParameters.C:
522 * bufferview_funcs.C:
529 * frontends/LyXView.C:
530 * frontends/controllers/ControlDocument.C:
531 * frontends/controllers/ControlErrorList.C:
532 * insets/insetbibitem.C:
533 * insets/insetbranch.C:
534 * insets/insetcaption.C:
535 * insets/insetcollapsable.C:
538 * insets/insetfloat.C:
539 * insets/insetfoot.C:
540 * insets/insetfootlike.C:
541 * insets/insetnewline.C:
542 * insets/insetquotes.C:
543 * insets/insettabular.C:
544 * insets/insettext.C:
545 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
547 * frontends/controllers/ControlChanges.C: #include "changes.h".
549 2003-09-06 Angus Leeming <leeming@lyx.org>
551 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
552 than #including paragraph.h.
555 * RowList.h: deleted. Superfluous.
565 * insets/insettext.h: use ParagraphList_fwd.h rather than
568 * paragraph.h: don't forward declare ParagraphList.
571 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
572 rather than ParagraphList.h. paragraph.h is still needed for the
573 Paragraph::depth_type parameters.
575 * textcursor.h: enable it to compile stand-alone in light of the
578 * bufferview_funcs.C:
590 * frontends/controllers/ControlParagraph.C:
591 * frontends/controllers/ControlTabular.C:
592 * insets/insetmarginal.C:
593 * insets/insetminipage.C:
594 * insets/insetnote.C:
595 * insets/insetoptarg.C: add header files needed to compile again.
597 2003-09-06 Angus Leeming <leeming@lyx.org>
599 * RowList_fwd.h: new file, forward-declaring Row rather than
605 * insets/insettext.h: use it instead of RowList.h
607 * bufferview_funcs.C:
614 * text3.C: #include "RowList.h".
616 2003-09-05 Angus Leeming <leeming@lyx.org>
618 * factory.C (createInset):
619 * vspace.C (c-tor): replace sscanf call with an istringstream.
620 * ispell.C: re-add missing HP/UX headers.
621 * lyxserver.C: re-add missing os2 headers.
623 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
632 * text3.C: re-add missing system headers, needed for 2.95.2.
634 2003-09-05 Angus Leeming <leeming@lyx.org>
636 Changes most place everywhere due to the removal of using directives
637 from support/std_sstream.h.
639 2003-09-05 Angus Leeming <leeming@lyx.org>
641 Replace LString.h with support/std_string.h,
642 Lsstream.h with support/std_sstream.h,
643 support/LIstream.h with support/std_istream.h,
644 support/LOstream.h with support/std_ostream.h.
646 Changes resulting throughout the tree.
648 2003-09-05 Angus Leeming <leeming@lyx.org>
650 * sgml.h: ensure that the header file can be compiled stand-alone.
651 * *.C: strip out redundant #includes. (320 in total.)
653 2003-09-04 Angus Leeming <leeming@lyx.org>
655 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
656 here (from getPackages).
658 * debug.[Ch]: add a new EXTERNAL tag.
660 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
662 * text2.C (cursorEnd): simplify
664 (getColumnNearX): adjust
666 * text.C (computeBidiTables): adjust
669 * rowpainter.C (paintChars): adjust
670 (paintSelection): adjust
671 (paintChangeBar): adjust
674 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
676 (numberOfSeparators): adjust
678 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
684 * text3.C: Restricts the mouse click functionality
685 of insets like bibtex, include, toc and floatlist to the visible
686 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
687 up the dialogs. Cursor has to be in front of the inset (i.e.
688 start of row) for this to function.
690 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
692 * bufferview_funcs.C (currentState): output row information
694 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
696 * bufferview_funcs.C (currentState): output paragraph position
698 2003-09-04 Angus Leeming <leeming@lyx.org>
700 * FloatList.h: move out #include "Floating.h".
701 * LaTeX.h: move out #include "DepTable.h".
702 * LyXAction.h: move out #include "funcrequest.h".
703 * buffer.h: move out #include "author.h", "iterators.h".
704 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
705 * lyx_main.h: move out #include "errorlist.h".
706 * lyxfunc.h: move out #include "FuncStatus.h".
707 * lyxtext: move out #include "lyxcursor.h".
708 * paragraph_pimpl.h: move out #include "counters.h".
710 2003-09-03 Angus Leeming <leeming@lyx.org>
712 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
713 preamble_snippets list, enabling us to add snippets to the preamble
714 only if the snippet was not there already.
716 2003-09-04 Angus Leeming <leeming@lyx.org>
718 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
720 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
722 * lyxfunc.C (dispatch): if fitCursor did something be sure to
725 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
727 * BranchList.C: point fix, earlier forgotten
729 2003-09-02 Angus Leeming <leeming@lyx.org>
731 * box.C (contains): renamed from 'contained' after a fantastic
734 2003-09-02 John Levon <levon@movementarian.org>
740 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
742 2003-09-02 John Levon <levon@movementarian.org>
744 * text2.C: simplification of cursorEnd(), including partial
747 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
749 * buffer.C (readFile): add a space
751 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
753 * BufferView_pimpl.C (update): remove bogus fitCursor() call
755 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
757 * buffer.C (readFile): new function, take a filename and a
758 ParagraphList::iterator
760 (readFile): adjust, make it private. don't use setStream, make
761 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
762 always contain the filename.
764 * BufferView.C (insertLyXFile): simplify and make it work for
767 2003-08-30 John Levon <levon@movementarian.org>
769 * Makefile.am: fix dist (from Kayvan)
771 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
773 * most files: change to use const Buffer refs
775 2003-08-27 André Pönitz <poenitz@gmx.net>
777 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
778 on top of ownerPar().
780 2003-08-27 John Levon <levon@movementarian.org>
782 * funcrequest.C: properly initialise POD members
784 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
786 * lyxtext.h (top_y): move top_y from here
791 * BufferView_pimpl.[Ch]: to here
792 * frontends/screen.C:
793 * insets/insettabular.C:
794 * insets/insettext.C: adjust
795 * rowpainter.[Ch] (paintRows): remove LyXText & argument
797 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
800 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
802 2003-08-26 André Pönitz <poenitz@gmx.net>
804 * paragraph_func.[Ch] (outerPar): new function
810 * text2.C: remove Inset::par_owner
812 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
817 * text2.C: eliminates the needFullRow/display() stuff
818 altogether, putting the logic in metrics/draw in the insets.
820 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
822 * text2.C (redoParagraphInternal, redoParagraphs):
823 * text.C (redoParagraph): add a call to updateRowPositions at the
824 end of each 'metrics-like' call. Remove all others.
825 (getRow): remove the 'y-computing' version.
826 (getRowNearY): do not compute nor return the real y. Solve the
827 'y < 0' problem and simplify.
829 2003-08-22 Angus Leeming <leeming@lyx.org>
831 * *.[Ch]: clean-up of licence and author blurbs.
832 Also move config.h out of a few .h files and into a few .C files.
834 2003-08-22 André Pönitz <poenitz@gmx.net>
836 * lyxrow.[Ch]: add x_ and *fill_ members
841 * text2.C: adjust/remove prepareToPrint() calls
843 2003-08-22 André Pönitz <poenitz@gmx.net>
845 * lyxrow.[Ch]: add end_ member
847 * lyxrow_funcs.C: use LyXRow::end_
849 * lyxtext.h (singleWidth): add LyXFont parameter
852 * text2.C: adjust LyXText::singleWidth() calls
854 * text.C (redoParagraph): simplify row breaking logic
857 2003-08-19 André Pönitz <poenitz@gmx.net>
859 * funcrequest.C: initialize button_ member
862 * rowpainter.[Ch]: interface consolidation
864 2003-08-18 André Pönitz <poenitz@gmx.net>
867 * BufferView_pimpl.C:
871 * text3.C: remove LyXScreen::draw() and fitCursor calls
873 * BranchList.h: remove spurious semicolons
875 * MenuBackend.C: fix branchlist related crash
877 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
889 * text3.C: implements the 'branch inset'
890 idea. This allows the output of various versions of a document
891 from a single source version, selectively outputing or suppressing
892 output of parts of the text.
893 This implementation contains a 'branch list editor' in a separate
894 tab of the document settings dialog. Branches are user definable
895 and have a "display colour" to distinguish them on-screen.
897 ColorHandler was somewhat cleaned up.
898 (1) make possible a dynamically growing LColor list by allowing
899 the graphic context cache to grow along (vector);
900 (2) eliminate an IMHO unnecessary step in colour allocation.
902 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
904 * BufferView_pimpl.C: compile fix
906 2003-08-15 André Pönitz <poenitz@gmx.net>
908 * rowpainter.C: remove extra metrics calls
910 * lyxtext.h: merge the two constructors into a single one,
911 pass reference to owner's par list
913 * BufferView_pimpl.C:
917 2003-08-15 André Pönitz <poenitz@gmx.net>
927 * text_funcs.C: split LyXText::rowlist_ into individual
928 Paragraph::rows_ chunks
931 * BufferView_pimpl.[Ch]:
934 * text3.C: remove toggleSelection()
936 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
938 * bufferlist.C: beautify two alerts (shorter text of buttons)
939 * buffer.C: Remove redundant ' ' from message
941 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
942 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
943 rename VALIGN_CENTER to VALIGN_MIDDLE
945 2003-08-11 André Pönitz <poenitz@gmx.net>
947 * lyxtext.h (getPar):
948 * text.C: new function
950 2003-08-11 André Pönitz <poenitz@gmx.net>
953 * tracer.[Ch]: remove unneeded files
955 * InsetList.[Ch]: remove resizeInsetsLyXText()
960 * text3.C: merge insertParagraphs() and appendParagraph()
961 remove breakAgain(), update()
963 * BufferView_pimpl.[Ch]:
964 * bufferview_funcs.[Ch]:
968 * tabular.C: adjust after text & InsetList changes.
970 2003-08-08 André Pönitz <poenitz@gmx.net>
972 * text.C (insertChar, backspace): replace rowlist fiddling
973 with rebreak of full par
976 * text.C (breakAgainOneRow, redoHeightOfParagraph,
977 checkParagraph, updateInset): removed
979 2003-08-07 André Pönitz <poenitz@gmx.net>
982 * text3.C: merge some LFUN handlers, remove dead code
984 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
986 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
988 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
990 * text2.C (DEPM): fix part of bug 1255 and 1256
992 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
994 * BufferView_pimpl.C (workAreaDispatch): change to use
995 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
996 that are no mouse related.
998 2003-08-05 André Pönitz <poenitz@gmx.net>
1001 * BufferView_pimpl.[Ch]:
1002 * bufferview_funcs.C:
1004 * text3.C: rip out "deep update"
1006 * textcursor.[Ch] (last_sel_cursor): remove unused member
1008 2003-08-04 André Pönitz <poenitz@gmx.net>
1011 * BufferView_pimpl.[Ch]:
1012 * ParagraphParameters.C:
1013 * bufferview_funcs.C:
1019 * text3.C: replace "complicated" BufferView::update(...) calls with
1022 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1024 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1026 * Makefile.am (lyx_SOURCES): add paper.h
1028 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1030 * Makefile.am: move things around so that both lyx-qt and
1031 lyx-xforms can be built (according to --with-frontend). Then lyx
1032 is a symbolic link to lyx-[firstfrontend]
1034 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1036 * Always use std::endl with lyxerr
1038 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1040 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1042 2003-08-01 André Pönitz <poenitz@gmx.net>
1045 * BufferView_pimpl.[Ch]:
1047 * text3.C: merge BufferView::repaint() and BufferView::update()
1049 2003-08-01 José Matos <jamatos@lyx.org>
1051 * buffer.[Ch]: file_format is no longer a buffer data element.
1053 2003-08-01 André Pönitz <poenitz@gmx.net>
1058 * text2.C: make redoParagraph more independent of current cursor
1060 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1062 * text2.C: remove unneeded members
1064 2003-07-30 André Pönitz <poenitz@gmx.net>
1066 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1068 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1069 create a single function...
1071 * paragraph_funcs.C (moveItem): ... here.
1074 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1076 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1078 * LColor.[Ch]: Add comment and greyedout logical colors.
1080 2003-07-30 André Pönitz <poenitz@gmx.net>
1082 * tabular.C: don't use Assert too heavily. This crashes where it
1085 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1087 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1088 is disabled (bug 1232)
1090 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1092 * factory.C: limited 'arg' scope
1094 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1096 * factory.C: fixed Note submenu issues
1098 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1100 * factory.C: submenu for Note/Comment/Greyedout
1102 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1105 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1107 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1110 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1111 greyedout. Patch provided by Jürgen Spitzmüller.
1113 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1115 * kbmap.C (read): fix error message when reading bind files
1117 2003-07-29 Angus Leeming <leeming@lyx.org>
1119 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1120 certainly does not do what it purports to do. I am doing it, and
1121 us, a favour by killing it.
1123 2003-07-28 José Matos <jamatos@lyx.org>
1125 * buffer.C (readBody, do_writeFile):
1126 * paragraph.C(readParagraph): \end_document replaces \the_end.
1128 2003-07-29 André Pönitz <poenitz@gmx.net>
1131 * BufferView_pimpl.[Ch]:
1135 * textcursor.[Ch]: remove toggleToggle & Co
1137 2003-07-28 José Matos <jamatos@fep.up.pt>
1139 * buffer.C (readParagraph):
1140 * params_func (readParToken, readParagraph):
1141 * paragraph.C (write): \layout -> \begin_layout.
1143 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1145 * lyxlex_pimpl.C (setFile): clean up slightly.
1147 * bufferparams.h: add compressed var
1149 * buffer_funcs.C (readFile): adjust for LyXLex change
1150 (newFile): ditto + simplify
1152 * buffer.C (writeFile): handle writing of compressed files
1154 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1155 Check if the file is compressed and set a bufferparm if so.
1157 * Makefile.am (lyx_LDADD): remove explicit -lz
1159 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1161 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1162 makeDocBookFile): put the real LyX version in the first line of
1166 * version.C.in: remove lyx_docversion
1168 * tabular.C (write_attribute): add a template-based version to
1169 write enums properly
1171 2003-07-28 André Pönitz <poenitz@gmx.net>
1176 * text3.C: use doubles again for x-coordinates. They are needed.
1178 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1180 * messages.C (getLocaleDir): use lyx_localedir()
1182 * lyxlex_pimpl.C (setFile): compress stuff
1184 * buffer.C (writeFile): add some compression stuff
1185 (do_writeFile): new func, dont call expliti close... will this
1188 * Makefile.am (lyx_LDADD): add -lz
1190 2003-07-28 José Matos <jamatos@fep.up.pt>
1192 * buffer.C: increment file format.
1193 * paragraph_funcs (readParagraph, readParToken):
1194 * paragraph.C (readParagraph): add \end_layout.
1196 2003-07-27 Angus Leeming <leeming@lyx.org>
1198 * Makefile.am: remove special casing for configure-time setting of
1199 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1201 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1202 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1204 2003-07-26 André Pönitz <poenitz@gmx.net>
1206 * paragraph_func.[Ch]:
1207 * paragraph.C (realizeFont): inline it whereever it is used
1212 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1215 2003-07-26 André Pönitz <poenitz@gmx.net>
1219 * text2.C: get rid of LyXText::need_break_row
1221 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1223 * toc.[Ch]: put namespace toc inside namespace lyx
1225 * MenuBackend.C (expandToc2): adjust for lyx::toc
1228 * lyxfunc.C (dispatch): adjust for lyx::find
1230 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1231 lyx::find instead. Reorganize a bit.
1232 (LyXReplace): rename to replace
1233 (LyXFind): rename to find
1235 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1238 2003-07-26 André Pönitz <poenitz@gmx.net>
1240 * text.C (setHeightOfRow): restrict scope of temporary variable
1242 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1243 code (never has been used?)
1245 2003-07-27 Asger Alstrup <alstrup@local>
1247 * text.C (fill): Optimise algorithm to exploit that we can reuse
1248 the LyXFont for many characters.
1249 (setHeightOfRow): Same thing.
1250 (rowBreakPoint): Same thing.
1252 2003-07-26 Asger Alstrup <alstrup@local>
1254 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1256 * text.C (singleWidth): Spurious font copying in hot-spot
1257 singleWidth avoided. Reorder tests for arabic for efficiency.
1259 * text.C (fill): handle empty paragraphs better.
1261 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1264 * encoding.h: add includes
1266 * lyxrc.C: remove reading of bind files
1268 * lyx_main.C (init): setup bindings and menus only if we have a
1271 * kbmap.C (read): new method. Do the actual reading of bind
1274 * converter.C (dvipdfm_options):
1277 (output): adapt PAPER_* enums.
1279 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1281 * bufferparams.h: remove paper-related enums from there
1283 * paper.h: New file. A trivial header file to hold paper-related
1284 enums. It should later expand to contain many paper-related
1287 * lyxrc.C: declare extern displayTranslator
1289 2003-07-27 José Matos <jamatos@fep.up.pt>
1291 * tabular.[Ch] (linuxdoc): add support for tables and figures
1294 2003-07-27 José Matos <jamatos@fep.up.pt>
1296 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1297 consistency in both functions.
1298 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1300 2003-07-26 Asger Alstrup <alstrup@local>
1302 * rowpainter.C (paintRows): Change algorithm to work directly on
1303 the insets rather than asking every character in the document
1304 whether its an inset.
1306 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1308 * buffer.C (openFileWrite): factorize some code
1310 2003-07-26 Angus Leeming <leeming@lyx.org>
1313 * lyx_main.[Ch]: replace occurances of system_tempdir with
1316 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1318 * rename Inset to InsetOld
1320 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1322 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1323 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1324 which I think is a bit clearer. EDIT is gone, since it was
1325 premature optimisation, and broken for mathed anyway.
1326 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1327 with cursor positioning in insets as well (math insets still do not
1328 work, but that's a different story anyway.) It mysteriously
1329 crashes sometimes with undo in the first paragraph, but I'm fairly
1330 confident that this is a compiler bug.
1332 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1334 * paragraph.C (Paragraph): adjust for new clone return type
1336 (copyIntoMinibuffer): ditto
1338 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1340 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1341 by not having a special case, and always doing a full rebreak of
1342 the document after undo.
1344 2003-07-23 Angus Leeming <leeming@lyx.org>
1346 * factory.C (createInset): InsetExternal::setParams now takes a
1349 2003-07-23 Angus Leeming <leeming@lyx.org>
1351 * factory.C (createInset): changed interface to the external and
1352 graphics mailers' string2params functions.
1354 2003-07-23 Angus Leeming <leeming@lyx.org>
1356 * factory.C (createInset): pass a
1357 Buffer const * parameter to InsetExternalMailer's string2params.
1359 2003-07-22 John Levon <levon@movementarian.org>
1361 * Thesaurus.h: include the right aiksaurus header
1363 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1365 * MenuBackend.C (expand): check menu shortcuts unconditionally
1367 2003-07-21 Angus Leeming <leeming@lyx.org>
1369 * factory.C (createInset): pass a
1370 buffer_path parameter to InsetGraphicsMailer's string2params.
1372 2003-07-21 Angus Leeming <leeming@lyx.org>
1374 * BufferView_pimpl.C (buffer):
1377 * lyxfunc.C (dispatch):
1378 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1379 rather than the grfx shortcut.
1381 2003-07-21 André Pönitz <poenitz@gmx.net>
1383 * rowpainter.C: remove unused variables
1386 * tabular_funcs.h: move to tabular.C
1387 * Makefile.am: adjust
1389 * tabular.[Ch]: basic optical cleaning
1391 * author.h: pass references, not values
1393 2003-07-18 André Pönitz <poenitz@gmx.net>
1401 * text3.C: two-phase drawing for InsetText and InsetTabular
1402 some float -> int changes.
1404 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1406 * lyx_main.C: fix the fix
1408 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1410 * lyx_main.C: fix a crash in batch mode if no files specified
1413 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1415 * format.[Ch] (papersize): moved to BufferParams
1416 * converter.[Ch] (dvips_options): moved to BufferParams
1417 (dvipdfm_options): moved to anon namespace
1418 * bufferparams.[Ch]: added above functions.
1420 2003-07-17 André Pönitz <poenitz@gmx.net>
1424 * text2.C: don't call inset->update() anymore
1426 * metricsinfo.[Ch]: add convenience constructor
1428 2003-07-16 André Pönitz <poenitz@gmx.net>
1433 * text2.C: replace the LyXCursor::irow_ member with
1434 on-demand computation of the value
1436 2003-07-16 John Levon <levon@movementarian.org>
1438 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1440 2003-07-15 André Pönitz <poenitz@gmx.net>
1443 * text2.C: remove no more needed refresh_row
1445 2003-07-15 André Pönitz <poenitz@gmx.net>
1450 * text3.C: refresh_status tristate -> need_update bool
1452 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1454 * lyxtext.h (init): remove reinit argument (act as if always true)
1455 * text2.C: adjust to that
1457 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1459 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1460 * text3.C: use it to delete selections in some cases
1461 (bugs 441, 673, 702, 954).
1463 2003-07-14 André Pönitz <poenitz@gmx.net>
1465 * rowpainter.[Ch]: reduce interface
1467 2003-07-14 André Pönitz <poenitz@gmx.net>
1469 * BufferView_pimpl.C:
1470 * text2.C: adjust after removing unused BufferView * argument
1472 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1474 * text2.C (init): fix a crash fired on resize
1476 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1478 * buffer.[Ch]: added new closing signal
1479 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1480 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1481 BufferView::Pimpl via the closing the signal
1483 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1485 * buffer.[Ch]: take out all bv-related from buffer
1487 * BufferView_pimpl.[Ch]: connect to new signals
1488 * CutAndPaste.C: removed useless asserts
1489 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1492 * lyxfunc.C: moved view-related funciontality from vc here
1493 * paragraph.C: removed outdated comments
1496 2003-07-10 André Pönitz <poenitz@gmx.net>
1498 * BufferView_pimpl.C:
1502 * text2.C: remove InsetText::InnerCache, clean up consequences
1504 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1506 * ispell.C: fix two typos in error messages
1508 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1510 * Extend Note inset to other forms of annotation like Comment
1511 and Greyedout. Right button click gives dialog.
1513 Files modified or added (+):
1517 * ControlNote.[Ch] +
1519 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1520 frontends/controllers
1524 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1526 * aspell.C: add missing namespace lyx::support
1528 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1530 * BufferView.[Ch] (newFile): Add
1531 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1532 * LaTeX.[Ch] (message): added this signal and use it
1533 * buffer.[Ch] (busy, message): added these signals and use them
1534 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1538 * importer.C: use buffer signals instead of direct bv calling
1539 * lyx_cb.[Ch] (ShowMessage): removed
1542 * paragraph_funcs.C:
1543 * text2.C: use buffer signals
1545 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1547 * introduce namespace lyx::graphics
1549 2003-07-02 André Pönitz <poenitz@gmx.net>
1551 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1553 2003-07-01 André Pönitz <poenitz@gmx.net>
1560 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1561 text*.C to text_func.C
1563 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1565 * introduce namespace lyx::support
1567 2003-06-30 André Pönitz <poenitz@gmx.net>
1572 * text.C: re-enable --with-included-string
1574 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1576 * textcursor.C: add <config.h>
1578 * text.C (getWord): remove const from word_location arg
1580 * lyxvc.C (getLogFile): fix const type order
1582 * lyxtext.h: remove const from word_location arg, add arg name
1584 * lyxlayout.h: currect type on labeltype.
1586 * importer.C: correct \file
1588 * converter.C (intToFormat): use std:: on ret val, ws changes
1590 * bufferlist.h: correct \file
1592 * buffer.C (makeLinuxDocFile): fix const type order
1593 (makeDocBookFile): ditto
1594 (fillWithBibKeys): use std:: on stdlib args.
1596 * CutAndPaste.C: fix authors.
1597 (availableSelections): use std:: on return vector
1599 2003-06-27 André Pönitz <poenitz@gmx.net>
1601 * BufferView_pimpl.C:
1602 * bufferview_funcs.C:
1610 * text3.C: remove LyXCursor::row_ member
1613 * text.C: rename fullRebreak() to partialRebreak() and implement
1614 a fullRebreak() that really bereks fully
1616 * textcursor.h: new struct for cursor-related data
1618 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1620 * lyx_main.C (LyX): get full path of document loaded on the
1623 2003-06-26 André Pönitz <poenitz@gmx.net>
1625 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1626 remove unused/broken operator>,<,>=.
1628 * text.C: remove only use of broken operator<= in an Assert().
1630 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1632 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1633 moved errorlist_.clear to showErrorList
1635 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1637 * converter.C (scanLog, runLaTeX):
1638 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1639 move the bv->showErrorList call to the callers
1640 * lyxfunc.C: i.e. here...
1642 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1643 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1644 namespace, the second to...
1645 * buffer_funcs (BufferFormat, parseErrors): added
1646 * errorlist.C (ErrorList(TeXErrors const &)): removed
1648 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1650 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1652 2003-06-24 "Garst R. Reese" <reese@isn.net>
1656 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1658 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1660 * version.C.in: change docversion to 1.4
1662 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1664 * buffer.C: fix a bug just introduced
1666 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1668 * buffer.[Ch]: added the parseError signal and use it, removed
1670 * BufferView.[Ch] (addError): moved to ...
1671 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1672 to the Buffer::parseError signal to catch (guess what) parse errors
1673 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1675 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1677 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1678 ability to create a buffer and to return an existing one from
1679 the list. Moved these functions to...
1680 * buffer_funcs.[Ch]: added
1681 * BufferView.[Ch] (loadLyXFile): added
1682 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1683 job removed from bufferlist::loadLyXFile.
1684 * buffer.C (setReadOnly): make it work without view
1685 (i.e added an if (users))
1687 2003-06-19 Angus Leeming <leeming@lyx.org>
1690 * LyXAction.C (init):
1691 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1692 with LFUN_DIALOG_SHOW <name> <data>.
1694 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1696 * CutAndPaste.C (availableSelections): small compilation fix for
1697 ancient (gcc 2.9x) compilers
1699 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1701 * text3.C (cursorNext): add tmp var
1703 * text2.C (updateCounters): for function calling out of for clause
1704 (replaceSelectionWithString): ditto
1705 (insertStringAsParagraphs): ditto
1706 (getColumnNearX): add tmp var
1707 (setCursorFromCoordinates): add tmp var
1708 (cursorDownParagraph): add tmp var
1709 (deleteEmptyParagraphMechanism): add tmp var
1711 * text.C (insertChar): add tmp var
1713 * rowpainter.C (paintDepthBar): add tmp var
1715 * CutAndPaste.C (availableSelections): potentially check all
1716 paragraphs in a cut to fill the shown strings.
1718 2003-06-18 André Pönitz <poenitz@gmx.net>
1720 * kbmap.[Ch]: use vector<> instead of list<>
1722 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1724 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1725 pasteSelection with index
1727 * text2.C (pasteSelection): modify, call pasteSelection with index
1729 * paragraph.C (asString): reimplement version with no interval to
1730 call the one with interval.
1732 * lyxtext.h: add index arg to pasteSelection
1734 * MenuBackend.C (MenuItem): handle PasteRecent
1735 (Menu::read::Menutags): add md_pasterecent
1737 (expandPasteRecent): new function
1740 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1742 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1744 (availableSelections): new function
1746 2003-06-17 Angus Leeming <leeming@lyx.org>
1748 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1750 2003-06-17 Angus Leeming <leeming@lyx.org>
1753 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1755 * lyxfunc.C (dispatch): invoke it.
1757 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1759 * iterators.C (operator++, ParPosition): reintroduce some
1760 const_cast for the benefit of older compilers.
1762 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1764 * text3.C (dispatch): do not modify clipboard when doing
1765 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1766 LFUN_DELETE_SKIP on a selection selection
1768 2003-06-16 André Pönitz <poenitz@gmx.net>
1774 * tabular.[Ch]: IU of clone() and getLabelList();
1776 2003-06-13 André Pönitz <poenitz@gmx.net>
1778 * tabular.h: compactification
1780 2003-06-12 André Pönitz <poenitz@gmx.net>
1784 * tabular_funcs.h: some renaming plus whitespace
1786 2003-06-12 André Pönitz <poenitz@gmx.net>
1789 * BufferView_pimpl.C:
1795 * toc.C: Return a Paragraph & for ParIterator::operator*()
1797 2003-06-11 John Levon <levon@movementarian.org>
1801 * ToolbarBackend.C: add "Toolbars" section and
1804 2003-06-10 Angus Leeming <leeming@lyx.org>
1807 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1809 * lyxfunc.C (dispatch): invoke it.
1811 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1813 * main.C: protect <ios> with HAVE_IOS
1814 (main): protect sync_with_stdio with HAVE_IOS
1816 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1818 * text2.C (cutSelection): adjust
1819 (pasteSelection): adjust
1821 * messages.C: handle get of empty string
1823 * main.C (main): use sync_with_stdio(false)
1825 * lyxfunc.C (dispatch): adjust
1827 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1828 (WriteAs): remove unneeded BufferView arg.
1830 * bufferparams.h: use correct types on papersize, papersize2 and
1833 * bufferparams.C (readToken): adjust for type
1834 (writeLaTeX): add missing cases to switch.
1836 * bufferlist.C (quitWriteBuffer): adjust
1839 * buffer.C (asciiParagraph): remove some commented code.
1841 * CutAndPaste.C: remove current_view extern variable.
1842 (cutSelection): add BufferParams arg.
1843 (eraseSelection): add BufferParams arg.
1844 (pasteSelection): add Buffer const & arg
1846 2003-06-07 John Levon <levon@movementarian.org>
1849 * paragraph_funcs.C:
1850 * paragraph_pimpl.C:
1854 * paragraph.C: allow InsetERT to freely space lines,
1855 and some consolidation of code
1857 2003-06-06 José Matos <jamatos@fep.up.pt>
1859 * buffer.C (makeDocBookFile): fix bug #821
1861 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1863 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1865 2003-06-04 Angus Leeming <leeming@lyx.org>
1867 * buffer.C: bump format to 224.
1869 2003-06-05 André Pönitz <poenitz@gmx.net>
1871 * text2.C (redoParagraphs): remove two const_cast<>
1873 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1875 * ParagraphList.h: remove last remnants of NO_STD_LIST
1877 2003-06-03 Angus Leeming <leeming@lyx.org>
1879 * factory.C (createInset): small change to the way InsetExternal's params
1882 2003-06-04 André Pönitz <poenitz@gmx.net>
1884 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1886 * paragraph_pimpl.h:
1887 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1889 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1891 * undo_funcs.C: make some simple cases of undo work again
1893 2003-06-03 John Levon <levon@movementarian.org>
1895 * ispell.C: HPUX doesn't have sys/select.h
1898 2003-06-03 John Levon <levon@movementarian.org>
1900 * CutAndPaste.C: update tabular and include inset
1905 * paragraph.C: remove owningBuffer(), don't pass Buffer
1908 * factory.C: insetGraphicsParams changed
1910 2003-06-02 John Levon <levon@movementarian.org>
1916 * text3.C: remove insetparent
1918 2003-06-02 John Levon <levon@movementarian.org>
1921 * buffer.C: fix inset_iterator.end(), move out of line
1924 2003-06-01 John Levon <levon@movementarian.org>
1926 * text3.C: use a proper cut/paste when doing inset
1927 insert (from Jürgen Spitzmüller)
1929 2003-06-01 John Levon <levon@movementarian.org>
1931 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1933 2003-05-30 André Pönitz <poenitz@gmx.net>
1935 * rowpainter.C: unify second drawing phase
1937 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1939 * trans_mgr.C: remove one case of current_view
1941 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1943 * paragraph_funcs.h: remove paragraph.h include
1945 * paragraph.h: delete NO_STD_LIST stuff
1947 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1949 * buffer.h: remove paragraph.h include
1951 * ParagraphList.C: delete file
1953 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1955 * toc.C (getTocList): adjust
1957 * paragraph_pimpl.C (validate): adjust
1959 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1961 * paragraph.C (Paragraph): adjust
1962 (getPositionOfInset): use const_iterator, adjust
1963 (bibitem): use const_iterator, adjust
1964 (setInsetOwner): adjust
1966 * iterators.C (operator++): adjust
1968 * InsetList.[Ch]: Replace selfmade iterator with standard
1969 vector::iterator also introduce const_iterator. Remove getPos,
1970 getInset and setInset from InsetTable. Adjust accordingly.
1972 * BufferView.C (lockInset): adjust
1973 (ChangeInsets): adjust
1975 * tabular.[Ch]: delete commented same_id functions
1977 2003-05-28 John Levon <levon@movementarian.org>
1979 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1981 2003-05-28 André Pönitz <poenitz@gmx.net>
1983 * metricsinfo.[Ch]: remove 'fullredraw' member
1985 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1987 * lyxtextclass.C (operator): remove caching.
1989 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1993 * text2.C (cursorBottom): adjust
1994 (setCounter): use ParagraphList::find, adjust
1996 * text.C (workWidth): use ParagraphList::find, adjust
1998 * lyxcursor.C (LyXCursor): adjust
2000 * buffer.C (inset_iterator): adjust
2002 * ParagraphList.h: make iterator(value_type) private, make
2003 ParagraphList a friend of iterator.
2005 * ParagraphList.C (find): new function
2007 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2009 2003-05-27 André Pönitz <poenitz@gmx.net>
2011 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2013 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2015 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2017 2003-05-26 John Levon <levon@movementarian.org>
2019 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2021 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2023 * remove same_id from function signatures, adjust.
2025 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2027 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2029 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2031 * paragraph.C (Paragraph): get rid of same_ids parameter
2033 * ParagraphList.C (insert): adjust
2036 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * paragraph_funcs.C (breakParagraph): adjust
2039 (breakParagraphConservative): adjust
2041 * buffer.C (readParagraph): adjust
2043 * ParagraphList.C (insert): take a reference instead of a pointer
2046 * paragraph.[Ch] (id): new function
2048 * bufferlist.C (newFile): adjust
2050 * ParagraphList.C (ParagraphList): adjust
2052 (push_back): take a reference instead of a pointer.
2054 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2056 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2059 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2060 set else use old code.
2062 * ParagraphList.C: remove all NO_NEXT code and only compile this
2063 code of NO_STD_LIST is set.
2065 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2067 * BufferView_pimpl.C:
2077 * graphics/GraphicsConverter.C:
2078 * graphics/PreviewLoader.C: header adjustment
2080 2003-05-23 Angus Leeming <leeming@lyx.org>
2082 * LaTeXFeatures.[Ch] (useBabel): new method.
2083 * bufferparams.C (writeLaTeX): use it.
2085 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2087 * ParagraphList.h (set): remove unused function.
2089 2003-05-23 André Pönitz <poenitz@gmx.net>
2092 * BufferView_pimpl.C:
2096 * undo_funcs.C: setUndo reworked
2098 * iterators.[Ch]: add access to topmost ParagraphList
2100 * lyxtext.[Ch] (workWidth): add a const
2102 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2104 * texrow.[Ch] (increasePos): remove function
2105 * exporter.C (export): removed unused var and outdated comment
2107 2003-05-23 Angus Leeming <leeming@lyx.org>
2109 * latexrunparams.h: rename fragile as moving_arg.
2110 * paragraph.C (simpleTeXOnePar): ditto.
2111 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2113 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2115 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2117 (textUndoOrRedo): comment out a currently unused var.
2119 * paragraph.h (NO_NEXT): enable NO_NEXT
2121 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2123 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2125 * exporter.C (Export): adjust for removeAutoInsets removal.
2127 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2129 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2131 * BufferView.[Ch] (removeAutoInsets): delete function
2133 2003-05-22 Angus Leeming <leeming@lyx.org>
2135 * latexrunparams.h: add a free_spacing variable.
2137 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2138 to pass moving_arg, as the data is stored in runparams.fragile.
2140 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2141 to Inset::latexOptional or to simpleTeXOnePar.
2143 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2144 free_spacing arg to Inset::latexOptional.
2146 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2149 2003-05-22 Angus Leeming <leeming@lyx.org>
2151 * latexrunparams.h: add fragile and use_babel variables.
2153 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2154 * buffer.C (makeLaTeXFile): store this returned value in
2155 runparams.use_babel, thus passing it to the inset::latex methods.
2157 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2158 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2160 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2161 longer has a fragile arg, as it is stored in runparams.fragile.
2163 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2164 moving_arg parameter as the data is stored in runparams.fragile.
2166 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2167 a fragile parameter as the data is stored in runparams.fragile.
2169 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2171 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2173 2003-05-22 Angus Leeming <leeming@lyx.org>
2175 * latexrunparams.h: add a 'bool nice' which defaults to false.
2177 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2178 now encapsulated within runparams.
2180 * bufferlist.C (updateIncludedTeXfiles):
2181 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2183 2003-05-22 Angus Leeming <leeming@lyx.org>
2185 * latexrunparams.h: new file containing struct LatexRunParams.
2186 * Makefile.am: add new file.
2188 * LaTeX.[Ch] (c-tor, run):
2189 * buffer.[Ch] (makeLaTeXFile):
2190 * bufferlist.[Ch] (updateIncludedTeXfiles):
2191 * converter.C (convert, scanLog):
2192 * converter.[Ch] (runLaTeX):
2193 * exporter.C (Export):
2194 * paragraph.[Ch] (simpleTeXOnePar):
2195 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2196 * paragraph_funcs.[Ch] (latexParagraphs):
2197 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2198 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2199 pass around a LatexRunParams parameter.
2201 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * paragraph.[Ch]: remove unused constructor
2205 * ParagraphList.C (erase): new function, taking two iterators
2207 2003-05-22 André Pönitz <poenitz@gmx.net>
2209 * undo_funcs.C: remove duplicated code
2211 * iterator.[Ch]: operator=
2213 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2215 * tabular.C (SetMultiColumn): ws changes
2217 * rowpainter.C (paintFirst): get rid of a ->previous
2219 * lyx_cb.C (getPossibleLabel): parlist simplification
2221 * BufferView.C (ChangeInsets): simplify slightly.
2223 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2225 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2226 * lfuns.h: new LFUN_SPACE
2227 * lyxfunc.C: protected space has a new lfun
2228 * paragraph_funcs.C: read new space insets
2230 * factory.C: handle new space insets
2232 2003-05-22 André Pönitz <poenitz@gmx.net>
2235 * BufferView_pimpl.C:
2238 * undo_funcs.C: return a ParIterator from getParFromID.
2240 * iterators.[Ch]: add two const's
2242 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2244 * toc.C (getTocList): adjust
2246 * iterators.[Ch]: rework for parlist
2248 * buffer.C (par_iterator_begin): adjust
2249 (par_iterator_end): adjust
2251 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2253 * BufferView.C (removeAutoInsets): adjust
2254 (ChangeInsets): adjust
2256 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2258 * text.C (top_y): fix bug 1110
2260 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2262 * errorlist.[Ch]: added
2265 * BufferView_pimpl.C:
2266 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2269 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2271 * Makefile.am: ensure that lyx is relinked upon changes to the
2272 various "convenience" libs.
2274 2003-05-20 Angus Leeming <leeming@lyx.org>
2276 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2277 files are compiled in alphabetical order again.
2279 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2281 2003-05-19 Angus Leeming <leeming@lyx.org>
2283 * gettext.[Ch]: remove "char const * _(char const *)".
2285 2003-05-19 André Pönitz <poenitz@gmx.net>
2287 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2296 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2298 2003-05-19 André Pönitz <poenitz@gmx.net>
2302 * lyxtextclass.[Ch]:
2304 * paragraph_funcs.[Ch]:
2306 * text3.C: more insetenv work
2308 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2310 * ParagraphParameters.C (params2string): small bug fixed
2312 2003-05-16 André Pönitz <poenitz@gmx.net>
2315 * bufferview_funcs.C: patch from Kornel Benko to prevent
2316 crash when _(...) is called twice in a statement
2318 2003-05-16 André Pönitz <poenitz@gmx.net>
2325 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2327 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2329 * lyx_main.C (init): remove spurious static_cast
2331 2003-05-14 André Pönitz <poenitz@gmx.net>
2333 * BufferView.C: fix format string
2335 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2337 * BufferView.[Ch] (insertErrors): removed
2338 * BufferView.[Ch] (showErrorList): added
2339 * buffer.C (runChkTeX):
2340 * converter.C (scanLog): call showErrorList instead of inserterrors
2342 2003-05-13 André Pönitz <poenitz@gmx.net>
2344 * BufferView_pimpl.C:
2346 * bufferview_func.C:
2353 * tabular_funcs.h: tostr() from its own header
2355 * ParagraphParameters.C:
2360 * text3.C: STRCONV()
2362 2003-05-12 André Pönitz <poenitz@gmx.net>
2365 * BufferView_pimpl.C:
2369 * ParagraphParameters.C:
2373 * bufferview_funcs.C:
2386 * paragraph_funcs.C:
2390 * text3.C: boost::format -> bformat all over the place
2393 2003-05-09 André Pönitz <poenitz@gmx.net>
2395 * LColor.[Ch]: Pimpl the #include <map> away
2397 2003-05-09 John Levon <levon@movementarian.org>
2399 * bufferlist.C: never remove emergency saves
2401 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2403 * Makefile.am: better lib building
2405 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2407 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2409 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2410 (simpleTeXSpecialChars): adjust
2411 (simpleTeXSpecialChars): adjust
2412 * paragraph.C (simpleTeXOnePar): adjust
2413 * buffer.C (makeLaTeXFile): adjust
2415 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2417 * text2.C (changeDepth): parlist cleanup
2418 (getColumnNearX): ditto
2420 * rowpainter.C (getLabelFont): parlist cleanup
2422 * bufferlist.C (newFile): parlist cleanup
2424 * CutAndPaste.C (eraseSelection): parlist cleanup
2426 * BufferView_pimpl.C (trackChanges): parlist cleanup
2429 * BufferView.C (lockInset): parlist cleanup.
2430 (ChangeInsets): ditto
2432 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2434 * CutAndPaste.h: Update file header.
2436 * CutAndPaste.C: Update file header.
2437 Store the parts cut out of the Document in a limited_stack.
2438 (copySelection): adjust
2439 (pasteSelection): new function, takes the index in the limited stack.
2440 (nrOfParagraphs): adjust
2441 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2442 simplify error inset insertion.
2443 (checkPastePossible): adjust
2445 2003-05-06 John Levon <levon@movementarian.org>
2447 * text2.C: don't cast wrap inset to float
2449 2003-05-05 André Pönitz <poenitz@gmx.net>
2452 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2454 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2455 few naked Paragraph *.
2457 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2459 * bufferparams.C: Output warning if a document with missing
2460 TeX document class is loaded
2461 * exporter.C: Disable TeX exports if the document class is missing
2464 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2465 isTeXClassAvailable()
2467 2003-05-03 John Levon <levon@movementarian.org>
2470 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2471 explicit cursor show/hide
2473 * BufferView_pimpl.h:
2474 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2475 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2477 * lyxfunc.C: hide cursor before dispatching.
2482 * text3.C: remove explicit cursor hides
2484 2003-05-02 André Pönitz <poenitz@gmx.net>
2486 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2489 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2492 * text2.C: tiny whitespace
2494 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2496 * undo_funcs.C: almost only ws changes.
2498 * ParagraphList.C (splice): just return if pl is empty.
2500 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2502 * ParagraphList.C (splice): new function.
2504 * CutAndPaste.C (pasteSelection): use it
2506 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2508 * CutAndPaste.C (pasteSelection): remove the last next and
2509 previous from this file.
2511 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2513 * CutAndPaste.C (pasteSelection): more clean up, user proper
2514 ParagraphList functions for pasteing.
2516 * ParagraphList.C (insert): new function, three arg insert
2518 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2520 * ParagraphList.C (insert): new function, three arg insert
2522 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2525 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2527 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2529 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2531 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2533 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2536 (copySelection): clean up a bit.
2537 (pasteSelection): use make_pair
2539 * ParagraphList.C (ParagraphList): implement copy constructor
2540 (operator=): implement, base on copy constructor.
2543 * paragraph.C (erase): return a bool
2545 * paragraph_pimpl.C (erasePos): remove function, move contents...
2546 (erase): ... here. Return a bool.
2547 (erase): call erase instead of erasePos.
2549 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2551 * ParagraphList.h: define PitPosPair
2552 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2553 ParagraphList, fix a bug on pasting multiple pars
2554 * text2.C: change interface to C&P
2556 2003-04-30 André Pönitz <poenitz@gmx.net>
2558 * undo_func.C: revert part of yesterday's patch 2
2560 2003-04-30 John Levon <levon@movementarian.org>
2562 * LColor.C: s/tabular/table/
2564 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2566 * text3.C (dispatch): do not convert iterator -> pointer
2567 * undo_funcs.C (setCursorParUndo): ditto
2568 * text_funcs.C (transposeChars): ditto
2570 * text2.C (setLayout): ws changes only
2572 * text.C (breakParagraph): do not convert iterator -> pointer
2574 (acceptChange): ditto
2575 (rejectChange): ditto
2580 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2583 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2585 * text3.C (gotoInset): YABG (yet another bad getChar)
2587 2003-04-29 André Pönitz <poenitz@gmx.net>
2589 * paragraph.h: make operator= private unimplemented as long as
2592 * ParagraphList.C: whitespace
2595 * paragraph_pimpl.[Ch]:
2596 * paragraph_funcs.C:
2598 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2601 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2603 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2605 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2606 * paragraph.[Ch] (erase):
2607 * paragraph_pimpl.[Ch] (erase): change return type and value
2608 * text2.C (cutSelection): some rework
2610 2003-04-28 John Levon <levon@movementarian.org>
2612 * bufferlist.C: changes for unsaved changes dialog
2614 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2616 * bufferlist.C (newFile): set language (messages_) for new
2619 * buffer.C (readFile): ws changes only.
2621 2003-04-28 André Pönitz <poenitz@gmx.net>
2626 * BufferView_pimpl.C:
2627 * BufferView.C: getParFromID related ParagraphList::iterator changes
2629 2003-04-28 André Pönitz <poenitz@gmx.net>
2631 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2634 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2636 * messages.C: remove one more localedir class variable.
2638 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2640 * messages.C (getLocaleDir): singleton generation function
2642 (Messages): add a default constructor.
2644 * main.C (main): do not setup localedir here, do not call
2647 * gettext.C (_): use it.
2648 (gettext_init): delete funciton
2650 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2652 * gettext.C (getLyXMessages): new singleton generating function.
2654 * buffer.C (updateDocLang): adjust
2656 * Makefile.am (messages.o): add target
2657 (main.o): remove target
2659 2003-04-27 John Levon <levon@movementarian.org>
2664 * lyxvc.C: specify cancel button in Alert::prompt
2666 2003-04-26 John Levon <levon@movementarian.org>
2671 * LyXAction.C: add LFUN_INSET_SETTINGS
2673 * lyxfunc.C: don't enable tabular-feature when there's
2674 just any locking inset
2676 2003-04-26 John Levon <levon@movementarian.org>
2678 * bufferlist.C: re-add Cancel to buffer close question
2680 * lyxfunc.C: fix import UI a bit
2682 2003-04-25 John Levon <levon@movementarian.org>
2684 * gettext.C: remove the broken asserts for now
2686 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2688 * messages.C: make case where setlocale cannot comply work better.
2690 * buffer.C (updateDocLang): new function
2691 (changeLanguage): use it
2694 * text2.C (setCounter): use B_ a bit.
2696 * lyxlayout.C (Read): be sure to trim the label strings.
2698 * messages.C (Messages): fix typo in comment
2700 * buffer.C (readFile): set message_ after file is loaded.
2701 (makeDocBookFile): remove double return
2702 (changeLanguage): reset message_ upon language change.
2703 (B_): new func, use this to get translated buffer strings.
2705 * main.C: add myself and Jean Marc as authors.
2707 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2709 * messages.[hC]: pimplify Messages, and three different pimpls to be
2710 used in different circumstances.
2712 * gettext.[Ch]: change for use with new message code.
2714 2003-04-24 André Pönitz <poenitz@gmx.net>
2716 * factory.C: support for eqref
2718 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2720 * messages.[Ch]: add missing char
2722 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2724 * messages.[Ch]: New files
2726 2003-04-18 John Levon <levon@movementarian.org>
2730 * BufferView_pimpl.C:
2734 * text2.C: remove layout-copy/paste (bug 778)
2736 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2738 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2740 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2742 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2743 if they succeed. Act accordingly.
2745 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2747 * text2.C (setCharFont): adjust
2748 (setCounter): adjust
2749 (insertStringAsLines): adjust
2751 * text.C (leftMargin): adjust
2752 (setHeightOfRow): adjust
2754 * rowpainter.C (paintFirst): adjust
2757 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2759 (isFirstInSequence): ditto
2760 (getEndLabel): ditto
2763 * paragraph.C (getParLanguage): comment out some hard stuff.
2765 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2767 (simpleDocBookOnePar): ditto
2768 (makeDocBookFile): use ParagraphList::iterator
2770 * CutAndPaste.C (pasteSelection): adjust
2772 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2774 * text2.C (getFont): adjust
2775 (getLayoutFont): adjust
2776 (getLabelFont): adjust
2778 * paragraph_funcs.C (TeXOnePar): adjust
2780 * buffer.C (simpleLinuxDocOnePar): adjust
2781 (simpleDocBookOnePar): adjust
2783 * CutAndPaste.C (pasteSelection): adjust
2785 * BufferView.C (getEncoding): adjust
2787 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2789 2003-04-16 John Levon <levon@movementarian.org>
2791 * lyxfind.C: use parlist stuff for search/changes
2793 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2795 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2797 * text2.C (deleteEmptyParagraphMechanism): adjust
2799 * text2.[Ch] (ownerParagraph): delete func (both of them
2801 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2805 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2807 * ParagraphList.C: prepare for NO_NEXT
2809 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2811 * text2.C (getFont): adjust
2812 (getLayoutFont): adjust
2813 (getLabelFont): adjust
2815 * paragraph.C (getFont): adjust
2816 (getLabelFont): adjust
2817 (getLayoutFont): adjust
2819 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2821 2003-04-15 John Levon <levon@movementarian.org>
2825 * lyx_main.C: handle Include in .ui files
2827 2003-04-15 John Levon <levon@movementarian.org>
2829 * MenuBackend.C: make the doc files length shorter
2832 * ToolbarBackend.C: handle toolbar placement flags,
2835 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2837 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2840 * paragraph_funcs.C (TeXOnePar): adjust
2842 * paragraph.C (getLabelFont): add outerfont arg, adjust
2843 (getLayoutFont): ditto
2844 (simpleTeXOnePar): adjust
2846 * paragraph_pimpl.C (realizeFont): delete func
2848 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2850 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2851 row argument, constify cur argument.
2853 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2855 * text2.C (getFont): adjust
2856 (getLayoutFont): adjust
2857 (getLabelFont): adjust
2859 * paragraph_funcs.C (TeXOnePar): adjust
2860 (outerFont): new func...
2861 (realizeFont): ...moved out from here, changed this to facilitate
2864 * paragraph.C (getFont): take outerfont as arg, adjust
2865 (simpleTeXOnePar): add outerfont arg, adjust
2867 * buffer.C (simpleLinuxDocOnePar): adjust
2868 (simpleDocBookOnePar): adjust
2870 * CutAndPaste.C (pasteSelection): adjust
2872 * BufferView.C (getEncoding): adjust
2874 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2876 * text2.C (setCharFont): adjust
2877 (setCounter): adjust
2879 * text.C (leftMargin): adjust
2880 (setHeightOfRow): adjust
2882 * rowpainter.C (paintFirst): adjust
2885 * paragraph_pimpl.C (realizeFont): adjust
2887 * paragraph.C (isFirstInSequence): move from here...
2888 * paragraph_funcs.C (isFirstInSequence): ...to here
2890 * paragraph.C (outerHook): move from here...
2891 * paragraph_funcs.C (outerHook): ...to here
2893 * paragraph.C (depthHook): move from here...
2894 * paragraph_funcs.C (depthHook): ...to here
2896 * paragraph.C (getEndLabel): move from here...
2897 * paragraph_funcs.C (getEndLabel): ...to here
2899 * text2.C (realizeFont): move from here...
2900 * paragraph_funcs.C (realizeFont): ...to here
2902 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2904 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2906 2003-04-14 Angus Leeming <leeming@lyx.org>
2908 * LColor.[Ch]: scrap LColor mathcursor.
2910 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2912 * lyxlex.[Ch] (text): delete function
2913 * trans.C (Load): adjust
2914 * paragraph_funcs.C (readParToken): adjust
2916 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2918 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2919 vector<char> instead of a char[].
2921 * lyxlex_pimpl.C (getString): adjust
2923 (lex): use getString
2927 * lyxlex.C (text): use pimpl_->getString()
2931 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2933 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2934 (makeFontEntriesLayoutSpecific): temp var for par.size()
2935 (setLayout): temp var for ownerParagraphs().end()
2936 (fullRebreak): temp var for rows().end()
2937 (selectionAsString): temp var for boost::next(startpit), realize
2938 that the while really is a regular for loop.
2939 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2940 setCursor in one place.
2941 (setParagraph): temp vr for ownerParagraphs().end()
2942 (updateCounters): make the while loop a for loop
2943 (cutSelection): temp var for ownerParagraphs().end()
2944 (updateInset): make the do {} while() a regular for loop
2945 (getCursorX): use temp vars
2946 (setCurrentFont): use temp vars
2947 (getColumnNearX): use temp vars
2949 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2951 * text.C (transformChar): use temp var for getChar
2952 (computeBidiTables): use temp var for row->par()
2953 (fill): move temp vars for row->par() and pit->layout() earlier in
2955 (labelFill): use temp var for row->par()
2956 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2957 asc and desc, realize that pit never changes and that firstpit is
2958 just a duplicate and not needed. Exchange rit->par() with pit in a
2960 (breakAgain): use a temp var for boost::next(rit)
2961 (breakAgainOneRow): ditto
2962 (breakParagraph): use a temp var for rows().begin()
2963 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2964 (cursorRightOneWord): use temp var for cursor.par() and
2965 cursor.pos(), remove usage of tmpcursor.
2966 (cursorLeftOneWord): use temp var for cursor.par() and
2967 cursor.pos() only set cur at end of function.
2969 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2971 * text.C, text2.C: exchange all usage of Paragraph::next with
2972 boost::next(ParagraphList::iterator)
2974 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2976 * text2.C (cursorTop): simplify implementation
2977 (cursorBottom): ditto
2978 (setParagraph): use ParagraphList::iterator
2979 (setCurrentFont): adjust
2980 (getColumnNearX): adjust
2981 (cursorRight): adjust
2982 (cursorLeft): remove usage of Paragraph::previous
2983 (cursorUpParagraph): ditto
2984 (deleteEmptyParagraphMechanism): slight cleanup
2986 * text.C (isBoundary): take a Paragraph const & instead of a
2988 (addressBreakPoint): ditto
2989 (leftMargin): remove usage of Paragraph::previous.
2990 (setHeightOfRow): ditto
2991 (cursorLeftOneWord): ditto
2992 (selectNextWordToSpellcheck): ditto
2995 (breakParagraph): remove one usage of Paragraph::next
2996 (redoParagraph): ditto
2997 (acceptChange): ditto
2998 (insertChar): adjust
2999 (rowBreakPoint): adjust
3001 * bufferview_funcs.C (toggleAndShow): adjust
3003 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3005 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3006 methods to access it.
3008 * text.C: Added updateRowPositions to compute all row positions.
3009 Make top_y and getRowNearY() to use the cached y position
3011 2003-04-11 John Levon <levon@movementarian.org>
3013 * text.C (rowBreakPoint): reintroduce the labelEnd
3014 checks, code copied from the row fill stuff. Deep voodoo.
3016 * text.C (fill): add a comment and debugging for the
3019 2003-04-11 John Levon <levon@movementarian.org>
3021 * text.C: make sure fullrow insets get wrapped to the next line,
3022 even when they're in a manual label
3024 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3026 * text2.C (insertParagraph): make it take ParagraphList::iterator
3028 (setLayout): make it return ParagraphList::iterator
3029 (redoParagraphs): ditto
3031 (checkParagraph): ditto
3033 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3035 * text2.C: adjust several funcs.
3036 (realizeFont): take a ParagraphList::iterator as arg.
3037 (getLayoutFont): ditto
3038 (getLabelFont): ditto
3039 (setCharFont): ditto
3041 * text.C: adjust several funcs.
3043 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3045 * text.C (selectNextWordToSpellcheck): don't accidentally
3048 2003-04-10 John Levon <levon@movementarian.org>
3050 * ToolbarBackend.C (getIcon): special handling for
3053 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3055 * text2.C (cursorRight): a getChar assert fixed
3057 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3059 * text2.C (getFont): change to take a ParagraphList::iterator
3060 instead of Paragraph*
3061 Adjust several functions.
3063 * text.C (transformChar): change to take a ParagraphList::iterator
3064 instead of Paragraph*
3065 (singleWidth): ditto
3066 Adjust several functions.
3068 * rowpainter.C: adjust several functions
3069 * rowpainter.h:store a ParagraphList::iterator and not a
3073 2003-04-09 John Levon <levon@movementarian.org>
3078 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3079 and the "help" bits as well
3081 2003-04-09 John Levon <levon@movementarian.org>
3084 * ToolbarBackend.C: allow multiple toolbars
3086 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3088 * undo_funcs.C (setCursorParUndo): adjust
3090 * text_funcs.C (transposeChars): adjust
3092 * text3.C (gotoNextInset): adjust
3095 * text2.C (setLayout): adjust
3096 (changeDepth): adjust
3098 (redoParagraphs): adjust
3099 (selectionAsString): adjust
3100 (setParagraph): adjust
3101 (insertInset): adjust
3102 (cutSelection): adjust
3103 (copySelection): adjust
3104 (pasteSelection): adjust
3105 (insertStringAsLines): adjust
3106 (updateInset): adjust
3107 (setCursor): change to take a ParagraphList::iterator parameter
3108 (setCursorIntern): change to take a ParagraphList::iterator parameter
3109 (setCurrentFont): adjust
3110 (cursorLeft): adjust
3111 (cursorRight): adjust
3112 (deleteEmptyParagraphMechanism): adjust
3114 * text.C (breakParagraph): adjust
3115 (insertChar): adjust
3116 (acceptChange): adjust
3117 (rejectChange): adjust
3118 (selectNextWordToSpellcheck): adjust
3119 (changeCase): adjust
3123 * lyxfind.C (SearchForward): adjust
3124 (SearchBackward): adjust
3125 (nextChange): adjust
3127 * lyxcursor.C (par): adjust
3129 * lyxcursor.h: store a ParagraphList::iterator instead of a
3132 * lyx_cb.C (getPossibleLabel): adjust
3134 * bufferview_funcs.C (toggleAndShow): adjust
3136 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3139 * BufferView.C (removeAutoInsets): adjust
3140 (lockedInsetStoreUndo): adjust
3142 2003-04-09 John Levon <levon@movementarian.org>
3144 * ToolbarBackend.C: try icon without argument
3145 if with argument fails
3147 2003-04-08 John Levon <levon@movementarian.org>
3150 * ToolbarBackend.C: add getIcon(), handle tooltip,
3151 and change from "Icon" to "Item".
3153 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3155 * BufferView.C (lockInset): another bad getchar crunched
3157 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3159 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3162 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3164 * lyxfind.C (searchForward, searchBackwards): bug 782
3166 2003-04-07 John Levon <levon@movementarian.org>
3168 * paragraph.C: remove dead comment
3170 * text.C: remove troublesome depth-fiddling code
3171 in leftMargin() and rightMargin() (bug 1017)
3173 * text.C: fix breaking of rows in nested lists
3176 * text2.C (updateCounters): fix up depth values
3179 2003-04-07 John Levon <levon@movementarian.org>
3181 * BufferView_pimpl.C: clear message when doc finishes resizing,
3182 and after a mouse event
3184 * lyxfunc.C: clear message after exiting inset
3186 2003-04-07 John Levon <levon@movementarian.org>
3188 * bufferview_funcs.C: show math status not outside
3189 status in the statusbar
3191 2003-04-07 John Levon <levon@movementarian.org>
3193 * lyxfunc.C: note status changed after a depth change
3195 2003-04-04 Angus Leeming <leeming@lyx.org>
3197 * LaTeX.h: move AuxInfo operator==, != out of line.
3198 Remove LaTeX virtual destructor; nothing derives from it.
3199 Move operator()() out of public area and rename it startscript().
3200 Change protected for private.
3202 2003-04-04 Angus Leeming <leeming@lyx.org>
3205 * text2.C: remove unneeded #includes.
3207 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3209 * text2.C (dEPM): fix the heigth of the next row
3211 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3213 * text.C: squashed an invalid getChar requester + some ws changes
3215 2003-04-03 John Levon <levon@movementarian.org>
3217 * bufferview_funcs.h:
3218 * bufferview_funcs.C:
3221 * text2.C: make getStatus work for the env depth lfuns
3223 2003-04-03 John Levon <levon@movementarian.org>
3225 * bufferview_funcs.h:
3226 * bufferview_funcs.C:
3229 * text2.C: parlistize decDepth(), by merging it with incDepth()
3231 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3233 * lyxrow.h: store a ParagraphList::iterator instead of a
3234 Paragraph* and adjust other class functions to suit.
3236 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3239 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3241 * text2.C (setCursor): do not anchor to cursor row for the time being
3243 2003-04-02 John Levon <levon@movementarian.org>
3250 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3252 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3254 * paragraph.h: make ParagraphList and ParagraphList::iterator
3255 friends of Paragraph.
3257 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3259 * ParagraphList.C: Use the private next_ and previous_ from
3262 2003-04-01 John Levon <levon@movementarian.org>
3266 * Makefile.am: rename, remove defaults gunk
3269 * MenuBackend.C: remove defaults gunk
3272 * Languages.C: remove defaults gunk
3275 * lyx_main.C: error out if files couldn't be found.
3277 2003-04-02 John Levon <levon@movementarian.org>
3279 * text2.C: make incDepth() use parlist
3281 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3283 * undo_funcs.C (firstUndoParagraph): adjust
3285 * text3.C (gotoInset): adjust
3286 (dispatch): adjust, and rewrite loop.
3288 * text2.C (init): adjust, and rewrite loop.
3289 (redoParagraphs): adjust
3290 (updateInset): adjust, and rewrite loop.
3291 (deleteEmptyParagraphMechanism): adjust
3293 * tabular.C (LyXTabular): adjust
3294 (SetMultiColumn): adjust
3297 * lyxtext.[Ch] (ownerParagraph): delete function
3298 (ownerParagraphs): new function returns a ParagraphList.
3300 * BufferView.C (removeAutoInsets): adjust
3301 (insertErrors): adjust
3302 (setCursorFromRow): adjust
3304 2003-04-01 Angus Leeming <leeming@lyx.org>
3306 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3309 2003-04-02 John Levon <levon@movementarian.org>
3315 * text_funcs.C: make transposeChars a free function
3317 * lyxrow_funcs.C: remove wrong comment
3319 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * rowpainter.C: adjust
3327 * lyxrow_funcs. [Ch]: new files
3329 * lyxrow.[Ch]: remove next and previous pointers
3330 (next,previous): remove accessor functions
3331 (isParEnd): move to lyxrow_funcs
3332 (lastPos): move to lyxrow_funcs
3333 (nextRowIsAllInset): move to lyxrow_funcs
3334 (lastPrintablePos): move to lyxrow_funcs
3335 (numberOfSeparators): move to lyxrow_funcs
3336 (numberOfHfills): move to lyxrow_funcs
3337 (numberOfLabelHfills): move to lyxrow_funcs
3338 (hfillExpansion): move to lyxrow_funcs
3342 * bufferview_funcs.C (toggleAndShow): adjust
3344 * RowList.h: Remove class RowList from file leave just a
3347 * RowList.C: delete file
3349 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3352 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * text3.C (cursorPrevious): adjust
3355 (cursorNext): adjust
3358 * text2.C (redoHeightOfParagraph): adjust
3359 (redoDrawingOfParagraph): adjust
3362 * text.C (breakParagraph): adjust
3363 (insertChar): adjust
3366 * rowpainter.C (RowPainter): adjust
3367 (leftMargin): simplify and adjust
3368 (most rowpainter functions): adjust.
3370 * rowpainter.h: store the row as RowList::iterator not as Row*
3372 * lyxcursor.C (row): taka RowList::iterator as arg
3375 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3378 2003-04-01 Angus Leeming <leeming@lyx.org>
3380 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3381 stuff like bool Bool.
3383 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3385 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3388 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3390 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3393 * lyxtext.h (rows): drop one version and leve a const variant that
3394 returns a RowList::iterator.
3396 2003-03-31 Angus Leeming <leeming@lyx.org>
3398 * text.C (fill): ensure that the signature is the same as that in the
3401 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3403 * text2.C (redoParagraphs): adjust
3404 (updateCounters): adjust
3405 (checkParagraph): adjust
3406 (getColumnNearX): adjust and reformat a bit.
3408 * text.C (top_y): adjust
3410 (leftMargin): adjust
3411 (prepareToPrint): adjust
3413 (getRowNearY): adjust
3415 * lyxtext.h: make rowlist_ mutable.
3417 * RowList.h: add const_iterator
3418 * RowList.C: adjust for RowList::const_iterator.
3420 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3423 2003-03-31 John Levon <levon@movementarian.org>
3426 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3428 * lyx_main.C: set default fonts from using lyx_gui funcs
3430 * exporter.C: pdf_mode moved from lyxrc
3433 * lyxfunc.C: changes from above
3435 2003-03-31 John Levon <levon@movementarian.org>
3437 * lyx_main.C: fix to the last fix
3439 2003-03-31 John Levon <levon@movementarian.org>
3441 * bufferlist.C: "Load original" -> "Load Original"
3447 * format.C: more Alert cleanups
3449 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3451 * text2.C (removeParagraph): make it take a RowList::iterator as
3453 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3454 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3456 * text.C (anchor_row): make it take a RowList::iterator as arg,
3458 (computeBidiTables): make it take a const reference to Row instead
3459 of Row pointer, adjust.
3460 (leftMargin): make it take a RowList::iterator as arg, adjust.
3461 (rowBreakPoint): adjust
3462 (breakAgainOneRow): make it take a RowList::iterator as arg,
3464 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3466 * bufferview_funcs.C (toggleAndShow): adjust
3468 2003-03-30 John Levon <levon@movementarian.org>
3472 * boost-inst.C: moved to support
3474 * several files: changes as a result
3476 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3478 * text2.C (LyXText): adjust.
3480 (removeRow): make it take a RowList::iterator as arg, adjust.
3481 (fullRebreak): adjust
3482 (deleteEmptyParagraphMechanism): adjust
3483 (clearPaint): adjust
3486 * text.C (top_y): adjust
3487 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3488 (breakAgain): make it take a RowList::iterator as arg, adjust.
3489 (breakParagraph): adjust
3490 (insertChar): adjust
3493 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3494 need_break_row, and refresh_row.
3496 * text3.C (dispatch): adjust
3498 * text2.C (checkParagraph): adjust
3500 (setCursorFromCoordinates): adjust
3502 * text.C (top_y): adjust
3504 (getRow): make it return a RowList::iterator, adjust
3505 (getRowNearY): make it return a RowList::iterator, adjust
3507 * text2.C (init): adjust
3508 (insertRow): remove function
3509 (insertParagraph): adjust
3510 (redoParagraphs): adjust
3511 (fullRebreak): adjust
3512 (updateCounters): adjust
3514 * text.C (top_y): rewrite to use RowList iterators.
3516 (setHeightOfRow): rewrite to sue RowList iterators.
3517 (appendParagraph): adjust
3518 (breakAgain): adjust
3519 (breakAgainOneRow): adjust
3520 (breakParagraph): adjust
3522 (getRowNearY): adjust, and remove commented code.
3524 * lyxtext.h (firstRow): delete function
3525 (lastRow): delete function
3526 (rows): new function (const and non-const versions.)
3527 (insertRow): delete function
3529 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3531 2003-03-29 John Levon <levon@movementarian.org>
3533 * BufferView_pimpl.C: always update scrollbar top
3534 because pasting text when we're anchored could mean we
3535 miss an update altogether
3537 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3539 * text2.C (init): use rowlist_.end() and not 0.
3540 (insertRow): change to take a RowList::iterator as arg, adjust
3542 (insertParagraph): change to take a RowList::iterator as arg,
3544 (redoParagraphs): remove some debug msgs.
3546 * text.C (appendParagraph): change to take a RowList::iterator
3547 arg, adjust for this.
3548 (breakAgain): add an assert
3549 (breakAgainOneRow): ditto
3551 2003-03-29 John Levon <levon@movementarian.org>
3553 * text2.C: do not clear selection after inc/decDepth
3556 2003-03-29 John Levon <levon@movementarian.org>
3559 * buffer.C: fix broken strerrors according to Lars
3561 2003-03-29 John Levon <levon@movementarian.org>
3563 * converters.C: more Alert cleanups
3565 2003-03-29 John Levon <levon@movementarian.org>
3567 * bufferview_funcs.C: remove pointless Alert
3569 * buffer.C: fix confusing error message when
3570 a template is chmoded 000
3572 2003-03-29 John Levon <levon@movementarian.org>
3576 * BufferView_pimpl.C: Alert fixes
3580 * tabular-old.C: remove unused table compat reading
3582 2003-03-29 John Levon <levon@movementarian.org>
3587 * lyx_cb.C: more Alert cleanups
3589 * lyxfunc.C: don't allow chktex if not latex document
3591 2003-03-29 John Levon <levon@movementarian.org>
3595 * buffer.C: warnings pushed down from support/,
3598 2003-03-29 John Levon <levon@movementarian.org>
3600 * lyxfunc.C: safety check for C-r (revert)
3602 2003-03-29 John Levon <levon@movementarian.org>
3605 * bufferlist.C: several UI fixes using Alert::prompt.
3606 Fix the pointless looping quit code. Fix stupid revert
3611 * lyx_cb.C: use Alert::prompt
3613 * lyx_main.C: remove a silly question
3615 * lyxfunc.C: remove a couple of silly questions,
3618 2003-03-28 John Levon <levon@movementarian.org>
3620 * text2.C: fix bug 974 (End on empty par)
3622 2003-03-28 John Levon <levon@movementarian.org>
3624 * BufferView_pimpl.C:
3626 * lfuns.h: remove do-nothing math greek lfuns
3628 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * lyxgluelength.h (isValidGlueLength): add default arg on
3631 parameter 2. Remove default arg from friend in class.
3633 * lyxlength.h (isValidLength): add default arg on parameter 2.
3634 Remove default arg from friend in class.
3636 * text2.C (LyXText): adjust, initialize refresh_row.
3640 (insertParagraph): adjst
3641 (redoParagraphs): adjust
3642 (fullRebreak): adjust
3643 (updateCounters): adjust
3644 (deleteEmptyParagraphMechanism): first attempt at fixing a
3647 * text.C (top_y): adjust
3648 (setHeightOfRow): adjust
3650 (getRowNearY): adjust
3652 * lyxtext.h: include RowList.h
3653 (~LyXText): not needed anymore, deleted.
3654 (firstRow): modify for RowList
3655 (lastRow): new function
3656 Delete firstrow and lastrow class variables, add a Rowlist
3657 rowlist_ class variable.
3659 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3662 * RowList.C (insert): fix case where it == begin().
3664 2003-03-26 Angus Leeming <leeming@lyx.org>
3666 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3667 the thesaurus dialog.
3669 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3673 * RowList.[Ch]: new files
3675 * ParagraphList.C (erase): handle the case where it == begin
3678 2003-03-25 John Levon <levon@movementarian.org>
3682 * aspell.C: add new aspell support
3685 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3688 2003-03-25 Angus Leeming <leeming@lyx.org>
3691 * LyXAction.C (init): new LFUN_INSET_INSERT.
3693 * BufferView_pimpl.C (dispatch): split out part of the
3694 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3696 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3699 2003-03-25 Angus Leeming <leeming@lyx.org>
3701 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3703 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3706 * text3.C: remove useless row->height(0)
3708 2003-03-25 John Levon <levon@movementarian.org>
3712 * text3.C: rename the refreshing stuff to better names
3714 2003-03-24 John Levon <levon@movementarian.org>
3716 * BufferView_pimpl.h:
3717 * BufferView_pimpl.C: update layout choice on a mouse
3720 2003-03-23 John Levon <levon@movementarian.org>
3722 * Makefile.am: fix commandtags.h reference
3724 2003-03-22 John Levon <levon@movementarian.org>
3726 * BufferView_pimpl.C:
3731 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3733 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3736 * text.C: take the rtl methods out of line
3738 2003-03-21 André Pönitz <poenitz@gmx.net>
3740 * metricsinfo.[Ch]: new files containing structures to be passed around
3741 during the two-phase-drawing...
3743 2003-03-21 André Pönitz <poenitz@gmx.net>
3745 * lyxtextclass.C: read 'environment' tag.
3747 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3749 * text2.C (removeRow): fix bug 964
3751 2003-03-20 John Levon <levon@movementarian.org>
3755 * text2.C: paint cleanups. Inset::update() dropped font
3758 2003-03-19 John Levon <levon@movementarian.org>
3760 * lyxfunc.C: only fitcursor/markDirty if available()
3762 2003-03-19 John Levon <levon@movementarian.org>
3764 * commandtags.h: rename to ...
3766 * lfuns.h: ... this, and renumber / cleanup
3768 2003-03-19 John Levon <levon@movementarian.org>
3770 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3771 fit the cursor after an lfun
3775 * BufferView_pimpl.h:
3776 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3778 * LyXAction.C: layout-character should have ReadOnly
3780 * ParagraphParameters.C:
3782 * bufferview_funcs.C:
3789 * undo_funcs.C: changes from above
3791 2003-03-18 John Levon <levon@movementarian.org>
3793 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3794 remove it from update()
3796 * lyxfunc.C: update layout choice after an lfun
3798 * text3.C: remove extra updateLayoutChoice()s
3800 2003-03-18 John Levon <levon@movementarian.org>
3802 * text.C: top_y change means full repaint, fix
3803 a drawing bug with cursor movement
3805 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3809 * text2.C: anchor row on setCursor
3811 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3813 * lyxtext.h: remove almost all mutable keywords
3816 * text3.C: remove const keywords accordingly
3818 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3820 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3822 (TeXEnvironment): ditto
3825 2003-03-17 John Levon <levon@movementarian.org>
3827 * text.C (rowBreakPoint): remove attempt to fix displayed
3828 math insets inside a manual label
3830 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3832 * lyxtext.h: remove BufferView* as first arg from almost all class
3834 * other files: adjust.
3836 2003-03-17 John Levon <levon@movementarian.org>
3840 * text2.C: more paint cleanups
3842 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3845 * rowpainter.C: remove "smart" background painting code
3847 2003-03-16 John Levon <levon@movementarian.org>
3852 * text3.C: add helper functions for setting refresh_row/y
3854 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3856 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3857 newline inset which *can* get inserted in the pass_thru layouts.
3858 This is primarily for literate documents.
3860 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3862 * buffer.C: increment LYX_FORMAT to 223
3864 2003-03-14 André Pönitz <poenitz@gmx.net>
3866 * textclass.h: prepare for environment handling, ws changes
3867 * lyxlayout.C: read latexheader and latexfooter tags
3869 2003-03-14 John Levon <levon@movementarian.org>
3871 * text2.C: rewrite ::status() a bit
3873 2003-03-13 John Levon <levon@movementarian.org>
3875 * lyxtext.h: add some docs
3877 2003-03-13 John Levon <levon@movementarian.org>
3882 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3884 2003-03-13 John Levon <levon@movementarian.org>
3886 * text3.C: fix appendix redrawing
3888 2003-03-13 John Levon <levon@movementarian.org>
3890 * text.C (setHeightOfRow):
3892 * rowpainter.C: make appendix mark have the text
3893 "Appendix" so the user knows what it is
3896 * LColor.C: s/appendixline/appendix/ from above
3898 2003-03-13 John Levon <levon@movementarian.org>
3900 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3902 * text.C: fix a getChar(pos) bug properly
3904 2003-03-13 Angus Leeming <leeming@lyx.org>
3907 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3908 Probably only temporary. Let's see how things pan out.
3910 * BufferView.C (unlockInset):
3911 * BufferView_pimpl.C (fitCursor):
3912 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3914 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3915 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3917 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3918 new functions that convert ParagraphParameters to and from a string.
3920 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3921 BufferView::Pimpl's dispatch.
3922 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3924 2003-03-13 André Pönitz <poenitz@gmx.net>
3928 * factory.C: make it aware of InsetEnv
3930 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3932 * text2.C (setCursor): never ask for one past last
3933 (setCursor): add some debugging messages.
3935 * text.C (singleWidth): never ask for one past last
3936 (singleWidth): ditto
3938 (rightMargin): ditto
3939 (rowBreakPoint): ditto
3940 (setHeightOfRow): ditto
3941 (prepareToPrint): ditto
3943 * rowpainter.C (paintBackground): never ask for one past last
3944 (paintText): never ask for one past last
3946 * paragraph_pimpl.C (getChar): make the assert stricter, never
3947 allow the one past last pos to be taken
3949 * paragraph.C (getChar): ws changes only
3951 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3952 (numberOfSeparators): ditto
3953 (numberOfHfills): ditto
3955 2003-03-12 John Levon <levon@movementarian.org>
3961 * paragraph_funcs.C: fix per-buffer authorlists
3963 2003-03-12 John Levon <levon@movementarian.org>
3965 * text.C: fix newline in right address
3967 2003-03-12 Angus Leeming <leeming@lyx.org>
3969 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3970 duplicate those in LyXFunc::dispatch.
3974 * ToolbarDefaults.C:
3975 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3976 Add LFUN_FONTFREE_UPDATE.
3978 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3979 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3981 * bufferview_func.[Ch]: several new functions to facilliate
3982 transfer of data to and from the character dialog.
3984 2003-03-12 John Levon <levon@movementarian.org>
3989 * paragraph_funcs.C:
3990 * paragraph_pimpl.C:
3994 * text3.C: remove META_NEWLINE in favour of an inset
3997 * rowpainter.C: remove paintNewline (done by inset)
3999 2003-03-12 John Levon <levon@movementarian.org>
4001 * paragraph_pimpl.C: complain about bad getChar()s
4002 for a while at least
4004 2003-03-12 John Levon <levon@movementarian.org>
4007 * buffer.C: move paragraph read into a separate function,
4008 a little renaming to reflect that.
4011 * bufferparams.C: remove the author_ids map, not necessary now
4014 * factory.C: moved Buffer::readInset to here
4016 * paragraph_funcs.h:
4017 * paragraph_funcs.C: readParagraph free function moved from
4020 * tabular.C: name change
4022 2003-03-12 John Levon <levon@movementarian.org>
4025 * ParagraphParameters.C: move par params input to
4028 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4029 behave like a normal read from the stream wrt reading
4030 a line vs. a \\token
4032 2003-03-12 John Levon <levon@movementarian.org>
4035 * ParagraphParameters.h:
4036 * ParagraphParameters.C: move output code to a
4039 2003-03-12 John Levon <levon@movementarian.org>
4041 * BufferView.C (insertLyXFile):
4044 * tabular.C: use a parlist iterator for creating the
4047 2003-03-12 John Levon <levon@movementarian.org>
4049 * buffer.C: make current_change static local not
4052 2003-03-12 John Levon <levon@movementarian.org>
4054 * buffer.C: fix insertStringAsLines for change tracking
4056 2003-03-12 John Levon <levon@movementarian.org>
4063 * bufferparams.C: move author list into params. Rename some
4064 functions. Move the header reading into a separate token
4065 loop. Move the header token reading into BufferParams.
4067 2003-03-12 John Levon <levon@movementarian.org>
4069 * changes.C: put debug inside lyxerr.debugging() checks
4071 2003-03-11 André Pönitz <poenitz@gmx.net>
4073 * factory.C: make it aware of InsetHFill
4075 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4077 * buffer.C (latexParagraphs): move function from here...
4078 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4081 2003-03-10 Angus Leeming <leeming@lyx.org>
4083 * LyXAction.C (init): fix bug in poplating array with multiple entries
4084 with the same LFUN (spotted by JMarc).
4086 2003-03-10 John Levon <levon@movementarian.org>
4089 * text2.C: move getColumnNearX() near its
4092 2003-03-10 John Levon <levon@movementarian.org>
4094 * text.C: fix break before a minipage
4096 2003-03-10 John Levon <levon@movementarian.org>
4098 * text.C: fix the last commit
4100 2003-03-09 John Levon <levon@movementarian.org>
4104 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4105 bug 365 (don't break before insets unless needed). Don't
4106 return a value > last under any circumstances.
4108 2003-03-09 Angus Leeming <leeming@lyx.org>
4110 * BufferView_pimpl.C (trackChanges, dispatch): call
4111 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4113 2003-03-09 Angus Leeming <leeming@lyx.org>
4115 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4116 than Dialogs::showAboutlyx().
4118 2003-03-09 Angus Leeming <leeming@lyx.org>
4120 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4121 than Dialogs::showTabularCreate().
4123 2003-03-09 John Levon <levon@movementarian.org>
4127 * text2.C: 3rd arg to nextBreakPoint was always the same.
4130 2003-03-08 John Levon <levon@movementarian.org>
4137 * text2.C: Remove the "main" bit from the "main body"
4140 2003-03-08 John Levon <levon@movementarian.org>
4142 * text.C (leftMargin): The left margin of an empty
4143 manual label paragraph should not include the label width
4146 * text.C (prepareToPrint): don't attempt to measure hfills
4147 for empty manual label paragraphs - the answer should be 0
4149 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4151 * CutAndPaste.C: remove commented code and reindent.
4153 2003-03-08 John Levon <levon@movementarian.org>
4156 * lyxfunc.C: move reloadBuffer()
4159 * BufferView.C: to here
4161 * lyxvc.C: add comment
4164 * vc-backend.C: call bv->reload() to avoid
4165 getStatus() check on MENURELOAD
4167 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4169 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4170 to an old format .dep file.
4172 2003-03-07 Angus Leeming <leeming@lyx.org>
4174 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4175 when the LFUN_MOUSE_RELEASE should have been handled by
4176 inset->localDispatch.
4178 2003-03-07 Angus Leeming <leeming@lyx.org>
4180 * BufferView_pimpl.C (dispatch):
4181 * LyXAction.C (init):
4182 * ToolbarDefaults.C (init):
4184 * lyxfunc.C (getStatus):
4185 remove LFUN_INSET_GRAPHICS.
4187 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4189 2003-03-07 Angus Leeming <leeming@lyx.org>
4192 * LyXAction.C (init):
4193 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4195 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4198 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4200 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4201 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4203 2003-03-07 Angus Leeming <leeming@lyx.org>
4205 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4208 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4210 * ParagraphList.C (front): new function
4213 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4215 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4216 and top_row_offset_. removed var first_y.
4218 * text2.C (LyXText, removeRow):
4220 * BufferView_pimpl.C:
4221 use these methods instead of using first_y
4223 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4225 * text2.C (pasteSelection): adjust for checkPastePossible
4227 * CutAndPaste.C: remove Paragraph * buf and replace with
4228 ParagraphList paragraphs.
4229 (DeleteBuffer): delete
4230 (cutSelection): change the tc type to textclass_type
4231 (copySelection): change the tc type to textclass_type
4232 (copySelection): adjust for ParagraphList
4233 (pasteSelection): change the tc type to textclass_type
4234 (pasteSelection): adjust for Paragraphlist
4235 (nrOfParagraphs): simplify for ParagraphList
4236 (checkPastePossible): simplify for ParagraphList
4237 (checkPastePossible): remove unused arg
4239 * ParagraphList.C (insert): handle the case where there are no
4242 * CutAndPaste.h: make CutAndPaste a namespace.
4244 * text3.C (dispatch): adjust
4246 * text.C (breakParagraph): add a ParagraphList as arg
4248 * paragraph_funcs.C (breakParagraph): change to take a
4249 BufferParams and a ParagraphList as args.
4250 (breakParagraphConservative): ditto
4251 (mergeParagraph): ditto
4252 (TeXDeeper): add a ParagraphList arg
4253 (TeXEnvironment): ditto
4256 * buffer.C (readLyXformat2): adjust
4257 (insertStringAsLines): adjust
4258 (latexParagraphs): adjust
4260 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4261 (cutSelection): adjust
4262 (pasteSelection): adjust
4264 * BufferView_pimpl.C (insertInset): adjust
4266 2003-03-05 Angus Leeming <leeming@lyx.org>
4269 * LyXAction.C (init):
4270 * BufferView_pimpl.C (dispatch):
4271 * lyxfunc.C (getStatus):
4272 remove LFUN_CHILD_INSERT.
4274 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4276 2003-03-05 Angus Leeming <leeming@lyx.org>
4279 * LyXAction.C (init):
4280 * src/factory.C (createInset):
4281 * lyxfunc.C (getStatus):
4282 * text3.C (dispatch):
4283 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4285 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4287 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * ParagraphList.C (insert): handle insert right before end()
4290 (erase): fix cases where it can be first or last paragraph.
4292 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4294 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4295 Paragraph::next and Paragraph::previous
4298 * text.C (breakParagraph): adjust
4300 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4301 BufferParams& as arg.
4302 (breakParagraph): use ParagraphList::insert
4303 (breakParagraphConservative): take a Buffer* instead of a
4304 BufferParams& as arg.
4305 (breakParagraphConservative): use ParagraphList::insert.
4307 * buffer.C (insertStringAsLines): un-const it
4308 (insertStringAsLines): adjust
4310 * ParagraphList.C (insert): new function
4312 * CutAndPaste.C (pasteSelection): adjust
4314 * text.C (backspace): adjust
4316 * tabular.C (SetMultiColumn): adjust
4318 * CutAndPaste.C (cutSelection): adjust
4319 (pasteSelection): adjust
4321 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4322 Buffer const * as arg
4324 * ParagraphList.C (erase): new function
4325 * paragraph_funcs.C (mergeParagraph): use it
4326 (mergeParagraph): make it take a Buffer* instead of a
4327 BufferParams* as arg
4329 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4331 (breakParagraphConservative): ditto
4333 * paragraph.h: remove the breakParagraph friend
4335 * paragraph.C (eraseIntern): new function
4336 (setChange): new function
4338 * paragraph_funcs.C (mergeParagraph): make it take a
4339 ParagraphList::iterator instead of a Paragraph *, adjust
4342 * paragraph.h: move an #endif so that the change tracking stuff
4343 also works in the NO_NEXT case.
4345 2003-03-04 Angus Leeming <leeming@lyx.org>
4348 * LyXAction.C: new LFUN_INSET_MODIFY.
4350 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4351 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4353 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * several files: ws changes only
4357 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4358 (TeXEnvironment): ditto
4361 * buffer.C (makeLaTeXFile): adjust
4362 (latexParagraphs): make it take ParagraphList::iterator as args
4364 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4366 * buffer.C (latexParagraphs): adjust
4368 * paragraph.C (TeXOnePar): move function...
4369 (optArgInset): move function...
4370 (TeXEnvironment): move function...
4371 * paragraph_pimpl.C (TeXDeeper): move function...
4372 * paragraph_funcs.C: ...here
4374 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4376 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4378 * buffer.C (readInset): remove compability code for old Figure and
4381 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * buffer.C: ws changes
4386 * BufferView_pimpl.C: ditto
4389 * bufferlist.h: ditto
4393 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4395 * converter.[Ch]: split into itself +
4398 * Makefile.am: += graph.[Ch] + format.[Ch]
4405 * lyxrc.C: added #include "format.h"
4407 2003-02-27 Angus Leeming <leeming@lyx.org>
4409 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4412 * factory.C (createInset): add "label" to the factory.
4414 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4415 string and do no more.
4417 2003-02-27 Angus Leeming <leeming@lyx.org>
4420 * LyXAction.C (init):
4421 * factory.C (createInset):
4422 * BufferView_pimpl.C (dispatch):
4423 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4425 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4427 * lyxfunc.C (dispatch):
4428 * text3.C (dispatch): pass name to params2string.
4430 2003-02-26 Angus Leeming <leeming@lyx.org>
4432 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4434 Rearrange the ~includes. Strip out the unnecessary ones.
4436 * factory.C (createInset): reformat.
4437 create new insets for the various LFUN_XYZ_APPLY lfuns.
4439 2003-02-26 John Levon <levon@movementarian.org>
4442 * lyxrow.C: add isParStart,isParEnd helpers
4444 * paragraph.h: make isInserted/DeletedText take refs
4446 * paragraph_funcs.h:
4447 * paragraph_funcs.C: remove #if 0'd code
4452 * text.C: use lyxrow helpers above.
4453 Move draw and paint routines to RowPainter.
4454 Make several methods use refs not pointers.
4455 Make backgroundColor() const.
4456 Add markChangeInDraw(), isInInset().
4457 Merge changeRegionCase into changeCase.
4458 Make workWidth() shouldn't-happen code into an Assert.
4461 * rowpainter.C: new class for painting a row.
4464 * vspace.C: make inPixels take a ref
4466 2003-02-26 Angus Leeming <leeming@lyx.org>
4468 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4471 2003-02-25 John Levon <levon@movementarian.org>
4473 * ispell.C: give the forked command a more accurate name
4475 2003-02-22 John Levon <levon@movementarian.org>
4478 * toc.C: make TocItem store an id not a Paragraph *
4481 2003-02-21 Angus Leeming <leeming@lyx.org>
4483 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4484 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4485 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4486 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4487 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4488 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4490 * BufferView_pimpl.C (dispatch):
4491 * LyXAction.C (init):
4492 * factory.C (createInset):
4493 * lyxfunc.C (getStatus, dispatch):
4494 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4496 2003-02-21 Angus Leeming <leeming@lyx.org>
4498 * BufferView_pimpl.C (MenuInsertLyXFile):
4499 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4500 * lyxfunc.C (menuNew, open, doImport):
4501 no longer pass a LyXView & to fileDlg.
4503 2003-02-21 Angus Leeming <leeming@lyx.org>
4505 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4506 * LyXAction.C: change, BIBKEY to BIBITEM.
4507 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4508 Change InsetBibKey to InsetBibitem.
4509 Change BIBKEY_CODE to BIBITEM_CODE.
4510 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4511 * factory.C: replace insetbib.h with insetbibitem.h.
4512 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4513 * paragraph.C: replace insetbib.h with insetbibitem.h.
4514 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4515 Change bibkey() to bibitem().
4516 * text.C: remove insetbib.h.
4517 * text2.C: replace insetbib.h with insetbibitem.h.
4518 change bibkey() to bibitem().
4519 * text3.C: remove insetbib.h.
4520 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4522 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4524 * lyxrc.C (output): enclose user email in quotes (in case there are
4527 2003-02-18 John Levon <levon@movementarian.org>
4529 * buffer.h: add std::
4531 2003-02-17 John Levon <levon@movementarian.org>
4537 * pspell.C: reworking. Especially in ispell, a large
4538 number of clean ups and bug fixes.
4540 * lyxfunc.C: fix revert to behave sensibly
4542 2003-02-17 André Pönitz <poenitz@gmx.net>
4545 * commandtags.h: new LFUN_INSERT_BIBKEY
4555 * paragraph_func.C: remove special bibkey handling
4557 2003-02-17 John Levon <levon@movementarian.org>
4559 * text.C (Delete): fix case where delete at the end of
4560 the very first paragraph would not merge the pars
4562 2003-02-17 John Levon <levon@movementarian.org>
4564 * lyxrow.C: fix lastPrintablePos()
4566 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4568 * bufferparams.C (writeLaTeX): add a std:here
4570 * buffer.C: and remove a using directive there
4572 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4574 * buffer.C (makeLaTeXFile): move the code that generates the
4577 * bufferparams.C (writeLaTeX): ... in this new method
4579 * LaTeXFeatures.C (getEncodingSet): make const
4580 (getLanguages): make const
4582 * MenuBackend.C (binding): returns the binding associated to this
4584 (add): sets the status of each item by calling getStatus. Adds
4586 (read): add support for OptSubMenu
4587 (expand): remove extra separator at the end of expanded menu
4589 2003-02-15 John Levon <levon@movementarian.org>
4592 * BufferView_pimpl.C:
4594 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4595 inset code that had no actual effect. Remove unneeded status
4598 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4600 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4603 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4605 * text.C (drawLengthMarker): also draw an arrow marker for
4606 symbolic lengths (medskip...)
4608 2003-02-14 John Levon <levon@movementarian.org>
4611 * tabular.C: better method names
4613 2003-02-14 John Levon <levon@movementarian.org>
4615 * BufferView_pimpl.C:
4620 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4621 it's a more accurate name. Remove some pointless uses.
4623 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4625 * text2.C (LyXText): change order of initilizers to shut off
4628 2003-02-14 John Levon <levon@movementarian.org>
4630 * buffer.C: use ParIterator for getParFromID()
4634 * paragraph_pimpl.h:
4635 * paragraph_pimpl.C: remove unused getParFromID()
4637 2003-02-14 John Levon <levon@movementarian.org>
4639 * buffer.C: remove some very old #if 0'd parse code
4641 2003-02-13 John Levon <levon@movementarian.org>
4645 * text2.C: move hfillExpansion(), numberOfSeparators(),
4646 rowLast(), rowLastPrintable(), numberofHfills(),
4647 numberOfLabelHfills() ...
4650 * lyxrow.C: ... to member functions here.
4655 * text.C: remove LyXText::beginningOfMainBody(), and call
4656 p->beginningOfMainBody() directly. Move the check for
4657 LABEL_MANUAL into the latter.
4664 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4670 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4671 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4673 2003-02-13 John Levon <levon@movementarian.org>
4675 * CutAndPaste.C: remove debug
4677 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4679 * paragraph.C (asString): remove two unused variables
4681 * lyxtextclass.C (readTitleType):
4683 (LyXTextClass): handle new members titletype_ and titlename_
4685 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4687 2003-02-09 John Levon <levon@movementarian.org>
4690 * buffer.C: replace hand-coded list with a map for the dep clean
4692 2003-02-08 John Levon <levon@movementarian.org>
4694 * LaTeX.C: consolidate code into showRunMessage() helper
4696 2003-02-08 John Levon <levon@movementarian.org>
4701 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4702 and pass the size in explicitly
4704 * BufferView_pimpl.h:
4705 * BufferView_pimpl.C:
4707 * BufferView.C: add getCurrentChange()
4709 * BufferView_pimpl.h:
4710 * BufferView_pimpl.C: handle change lfuns
4712 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4713 for changes. Mark pasted paragraphs as new.
4715 * support/lyxtime.h:
4716 * support/lyxtime.C:
4717 * DepTable.C: abstract time_t as lyx::time_type
4720 * LColor.C: add colours for new text, deleted text, changebars
4722 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4723 package use "usenames" option.
4727 * LyXAction.C: add change lfuns
4731 * author.C: author handling
4734 * buffer.C: add a per-buffer author list, with first entry as
4735 current author. Handle new .lyx tokens for change tracking. Output
4736 author list to .lyx file. Output dvipost stuff to .tex preamble.
4737 Bump lyx format to 222.
4740 * bufferlist.C: add setCurrentAuthor() to reset current author details
4744 * bufferparams.C: add param for tracking
4746 * bufferview_funcs.C: output change info in minibuffer
4750 * changes.C: add change-tracking structure
4753 * debug.C: add CHANGES debug flag
4756 * lyxfind.C: add code for finding the next change piece
4759 * lyxrc.C: add user_name and user_email
4762 * lyxrow.C: add a metric for the top of the text line
4765 * text.C: implement accept/rejectChange()
4768 * text.C: paint changebars. Paint new/deleted text in the chosen
4769 colours. Strike through deleted text.
4773 * paragraph_pimpl.h:
4774 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4775 in the current change to the insert functions. Rework erase to
4776 mark text as deleted, adding an eraseIntern() and a range-based
4777 erase(). Implement per-paragraph change lookup and
4780 * paragraph_funcs.C: Fixup paste for change tracking.
4782 * tabular.C: mark added row/columns as new.
4784 * text.C: fix rowLast() to never return -1. Don't allow
4785 spellchecking of deleted text. Track transpose changes. Don't
4786 allow paragraph break or merge where appropriate.
4788 * text2.C: leave cursor at end of selection after a cut.
4790 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4792 * text.C (getLengthMarkerHeight):
4793 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4794 visible on screen too.
4796 2003-02-07 John Levon <levon@movementarian.org>
4798 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4800 2003-02-05 Angus Leeming <leeming@lyx.org>
4802 * lyxserver.C (read_ready): revert my patch of 11 September last year
4803 as it sends PC cpu through the roof. Presumably this means that
4804 the lyxserver will no longer run on an Alpha...
4806 2003-01-30 Angus Leeming <leeming@lyx.org>
4808 * factory.C (createInset): create an InsetCommandParam of type "index"
4809 and use it to 'do the right thing'.
4811 * text2.C (getStringToIndex): ensure that cursor position is always
4812 reset to the reset_cursor position.
4814 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4816 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4819 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4823 * lyxfunc.C: Output messages with identical spelling, punctuation,
4826 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4828 * MenuBackend.C (expandFormats): List only viewable export formats
4831 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4834 * lyxfunc.C (getStatus): Make sure that formats other than
4835 "fax" can also be disabled
4837 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4839 * text3.C (dispatch): put the lfuns that insert insets in 3
4840 groups, and call doInsertInset with appropriate arguments.
4841 (doInsertInset): new function, that creates an inset and inserts
4842 it according to some boolean parameters.
4844 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4846 * buffer.C (readFile): remember to pass on 'par' when calling
4847 readFile recursively.
4849 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4851 * MenuBackend.C (expandFormats): add "..." to import formats.
4853 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4855 * paragraph.C (asString): Remove XForms RTL hacks.
4857 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4858 * buffer.C: fix typo
4860 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4862 * Makefile.am (LIBS): delete var
4863 (lyx_LDADD): add @LIBS@ here instead.
4865 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4867 * Clarify the meaning of "wheel mouse jump"
4869 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4871 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4874 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4876 * importer.C (Loaders): do not preallocate 3 elements in the
4877 vector, since one ends up with 6 elements otherwise
4879 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4881 * DepTable.C (write): write the file name as last element of the
4882 .dep file (because it may contain spaces)
4883 (read): read info in the right order
4885 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4887 * paragraph_pimpl.C (simpleTeXBlanks):
4888 (simpleTeXSpecialChars):
4889 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4891 * tabular.C (latex): add some missing case statements. Reindent.
4893 * MenuBackend.C (expandToc): remove unused variable.
4895 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4904 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4907 2003-01-05 John Levon <levon@movementarian.org>
4910 * BufferView.C: add getEncoding()
4913 * kbsequence.C: do not store last keypress
4916 * lyxfunc.C: store last keypress here instead. Pass encoding
4919 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4921 * lyx_main.C (init): remove annoying error message when following
4922 symbolic links (bug #780)
4924 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4926 * text.C (insertChar):
4927 * lyxrc.C (getDescription): remove extra spaces
4929 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4931 * lyxrc.C (getDescription): remove extra spaces
4933 2002-12-20 John Levon <levon@movementarian.org>
4935 * text3.C: hack fix for page up/down across tall rows
4937 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4939 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4942 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4944 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4945 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4946 thesaurus is not compiled in
4948 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4950 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4952 2002-12-16 Angus Leeming <leeming@lyx.org>
4955 * lyx_main.C (init): remove override_x_deadkeys stuff.
4957 2002-12-12 John Levon <levon@movementarian.org>
4959 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4960 insert. Only remove shift modifier under strict
4963 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * MenuBackend.C (expandToc): fix crash.
4967 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * MenuBackend.C (expandToc): gettext on float names.
4971 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4973 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4974 implement bool empty() [bug 490]
4976 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4980 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4982 * several files: ws changes
4984 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4986 * text2.C (setCounter): clean up a bit, use boost.format.
4987 (updateCounters): initialize par upon declaration.
4989 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4990 if the layout exists. We do not just store the layout any more.
4991 (SwitchLayoutsBetweenClasses): use boost.format
4993 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4995 * converter.C (convert): if from and to files are the same, use a
4996 temporary files as intermediary
4998 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5001 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5003 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5005 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5007 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5009 * tabular.C (asciiPrintCell): use string(size, char) instead of
5012 * sgml.C (openTag): fix order of arguments to string constructor
5015 * lyxfunc.C (dispatch): use boost.format
5017 * lots of files: change "c" -> 'c'
5019 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5021 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5023 2002-11-25 Angus Leeming <leeming@lyx.org>
5025 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5027 * lyx_main.C (init): compile fix.
5029 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5031 * lyx_cb.C (start): boost.formatify
5032 do not include <iostream>
5034 * lengthcommon.C: ws only
5036 * boost-inst.C,BoostFormat.h: add more explict instantations
5038 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5040 * lots of files: handle USE_BOOST_FORMAT
5042 2002-11-21 John Levon <levon@movementarian.org>
5044 * pspell.C: fix compile
5046 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5048 * lyxfunc.C (dispatch): use boost::format
5052 * lyxfont.C (stateText): use boost::format
5054 * lyx_main.C (LyX): use boost::format
5056 (queryUserLyXDir): ditto
5059 (typedef boost::function): use the recommened syntax.
5061 * importer.C (Import): use boost::format
5063 * debug.C (showLevel): use boost::format
5065 * converter.C (view): use boost::format
5070 * bufferview_funcs.C (currentState): use boost::format
5072 * bufferlist.C (emergencyWrite): use boost::format
5074 * buffer.C (readLyXformat2): use boost::format
5075 (parseSingleLyXformat2Token): ditto
5077 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5079 * LaTeX.C (run): use boost::format
5081 * Chktex.C (scanLogFile): use boost::format
5083 * BufferView_pimpl.C (savePosition): use boost::format
5084 (restorePosition): ditto
5085 (MenuInsertLyXFile): ditto
5087 * BoostFormat.h: help file for explicit instation.
5089 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5091 * tabular.C (latex): Support for block alignment in fixed width
5094 2002-11-17 John Levon <levon@movementarian.org>
5096 * BufferView_pimpl.C:
5098 * lyxfunc.C: split filedialog into open/save
5100 2002-11-08 Juergen Vigna <jug@sad.it>
5102 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5103 by my last patch (hopefully).
5105 2002-11-08 John Levon <levon@movementarian.org>
5114 * toc.C: ParConstIterator, and use it (from Lars)
5116 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5118 * lyxtextclass.[Ch]: revise and add doxygen comments
5120 2002-11-07 John Levon <levon@movementarian.org>
5122 * text.C: fix progress value for spellchecker
5124 * toc.C: fix navigate menu for insetwrap inside minipage
5126 * paragraph_funcs.C: added FIXME for suspect code
5128 2002-11-07 John Levon <levon@movementarian.org>
5130 * BufferView_pimpl.C: fix redrawing of insets
5133 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5135 * text2.C (updateCounters): fix bug 668
5137 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5139 * text3.C (dispatch): Do not make the buffer dirty when moving the
5142 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5144 * vc-backend.C: STRCONV
5147 * text2.C (setCounter): STRCONV
5149 * paragraph.C (asString): STRCONV
5151 * lyxlength.C (asString): STRCONV
5152 (asLatexString): ditto
5154 * lyxgluelength.C (asString): STRCONV
5155 (asLatexString): ditto
5157 * lyxfunc.C (dispatch): STRCONV
5160 * lyxfont.C (stateText): STRCONV
5162 * importer.C (Import): STRCONV
5164 * counters.C (labelItem): STRCONV
5165 (numberLabel): ditto
5166 (numberLabel): remove unused ostringstream o
5171 * bufferview_funcs.C (currentState): STRCONV
5173 * buffer.C (readFile): STRCONV
5174 (asciiParagraph): ditto
5175 (makeLaTeXFile): ditto
5177 * Spacing.C (writeEnvirBegin): STRCONV
5179 * LaTeXFeatures.C (getLanguages): STRCONV
5180 (getPackages): ditto
5182 (getBabelOptions): ditto
5183 (getTClassPreamble): ditto
5184 (getLyXSGMLEntities): ditto
5185 (getIncludedFiles): ditto
5189 (scanAuxFile): ditto
5192 * LString.h: add the STRCONV macros
5194 * BufferView_pimpl.C (savePosition): STRCONV
5195 (restorePosition): ditto
5196 (MenuInsertLyXFile): ditto
5198 * vc-backend.C (scanMaster): change from submatch[...] to
5201 * funcrequest.C: include config.h
5203 * factory.C: include config.h
5205 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5207 * box.C: include config.h
5209 * LaTeX.C (scanAuxFile): change from submatch[...] to
5213 2002-10-25 Angus Leeming <leeming@lyx.org>
5215 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5217 * ispell.[Ch] (setError): new method.
5218 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5219 Use setError() insetead of goto END.
5221 * lyx_cb.C (AutoSave): move out child process into new class
5224 2002-10-30 John Levon <levon@movementarian.org>
5226 * text3.C: make start appendix undoable
5228 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5230 * lyxlength.C (inPixels): Fix returned value.
5232 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5235 2002-10-24 Angus Leeming <leeming@lyx.org>
5237 * lyxgluelength.h: no need to forward declare BufferParams
5238 or BufferView, so don't.
5240 2002-10-21 John Levon <levon@movementarian.org>
5242 * BufferView.C: menuUndo ->undo, redo
5244 * BufferView.h: document, remove dead, make some methods private
5246 * paragraph_funcs.h:
5247 * paragraph_funcs.C:
5248 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5253 * sgml.C: move sgml open/close tag into sgml.C
5255 * bufferview_funcs.h: unused prototype
5258 * lyxfunc.C: remove unused
5261 * text.C: remove unused
5263 2002-10-21 John Levon <levon@movementarian.org>
5267 * BufferView_pimpl.h:
5268 * BufferView_pimpl.C: fix mouse wheel handling based on
5269 patch from Darren Freeman
5271 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5273 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5275 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5277 * lyxlength.C (inPixels): Fix hanfling of negative length.
5278 Fix LyXLength::MU case.
5280 2002-10-16 John Levon <levon@movementarian.org>
5282 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5284 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5286 * converter.C (view): add support for $$i (file name) and $$p
5287 (file path) for the viewer command. If $$i is not specified, then
5288 it is appended to the command (for compatibility with old syntax)
5290 2002-10-14 Juergen Vigna <jug@sad.it>
5292 * undo_funcs.C (textHandleUndo): alter the order in which the
5293 new undopar is added to the LyXText, as we have to set first
5294 the right prev/next and then add it as otherwise the rebuild of
5295 LyXText is not correct. Also reset the cursor to the right paragraph,
5296 with this IMO we could remove the hack in "redoParagraphs()".
5298 2002-10-09 Angus Leeming <leeming@lyx.org>
5300 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5301 to turn off an optimisation if a new inset is to be inserted.
5303 2002-10-11 André Pönitz <poenitz@gmx.net>
5305 * lyxtext.h: make some functions public to allow access
5306 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5308 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5310 * text3.C (dispatch): when changing layout, avoid an infinite loop
5313 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5315 * lyxrc.C (read): treat a viewer or converter command of "none" as
5318 * MenuBackend.C (expandFormats): for an update, also allow the
5319 formats that are not viewable
5321 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5322 script if it is newer than the lyxrc.defaults in user directory
5324 2002-10-07 André Pönitz <poenitz@gmx.net>
5326 * text.C: Vitaly Lipatov's small i18n fix
5328 2002-09-25 Angus Leeming <leeming@lyx.org>
5330 * ispell.h: doxygen fix.
5332 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5334 * buffer.h (readFile): Add a new argument to the method, to allow
5335 reading of old-format templates.
5337 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5339 * toc.C (getTocList): Get TOC from InsetWrap.
5341 2002-09-16 John Levon <levon@movementarian.org>
5343 * lyxfunc.C: check tabular for cut/copy too
5345 2002-09-12 John Levon <levon@movementarian.org>
5350 * factory.C: add header
5352 * paragraph_funcs.h:
5353 * paragraph_funcs.C: cleanup
5355 2002-09-11 John Levon <levon@movementarian.org>
5357 * PrinterParams.h: odd/even default to true
5359 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5361 * PrinterParams.h: update printer parameters for new xforms dialog
5363 2002-09-11 Angus Leeming <leeming@lyx.org>
5365 * lyxserver.C (read_ready): re-write to make it more transparent
5366 and to make it work in coherent fashion under Tru64 Unix.
5368 2002-09-11 André Pönitz <poenitz@gmx.net>
5372 * text3.C: implement LFUN_WORDSEL
5374 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5376 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5377 make floatlist_ a boost::shared_ptr<FloatList>
5379 * lyxtextclass.C: include FloatList.h
5380 (LyXTextClass): initialize floatlist_
5381 (TextClassTags): add TC_NOFLOAT
5382 (Read): match "nofloat" to TC_NOFLOAT and use it.
5383 (readFloat): modify call to floatlist_
5387 * FloatList.[Ch] (FloatList): remove commented out float
5389 (erase): new function
5391 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5393 * MenuBackend.C (expandToc): fix crash when there is no document
5396 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5398 * many files: Add insetwrap.
5400 2002-09-09 John Levon <levon@movementarian.org>
5402 * text2.C: remove confusing and awkward depth wraparound
5404 2002-09-09 John Levon <levon@movementarian.org>
5406 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5409 * buffer.C: remove getIncludeonlyList()
5412 * lyxfunc.C: remove headers
5414 2002-09-09 Juergen Vigna <jug@sad.it>
5416 * text.C (getColumnNearX): fix form Michael this is most
5417 probably a cut&paste bug.
5419 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5421 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5423 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5424 references, ws changes.
5426 * text2.C (init): update counters after init
5427 (insertParagraph): no need to set counter on idividual paragraphs.
5428 (setCounter): access the counters object in the textclass object
5429 on in the buffer object.
5430 (updateCounters): ditto
5432 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5433 shared_ptr<Counters> to avoid loading counters.h in all
5435 (LyXTextClass): initialize ctrs_
5436 (TextClassTags): add TC_COUNTER, and ...
5437 (Read): use it here.
5438 (CounterTags): new tags
5439 (readCounter): new function
5440 (counters): new funtion
5441 (defaultLayoutName): return a const reference
5443 * counters.C (Counters): remove contructor
5444 (newCounter): remove a couple of unneeded statements.
5445 (newCounter): simplify a bit.
5446 (numberLabel): some small formatting changes.
5448 * buffer.[Ch]: remove all traces of counters, move the Counters
5449 object to the LyXTextClass.
5451 2002-09-06 Alain Castera <castera@in2p3.fr>
5453 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5454 package to set the horizontal alignment on fixed width columns.
5457 * lyx_sty.h: added tabularnewline macro def.
5459 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5461 2002-09-06 John Levon <levon@movementarian.org>
5463 * LyXAction.C: tooltips for sub/superscript
5465 * MenuBackend.C: a bit more verbose
5467 * lyxfunc.C: tiny clean
5469 * undo_funcs.C: document undo_frozen
5471 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5473 * counters.C (Counters): add missing algorithm counter.
5475 * text2.C (setCounter): lookup the counter with layouts latexname
5476 instead of by section number.
5477 (setCounter): use a hackish way to lookup the correct enum
5479 a float name->type change
5480 reset enum couners with counter name directly instead of depth value.
5482 * counters.C (Counters): remove the push_backs, change to use the
5483 float type not the float name.
5484 (labelItem): remove unused string, float name->type change
5486 * counters.h: don't include vector, loose the enums and sects vectors
5488 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5491 (Read): add float->TC_FLOAT to textclassTags
5492 (Read): and handle it in the switch
5493 (readFloat): new function
5495 * FloatList.C (FloatList): comment out the hardcoded float
5498 * lyxlayout.h: ws change.
5500 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5502 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5504 2002-09-03 Angus Leeming <leeming@lyx.org>
5506 * BufferView_pimpl.h: qualified name is not allowed in member
5507 declaration: WorkArea & Pimpl::workarea() const;
5509 * factory.C: added using std::endl directive.
5511 * text3.C: added using std::find and std::vector directives.
5513 2002-08-29 André Pönitz <poenitz@gmx.net>
5516 * text2.C: remove unused member number_of_rows
5519 * BufferView2.C: remove file, move contents to...
5520 * BufferView.C: ... here
5522 * BufferView_pimpl.C:
5523 * factory.C: move more inset creation to factory
5525 * vspace.C: avoid direct usage of LyXText, ws changes
5528 don't provide direct access to WorkArea, use two simple
5529 acessors haveSelction() and workHeight() instead
5532 2002-08-29 John Levon <levon@movementarian.org>
5534 * BufferView_pimpl.C (dispatch): do not continue when
5537 2002-08-28 André Pönitz <poenitz@gmx.net>
5539 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5542 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5544 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5546 * buffer.C: increment LYX_FORMAT to 221
5548 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5549 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5551 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5553 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5555 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5557 * factory.C (createInset): use LyXTextClass::floats
5559 * MenuBackend.C (expandFloatListInsert):
5560 (expandFloatInsert):
5563 * text2.C (setCounter):
5565 * LaTeXFeatures.C (useFloat):
5566 (getFloatDefinitions):
5568 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5570 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5571 floatlist_, with accessor floats().
5573 * FloatList.h: remove global FloatList
5575 2002-08-26 André Pönitz <poenitz@gmx.net>
5577 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5581 * BufferView_pimpl.C:
5582 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5584 2002-08-25 John Levon <levon@movementarian.org>
5586 * LyXAction.C: fix margin note description
5588 2002-08-24 John Levon <levon@movementarian.org>
5592 * bufferview_funcs.C:
5594 * undo_funcs.C: cleanups
5596 * lyxfunc.C: disable CUT/COPY when no selection
5598 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5600 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5601 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5603 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5604 Add backward compatibility to "mono", "gray" and "no".
5606 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5608 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5609 (and file_format >= 200).
5611 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5613 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5615 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5617 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5619 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5621 * BufferView_pimpl.C:
5628 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5629 inset and code to make it work with the paragraph code. The inset
5630 can be anywhere in the paragraph, but will only do the expected
5631 thing in LaTeX if the layout file contains the parameter line
5633 (or more generally, a nonzero value) for that layout.
5635 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5637 * paragraph.h: remove the declaration of undefined counters class
5640 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5642 * text2.C (setCounter): fixed enumeration mis-count as reported by
5643 Dr. Richard Hawkins.
5645 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5647 * paragraph_funcs.h: remove some unneeded includes
5649 * text.C (backspace): pasteParagraph now in global scipe
5651 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5652 (pasteSelection): ditto
5654 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5655 * paragraph_funcs.C (pasteParagraph): ... here
5657 2002-08-20 André Pönitz <poenitz@gmx.net>
5659 * commandtags.h: new LFUNs for swapping/copying table row/colums
5662 * lyxfunc.C: support for new lfuns
5664 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * buffer.[Ch]: remove NO_COMPABILITY stuff
5669 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5671 * boost.C (throw_exception): new file, with helper function for
5672 boost compiled without exceptions.
5677 * ParameterStruct.h:
5678 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5680 * bufferlist.C (emergencyWriteAll): use boost bind
5682 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5684 * text.C: include paragraph_funcs.h
5685 (breakParagraph): breakParagraph is now in global scope
5687 * paragraph_funcs.[Ch]: new files
5689 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5692 * buffer.C: include paragraph_funcs.h
5693 (insertStringAsLines): breakParagraph is now in global scope
5695 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5698 * CutAndPaste.C: include paragraph_funcs.h
5699 (cutSelection): breakParagraphConservative is now in global scope
5700 (pasteSelection): ditto
5702 * buffer.h: declare oprator== and operator!= for
5703 Buffer::inset_iterator
5705 * bufferlist.C (emergencyWrite): don't use fmt(...)
5707 * text3.C: add using std::endl
5709 * BufferView.C (moveCursorUpdate): remove default arg
5711 2002-08-20 André Pönitz <poenitz@gmx.net>
5713 * buffer.[Ch]: move inline functions to .C
5716 * BufferView_pimpl.C:
5718 * buffer.[Ch]: use improved inset_iterator
5721 * paragraph.[Ch]: write one paragraph at a time
5723 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5725 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5726 style if style is not specified.
5728 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5730 * text2.C (setCounter): when searching for right label for a
5731 caption, make sure to recurse to parent insets (so that a caption
5732 in a minipage in a figure float works) (bug #568)
5734 2002-08-20 André Pönitz <poenitz@gmx.net>
5736 * text3.C: new file for LyXText::dispatch() and helpers
5738 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5740 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5742 2002-08-19 André Pönitz <poenitz@gmx.net>
5745 * text.C: new LyXText::dispatch()
5747 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5749 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5751 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5753 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5756 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5758 * Makefile.am: use $(variables) instead of @substitutions@
5760 2002-08-15 André Pönitz <poenitz@gmx.net>
5763 * BufferView_pimpl.C: streamlining mathed <-> outer world
5767 * LyXAction.C: remove unused LFUN_MATH
5769 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5771 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5773 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5775 * paragraph.C (Paragraph): reformat a bit
5776 (cutIntoMinibuffer): use builtin InsetList function instad of
5780 * buffer.C: include boost/bind.hpp, add using std::for_each
5781 (writeFileAscii): use ParagraphList iterators
5782 (validate): use for_each for validate traversal of paragraphs
5783 (getBibkeyList): use ParagraphList iterators
5784 (resizeInsets): use for_each to resizeInsetsLyXText for all
5786 (getParFromID): use ParagraphList iterators
5788 * BufferView2.C (lockInset): use paragraph list and iterators
5790 2002-08-14 John Levon <levon@movementarian.org>
5792 * lyxserver.C: remove spurious xforms include
5794 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5796 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5798 2002-08-13 André Pönitz <poenitz@gmx.net>
5801 * lyxfunc.C: further cleaning
5803 2002-08-13 André Pönitz <poenitz@gmx.net>
5805 * funcrequest.h: new constructor
5807 * funcrequest.C: move stuff here from .h
5810 * BufferView_pimpl.C:
5813 * lyxfunc.C: subsequent changes
5815 * lyxfunc.h: new view() member function
5817 * lyxfunc.C: subsequent changes
5819 2002-08-13 Angus Leeming <leeming@lyx.org>
5822 * BufferView_pimpl.C:
5830 changes due to the changed LyXView interface that now returns references
5831 to member variables not pointers.
5833 2002-08-13 Angus Leeming <leeming@lyx.org>
5835 * WordLangTuple (word, lang_code): return references to strings,
5840 * lyxtext.h: forward-declare WordLangTuple.
5845 * text.C: #include "WordLangTuple.h".
5848 * text.C: (selectNextWordToSpellcheck): constify return type.
5850 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5856 * paragraph_pimpl.h:
5859 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5861 Made updateCounter always count from start of buffer, and removed
5862 second argument (par).
5863 Reverted floats number display to '#'. Perhaps I'll try again when the
5864 code base is sanitized a bit.
5866 2002-08-12 Angus Leeming <leeming@lyx.org>
5868 * buffer.[Ch] (getLabelList): constify.
5870 2002-08-07 André Pönitz <poenitz@gmx.net>
5872 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5874 * funcrequest.h: extension to keep mouse (x,y) position
5876 2002-08-12 Juergen Vigna <jug@sad.it>
5878 * BufferView2.C (insertErrors): forbid undo when inserting error
5881 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5883 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5885 * ParagraphList.[Ch]: new files
5887 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5889 * BufferView2.C (lockInset): ParagraphList changes
5892 * bufferlist.C: ditto
5896 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5898 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5899 unused class variable counter_,
5901 * paragraph.[Ch] (getFirstCounter): delete unused function
5903 * counters.C: include LAssert.h
5904 (reset): add a new function with no arg, change other version to
5905 not have def. arg and to not allow empty arg.
5907 * text2.C (setCounter): remove empty arg from call to Counters::reset
5909 2002-08-11 John Levon <levon@movementarian.org>
5911 * Makefile.am: add WordLangTuple.h
5913 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5915 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5916 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5918 * insets/insettext.C: InsetList changes
5920 * graphics/GraphicsSupport.C (operator()): InsetList changes
5922 * toc.C (getTocList): InsetList changes
5924 * paragraph_pimpl.[Ch]: InsetList changes
5926 * paragraph.[Ch]: InsetList changes
5928 * buffer.C (inset_iterator): InsetList changes
5929 (setParagraph): ditto
5930 * buffer.h (inset_iterator): ditto
5931 * iterators.C (operator++): ditto
5932 * iterators.h: ditto
5934 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5936 * InsetList.[Ch]: new files, most InsetList handling moved out of
5939 * BufferView2.C (removeAutoInsets): InsetList changes
5941 (ChangeInsets): ditto
5943 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * paragraph_pimpl.h (empty): new function
5947 * paragraph.[Ch] (empty): new function
5949 * other files: use the new Paragraph::empty function
5951 2002-08-09 John Levon <levon@movementarian.org>
5953 * lyxtext.h: remove unused refresh_height
5955 2002-08-09 John Levon <levon@movementarian.org>
5962 * paragraph.C: move sgml char escaping out of paragraph
5965 * paragraph.C: remove id setter
5969 * paragraph_pimpl.C: remove dead tex_code_break_column
5971 * bufferview_funcs.C: small cleanup
5973 * lyxfunc.C: remove dead proto
5975 * lyxtext.h: make some stuff private. Remove some dead stuff.
5977 * lyxgluelength.C: make as[LyX]String() readable
5979 2002-08-08 John Levon <levon@movementarian.org>
5984 * ToolbarDefaults.C:
5987 * toc.C: lyxaction cleanup
5989 2002-08-08 John Levon <levon@movementarian.org>
5991 * BufferView2.C: small cleanup
5994 * lyxfind.C: move unnecessary header into the .C
5996 2002-08-08 John Levon <levon@movementarian.org>
5998 * funcrequest.h: just tedious nonsense
6001 * lyx_main.C: cleanups
6004 * vspace.C: remove dead header lyx_main.h
6006 2002-08-07 Angus Leeming <leeming@lyx.org>
6009 * paragraph_pimpl.h:
6010 Forward declare class Counters in paragraph.h by moving the ctrs member
6011 variable into Paragraph::Pimpl.
6012 (counters): new method, returning a reference to pimpl_->ctrs.
6014 * text2.C: ensuing changes.
6016 2002-08-07 John Levon <levon@movementarian.org>
6018 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6020 * BufferView_pimpl.C: announce X selection on double/triple
6023 * lyx_main.C: use correct bool in batch dispatch
6025 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6027 2002-08-07 André Pönitz <poenitz@gmx.net>
6029 * funcrequest.h: new class to wrap a kb_action and its argument
6032 * BufferView_pimpl[Ch]:
6036 * lyxrc.C: subsequent changes
6039 2002-08-07 John Levon <levon@movementarian.org>
6041 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6042 document options change.
6044 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6049 * makefile.am: move counters functionality over from
6050 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6052 2002-08-06 John Levon <levon@movementarian.org>
6054 * WordLangTuple.h: new file for word + language code tuple
6065 * BufferView2.C: use WordLangTuple
6068 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6070 2002-08-06 John Levon <levon@movementarian.org>
6072 * lyx_main.C: fix cmdline batch handling
6074 2002-08-06 André Pönitz <poenitz@gmx.net>
6076 * lyxrc.C: set default for show_banner to true
6078 2002-08-06 John Levon <levon@movementarian.org>
6080 * pspell.C: fix a crash, and allow new aspell to work
6082 2002-08-06 John Levon <levon@movementarian.org>
6085 * kbmap.C: small cleanup
6088 * vspace.C: add const
6090 2002-08-05 John Levon <levon@movementarian.org>
6092 * LyXAction.C: back to tabular-insert
6094 2002-08-04 John Levon <levon@movementarian.org>
6097 * BufferView.C: cosmetic change
6099 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6109 * BufferView2.C: purge all "Lyx" not "LyX" strings
6112 * lyxcursor.C: attempt to add some documentation
6117 * ToolbarDefaults.C:
6118 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6119 merge with LFUN_TABULAR_INSERT
6126 * pspell.C: split up i/pspell implementations into separate
6127 files, many cleanups
6129 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6131 * text2.C: some cleanup
6133 * lyxfunc.C: don't check for isp_command == "none" any more, it
6134 didn't make any sense
6136 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6141 * makefile.am: move counters functionality over
6142 from text2.C/paragraph.[Ch] to counters.[Ch], and
6144 2002-08-02 John Levon <levon@movementarian.org>
6146 * buffer.C: s/lyxconvert/lyx2lyx/
6148 2002-08-02 Angus Leeming <leeming@lyx.org>
6150 * lyxlex.C: revert John's change as it breaks reading of the user
6153 2002-08-02 Angus Leeming <leeming@lyx.org>
6155 * importer.C (Import):
6156 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6157 changes due to LyXView::view() now returning a boost::shared_ptr.
6159 2002-08-02 John Levon <levon@movementarian.org>
6161 * lyxlex.C: small cleanup
6163 2002-08-02 John Levon <levon@movementarian.org>
6165 * text2.C (status): small cleanup, no logic change
6167 2002-08-01 John Levon <levon@movementarian.org>
6170 * buffer.C (writeFile): don't output alerts, caller
6174 * lyx_cb.C: from above
6176 * lyxfunc.C: allow to open non-existent files
6178 2002-07-31 John Levon <levon@movementarian.org>
6180 * lyxserver.C: don't let incidental errors get
6183 2002-07-30 John Levon <levon@movementarian.org>
6185 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6187 2002-07-30 John Levon <levon@movementarian.org>
6190 * lyxserver.C: remove I/O callback too
6192 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6194 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6197 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6199 * many files: strip,frontStrip -> trim,ltrim,rtrim
6201 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6203 * PrinterParams.h: remove extern containsOnly, and include
6204 support/lstrings.h instead.
6206 * LaTeX.C (scanAuxFile): modify because of strip changes
6208 * buffer.C (makeLaTeXFile): ditto
6209 * bufferparams.C (writeFile): ditt
6210 * lyxfont.C (stateText): ditto
6211 * lyxserver.C (read_ready): ditto
6212 * vc-backend.C (scanMaster): ditto
6214 * BufferView_pimpl.h: ws changes
6216 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6218 2002-07-26 André Pönitz <poenitz@gmx.net>
6220 * kb_sequence.C: remove unnedred usings
6222 2002-07-26 Juergen Vigna <jug@sad.it>
6224 * lyxfind.C (LyXReplace): we have to check better if the returned
6225 text is not of theLockingInset()->getLockingInset().
6227 2002-07-25 Juergen Vigna <jug@sad.it>
6229 * lyxfind.C (LyXReplace): don't replace if we don't get the
6232 * undo_funcs.C (createUndo): remove debugging code.
6234 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6236 * buffer.C (parseSingleLyXformat2Token): Use default placement
6237 when reading old floats.
6239 * FloatList.C (FloatList): Change the default placement of figure
6240 and tables to "tbp".
6242 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6244 * MenuBackend.C: using std::max
6246 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6248 * MenuBackend.C (expandToc):
6249 (expandToc2): code moved from xforms menu frontend. It is now
6250 generic and TOCs are transparent to menu frontends.
6252 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6254 * toc.C (getTocList): protect against buf=0
6256 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6257 Menu as first parameter. Now, this calls itself recursively to
6258 expand a whole tree (this will be useful for TOC handling)
6259 (expandFloatInsert): remove 'wide' version of floats
6261 * MenuBackend.h (submenuname): returns the name of the submenu.
6262 (submenu): returns the submenu itself, provided it has been
6263 created by MenuBackend::expand
6265 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6267 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6268 insets which have noFontChange == true. (bug #172)
6270 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6272 * BufferView_pimpl.C: add connection objects and use them...
6275 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6277 * MenuBackend.C (expandLastfiles):
6280 (expandFloatListInsert):
6281 (expandFloatInsert):
6282 (expand): split expand in parts
6284 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6286 * lyx_gui.C: use lyx_gui::exit()
6288 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6290 * LyXAction.C: show the failing pseudo action
6292 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6294 * buffer.C (readFile): Run the lyxconvert script in order to read
6297 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6301 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6303 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6307 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6309 2002-07-22 Herbert Voss <voss@lyx.org>
6312 * lyxlength.[Ch]: add support for the vertical lengths
6314 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6316 * toc.[Ch]: std:: fixes
6318 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6320 * lyxrc.C: do not include lyx_main.h
6322 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6328 * BufferView2.C: include "lyxlex.h"
6331 * bufferparams.h: do not #include "lyxlex.h"
6333 * lyxtextclasslist.C (Add): remove method
6334 (classlist): renamed to classlist_
6336 * paragraph_pimpl.C:
6340 * bufferview_funcs.C:
6345 * toc.C (getTocList): use BufferParams::getLyXTextClass
6347 * toc.C (getTocList): use InsetFloat::addToToc
6349 * toc.[Ch]: new files, containing helper functions to handle table
6352 * lyxfunc.C (dispatch): no need to remove spaces around command
6354 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6355 first command of the sequence; it is not very clever, but I do not
6356 have a better idea, actually
6358 * LyXAction.C (LookupFunc): make sure to remove space at the
6359 beginning and end of the command
6361 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6363 * MenuBackend.C (getMenubar): new method: return the menubar of
6365 (read): treat differently reading of menu and menubar (in
6366 particular, the menubar has no name now)
6367 (Menu::menubar): remove
6369 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6372 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6374 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6375 a bibitem inset in a RTL paragraph.
6377 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6379 * paragraph_pimpl.C: constify
6381 * BufferView_pimpl.C:
6383 * lyxfunc.C: fix dispatch in a nicer way
6385 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6387 * lyxfunc.C (dispatch):
6388 * BufferView_pimpl.C:
6389 * BufferView_pimpl.h:
6391 * BufferView.h: rename Dispatch() to dispatch()
6393 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6395 * lyxlayout.C (Read): honor DependsOn tag
6397 * lyxlayout.[Ch] (depends_on): new method
6399 * version.C.in: update lyx_docversion
6401 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6403 * paragraph.C (validate): remove from here...
6404 * paragraph_pimpl.C (validate): ... and move here
6405 (isTextAt): make it const
6407 * buffer.C (getLists): ws cleanup
6409 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6411 * language.C (read): Use iso8859-1 encoding in latex_lang
6412 (this prevents LyX from crashing when using iso10646-1 encoding).
6414 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6416 * text2.C (toggleInset): if cursor is inside an inset, close the
6417 inset and leave cursor _after_ it
6419 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6421 * lyxfunc.C: move minibuffer completion handling out of here
6423 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6425 * BufferView_pimpl.C:
6426 * LaTeX.C: fix dispatch calls
6428 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6430 * text.C (drawChars): Fix Arabic text rendering.
6432 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6436 * lyxfunc.C: remove message-push/pop
6440 * lyxfunc.C: rationalise some code by removing verboseDispatch
6441 in favour of a bool argument to dispatch()
6443 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6445 * lyx_main.C (init): make sure to read symlinks as absolute paths
6447 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6450 * lyxfunc.C: no need for commandshortcut to be a member
6452 2002-07-15 André Pönitz <poenitz@gmx.net>
6454 * converter.C: add support for $$s (scripts from lib/scripts dir)
6455 * lyx_main.C: white space
6457 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6461 * lyxrc.C: remove second exit confirmation
6463 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6468 * BufferView_pimpl.h:
6469 * BufferView_pimpl.C:
6470 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6472 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6474 * MenuBackend.C (expand): add numeric shortcuts to document menu
6476 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6478 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6480 * lyxfont.C (setLyXFamily):
6487 * buffer.C (asciiParagraph): use ascii_lowercase
6489 2002-07-15 Mike Fabian <mfabian@suse.de>
6491 * lyxlex_pimpl.C (search_kw):
6492 * lyxlex.C (getLongString):
6493 * converter.h (operator<):
6494 * converter.C (operator<):
6495 * buffer.C (parseSingleLyXformat2Token):
6497 * ToolbarDefaults.C (read):
6498 * MenuBackend.C (checkShortcuts):
6500 * LColor.C (getFromGUIName):
6501 (getFromLyXName): use the compare_ascii_no_case instead of
6502 compare_no_case, because in turkish, 'i' is not the lowercase
6503 version of 'I', and thus turkish locale breaks parsing of tags.
6505 2002-07-16 Angus Leeming <leeming@lyx.org>
6507 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6508 now takes a Buffer const & argument.
6510 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6512 * BufferView.C (resize): check there's a buffer to resize
6514 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6516 * lyxfunc.C: remove dead code
6519 * lyxserver.C: use lyx_guii::set_read_callback
6521 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6523 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6524 an inset in a RTL paragraph.
6526 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6528 * lyxfunc.C: repaint after a font size update
6530 2002-07-15 André Pönitz <poenitz@gmx.net>
6532 * lyxlength.C: inBP should be able to return negative values
6534 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6536 * lyxfunc.C: use lyx_gui::update_fonts()
6538 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6540 * lyxfunc.C: use lyx_gui::update_color()
6542 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6548 * lyxrc.C: remove file->new asks for name option, and let
6549 buffer-new take an argument
6551 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6553 * BufferView_pimpl.C: remove unneeded extra repaint()
6555 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6557 * LyXAction.C: allow command-sequence with NoBuffer
6559 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6561 2002-07-10 Angus Leeming <leeming@lyx.org>
6563 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6565 2002-07-09 Angus Leeming <leeming@lyx.org>
6567 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6569 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6571 * lengthcommon.h: whitespace
6573 * lyxfunc.C: update scrollbar after goto paragraph
6575 * lyxtext.h: factor out page break drawing, and fix it so
6576 page break/added space paints as selected nicely
6578 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6580 * BufferView_pimpl.C: add FIXMEs, clean up a little
6582 2002-07-09 André Pönitz <poenitz@gmx.net>
6584 * lyxfont.[Ch]: support for wasy symbols
6586 2002-07-08 André Pönitz <poenitz@gmx.net>
6588 * BufferView_pimpl.C: apply John's patch for #93.
6590 2002-07-05 Angus Leeming <leeming@lyx.org>
6592 * BufferView_pimpl.C (buffer): generate previews if desired.
6594 * LColor.h: add "preview" to the color enum.
6596 * LColor.C (LColor): add a corresponding entry to the items array.
6598 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6601 2002-07-05 Angus Leeming <leeming@lyx.org>
6603 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6604 The body of the code is now in the method that is passed an ostream &
6605 rather than a file name.
6606 Pass an additional only_preamble parameter, useful for the forthcoming
6609 2002-07-03 André Pönitz <poenitz@gmx.net>
6611 * lyxfunc.C: simplify getStatus() a bit for math stuff
6613 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6615 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6617 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6619 * text.C (changeRegionCase): do not change case of all the
6620 document when region ends at paragraph end (bug #461)
6622 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6624 * paragraph.C (startTeXParParams):
6625 (endTeXParParams): add \protect when necessary
6627 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6629 * BufferView_pimpl.C (workAreaExpose): remove warning
6631 2002-06-27 Angus Leeming <leeming@lyx.org>
6633 * Makefile.am: add lyxlayout_ptr_fwd.h.
6635 2002-06-26 André Pönitz <poenitz@gmx.net>
6637 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6639 2002-06-25 Angus Leeming <leeming@lyx.org>
6641 * lyxfunc.C (dispatch): Comment out the call to
6642 grfx::GCache::changeDisplay. The method no longer exists now that the
6643 pixmap generation part of the graphics loader has been moved into
6646 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6648 * text2.C: layout as layout
6650 * text.C: layout as layout
6652 * tabular.C (OldFormatRead): layout as layout
6654 * paragraph_pimpl.C (TeXDeeper): layout as layout
6655 (realizeFont): layout as layout
6657 * paragraph.C (writeFile): layout as layout
6658 (validate): layout as layout
6659 (getFont): layout as layout
6660 (getLabelFont): layout as layout
6661 (getLayoutFont): layout as layout
6662 (breakParagraph): layout as layout
6663 (stripLeadingSpaces): layout as layout
6664 (getEndLabel): layout as layout
6665 (getMaxDepthAfter): layout as layout
6666 (applyLayout): layout as layout
6667 (TeXOnePar): layout as layout
6668 (simpleTeXOnePar): layout as layout
6669 (TeXEnvironment): layout as layout
6670 (layout): layout as layout
6671 (layout): layout as layout
6673 * lyxtextclass.C (compare_name): new functor to work with
6674 shared_ptr, layout as layout
6675 (Read): layout as layout
6676 (hasLayout): layout as layout
6677 (operator): layout as layout
6678 (delete_layout): layout as layout
6679 (defaultLayout): layout as layout
6681 * lyxlayout_ptr_fwd.h: new file
6683 * lyxlayout.C (Read): layout as layout
6685 * lyx_cb.C (MenuInsertLabel): layout as layout
6687 * bufferlist.C (newFile): layout as layout
6689 * buffer.C (readLyXformat2): layout as layout
6690 (parseSingleLyXformat2Token): layout as layout
6691 (insertStringAsLines): layout as layout
6692 (asciiParagraph): layout as layout
6693 (latexParagraphs): layout as layout
6694 (makeLinuxDocFile): layout as layout
6695 (simpleLinuxDocOnePar): layout as layout
6696 (makeDocBookFile): layout as layout
6697 (simpleDocBookOnePar): layout as layout
6698 (getLists): layout as layout
6700 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6702 * CutAndPaste.C (cutSelection): layout as layout
6703 (pasteSelection): layout as layout
6704 (SwitchLayoutsBetweenClasses): layout as layout
6706 * BufferView_pimpl.C (Dispatch): layout as layout
6707 (smartQuote): layout as layout
6709 * BufferView2.C (unlockInset): layout as layout
6711 2002-06-24 André Pönitz <poenitz@gmx.net>
6713 * lyxfunc.C: fix #487
6715 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6719 * lyxfunc.C: remove display_shortcuts, show_banner
6721 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6723 * Buffer_pimpl.C: oops, update on resize
6725 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6732 * BufferView.C: use repaint()
6734 * BufferView_pimpl.h:
6735 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6736 as it's a clearer description. Remove superfluous
6739 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6741 * text.C: fix bug 488. Not ideal, but getting
6742 getWord() to work properly for the insets that
6743 matter is more difficult ...
6745 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6747 * BufferView_pimpl.C:
6750 * lyxfunc.C: remove the six million index lyxfuncs to just
6751 one, and DTRT (bug 458)
6753 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6757 * BufferView_pimpl.h:
6758 * BufferView_pimpl.C: clean up resize() stuff,
6759 and unnecessary updateScreen()s
6761 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6765 * BufferView_pimpl.h:
6766 * BufferView_pimpl.C:
6769 * minibuffer.C: remove focus management of workarea,
6770 not needed. Use screen's greyOut()
6772 2002-06-17 Herbert Voss <voss@lyx.org>
6774 * converter.C: (convert) do not post a message, when converting
6775 fails, let the calling function decide what to do in this case
6777 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6779 * lyxfunc.C: tidy up a little
6781 2002-06-16 <alstrup@diku.dk>
6783 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6784 Got rid of FORMS_H_LOCATION include. Now we are
6787 2002-06-15 LyX Development team <lyx@rilke>
6789 * buffer.[Ch] (sgmlOpenTag):
6790 (sgmlCloseTag): Added support for avoiding pernicious mixed
6791 content. Return number of lines written.
6794 (makeDocBookFile): Fixed calls to sgml*Tag.
6795 Simple white space clean.
6797 (simpleDocBookOnePar): Simple white space clean.
6799 * tabular.[Ch] (docBook): Renamed to docbook and got another
6800 argument to related with the pernicious mixed content.
6802 (docbookRow): Fixed calls for docbook inset method.
6804 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6806 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6807 so it's X11 independent.
6811 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6813 2002-06-15 Lyx Development team <lyx@electronia>
6815 * intl.h: Renamed getTrans to getTransManager.
6817 2002-06-14 Angus Leeming <leeming@lyx.org>
6819 * Makefile.am: nuke forgotten stl_string_fwd.h.
6821 2002-06-12 Angus Leeming <leeming@lyx.org>
6823 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6825 2002-06-13 Angus Leeming <leeming@lyx.org>
6828 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6830 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6832 * kbmap.C (getiso): add support for cyrillic and greek
6834 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6838 * BufferView_pimpl.h:
6839 * BufferView_pimpl.C: move bogus scrolling logic
6842 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6845 * BufferView_pimpl.C: view->resize() change
6847 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6849 * BufferView_pimpl.C: topCursorVisible
6852 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6856 * lyx_gui.C: move to frontends/
6860 * lyx_main.C: changes from above
6862 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6869 * lyx_main.C: minor tidy
6871 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6873 * BufferView_pimpl.h:
6874 * BufferView_pimpl.C:
6876 * BufferView.C: make painter() const,
6879 * BufferView2.C: use screen() accessor
6882 * lyx_main.C: some minor cleanup
6884 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6886 * BufferView_pimpl.h:
6887 * BufferView_pimpl.C: remove enter/leaveView,
6890 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6895 * BufferView_pimpl.h:
6896 * BufferView_pimpl.C: only construct screen once,
6899 * lyxrc.C: remove pointless comment
6901 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6904 * BufferView.C: remove active() and belowMouse()
6906 * BufferView_pimpl.h:
6907 * BufferView_pimpl.C: use workarea() not workarea_,
6908 and make it use a scoped_ptr instead
6910 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6912 * lyx_gui.C: add debug message on BadWindow
6914 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6916 * sp_spell.C: fdopen is not part of the C++ standard.
6918 * paragraph.C (InsetIterator): use >= instead of ==
6920 2002-06-07 Angus Leeming <leeming@lyx.org>
6922 Fixes needed to compile with Compaq cxx 6.5.
6923 * BufferView_pimpl.C:
6930 * lyxtextclasslist.C:
6935 all c-library variables have been moved into namespace std. Wrap
6936 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6941 Add a using std::abs declaration.
6943 * kbmap.h (modifier_pair):
6944 * paragraph.h (InsetTable, InsetList):
6945 * lyxfont.h (FontBits):
6946 type definition made public.
6948 * bufferlist.C (emergencyWriteAll): the compiler complains that
6949 there is more than one possible lyx::class_fun template to choose from.
6950 I re-named the void specialisation as lyx::void_class_fun.
6952 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6954 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6955 the compiler is is unable to find tostr in write_attribute.
6957 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6959 * buffer.C (sgmlError): hide #warning
6961 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6963 * xtl/*: get rid of xtl, which is not in use anyway
6965 * LyXAction.C (init):
6966 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6967 were unimplemented xtl experimentation
6969 2002-06-04 André Pönitz <poenitz@gmx.net>
6971 * lyxfunc.C: disable array operation on simple formulae
6973 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6975 * converter.C: constify a bit
6977 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6979 * lyx_gui.C: check xforms version correctly
6981 2002-04-30 Herbert Voss <voss@lyx.org>
6983 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6986 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6988 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6989 attempt to register it with a VCS)
6991 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6993 * lyx_main.C (init): honor variables LYX_DIR_13x and
6996 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7000 * lyx_main.C: fix a crash on bad command line,
7001 and give a useful exit status on error
7003 * lyxfunc.C (doImport): allow -i lyx to work
7005 2002-03-30 André Pönitz <poenitz@gmx.net>
7007 * lyxfunc.C: mathed font changes
7009 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7024 * trans_mgr.h: srcdocs, and some minor cleanups
7026 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7028 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7029 call getFont all the time)
7031 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7033 * switch from SigC signals to boost::signals
7035 2002-05-29 André Pönitz <poenitz@gmx.net>
7037 * paragraph_pimpl.C (getChar): don't call size() too often...
7039 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7041 * paragraph_pimpl.C (insertChar): do not try to update tables when
7042 appending (pos == size())
7044 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7045 in order to reduce drastically the number of comparisons needed to
7046 parse a large document
7048 2002-05-29 André Pönitz <poenitz@gmx.net>
7054 * textclasslist.[Ch]:
7055 * sp_ispell.h: whitespace change
7057 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7059 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7060 lyxaction directly now.
7062 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7066 * lyxvc.C: remove unused headers
7068 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7075 * undo_funcs.C: some cleanups. Use shared_ptr
7076 and a template for the undo stacks.
7078 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7080 * BufferView_pimpl.h:
7081 * BufferView_pimpl.C:
7088 * text2.C: use key_state/mouse_state
7090 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7092 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7095 * chset.C: change include order
7096 (loadFile): use boost regex and get rid of LRegex and LSubstring
7098 * Makefile.am (BOOST_LIBS): new variable
7101 * LaTeX.C: change include order.
7102 (scanAuxFile): use boost regex and get rid of LRegex and
7106 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7111 * FontInfo.C: moved to frontends/xforms/
7114 * FontLoader.C: moved into frontends for GUIIzation
7119 * lyxfunc.C: changes from above
7121 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7123 * LColor.C: remove spurious X include
7125 * BufferView_pimpl.C:
7130 * text2.C: move font metrics to frontends/
7132 2002-05-24 Juergen Vigna <jug@sad.it>
7134 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7135 setting the undo_cursor.
7137 * ParagraphParameters.h: include local includes first.
7139 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7141 * BufferView_pimpl.C:
7142 * BufferView_pimpl.h:
7146 * screen.C: move WorkArea into frontends/
7152 * BufferView2.C: move LyXScreen into frontends/
7156 * lyx_gui.C: move lyxlookup into frontends/xforms/
7158 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7161 * BufferView_pimpl.C:
7171 * bufferview_funcs.C:
7184 * vc-backend.C: move LyX/XFormsView into frontends/
7186 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7198 * text2.C: move Painter to frontends/
7200 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7202 * buffer.C: comment out some some code that depend upon lyx_format
7205 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7206 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7208 * buffer.h (NO_COMPABILITY): turn off compability
7210 * ColorHandler.C: include scoped_array.hpp
7212 * font.C: Use more specific smart_ptr header.
7215 * ShareContainer.h: ditto
7219 * BufferView_pimpl.h: ditto
7220 * ColorHandler.h: ditto
7222 * kbmap.C (defkey): change call to shared_ptr::reset
7224 2002-05-21 Juergen Vigna <jug@sad.it>
7226 * buffer.C (insertErtContents): fix to insert ert asis if it is
7227 non empty. Skip it completely if it contains only whitespaces.
7229 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7231 * BufferView_pimpl.C:
7232 * BufferView2.C: clear selection on paste (bug 393)
7234 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7236 * DepTable.C: include ctime
7238 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7240 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7242 2002-05-14 Juergen Vigna <jug@sad.it>
7244 * text.C (breakParagraph): fixed function to honor the keepempty
7245 layout in the right maner and also to permit the right breaking
7246 algorithm on empty or non empyt keepempty paragraphs.
7248 * paragraph.C (breakParagraph): we have to check also if the par
7249 is really empty (!size()) for isempty otherwise we do the wrong
7252 2002-05-10 Juergen Vigna <jug@sad.it>
7254 * buffer.[Ch] : The following are only changes to the ert
7255 compatibility read reading old LaTeX layout and font stuff and
7256 convert it to ERTInsets.
7258 * buffer.h: added isErtInset().
7260 * buffer.C (struct ErtComp): add a fromlayout bool to check
7261 if we're inside a LaTeX layout.
7262 (isErtInset): new helper function.
7263 (insertErtContents): look for other ert insets before this one
7264 and insert the contents there, so that we don't have subsequent
7265 ERT insets with nothing between them. This way we create only one
7266 inset with multiple paragraphs. Also check if we don't insert only
7267 spaces ' ' as they are ignored anyway afterwards in the .tex file
7268 so if we have only spaces we will ignore this latex part in the
7270 (parseSingleLyXformat2Token \\layout): better compatibility when
7271 reading layout-latex stuff.
7272 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7274 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7275 stuff after reading the inset only get the information back from
7278 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7280 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7282 * LaTeXFeatures.C (getBabelOptions): New method.
7284 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7286 * BufferView_pimpl.C (Dispatch): work around missing argument for
7289 2002-05-08 Juergen Vigna <jug@sad.it>
7291 * text.C (leftMargin): handle paragraph leftindent.
7293 * paragraph.C (writeFile): write the new \\leftindent tag.
7294 (validate): handle leftindent code.
7295 (TeXEnvironment): handle paragraphleftindent code again.
7297 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7299 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7300 for paragrap_extra indent code and new token \\leftindent.
7301 (latexParagraphs): handle the leftindent as environment.
7303 * ParameterStruct.h: added leftindent support.
7305 * ParagraphParameters.C (leftIndent): added support functions for
7306 the paragraph left indent.
7308 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7311 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7313 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7316 * text.C (computeBidiTables): No bidi in insetERT.
7318 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7321 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7323 * version.C.in: pre 5
7325 2002-05-02 José Matos <jamatos@fep.up.pt>
7326 * buffer.C (makeDocBookFile): white space changes, add newline to
7328 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7330 * tabular.C (docBook): fix typo.
7332 2002-05-03 Juergen Vigna <jug@sad.it>
7334 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7335 change in LyXText as we can not be sure it was not freed.
7336 (drawOneRow): remove unused code.
7338 * text.C (drawInset): redo the calculation of the need_break_row as
7339 it could have a row which was already freed.
7340 (draw): look at the return value of drawInset and return false if
7341 it also returned false.
7342 (paintRowText): look at the return value of draw and return false if
7343 it also returned false.
7345 * lyxtext.h: added bool return type to drawInset() and draw() so that
7346 if we have a change in the row so that the rowbreak has to be redone
7347 we abort drawing as it will be called again.
7349 2002-05-02 Juergen Vigna <jug@sad.it>
7351 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7352 a change in the maintext also if we're inside an inset.
7353 (Dispatch): set the cursor again after a break line and after the
7354 screen has been updated as it could be we're in a different row.
7356 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7357 to set the cursor behind the pargraph with > size().
7358 (setCursor): check also for the same paragraph when checking where
7359 to put the cursor if we have a NFR inset.
7361 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7362 parts of layout read further up as it still was in the wrong
7365 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7367 * screen.C (drawFromTo): change sine fullRebreak always return
7370 * buffer.C (parseSingleLyXformat2Token): reindent some
7372 * BufferView_pimpl.C (update): change since fullRebreak always
7374 (Dispatch): git rid of the last hardcoded "Standard"s.
7376 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7378 * text2.[Ch] (fullRebreak): make it return void now that we always
7381 2002-04-30 Juergen Vigna <jug@sad.it>
7383 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7384 ert compatibility check for "latex" layout.
7386 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7388 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7389 minipages: use col% instead of p%, and also use the current font.
7390 (makeLaTeXFile): Fix use babel condition.
7391 (parseSingleLyXformat2Token): Correct font when reading old floats.
7393 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7395 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7396 inserting list of floats.
7398 2002-04-25 Herbert Voss <voss@lyx.org>
7400 * MenuBackend.C (expand): don't add the graphics extensions to the
7403 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7405 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7406 non-existing layout, do not complain if it was the default layout
7407 of the original class (bug #342)
7409 2002-04-24 Juergen Vigna <jug@sad.it>
7411 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7412 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7414 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7416 * buffer.C (getBibkeyList): If using \bibliography, return the
7417 option field with the reference itself. Enables us to provide natbib
7418 support when using \bibliography.
7420 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7422 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7424 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7425 natbib is provided by the LaTeX class.
7427 2002-04-23 Juergen Vigna <jug@sad.it>
7429 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7432 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7434 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7436 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7438 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7439 ensuremath around textordmasculine, textordfeminine and
7442 2002-04-19 Juergen Vigna <jug@sad.it>
7444 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7445 reinitializing the buffer otherwise row-dimensions may be wrong.
7446 (update): reset also the selection cursors if they do exits otherwise
7447 their x/y positions may be wrong.
7449 * text2.C (cursorDown): don't enter the inset if we came from a row
7450 above and are one row over the inset.
7452 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7453 really leaving an inset.
7455 2002-04-18 Juergen Vigna <jug@sad.it>
7457 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7458 of the selected paragraph does not have the selected layout also if
7461 * text2.C (setLayout): fixed bug which did not change last selected
7464 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7465 changed the read and substituted \\end_float with \\end_inset!
7467 * BufferView_pimpl.C (cursorPrevious):
7468 (cursorNext): fixed to make it work with rows heigher than the work
7469 area without moving the cursor only the draw of the row.
7470 (workAreaMotionNotify): fix jumping over high rows.
7472 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7474 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7477 2002-04-16 Juergen Vigna <jug@sad.it>
7479 * text2.C (setCursor): set also the irow().
7480 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7482 (cursorDown): support for locking an inset if the x_fix value goes
7483 inside it. That way I can transverse insets too with cursor up/down.
7485 * lyxrow.h: added irow helper function same as other (i) functions.
7487 * BufferView_pimpl.C (cursorPrevious):
7488 (cursorNext): fixed for insets!
7490 2002-04-15 Juergen Vigna <jug@sad.it>
7492 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7493 position otherwise it is wrong in some cases.
7495 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7496 inside the inset before the call.
7498 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7500 * buffer.[Ch] (getBibkeyList): make it const.
7502 2002-04-12 Juergen Vigna <jug@sad.it>
7504 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7506 * text2.C (getCursorX): new helper function
7507 (setCursor): compute also ix_
7508 (setCursorFromCoordinates): set also ix.
7510 * lyxcursor.h: added ix_ and helper functions.
7512 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7514 * buffer.C (insertStringAsLines): dont break paragraph if the this
7515 paragraph is inside an inset which does not permit it!
7517 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7518 also with no chars on this paragraph.
7519 (paintRowText): only paint stuff if it's inside the workarea!
7521 * paragraph.C (breakParagraph): honor keepempty flag and break the
7522 paragraph always below not above.
7524 * BufferView2.C (unlockInset): update the paragraph layout on inset
7525 unlock as we changed paragraph in such a case.
7527 * lyxfind.C (LyXFind): clear the former selection if not found!
7529 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7530 again called in insertChar().
7532 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7533 an inset which uses the whole row!
7534 (rightMargin): ditto.
7535 (insertChar): force a rebreak if we inserted an inset!
7537 2002-03-28 Herbert Voss <voss@lyx.org>
7539 * lyxlength.[Ch]: add inBP() to get the right PS-point
7540 units (BigPoint). With inPixels we have rounding errors
7542 2002-04-11 Juergen Vigna <jug@sad.it>
7544 * text2.C (setCursorFromCoordinates): set iy to the right value.
7545 (setCursor): add check if row->previous exists!
7547 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7548 an old float_type as this was the case in the old code!
7550 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7552 * BufferView2.C (showLockedInsetCursor): use iy
7553 (fitLockedInsetCursor): ditto
7555 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7556 locked insets as there we have the right value now.
7558 * lyxcursor.C: added iy_ variable and iy functions to set to the
7559 baseline of cursor-y of the locked inset.
7561 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7562 (setCursor): fixed for insets which need a full row.
7564 * text.C (rowLastPrintable): don't ignore the last space when before
7565 an inset which needs a full row.
7566 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7567 as last character of a row when before a inset which needs a full row.
7569 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7571 * version.C.in: update date
7573 * text2.C (fullRebreak): try to always return true and see what
7576 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7578 * MenuBackend.C (expand): use Floating::listName
7580 * FloatList.C (FloatList): add listName argument to the built-in
7583 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7584 text associated with the float.
7586 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7588 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7590 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7592 * ShareContainer.h: add a couple of missing typenames.
7594 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7596 * lyxrc.C (getDescription): use _() correctly rather than N_().
7598 2002-03-28 Herbert Voss <voss@lyx.org>
7600 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7601 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7603 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7605 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7606 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7608 2002-03-29 Juergen Vigna <jug@sad.it>
7610 * lyxfunc.C (dispatch): add a missing fitCursor call.
7612 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7613 it was scrolled by a cursor move, so return the bool status.
7615 * BufferView.C (fitCursor): return the bool flag also to the outside
7616 world as this is needed.
7618 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7620 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7621 call the edit() as it is not needed (and wrong) IMO.
7622 (workAreaButtonPress): set the screen_first variable before evt.
7623 unlock the inset as this may change screen_first and then we have
7624 a wrong y position for the click!
7626 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7628 * MenuBackend.C (expand): another translation that I missed
7630 2002-03-28 Juergen Vigna <jug@sad.it>
7632 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7634 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7636 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7638 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7640 * MenuBackend.C (expand): fix export/view/update when there is no
7643 2002-03-27 Herbert Voss <voss@lyx.org>
7645 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7648 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7650 * bufferview_funcs.C (currentState): only show paragraph number
7651 for is DEVEL_VERSION is set.
7653 * lyxfunc.C (dispatch): put warning in INFO channel
7655 * MenuBackend.C (expand): translate the name of floats
7657 * FloatList.C (FloatList): mark the float names for translation
7659 * converter.C (convert): use LibScriptSearch
7661 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7663 * MenuBackend.C (defaults): fix default menu (we might as well get
7666 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7668 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7671 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7673 * lyxvc.C: reorder includes.
7675 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7677 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7680 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7682 * CutAndPaste.C: change layouts earlier on paste
7683 to avoid crashing when calling getFont()
7685 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7687 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7690 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7692 * WorkArea.C: remove 'Pending' debug message.
7694 * most files: ws cleanup
7696 * buffer.[Ch]: ws changes
7698 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7700 2002-03-21 Juergen Vigna <jug@sad.it>
7702 * tabular.C (SetMultiColumn): collapse also the contents of the
7703 cells and set the last border right. Added a Buffer const * param.
7705 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7707 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7710 2002-03-19 Juergen Vigna <jug@sad.it>
7712 * text2.C (clearSelection): reset also xsel_cache.
7714 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7715 where it needs to be called (John tells us to do so too :)
7716 (selectionLost): reset sel_cache.
7718 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7720 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7722 * text2.C (setCursorIntern): put debuging code in INSETS channel
7724 2002-03-19 André Pönitz <poenitz@gmx.net>
7726 * lyxfunc.C: tiny whitespace change
7728 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7730 * ToolbarDefaults.C (init):
7731 * LyXAction.C (init):
7733 * BufferView_pimpl.C (Dispatch):
7734 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7736 2002-03-19 Allan Rae <rae@lyx.org>
7738 * exporter.C (Export): removeAutoInsets before doing anything else.
7739 While I've just introduced a dependency on BufferView this really is
7740 the best place to clean the buffer otherwise you need to cleanup in
7741 a dozen places before calling export or cleanup in a dozen functions
7744 * converter.C (runLaTeX):
7745 (scanLog): Better handling of removeAutoInsets and screen updates.
7747 * lyxfunc.C (dispatch): small whitespace changes
7749 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7751 * WorkArea.C (C_WorkAreaEvent): return a value.
7752 (event_cb): return 1 if we handled the event, 0 otherwise.
7754 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7756 2002-03-18 Juergen Vigna <jug@sad.it>
7758 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7759 (GetAdditionalWidth): ditto.
7763 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7764 inset if we're there actually (probably not used right now but this
7765 is the direction to go for unifying code).
7766 (paste): disable code to clear the selection.
7768 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7769 inside an InsetText and move the check further up as it is in the
7772 * text2.C (pasteSelection): set a selection over the pasted text.
7774 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7776 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7777 and libgraphics to build on Cygwin.
7779 2002-03-15 Juergen Vigna <jug@sad.it>
7781 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7782 inserting an Inset into the paragraph. I know this is not the best
7783 fix but we already use current_view in CutAndPaste so we will remove
7784 all of it's using at the same time.
7786 * buffer.C (sgmlError): deactivated function till it is rewritten in
7787 the right mode, now it can create problems.
7789 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7790 before accessing it.
7792 2002-03-14 Juergen Vigna <jug@sad.it>
7794 * undo_funcs.C (textHandleUndo): do the right thing when updating
7795 the inset after the undo/redo.
7797 * text2.C (setCursor): just some testcode for #44 not ready yet.
7799 * undo_funcs.C (textHandleUndo): set the next() and previous()
7800 pointers of the paragraph to 0 before deleting otherwise we have
7801 problems with the Paragraph::[destructor].
7803 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7804 on a paragraph insertion.
7806 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7808 * buffer.C (asciiParagraph): use += operator for char append to
7811 * paragraph.C (getFontSettings): compare >= not just >
7812 (highestFontInRange): ditto
7815 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7817 * paragraph.C: change several algorithm to be more appripriate for
7818 the problem domain. This is lookip in FontList and in the InsetList.
7820 2002-03-13 André Pönitz <poenitz@gmx.net>
7823 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7825 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7830 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7832 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7834 * Painter.C (display): anon helper function, adjust code for this
7836 (pixmap): remove function.
7838 * Painter.h: remove private display variable.
7840 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7842 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7844 * WorkArea.[Ch]: remove figinset_canvas cruft.
7846 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7848 * lyxtextclass.C (operator): add one item cache optimization.
7850 * bufferlist.h: doxy changes
7852 * bufferlist.C: ws changes
7854 * DepTable.[Ch] (ext_exist): place const in the right spot.
7856 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7858 (workAreaExpose): call resizeInsets when the with BufferView changes.
7859 (Dispatch): adjust for protectedBlank removal
7860 (specialChar): call updateInset if the insert went ok.
7862 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7863 specialChar instead.
7865 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7867 * BufferView.h: doxy change
7869 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7871 * lyxtextclass.C (operator[]): remove non-const version
7872 (defaultLayout): remove non-const version
7874 2002-03-12 Juergen Vigna <jug@sad.it>
7876 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7877 did resize the LyXText too.
7879 * buffer.C (readLyXformat2): set layout information on newly allocated
7882 * tabular.C (OldFormatRead): set layout information on the paragraph.
7884 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7886 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7888 2002-03-11 Juergen Vigna <jug@sad.it>
7890 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7892 (resizeCurrentBuffer): force also the insets to resize themselfes.
7893 (moveCursorUpdate): fixed up for InsetText.
7895 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7898 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7899 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7900 value of Dialogs::tooltipsEnabled().
7901 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7903 2002-03-08 Juergen Vigna <jug@sad.it>
7905 * BufferView_pimpl.C (updateInset): update inset inside inset also
7906 if it isn't inside theLockingInset().
7908 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7910 * buffer.C (asciiParagraph): redo some of the word and line length
7912 (getLists): look for Caption instead of caption.
7914 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7916 * buffer.C (Buffer): initialize niceFile to true
7919 (makeDocBookFile): make sure niceFile is true on exit
7921 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7923 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7925 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7927 * LyXSendto.C: remove.
7928 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7929 * lyx_gui.C: remove now-redundant comment.
7930 * ColorHandler.h: remove forward declaration of class WorkArea.
7931 * lyxfunc.C: remove #include "WorkArea.h".
7933 2002-03-07 Juergen Vigna <jug@sad.it>
7935 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7936 got moved away with the DEPM and also set the inset_owner always
7937 right which before could have been omitted.
7939 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7941 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7942 wanted layout is not found.
7944 2002-03-07 Juergen Vigna <jug@sad.it>
7946 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7948 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7950 * paragraph.C (breakParagraph): use default layout not layout of
7952 (Paragraph): clear ParagraphParameters.
7954 2002-03-06 Juergen Vigna <jug@sad.it>
7956 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7957 otherwise it would not be a valid lenght. Fixed a special case in
7958 the minipage compatibility read where we end the document with a
7961 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7962 was set as it could be 0 for InsetTexts first entry.
7964 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7966 * paragraph.C (writeFile): if layout is empty write out
7967 defaultLayoutName().
7969 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7970 file without named layout we set layout to defaultLayoutName().
7972 2002-03-06 Juergen Vigna <jug@sad.it>
7974 * CutAndPaste.C (copySelection): set layout for new paragraph.
7976 * text.C (prepareToPrint): leave ERT inset left aligned
7977 (leftMargin): don't indent paragraphs inside ERT insets
7979 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7981 * paragraph.C (breakParagraph): dont call clear do the work manually
7983 * paragraph.[Ch] (clear): remove function
7985 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7987 * paragraph.C (Paragraph): dont call clear, the work has already
7990 * lyxtextclass.C (operator): assert if n is empty
7992 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7993 work manually instead.
7995 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7997 * BufferView_pimpl.C: protect selectionLost against text == 0
7999 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8001 * text.C (breakParagraph): fix a setting layout to '0' problem.
8003 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8005 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8006 final location of file, for the included files, and graphics.
8008 2002-03-05 Juergen Vigna <jug@sad.it>
8010 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8012 2002-03-04 Juergen Vigna <jug@sad.it>
8014 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8016 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8017 last column of multicolumn cells.
8018 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8020 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8022 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8023 file if it doesn't go to a temporary file.
8025 * buffer.C (sgmlOpenTag):
8026 (sgmlCloseTag): remove extra newline insertion.
8028 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8030 * text.C (getRowNearY): comment out debug msg
8032 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8034 * text2.C: first -> first_y
8036 * text.C (getRowNearY): add some attemts at a possible
8037 optimization, not working.
8039 * tabular.[Ch]: add BufferParams to several function so that newly
8040 created paragraph can be initialized to he default layotu for the
8043 * tabular-old.C (ReadOld): add buf->params to call of Init
8045 * screen.C: rename text->first to text->first_y
8047 * paragraph.C (breakParagraph): always set layout in the broken
8050 * lyxtextclass.C (Read): remove lowercase
8053 (delete_layout): ditto
8055 * lyxtext.h: rename first -> first_y
8057 * lyxlayout.C (Read): remove lowercase
8060 (obsoleted_by): ditto
8062 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8064 * buffer.C (insertErtContents): add params are to InsetERT
8065 (parseSingleLyXformat2Token): add code to check if a paragraphs
8066 layout really exist.
8067 (parseSingleLyXformat2Token): add params to several inset
8069 (asciiParagraph): remove lowercase, do the layout comparisons with
8072 * BufferView_pimpl.C (cursorNext): first -> first_y
8073 (resizeCurrentBuffer): first -> first_y
8074 (updateScrollbar): first -> first_y
8075 (scrollCB): first -> first_y
8076 (workAreaMotionNotify): first -> first_y
8077 (workAreaButtonPress): first -> first_y
8078 (checkInsetHit): first -> first_y
8079 (cursorPrevious): first -> first_y
8080 (cursorNext): first -> first_y
8081 (Dispatch): add buffer_->params to severl inset contructors
8083 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8085 * lyxlayout.C (Read): remove some debug info that I forgot.
8087 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8088 clean up the code slightly.
8089 (makeLinuxDocFile): ditto
8090 (makeDocBookFile): ditto
8092 * text2.C: layout as string
8094 * text.C: layout as string
8096 * paragraph_pimpl.C: layout as string
8098 * paragraph.[Ch]: layout as string
8100 * lyxtextclasslist.[Ch]: layout as string
8102 * lyxtextclass.[Ch]: layout as string
8104 * lyxtext.h: layout as string
8106 * lyxlayout.[Ch]: layout as string
8108 * lyx_cb.C: layout as string
8110 * bufferview_funcs.C: layout as string
8112 * bufferparams.C: layout as string
8114 * buffer.C: layout as string
8116 * LyXView.[Ch]: layout as string
8118 * LaTeXFeatures.[Ch]: layout as string
8120 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8122 * BufferView_pimpl.C: change current_layout to string, remove
8127 (workAreaButtonRelease): layout as string
8129 * BufferView2.C (unlockInset): adjust
8131 * vspace.C (asLatexCommand): use an explict temp variable.
8133 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8135 * Makefile.am: use FRONTEND_*
8137 2002-03-01 Juergen Vigna <jug@sad.it>
8139 * tabular.C (SetWidthOfMulticolCell): changed to something better
8140 I hope but still work in progress.
8141 (recalculateMulticolumnsOfColumn): renamed function from
8142 recalculateMulticolCells as it is more appropriate now.
8143 (SetWidthOfCell): calculate multicols better.
8145 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8147 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8149 * lyxfunc.C (processKeySym): print sequence also if it is
8150 `deleted' (complete)
8152 * kbsequence.C (print): print sequence even if it is deleted
8153 (complete would be a better word, actually).
8155 * lyxfunc.C (dispatch): print complete options after a prefix key
8157 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8159 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8161 * text2.C (setCharFont): eliminate setCharFont code duplication.
8163 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8165 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8166 LFUN_TABULAR_FEATURE (bug #177)
8168 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8170 * Makefile.am: remove figure.h
8172 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8174 * Bufferview_pimpl.C:
8186 * text2.C: remove #include "lyx_gui_misc.h".
8188 * LaTeX.C: added #include <cstdio>
8190 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8192 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8193 that the paragraph following this one can have.
8195 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8197 * vspace.C (asLatexCommand): fix bogus gcc warning
8199 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8201 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8203 * text2.C (setLayout): get rid of redundant code
8205 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8207 * text2.C (incDepth): make sure depth cannot be increased beyond
8210 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8212 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8213 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8215 * PainterBase.h (image):
8216 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8219 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8223 * BufferView_pimpl.C:
8224 * BufferView_pimpl.h:
8244 * sp_spell.C: remove fig inset, and the crap house of
8245 cards that follows it
8247 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8253 * nt_defines.h: move .h into support/
8255 * vms_defines.h: remove
8257 * WorkArea.C: add space in debug output
8261 * buffer.C: add WITH_WARNINGS
8265 * bufferlist.C: s/retrive/retrieve/, add docs
8276 * lyxgui.C: add ID to X error handler
8278 * lyxtestclass.c: fix typo
8280 2002-02-26 Juergen Vigna <jug@sad.it>
8282 * tabular_funcs.C (write_attribute): changed so that some default
8283 attributes are not written at all.
8284 (getTokenValue): set default values before trying to read the
8285 value so we have the return value always set as default if we don't
8286 find the token we search for.
8288 * tabular.C (Write): write bools as bools not as strings!
8290 2002-02-22 Juergen Vigna <jug@sad.it>
8292 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8293 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8295 * text.C (leftMargin): don't add an indent for paragraphs inside
8296 tabular cells (fix #208).
8298 2002-02-21 José Matos <jamatos@fep.up.pt>
8300 * tabular.C (docBook): fixed support for long tables.
8302 2002-02-20 Juergen Vigna <jug@sad.it>
8304 * text2.C (getFont): get the drawing font of the Inset if this
8305 paragraph is inside an inset (only important for InsetERT for now).
8307 * buffer.C (insertErtContents): use new lanugage params in ERT
8310 * CutAndPaste.C: commenting out seemingly uneeded code.
8312 2002-02-19 Allan Rae <rae@lyx.org>
8314 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8315 Iterators might be simple to use but they also get invalidated.
8316 (removeAutoInsets): renamed saved cursor tracking variables and added
8317 some comments to clarify what everything does.
8319 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8326 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8327 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8330 * vc-backend.h: remove #include "support/syscall.h"
8334 * converter.C: rearrange #includes in Lars' approved fashion.
8336 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8337 forward declare class Timeout in the header file.
8339 * XFormsView.C: changes due to the above.
8341 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8344 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8345 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8347 2002-02-18 José Matos <jamatos@fep.up.pt>
8349 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8352 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8354 * a lot of small ws changes
8355 * add a lot of using std::XXX
8356 * use std construcs some places where approp.
8357 * use some exisint stuff from lyxfunctional where approp.
8358 * Make file changes to use partial linking (lets test this now...)
8360 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8364 remove #include "support/syscontr.h" as it's redundant. Always has been.
8372 change Systemcalls::System to Systemcalls::Wait and
8373 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8374 No change of functionality, just reflects the stripped down Systemcalls
8377 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8379 * debug.[Ch]: add a GRAPHICS type to the enum.
8381 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8383 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8385 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8388 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8390 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8391 match the changes below.
8393 * text2.C (toggleInset): if there is not editable inset at cursor
8394 position, try to see if cursor is _inside_ a collapsable inset
8397 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8399 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8400 document menu has a nice checkbox
8402 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8404 * lyxlength.C (asLatexString): change PW to output as percent of
8407 * lengthcommon.C: change '%' to 't%'
8409 * lyxfunc.C (dispatch): a few comments from Martin
8411 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8415 * BufferView_pimpl.h:
8416 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8419 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8421 * vspace.C (inPixels): fix compiler warning
8423 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8425 * lyxfunc.C (getStatus): fix status message for disabled commands.
8427 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8429 * BufferView_pimpl.C: fix crash on close buffer
8430 during selection (#227)
8432 2002-01-27 Herbert Voss <voss@lyx.org>
8434 * buffer.C: link old Figure to new graphic inset
8436 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8438 * FontLoader.C (getFontinfo): Change the latex font names in order
8439 to match the names of type1inst.
8441 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8443 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8445 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8448 (remove_files_with_extension): ditto
8449 (remove_file): ditto
8452 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8453 document is smaller than the work area height. Do not initialize
8454 static variables to 0.
8456 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8458 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8460 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8461 LFUN_LAYOUT_PARAGRAPHS.
8463 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8464 tabular. It is possible to provide a possible cell, which will
8465 typically be the actcell from the corresponding insettabular
8467 * lyxfunc.C (getStatus): small cleanup; disable
8468 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8471 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8473 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8475 * paragraph.C (startTeXParParams):
8476 (endTeXParParams): new methods. The LaTeX code to
8477 start/end paragraph formatting
8478 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8479 empty (fixes bug #200)
8481 * vspace.C (inPixels): adapt to the change below
8482 (inPixels): [later] more cleanups (remove unused variables)
8484 * lyxlength.C (inPixels): change to use a width and a height as
8487 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8489 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8490 Replaced with \paperwidth
8492 * DepTable.C (insert): add std:: qualifier
8494 2002-01-18 Allan Rae <rae@lyx.org>
8496 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8499 * text.C (drawInset): Turned out I didn't know enough about how
8500 rebreaking worked. This fixes most of the redraw problems. I see
8501 an occasional cursor trail when a line is broken now and the cursor
8502 placement can seem out by a few pixels also after a rebreak.
8504 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8506 * buffer.C (parseSingleLyXformat2Token): update because minipage
8507 width is now a LyXLength
8509 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8511 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8514 2002-01-17 Juergen Vigna <jug@sad.it>
8516 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8518 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8519 is set correctly and the inset is updated correctly.
8521 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8523 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8524 the beginning of the loop.
8526 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8528 * lyxrc.C: improve help for use_scalable_fonts
8530 2002-01-17 Allan Rae <rae@lyx.org>
8532 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8534 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8536 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8537 make sure to set their inset_owner to the right value (bug #171)
8539 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8542 * DepTable.C: Implement mtime checking to reduce time spent doing
8545 2002-01-16 Juergen Vigna <jug@sad.it>
8547 * tabular.C (GetAdditionalHeight): one of error fixed.
8549 * lyxrc.C (output): small fix in writing use_pspell.
8551 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8553 * sp_base.h: #include LString.h
8555 2002-01-16 Allan Rae <rae@lyx.org>
8557 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8558 Can someone check this please?
8560 * text.C (drawInset): It was possible that p.row would be removed by
8561 breakAgainOneRow upsetting a few other settings. There may be another
8562 small tweak possible by setting need_break_row = 0 when p.row has been
8563 removed but I don't know enough about the logic here.
8565 2002-01-15 Allan Rae <rae@lyx.org>
8567 * text.C (insertChar): removed conditional truism.
8569 * BufferView2.C (removeAutoInsets): More tweaks.
8570 cur_par_prev could be a stray pointer. Check for trailing empty line
8571 in case last line was cur_par and only had an error inset on it.
8573 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8575 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8578 * vc-backend.C (most methods):
8579 * exporter.C (Export):
8580 * converter.C (convert):
8582 * LyXSendto.C (SendtoApplyCB):
8583 * lyxfunc.C (dispatch):
8587 * lyx_cb.C (AutoSave):
8589 * BufferView_pimpl.C (MenuInsertLyXFile):
8590 * buffer.C (runChktex): use Buffer::filePath().
8592 * buffer.h: rename filename to filename_; rename filepath to
8593 filepath_ and make it private
8594 (filePath): new method
8596 * buffer.C (writeFile): use fileName()
8599 * lyx_main.C (init): fix starting of LyX when the binary is a
8600 link from so,ewhere else.
8602 * minibuffer.C: include <cctype> for isprint
8604 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8606 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8607 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8608 name clash with InsetCollapsable's width function.
8610 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8612 * lastfiles.C: include <iterator>
8614 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8616 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8619 * buffer.C (makeLaTeXFile): ditto.
8620 Also make loop operation more transparent.
8622 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8624 * ToolbarDefaults.C: remove trailing comma closing namespace.
8626 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8628 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8631 * trans.C (Load): comment out unused variable, allowed.
8633 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8635 * minibuffer.[Ch] (append_char): new method to recieve input from the
8636 drop-down completion browser. If a key was pressed, then recieve this
8637 char and append it to the existing string.
8638 (peek_event): modify the positioning data passed to the completion
8639 browser so that it can be placed above the minibuffer rather than below.
8640 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8642 * LyXAction.C (init): alloe error-next for readonly documents.
8644 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8647 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8649 * bufferlist.C (readFile): create the buffer _after_ checking that
8652 * lyxfunc.C (verboseDispatch): fix handling of arguments
8654 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8656 * lyxrc.C: use string::erase() instead of initializing to "".
8659 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8661 * BufferView_pimpl.h:
8662 * BufferView_pimpl.C:
8665 * text2.C: tell X when we have made a selection for copying
8667 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8669 * BufferView_pimpl.C (MenuInsertLyXFile):
8670 * lyxfunc.C (menuNew):
8672 (doImport): add shortcuts to directory buttons
8674 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8677 * lyxfunc.C (setStatusMessage):
8678 (getStatusMessage): new methods
8679 (getStatus):use setStatusMessage instead of setErrorMessage
8680 (dispatch): when function is disabled, set error message here
8681 [instead of in getStatus previously]
8683 * BufferView_pimpl.C (workAreaButtonRelease): update
8684 toolbar/menubar here too.
8686 2002-01-13 Allan Rae <rae@lyx.org>
8688 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8689 Now seems indestructible. Remaining task is to audit all other
8690 code affected by deleteEmptyParagraphMechanism. One small quirk
8691 left is that an empty document with an error in the preamble can
8692 be made to report an error but no error box appears. I don't know
8694 (removeAutoInsets): Improved comments.
8696 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8699 * Thesaurus.C: update for Aiksaurus 0.14
8701 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8703 * text2.C (firstParagraph): removed member function, all uses
8704 replaces with ownerParagraph
8705 (redoParagraphs): here
8707 (toggleAppendix): here
8708 * BufferView2.C (insertErrors): here
8709 (setCursorFromRow): here
8711 2002-01-13 Allan Rae <rae@lyx.org>
8713 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8714 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8715 There is still a way to segfault this although you may have to do this
8716 multiple times: Have an InsetERT with an unknown command in it.
8717 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8718 <down-arrow>, <Enter> again, View->DVI, BANG!
8720 * text2.C (setCursor):
8721 (deleteEmptyParagraphMechanism):
8722 * lyxtext.h (setCursor):
8723 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8724 Making use of the return value may help fix other bugs.
8726 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8728 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8730 * LyXView.C (updateMenubar): call MenuBar::update here
8731 (updateToolbar): but not here
8732 (showState): do not update toolbar/menubar
8734 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8735 should need to care about that.
8737 * lyxfunc.C (verboseDispatch): simplify a bit
8738 (getStatus): have a version which takes a pseudoaction, and
8739 another which requires a (kb_action,string).
8741 * LyXAction.C (retrieveActionArg): make it work also when action
8742 is not a pseudo-action.
8743 (getActionName): simplify a bit
8746 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8748 * lyxfunc.C (verboseDispatch): new families of methods with
8749 several ways to specify a command and a bool to indicate whether
8750 the command name and shortcut should be displayed in minibuffer
8751 (eventually, we could extend that to a finer bitmask like
8752 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8753 (dispatch): the pristine dispatch command which just, well,
8754 dispatchs! Note it still sets its result to minibuffer; I'm not
8757 * lyxfunc.h: remove setHintMessage
8759 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8761 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8763 * BufferView_pimpl.C (specialChar): delete new inset if we have
8764 not been able to insert it.
8766 * kbmap.C: revert to using int instead of kb_action, since all we
8767 are dealing with is pseudo-actions.
8769 * LyXAction.C (searchActionArg): change to return int instead of
8770 kb_action, since the result is a pseudoaction.
8772 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8774 * buffer.C (insertErtContents): Fix (partially) the font bug.
8776 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8778 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8779 as the other one is broken on my machine!
8781 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8784 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8786 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8788 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8789 reflect their actual use. Provide compatibility code for older lyxrc
8792 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8794 change names of popup font variables in line with the changes to lyxrc.C
8796 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8798 * buffer.C (asciiParagraph): avoid outputing a word twice after
8801 * lyxrc.C (getDescription): document that document_path and
8802 template_path can be empty.
8804 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8806 * LaTeXFeatures.C (getMacros):
8807 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8809 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8811 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8813 (getPackages): rename feature "floats" to "float". Use an array to
8814 iterate over 'simple' features (i.e. just a \usepackage). Add
8815 handling of "amsmath" (renamed from "amsstyle").
8817 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8819 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8822 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8824 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8825 FuncStaus::FuncStatus & FuncStaus::some_method().
8827 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8829 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8830 of the func_satus stuff. Edited and massaged in various ways by
8833 * lyxfunc.C (getStatus): use FuncStatus
8835 2002-01-08 Juergen Vigna <jug@sad.it>
8837 * text.C (nextBreakPoint): use function Inset::isChar().
8839 * paragraph.C (TeXOnePar): use function
8840 Inset::forceDefaultParagraphs.
8842 * buffer.C (latexParagraphs): use function
8843 Inset::forceDefaultParagraphs.
8845 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8847 * lyx_gui.C (init): set the style of the menu popups to
8848 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8850 2002-01-07 Juergen Vigna <jug@sad.it>
8852 * text.C (setHeightOfRow): small fix
8853 (prepareToPrint): don't look at alignment if we don't have the place
8856 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8858 * box.C: New file. Move the Box methods and functions out of box.h,
8859 following Lars' suggestion.
8861 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8863 * box.h: #include "support/LOstream.h", needed for inlined function.
8866 * lyxtextclasslist.C: added some using std declarations.
8868 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8870 * box.h: make signed dimensions to allow insets wider than
8871 the screen (bug #162)
8873 * BufferView_pimpl.C: add some insetHit debug
8875 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8877 * vc-backend.C: add FIXME
8879 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8881 * lyxfunc.C (getStatus): enable code for showing math font status
8884 2002-01-07 Juergen Vigna <jug@sad.it>
8886 * text.C (nextBreakPoint): removed debug output not needed anymore.
8888 2002-01-06 Juergen Vigna <jug@sad.it>
8890 * text.C (nextBreakPoint): fixed up this function we had this bug
8891 since ever but now hopefully we break row better.
8892 (insertChar): we have to check if an inset is the next char as it
8893 could now happen that a large inset is causing a break.
8895 2002-01-05 Juergen Vigna <jug@sad.it>
8897 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8898 if it doesn't like to be drawed.
8900 2002-01-04 Juergen Vigna <jug@sad.it>
8902 * BufferView2.C (lockInset): forgot to set a cursor.
8904 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8906 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8911 * form_maths_panel.C:
8912 * form_maths_panel.h:
8913 * form_maths_panel.fd: implemented sub- and super- buttons in math
8916 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8917 (or ^ space) to be used as in TeX (req'd by André).
8919 * lyxfunc.C: Allow ^ and _ again to be used both as
8920 super/subscript (mathed) and as themselves (in text).
8922 2002-01-03 Allan Rae <rae@lyx.org>
8924 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8925 "LyX" or the filename of the current buffer if it has one. This is a
8926 modified form of John Levon's patch.
8928 * XFormsView.C (setWindowTitle): also set icon title.
8930 * LyXView.h (setWindowTitle): signature changed.
8931 * XFormsView.h (setWindowTitle): ditto.
8933 2002-01-02 Juergen Vigna <jug@sad.it>
8935 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8937 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8939 * screen.C (topCursorVisible): introduce a temp var for
8940 text->cursor.row(), handle the case where this row is null. (kindo
8943 * text2.C (setCursor): add a couple of asserts.
8945 * paragraph.h (inset_iterator): add -> operator
8947 * paragraph.[Ch] (autoDeleteInsets): remove member function
8949 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8950 cursor pos correctly and handle inset deletion by itself.
8951 (insertErrors): move iterator declaration out of for expression
8953 * lyxtextclass.C: add <algorithm>
8955 * Makefile.am: added the new files to sources, removed layout.C
8957 * layout.C: removed file
8959 * layout.h: remove LYX_DUMMY_LAYOUT
8961 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8965 * lyxtextclass.[Ch]:
8966 * lyxtextclasslist.[Ch]: new files
8968 * include order changes to a lot of files, also changes because of
8971 2001-12-27 Juergen Vigna <jug@sad.it>
8973 * buffer.C (asciiParagraph): more fixes.
8975 * tabular.C (ascii): make ascii export support export of only the
8976 data separated by a column-delimiter.
8977 (ascii): better support for ascii export.
8979 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8981 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8983 * tabular_funcs.C: use a "using std::getline" instead of the
8984 previous fix from Angus (necessary for cxx + lyxstring)
8986 2001-12-24 Juergen Vigna <jug@sad.it>
8988 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8990 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8991 problems. First check a minipage also if we have some ert-contents
8992 (not only on par->size(), second set the right depth of the paragraph
8993 on the relink to the root-paragraph-list!
8995 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8996 which then did not anymore update the main paragraphs on undo/redo!
8998 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9000 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9001 code. Support all font-changing funcs (even those which are not in
9002 menu currently). Support for reporting font settings in
9003 mathed (disabled until Andre provides a function on mathed's side).
9005 * func_status.h (toggle): small helper function to set toggle
9008 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9010 * tabular_funcs.C: getline -> std::getline
9012 2001-12-21 Juergen Vigna <jug@sad.it>
9014 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9015 accessed and could be 0 (I couldn't generate this but it seems
9018 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9020 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9021 * tabular_funcs.h: here and include iosfwd
9023 2001-12-20 Juergen Vigna <jug@sad.it>
9025 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9026 inside inset but undo_par was.
9028 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9030 * Thesaurus.C: always include <config.h> in sources.
9034 * box.h: do not include <config.h> in header files
9036 * text.C (paintLastRow): remove unused variable
9038 * text.C (transformChar):
9040 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9043 * font.C (width): rewrite to use uppercase() instead of
9046 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9048 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9050 * lyxfind.C: clean up of find failure position change
9052 2001-12-20 Juergen Vigna <jug@sad.it>
9054 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9056 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9057 (TeXRow): added to LaTeX a single tabular row.
9058 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9059 (Latex): simplified and finally good LT-h/f support.
9060 (various_functions): just small adaptions for LT-h/f support.
9062 * tabular_funcs.[hC]: added and moved here all not classfunctions
9065 2001-12-19 Juergen Vigna <jug@sad.it>
9067 * tabular.[Ch]: better support for longtabular options (not finished
9070 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9072 * text.C (paintLastRow): use the label font instead of the font of
9073 the last character to compute the size of *_BOX. This makes more
9074 sense and avoids a crash with empty paragraphs.
9075 Use Painter::rectangle to draw EMPTY_BOX.
9077 2001-12-19 Juergen Vigna <jug@sad.it>
9079 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9080 the paragraphs if the replaced paragraph is not the first one!
9081 Tried to delete not used paragraphs but does not work yet so for
9082 now it's inside #ifdef's and by default off!
9084 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9086 * MenuBackend.C: include "lyx_main.h" instead of declaring
9087 lastfiles (actually was declared as LastFiles* instead of a
9090 2001-12-17 Juergen Vigna <jug@sad.it>
9092 * tabular.C (AppendColumn): applied John's fix
9094 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9098 * BufferView_pimpl.h:
9099 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9102 * box.h: new start of class for above
9104 * lyxfunc.C: ignore space-only minibuffer dispatches.
9105 Show the command name when it doesn't exist
9107 * minibuffer.C: don't add empty lines to the history
9109 * minibuffer.C: add a space on dropdown completion
9111 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9113 * text.C: fix line above/below drawing in insets
9115 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9117 * lyxlength.C (LyXLength): Initialize private variables.
9119 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9121 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9122 when inserting error insets.
9124 2001-12-13 Juergen Vigna <jug@sad.it>
9126 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9127 actually sometimes the before-paragraph.
9128 (setUndo): don't clear the redostack if we're not actually undoing!
9130 2001-12-06 Juergen Vigna <jug@sad.it>
9132 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9133 and fixed redoing of main paragraph, so we can use it now ;)
9135 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9137 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9139 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9142 2001-12-13 André Pönitz <poenitz@gmx.net>
9145 * undo_func.C: minor cleanup
9147 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9149 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9150 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9151 font in urw-fonts package which is marked as -urw-fontspecific and
9152 does not work (incidentally, changing the encoding in the
9153 fonts.dir of this package to -adobe-fontspecific fixes the
9156 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9157 is a crash when undoing first paragraph (Juergen, please take a
9158 look). THis does not mean the undo fix is wrong, just that it
9161 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9162 the (Paragraph*) version when needed instead of duplicating the
9165 * text.C (workWidth): use Inset::parOwner to find out where the
9166 inset has been inserted. This is a huge performance gain for large
9167 documents with lots of insets. If Inset::parOwner is not set, fall
9168 back on the brute force method
9170 * paragraph_pimpl.C (insertInset):
9171 * paragraph.C (Paragraph):
9172 (cutIntoMinibuffer): set parOwner of insets when
9173 inserting/removing them
9175 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9177 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9183 * mathed/formulabase.C:
9184 * mathed/math_cursor.[Ch]:
9185 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9188 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9190 * lyxlength.[Ch] (operator!=): new function
9192 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9194 * text.C (workWidth): use Inset::parOwner to find out where the
9195 inset has been inserted. This is a huge performance gain for large
9196 documents with lots of insets. If Inset::parOwner is not set, fall
9197 back on the brute force method
9199 * paragraph_pimpl.C (insertInset):
9200 * paragraph.C (Paragraph):
9201 (cutIntoMinibuffer): set parOwner of insets when
9202 inserting/removing them
9204 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9206 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9208 * tabular-old.C (getTokenValue):
9209 * tabular.C (getTokenValue):
9210 (write_attribute): new versions for LyXLength
9211 (everywhere): adjust the use of widths
9213 * tabular.h: change the type of widths from string to LyXLength
9215 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9217 * paragraph.C: fixed missing line number count when exporting
9218 Environments to LaTeX file
9220 * buffer.C: added informational message for checking line numbers.
9222 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9224 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9225 paragraph, do the 'double space' part, but not the 'empty
9228 * text.C (workWidth): small optimization
9229 (getLengthMarkerHeight): use minimal size for negative lengths.
9231 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9233 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9235 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9237 2001-12-11 André Pönitz <poenitz@gmx.net>
9240 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9242 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9244 * text2.C: keep selection on a setFont()
9246 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9248 * lyx_cb.C: another bv->text misuse, from insert label
9250 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9253 * kbsequence.C: re-instate nmodifier mask
9255 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9257 * lyx_main.h: make lyxGUI private.
9259 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9261 * lyxfind.C: place the cursor correctly on failed search
9263 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9265 * text.C (getLengthMarkerHeight): for small heights, the arrows
9266 are not always on top/bottom of the text
9267 (drawLengthMarker): smaller arrows; take the left margin in
9268 account; draw also vfills.
9270 (paintLastRow): remove special code for vfill and standard spaces,
9271 since everything is handled in drawLengthMarker now.
9273 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9275 * buffer.C (insertErtContents): try to handle font and language
9276 interaction a bit better.g
9278 * ColorHandler.C (updateColor): change the hash to cover the whole
9279 LColor enum, ws cleanup
9280 (getGCLinepars): ditto
9281 (getGCLinepars): only lookup in the linecache once.
9283 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9285 * iterators.C (operator++): Make the iterator more robust
9287 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9289 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9291 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9294 * text.C: better added space drawing
9296 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9299 * BufferView2.C: fix layout combo update on inset unlock
9301 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9303 * Makefile.am: don't compile unused files
9305 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9309 * LyXAction.C: remove old LFUN_LAYOUTNO
9311 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9313 * paragraph_pimpl.h:
9314 * paragraph_pimpl.C: isTextAt() doesn't need font param
9316 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9319 * lyxlex.C: little cleanup
9321 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9323 * BufferView_pimpl.C: fix insertAscii for insets
9325 2001-12-05 Juergen Vigna <jug@sad.it>
9327 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9328 set the right font on the "multi" paragraph paste!
9330 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9336 * lyxlength.C: remove out-commented code.
9352 * vc-backend.C: change "while(" to "while ("
9354 * lyxlength.[Ch]: add zero function to check if length is zero or
9356 * lyxgluelength.C: use it
9358 2001-12-05 Allan Rae <rae@lyx.org>
9360 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9361 Works for 2.95.3, from what I understand of Garst's reports this should
9362 work for other g++ versions. We're screwed if the abs(int) definition
9363 changed between bugfix releases of gcc.
9365 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9367 * text.C: fix chapter label offset !
9369 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9372 * text.C: fix hfill at end of line, clean up
9374 2001-12-04 Juergen Vigna <jug@sad.it>
9376 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9377 that we force an update of the inset and it's owners if neccessary.
9379 2001-12-03 Juergen Vigna <jug@sad.it>
9381 * text.C (rowLast): simplified code
9383 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9385 * lyxfunc.C: fix show options on timeout
9387 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9389 * screen.C (topCursorVisible): scroll half a page when the cursor
9390 reached top of bottom of screen
9392 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9394 * minibuffer.C: deactivate on loss of focus
9396 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9398 * vspace.[Ch] (operator!=): add operator.
9400 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9402 * BufferView_pimpl.C: refuse to open an inset when
9403 there's a selection.
9405 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9407 * BufferView_pimpl.C: allow to click on RHS of full row insets
9409 2001-11-30 Juergen Vigna <jug@sad.it>
9411 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9412 insets for undo reasons.
9414 2001-11-28 André Pönitz <poenitz@gmx.net>
9416 * vspace.[Ch]: cosmetical changes
9418 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9428 * kbsequence.C: part re-write of old kb code
9431 * WorkArea.C: remove Lgb_bug_find_hack
9433 2001-11-30 José Matos <jamatos@fep.up.pt>
9435 * buffer.C (makeDocBookFile): add a comment to point a hack.
9436 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9437 Fixed a double write of labels.
9439 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9442 * LaTeX.h Fixed bug in LaTeX class where it would not
9443 re-run latex if no depfiles were changed, but the .dvi was removed.
9445 2001-11-28 André Pönitz <poenitz@gmx.net>
9447 * all the files from the change on 2001/11/26:
9448 use lyx::layout_type instead of LyXTextClass::size_type
9449 use lyx::textclass_type instead of LyXTextClassList::size_type
9451 2001-11-29 Juergen Vigna <jug@sad.it>
9453 * text.C: added support for paragraph::isFreeSpacing()
9455 * buffer.C: same as above
9457 * paragraph.h: inserted isFreeSpacing() function to enable
9458 FreeSpacing inside InsetERT.
9460 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9461 of the paragraph's in the cut/copy buffer to 0!
9463 * text2.C (removeRow): remove the assert as it can!
9465 * lyxtext.h: added helper function firstRow returning firstrow and
9466 made firstrow private again.
9468 * BufferView2.C (lockInset): don't relock if we're already locked!
9470 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9472 (removeRow): added Assert::(firstrow)
9474 * debug.C: forgot to add INSETTEXT here.
9476 2001-11-28 Juergen Vigna <jug@sad.it>
9478 * sp_spell.C (initialize): changed error text to more general
9479 spellchecker command use (not only ispell!)
9481 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9483 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9485 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9487 * vspace.C: initialise lyxgluelength on failure
9489 2001-11-28 Allan Rae <rae@lyx.org>
9491 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9492 declaration & definition that looks like a function declaration.
9494 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9496 * BufferView2.C (copy):
9497 (copyEnvironment): do not clear the selection when doing a copy.
9499 * text.C (paintFirstRow): compilation fix
9501 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9503 * tabular.C (Latex): correct line count when writing latex.
9505 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9507 * paragraph_pimpl.h:
9508 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9511 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9515 * LColor.C: change vfillline->added_space
9517 * text.C: add markers and text for added space
9519 * vspace.C: fix comment
9521 2001-11-28 André Pönitz <poenitz@gmx.net>
9523 * paragraph.C: whitespace changes
9524 * all the other files from the change on 2001/11/26:
9525 change *::pos_type into lyx::pos_type
9527 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9529 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9530 language of the document when inserting error insets.
9532 2001-11-26 André Pönitz <poenitz@gmx.net>
9534 * BufferView_pimpl.[Ch]:
9542 * paragraph_pimpl.[Ch]:
9545 * text2.C: reduce header dependencies, introduce type for positions
9547 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9549 * <various>: change to use Alert.h
9551 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9553 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9554 when encountering an unknown token.
9555 (readLyXformat2): Show an error message if there were unknown tokens.
9557 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9560 * BufferView_pimpl.C:
9564 * text2.C: use par->isInset()
9566 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9568 * paragraph_pimpl.h:
9569 * paragraph_pimpl.C: cleanup
9571 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9573 * text2.C (removeRow):
9574 * text.C (setHeightOfRow): remove useless (and costly) call to
9577 2001-11-20 Allan Rae <rae@lyx.org>
9579 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9580 Now need Inset*::checkInsertChar() to return true for appropriate
9581 cases so that the characters in the minibuffer will actually be
9584 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9586 * text.C: change the order of the includes.
9587 (workWidth): initialize it at once.
9588 (workWidth): make maxw unsigned
9589 (setHeightOfRow): remove unused variable (inset)
9590 (selectSelectedWord): remove unused variable (inset)
9591 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9593 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9595 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9596 server is not running.
9598 (closeConnection): add debug info when server is disabled.
9600 * ColorHandler.C (getGCForeground): send debug message to GUI
9603 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9605 * kbmap.C (bind): modify because return conventions of
9606 kb_sequence::parse have changed.
9608 * kbsequence.C (parse): only ignore spaces and not any stupid
9609 control character. This avoids tests like s[i] <= ' ', which are
9610 guaranteed to fail with 8bit characters and signed chars.
9611 Change return code to string::npos when there have been no error
9612 (0 was a bad idea when error is at first character)
9614 2001-11-14 José Matos <jamatos@fep.up.pt>
9617 * buffer.C (simpleDocBookOnePar): removed unused argument.
9619 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9621 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9622 insets which are part of a word. Paragraph::isLetter takes care of
9623 that now. Use Paragraph::isInset to identify insets.
9624 (selectSelectedWord): do not test for hyphenation break.
9626 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9627 that protected spaces are considered as spaces.
9629 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9632 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9635 * lyxserver.C: fix it. and small cleanup.
9637 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9639 * BufferView_pimpl.C: use inline helpers
9642 * LaTeXFeatures.C: fix typos
9645 * Spacing.C: move spacing_string into class
9647 * ToolbarDefaults.C: move stuff into namespace anon
9649 * layout.h: update enum
9651 * lyxfunc.C: use better debug
9653 * minibuffer.h: fix typo
9657 * WorkArea.C: add and use Debug::WORKAREA
9661 * text2.C: code re-organisation, inline helpers
9663 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9665 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9666 std::vector.empty().
9668 2001-11-09 Allan Rae <rae@lyx.org>
9670 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9671 '\n's after tables. Tabular and ERT inset work now makes this no
9674 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9677 * minibuffer.C: fix crash, improve drop-down completion
9679 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9682 * lyxserver.C: invalidate fd's when doing endPipe()
9684 2001-11-08 José Matos <jamatos@fep.up.pt>
9686 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9687 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9690 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9692 2001-11-07 José Matos <jamatos@fep.up.pt>
9695 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9698 * buffer.C (sgmlOpenTag):
9699 * buffer.C (sgmlCloseTag): removed debug info.
9701 * buffer.h (sgmlOpenTag):
9702 * buffer.h (sgmlCloseTag): made public.
9704 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9706 * buffer.C (saveParamsAsDefaults):
9707 * lyx_cb.C (MenuLayoutSave): remove
9709 * LyXAction.C (init):
9711 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9713 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9715 * buffer.C (setPaperStuff): removed from here...
9717 * bufferparams.C (setPaperStuff): ... and moved there.
9719 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9723 * XFormsView.C: add support for drop-down completion
9725 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9727 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9730 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9732 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9735 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9737 * lyx_main.C: change ref to known bugs
9739 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9741 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9742 to work around older babel problems.
9744 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9746 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9748 2001-10-24 Juergen Vigna <jug@sad.it>
9750 * tabular-old.C (ReadOld): below variable changes reflected.
9752 * tabular.[Ch]: added ltType struct for longtable header/footer
9753 defines and changed all instances where they are used. Added
9754 future support for double top/bottom rows.
9756 2001-10-24 José Matos <jamatos@fep.up.pt>
9758 * buffer.h (docbookHandleCaption):
9759 * buffer.C (docbookHandleCaption): removed unused function.
9760 (makeDocBookFile): moved docbook supported version to v4.1.
9762 2001-10-24 José Matos <jamatos@fep.up.pt>
9765 * tabular.C (docbookRow): new function to export docbook code of a row.
9766 (DocBook): now honors the longtable flags.
9768 2001-10-23 José Matos <jamatos@fep.up.pt>
9771 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9772 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9774 * buffer.C (makeLinuxDocFile):
9775 (makeDocBookFile): reworked the preamble, more clean, and with
9776 support for lyx defined entities. Changed the document declaration
9777 to be more XML friendly.
9779 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9780 if we need to output XML that should be done with a filter.
9782 2001-10-22 Juergen Vigna <jug@sad.it>
9784 * sp_pspell.h (class PSpell): add alive function needed in the
9785 controller to see if the spellchecker could be started.
9787 2001-10-22 Juergen Vigna <jug@sad.it>
9789 * buffer.C (insertStringAsLines): modify the font for inserting
9790 chars in certain conditions by calling checkInsertChar(font).
9792 2001-10-19 Juergen Vigna <jug@sad.it>
9794 * text.C (workWidth): use getRow instead of wrong algorithm.
9795 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9797 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9802 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9804 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9806 * text.C (workWidth): do not search for the exact row when
9807 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9808 optimization for big documents.
9810 2001-10-18 Juergen Vigna <jug@sad.it>
9812 * text.C (workWidth): new function with added Inset * parameter.
9814 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9816 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9818 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9819 change return type of getColumnNearX.
9822 * text.C (changeRegionCase): use uppercase/lowercase instead of
9825 (rightMargin): simplify code by factoring out the uses of
9830 (appendParagraph): use Paragraph::size_type
9832 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9834 * vspace.C (asLatexString): add a missing break
9836 2001-10-15 Herbert Voss <voss@perce.de>
9838 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9840 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9842 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9845 2001-10-10 André Pönitz <poenitz@gmx.net>
9847 * lyxfunc.C: removed greek_kb_flag.
9849 2001-10-10 Herbert Voss <voss@perce.de>
9851 * lyx_main.C: delete global string help_lyxdir.
9853 2001-10-09 Herbert Voss <voss@perce.de>
9855 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9857 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9859 * lyx_main.C: added global string help_lyxdir.
9861 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9863 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9865 * lyxrc.C (set_font_norm_type): support iso8859-4
9867 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9869 * LaTeX.C (deplog): add another regex for MikTeX
9871 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9873 * lyxrc.C (set_font_norm_type): support iso8859-3
9875 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9877 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9879 * LaTeXFeatures.C: remove special case of french and index
9881 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9882 before \begin{document}). This solves several incompatibilities.
9884 2001-10-03 Garst Reese <reese@isn.net>
9886 * lyx_cb.C: change CheckTex error msg.
9888 2001-10-03 José Matos <jamatos@fep.up.pt>
9890 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9892 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9894 * .cvsignore: update
9896 * lyx_main.C (commandLineVersionInfo): use new style version info.
9898 * buffer.C (writeFile):
9901 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9903 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9905 * version.h: update to use stuff in version.C
9907 * version.C.in: new file. Contains version information determined
9908 at compile time. This is a merging of version.h and
9911 2001-10-03 Juergen Vigna <jug@sad.it>
9913 * BufferView_pimpl.C (update): don't change "dirty" status in
9916 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9918 * WorkArea.C (c-tor): re-position version string slightly.
9920 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9922 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9923 revert to previous code.
9925 WorkArea.[Ch]: (show, destroySplash): methods removed.
9927 WorkArea.C: rework code so that it's an amalgam of the codes before and
9928 after the splash screen was moved to WorkArea.
9930 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9933 * vspace.C (inPixels):
9936 * buffer.C (insertStringAsLines):
9937 (asciiParagraph): fix types to be large enough
9939 * lyxlex_pimpl.h: change member status from short to int
9941 * layout.h: fix type of endlabeltype
9944 * kbsequence.C (parse): change return type to string::size_type
9946 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9949 * Bullet.C (bulletSize):
9950 (bulletEntry): do not use short ints as parameters
9952 * BufferView2.C (insertLyXFile): change a char to an int.
9954 * WorkArea.C (WorkArea): remove unneeded floats in computation
9956 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9958 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9960 * paragraph.C (asString): Do not ignore newline/hfill chars when
9961 copying to the clipboard.
9963 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9965 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9966 after a multi-line inset.
9968 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9970 * paragraph.C (validate): Set NeedLyXFootnoteCode
9972 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9974 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9975 and decrease-error to decrease.
9977 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9979 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9980 it more readable (should be equivalent)
9982 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9984 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9986 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9988 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9989 of a cursor (row, etc.) after a character has been deleted
9990 (deleteEmptyParagraphMechanism): call the method above on _all_
9991 cursors held by the LyXText when a double space has been
9994 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9996 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9998 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10000 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10001 background. Use greyOut() and the new show() methods to toggle between
10002 the foreground and background. Add code to remove the splash after
10003 its initial showing.
10005 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10006 (create_forms): no longer call Dialogs::showSplash.
10008 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10010 * .cvsignore: add version_info.h
10012 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10014 * version_info.h.in: new file
10016 * Makefile.am: add version_info.h.in
10018 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10019 version_info.h instead of VERSION_INFO
10021 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10023 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10024 The ERT inset now returns string().
10026 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10028 * lyxtext.h, text.C (selectNextWord): renamed as
10029 selectNextWordToSpellcheck.
10031 * text.C (selectNextWordToSpellcheck): Modified to not select
10032 words inside an ERT inset.
10034 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10036 * lyx_cb.C (MenuLayoutSave): change a bit the question
10038 * sp_base.h: include <sys/types.h>
10040 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10042 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10044 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10046 * several files: fix typos in user-visible strings
10048 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10050 * text2.C (pasteSelection): do not set the selection, since it
10051 will be cleared later. Actually, the intent was to fix the way the
10052 selection was set, but I figured rmoving the code was just as good.
10054 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10056 * FontLoader.C (available): Check if font is available without
10059 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10061 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10063 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10065 * lyxrc.[Ch]: added display_graphics variable and associated code.
10067 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10069 * bufferparams.C (hasClassDefaults): new method. Returns true if
10070 the buffer parameters correspond to known class defaults
10072 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10074 * XFormsView.C (show): set minimum size to the main window.
10076 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10078 * text2.C (copySelection):
10080 * lyxfind.C (LyXReplace):
10081 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10082 LyXText::selectionAsString.
10084 * paragraph.C (asString): add "label" argument to the second form
10086 * text2.C (selectionAsString): add "label" argument and pass it to
10087 Paragraph::asString.
10089 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10091 * lyx_main.C (commandLineHelp): remove version information
10093 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10095 * lyx_main.C: add -version commandline option
10097 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10099 * paragraph.h: make the optional constructor arg required instead.
10100 some modifications to other files because of this.
10102 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10104 * lyxserver.C (C_LyXComm_callback): make it static
10106 * lyx_main.C (error_handler): make it static
10108 * lyx_gui.C (LyX_XErrHandler): make it static
10110 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10112 * WorkArea.C: make the extern "C" methods static.
10114 * Makefile.am (lyx_LDADD): simplify
10116 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10118 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10119 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10121 * LyXAction.C (init):
10122 * lyxfunc.C (dispatch): associated code removal.
10124 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10126 * lyxfont.h (isSymbolFont): shut off warning
10128 * text.C (setHeightOfRow):
10129 (getVisibleRow): fix crash with empty paragraphs which have a
10132 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10134 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10137 2001-09-04 José Matos <jamatos@fep.up.pt>
10140 * tabular.C (docbook): rename docBook method to docbook.
10142 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10144 * Makefile.am: add dependencies to main.o.
10146 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10148 * FontLoader.C (available): Return false if !lyxrc.use_gui
10150 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10152 * FontInfo.C (query):
10153 * converter.C (view):
10154 * importer.C (Import):
10155 * exporter.C (Export): Can not -> cannot.
10157 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10159 * BufferView_pimpl.C: allow to create index inset even if
10162 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10164 * buffer.C (getLists): replace boost::tie code with an explicit pair
10165 as boost::tie can break some compilers.
10167 * iterators.h: Added a std:: declaration to the return type of
10170 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10172 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10175 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10177 * iterators.[Ch]: New files. Provide paragraph iterators.
10179 * buffer.C (changeLanguage): Use paragraph iterators.
10180 (isMultiLingual): ditto
10182 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10184 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10186 * FontLoader.C: Support for cmr font.
10188 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10190 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10191 (available): New method.
10193 * FontInfo.C (getFontname): Use scalable fonts even when
10194 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10197 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10199 * converter.C (Formats::view): reverted! Incorrect fix.
10201 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10203 * converter.C (Formats::view): only output the -paper option
10204 if the dvi viewer is xdvi, thereby fixing bug #233429.
10206 2001-08-23 Herbert Voss <voss@perce>
10208 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10210 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10212 * Spacing.h (Spacing): Set space to Default on in the default
10215 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10217 * vc-backend.h (RCS::versionString): add RCS to version
10218 (CVS::versionString): add CVS to version
10220 * vc-backend.C (scanMaster): do not add CVS to version.
10221 (scanMaster): do not add RCS to version
10223 * lyxvc.C (versionString): new method
10225 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10227 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10229 * Spacing.C (set): initialize fval
10231 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10233 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10236 2001-08-16 Juergen Vigna <jug@sad.it>
10238 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10240 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10242 * BufferView_pimpl.C:
10245 * text2.C: setParagraph takes linespacing now
10247 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10249 * LyxAction.C: add internal LFUN_CITATION_INSERT
10251 * LyXView.C: actually apply fix
10253 * bufferlist.C: fix open non-existent file
10255 * lyxfind.C: fix indentation
10257 * lyxfunc.C: remove unneeded assert, fix typo
10259 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10261 * MenuBackend.C: use "Floatname List"
10263 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10265 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10266 when converting LaTeX layout to insetERT.
10267 Generate a non-collapsed float when reading old float
10269 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10271 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10274 2001-08-13 Juergen Vigna <jug@sad.it>
10276 * text.C (fill): return 0 instead of 20 as this seems to be the more
10279 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10281 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10284 2001-08-13 Juergen Vigna <jug@sad.it>
10286 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10288 (SearchBackward): comment out the unlocking of the inset_owner this
10289 should not be needed!
10291 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10293 * Many files: Remove inherit_language, and add latex_language
10295 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10296 collapsible insets.
10298 2001-08-10 Juergen Vigna <jug@sad.it>
10300 * text.C (prepareToPrint): fixed hfill-width in draw!
10302 * BufferView2.C (selectLastWord): save the selection cursor as this
10303 now is cleared in the function LyXText::clearSelection!
10305 2001-08-08 Juergen Vigna <jug@sad.it>
10307 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10308 BACKSPACE type functions.
10310 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10311 is only cutted from the document but not put in the cut-buffer, where
10312 still the old stuff should be.
10314 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10316 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10318 * tabular.C (SetWidthOfCell): fixed special case where the width
10320 (LeftLine): handle '|' in align_special.
10322 (LeftAlreadyDrawed): ditto
10323 (SetWidthOfCell): ditto
10325 2001-08-07 Juergen Vigna <jug@sad.it>
10327 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10329 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10331 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10332 * lyxlex.[hC]: ditto
10334 2001-08-06 Juergen Vigna <jug@sad.it>
10336 * text.C (getVisibleRow): fix up row clearing a bit.
10338 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10340 * minibuffer.C: make sure the X server sees the changes in the input.
10342 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10344 * paragraph.C (getFont): split into...
10345 (getLabelFont): this
10346 (getLayoutFont): and this
10347 * paragraph_pimpl.C (realizeFont): calling this
10349 * text2.C (getFont): split into...
10350 (getLayoutFont): this
10351 (getLabelFont): and this
10352 (realizeFont): all three calling this
10354 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10357 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10359 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10361 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10363 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10364 layouts from the Quote inset insertion.
10366 2001-08-03 Juergen Vigna <jug@sad.it>
10368 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10370 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10371 only if status not is already CHANGED_IN_DRAW (second level).
10373 * text.C (draw): don't set the need_break_row when inside an
10376 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10378 * buffer.C (parseSingleLyXformat2Token): handle more latex
10381 * bufferview_funcs.[hC]: change function names to
10382 begin with small char, adjust other files.
10384 2001-08-02 André Pönitz <poenitz@gmx.net>
10387 BufferView_pimpl.C: remove broken special code for math-greek
10389 2001-08-02 Juergen Vigna <jug@sad.it>
10391 * BufferView_pimpl.C (update): redone this function so that we
10392 update the text again if there was a CHANGE_IN_DRAW.
10394 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10395 (drawFromTo): added a new internal bool which is used by draw() and
10397 (general): some cursor drawing problems fixed.
10399 2001-08-01 Juergen Vigna <jug@sad.it>
10401 * lyxfind.C (LyXFind): fixed
10402 (SearchForward): ditto
10403 (SearchBackward): ditto
10405 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10406 spurius drawing of the cursor in the main area.
10408 * text2.C (status): small fix which could lead to a segfault!
10409 (clearSelection): remove unneeded BufferView param.
10411 2001-08-01 André Pönitz <poenitz@gmx.net>
10413 * lyxfunc.C: small change due to changed mathed interface
10415 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10417 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10419 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10421 * lyxfunc.c: fail gracefully if file doesn't exist
10426 * BufferView_pimpl.C: IsDirWriteable() proto changed
10428 * LyXView.C: fix updateWindowTitle() to store the last title
10430 2001-07-31 Juergen Vigna <jug@sad.it>
10432 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10433 the font (wrong since using of Paragraph::highestFontInRange).
10435 * paragraph.C (highestFontInRange): added a default_size parameter.
10437 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10438 (setHeightOfRow): reformat
10440 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10442 * converter.[hC] + affected files: move to (inital-char)lowercase
10445 * ParagraphParameters.C (ParagraphParameters): remove commented code
10447 * PainterBase.[Ch]: remove commented code
10449 * LaTeXFeatures.h: add "bool floats" for float.sty
10451 * LaTeXFeatures.C (LaTeXFeatures): init floats
10452 (require): handle float
10453 (getPackages): do it with floats
10455 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10457 * BufferView_pimpl.C (Dispatch): improve handling of
10458 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10460 * commandtags.h: #include lyxfont.h here temporarily to avoid
10463 * bufferlist.h: include LString.h here.
10465 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10467 * text2.C (getStringToIndex): new method.
10469 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10471 * *: Reduced header file dependencies all over.
10473 2001-07-30 Baruch Even <baruch@lyx.org>
10475 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10477 2001-07-29 Baruch Even <baruch@lyx.org>
10479 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10481 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10483 * ParameterStruct.h (endif): add a default constructor to make
10484 sure that all variables is initialized.
10486 * ParagraphParameters.C (ParagraphParameters): adjust
10488 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10490 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10491 index; also, check that there is something to index, and that it
10492 does not span over several paragraphs.
10493 (doubleClick): use WHOLE_WORD_STRICT for double click.
10495 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10497 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10500 2001-07-26 Baruch Even <baruch@lyx.org>
10502 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10503 an InsetFig figure, backwards compatible reading of old figure code.
10505 2001-07-27 Juergen Vigna <jug@sad.it>
10507 * text2.C: font.realize function adaption.
10509 * text.C (draw): add a warnings lyxerr text if needed.
10511 * layout.C: font.realize function adaption.
10513 * language.C: add inherit_language and implement it's handlings
10515 * bufferview_funcs.C (StyleReset): remove language parameter from
10516 font creation (should be language_inherit now).
10518 * bufferparams.C (writeFile): handle ignore_language.
10520 * paragraph.C (getFontSettings): the language has to be resolved
10521 otherwise we have problems in LyXFont!
10523 * lyxfont.C (lyxWriteChanges): added document_language parameter
10524 (update): removed unneeded language parameter
10526 * paragraph.C (validate): fixed wrong output of color-package when
10527 using interface colors for certain fonts in certain environments,
10528 which should not seen as that on the final output.
10530 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10532 * BufferView_pimpl.C:
10537 * LyXAction.C: add thesaurus support
10540 * lyxfind.C: add "once" parameter, for thesaurus, to not
10541 move to the next match
10543 2001-07-26 Juergen Vigna <jug@sad.it>
10545 * lyxfont.C (realize): honor ignore_language too!
10548 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10550 * text.C (draw): one place more for ignore_language to not draw
10553 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10555 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10557 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10559 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10560 the minipage conversion problem.
10562 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10564 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10567 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10569 * BufferView.h: don't forward declare WorkArea
10571 * BufferView.C: don't include WorkArea.h
10573 2001-07-25 André Pönitz <poenitz@gmx.net>
10577 * lyxfunc.C: new LFUN 'math-space'
10579 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10581 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10583 * text2.C (toggleInset): call open/close
10585 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10587 * lyxfunc.C (dispatch): add debug for the disabled case
10589 * font.C (buttonText): make similar to rectText
10591 * buffer.C (readInset): comment out parsing of insetlist and
10594 * PainterBase.C (rectText): small correction
10596 * BufferView_pimpl.C: comment out insettheorem and insetlist
10597 * LyXAction.C: ditto
10598 * commandtags.h: ditto
10600 2001-07-24 Juergen Vigna <jug@sad.it>
10602 * text.C (draw): honor the ignore_language.
10604 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10606 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10608 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10611 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10613 * lyxtext.h: remove unused (and unimplemented) methods
10615 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10617 * text.C (getVisibleRow): honor background color
10620 * Painter.h: remove default color argument for fillRectangle
10622 * text.C (backgroundColor): new method
10624 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10626 * text.C (getVisibleRow): adjust
10628 * font.[Ch] (rectText): new method, metrics
10629 (buttonText): new method, metrics
10631 * PainterBase.[hC]: make rectText and buttonText always draw and take
10634 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10636 * ToolbarDefaults.C (read):
10637 * MenuBackend.C (read): allow escaping in all strings
10639 * BufferView_pimpl.C (insertAndEditInset): new method.
10640 (Dispatch): use insertAndEditInset whenever appropriate.
10642 * BufferView_pimpl.C (insertNote): removed
10644 * BufferView_pimpl.C (smartQuote): new method, moved from
10645 BufferView; if an insetquote cannot be inserted, insert a '"'
10648 * BufferView2.C: remove insertCorrectQuote();
10650 * lyxfunc.C (getStatus): Add support for all remaingin
10651 inset-insert lfuns.
10653 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10655 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10656 command (necessary to pass " as parameter of self-insert.
10658 * text.C (selectWordWhenUnderCursor):
10659 (selectWord): add word_location parameter
10660 (selectWordWhenUnderCursor): same + remove special code for word
10662 (selectNextWord): use kind() to guess type of insetspecialchar,
10665 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10666 (insertErtContents): create ert insets as collapsed.
10667 (readInset): better compatibility code for Info inset.
10669 2001-07-20 Juergen Vigna <jug@sad.it>
10671 * lyxfunc.C (dispatch): use always LyXFind now!
10673 * text2.C (init): add a reinit flag so that the LyXText can be
10674 reinited instead of deleted and reallocated (used in InsetText).
10676 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10682 2001-07-18 Juergen Vigna <jug@sad.it>
10684 * text.C (selectNextWord): handle insets inside inset by calling
10685 always the bv->text functions so that we can go up the_locking_inset!
10687 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10688 in strange locations when inside an inset!
10690 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10691 handling to include insets.
10693 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10695 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10697 * LyXAction.C (init):
10699 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10700 LIGATURE_BREAK, since the name is so stupid.
10702 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10704 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10707 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10709 * sp_form.[Ch]: remove.
10711 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10713 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10716 * src/buffer.C (readInset): ditto.
10718 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10720 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10721 menuSeparator(), endOfSentenceDot(), ldots() and
10722 hyphenationPoint(), which are therefore removed.
10723 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10725 * LyXAction.C (init):
10726 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10728 * paragraph.C (getWord): removed.
10730 * BufferView_pimpl.C (Dispatch): use last word or selection for
10731 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10733 * lyx_main.C (queryUserLyXDir): do not ask before creating
10734 user_dir, except if it has been named explicitely.
10736 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10738 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10739 a document of zero size.
10741 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10743 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10744 approriately in the c-tor and in require().
10745 (getPackages): output the appropriate LaTeX for natbib support.
10747 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10748 variables "use_natbib" and "use_numerical_citations" when reading the
10750 (readInset): read the various natbib cite commands.
10751 (validate): white-space change.
10753 * bufferparams.[Ch]: new variables "bool use_natbib" and
10754 "bool use_numerical_citations".
10755 (writeFile): output them in the LyX file.
10757 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10759 * lyxfunc.C (getStatus): add support for all the inset insertion
10762 * text2.C (insertInset):
10763 * paragraph.C (insetAllowed):
10764 * BufferView_pimpl.C (insertInset): update to take in account the
10765 renaming of insertInsetAllowed
10767 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10769 * text2.C (getInset): new method. returns inset at cursor position.
10771 * BufferView_pimpl.C (Dispatch): changes because of this.
10773 * LyXAction.C (init): rename open-stuff to inset-toggle.
10775 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10777 * text2.C (toggleInset): renamed from openStuff; use
10780 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10782 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10784 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10786 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10788 * buffer.C (readLyXformat2): Add filename to the error dialog
10790 2001-07-18 Juergen Vigna <jug@sad.it>
10792 * tabular.C (GetCellNumber): put an assert here instead of the check!
10794 2001-07-17 Juergen Vigna <jug@sad.it>
10796 * BufferView_pimpl.C (toggleSelection): adapted too.
10798 * text.C (selectNextWord): adapted for use with insets.
10799 (selectSelectedWord): ditto
10801 2001-07-17 Juergen Vigna <jug@sad.it>
10803 * sp_spell.C (PSpell): fix initialitation order.
10805 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10807 * paragraph.C: spacing
10809 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10811 * sp_spell.C: repair language selection for pspell
10813 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10815 * lyxfunc.h: change more methods to begin with lower char.
10817 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10819 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10820 for unknown layouts.
10822 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10824 * buffer.C (readLyXformat2): Generate an error dialog if there are
10827 2001-07-16 Juergen Vigna <jug@sad.it>
10829 * sp_spell.C: always compile ISpell part.
10831 * lyxrc.C: added use_pspell entry and it's handling.
10833 2001-07-13 Juergen Vigna <jug@sad.it>
10835 * sp_spell.C: removed double includes.
10837 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10839 Consistent use of Lsstream.h:
10840 * Lsstream.h: added using std::stringstream for consistencies sake.
10842 * buffer.C: removed using std::stringstream
10844 * lyxfont.C (stateText):
10845 * paragraph.C (asString):
10846 * text.C (selectNextWord, selectSelectedWord):
10847 * text2.C (setCounter):
10848 * vspace.C (asString, asLatexString):
10849 std::ostringstream -> ostringstream.
10851 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10853 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10854 * commandtags.h: add LFUN_HELP_ABOUTLYX
10855 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10857 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10859 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10861 * lyx_gui_misc.C: remove spellchecker
10862 * lyxfunc.C: showSpellchecker
10864 * sp_ispell.h: added
10865 * sp_pspell.h: added
10866 * sp_spell.C: added
10867 * sp_form.[Ch]: removed
10868 * spellchecker.[Ch]: removed
10870 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10872 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10874 (simpleTeXSpecialChars): Simply print the input character without
10875 any special translation if pass_thru is set.
10877 * layout.h: Added bool pass_thru to layout class for being able to
10878 implement pass through of a paragraph for Literate Programming.
10880 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10881 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10882 * layout.C (Read): add "passthru" to list of layout tags and add
10883 code to set the pass_thru boolean when it is read.
10885 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10887 * trans_decl.h: remove allowed from KmodInfo
10889 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10890 remove allowed code
10893 * paragraph_pimpl.C (erase): use boost::prior
10895 * Painter.C (text): use data() instead of c_str() when length is
10897 * WorkArea.C (putClipboard): ditto
10898 * font.h (width): ditto
10900 * BufferView2.C: use it-> instead of (*it). for iterators
10902 * paragraph_pimpl.C: ditto
10903 * paragraph.C: ditto
10904 * minibuffer.C: ditto
10905 * language.C: ditto
10907 * encoding.C: ditto
10908 * counters.C: ditto
10909 * converter.C: ditto
10911 * Variables.C: ditto
10912 * TextCache.C: ditto
10913 * MenuBackend.C: ditto
10914 * LyXAction.C: ditto
10916 * FloatList.C: ditto
10917 * DepTable.C: ditto
10918 * ColorHandler.C (LyXColorHandler): ditto
10920 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10922 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10924 * text2.C (openStuff): reintroduce this method (which had been
10925 nuked in NEW_INSETS frenzy).
10927 * lyxfunc.C (Dispatch): when an action has not been handled, use
10928 its name in the error message, not its number.
10930 * paragraph.C (inInset): change method name to begin with lowercase.
10933 * text2.C: updates because of this.
10935 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10937 * ToolbarDefaults.C (add): add spaces in error message
10939 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10941 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10942 (readLyXformat2): rename return_par to first_par, use lyxlex's
10943 pushToken and remove the manual push handling.
10944 (parseSingleLyXformat2Token): add another ert comp. variable:
10945 in_tabular, rename return_par to first_par. handle newlines better
10947 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10949 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10951 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10953 * text2.C (getParFromID): removed
10955 * buffer.C (getParFromID): new method moved form lyxtext.
10956 * BufferView2.C (insertErrors): adjust
10957 (setCursorFromRow): adjust
10958 * BufferView_pimpl.C (restorePosition): adjust
10959 * lyxfunc.C (Dispatch): adjust
10960 * undo_funcs.C (textUndo): adjust
10962 (textHandleUndo): adjust
10963 (textHandleUndo): adjust
10965 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10967 * buffer.C: up' the LYX_FORMAT
10969 * lyxfont.h: turn NO_LATEX on as default
10971 * buffer.C (insertErtContents): new methods of tex style compability.
10972 (parseSingleLyXformat2Token): use it several places.
10973 * tabular.C (OldFormatRead): and here
10975 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10977 * text2.C: remove some commented code.
10980 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10981 * trans.C: changes because of the above.
10983 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10985 * text2.C (setCounter): Fix counters bug with bibliography layout.
10987 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10989 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10990 own member functions
10991 (simpleTeXSpecialChars): ditto
10993 2001-07-06 Juergen Vigna <jug@sad.it>
10995 * a lot of files: changed the access to LyXText::status and the
10996 call of undo-functions.
10998 * undo.[Ch]: added a inset_id to the undo informations.
11000 * undo_funcs.[Ch]: added and moved here all undo functions.
11002 * lyxtext.h: give the status enum a weight, made status_ a private
11003 variable and made accessor functions for it, removed the whole bunch
11004 of undo-functions as they are now in their own file, make some
11005 functions publically available. Added function ownerParagraph with
11008 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11009 made InInset() a const function, added getParFromID() function.
11011 * buffer.[Ch]: added const version for inset_iterator functions,
11012 added getInsetFromID() function.
11014 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11015 changed undo functions for new version.
11017 2001-07-05 Juergen Vigna <jug@sad.it>
11019 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11020 unknow mechanism does not call the proper constructor but only this
11021 one also if I request the other!?
11023 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11025 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11027 * text2.C (LyXText): use initialization lists.
11029 * lyxtext.h (Selection): initialize set_ and mark_
11030 (init): remove method
11032 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11034 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11036 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11038 * screen.[Ch]: change method names to begin with lowercase
11040 * BufferView_pimpl.C (updateScrollbar): simplify further and
11041 hopefully make it a bit faster.
11043 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11045 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11046 calling directly xforms functions.
11048 * Painter.C (Painter):
11049 * lyx_cb.C (MenuWrite):
11050 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11053 * lyx_gui.C: remove bogus guiruntime extern declaration.
11055 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11057 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11059 (redoDrawingOfParagraph): ditto
11060 (redoParagraphs): ditto
11061 (cutSelection): don't create a object for CutAndPaste use the
11062 static method directly
11063 (pasteSelection): ditto
11065 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11068 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11070 * modifications to some other files because of this.
11072 * Makefile.am (lyx_SOURCES): add XFormsView
11074 * XFormsView.[Ch]: new files
11076 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11077 the main window. Move the gui dependent stuff to XFormsView
11079 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11081 * tabular.C (GetCellInset): update cur_cell also in the row/col
11082 version of this function.
11084 * lyxfunc.C: no need to include figure_form.h here.
11090 * lyxvc.C: no need to include forms.h here.
11092 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11094 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11096 * lyxfunc.C (Dispatch):
11098 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11099 constructor argument.
11101 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11103 * paragraph.C (Paragraph): dont't clear, and just set layout.
11104 (makeSameLayout): use params's copy contructor.
11106 * ParagraphParameters.[Ch] (makeSame): delete method
11108 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11110 * Variables.[Ch]: fix indentation, rename set to isSet
11112 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11114 * lyxfunc.C (Dispatch): fix typo
11116 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11118 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11121 * bufferlist.C: include assert.h for emergencyWrite().
11123 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11125 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11126 give up at last (bug #425202) !
11128 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11134 * spellchecker.C: strip spellchecker options and bring up
11135 preferences tab instead
11137 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11139 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11140 the istringstream constructor
11142 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11144 * paragraph.C (getLayout): fix return value
11146 * paragraph.h: do not declare getLayout as inline.
11148 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11150 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11152 * lyxcursor.h (operator<): new func
11153 (operator>): new func
11154 (operator>=): new func
11155 (operator<=): new func
11157 * text.C (changeCase): use selection.start and selection.end
11158 (changeRegionCase): require from to be <= to. Require par to be a
11161 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11163 2001-06-27 Juergen Vigna <jug@sad.it>
11165 * text.C (cursorLeftOneWord): changed to return the cursor and added
11166 overlay with BufferView * parameter which calls this one.
11168 (selectWord): use new getWord function.
11169 (changeCase): renamed from changeWordCase as and extended to work
11170 also on selections.
11172 * lyxtext.h: added enum word_location
11174 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11175 changeCase as this operates now also on selections.
11177 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11179 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11181 * many files: send debug output to Debug::INFO instead of
11184 * converter.C (View):
11186 (Move): send debug output to Debug::FILES instead of console.
11188 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11190 * lyxfunc.C (getStatus): use func_status
11192 * func_status.h: new header, describing the results of
11193 LyXFunc::getStatus;
11195 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11198 2001-06-25 The LyX Project <jug@sad.it>
11200 * buffer.C (sgmlOpenTag):
11202 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11204 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11206 * text2.C: remove some dead code
11208 * tabular.C (GetCellInset): store the last cell checked (gotten)
11210 * tabular.h: add the helper for the speedup
11212 * lyxtext.h: remove some dead code
11214 2001-06-26 The LyX Project <Asger>
11216 * paragraph.C: Change export to LaTeX of alignment to
11217 \begin{center} and family for better roundtrip work with reLyX.
11219 * Tune the math drawing a bit.
11221 2001-06-25 The LyX Project <Asger>
11223 * LColor.C (LColor): New color for math background. New color
11226 2001-06-25 The LyX Project <jug@sad.it>
11228 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11230 * lyxfunc.C (Open):
11231 * bufferlist.C (newFile): do not restrict to files ending with
11234 * BufferView_pimpl.C (MenuInsertLyXFile):
11236 2001-06-24 The LyX Project <jug@sad.it>
11238 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11241 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11243 * lyxtext.h: rename most methods to begin with a small char.
11244 Lots of changes because of this.
11246 * paragraph.C (Paragraph): do not call fitToSize
11247 (erase): call Pimpl::erase
11248 (insertChar): call Pimpl::insertChar
11249 (insertInset): call Pipl::insertInset
11250 (breakParagraph): do not call fitToSize
11251 (breakParagraphConservative): do not call fitToSize
11252 (fitToSize): remove method
11254 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11256 2001-06-24 The LyX Project <Asger>
11258 * Fix Qt compilation^2
11260 2001-06-24 The LyX Project <jug@sad.it>
11262 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11263 depthHook(getDepth()-1).
11266 * ParagraphParameters.h:
11267 * ParameterStruct.h: change type of depth to unsigned int ==
11268 depth_type. Many adaptations to other files before of that.
11270 2001-06-24 The LyX Project <Asger>
11272 * Fix Qt compilation.
11274 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11276 * paragraph.h: renamed several methods to begin with small letter.
11277 several changes to many parts of the code because of this.
11279 2001-06-23 The LyX Project <jug@sad.it>
11281 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11282 rewritten to discard all double spaces when KeepEmpty is off
11283 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11284 to only handle newlines but not fiddle with spaces and friends.
11286 * lyxfunc.C (MenuNew): when doing 'new from template', use
11287 template_path as default directory
11289 2001-06-23 The LyX Project <Asger>
11291 * Clean-up of header file includes all over
11292 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11294 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11296 * paragraph.h: renamed from lyxparagraph.h
11298 2001-06-23 Asger <lyx@violet.home.sad.it>
11300 * Buffer.h: Removed Buffer::resize
11301 * BufferList.h: Removed BufferList::resize
11302 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11303 the document lazily when we change the width, or the font settings.
11305 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11307 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11309 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11311 * buffer.h: remove out of date comment
11313 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11316 * screen.C: fix "theoretical" GC leak
11318 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11320 * LaTeX.C (scanAuxFile):
11321 (deplog): remove trailing \r when reading stream (useful under
11324 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11326 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11327 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11328 and BufferView::theLockingInset(Inset*), so should use them and not
11329 access bv_->text->the_locking_inset directly.
11331 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11333 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11336 * tex-defs.h: remove old unused file
11338 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11340 * BufferView_pimpl.C: fix typo, remove minibuffer message
11341 when buffer has loaded
11343 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11345 * lyxfunc.C (Dispatch): use stringstream
11346 (MenuNew): use stringstream
11347 (Open): use stringstream
11349 * importer.C (Import): use stringstream
11351 * bufferview_funcs.C (CurrentState): use stringstream
11353 * LaTeX.C (run): use stringstream
11355 * BufferView_pimpl.C (savePosition): use stringstream
11356 (restorePosition): use stringstream
11357 (MenuInsertLyXFile): use stringstream
11359 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11372 * vspace.C: removed // -*- C++ -*- as first line.
11375 * version.h: added // -*- C++ -*- as first line.
11377 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11379 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11381 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11384 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11386 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11389 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11391 * gettext.C: include LString.h even when --disable-nls is on.
11393 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11395 * converter.h (Get): changed argument type from int to
11396 FormatList::size_type to avoid unnecessary conversion.
11398 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11401 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11403 * gettext.h: include LString.h even when --disable-nls is on.
11405 2001-06-07 Juergen Vigna <jug@sad.it>
11407 * text.C (BreakAgain): subst spaces with tabs.
11409 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11410 (resizeInsetsLyXText): set force on resizeLyXText.
11412 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11414 * gettext.h (gettext_init):
11415 (locale_init): use a real definition instead of a macro
11417 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11419 * Bufferview_pimpl.C:
11421 * LColor.C: further lcolor tidies
11423 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11425 * BufferView_pimpl.C (updateScrollbar): simplify.
11427 * BufferView2.C: don't include insets/insetinfo.h, change
11428 prototype for insertInset and call the Pimpl version. let
11429 updateInset call Pimpl version.
11431 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11432 gotoInset to BufferView::Pimpl
11434 2001-06-01 Juergen Vigna <jug@sad.it>
11436 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11437 inside a LockingInset (is the update needed at all?).
11439 2001-05-31 Juergen Vigna <jug@sad.it>
11441 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11442 here not the old one otherwise how should we compare it afterwards
11445 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11450 * FontInfo.C: bring C functions into global namespace when
11453 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11455 * LString.h: make sure config.h has been loaded before LString.h.
11457 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11458 (one for each char read by EatLine!).
11460 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11463 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11465 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11466 to the same as the par we break from
11468 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11470 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11472 * MenuBackend.C (expand): also create menu entries for wide
11473 versions of the floats.
11475 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11477 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11479 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11480 frontends/Makefile.am
11486 * tabular.C (getTokenValue): add std::
11488 * tabular-old.C (getTokenValue): add std::
11489 (getTokenValue): ditto
11490 (getTokenValue): ditto
11492 * screen.C (ToggleSelection): adjust
11494 * lyxtext.h: put selection cursors inside a Selection struct.
11496 * lyxfunc.C (moveCursorUpdate): adjust
11498 * lyxfont.C (latexWriteStartChanges): add std::
11500 * lyxfind.C: adjust
11502 * font.h: delete with(char const *, LyXFont const &)
11504 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11506 * FontInfo.C (getFontname): add std::
11508 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11509 (workAreaButtonPress): adjust
11510 (tripleClick): adjust
11512 (moveCursorUpdate): adjust
11515 * BufferView2.C (gotoInset): adjust
11517 2001-05-30 Juergen Vigna <jug@sad.it>
11519 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11520 to check pspell I add this as default as I now have new pspell
11521 libraries and they seem to use this.
11523 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11525 * text2.C (CutSelection): make the cursor valid before the call to
11528 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11530 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11531 relied on 0 terminated strings and other horrors. Bug found due to
11532 the new assert in lyxstring!
11534 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11537 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11539 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11542 * lyxfunc.C (processKeySym): change method of getting to the
11545 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11546 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11547 * BufferView_pimpl.[Ch]: here as private methods.
11549 2001-05-28 Juergen Vigna <jug@sad.it>
11551 * text.C (SetHeightOfRow): added the update() call again as it is
11552 needed to initialize inset dimensions!
11554 2001-05-16 Juergen Vigna <jug@sad.it>
11556 * text2.C (SetCharFont): Add new function with BufferView * and
11557 bool toggleall parameters for setting insets internal fonts.
11558 (SetFont): Freeze the undo as we may change fonts in Insets and
11559 all this change should be inside only one Undo!
11561 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11562 setting font's in insets as for them we have the SetFont function!
11564 2001-05-15 Juergen Vigna <jug@sad.it>
11566 * text2.C (ClearSelection): to be sure we REALLY don't have any
11569 * tabular.C (TeXCellPreamble): fixed the left border problem for
11572 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11574 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11577 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11579 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11580 LFUN_BREAKPARAGRAPH.
11582 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11583 help test to "internal only", similar for LFUN_INSERT_URL
11585 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11586 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11587 auto_region_delete and deadkeys.
11589 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11592 * LColor.C: remove some dead entries, tidy a little
11594 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11596 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11598 (Dispatch): implement LFUN_ESCAPE
11600 * commandtags.h: add LFUN_ESCAPE
11602 * LyXAction.C (init): add entry for LFUN_ESCAPE
11604 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11605 Remove commented code.
11606 (insertNote): moved here
11607 (open_new_inset): moved here
11609 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11612 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11614 * kbmap.C (findbinding): clean it up and make it work correctly.
11616 * lyx_main.C (init): do not pass argc and argv as parameters
11618 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11620 * buffer.C: fix path for OS/2 & Win32
11624 * lyx_main.C: Added os:: class.
11626 * os2_defines.h: update
11628 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11630 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11631 better by trying again with reduced state.
11633 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11635 * lyxrc.C (read): print error about invalid key sequence only when
11636 debugging (because not all latinX keysyms are known to some X
11639 * kbsequence.C (getiso): add a few std:: qualifiers
11640 (getiso): comment out extra return statement.
11642 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11644 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11646 (Dispatch): enhance the accent inset a bit. (not perfect)
11648 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11650 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11652 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11654 * bufferlist.C (emergencyWrite): fix assert() call
11656 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11658 * text.C (InsertChar): Added trivial patch to only send the "you
11659 can not do multiple spaces this way" message once during a
11662 2001-05-08 Baruch Even <baruch@lyx.org>
11664 * Makefile.am: Changed order of libraries to get LyX to link properly
11665 with the gnome frontend.
11667 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11669 * LaTeXFeatures.h: add a std:: qualifier
11671 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11673 * paragraph.C (String): use stringstream
11675 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11677 * paragraph.C (writeFile): remove footflag arg
11679 * buffer.C (makeLaTeXFile): use stringstream
11680 (latexParagraphs): remove footnot gurba
11682 * LaTeXFeatures.C (getPackages): use stringstream
11683 (getMacros): likewise
11684 (getTClassPreamble): likewise
11685 (getFloatDefinitions): new method
11687 * paragraph.C (writeFile): reindent
11690 * WorkArea.h: revert the xpos + etc changes.
11692 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11694 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11696 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11697 (pasteSelection): likewise
11698 * text2.C (CreateUndo): likewise
11700 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11702 * minibuffer.C (peek_event): temporarily reduce the functionality
11703 of the minibuffer (to allow args on lfuns)
11705 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11706 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11708 * buffer.C (readInset): add compability reading of old float
11709 lists, add reading of new style float list.
11710 (readInset): avoid reevaluation of inscmd.getCmdName()
11711 (getLists): reindent
11713 * MenuBackend.C (MenuItem): implement parsing of
11714 md_floatlistinsert and md_floatinsert.
11715 (expand::LastFiles): move initalizaton of iterators out of loop,
11716 avoid reevaluation.
11717 (expand::Documents): introduce typdedef vector<string> Strings,
11719 (expand::ExportFormats): introduce typedef vector<Format const *>
11720 Formats, and use it.
11721 (expand): implement FloatListInsert and FloatInsert.
11723 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11724 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11725 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11727 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11729 (Dispatch::LFUN_FLOAT_LIST): implement
11731 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11733 * LaTeX.C (run): Fix problem with --export code.
11735 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11737 * BufferView.[Ch] (workarea): removed.
11738 (getClipboard) new method; wrapper for workarea()->getClipboard()
11740 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11743 * WorkArea.h (width, height, xpos, ypos): These methods all
11744 returned the dimensions of the work_area sub-area of WorkArea,
11745 resulting in a position error if the WorkArea were resized. Now
11746 return the dimensions of the entire WorkArea.
11748 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11750 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11752 * LaTeX.C (deplog): correct the syntax of regex reg1
11754 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11756 * undo.C: remove !NEW_INSETS cruft
11758 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11760 * text2.C: remove !NEW_INSETS cruft
11762 * text.C: remove !NEW_INSETS cruft
11764 * tabular.C: remove !NEW_INSETS cruft
11766 * spellchecker.C: remove !NEW_INSETS cruft
11768 * lyxtext.h: remove !NEW_INSETS cruft
11770 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11772 * lyxfunc.C: remove !NEW_INSETS cruft
11774 * lyxfind.C: remove !NEW_INSETS cruft
11776 * lyx_cb.C: remove !NEW_INSETS cruft
11778 * figureForm.C: remove !NEW_INSETS cruft
11780 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11782 * buffer.[Ch]: remove !NEW_INSETS cruft
11784 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11786 * CutAndPaste.C: remove !NEW_INSETS cruft
11788 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11790 * BufferView2.C: remove !NEW_INSETS cruft
11792 * BufferView.h: remove !NEW_INSETS cruft
11794 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11796 * Lsstream.h: include LString.h before the sstream headers to
11797 fix problem with gcc 2.95.3 and lyxstring
11799 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11801 * lyx_main.C: add using directives when needed for C functions
11802 declared in std:: namespace.
11804 2001-04-27 Juergen Vigna <jug@sad.it>
11806 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11807 (SetHeightOfRow): comment out the update call should not be needed!
11809 2001-04-13 Juergen Vigna <jug@sad.it>
11811 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11812 (LyXTabular): tried to minimize operator= operations (and realized
11813 hopfully Lars wish).
11815 2001-04-27 Juergen Vigna <jug@sad.it>
11817 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11819 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11821 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11823 * buffer.C (readInset): hack to make listof algorithm work
11825 * BufferView_pimpl.C: hack to make listof algorithm work
11827 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11829 * LyXAction.C: removed all !NEW_INSETS cruft
11830 (init): moved lfun_item in method
11832 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11834 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11836 * BufferView2.C (theLockingInset): white space.
11838 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11840 * minibuffer.C: include <iostream>
11842 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11844 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11846 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11848 * text.[Ch] (TransposeChars): new method
11850 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11852 * call message directly through LyXView instead of through LyXFunc
11853 * BufferView2.C: adjust
11854 * BufferView_pimpl.C: adjust
11855 * FontLoader.C: adjust
11857 * bufferview_funcs.C: adjust
11858 * converter.C: adjust
11859 * figureForm.C: adjust
11860 * importer.C: adjust
11862 * lyx_gui_misc.C: adjust
11863 * lyxfunc.C: adjust
11866 + more files in subdirs
11868 * lyxparagraph.h (size): move up int file
11871 * adjust all uses of Assert to lyx::Assert.
11873 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11874 lyxfunctional in namespace lyx
11875 * layout.C (hasLayout): ditto
11878 (delete_layout): ditto
11879 (NumberOfClass): ditto
11880 * converter.C (GetFormat): ditto
11885 * bufferlist.C (getFileNames): ditto
11886 (emergencyWriteAll): ditto
11889 * MenuBackend.C (hasSubmenu): ditto
11892 * BufferView_pimpl.C (getInsetByCode): ditto
11894 2001-04-18 Juergen Vigna <jug@sad.it>
11896 * vspace.C (asLatexString): fixed the 100% problem.
11898 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11900 * lyxfunc.C (Dispatch):
11902 * minibuffer.h: add a few std:: qualifiers
11904 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11906 * minibuffer.[Ch]: reimplement so that commands is initiated and
11907 run from lyxfunc, simplified som handling, and made the completion
11908 and history code for complete. wip.
11910 * lyxfunc.C (processKeySym): call message
11911 (miniDispatch): new temporary method
11912 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11913 (LFUN_MESSAGE): implement
11914 (LFUN_MESSAGE_PUSH): implement
11915 (LFUN_MESSAGE_POP): implement
11916 (initMiniBuffer): the initial/defualt minibuffer message.
11918 * lyxfont.[Ch]: inline some more getters
11920 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11922 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11924 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11925 (AutoSave): use LFUN_MESSAGE
11926 (Reconfigure): ditto
11928 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11930 * figureForm.C: use LFUN_MESSAGE
11932 * converter.C (runLaTeX): use LFUN_MESSAGE
11934 * bufferview_funcs.C: use LFUN_MESSAGE
11936 (changeDepth): ditto
11938 * bufferparams.h: use boost::
11940 * bufferlist.h: inherit privately from noncopyable
11942 * bufferlist.C (loadLyXFile): remove some commented code.
11944 * buffer.C (runChktex): use LFUN_MESSAGE
11946 * ShareContainer.h: inherit privately from noncopyable
11948 * ParagraphParameters.[hC] (depth): inline it.
11950 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11952 (message): new method
11953 (messagePush): ditto
11954 (messagePop): ditto
11955 (show): init minibuffer
11956 (showState): direct call
11958 * LaTeX.[Ch]: inherit privately from noncopyable
11959 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11960 instead of WriteStatus.
11962 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11964 * BufferView_pimpl.C (buffer): don't init minibuffer
11965 (workAreaButtonPress): use LFUN_MESSAGE
11966 (workAreaButtonRelease): ditto
11967 (savePosition): ditto
11968 (restorePosition): ditto
11969 (MenuInsertLyXFile): ditto
11970 (workAreaExpose): don't init minibuffer
11971 (update): remove commented code, simplify
11973 * BufferView2.C (openStuff): use LFUN_MESSAGE
11974 (toggleFloat): ditto
11977 (copyEnvironment): ditto
11978 (pasteEnvironment): ditto
11983 (updateInset): remove some commented code
11985 * lastfiles.h: inherit privately from noncopyable
11988 * lyx_main.h: ditto
11990 * lyxlex_pimpl.h: ditto
11992 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11993 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11994 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11996 * LyXAction.h: inherit privately from noncopyable, add methods
11997 func_begin, func_end, returning iterators to the func map.
11999 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12000 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12001 (func_begin): new method
12002 (func_end): new method
12004 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12006 (copySelection): ditto
12007 (pasteSelection): ditto
12009 * BufferView.C: whitespace change
12010 * BufferView.h: inherit privately from noncopyable
12012 2001-04-16 Allan Rae <rae@lyx.org>
12014 * tabular-old.C (l_getline):
12015 * spellchecker.C (sc_check_word):
12016 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12017 an unrecognised preprocessor directive. So ensure they're wrapped.
12019 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12021 * src/exporter.C (Export): Give an error message when path to file
12024 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12026 * LaTeX.C (deplog): Always check that foundfile exists.
12028 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12031 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12033 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12035 * tabular.[Ch] (getLabelList): implement new method
12037 * minibuffer.h: comment ouf setTiimer
12039 * minibuffer.C (ExecutingCB): constify res
12040 (peek_event): constify s
12041 (Set): constify ntext
12042 (Init): constify nicename
12044 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12046 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12047 (savePosition): use two params to Minibuffer::Set
12048 (restorePosition): ditto
12050 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12052 * lyx_main.C: include language.h
12054 * Makefile.am (lyx_main.o): add language.h
12056 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12062 * CutAndPaste.C: include gettext.h
12064 * lyxfont.h: remove old hack with ON and OFF.
12067 * lyxfont.h: do not include language.h...
12072 * bufferview_funcs.C:
12078 * paragraph.C: ... but do it here instead
12080 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12082 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12084 * tabular.C: small reformat
12086 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12089 (BreakParagraph): ditto
12090 (SetOnlyLayout): ditto
12093 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12096 * lastfiles.C: removed most using decl, add std:: where needed
12098 * buffer.C: ws changes
12100 * MenuBackend.C (class compare_format): put into anon namespace
12101 (expand): constify label, names, action, action2
12104 * text.C (SingleWidth): constify font
12105 (IsBoundary): constify rtl2
12106 (GetVisibleRow): constify ww
12108 * LaTeX.C (deplog): constify logfile
12110 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12112 (workAreaExpose): constify widthChange, heightChange
12114 * lyxrow.C (par): moved
12117 * lyxrow.h: as inlines here
12119 * lyxfont.h (shape): moved from lyxfont.C
12120 (emph): moved from lyxfont.C
12122 * lyxfont.C (LyXFont): use initialization list for all
12124 (shape): move to lyxfont.h as inline
12125 (emph): move to lyxfont.h as inline
12128 2001-04-04 Juergen Vigna <jug@sad.it>
12130 * vspace.C: had to include stdio.h for use of sscanf
12132 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12135 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12136 independent of xforms.
12138 2001-04-02 Juergen Vigna <jug@sad.it>
12140 * spellchecker.C: fixed namespace placing!
12142 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12144 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12145 the LyXParagraph * is 0.
12147 2001-03-29 Juergen Vigna <jug@sad.it>
12149 * vspace.C: added support for %, c%, p%, l%.
12150 (stringFromUnit): added helper function.
12151 (asLatexString): changed to give right results for the %-values.
12153 * buffer.C: convert the widthp in a width%.
12155 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12157 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12160 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12161 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12163 * lyx_cb.[Ch]: see above.
12165 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12169 * lyx.[Ch]: replaced by figure_form.[Ch].
12173 * lyxfunc.C: changed headers associated with above changes.
12175 2001-03-27 Juergen Vigna <jug@sad.it>
12177 * BufferView_pimpl.C: set the temporary cursor right!
12179 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12181 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12183 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12185 * LString.h: removed "using std::getline"!
12187 * BufferView_pimpl.C (Dispatch): changes due to changes in
12188 InsetInclude::Params.
12190 * buffer.C (tag_name): removed redundant break statements as they were
12191 producing lots of warnings with my compiler.
12193 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12195 * LString.h: add "using std::getline" when using the real <string>.
12197 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12199 * buffer.C: removed bitset usage.
12200 PAR_TAG moved to an anonymous name space.
12201 (tag_name): new funtion, also in the anonymous namespace.
12202 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12203 (makeDocBookFile): clean code. Completed transition from string arrays
12205 (SimpleDocBookOnePar): code clean.
12207 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12209 * tabular.C: add some comments.
12211 2001-03-22 Juergen Vigna <jug@sad.it>
12213 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12214 compatibility read a bit and fixed bug with minipage in different
12217 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12219 * buffer.C (pop_tag): removed.
12220 (push_tag): removed.
12221 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12222 array replaced with vector. Added support for CDATA sections.
12223 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12225 (makeDocBookFile): XML conformant declaration of CDATA section,
12226 fixed bug related to <emphasis> in the first paragraph char.
12227 (sgmlOpenTag): exclude empty tags.
12228 (sgmlCloseTag): ditto.
12230 * buffer.h (pop_tag): removed.
12231 (push_tag): removed.
12233 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12235 * language.h (Languages): added size_type and size().
12237 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12239 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12240 response on compability reading of minipages. One probliem is that
12241 the old usage of minipages was «flertydig»
12243 * several files here and in subdirs: don't use static at file
12244 scope use anon namespaces instead.
12246 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12248 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12249 LaTeX output. This is necessary for Literate document
12252 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12254 * buffer.C: insert hfill when needed.
12256 * tabular.C (l_getline): use string::erase, small whitespace change.
12258 * BufferView_pimpl.C: try the anon namespace.
12259 * WorkArea.C: ditto
12261 2001-03-16 Juergen Vigna <jug@sad.it>
12263 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12264 otherwise it won't open options-dialogs.
12266 * buffer.C: honor pextraWidth(p) on converting minipages.
12268 * tabular.C (l_getline): changed the functions to strip trailing \r.
12270 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12272 * BufferView_pimpl.C:
12273 * minibuffer..C: added "using SigC::slot" declaration.
12275 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12277 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12283 * paragraph.C: ditto
12285 * lyxtext.h: NO_PEXTRA
12287 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12289 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12290 * ParameterStruct.h: ditto
12291 * ParagraphParameters.h: ditto
12292 * lyxparagraph.h: ditto
12294 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12296 * buffer.C: add compability for minipage alignment.
12297 (latexParagraphs): remove unwanted pextra check.
12299 * several files: remove CXX_WORKING_NAMESPACES
12301 * buffer.C (pop_tag): tie is in namespace boost
12303 * BufferView.h: noncopyable is in namespace boost
12305 * lyx_main.h: ditto
12308 * lastfiles.h: ditto
12309 * bufferlist.h: ditto
12310 * ShareContainer.h: ditto
12312 * LyXAction.h: ditto
12315 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12317 * Merging changes from BRANCH_MVC back into HEAD.
12319 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12321 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12323 * BufferView_pimpl.C: change from intl.C
12327 * Makefile.am: move combox.*
12333 * intl.C: remove dialog (covered by prefs)
12335 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12337 * lyxfunc.C (Dispatch): removed redundant break statement.
12339 2001-03-14 Juergen Vigna <jug@sad.it>
12341 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12343 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12345 * buffer.C: add hack to fix compability reading of minipages.
12347 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12349 * buffer.C (getLists): Cleanup.
12351 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12353 * lyxfont.C (update): don't honor toggleall on font size.
12355 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12359 * Makefile.am: moved to frontends/xforms/
12363 * BufferView_pimpl.C: changes for moved mathpanel
12365 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12367 * gettext.h: fix gettext_init() in --disable-nls
12369 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12371 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12373 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12376 * lyx.h: strip external form
12378 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12380 * BufferView_pimpl.C: add comment, destroySplash()
12382 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12384 * BufferView_pimpl.C:
12388 * lyxfunc.C: use re-worked insetinclude
12390 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12392 * buffer.C: add using std::stringstream.
12394 * lyx_cb.C: readd using std::ios.
12396 * buffer.C: add using std::map.
12398 * BufferView_pimpl.C: add using std::vector.
12400 * ShareContainer.h: add std:: to swap.
12402 * buffer.h: add some typedefs
12403 * buffer.C (getLists): use them
12404 (getLists): renamed from getTocList.
12405 add a counter for the different float types and use it in the
12407 (getLists): use the same counter for the NEW_INSETS and the "non"
12410 * lyx_cb.h: remove unused items, includes, using etc.
12412 * ShareContainer.h: remove some commented code, add more comments
12413 and "documentation".
12415 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12417 * buffer.C (getTocList): make the list also when NEW_INSETS is
12420 * buffer.h: remove TocType
12422 * buffer.C (getTocList): change to return a map<string,
12423 vector<TocItem> >, implement for dynamic number of list.
12425 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12426 * text2.C (PasteSelection): adjust
12427 * CutAndPaste.C (pasteSelection): adjust
12429 * FloatList.C (FloatList): update from the new_insets branch.
12430 * Floating.[Ch]: ditto
12431 * LaTeXFeatures.C: ditto
12433 * lyxlex_pimpl.C: ditto
12435 * paragraph.C (Last): remove when NEW_INSETS is defined.
12437 * other file: changes because of the above.
12439 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12441 * lyxparagraph.h: rename next to next_, previous to previous_,
12442 make them private for NEW_INSETS. Rename Next() to next(),
12443 Previous() to previous().
12445 * other files: changes because of the above.
12447 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12450 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12453 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12455 * main.C (main): pass lyx_localedir to gettext_init().
12457 * gettext.h: remove locale_init and gettext_init macros
12459 * gettext.C (locale_init): new function
12460 (gettext_init): new function
12462 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12465 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12467 * Moved credits to frontends:
12468 * credits.[Ch]: removed
12469 * credits_form.[Ch]: removed
12470 * lyx_gui_misc.C: remove credits stuff
12473 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12475 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12477 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12478 unneeded destructor.
12480 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12481 a standalone pointer again.
12483 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12485 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12491 * ToolbarDefaults.C:
12500 * BufferView_pimpl.C: use new file dialog in GUII
12503 * lyx_cb.C: remove LayoutsCB to Toolbar
12505 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12507 * ShareContainer.h (get): add std:: qualifier
12509 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12511 * ShareContainer.h: define a proper ShareContainer::value_type
12512 type (and use typename to please compaq cxx)
12514 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12516 * lyxparagraph.h: move serveral local vars to
12517 ParameterStruct/ParagraphParameters., use ShareContainer in
12518 FontTable., make vars in FontTable private and add getter and
12521 * paragraph.C: changes because of the above.
12523 * lyxfont.h: remove copy constructor and copy assignment. (the
12524 default ones is ok), move number inside FontBits. move inlines to
12527 * lyxfont.C: add number to initializaton of statics, move several
12528 inlines here. constify several local vars. some whitespace
12529 cleanup. Dont hide outerscope variables.
12531 * Spacing.h: add two new constructors to match the set methods.
12533 * ShareContainer.h: new file, will perhaps be moved to support
12535 * ParameterStruct.h: new file
12537 * ParagraphParameters.h: new file
12539 * ParagraphParameters.C: new file
12541 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12542 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12544 * BufferView_pimpl.C: ParagraphParameter changes.
12545 * buffer.C: Likewise.
12546 * bufferview_funcs.C: Likewise.
12547 * text.C: Likewise.
12548 * text2.C: Likewise.
12550 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12552 * lyxfind.C (LyXReplace): do not redefine default argument in
12554 (IsStringInText): ditto
12555 (SearchForward): ditto
12556 (SearchBackward): ditto
12558 2001-03-06 Juergen Vigna <jug@sad.it>
12560 * lyxfind.C (IsStringInText): put parentes around expressions.
12562 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12564 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12566 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12568 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12570 * stl_string_fwd.h: add comment
12572 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12575 * tabular.C: remove unused DocBook methods
12581 killed DO_USE_DEFAULT_LANGUAGE
12583 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12585 * lyx_gui.C: do not include language.h.
12587 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12588 arguments in function implementation.
12590 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12592 * BufferView_pimpl.C: add <ctime>
12594 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12596 * BufferView_pimpl.C: add using std::find_if
12598 2001-02-27 José Matos <jamatos@fep.up.pt>
12600 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12603 2001-02-11 José Matos <jamatos@fep.up.pt>
12605 * buffer.C (makeDocBookFile): command styles now have a parameter as
12606 "title" by default.
12608 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12610 * layout_forms.[Ch]: removed
12611 * lyx_cb.[Ch]: out character
12612 * lyx_gui.C: out character
12613 * lyx_gui_misc.C: out character
12614 * bufferview_funcs.C: : out character,
12615 added toggleall as parameter in ToggleAndShow
12617 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12619 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12621 * text2.C (SetCurrentFont): Disable number property at boundary.
12623 2001-02-26 Juergen Vigna <jug@sad.it>
12625 * lyxfunc.C (getStatus): added a string argument override function so
12626 that this is correctly called from LyXFunc::Dispatch if it contains a
12627 do_not_use_argument which is used!
12628 (Dispatch): added check for "custom" export and call appropriate func.
12630 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12632 * lyxrc.C: Add language_command_local, language_use_babel and
12633 language_global_options.
12635 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12637 * buffer.C (makeLaTeXFile): Use language_use_babel and
12638 language_global_options.
12640 2001-02-23 Juergen Vigna <jug@sad.it>
12642 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12643 which works with LyXText and putted it inside BufferView. Here now we
12644 only call for that part the BufferView::Dispatch() function.
12646 * BufferView.C (Dispatch): added.
12648 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12649 functions which needs to use a LyXText over from LyXFunc.
12650 (MenuInsertLyXFile): added
12651 (getInsetByCode): added
12652 (moveCursorUpdate): added
12653 (static TEXT): added
12655 2001-02-22 Juergen Vigna <jug@sad.it>
12657 * BufferView_pimpl.C (update): call a status update to see if LyXText
12660 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12662 * vc-backend.C (revert): implement for CVS
12663 (getLog): implement for CVS
12665 2001-02-20 Juergen Vigna <jug@sad.it>
12667 * text2.C (ClearSelection): added BufferView param for inset_owner call
12669 * lyxfunc.C (TEXT): added this function and use it instead of
12670 directly owner->view()-text of getLyXText().
12672 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12674 * src/layout_forms.C: out preamble
12675 * src/layout_forms.h: out preamble
12676 * src/lyx_cb.C: out preamble
12677 * src/lyx_cb.h: out preamble
12678 * src/lyx_gui.C: out preamble
12679 * src/lyx_gui_misc.C: out preamble
12680 * src/lyxfunc.C: connect with guii preamble
12682 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12684 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12686 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12688 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12689 whether to run bibtex.
12691 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12693 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12695 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12697 * Makefile.am (lyx_SOURCES): removed bibforms.h
12699 * vspace.h: doxygen
12701 * text.C (GetVisibleRow): make several local vars const
12703 * tabular.C: small cleanup.
12705 * lyxserver.C (callback): use compare instead of strncmp
12707 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12708 inlines to after class or to paragraph.C
12710 * lyxfont.h: remove friend operator!=
12712 * converter.h: move friend bool operator< to non friend and after
12715 * combox.h: small cleanup
12717 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12718 to inlines after class def.
12720 * buffer.C (pop_tag): use string operations instead of strcmp
12722 * bmtable.c: doxygen, small cleanup
12724 * LaTeX.h: remove friend operator==
12726 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12738 * BufferView_pimpl.C:
12739 * BufferView.[Ch]: remove cruft
12741 2001-02-14 Juergen Vigna <jug@sad.it>
12743 * lyxfunc.C: removed #if 0 unused code
12745 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12747 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12749 * text2.C (SetSelection): added a BufferView * parameter
12751 2001-02-13 Juergen Vigna <jug@sad.it>
12753 * lyxfunc.C (Dispatch): fixed protected blank problem.
12754 * BufferView2.C (protectedBlank): added LyxText * parameter.
12756 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12757 (AppendColumn): same as above for column_info.
12759 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12760 (moveCursorUpdate): use a LyXText param for support of InsetText.
12762 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12763 (tripleClick): ditto
12765 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12767 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12769 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12771 * text2.C (SetSelection): set correct update status if inset_owner
12772 (ToggleFree): ditto
12774 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12776 * tabular.C: remove some commented code.
12778 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12780 * BufferView_pimpl.C: call hideSplash()
12782 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12785 * bibforms.h: remove
12788 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12789 add LFUN_CHILD_CREATE
12791 * counters.h: fix tiny typo
12796 * lyx.C: move splash to frontends/xforms/
12798 * lyx_gui_misc.C: move Include and Bibform to frontends
12800 * lyxvc.h: clarify comment
12802 * vspace.C: tiny housekeeping
12804 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12806 * text.C (PrepareToPrint): RTL Fix.
12808 * paragraph.C (GetUChar): New method.
12809 (String): Use GetUChar.
12811 * buffer.C (asciiParagraph): Use GetUChar.
12813 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12815 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12817 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12820 * buffer.C: rename to getLogName(), handle
12821 build log / latex log nicely
12823 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12826 * MenuBackend.h: remove support for reference menuitem type.
12828 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12830 * BufferView_pimpl.C: housekeeping
12831 * BufferView_pimpl.h:
12836 * minibuffer.h: move Timeout GUI-I
12838 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12840 * lyxrc.C (read): Update converters data-structures.
12842 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12844 * LaTeX.h (operator!=): add operator != for Aux_Info
12846 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12848 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12850 * LaTeXLog.C: deleted, useful code moved to Buffer
12853 * buffer.C: new function getLatexLogName()
12859 * lyxfunc.C: use frontends for LaTeX and VC logs
12861 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12863 * LaTeX.h: yet another std:: that Allan forgot.
12865 * Variables.C (set): renamed from isset(), because this clashes
12866 with some HP-UX macros (grr).
12868 2001-02-06 Allan Rae <rae@lyx.org>
12870 * LaTeX.h: Another bug fix. Missing std:: this time.
12872 2001-02-04 Allan Rae <rae@lyx.org>
12874 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12875 floats problem. I've left it commented out because it's not quite
12876 correct. It should also test that the current object is a table or
12877 figure inset. But I haven't gotten around to figuring out how to do
12878 that. I *think* it'll be something like: "table" == inset.type()
12880 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12883 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12885 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12886 all the citation/databases/styles in the auxilary file.
12887 (run): Rerun latex if there was a babel language error.
12889 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12891 * text.C (Backspace): Preserve the font when changing newline char
12893 (BreakParagraph): If the cursor is before a space, delete the space.
12895 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12897 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12899 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12900 new argument (code).
12901 (ChangeCitationsIfUnique): New method.
12903 * paragraph.C (GetPositionOfInset): Handle bibkey.
12905 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12907 * BufferView_pimpl.h: change type of Position::par_pos to
12908 LyXParagraph::size_type.
12910 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12912 * BufferView_pimpl.C (savePosition, restorePosition): Write
12913 messages to minibuffer.
12915 2001-01-28 José Matos <jamatos@fep.up.pt>
12917 * buffer.C (makeDocBookFile): adds support for document language.
12918 A silly restriction on the name of LatexCommand types where removed.
12919 Added support for CDATA sections, allows to chars unescaped, used
12920 among others in code, to avoid escape < and >.
12922 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12924 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12925 saved positions instrad of a stack. Furthermore, a position is
12926 stored using paragraph id/paragraph position.
12928 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12929 Remove LFUN_REF_BACK.
12931 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12933 * converter.C (dvipdfm_options): New method.
12935 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12937 * vspace.C (isValidLength): Fix for empty input string.
12939 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12941 * LyXAction.C (init): change description of LFUN_FIGURE to
12944 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12946 * LaTeX.C: add using directive
12948 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12950 * MenuBackend.C (expand): Fix the sorting of the formats.
12952 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12954 * lyx_main.C: tiny error message fix
12956 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12958 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12959 calling fl_initialize(). This fixes the problem with ',' as
12960 decimal separator in text files.
12962 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12964 * trans.C (process): Fix the keymap bug.
12966 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12968 * LaTeX.C (scanAuxFiles): New method. Provides support for
12969 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12970 (scanLogFile) Scan for "run BibTeX" messages.
12972 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12973 OT1 font encoding. Also, load the aecompl package if the ae
12976 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12978 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12980 * texrow.C (increasePos): turn two error messages into debug
12983 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12985 * LaTeX.C (scanAux): Handle the \@input macro.
12986 (runBibTeX): Use scanAux().
12988 * language.C (latex_options_): New field.
12990 * LaTeXFeatures.C (getMacros): Add language macros.
12992 * buffer.C (makeLaTeXFile): Small fix.
12994 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12996 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12998 * text2.C: add a using directive.
13000 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13005 * lyxfunc.C: kill LyXBell.
13007 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13009 * text.C (IsBoundary): Remove the error message
13011 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13013 * lyxrc.C (setDefaults): Correct initialization value for
13016 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13018 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13021 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13022 and GotoNextNote().
13024 * src/LyXAction.C: Added reference-next.
13026 * text.C (InsertChar): Use contains instead of strchr.
13028 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13030 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13032 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13033 alignment commands (when needed).
13035 * text.C (InsertChar): Add ':' to number separator chars.