1 2003-10-08 Angus Leeming <leeming@lyx.org>
5 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
6 Remove CutAndPaste:: prefix from header file declaration.
8 * LColor.h (fill): remove LColor:: prefix from declaration.
10 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
11 use lyx::depth_type rather than Paragraph::depth_type so that
12 header file and .C file match.
14 * converter.h (intToFormat): remove Converters:: prefix from declaration.
16 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
17 * aspell.C: \file aspell_local.C -> \file aspell.C
18 * gettext.C: \file gettext.C -> \file src/gettext.C
19 * gettext.h: \file gettext.h -> \file src/gettext.h
20 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
21 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
22 * text.C: \file text.C -> \file src/text.C
24 * toc.C: move comment so that doxygen is not confused.
26 2003-10-07 Angus Leeming <leeming@lyx.org>
28 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
30 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
33 * aspell_local.h: add forgotten std::string's.
35 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
42 * text3.C: The Box patch. Fancybox support, minipage, parbox
44 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
50 * ParagraphParameters.h:
64 * textcursor.h: add <string> and other small fixes to make Lars'
65 std::string patch compile with STLport.
67 2003-10-06 Angus Leeming <leeming@lyx.org>
69 * LColor.h: Add missing #include <string>.
71 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
73 * All most all file in all subdirs: Make <string> be the prefered
74 way of getting to std::string, add using declarations.
76 2003-10-06 André Pönitz <poenitz@gmx.net>
78 * metricsinfo.C: initialize LyXFont before changing attribute.
79 (fixes the 'math in \emph is upright' bug)
81 2003-10-06 André Pönitz <poenitz@gmx.net>
83 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
85 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
88 * paragraph_pimpl.C: Small fixes to build using STLport
90 2003-10-02 André Pönitz <poenitz@gmx.net>
93 * text3.C: move handling of LFUN_DEPTH *; fix #1360
95 2003-10-01 André Pönitz <poenitz@gmx.net>
97 * factory.C: assert early
99 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
101 * lyx_main.C: remove the global debug object
103 * debug.h: adjust for new debugstream
105 * debug.C: adjust for new debugstream and keep the global debug
108 2003-09-22 Angus Leeming <leeming@lyx.org>
110 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
111 of g++ which otherwise complain that the scoped_ptr destructor can't delete
112 an incomplete class LyXFont.
114 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
116 * factory.C: bug fix in branches
118 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
120 * lyxfunc.C (processKeySym): adjust
122 (dispatch): change arg name from ev to func, adjust
123 (sendDispatchMessage): ditto
125 * lyx_main.C (defaultKeyBindings): adjust keybindings
126 (deadKeyBindings): ditto
128 * kbsequence.C (addkey): return a FuncRequest
130 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
132 * kbmap.C (bind): take a FuncRequest as arg, adjust
135 (defkey): change to take a FuncRequest as arg, adjust
136 (findbinding): take a FuncRequest as arg, adjust.
138 * funcrequest.h (operator=): added
140 * funcrequest.C (FuncRequest): default kb_action changed from
141 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
143 * buffer.C (dispatch): simplify
144 (dispatch): adjust to take a FuncRequest as arg, adjust
146 * boost.C (assertion_failed): change assertion message slightly
148 * ToolbarBackend.C (read): simplify
150 * MenuBackend.C (binding): adjust call to findbinding, add a
151 message if no binding is found.
153 (expandToc): correct by adding a empty FuncRequest
155 * LyXAction.C: include <boost/assert.hpp>
156 (isPseudoAction): delete function
157 (LookupFunc): change name to...
158 (lookupFunc): this. change return type to FuncRequest.
159 (getActionName): take kb_action as arg, simplify
160 (funcHasFlag): add an assert, simplify.
162 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
164 * toc.C (action): return a FuncRequest, simplify
166 * lyxfunc.C (processKeySym): adjust
167 (getStatus): delete version that takes an int.
169 (dispatch): delete version that takes action as int
171 (sendDispatchMessage): simplify and adjust
173 * funcrequest.C (getArg): take unsigned int as arg
175 * ToolbarBackend.C (read): adjust
176 (add): delete version that takes func as a string.
177 (getIton): take a FuncRequest as arg
179 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
182 * MenuBackend.C (MenuItem): add a new construct that only takes a
183 Kind, simplify the constructor use for submenus.
185 (expandLastfiles): adjust
186 (expandDocuments): adjust
187 (expandFormats): adjust
188 (expandFloatListInsert): adjust
189 (expandFloatInsert): adjust
190 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
192 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
193 Remove class variables lyx_pseudo_map and lyx_arg_map
195 * LyXAction.C (searchActionArg): delete function
196 (getPseudoAction): delete function
197 (retrieveActionArg): delete function
198 (LookupFunc): make it return kb_action, simplify.
199 (getActionName): simplify
201 * factory.C (createInset): fix new bug
203 2003-09-19 Angus Leeming <leeming@lyx.org>
205 * CutAndPaste.C (pasteSelection): remove fudge used to set the
206 masterFilename_ parameter in the include inset.
208 * factory.C (createInset): changes due to the changes to InsetInclude.
210 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
212 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
214 2003-09-18 Angus Leeming <leeming@lyx.org>
217 * BufferView.C: pass the buffer when calling Inset::getLabelList,
218 Inset::fillWithBibKeys.
219 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
221 2003-09-18 Angus Leeming <leeming@lyx.org>
223 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
225 (ctor): pass and store a 'Buffer const &'
226 (buffer): new member function.
228 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
229 '*this' to the LaTeXFeatures ctor.
231 2003-09-18 Angus Leeming <leeming@lyx.org>
237 * text.C: rename EnumLColor as LColor_color.
239 2003-09-18 Angus Leeming <leeming@lyx.org>
241 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
242 remove #include "insets/insetbase.h" from cursor.h.
244 2003-09-18 Angus Leeming <leeming@lyx.org>
246 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
247 InsetOld_code to remove #include "inset.h".
249 * iterators.C: add #include "insets/inset.h"
251 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
253 * BufferView.C: remove more locking stuff that apparently doesn't
254 do anything sensible.
256 2003-09-16 André Pönitz <poenitz@gmx.net>
259 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
262 2003-09-16 Angus Leeming <leeming@lyx.org>
264 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
266 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
269 * paragraph.h: remove #include "lyxfont.h". Forward declare
272 2003-09-16 Angus Leeming <leeming@lyx.org>
274 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
275 of support/textutils.h.
276 (isWord): move the contents of support/textutils.h's IsWordChar here.
282 * text2.C: add #include "paragraph.h".
285 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
287 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
293 * LaTeX.C: use namespace alias for lyx::support::os
295 2003-09-16 Angus Leeming <leeming@lyx.org>
298 * bufferview_funcs.C:
303 * text.C: add #include "LColor.h".
305 2003-09-16 Angus Leeming <leeming@lyx.org>
307 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
308 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
310 Store the FontBits::color variable as an int rather than as an
311 LColor::colorso that we can move LColor.h out of the lyxfont.h header
314 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
315 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
316 string calls together.
318 * lyxrc.C: add #include "LColor.h".
320 2003-09-15 Angus Leeming <leeming@lyx.org>
322 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
325 2003-09-15 Angus Leeming <leeming@lyx.org>
327 * LColor.h: add an EnumLColor wrapper for LColor::color.
329 * lyxfont.[Ch] (color, setColor, realColor):
330 * lyxtext.h, text.C (backgroundColor):
331 pass EnumLColor args to/from the functions, rather than LColor::color
335 * lyxtext.h: forward declare EnumLColor.
337 * lyx_main.C: add #include "LColor.h".
339 2003-09-15 Angus Leeming <leeming@lyx.org>
341 * .cvsignore: add lyx-gtk.
343 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
348 * ParagraphParameters.C
362 * vc-backend.C: remove usage of STRCONV
364 2003-09-15 Angus Leeming <leeming@lyx.org>
366 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
367 explicitly define the color passed to the painter.
369 2003-09-15 Angus Leeming <leeming@lyx.org>
371 * bufferparams.C (BufferParams): reorder member initializers to avoid
374 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
376 * CutAndPaste.C (pasteSelection): remove an outdated #warning
377 * text.C (updateRowPositions): remove an unusual nop
379 2003-09-12 André Pönitz <poenitz@gmx.net>
381 * BufferView_pimpl.C:
390 * Counters.[Ch]: finish the 'automatic counters' job
392 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
394 * aspell.C: include <boost/assert.cpp> (compile fix)
396 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
398 * boost.C (assertion_failed): use lyx::support::abort instead of
401 2003-09-10 Angus Leeming <leeming@lyx.org>
403 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
404 with their _fwd progeny.
406 2003-09-09 Angus Leeming <leeming@lyx.org>
408 134 files throughtout the source tree: replace 'using namespace abc;'
409 directives with the appropriate 'using abc::xyz;' declarations.
411 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
413 * boost.C (emergencyCleanup): moved here from LAssert.c
414 (assertion_failed): new function, called by BOOST_ASSERT
416 * several files: change Assert to BOOST_ASSERT
418 2003-09-09 Angus Leeming <leeming@lyx.org>
420 * buffer.[Ch]: Add an Impl class and move Buffer's member
421 variables into it. As a result move several header files out of
424 Add header files to lots of .C files all over the tree as a result.
426 2003-09-09 Angus Leeming <leeming@lyx.org>
428 * buffer.[Ch]: make Buffer's member variables private. Add
431 Lots of changes all over the tree as a result.
433 2003-09-08 Angus Leeming <leeming@lyx.org>
435 * graph.C: #include <config.h>.
437 2003-09-08 Angus Leeming <leeming@lyx.org>
441 * BufferView_pimpl.C:
470 * toc.C: remove redundant using directives.
472 2003-09-07 Angus Leeming <leeming@lyx.org>
474 * LaTeXFeatures.h: remove #include "support/types.h".
475 * ToolbarBackend.h: remove #include <algorithm>.
476 * changes.h: remove #include <ctime>.
477 * debug.h: remove #include <iosfwd>.
478 * graph.h: remove #include "support/std_string.h".
479 * lyx_main.h: remove #include <csignal>.
480 * lyxlex_pimpl.h: remove #include <fstream>.
481 * sgml.h: remove #include <algorithm>, <utility>.
482 * toc.h: remove #include "support/std_ostream.h".
483 Add #include <iosfwd>.
485 2003-09-07 Angus Leeming <leeming@lyx.org>
487 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
489 * converter.h: forward declare LatexRunParams.
490 * encoding.h: remove #include "lyxrc.h".
491 * lyxtext.h: remove #include "LColor.h".
492 * lyxtextclass.h: remove #include "support/types.h".
493 * trans.h: remove #include "tex-accent.h".
494 * trans_mgr.h: remove #include "tex-accent.h".
495 * insets/inset.h: remove #include "support/types.h", <vector>.
496 * insets/insetcollapsable.h: remove #include "LColor.h".
497 * insets/insetinclude.h: remove #include "dimension.h".
498 * insets/insetlatexaccent.h: remove #include "dimension.h".
499 * insets/insetoptarg.h:: remove #include "insettext.h".
500 * insets/insettext.h: remove #include "dimension.h",
501 <boost/shared_ptr.hpp>
503 * insets/renderers.h: add #include "dimension.h".
504 * insets/updatableinset.h: add #include "support/types.h".
506 * many .C files: Associated changes.
508 2003-09-06 Angus Leeming <leeming@lyx.org>
510 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
511 one, inside testInvariant.
513 * PrinterParams.C: new file.
514 * PrinterParams.[Ch]: move the function bodies out of line.
516 2003-09-06 Angus Leeming <leeming@lyx.org>
518 * ParagraphParameters.h: forward declare ParameterStruct rather than
519 including its header file.
520 (depth): moved out-of-line.
522 2003-09-06 Angus Leeming <leeming@lyx.org>
524 * BufferView_pimpl.h:
527 * lyxfunc.h: forward declare LyXKeySym rather than
528 #include "frontends/LyXKeySym.h".
530 * BufferView_pimpl.C:
533 * lyxfunc.C: associated changes.
535 2003-09-06 Angus Leeming <leeming@lyx.org>
537 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
538 As a result, can remove the #include "insets/inset.h" from BufferView.h
540 2003-09-06 Angus Leeming <leeming@lyx.org>
542 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
543 As a result, can remove the #include "insets/inset.h" from BufferView.h
545 2003-09-06 Angus Leeming <leeming@lyx.org>
551 * bufferview_funcs.C:
552 * BufferView_pimpl.C:
557 * ParagraphParameters.C:
562 * frontends/controllers/ControlDocument.C:
563 * insets/insetcaption.C: rearrange the #includes into some sort of
566 * buffer.h: remove #includes ErrorList.h, undo.h
568 2003-09-06 Angus Leeming <leeming@lyx.org>
570 * support/types.h: add a 'depth_type' typedef, used to store the
571 nesting depth of a paragraph.
574 * ParameterStruct.h: use this lyx::depth_type typedef rather than
579 * ParagraphParameters.h:
580 * sgml.h: use lyx::depth_type rather than Paragraph or
581 ParameterStruct's depth_type.
584 * paragraph_funcs.h: no need to #include paragraph.h anymore.
587 * BufferView_pimpl.C:
589 * ParagraphParameters.C:
592 * bufferview_funcs.C:
599 * frontends/LyXView.C:
600 * frontends/controllers/ControlDocument.C:
601 * frontends/controllers/ControlErrorList.C:
602 * insets/insetbibitem.C:
603 * insets/insetbranch.C:
604 * insets/insetcaption.C:
605 * insets/insetcollapsable.C:
608 * insets/insetfloat.C:
609 * insets/insetfoot.C:
610 * insets/insetfootlike.C:
611 * insets/insetnewline.C:
612 * insets/insetquotes.C:
613 * insets/insettabular.C:
614 * insets/insettext.C:
615 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
617 * frontends/controllers/ControlChanges.C: #include "changes.h".
619 2003-09-06 Angus Leeming <leeming@lyx.org>
621 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
622 than #including paragraph.h.
625 * RowList.h: deleted. Superfluous.
635 * insets/insettext.h: use ParagraphList_fwd.h rather than
638 * paragraph.h: don't forward declare ParagraphList.
641 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
642 rather than ParagraphList.h. paragraph.h is still needed for the
643 Paragraph::depth_type parameters.
645 * textcursor.h: enable it to compile stand-alone in light of the
648 * bufferview_funcs.C:
660 * frontends/controllers/ControlParagraph.C:
661 * frontends/controllers/ControlTabular.C:
662 * insets/insetmarginal.C:
663 * insets/insetminipage.C:
664 * insets/insetnote.C:
665 * insets/insetoptarg.C: add header files needed to compile again.
667 2003-09-06 Angus Leeming <leeming@lyx.org>
669 * RowList_fwd.h: new file, forward-declaring Row rather than
675 * insets/insettext.h: use it instead of RowList.h
677 * bufferview_funcs.C:
684 * text3.C: #include "RowList.h".
686 2003-09-05 Angus Leeming <leeming@lyx.org>
688 * factory.C (createInset):
689 * vspace.C (c-tor): replace sscanf call with an istringstream.
690 * ispell.C: re-add missing HP/UX headers.
691 * lyxserver.C: re-add missing os2 headers.
693 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
702 * text3.C: re-add missing system headers, needed for 2.95.2.
704 2003-09-05 Angus Leeming <leeming@lyx.org>
706 Changes most place everywhere due to the removal of using directives
707 from support/std_sstream.h.
709 2003-09-05 Angus Leeming <leeming@lyx.org>
711 Replace LString.h with support/std_string.h,
712 Lsstream.h with support/std_sstream.h,
713 support/LIstream.h with support/std_istream.h,
714 support/LOstream.h with support/std_ostream.h.
716 Changes resulting throughout the tree.
718 2003-09-05 Angus Leeming <leeming@lyx.org>
720 * sgml.h: ensure that the header file can be compiled stand-alone.
721 * *.C: strip out redundant #includes. (320 in total.)
723 2003-09-04 Angus Leeming <leeming@lyx.org>
725 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
726 here (from getPackages).
728 * debug.[Ch]: add a new EXTERNAL tag.
730 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
732 * text2.C (cursorEnd): simplify
734 (getColumnNearX): adjust
736 * text.C (computeBidiTables): adjust
739 * rowpainter.C (paintChars): adjust
740 (paintSelection): adjust
741 (paintChangeBar): adjust
744 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
746 (numberOfSeparators): adjust
748 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
754 * text3.C: Restricts the mouse click functionality
755 of insets like bibtex, include, toc and floatlist to the visible
756 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
757 up the dialogs. Cursor has to be in front of the inset (i.e.
758 start of row) for this to function.
760 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
762 * bufferview_funcs.C (currentState): output row information
764 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
766 * bufferview_funcs.C (currentState): output paragraph position
768 2003-09-04 Angus Leeming <leeming@lyx.org>
770 * FloatList.h: move out #include "Floating.h".
771 * LaTeX.h: move out #include "DepTable.h".
772 * LyXAction.h: move out #include "funcrequest.h".
773 * buffer.h: move out #include "author.h", "iterators.h".
774 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
775 * lyx_main.h: move out #include "errorlist.h".
776 * lyxfunc.h: move out #include "FuncStatus.h".
777 * lyxtext: move out #include "lyxcursor.h".
778 * paragraph_pimpl.h: move out #include "counters.h".
780 2003-09-03 Angus Leeming <leeming@lyx.org>
782 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
783 preamble_snippets list, enabling us to add snippets to the preamble
784 only if the snippet was not there already.
786 2003-09-04 Angus Leeming <leeming@lyx.org>
788 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
790 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
792 * lyxfunc.C (dispatch): if fitCursor did something be sure to
795 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
797 * BranchList.C: point fix, earlier forgotten
799 2003-09-02 Angus Leeming <leeming@lyx.org>
801 * box.C (contains): renamed from 'contained' after a fantastic
804 2003-09-02 John Levon <levon@movementarian.org>
810 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
812 2003-09-02 John Levon <levon@movementarian.org>
814 * text2.C: simplification of cursorEnd(), including partial
817 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
819 * buffer.C (readFile): add a space
821 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
823 * BufferView_pimpl.C (update): remove bogus fitCursor() call
825 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * buffer.C (readFile): new function, take a filename and a
828 ParagraphList::iterator
830 (readFile): adjust, make it private. don't use setStream, make
831 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
832 always contain the filename.
834 * BufferView.C (insertLyXFile): simplify and make it work for
837 2003-08-30 John Levon <levon@movementarian.org>
839 * Makefile.am: fix dist (from Kayvan)
841 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
843 * most files: change to use const Buffer refs
845 2003-08-27 André Pönitz <poenitz@gmx.net>
847 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
848 on top of ownerPar().
850 2003-08-27 John Levon <levon@movementarian.org>
852 * funcrequest.C: properly initialise POD members
854 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
856 * lyxtext.h (top_y): move top_y from here
861 * BufferView_pimpl.[Ch]: to here
862 * frontends/screen.C:
863 * insets/insettabular.C:
864 * insets/insettext.C: adjust
865 * rowpainter.[Ch] (paintRows): remove LyXText & argument
867 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
870 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
872 2003-08-26 André Pönitz <poenitz@gmx.net>
874 * paragraph_func.[Ch] (outerPar): new function
880 * text2.C: remove Inset::par_owner
882 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
887 * text2.C: eliminates the needFullRow/display() stuff
888 altogether, putting the logic in metrics/draw in the insets.
890 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
892 * text2.C (redoParagraphInternal, redoParagraphs):
893 * text.C (redoParagraph): add a call to updateRowPositions at the
894 end of each 'metrics-like' call. Remove all others.
895 (getRow): remove the 'y-computing' version.
896 (getRowNearY): do not compute nor return the real y. Solve the
897 'y < 0' problem and simplify.
899 2003-08-22 Angus Leeming <leeming@lyx.org>
901 * *.[Ch]: clean-up of licence and author blurbs.
902 Also move config.h out of a few .h files and into a few .C files.
904 2003-08-22 André Pönitz <poenitz@gmx.net>
906 * lyxrow.[Ch]: add x_ and *fill_ members
911 * text2.C: adjust/remove prepareToPrint() calls
913 2003-08-22 André Pönitz <poenitz@gmx.net>
915 * lyxrow.[Ch]: add end_ member
917 * lyxrow_funcs.C: use LyXRow::end_
919 * lyxtext.h (singleWidth): add LyXFont parameter
922 * text2.C: adjust LyXText::singleWidth() calls
924 * text.C (redoParagraph): simplify row breaking logic
927 2003-08-19 André Pönitz <poenitz@gmx.net>
929 * funcrequest.C: initialize button_ member
932 * rowpainter.[Ch]: interface consolidation
934 2003-08-18 André Pönitz <poenitz@gmx.net>
937 * BufferView_pimpl.C:
941 * text3.C: remove LyXScreen::draw() and fitCursor calls
943 * BranchList.h: remove spurious semicolons
945 * MenuBackend.C: fix branchlist related crash
947 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
959 * text3.C: implements the 'branch inset'
960 idea. This allows the output of various versions of a document
961 from a single source version, selectively outputing or suppressing
962 output of parts of the text.
963 This implementation contains a 'branch list editor' in a separate
964 tab of the document settings dialog. Branches are user definable
965 and have a "display colour" to distinguish them on-screen.
967 ColorHandler was somewhat cleaned up.
968 (1) make possible a dynamically growing LColor list by allowing
969 the graphic context cache to grow along (vector);
970 (2) eliminate an IMHO unnecessary step in colour allocation.
972 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
974 * BufferView_pimpl.C: compile fix
976 2003-08-15 André Pönitz <poenitz@gmx.net>
978 * rowpainter.C: remove extra metrics calls
980 * lyxtext.h: merge the two constructors into a single one,
981 pass reference to owner's par list
983 * BufferView_pimpl.C:
987 2003-08-15 André Pönitz <poenitz@gmx.net>
997 * text_funcs.C: split LyXText::rowlist_ into individual
998 Paragraph::rows_ chunks
1001 * BufferView_pimpl.[Ch]:
1004 * text3.C: remove toggleSelection()
1006 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1008 * bufferlist.C: beautify two alerts (shorter text of buttons)
1009 * buffer.C: Remove redundant ' ' from message
1011 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1012 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1013 rename VALIGN_CENTER to VALIGN_MIDDLE
1015 2003-08-11 André Pönitz <poenitz@gmx.net>
1017 * lyxtext.h (getPar):
1018 * text.C: new function
1020 2003-08-11 André Pönitz <poenitz@gmx.net>
1023 * tracer.[Ch]: remove unneeded files
1025 * InsetList.[Ch]: remove resizeInsetsLyXText()
1030 * text3.C: merge insertParagraphs() and appendParagraph()
1031 remove breakAgain(), update()
1033 * BufferView_pimpl.[Ch]:
1034 * bufferview_funcs.[Ch]:
1038 * tabular.C: adjust after text & InsetList changes.
1040 2003-08-08 André Pönitz <poenitz@gmx.net>
1042 * text.C (insertChar, backspace): replace rowlist fiddling
1043 with rebreak of full par
1046 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1047 checkParagraph, updateInset): removed
1049 2003-08-07 André Pönitz <poenitz@gmx.net>
1052 * text3.C: merge some LFUN handlers, remove dead code
1054 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1056 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1058 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1060 * text2.C (DEPM): fix part of bug 1255 and 1256
1062 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1064 * BufferView_pimpl.C (workAreaDispatch): change to use
1065 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1066 that are no mouse related.
1068 2003-08-05 André Pönitz <poenitz@gmx.net>
1071 * BufferView_pimpl.[Ch]:
1072 * bufferview_funcs.C:
1074 * text3.C: rip out "deep update"
1076 * textcursor.[Ch] (last_sel_cursor): remove unused member
1078 2003-08-04 André Pönitz <poenitz@gmx.net>
1081 * BufferView_pimpl.[Ch]:
1082 * ParagraphParameters.C:
1083 * bufferview_funcs.C:
1089 * text3.C: replace "complicated" BufferView::update(...) calls with
1092 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1094 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1096 * Makefile.am (lyx_SOURCES): add paper.h
1098 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1100 * Makefile.am: move things around so that both lyx-qt and
1101 lyx-xforms can be built (according to --with-frontend). Then lyx
1102 is a symbolic link to lyx-[firstfrontend]
1104 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1106 * Always use std::endl with lyxerr
1108 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1110 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1112 2003-08-01 André Pönitz <poenitz@gmx.net>
1115 * BufferView_pimpl.[Ch]:
1117 * text3.C: merge BufferView::repaint() and BufferView::update()
1119 2003-08-01 José Matos <jamatos@lyx.org>
1121 * buffer.[Ch]: file_format is no longer a buffer data element.
1123 2003-08-01 André Pönitz <poenitz@gmx.net>
1128 * text2.C: make redoParagraph more independent of current cursor
1130 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1132 * text2.C: remove unneeded members
1134 2003-07-30 André Pönitz <poenitz@gmx.net>
1136 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1138 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1139 create a single function...
1141 * paragraph_funcs.C (moveItem): ... here.
1144 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1146 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1148 * LColor.[Ch]: Add comment and greyedout logical colors.
1150 2003-07-30 André Pönitz <poenitz@gmx.net>
1152 * tabular.C: don't use Assert too heavily. This crashes where it
1155 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1157 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1158 is disabled (bug 1232)
1160 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1162 * factory.C: limited 'arg' scope
1164 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1166 * factory.C: fixed Note submenu issues
1168 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1170 * factory.C: submenu for Note/Comment/Greyedout
1172 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1175 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1177 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1180 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1181 greyedout. Patch provided by Jürgen Spitzmüller.
1183 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1185 * kbmap.C (read): fix error message when reading bind files
1187 2003-07-29 Angus Leeming <leeming@lyx.org>
1189 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1190 certainly does not do what it purports to do. I am doing it, and
1191 us, a favour by killing it.
1193 2003-07-28 José Matos <jamatos@lyx.org>
1195 * buffer.C (readBody, do_writeFile):
1196 * paragraph.C(readParagraph): \end_document replaces \the_end.
1198 2003-07-29 André Pönitz <poenitz@gmx.net>
1201 * BufferView_pimpl.[Ch]:
1205 * textcursor.[Ch]: remove toggleToggle & Co
1207 2003-07-28 José Matos <jamatos@fep.up.pt>
1209 * buffer.C (readParagraph):
1210 * params_func (readParToken, readParagraph):
1211 * paragraph.C (write): \layout -> \begin_layout.
1213 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1215 * lyxlex_pimpl.C (setFile): clean up slightly.
1217 * bufferparams.h: add compressed var
1219 * buffer_funcs.C (readFile): adjust for LyXLex change
1220 (newFile): ditto + simplify
1222 * buffer.C (writeFile): handle writing of compressed files
1224 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1225 Check if the file is compressed and set a bufferparm if so.
1227 * Makefile.am (lyx_LDADD): remove explicit -lz
1229 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1231 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1232 makeDocBookFile): put the real LyX version in the first line of
1236 * version.C.in: remove lyx_docversion
1238 * tabular.C (write_attribute): add a template-based version to
1239 write enums properly
1241 2003-07-28 André Pönitz <poenitz@gmx.net>
1246 * text3.C: use doubles again for x-coordinates. They are needed.
1248 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1250 * messages.C (getLocaleDir): use lyx_localedir()
1252 * lyxlex_pimpl.C (setFile): compress stuff
1254 * buffer.C (writeFile): add some compression stuff
1255 (do_writeFile): new func, dont call expliti close... will this
1258 * Makefile.am (lyx_LDADD): add -lz
1260 2003-07-28 José Matos <jamatos@fep.up.pt>
1262 * buffer.C: increment file format.
1263 * paragraph_funcs (readParagraph, readParToken):
1264 * paragraph.C (readParagraph): add \end_layout.
1266 2003-07-27 Angus Leeming <leeming@lyx.org>
1268 * Makefile.am: remove special casing for configure-time setting of
1269 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1271 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1272 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1274 2003-07-26 André Pönitz <poenitz@gmx.net>
1276 * paragraph_func.[Ch]:
1277 * paragraph.C (realizeFont): inline it whereever it is used
1282 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1285 2003-07-26 André Pönitz <poenitz@gmx.net>
1289 * text2.C: get rid of LyXText::need_break_row
1291 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1293 * toc.[Ch]: put namespace toc inside namespace lyx
1295 * MenuBackend.C (expandToc2): adjust for lyx::toc
1298 * lyxfunc.C (dispatch): adjust for lyx::find
1300 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1301 lyx::find instead. Reorganize a bit.
1302 (LyXReplace): rename to replace
1303 (LyXFind): rename to find
1305 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1308 2003-07-26 André Pönitz <poenitz@gmx.net>
1310 * text.C (setHeightOfRow): restrict scope of temporary variable
1312 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1313 code (never has been used?)
1315 2003-07-27 Asger Alstrup <alstrup@local>
1317 * text.C (fill): Optimise algorithm to exploit that we can reuse
1318 the LyXFont for many characters.
1319 (setHeightOfRow): Same thing.
1320 (rowBreakPoint): Same thing.
1322 2003-07-26 Asger Alstrup <alstrup@local>
1324 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1326 * text.C (singleWidth): Spurious font copying in hot-spot
1327 singleWidth avoided. Reorder tests for arabic for efficiency.
1329 * text.C (fill): handle empty paragraphs better.
1331 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1334 * encoding.h: add includes
1336 * lyxrc.C: remove reading of bind files
1338 * lyx_main.C (init): setup bindings and menus only if we have a
1341 * kbmap.C (read): new method. Do the actual reading of bind
1344 * converter.C (dvipdfm_options):
1347 (output): adapt PAPER_* enums.
1349 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1351 * bufferparams.h: remove paper-related enums from there
1353 * paper.h: New file. A trivial header file to hold paper-related
1354 enums. It should later expand to contain many paper-related
1357 * lyxrc.C: declare extern displayTranslator
1359 2003-07-27 José Matos <jamatos@fep.up.pt>
1361 * tabular.[Ch] (linuxdoc): add support for tables and figures
1364 2003-07-27 José Matos <jamatos@fep.up.pt>
1366 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1367 consistency in both functions.
1368 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1370 2003-07-26 Asger Alstrup <alstrup@local>
1372 * rowpainter.C (paintRows): Change algorithm to work directly on
1373 the insets rather than asking every character in the document
1374 whether its an inset.
1376 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1378 * buffer.C (openFileWrite): factorize some code
1380 2003-07-26 Angus Leeming <leeming@lyx.org>
1383 * lyx_main.[Ch]: replace occurances of system_tempdir with
1386 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1388 * rename Inset to InsetOld
1390 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1392 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1393 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1394 which I think is a bit clearer. EDIT is gone, since it was
1395 premature optimisation, and broken for mathed anyway.
1396 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1397 with cursor positioning in insets as well (math insets still do not
1398 work, but that's a different story anyway.) It mysteriously
1399 crashes sometimes with undo in the first paragraph, but I'm fairly
1400 confident that this is a compiler bug.
1402 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1404 * paragraph.C (Paragraph): adjust for new clone return type
1406 (copyIntoMinibuffer): ditto
1408 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1410 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1411 by not having a special case, and always doing a full rebreak of
1412 the document after undo.
1414 2003-07-23 Angus Leeming <leeming@lyx.org>
1416 * factory.C (createInset): InsetExternal::setParams now takes a
1419 2003-07-23 Angus Leeming <leeming@lyx.org>
1421 * factory.C (createInset): changed interface to the external and
1422 graphics mailers' string2params functions.
1424 2003-07-23 Angus Leeming <leeming@lyx.org>
1426 * factory.C (createInset): pass a
1427 Buffer const * parameter to InsetExternalMailer's string2params.
1429 2003-07-22 John Levon <levon@movementarian.org>
1431 * Thesaurus.h: include the right aiksaurus header
1433 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1435 * MenuBackend.C (expand): check menu shortcuts unconditionally
1437 2003-07-21 Angus Leeming <leeming@lyx.org>
1439 * factory.C (createInset): pass a
1440 buffer_path parameter to InsetGraphicsMailer's string2params.
1442 2003-07-21 Angus Leeming <leeming@lyx.org>
1444 * BufferView_pimpl.C (buffer):
1447 * lyxfunc.C (dispatch):
1448 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1449 rather than the grfx shortcut.
1451 2003-07-21 André Pönitz <poenitz@gmx.net>
1453 * rowpainter.C: remove unused variables
1456 * tabular_funcs.h: move to tabular.C
1457 * Makefile.am: adjust
1459 * tabular.[Ch]: basic optical cleaning
1461 * author.h: pass references, not values
1463 2003-07-18 André Pönitz <poenitz@gmx.net>
1471 * text3.C: two-phase drawing for InsetText and InsetTabular
1472 some float -> int changes.
1474 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1476 * lyx_main.C: fix the fix
1478 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1480 * lyx_main.C: fix a crash in batch mode if no files specified
1483 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1485 * format.[Ch] (papersize): moved to BufferParams
1486 * converter.[Ch] (dvips_options): moved to BufferParams
1487 (dvipdfm_options): moved to anon namespace
1488 * bufferparams.[Ch]: added above functions.
1490 2003-07-17 André Pönitz <poenitz@gmx.net>
1494 * text2.C: don't call inset->update() anymore
1496 * metricsinfo.[Ch]: add convenience constructor
1498 2003-07-16 André Pönitz <poenitz@gmx.net>
1503 * text2.C: replace the LyXCursor::irow_ member with
1504 on-demand computation of the value
1506 2003-07-16 John Levon <levon@movementarian.org>
1508 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1510 2003-07-15 André Pönitz <poenitz@gmx.net>
1513 * text2.C: remove no more needed refresh_row
1515 2003-07-15 André Pönitz <poenitz@gmx.net>
1520 * text3.C: refresh_status tristate -> need_update bool
1522 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1524 * lyxtext.h (init): remove reinit argument (act as if always true)
1525 * text2.C: adjust to that
1527 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1529 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1530 * text3.C: use it to delete selections in some cases
1531 (bugs 441, 673, 702, 954).
1533 2003-07-14 André Pönitz <poenitz@gmx.net>
1535 * rowpainter.[Ch]: reduce interface
1537 2003-07-14 André Pönitz <poenitz@gmx.net>
1539 * BufferView_pimpl.C:
1540 * text2.C: adjust after removing unused BufferView * argument
1542 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1544 * text2.C (init): fix a crash fired on resize
1546 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1548 * buffer.[Ch]: added new closing signal
1549 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1550 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1551 BufferView::Pimpl via the closing the signal
1553 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1555 * buffer.[Ch]: take out all bv-related from buffer
1557 * BufferView_pimpl.[Ch]: connect to new signals
1558 * CutAndPaste.C: removed useless asserts
1559 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1562 * lyxfunc.C: moved view-related funciontality from vc here
1563 * paragraph.C: removed outdated comments
1566 2003-07-10 André Pönitz <poenitz@gmx.net>
1568 * BufferView_pimpl.C:
1572 * text2.C: remove InsetText::InnerCache, clean up consequences
1574 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1576 * ispell.C: fix two typos in error messages
1578 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1580 * Extend Note inset to other forms of annotation like Comment
1581 and Greyedout. Right button click gives dialog.
1583 Files modified or added (+):
1587 * ControlNote.[Ch] +
1589 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1590 frontends/controllers
1594 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1596 * aspell.C: add missing namespace lyx::support
1598 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1600 * BufferView.[Ch] (newFile): Add
1601 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1602 * LaTeX.[Ch] (message): added this signal and use it
1603 * buffer.[Ch] (busy, message): added these signals and use them
1604 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1608 * importer.C: use buffer signals instead of direct bv calling
1609 * lyx_cb.[Ch] (ShowMessage): removed
1612 * paragraph_funcs.C:
1613 * text2.C: use buffer signals
1615 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1617 * introduce namespace lyx::graphics
1619 2003-07-02 André Pönitz <poenitz@gmx.net>
1621 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1623 2003-07-01 André Pönitz <poenitz@gmx.net>
1630 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1631 text*.C to text_func.C
1633 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1635 * introduce namespace lyx::support
1637 2003-06-30 André Pönitz <poenitz@gmx.net>
1642 * text.C: re-enable --with-included-string
1644 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1646 * textcursor.C: add <config.h>
1648 * text.C (getWord): remove const from word_location arg
1650 * lyxvc.C (getLogFile): fix const type order
1652 * lyxtext.h: remove const from word_location arg, add arg name
1654 * lyxlayout.h: currect type on labeltype.
1656 * importer.C: correct \file
1658 * converter.C (intToFormat): use std:: on ret val, ws changes
1660 * bufferlist.h: correct \file
1662 * buffer.C (makeLinuxDocFile): fix const type order
1663 (makeDocBookFile): ditto
1664 (fillWithBibKeys): use std:: on stdlib args.
1666 * CutAndPaste.C: fix authors.
1667 (availableSelections): use std:: on return vector
1669 2003-06-27 André Pönitz <poenitz@gmx.net>
1671 * BufferView_pimpl.C:
1672 * bufferview_funcs.C:
1680 * text3.C: remove LyXCursor::row_ member
1683 * text.C: rename fullRebreak() to partialRebreak() and implement
1684 a fullRebreak() that really bereks fully
1686 * textcursor.h: new struct for cursor-related data
1688 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1690 * lyx_main.C (LyX): get full path of document loaded on the
1693 2003-06-26 André Pönitz <poenitz@gmx.net>
1695 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1696 remove unused/broken operator>,<,>=.
1698 * text.C: remove only use of broken operator<= in an Assert().
1700 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1702 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1703 moved errorlist_.clear to showErrorList
1705 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1707 * converter.C (scanLog, runLaTeX):
1708 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1709 move the bv->showErrorList call to the callers
1710 * lyxfunc.C: i.e. here...
1712 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1713 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1714 namespace, the second to...
1715 * buffer_funcs (BufferFormat, parseErrors): added
1716 * errorlist.C (ErrorList(TeXErrors const &)): removed
1718 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1720 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1722 2003-06-24 "Garst R. Reese" <reese@isn.net>
1726 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1728 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1730 * version.C.in: change docversion to 1.4
1732 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1734 * buffer.C: fix a bug just introduced
1736 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1738 * buffer.[Ch]: added the parseError signal and use it, removed
1740 * BufferView.[Ch] (addError): moved to ...
1741 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1742 to the Buffer::parseError signal to catch (guess what) parse errors
1743 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1745 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1747 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1748 ability to create a buffer and to return an existing one from
1749 the list. Moved these functions to...
1750 * buffer_funcs.[Ch]: added
1751 * BufferView.[Ch] (loadLyXFile): added
1752 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1753 job removed from bufferlist::loadLyXFile.
1754 * buffer.C (setReadOnly): make it work without view
1755 (i.e added an if (users))
1757 2003-06-19 Angus Leeming <leeming@lyx.org>
1760 * LyXAction.C (init):
1761 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1762 with LFUN_DIALOG_SHOW <name> <data>.
1764 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1766 * CutAndPaste.C (availableSelections): small compilation fix for
1767 ancient (gcc 2.9x) compilers
1769 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1771 * text3.C (cursorNext): add tmp var
1773 * text2.C (updateCounters): for function calling out of for clause
1774 (replaceSelectionWithString): ditto
1775 (insertStringAsParagraphs): ditto
1776 (getColumnNearX): add tmp var
1777 (setCursorFromCoordinates): add tmp var
1778 (cursorDownParagraph): add tmp var
1779 (deleteEmptyParagraphMechanism): add tmp var
1781 * text.C (insertChar): add tmp var
1783 * rowpainter.C (paintDepthBar): add tmp var
1785 * CutAndPaste.C (availableSelections): potentially check all
1786 paragraphs in a cut to fill the shown strings.
1788 2003-06-18 André Pönitz <poenitz@gmx.net>
1790 * kbmap.[Ch]: use vector<> instead of list<>
1792 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1794 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1795 pasteSelection with index
1797 * text2.C (pasteSelection): modify, call pasteSelection with index
1799 * paragraph.C (asString): reimplement version with no interval to
1800 call the one with interval.
1802 * lyxtext.h: add index arg to pasteSelection
1804 * MenuBackend.C (MenuItem): handle PasteRecent
1805 (Menu::read::Menutags): add md_pasterecent
1807 (expandPasteRecent): new function
1810 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1812 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1814 (availableSelections): new function
1816 2003-06-17 Angus Leeming <leeming@lyx.org>
1818 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1820 2003-06-17 Angus Leeming <leeming@lyx.org>
1823 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1825 * lyxfunc.C (dispatch): invoke it.
1827 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1829 * iterators.C (operator++, ParPosition): reintroduce some
1830 const_cast for the benefit of older compilers.
1832 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1834 * text3.C (dispatch): do not modify clipboard when doing
1835 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1836 LFUN_DELETE_SKIP on a selection selection
1838 2003-06-16 André Pönitz <poenitz@gmx.net>
1844 * tabular.[Ch]: IU of clone() and getLabelList();
1846 2003-06-13 André Pönitz <poenitz@gmx.net>
1848 * tabular.h: compactification
1850 2003-06-12 André Pönitz <poenitz@gmx.net>
1854 * tabular_funcs.h: some renaming plus whitespace
1856 2003-06-12 André Pönitz <poenitz@gmx.net>
1859 * BufferView_pimpl.C:
1865 * toc.C: Return a Paragraph & for ParIterator::operator*()
1867 2003-06-11 John Levon <levon@movementarian.org>
1871 * ToolbarBackend.C: add "Toolbars" section and
1874 2003-06-10 Angus Leeming <leeming@lyx.org>
1877 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1879 * lyxfunc.C (dispatch): invoke it.
1881 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1883 * main.C: protect <ios> with HAVE_IOS
1884 (main): protect sync_with_stdio with HAVE_IOS
1886 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1888 * text2.C (cutSelection): adjust
1889 (pasteSelection): adjust
1891 * messages.C: handle get of empty string
1893 * main.C (main): use sync_with_stdio(false)
1895 * lyxfunc.C (dispatch): adjust
1897 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1898 (WriteAs): remove unneeded BufferView arg.
1900 * bufferparams.h: use correct types on papersize, papersize2 and
1903 * bufferparams.C (readToken): adjust for type
1904 (writeLaTeX): add missing cases to switch.
1906 * bufferlist.C (quitWriteBuffer): adjust
1909 * buffer.C (asciiParagraph): remove some commented code.
1911 * CutAndPaste.C: remove current_view extern variable.
1912 (cutSelection): add BufferParams arg.
1913 (eraseSelection): add BufferParams arg.
1914 (pasteSelection): add Buffer const & arg
1916 2003-06-07 John Levon <levon@movementarian.org>
1919 * paragraph_funcs.C:
1920 * paragraph_pimpl.C:
1924 * paragraph.C: allow InsetERT to freely space lines,
1925 and some consolidation of code
1927 2003-06-06 José Matos <jamatos@fep.up.pt>
1929 * buffer.C (makeDocBookFile): fix bug #821
1931 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1933 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1935 2003-06-04 Angus Leeming <leeming@lyx.org>
1937 * buffer.C: bump format to 224.
1939 2003-06-05 André Pönitz <poenitz@gmx.net>
1941 * text2.C (redoParagraphs): remove two const_cast<>
1943 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1945 * ParagraphList.h: remove last remnants of NO_STD_LIST
1947 2003-06-03 Angus Leeming <leeming@lyx.org>
1949 * factory.C (createInset): small change to the way InsetExternal's params
1952 2003-06-04 André Pönitz <poenitz@gmx.net>
1954 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1956 * paragraph_pimpl.h:
1957 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1959 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1961 * undo_funcs.C: make some simple cases of undo work again
1963 2003-06-03 John Levon <levon@movementarian.org>
1965 * ispell.C: HPUX doesn't have sys/select.h
1968 2003-06-03 John Levon <levon@movementarian.org>
1970 * CutAndPaste.C: update tabular and include inset
1975 * paragraph.C: remove owningBuffer(), don't pass Buffer
1978 * factory.C: insetGraphicsParams changed
1980 2003-06-02 John Levon <levon@movementarian.org>
1986 * text3.C: remove insetparent
1988 2003-06-02 John Levon <levon@movementarian.org>
1991 * buffer.C: fix inset_iterator.end(), move out of line
1994 2003-06-01 John Levon <levon@movementarian.org>
1996 * text3.C: use a proper cut/paste when doing inset
1997 insert (from Jürgen Spitzmüller)
1999 2003-06-01 John Levon <levon@movementarian.org>
2001 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2003 2003-05-30 André Pönitz <poenitz@gmx.net>
2005 * rowpainter.C: unify second drawing phase
2007 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2009 * trans_mgr.C: remove one case of current_view
2011 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2013 * paragraph_funcs.h: remove paragraph.h include
2015 * paragraph.h: delete NO_STD_LIST stuff
2017 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2019 * buffer.h: remove paragraph.h include
2021 * ParagraphList.C: delete file
2023 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2025 * toc.C (getTocList): adjust
2027 * paragraph_pimpl.C (validate): adjust
2029 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2031 * paragraph.C (Paragraph): adjust
2032 (getPositionOfInset): use const_iterator, adjust
2033 (bibitem): use const_iterator, adjust
2034 (setInsetOwner): adjust
2036 * iterators.C (operator++): adjust
2038 * InsetList.[Ch]: Replace selfmade iterator with standard
2039 vector::iterator also introduce const_iterator. Remove getPos,
2040 getInset and setInset from InsetTable. Adjust accordingly.
2042 * BufferView.C (lockInset): adjust
2043 (ChangeInsets): adjust
2045 * tabular.[Ch]: delete commented same_id functions
2047 2003-05-28 John Levon <levon@movementarian.org>
2049 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2051 2003-05-28 André Pönitz <poenitz@gmx.net>
2053 * metricsinfo.[Ch]: remove 'fullredraw' member
2055 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2057 * lyxtextclass.C (operator): remove caching.
2059 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2063 * text2.C (cursorBottom): adjust
2064 (setCounter): use ParagraphList::find, adjust
2066 * text.C (workWidth): use ParagraphList::find, adjust
2068 * lyxcursor.C (LyXCursor): adjust
2070 * buffer.C (inset_iterator): adjust
2072 * ParagraphList.h: make iterator(value_type) private, make
2073 ParagraphList a friend of iterator.
2075 * ParagraphList.C (find): new function
2077 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2079 2003-05-27 André Pönitz <poenitz@gmx.net>
2081 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2083 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2085 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2087 2003-05-26 John Levon <levon@movementarian.org>
2089 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2091 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * remove same_id from function signatures, adjust.
2095 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2099 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2101 * paragraph.C (Paragraph): get rid of same_ids parameter
2103 * ParagraphList.C (insert): adjust
2106 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2108 * paragraph_funcs.C (breakParagraph): adjust
2109 (breakParagraphConservative): adjust
2111 * buffer.C (readParagraph): adjust
2113 * ParagraphList.C (insert): take a reference instead of a pointer
2116 * paragraph.[Ch] (id): new function
2118 * bufferlist.C (newFile): adjust
2120 * ParagraphList.C (ParagraphList): adjust
2122 (push_back): take a reference instead of a pointer.
2124 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2126 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2129 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2130 set else use old code.
2132 * ParagraphList.C: remove all NO_NEXT code and only compile this
2133 code of NO_STD_LIST is set.
2135 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2137 * BufferView_pimpl.C:
2147 * graphics/GraphicsConverter.C:
2148 * graphics/PreviewLoader.C: header adjustment
2150 2003-05-23 Angus Leeming <leeming@lyx.org>
2152 * LaTeXFeatures.[Ch] (useBabel): new method.
2153 * bufferparams.C (writeLaTeX): use it.
2155 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2157 * ParagraphList.h (set): remove unused function.
2159 2003-05-23 André Pönitz <poenitz@gmx.net>
2162 * BufferView_pimpl.C:
2166 * undo_funcs.C: setUndo reworked
2168 * iterators.[Ch]: add access to topmost ParagraphList
2170 * lyxtext.[Ch] (workWidth): add a const
2172 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2174 * texrow.[Ch] (increasePos): remove function
2175 * exporter.C (export): removed unused var and outdated comment
2177 2003-05-23 Angus Leeming <leeming@lyx.org>
2179 * latexrunparams.h: rename fragile as moving_arg.
2180 * paragraph.C (simpleTeXOnePar): ditto.
2181 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2183 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2185 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2187 (textUndoOrRedo): comment out a currently unused var.
2189 * paragraph.h (NO_NEXT): enable NO_NEXT
2191 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2193 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2195 * exporter.C (Export): adjust for removeAutoInsets removal.
2197 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2199 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2201 * BufferView.[Ch] (removeAutoInsets): delete function
2203 2003-05-22 Angus Leeming <leeming@lyx.org>
2205 * latexrunparams.h: add a free_spacing variable.
2207 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2208 to pass moving_arg, as the data is stored in runparams.fragile.
2210 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2211 to Inset::latexOptional or to simpleTeXOnePar.
2213 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2214 free_spacing arg to Inset::latexOptional.
2216 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2219 2003-05-22 Angus Leeming <leeming@lyx.org>
2221 * latexrunparams.h: add fragile and use_babel variables.
2223 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2224 * buffer.C (makeLaTeXFile): store this returned value in
2225 runparams.use_babel, thus passing it to the inset::latex methods.
2227 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2228 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2230 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2231 longer has a fragile arg, as it is stored in runparams.fragile.
2233 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2234 moving_arg parameter as the data is stored in runparams.fragile.
2236 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2237 a fragile parameter as the data is stored in runparams.fragile.
2239 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2241 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2243 2003-05-22 Angus Leeming <leeming@lyx.org>
2245 * latexrunparams.h: add a 'bool nice' which defaults to false.
2247 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2248 now encapsulated within runparams.
2250 * bufferlist.C (updateIncludedTeXfiles):
2251 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2253 2003-05-22 Angus Leeming <leeming@lyx.org>
2255 * latexrunparams.h: new file containing struct LatexRunParams.
2256 * Makefile.am: add new file.
2258 * LaTeX.[Ch] (c-tor, run):
2259 * buffer.[Ch] (makeLaTeXFile):
2260 * bufferlist.[Ch] (updateIncludedTeXfiles):
2261 * converter.C (convert, scanLog):
2262 * converter.[Ch] (runLaTeX):
2263 * exporter.C (Export):
2264 * paragraph.[Ch] (simpleTeXOnePar):
2265 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2266 * paragraph_funcs.[Ch] (latexParagraphs):
2267 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2268 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2269 pass around a LatexRunParams parameter.
2271 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2273 * paragraph.[Ch]: remove unused constructor
2275 * ParagraphList.C (erase): new function, taking two iterators
2277 2003-05-22 André Pönitz <poenitz@gmx.net>
2279 * undo_funcs.C: remove duplicated code
2281 * iterator.[Ch]: operator=
2283 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2285 * tabular.C (SetMultiColumn): ws changes
2287 * rowpainter.C (paintFirst): get rid of a ->previous
2289 * lyx_cb.C (getPossibleLabel): parlist simplification
2291 * BufferView.C (ChangeInsets): simplify slightly.
2293 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2295 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2296 * lfuns.h: new LFUN_SPACE
2297 * lyxfunc.C: protected space has a new lfun
2298 * paragraph_funcs.C: read new space insets
2300 * factory.C: handle new space insets
2302 2003-05-22 André Pönitz <poenitz@gmx.net>
2305 * BufferView_pimpl.C:
2308 * undo_funcs.C: return a ParIterator from getParFromID.
2310 * iterators.[Ch]: add two const's
2312 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2314 * toc.C (getTocList): adjust
2316 * iterators.[Ch]: rework for parlist
2318 * buffer.C (par_iterator_begin): adjust
2319 (par_iterator_end): adjust
2321 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2323 * BufferView.C (removeAutoInsets): adjust
2324 (ChangeInsets): adjust
2326 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2328 * text.C (top_y): fix bug 1110
2330 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2332 * errorlist.[Ch]: added
2335 * BufferView_pimpl.C:
2336 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2339 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2341 * Makefile.am: ensure that lyx is relinked upon changes to the
2342 various "convenience" libs.
2344 2003-05-20 Angus Leeming <leeming@lyx.org>
2346 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2347 files are compiled in alphabetical order again.
2349 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2351 2003-05-19 Angus Leeming <leeming@lyx.org>
2353 * gettext.[Ch]: remove "char const * _(char const *)".
2355 2003-05-19 André Pönitz <poenitz@gmx.net>
2357 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2366 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2368 2003-05-19 André Pönitz <poenitz@gmx.net>
2372 * lyxtextclass.[Ch]:
2374 * paragraph_funcs.[Ch]:
2376 * text3.C: more insetenv work
2378 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2380 * ParagraphParameters.C (params2string): small bug fixed
2382 2003-05-16 André Pönitz <poenitz@gmx.net>
2385 * bufferview_funcs.C: patch from Kornel Benko to prevent
2386 crash when _(...) is called twice in a statement
2388 2003-05-16 André Pönitz <poenitz@gmx.net>
2395 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2397 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2399 * lyx_main.C (init): remove spurious static_cast
2401 2003-05-14 André Pönitz <poenitz@gmx.net>
2403 * BufferView.C: fix format string
2405 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2407 * BufferView.[Ch] (insertErrors): removed
2408 * BufferView.[Ch] (showErrorList): added
2409 * buffer.C (runChkTeX):
2410 * converter.C (scanLog): call showErrorList instead of inserterrors
2412 2003-05-13 André Pönitz <poenitz@gmx.net>
2414 * BufferView_pimpl.C:
2416 * bufferview_func.C:
2423 * tabular_funcs.h: tostr() from its own header
2425 * ParagraphParameters.C:
2430 * text3.C: STRCONV()
2432 2003-05-12 André Pönitz <poenitz@gmx.net>
2435 * BufferView_pimpl.C:
2439 * ParagraphParameters.C:
2443 * bufferview_funcs.C:
2456 * paragraph_funcs.C:
2460 * text3.C: boost::format -> bformat all over the place
2463 2003-05-09 André Pönitz <poenitz@gmx.net>
2465 * LColor.[Ch]: Pimpl the #include <map> away
2467 2003-05-09 John Levon <levon@movementarian.org>
2469 * bufferlist.C: never remove emergency saves
2471 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2473 * Makefile.am: better lib building
2475 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2477 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2479 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2480 (simpleTeXSpecialChars): adjust
2481 (simpleTeXSpecialChars): adjust
2482 * paragraph.C (simpleTeXOnePar): adjust
2483 * buffer.C (makeLaTeXFile): adjust
2485 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2487 * text2.C (changeDepth): parlist cleanup
2488 (getColumnNearX): ditto
2490 * rowpainter.C (getLabelFont): parlist cleanup
2492 * bufferlist.C (newFile): parlist cleanup
2494 * CutAndPaste.C (eraseSelection): parlist cleanup
2496 * BufferView_pimpl.C (trackChanges): parlist cleanup
2499 * BufferView.C (lockInset): parlist cleanup.
2500 (ChangeInsets): ditto
2502 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2504 * CutAndPaste.h: Update file header.
2506 * CutAndPaste.C: Update file header.
2507 Store the parts cut out of the Document in a limited_stack.
2508 (copySelection): adjust
2509 (pasteSelection): new function, takes the index in the limited stack.
2510 (nrOfParagraphs): adjust
2511 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2512 simplify error inset insertion.
2513 (checkPastePossible): adjust
2515 2003-05-06 John Levon <levon@movementarian.org>
2517 * text2.C: don't cast wrap inset to float
2519 2003-05-05 André Pönitz <poenitz@gmx.net>
2522 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2524 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2525 few naked Paragraph *.
2527 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2529 * bufferparams.C: Output warning if a document with missing
2530 TeX document class is loaded
2531 * exporter.C: Disable TeX exports if the document class is missing
2534 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2535 isTeXClassAvailable()
2537 2003-05-03 John Levon <levon@movementarian.org>
2540 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2541 explicit cursor show/hide
2543 * BufferView_pimpl.h:
2544 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2545 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2547 * lyxfunc.C: hide cursor before dispatching.
2552 * text3.C: remove explicit cursor hides
2554 2003-05-02 André Pönitz <poenitz@gmx.net>
2556 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2559 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2562 * text2.C: tiny whitespace
2564 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2566 * undo_funcs.C: almost only ws changes.
2568 * ParagraphList.C (splice): just return if pl is empty.
2570 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2572 * ParagraphList.C (splice): new function.
2574 * CutAndPaste.C (pasteSelection): use it
2576 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2578 * CutAndPaste.C (pasteSelection): remove the last next and
2579 previous from this file.
2581 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2583 * CutAndPaste.C (pasteSelection): more clean up, user proper
2584 ParagraphList functions for pasteing.
2586 * ParagraphList.C (insert): new function, three arg insert
2588 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2590 * ParagraphList.C (insert): new function, three arg insert
2592 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2595 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2597 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2599 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2601 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2603 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2605 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2606 (copySelection): clean up a bit.
2607 (pasteSelection): use make_pair
2609 * ParagraphList.C (ParagraphList): implement copy constructor
2610 (operator=): implement, base on copy constructor.
2613 * paragraph.C (erase): return a bool
2615 * paragraph_pimpl.C (erasePos): remove function, move contents...
2616 (erase): ... here. Return a bool.
2617 (erase): call erase instead of erasePos.
2619 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2621 * ParagraphList.h: define PitPosPair
2622 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2623 ParagraphList, fix a bug on pasting multiple pars
2624 * text2.C: change interface to C&P
2626 2003-04-30 André Pönitz <poenitz@gmx.net>
2628 * undo_func.C: revert part of yesterday's patch 2
2630 2003-04-30 John Levon <levon@movementarian.org>
2632 * LColor.C: s/tabular/table/
2634 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2636 * text3.C (dispatch): do not convert iterator -> pointer
2637 * undo_funcs.C (setCursorParUndo): ditto
2638 * text_funcs.C (transposeChars): ditto
2640 * text2.C (setLayout): ws changes only
2642 * text.C (breakParagraph): do not convert iterator -> pointer
2644 (acceptChange): ditto
2645 (rejectChange): ditto
2650 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2653 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2655 * text3.C (gotoInset): YABG (yet another bad getChar)
2657 2003-04-29 André Pönitz <poenitz@gmx.net>
2659 * paragraph.h: make operator= private unimplemented as long as
2662 * ParagraphList.C: whitespace
2665 * paragraph_pimpl.[Ch]:
2666 * paragraph_funcs.C:
2668 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2671 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2673 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2675 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2676 * paragraph.[Ch] (erase):
2677 * paragraph_pimpl.[Ch] (erase): change return type and value
2678 * text2.C (cutSelection): some rework
2680 2003-04-28 John Levon <levon@movementarian.org>
2682 * bufferlist.C: changes for unsaved changes dialog
2684 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2686 * bufferlist.C (newFile): set language (messages_) for new
2689 * buffer.C (readFile): ws changes only.
2691 2003-04-28 André Pönitz <poenitz@gmx.net>
2696 * BufferView_pimpl.C:
2697 * BufferView.C: getParFromID related ParagraphList::iterator changes
2699 2003-04-28 André Pönitz <poenitz@gmx.net>
2701 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2704 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2706 * messages.C: remove one more localedir class variable.
2708 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2710 * messages.C (getLocaleDir): singleton generation function
2712 (Messages): add a default constructor.
2714 * main.C (main): do not setup localedir here, do not call
2717 * gettext.C (_): use it.
2718 (gettext_init): delete funciton
2720 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2722 * gettext.C (getLyXMessages): new singleton generating function.
2724 * buffer.C (updateDocLang): adjust
2726 * Makefile.am (messages.o): add target
2727 (main.o): remove target
2729 2003-04-27 John Levon <levon@movementarian.org>
2734 * lyxvc.C: specify cancel button in Alert::prompt
2736 2003-04-26 John Levon <levon@movementarian.org>
2741 * LyXAction.C: add LFUN_INSET_SETTINGS
2743 * lyxfunc.C: don't enable tabular-feature when there's
2744 just any locking inset
2746 2003-04-26 John Levon <levon@movementarian.org>
2748 * bufferlist.C: re-add Cancel to buffer close question
2750 * lyxfunc.C: fix import UI a bit
2752 2003-04-25 John Levon <levon@movementarian.org>
2754 * gettext.C: remove the broken asserts for now
2756 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * messages.C: make case where setlocale cannot comply work better.
2760 * buffer.C (updateDocLang): new function
2761 (changeLanguage): use it
2764 * text2.C (setCounter): use B_ a bit.
2766 * lyxlayout.C (Read): be sure to trim the label strings.
2768 * messages.C (Messages): fix typo in comment
2770 * buffer.C (readFile): set message_ after file is loaded.
2771 (makeDocBookFile): remove double return
2772 (changeLanguage): reset message_ upon language change.
2773 (B_): new func, use this to get translated buffer strings.
2775 * main.C: add myself and Jean Marc as authors.
2777 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2779 * messages.[hC]: pimplify Messages, and three different pimpls to be
2780 used in different circumstances.
2782 * gettext.[Ch]: change for use with new message code.
2784 2003-04-24 André Pönitz <poenitz@gmx.net>
2786 * factory.C: support for eqref
2788 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2790 * messages.[Ch]: add missing char
2792 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2794 * messages.[Ch]: New files
2796 2003-04-18 John Levon <levon@movementarian.org>
2800 * BufferView_pimpl.C:
2804 * text2.C: remove layout-copy/paste (bug 778)
2806 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2808 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2810 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2812 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2813 if they succeed. Act accordingly.
2815 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2817 * text2.C (setCharFont): adjust
2818 (setCounter): adjust
2819 (insertStringAsLines): adjust
2821 * text.C (leftMargin): adjust
2822 (setHeightOfRow): adjust
2824 * rowpainter.C (paintFirst): adjust
2827 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2829 (isFirstInSequence): ditto
2830 (getEndLabel): ditto
2833 * paragraph.C (getParLanguage): comment out some hard stuff.
2835 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2837 (simpleDocBookOnePar): ditto
2838 (makeDocBookFile): use ParagraphList::iterator
2840 * CutAndPaste.C (pasteSelection): adjust
2842 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2844 * text2.C (getFont): adjust
2845 (getLayoutFont): adjust
2846 (getLabelFont): adjust
2848 * paragraph_funcs.C (TeXOnePar): adjust
2850 * buffer.C (simpleLinuxDocOnePar): adjust
2851 (simpleDocBookOnePar): adjust
2853 * CutAndPaste.C (pasteSelection): adjust
2855 * BufferView.C (getEncoding): adjust
2857 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2859 2003-04-16 John Levon <levon@movementarian.org>
2861 * lyxfind.C: use parlist stuff for search/changes
2863 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2865 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2867 * text2.C (deleteEmptyParagraphMechanism): adjust
2869 * text2.[Ch] (ownerParagraph): delete func (both of them
2871 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2875 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2877 * ParagraphList.C: prepare for NO_NEXT
2879 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2881 * text2.C (getFont): adjust
2882 (getLayoutFont): adjust
2883 (getLabelFont): adjust
2885 * paragraph.C (getFont): adjust
2886 (getLabelFont): adjust
2887 (getLayoutFont): adjust
2889 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2891 2003-04-15 John Levon <levon@movementarian.org>
2895 * lyx_main.C: handle Include in .ui files
2897 2003-04-15 John Levon <levon@movementarian.org>
2899 * MenuBackend.C: make the doc files length shorter
2902 * ToolbarBackend.C: handle toolbar placement flags,
2905 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2907 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2910 * paragraph_funcs.C (TeXOnePar): adjust
2912 * paragraph.C (getLabelFont): add outerfont arg, adjust
2913 (getLayoutFont): ditto
2914 (simpleTeXOnePar): adjust
2916 * paragraph_pimpl.C (realizeFont): delete func
2918 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2920 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2921 row argument, constify cur argument.
2923 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2925 * text2.C (getFont): adjust
2926 (getLayoutFont): adjust
2927 (getLabelFont): adjust
2929 * paragraph_funcs.C (TeXOnePar): adjust
2930 (outerFont): new func...
2931 (realizeFont): ...moved out from here, changed this to facilitate
2934 * paragraph.C (getFont): take outerfont as arg, adjust
2935 (simpleTeXOnePar): add outerfont arg, adjust
2937 * buffer.C (simpleLinuxDocOnePar): adjust
2938 (simpleDocBookOnePar): adjust
2940 * CutAndPaste.C (pasteSelection): adjust
2942 * BufferView.C (getEncoding): adjust
2944 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * text2.C (setCharFont): adjust
2947 (setCounter): adjust
2949 * text.C (leftMargin): adjust
2950 (setHeightOfRow): adjust
2952 * rowpainter.C (paintFirst): adjust
2955 * paragraph_pimpl.C (realizeFont): adjust
2957 * paragraph.C (isFirstInSequence): move from here...
2958 * paragraph_funcs.C (isFirstInSequence): ...to here
2960 * paragraph.C (outerHook): move from here...
2961 * paragraph_funcs.C (outerHook): ...to here
2963 * paragraph.C (depthHook): move from here...
2964 * paragraph_funcs.C (depthHook): ...to here
2966 * paragraph.C (getEndLabel): move from here...
2967 * paragraph_funcs.C (getEndLabel): ...to here
2969 * text2.C (realizeFont): move from here...
2970 * paragraph_funcs.C (realizeFont): ...to here
2972 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2974 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2976 2003-04-14 Angus Leeming <leeming@lyx.org>
2978 * LColor.[Ch]: scrap LColor mathcursor.
2980 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2982 * lyxlex.[Ch] (text): delete function
2983 * trans.C (Load): adjust
2984 * paragraph_funcs.C (readParToken): adjust
2986 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2988 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2989 vector<char> instead of a char[].
2991 * lyxlex_pimpl.C (getString): adjust
2993 (lex): use getString
2997 * lyxlex.C (text): use pimpl_->getString()
3001 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3003 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3004 (makeFontEntriesLayoutSpecific): temp var for par.size()
3005 (setLayout): temp var for ownerParagraphs().end()
3006 (fullRebreak): temp var for rows().end()
3007 (selectionAsString): temp var for boost::next(startpit), realize
3008 that the while really is a regular for loop.
3009 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3010 setCursor in one place.
3011 (setParagraph): temp vr for ownerParagraphs().end()
3012 (updateCounters): make the while loop a for loop
3013 (cutSelection): temp var for ownerParagraphs().end()
3014 (updateInset): make the do {} while() a regular for loop
3015 (getCursorX): use temp vars
3016 (setCurrentFont): use temp vars
3017 (getColumnNearX): use temp vars
3019 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3021 * text.C (transformChar): use temp var for getChar
3022 (computeBidiTables): use temp var for row->par()
3023 (fill): move temp vars for row->par() and pit->layout() earlier in
3025 (labelFill): use temp var for row->par()
3026 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3027 asc and desc, realize that pit never changes and that firstpit is
3028 just a duplicate and not needed. Exchange rit->par() with pit in a
3030 (breakAgain): use a temp var for boost::next(rit)
3031 (breakAgainOneRow): ditto
3032 (breakParagraph): use a temp var for rows().begin()
3033 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3034 (cursorRightOneWord): use temp var for cursor.par() and
3035 cursor.pos(), remove usage of tmpcursor.
3036 (cursorLeftOneWord): use temp var for cursor.par() and
3037 cursor.pos() only set cur at end of function.
3039 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * text.C, text2.C: exchange all usage of Paragraph::next with
3042 boost::next(ParagraphList::iterator)
3044 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3046 * text2.C (cursorTop): simplify implementation
3047 (cursorBottom): ditto
3048 (setParagraph): use ParagraphList::iterator
3049 (setCurrentFont): adjust
3050 (getColumnNearX): adjust
3051 (cursorRight): adjust
3052 (cursorLeft): remove usage of Paragraph::previous
3053 (cursorUpParagraph): ditto
3054 (deleteEmptyParagraphMechanism): slight cleanup
3056 * text.C (isBoundary): take a Paragraph const & instead of a
3058 (addressBreakPoint): ditto
3059 (leftMargin): remove usage of Paragraph::previous.
3060 (setHeightOfRow): ditto
3061 (cursorLeftOneWord): ditto
3062 (selectNextWordToSpellcheck): ditto
3065 (breakParagraph): remove one usage of Paragraph::next
3066 (redoParagraph): ditto
3067 (acceptChange): ditto
3068 (insertChar): adjust
3069 (rowBreakPoint): adjust
3071 * bufferview_funcs.C (toggleAndShow): adjust
3073 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3075 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3076 methods to access it.
3078 * text.C: Added updateRowPositions to compute all row positions.
3079 Make top_y and getRowNearY() to use the cached y position
3081 2003-04-11 John Levon <levon@movementarian.org>
3083 * text.C (rowBreakPoint): reintroduce the labelEnd
3084 checks, code copied from the row fill stuff. Deep voodoo.
3086 * text.C (fill): add a comment and debugging for the
3089 2003-04-11 John Levon <levon@movementarian.org>
3091 * text.C: make sure fullrow insets get wrapped to the next line,
3092 even when they're in a manual label
3094 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * text2.C (insertParagraph): make it take ParagraphList::iterator
3098 (setLayout): make it return ParagraphList::iterator
3099 (redoParagraphs): ditto
3101 (checkParagraph): ditto
3103 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3105 * text2.C: adjust several funcs.
3106 (realizeFont): take a ParagraphList::iterator as arg.
3107 (getLayoutFont): ditto
3108 (getLabelFont): ditto
3109 (setCharFont): ditto
3111 * text.C: adjust several funcs.
3113 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3115 * text.C (selectNextWordToSpellcheck): don't accidentally
3118 2003-04-10 John Levon <levon@movementarian.org>
3120 * ToolbarBackend.C (getIcon): special handling for
3123 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3125 * text2.C (cursorRight): a getChar assert fixed
3127 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3129 * text2.C (getFont): change to take a ParagraphList::iterator
3130 instead of Paragraph*
3131 Adjust several functions.
3133 * text.C (transformChar): change to take a ParagraphList::iterator
3134 instead of Paragraph*
3135 (singleWidth): ditto
3136 Adjust several functions.
3138 * rowpainter.C: adjust several functions
3139 * rowpainter.h:store a ParagraphList::iterator and not a
3143 2003-04-09 John Levon <levon@movementarian.org>
3148 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3149 and the "help" bits as well
3151 2003-04-09 John Levon <levon@movementarian.org>
3154 * ToolbarBackend.C: allow multiple toolbars
3156 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3158 * undo_funcs.C (setCursorParUndo): adjust
3160 * text_funcs.C (transposeChars): adjust
3162 * text3.C (gotoNextInset): adjust
3165 * text2.C (setLayout): adjust
3166 (changeDepth): adjust
3168 (redoParagraphs): adjust
3169 (selectionAsString): adjust
3170 (setParagraph): adjust
3171 (insertInset): adjust
3172 (cutSelection): adjust
3173 (copySelection): adjust
3174 (pasteSelection): adjust
3175 (insertStringAsLines): adjust
3176 (updateInset): adjust
3177 (setCursor): change to take a ParagraphList::iterator parameter
3178 (setCursorIntern): change to take a ParagraphList::iterator parameter
3179 (setCurrentFont): adjust
3180 (cursorLeft): adjust
3181 (cursorRight): adjust
3182 (deleteEmptyParagraphMechanism): adjust
3184 * text.C (breakParagraph): adjust
3185 (insertChar): adjust
3186 (acceptChange): adjust
3187 (rejectChange): adjust
3188 (selectNextWordToSpellcheck): adjust
3189 (changeCase): adjust
3193 * lyxfind.C (SearchForward): adjust
3194 (SearchBackward): adjust
3195 (nextChange): adjust
3197 * lyxcursor.C (par): adjust
3199 * lyxcursor.h: store a ParagraphList::iterator instead of a
3202 * lyx_cb.C (getPossibleLabel): adjust
3204 * bufferview_funcs.C (toggleAndShow): adjust
3206 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3209 * BufferView.C (removeAutoInsets): adjust
3210 (lockedInsetStoreUndo): adjust
3212 2003-04-09 John Levon <levon@movementarian.org>
3214 * ToolbarBackend.C: try icon without argument
3215 if with argument fails
3217 2003-04-08 John Levon <levon@movementarian.org>
3220 * ToolbarBackend.C: add getIcon(), handle tooltip,
3221 and change from "Icon" to "Item".
3223 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3225 * BufferView.C (lockInset): another bad getchar crunched
3227 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3229 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3232 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3234 * lyxfind.C (searchForward, searchBackwards): bug 782
3236 2003-04-07 John Levon <levon@movementarian.org>
3238 * paragraph.C: remove dead comment
3240 * text.C: remove troublesome depth-fiddling code
3241 in leftMargin() and rightMargin() (bug 1017)
3243 * text.C: fix breaking of rows in nested lists
3246 * text2.C (updateCounters): fix up depth values
3249 2003-04-07 John Levon <levon@movementarian.org>
3251 * BufferView_pimpl.C: clear message when doc finishes resizing,
3252 and after a mouse event
3254 * lyxfunc.C: clear message after exiting inset
3256 2003-04-07 John Levon <levon@movementarian.org>
3258 * bufferview_funcs.C: show math status not outside
3259 status in the statusbar
3261 2003-04-07 John Levon <levon@movementarian.org>
3263 * lyxfunc.C: note status changed after a depth change
3265 2003-04-04 Angus Leeming <leeming@lyx.org>
3267 * LaTeX.h: move AuxInfo operator==, != out of line.
3268 Remove LaTeX virtual destructor; nothing derives from it.
3269 Move operator()() out of public area and rename it startscript().
3270 Change protected for private.
3272 2003-04-04 Angus Leeming <leeming@lyx.org>
3275 * text2.C: remove unneeded #includes.
3277 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3279 * text2.C (dEPM): fix the heigth of the next row
3281 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3283 * text.C: squashed an invalid getChar requester + some ws changes
3285 2003-04-03 John Levon <levon@movementarian.org>
3287 * bufferview_funcs.h:
3288 * bufferview_funcs.C:
3291 * text2.C: make getStatus work for the env depth lfuns
3293 2003-04-03 John Levon <levon@movementarian.org>
3295 * bufferview_funcs.h:
3296 * bufferview_funcs.C:
3299 * text2.C: parlistize decDepth(), by merging it with incDepth()
3301 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3303 * lyxrow.h: store a ParagraphList::iterator instead of a
3304 Paragraph* and adjust other class functions to suit.
3306 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3309 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3311 * text2.C (setCursor): do not anchor to cursor row for the time being
3313 2003-04-02 John Levon <levon@movementarian.org>
3320 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3322 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3324 * paragraph.h: make ParagraphList and ParagraphList::iterator
3325 friends of Paragraph.
3327 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3329 * ParagraphList.C: Use the private next_ and previous_ from
3332 2003-04-01 John Levon <levon@movementarian.org>
3336 * Makefile.am: rename, remove defaults gunk
3339 * MenuBackend.C: remove defaults gunk
3342 * Languages.C: remove defaults gunk
3345 * lyx_main.C: error out if files couldn't be found.
3347 2003-04-02 John Levon <levon@movementarian.org>
3349 * text2.C: make incDepth() use parlist
3351 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3353 * undo_funcs.C (firstUndoParagraph): adjust
3355 * text3.C (gotoInset): adjust
3356 (dispatch): adjust, and rewrite loop.
3358 * text2.C (init): adjust, and rewrite loop.
3359 (redoParagraphs): adjust
3360 (updateInset): adjust, and rewrite loop.
3361 (deleteEmptyParagraphMechanism): adjust
3363 * tabular.C (LyXTabular): adjust
3364 (SetMultiColumn): adjust
3367 * lyxtext.[Ch] (ownerParagraph): delete function
3368 (ownerParagraphs): new function returns a ParagraphList.
3370 * BufferView.C (removeAutoInsets): adjust
3371 (insertErrors): adjust
3372 (setCursorFromRow): adjust
3374 2003-04-01 Angus Leeming <leeming@lyx.org>
3376 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3379 2003-04-02 John Levon <levon@movementarian.org>
3385 * text_funcs.C: make transposeChars a free function
3387 * lyxrow_funcs.C: remove wrong comment
3389 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3392 * rowpainter.C: adjust
3397 * lyxrow_funcs. [Ch]: new files
3399 * lyxrow.[Ch]: remove next and previous pointers
3400 (next,previous): remove accessor functions
3401 (isParEnd): move to lyxrow_funcs
3402 (lastPos): move to lyxrow_funcs
3403 (nextRowIsAllInset): move to lyxrow_funcs
3404 (lastPrintablePos): move to lyxrow_funcs
3405 (numberOfSeparators): move to lyxrow_funcs
3406 (numberOfHfills): move to lyxrow_funcs
3407 (numberOfLabelHfills): move to lyxrow_funcs
3408 (hfillExpansion): move to lyxrow_funcs
3412 * bufferview_funcs.C (toggleAndShow): adjust
3414 * RowList.h: Remove class RowList from file leave just a
3417 * RowList.C: delete file
3419 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3422 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * text3.C (cursorPrevious): adjust
3425 (cursorNext): adjust
3428 * text2.C (redoHeightOfParagraph): adjust
3429 (redoDrawingOfParagraph): adjust
3432 * text.C (breakParagraph): adjust
3433 (insertChar): adjust
3436 * rowpainter.C (RowPainter): adjust
3437 (leftMargin): simplify and adjust
3438 (most rowpainter functions): adjust.
3440 * rowpainter.h: store the row as RowList::iterator not as Row*
3442 * lyxcursor.C (row): taka RowList::iterator as arg
3445 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3448 2003-04-01 Angus Leeming <leeming@lyx.org>
3450 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3451 stuff like bool Bool.
3453 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3455 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3458 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3460 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3463 * lyxtext.h (rows): drop one version and leve a const variant that
3464 returns a RowList::iterator.
3466 2003-03-31 Angus Leeming <leeming@lyx.org>
3468 * text.C (fill): ensure that the signature is the same as that in the
3471 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3473 * text2.C (redoParagraphs): adjust
3474 (updateCounters): adjust
3475 (checkParagraph): adjust
3476 (getColumnNearX): adjust and reformat a bit.
3478 * text.C (top_y): adjust
3480 (leftMargin): adjust
3481 (prepareToPrint): adjust
3483 (getRowNearY): adjust
3485 * lyxtext.h: make rowlist_ mutable.
3487 * RowList.h: add const_iterator
3488 * RowList.C: adjust for RowList::const_iterator.
3490 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3493 2003-03-31 John Levon <levon@movementarian.org>
3496 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3498 * lyx_main.C: set default fonts from using lyx_gui funcs
3500 * exporter.C: pdf_mode moved from lyxrc
3503 * lyxfunc.C: changes from above
3505 2003-03-31 John Levon <levon@movementarian.org>
3507 * lyx_main.C: fix to the last fix
3509 2003-03-31 John Levon <levon@movementarian.org>
3511 * bufferlist.C: "Load original" -> "Load Original"
3517 * format.C: more Alert cleanups
3519 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3521 * text2.C (removeParagraph): make it take a RowList::iterator as
3523 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3524 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3526 * text.C (anchor_row): make it take a RowList::iterator as arg,
3528 (computeBidiTables): make it take a const reference to Row instead
3529 of Row pointer, adjust.
3530 (leftMargin): make it take a RowList::iterator as arg, adjust.
3531 (rowBreakPoint): adjust
3532 (breakAgainOneRow): make it take a RowList::iterator as arg,
3534 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3536 * bufferview_funcs.C (toggleAndShow): adjust
3538 2003-03-30 John Levon <levon@movementarian.org>
3542 * boost-inst.C: moved to support
3544 * several files: changes as a result
3546 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3548 * text2.C (LyXText): adjust.
3550 (removeRow): make it take a RowList::iterator as arg, adjust.
3551 (fullRebreak): adjust
3552 (deleteEmptyParagraphMechanism): adjust
3553 (clearPaint): adjust
3556 * text.C (top_y): adjust
3557 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3558 (breakAgain): make it take a RowList::iterator as arg, adjust.
3559 (breakParagraph): adjust
3560 (insertChar): adjust
3563 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3564 need_break_row, and refresh_row.
3566 * text3.C (dispatch): adjust
3568 * text2.C (checkParagraph): adjust
3570 (setCursorFromCoordinates): adjust
3572 * text.C (top_y): adjust
3574 (getRow): make it return a RowList::iterator, adjust
3575 (getRowNearY): make it return a RowList::iterator, adjust
3577 * text2.C (init): adjust
3578 (insertRow): remove function
3579 (insertParagraph): adjust
3580 (redoParagraphs): adjust
3581 (fullRebreak): adjust
3582 (updateCounters): adjust
3584 * text.C (top_y): rewrite to use RowList iterators.
3586 (setHeightOfRow): rewrite to sue RowList iterators.
3587 (appendParagraph): adjust
3588 (breakAgain): adjust
3589 (breakAgainOneRow): adjust
3590 (breakParagraph): adjust
3592 (getRowNearY): adjust, and remove commented code.
3594 * lyxtext.h (firstRow): delete function
3595 (lastRow): delete function
3596 (rows): new function (const and non-const versions.)
3597 (insertRow): delete function
3599 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3601 2003-03-29 John Levon <levon@movementarian.org>
3603 * BufferView_pimpl.C: always update scrollbar top
3604 because pasting text when we're anchored could mean we
3605 miss an update altogether
3607 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * text2.C (init): use rowlist_.end() and not 0.
3610 (insertRow): change to take a RowList::iterator as arg, adjust
3612 (insertParagraph): change to take a RowList::iterator as arg,
3614 (redoParagraphs): remove some debug msgs.
3616 * text.C (appendParagraph): change to take a RowList::iterator
3617 arg, adjust for this.
3618 (breakAgain): add an assert
3619 (breakAgainOneRow): ditto
3621 2003-03-29 John Levon <levon@movementarian.org>
3623 * text2.C: do not clear selection after inc/decDepth
3626 2003-03-29 John Levon <levon@movementarian.org>
3629 * buffer.C: fix broken strerrors according to Lars
3631 2003-03-29 John Levon <levon@movementarian.org>
3633 * converters.C: more Alert cleanups
3635 2003-03-29 John Levon <levon@movementarian.org>
3637 * bufferview_funcs.C: remove pointless Alert
3639 * buffer.C: fix confusing error message when
3640 a template is chmoded 000
3642 2003-03-29 John Levon <levon@movementarian.org>
3646 * BufferView_pimpl.C: Alert fixes
3650 * tabular-old.C: remove unused table compat reading
3652 2003-03-29 John Levon <levon@movementarian.org>
3657 * lyx_cb.C: more Alert cleanups
3659 * lyxfunc.C: don't allow chktex if not latex document
3661 2003-03-29 John Levon <levon@movementarian.org>
3665 * buffer.C: warnings pushed down from support/,
3668 2003-03-29 John Levon <levon@movementarian.org>
3670 * lyxfunc.C: safety check for C-r (revert)
3672 2003-03-29 John Levon <levon@movementarian.org>
3675 * bufferlist.C: several UI fixes using Alert::prompt.
3676 Fix the pointless looping quit code. Fix stupid revert
3681 * lyx_cb.C: use Alert::prompt
3683 * lyx_main.C: remove a silly question
3685 * lyxfunc.C: remove a couple of silly questions,
3688 2003-03-28 John Levon <levon@movementarian.org>
3690 * text2.C: fix bug 974 (End on empty par)
3692 2003-03-28 John Levon <levon@movementarian.org>
3694 * BufferView_pimpl.C:
3696 * lfuns.h: remove do-nothing math greek lfuns
3698 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3700 * lyxgluelength.h (isValidGlueLength): add default arg on
3701 parameter 2. Remove default arg from friend in class.
3703 * lyxlength.h (isValidLength): add default arg on parameter 2.
3704 Remove default arg from friend in class.
3706 * text2.C (LyXText): adjust, initialize refresh_row.
3710 (insertParagraph): adjst
3711 (redoParagraphs): adjust
3712 (fullRebreak): adjust
3713 (updateCounters): adjust
3714 (deleteEmptyParagraphMechanism): first attempt at fixing a
3717 * text.C (top_y): adjust
3718 (setHeightOfRow): adjust
3720 (getRowNearY): adjust
3722 * lyxtext.h: include RowList.h
3723 (~LyXText): not needed anymore, deleted.
3724 (firstRow): modify for RowList
3725 (lastRow): new function
3726 Delete firstrow and lastrow class variables, add a Rowlist
3727 rowlist_ class variable.
3729 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3732 * RowList.C (insert): fix case where it == begin().
3734 2003-03-26 Angus Leeming <leeming@lyx.org>
3736 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3737 the thesaurus dialog.
3739 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3741 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3743 * RowList.[Ch]: new files
3745 * ParagraphList.C (erase): handle the case where it == begin
3748 2003-03-25 John Levon <levon@movementarian.org>
3752 * aspell.C: add new aspell support
3755 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3758 2003-03-25 Angus Leeming <leeming@lyx.org>
3761 * LyXAction.C (init): new LFUN_INSET_INSERT.
3763 * BufferView_pimpl.C (dispatch): split out part of the
3764 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3766 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3769 2003-03-25 Angus Leeming <leeming@lyx.org>
3771 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3773 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3776 * text3.C: remove useless row->height(0)
3778 2003-03-25 John Levon <levon@movementarian.org>
3782 * text3.C: rename the refreshing stuff to better names
3784 2003-03-24 John Levon <levon@movementarian.org>
3786 * BufferView_pimpl.h:
3787 * BufferView_pimpl.C: update layout choice on a mouse
3790 2003-03-23 John Levon <levon@movementarian.org>
3792 * Makefile.am: fix commandtags.h reference
3794 2003-03-22 John Levon <levon@movementarian.org>
3796 * BufferView_pimpl.C:
3801 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3803 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3806 * text.C: take the rtl methods out of line
3808 2003-03-21 André Pönitz <poenitz@gmx.net>
3810 * metricsinfo.[Ch]: new files containing structures to be passed around
3811 during the two-phase-drawing...
3813 2003-03-21 André Pönitz <poenitz@gmx.net>
3815 * lyxtextclass.C: read 'environment' tag.
3817 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3819 * text2.C (removeRow): fix bug 964
3821 2003-03-20 John Levon <levon@movementarian.org>
3825 * text2.C: paint cleanups. Inset::update() dropped font
3828 2003-03-19 John Levon <levon@movementarian.org>
3830 * lyxfunc.C: only fitcursor/markDirty if available()
3832 2003-03-19 John Levon <levon@movementarian.org>
3834 * commandtags.h: rename to ...
3836 * lfuns.h: ... this, and renumber / cleanup
3838 2003-03-19 John Levon <levon@movementarian.org>
3840 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3841 fit the cursor after an lfun
3845 * BufferView_pimpl.h:
3846 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3848 * LyXAction.C: layout-character should have ReadOnly
3850 * ParagraphParameters.C:
3852 * bufferview_funcs.C:
3859 * undo_funcs.C: changes from above
3861 2003-03-18 John Levon <levon@movementarian.org>
3863 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3864 remove it from update()
3866 * lyxfunc.C: update layout choice after an lfun
3868 * text3.C: remove extra updateLayoutChoice()s
3870 2003-03-18 John Levon <levon@movementarian.org>
3872 * text.C: top_y change means full repaint, fix
3873 a drawing bug with cursor movement
3875 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3879 * text2.C: anchor row on setCursor
3881 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3883 * lyxtext.h: remove almost all mutable keywords
3886 * text3.C: remove const keywords accordingly
3888 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3890 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3892 (TeXEnvironment): ditto
3895 2003-03-17 John Levon <levon@movementarian.org>
3897 * text.C (rowBreakPoint): remove attempt to fix displayed
3898 math insets inside a manual label
3900 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * lyxtext.h: remove BufferView* as first arg from almost all class
3904 * other files: adjust.
3906 2003-03-17 John Levon <levon@movementarian.org>
3910 * text2.C: more paint cleanups
3912 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3915 * rowpainter.C: remove "smart" background painting code
3917 2003-03-16 John Levon <levon@movementarian.org>
3922 * text3.C: add helper functions for setting refresh_row/y
3924 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3926 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3927 newline inset which *can* get inserted in the pass_thru layouts.
3928 This is primarily for literate documents.
3930 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3932 * buffer.C: increment LYX_FORMAT to 223
3934 2003-03-14 André Pönitz <poenitz@gmx.net>
3936 * textclass.h: prepare for environment handling, ws changes
3937 * lyxlayout.C: read latexheader and latexfooter tags
3939 2003-03-14 John Levon <levon@movementarian.org>
3941 * text2.C: rewrite ::status() a bit
3943 2003-03-13 John Levon <levon@movementarian.org>
3945 * lyxtext.h: add some docs
3947 2003-03-13 John Levon <levon@movementarian.org>
3952 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3954 2003-03-13 John Levon <levon@movementarian.org>
3956 * text3.C: fix appendix redrawing
3958 2003-03-13 John Levon <levon@movementarian.org>
3960 * text.C (setHeightOfRow):
3962 * rowpainter.C: make appendix mark have the text
3963 "Appendix" so the user knows what it is
3966 * LColor.C: s/appendixline/appendix/ from above
3968 2003-03-13 John Levon <levon@movementarian.org>
3970 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3972 * text.C: fix a getChar(pos) bug properly
3974 2003-03-13 Angus Leeming <leeming@lyx.org>
3977 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3978 Probably only temporary. Let's see how things pan out.
3980 * BufferView.C (unlockInset):
3981 * BufferView_pimpl.C (fitCursor):
3982 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3984 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3985 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3987 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3988 new functions that convert ParagraphParameters to and from a string.
3990 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3991 BufferView::Pimpl's dispatch.
3992 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3994 2003-03-13 André Pönitz <poenitz@gmx.net>
3998 * factory.C: make it aware of InsetEnv
4000 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4002 * text2.C (setCursor): never ask for one past last
4003 (setCursor): add some debugging messages.
4005 * text.C (singleWidth): never ask for one past last
4006 (singleWidth): ditto
4008 (rightMargin): ditto
4009 (rowBreakPoint): ditto
4010 (setHeightOfRow): ditto
4011 (prepareToPrint): ditto
4013 * rowpainter.C (paintBackground): never ask for one past last
4014 (paintText): never ask for one past last
4016 * paragraph_pimpl.C (getChar): make the assert stricter, never
4017 allow the one past last pos to be taken
4019 * paragraph.C (getChar): ws changes only
4021 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4022 (numberOfSeparators): ditto
4023 (numberOfHfills): ditto
4025 2003-03-12 John Levon <levon@movementarian.org>
4031 * paragraph_funcs.C: fix per-buffer authorlists
4033 2003-03-12 John Levon <levon@movementarian.org>
4035 * text.C: fix newline in right address
4037 2003-03-12 Angus Leeming <leeming@lyx.org>
4039 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4040 duplicate those in LyXFunc::dispatch.
4044 * ToolbarDefaults.C:
4045 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4046 Add LFUN_FONTFREE_UPDATE.
4048 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4049 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4051 * bufferview_func.[Ch]: several new functions to facilliate
4052 transfer of data to and from the character dialog.
4054 2003-03-12 John Levon <levon@movementarian.org>
4059 * paragraph_funcs.C:
4060 * paragraph_pimpl.C:
4064 * text3.C: remove META_NEWLINE in favour of an inset
4067 * rowpainter.C: remove paintNewline (done by inset)
4069 2003-03-12 John Levon <levon@movementarian.org>
4071 * paragraph_pimpl.C: complain about bad getChar()s
4072 for a while at least
4074 2003-03-12 John Levon <levon@movementarian.org>
4077 * buffer.C: move paragraph read into a separate function,
4078 a little renaming to reflect that.
4081 * bufferparams.C: remove the author_ids map, not necessary now
4084 * factory.C: moved Buffer::readInset to here
4086 * paragraph_funcs.h:
4087 * paragraph_funcs.C: readParagraph free function moved from
4090 * tabular.C: name change
4092 2003-03-12 John Levon <levon@movementarian.org>
4095 * ParagraphParameters.C: move par params input to
4098 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4099 behave like a normal read from the stream wrt reading
4100 a line vs. a \\token
4102 2003-03-12 John Levon <levon@movementarian.org>
4105 * ParagraphParameters.h:
4106 * ParagraphParameters.C: move output code to a
4109 2003-03-12 John Levon <levon@movementarian.org>
4111 * BufferView.C (insertLyXFile):
4114 * tabular.C: use a parlist iterator for creating the
4117 2003-03-12 John Levon <levon@movementarian.org>
4119 * buffer.C: make current_change static local not
4122 2003-03-12 John Levon <levon@movementarian.org>
4124 * buffer.C: fix insertStringAsLines for change tracking
4126 2003-03-12 John Levon <levon@movementarian.org>
4133 * bufferparams.C: move author list into params. Rename some
4134 functions. Move the header reading into a separate token
4135 loop. Move the header token reading into BufferParams.
4137 2003-03-12 John Levon <levon@movementarian.org>
4139 * changes.C: put debug inside lyxerr.debugging() checks
4141 2003-03-11 André Pönitz <poenitz@gmx.net>
4143 * factory.C: make it aware of InsetHFill
4145 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4147 * buffer.C (latexParagraphs): move function from here...
4148 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4151 2003-03-10 Angus Leeming <leeming@lyx.org>
4153 * LyXAction.C (init): fix bug in poplating array with multiple entries
4154 with the same LFUN (spotted by JMarc).
4156 2003-03-10 John Levon <levon@movementarian.org>
4159 * text2.C: move getColumnNearX() near its
4162 2003-03-10 John Levon <levon@movementarian.org>
4164 * text.C: fix break before a minipage
4166 2003-03-10 John Levon <levon@movementarian.org>
4168 * text.C: fix the last commit
4170 2003-03-09 John Levon <levon@movementarian.org>
4174 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4175 bug 365 (don't break before insets unless needed). Don't
4176 return a value > last under any circumstances.
4178 2003-03-09 Angus Leeming <leeming@lyx.org>
4180 * BufferView_pimpl.C (trackChanges, dispatch): call
4181 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4183 2003-03-09 Angus Leeming <leeming@lyx.org>
4185 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4186 than Dialogs::showAboutlyx().
4188 2003-03-09 Angus Leeming <leeming@lyx.org>
4190 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4191 than Dialogs::showTabularCreate().
4193 2003-03-09 John Levon <levon@movementarian.org>
4197 * text2.C: 3rd arg to nextBreakPoint was always the same.
4200 2003-03-08 John Levon <levon@movementarian.org>
4207 * text2.C: Remove the "main" bit from the "main body"
4210 2003-03-08 John Levon <levon@movementarian.org>
4212 * text.C (leftMargin): The left margin of an empty
4213 manual label paragraph should not include the label width
4216 * text.C (prepareToPrint): don't attempt to measure hfills
4217 for empty manual label paragraphs - the answer should be 0
4219 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4221 * CutAndPaste.C: remove commented code and reindent.
4223 2003-03-08 John Levon <levon@movementarian.org>
4226 * lyxfunc.C: move reloadBuffer()
4229 * BufferView.C: to here
4231 * lyxvc.C: add comment
4234 * vc-backend.C: call bv->reload() to avoid
4235 getStatus() check on MENURELOAD
4237 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4239 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4240 to an old format .dep file.
4242 2003-03-07 Angus Leeming <leeming@lyx.org>
4244 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4245 when the LFUN_MOUSE_RELEASE should have been handled by
4246 inset->localDispatch.
4248 2003-03-07 Angus Leeming <leeming@lyx.org>
4250 * BufferView_pimpl.C (dispatch):
4251 * LyXAction.C (init):
4252 * ToolbarDefaults.C (init):
4254 * lyxfunc.C (getStatus):
4255 remove LFUN_INSET_GRAPHICS.
4257 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4259 2003-03-07 Angus Leeming <leeming@lyx.org>
4262 * LyXAction.C (init):
4263 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4265 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4268 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4270 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4271 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4273 2003-03-07 Angus Leeming <leeming@lyx.org>
4275 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4278 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * ParagraphList.C (front): new function
4283 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4285 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4286 and top_row_offset_. removed var first_y.
4288 * text2.C (LyXText, removeRow):
4290 * BufferView_pimpl.C:
4291 use these methods instead of using first_y
4293 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4295 * text2.C (pasteSelection): adjust for checkPastePossible
4297 * CutAndPaste.C: remove Paragraph * buf and replace with
4298 ParagraphList paragraphs.
4299 (DeleteBuffer): delete
4300 (cutSelection): change the tc type to textclass_type
4301 (copySelection): change the tc type to textclass_type
4302 (copySelection): adjust for ParagraphList
4303 (pasteSelection): change the tc type to textclass_type
4304 (pasteSelection): adjust for Paragraphlist
4305 (nrOfParagraphs): simplify for ParagraphList
4306 (checkPastePossible): simplify for ParagraphList
4307 (checkPastePossible): remove unused arg
4309 * ParagraphList.C (insert): handle the case where there are no
4312 * CutAndPaste.h: make CutAndPaste a namespace.
4314 * text3.C (dispatch): adjust
4316 * text.C (breakParagraph): add a ParagraphList as arg
4318 * paragraph_funcs.C (breakParagraph): change to take a
4319 BufferParams and a ParagraphList as args.
4320 (breakParagraphConservative): ditto
4321 (mergeParagraph): ditto
4322 (TeXDeeper): add a ParagraphList arg
4323 (TeXEnvironment): ditto
4326 * buffer.C (readLyXformat2): adjust
4327 (insertStringAsLines): adjust
4328 (latexParagraphs): adjust
4330 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4331 (cutSelection): adjust
4332 (pasteSelection): adjust
4334 * BufferView_pimpl.C (insertInset): adjust
4336 2003-03-05 Angus Leeming <leeming@lyx.org>
4339 * LyXAction.C (init):
4340 * BufferView_pimpl.C (dispatch):
4341 * lyxfunc.C (getStatus):
4342 remove LFUN_CHILD_INSERT.
4344 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4346 2003-03-05 Angus Leeming <leeming@lyx.org>
4349 * LyXAction.C (init):
4350 * src/factory.C (createInset):
4351 * lyxfunc.C (getStatus):
4352 * text3.C (dispatch):
4353 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4355 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4357 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * ParagraphList.C (insert): handle insert right before end()
4360 (erase): fix cases where it can be first or last paragraph.
4362 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4365 Paragraph::next and Paragraph::previous
4368 * text.C (breakParagraph): adjust
4370 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4371 BufferParams& as arg.
4372 (breakParagraph): use ParagraphList::insert
4373 (breakParagraphConservative): take a Buffer* instead of a
4374 BufferParams& as arg.
4375 (breakParagraphConservative): use ParagraphList::insert.
4377 * buffer.C (insertStringAsLines): un-const it
4378 (insertStringAsLines): adjust
4380 * ParagraphList.C (insert): new function
4382 * CutAndPaste.C (pasteSelection): adjust
4384 * text.C (backspace): adjust
4386 * tabular.C (SetMultiColumn): adjust
4388 * CutAndPaste.C (cutSelection): adjust
4389 (pasteSelection): adjust
4391 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4392 Buffer const * as arg
4394 * ParagraphList.C (erase): new function
4395 * paragraph_funcs.C (mergeParagraph): use it
4396 (mergeParagraph): make it take a Buffer* instead of a
4397 BufferParams* as arg
4399 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4401 (breakParagraphConservative): ditto
4403 * paragraph.h: remove the breakParagraph friend
4405 * paragraph.C (eraseIntern): new function
4406 (setChange): new function
4408 * paragraph_funcs.C (mergeParagraph): make it take a
4409 ParagraphList::iterator instead of a Paragraph *, adjust
4412 * paragraph.h: move an #endif so that the change tracking stuff
4413 also works in the NO_NEXT case.
4415 2003-03-04 Angus Leeming <leeming@lyx.org>
4418 * LyXAction.C: new LFUN_INSET_MODIFY.
4420 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4421 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4423 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4425 * several files: ws changes only
4427 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4428 (TeXEnvironment): ditto
4431 * buffer.C (makeLaTeXFile): adjust
4432 (latexParagraphs): make it take ParagraphList::iterator as args
4434 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * buffer.C (latexParagraphs): adjust
4438 * paragraph.C (TeXOnePar): move function...
4439 (optArgInset): move function...
4440 (TeXEnvironment): move function...
4441 * paragraph_pimpl.C (TeXDeeper): move function...
4442 * paragraph_funcs.C: ...here
4444 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4446 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * buffer.C (readInset): remove compability code for old Figure and
4451 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4453 * buffer.C: ws changes
4456 * BufferView_pimpl.C: ditto
4459 * bufferlist.h: ditto
4463 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4465 * converter.[Ch]: split into itself +
4468 * Makefile.am: += graph.[Ch] + format.[Ch]
4475 * lyxrc.C: added #include "format.h"
4477 2003-02-27 Angus Leeming <leeming@lyx.org>
4479 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4482 * factory.C (createInset): add "label" to the factory.
4484 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4485 string and do no more.
4487 2003-02-27 Angus Leeming <leeming@lyx.org>
4490 * LyXAction.C (init):
4491 * factory.C (createInset):
4492 * BufferView_pimpl.C (dispatch):
4493 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4495 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4497 * lyxfunc.C (dispatch):
4498 * text3.C (dispatch): pass name to params2string.
4500 2003-02-26 Angus Leeming <leeming@lyx.org>
4502 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4504 Rearrange the ~includes. Strip out the unnecessary ones.
4506 * factory.C (createInset): reformat.
4507 create new insets for the various LFUN_XYZ_APPLY lfuns.
4509 2003-02-26 John Levon <levon@movementarian.org>
4512 * lyxrow.C: add isParStart,isParEnd helpers
4514 * paragraph.h: make isInserted/DeletedText take refs
4516 * paragraph_funcs.h:
4517 * paragraph_funcs.C: remove #if 0'd code
4522 * text.C: use lyxrow helpers above.
4523 Move draw and paint routines to RowPainter.
4524 Make several methods use refs not pointers.
4525 Make backgroundColor() const.
4526 Add markChangeInDraw(), isInInset().
4527 Merge changeRegionCase into changeCase.
4528 Make workWidth() shouldn't-happen code into an Assert.
4531 * rowpainter.C: new class for painting a row.
4534 * vspace.C: make inPixels take a ref
4536 2003-02-26 Angus Leeming <leeming@lyx.org>
4538 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4541 2003-02-25 John Levon <levon@movementarian.org>
4543 * ispell.C: give the forked command a more accurate name
4545 2003-02-22 John Levon <levon@movementarian.org>
4548 * toc.C: make TocItem store an id not a Paragraph *
4551 2003-02-21 Angus Leeming <leeming@lyx.org>
4553 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4554 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4555 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4556 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4557 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4558 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4560 * BufferView_pimpl.C (dispatch):
4561 * LyXAction.C (init):
4562 * factory.C (createInset):
4563 * lyxfunc.C (getStatus, dispatch):
4564 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4566 2003-02-21 Angus Leeming <leeming@lyx.org>
4568 * BufferView_pimpl.C (MenuInsertLyXFile):
4569 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4570 * lyxfunc.C (menuNew, open, doImport):
4571 no longer pass a LyXView & to fileDlg.
4573 2003-02-21 Angus Leeming <leeming@lyx.org>
4575 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4576 * LyXAction.C: change, BIBKEY to BIBITEM.
4577 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4578 Change InsetBibKey to InsetBibitem.
4579 Change BIBKEY_CODE to BIBITEM_CODE.
4580 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4581 * factory.C: replace insetbib.h with insetbibitem.h.
4582 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4583 * paragraph.C: replace insetbib.h with insetbibitem.h.
4584 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4585 Change bibkey() to bibitem().
4586 * text.C: remove insetbib.h.
4587 * text2.C: replace insetbib.h with insetbibitem.h.
4588 change bibkey() to bibitem().
4589 * text3.C: remove insetbib.h.
4590 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4592 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4594 * lyxrc.C (output): enclose user email in quotes (in case there are
4597 2003-02-18 John Levon <levon@movementarian.org>
4599 * buffer.h: add std::
4601 2003-02-17 John Levon <levon@movementarian.org>
4607 * pspell.C: reworking. Especially in ispell, a large
4608 number of clean ups and bug fixes.
4610 * lyxfunc.C: fix revert to behave sensibly
4612 2003-02-17 André Pönitz <poenitz@gmx.net>
4615 * commandtags.h: new LFUN_INSERT_BIBKEY
4625 * paragraph_func.C: remove special bibkey handling
4627 2003-02-17 John Levon <levon@movementarian.org>
4629 * text.C (Delete): fix case where delete at the end of
4630 the very first paragraph would not merge the pars
4632 2003-02-17 John Levon <levon@movementarian.org>
4634 * lyxrow.C: fix lastPrintablePos()
4636 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4638 * bufferparams.C (writeLaTeX): add a std:here
4640 * buffer.C: and remove a using directive there
4642 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4644 * buffer.C (makeLaTeXFile): move the code that generates the
4647 * bufferparams.C (writeLaTeX): ... in this new method
4649 * LaTeXFeatures.C (getEncodingSet): make const
4650 (getLanguages): make const
4652 * MenuBackend.C (binding): returns the binding associated to this
4654 (add): sets the status of each item by calling getStatus. Adds
4656 (read): add support for OptSubMenu
4657 (expand): remove extra separator at the end of expanded menu
4659 2003-02-15 John Levon <levon@movementarian.org>
4662 * BufferView_pimpl.C:
4664 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4665 inset code that had no actual effect. Remove unneeded status
4668 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4670 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4673 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4675 * text.C (drawLengthMarker): also draw an arrow marker for
4676 symbolic lengths (medskip...)
4678 2003-02-14 John Levon <levon@movementarian.org>
4681 * tabular.C: better method names
4683 2003-02-14 John Levon <levon@movementarian.org>
4685 * BufferView_pimpl.C:
4690 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4691 it's a more accurate name. Remove some pointless uses.
4693 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4695 * text2.C (LyXText): change order of initilizers to shut off
4698 2003-02-14 John Levon <levon@movementarian.org>
4700 * buffer.C: use ParIterator for getParFromID()
4704 * paragraph_pimpl.h:
4705 * paragraph_pimpl.C: remove unused getParFromID()
4707 2003-02-14 John Levon <levon@movementarian.org>
4709 * buffer.C: remove some very old #if 0'd parse code
4711 2003-02-13 John Levon <levon@movementarian.org>
4715 * text2.C: move hfillExpansion(), numberOfSeparators(),
4716 rowLast(), rowLastPrintable(), numberofHfills(),
4717 numberOfLabelHfills() ...
4720 * lyxrow.C: ... to member functions here.
4725 * text.C: remove LyXText::beginningOfMainBody(), and call
4726 p->beginningOfMainBody() directly. Move the check for
4727 LABEL_MANUAL into the latter.
4734 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4740 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4741 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4743 2003-02-13 John Levon <levon@movementarian.org>
4745 * CutAndPaste.C: remove debug
4747 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4749 * paragraph.C (asString): remove two unused variables
4751 * lyxtextclass.C (readTitleType):
4753 (LyXTextClass): handle new members titletype_ and titlename_
4755 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4757 2003-02-09 John Levon <levon@movementarian.org>
4760 * buffer.C: replace hand-coded list with a map for the dep clean
4762 2003-02-08 John Levon <levon@movementarian.org>
4764 * LaTeX.C: consolidate code into showRunMessage() helper
4766 2003-02-08 John Levon <levon@movementarian.org>
4771 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4772 and pass the size in explicitly
4774 * BufferView_pimpl.h:
4775 * BufferView_pimpl.C:
4777 * BufferView.C: add getCurrentChange()
4779 * BufferView_pimpl.h:
4780 * BufferView_pimpl.C: handle change lfuns
4782 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4783 for changes. Mark pasted paragraphs as new.
4785 * support/lyxtime.h:
4786 * support/lyxtime.C:
4787 * DepTable.C: abstract time_t as lyx::time_type
4790 * LColor.C: add colours for new text, deleted text, changebars
4792 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4793 package use "usenames" option.
4797 * LyXAction.C: add change lfuns
4801 * author.C: author handling
4804 * buffer.C: add a per-buffer author list, with first entry as
4805 current author. Handle new .lyx tokens for change tracking. Output
4806 author list to .lyx file. Output dvipost stuff to .tex preamble.
4807 Bump lyx format to 222.
4810 * bufferlist.C: add setCurrentAuthor() to reset current author details
4814 * bufferparams.C: add param for tracking
4816 * bufferview_funcs.C: output change info in minibuffer
4820 * changes.C: add change-tracking structure
4823 * debug.C: add CHANGES debug flag
4826 * lyxfind.C: add code for finding the next change piece
4829 * lyxrc.C: add user_name and user_email
4832 * lyxrow.C: add a metric for the top of the text line
4835 * text.C: implement accept/rejectChange()
4838 * text.C: paint changebars. Paint new/deleted text in the chosen
4839 colours. Strike through deleted text.
4843 * paragraph_pimpl.h:
4844 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4845 in the current change to the insert functions. Rework erase to
4846 mark text as deleted, adding an eraseIntern() and a range-based
4847 erase(). Implement per-paragraph change lookup and
4850 * paragraph_funcs.C: Fixup paste for change tracking.
4852 * tabular.C: mark added row/columns as new.
4854 * text.C: fix rowLast() to never return -1. Don't allow
4855 spellchecking of deleted text. Track transpose changes. Don't
4856 allow paragraph break or merge where appropriate.
4858 * text2.C: leave cursor at end of selection after a cut.
4860 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4862 * text.C (getLengthMarkerHeight):
4863 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4864 visible on screen too.
4866 2003-02-07 John Levon <levon@movementarian.org>
4868 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4870 2003-02-05 Angus Leeming <leeming@lyx.org>
4872 * lyxserver.C (read_ready): revert my patch of 11 September last year
4873 as it sends PC cpu through the roof. Presumably this means that
4874 the lyxserver will no longer run on an Alpha...
4876 2003-01-30 Angus Leeming <leeming@lyx.org>
4878 * factory.C (createInset): create an InsetCommandParam of type "index"
4879 and use it to 'do the right thing'.
4881 * text2.C (getStringToIndex): ensure that cursor position is always
4882 reset to the reset_cursor position.
4884 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4886 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4889 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4893 * lyxfunc.C: Output messages with identical spelling, punctuation,
4896 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4898 * MenuBackend.C (expandFormats): List only viewable export formats
4901 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4904 * lyxfunc.C (getStatus): Make sure that formats other than
4905 "fax" can also be disabled
4907 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4909 * text3.C (dispatch): put the lfuns that insert insets in 3
4910 groups, and call doInsertInset with appropriate arguments.
4911 (doInsertInset): new function, that creates an inset and inserts
4912 it according to some boolean parameters.
4914 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4916 * buffer.C (readFile): remember to pass on 'par' when calling
4917 readFile recursively.
4919 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4921 * MenuBackend.C (expandFormats): add "..." to import formats.
4923 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4925 * paragraph.C (asString): Remove XForms RTL hacks.
4927 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4928 * buffer.C: fix typo
4930 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4932 * Makefile.am (LIBS): delete var
4933 (lyx_LDADD): add @LIBS@ here instead.
4935 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4937 * Clarify the meaning of "wheel mouse jump"
4939 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4941 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4944 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4946 * importer.C (Loaders): do not preallocate 3 elements in the
4947 vector, since one ends up with 6 elements otherwise
4949 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4951 * DepTable.C (write): write the file name as last element of the
4952 .dep file (because it may contain spaces)
4953 (read): read info in the right order
4955 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4957 * paragraph_pimpl.C (simpleTeXBlanks):
4958 (simpleTeXSpecialChars):
4959 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4961 * tabular.C (latex): add some missing case statements. Reindent.
4963 * MenuBackend.C (expandToc): remove unused variable.
4965 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4974 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4977 2003-01-05 John Levon <levon@movementarian.org>
4980 * BufferView.C: add getEncoding()
4983 * kbsequence.C: do not store last keypress
4986 * lyxfunc.C: store last keypress here instead. Pass encoding
4989 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4991 * lyx_main.C (init): remove annoying error message when following
4992 symbolic links (bug #780)
4994 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4996 * text.C (insertChar):
4997 * lyxrc.C (getDescription): remove extra spaces
4999 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5001 * lyxrc.C (getDescription): remove extra spaces
5003 2002-12-20 John Levon <levon@movementarian.org>
5005 * text3.C: hack fix for page up/down across tall rows
5007 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5009 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5012 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5014 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5015 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5016 thesaurus is not compiled in
5018 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5020 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5022 2002-12-16 Angus Leeming <leeming@lyx.org>
5025 * lyx_main.C (init): remove override_x_deadkeys stuff.
5027 2002-12-12 John Levon <levon@movementarian.org>
5029 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5030 insert. Only remove shift modifier under strict
5033 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5035 * MenuBackend.C (expandToc): fix crash.
5037 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5039 * MenuBackend.C (expandToc): gettext on float names.
5041 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5043 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5044 implement bool empty() [bug 490]
5046 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5048 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5050 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5052 * several files: ws changes
5054 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * text2.C (setCounter): clean up a bit, use boost.format.
5057 (updateCounters): initialize par upon declaration.
5059 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5060 if the layout exists. We do not just store the layout any more.
5061 (SwitchLayoutsBetweenClasses): use boost.format
5063 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5065 * converter.C (convert): if from and to files are the same, use a
5066 temporary files as intermediary
5068 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5071 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5073 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5075 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5077 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5079 * tabular.C (asciiPrintCell): use string(size, char) instead of
5082 * sgml.C (openTag): fix order of arguments to string constructor
5085 * lyxfunc.C (dispatch): use boost.format
5087 * lots of files: change "c" -> 'c'
5089 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5091 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5093 2002-11-25 Angus Leeming <leeming@lyx.org>
5095 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5097 * lyx_main.C (init): compile fix.
5099 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5101 * lyx_cb.C (start): boost.formatify
5102 do not include <iostream>
5104 * lengthcommon.C: ws only
5106 * boost-inst.C,BoostFormat.h: add more explict instantations
5108 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5110 * lots of files: handle USE_BOOST_FORMAT
5112 2002-11-21 John Levon <levon@movementarian.org>
5114 * pspell.C: fix compile
5116 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5118 * lyxfunc.C (dispatch): use boost::format
5122 * lyxfont.C (stateText): use boost::format
5124 * lyx_main.C (LyX): use boost::format
5126 (queryUserLyXDir): ditto
5129 (typedef boost::function): use the recommened syntax.
5131 * importer.C (Import): use boost::format
5133 * debug.C (showLevel): use boost::format
5135 * converter.C (view): use boost::format
5140 * bufferview_funcs.C (currentState): use boost::format
5142 * bufferlist.C (emergencyWrite): use boost::format
5144 * buffer.C (readLyXformat2): use boost::format
5145 (parseSingleLyXformat2Token): ditto
5147 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5149 * LaTeX.C (run): use boost::format
5151 * Chktex.C (scanLogFile): use boost::format
5153 * BufferView_pimpl.C (savePosition): use boost::format
5154 (restorePosition): ditto
5155 (MenuInsertLyXFile): ditto
5157 * BoostFormat.h: help file for explicit instation.
5159 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5161 * tabular.C (latex): Support for block alignment in fixed width
5164 2002-11-17 John Levon <levon@movementarian.org>
5166 * BufferView_pimpl.C:
5168 * lyxfunc.C: split filedialog into open/save
5170 2002-11-08 Juergen Vigna <jug@sad.it>
5172 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5173 by my last patch (hopefully).
5175 2002-11-08 John Levon <levon@movementarian.org>
5184 * toc.C: ParConstIterator, and use it (from Lars)
5186 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5188 * lyxtextclass.[Ch]: revise and add doxygen comments
5190 2002-11-07 John Levon <levon@movementarian.org>
5192 * text.C: fix progress value for spellchecker
5194 * toc.C: fix navigate menu for insetwrap inside minipage
5196 * paragraph_funcs.C: added FIXME for suspect code
5198 2002-11-07 John Levon <levon@movementarian.org>
5200 * BufferView_pimpl.C: fix redrawing of insets
5203 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5205 * text2.C (updateCounters): fix bug 668
5207 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5209 * text3.C (dispatch): Do not make the buffer dirty when moving the
5212 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5214 * vc-backend.C: STRCONV
5217 * text2.C (setCounter): STRCONV
5219 * paragraph.C (asString): STRCONV
5221 * lyxlength.C (asString): STRCONV
5222 (asLatexString): ditto
5224 * lyxgluelength.C (asString): STRCONV
5225 (asLatexString): ditto
5227 * lyxfunc.C (dispatch): STRCONV
5230 * lyxfont.C (stateText): STRCONV
5232 * importer.C (Import): STRCONV
5234 * counters.C (labelItem): STRCONV
5235 (numberLabel): ditto
5236 (numberLabel): remove unused ostringstream o
5241 * bufferview_funcs.C (currentState): STRCONV
5243 * buffer.C (readFile): STRCONV
5244 (asciiParagraph): ditto
5245 (makeLaTeXFile): ditto
5247 * Spacing.C (writeEnvirBegin): STRCONV
5249 * LaTeXFeatures.C (getLanguages): STRCONV
5250 (getPackages): ditto
5252 (getBabelOptions): ditto
5253 (getTClassPreamble): ditto
5254 (getLyXSGMLEntities): ditto
5255 (getIncludedFiles): ditto
5259 (scanAuxFile): ditto
5262 * LString.h: add the STRCONV macros
5264 * BufferView_pimpl.C (savePosition): STRCONV
5265 (restorePosition): ditto
5266 (MenuInsertLyXFile): ditto
5268 * vc-backend.C (scanMaster): change from submatch[...] to
5271 * funcrequest.C: include config.h
5273 * factory.C: include config.h
5275 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5277 * box.C: include config.h
5279 * LaTeX.C (scanAuxFile): change from submatch[...] to
5283 2002-10-25 Angus Leeming <leeming@lyx.org>
5285 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5287 * ispell.[Ch] (setError): new method.
5288 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5289 Use setError() insetead of goto END.
5291 * lyx_cb.C (AutoSave): move out child process into new class
5294 2002-10-30 John Levon <levon@movementarian.org>
5296 * text3.C: make start appendix undoable
5298 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5300 * lyxlength.C (inPixels): Fix returned value.
5302 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5305 2002-10-24 Angus Leeming <leeming@lyx.org>
5307 * lyxgluelength.h: no need to forward declare BufferParams
5308 or BufferView, so don't.
5310 2002-10-21 John Levon <levon@movementarian.org>
5312 * BufferView.C: menuUndo ->undo, redo
5314 * BufferView.h: document, remove dead, make some methods private
5316 * paragraph_funcs.h:
5317 * paragraph_funcs.C:
5318 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5323 * sgml.C: move sgml open/close tag into sgml.C
5325 * bufferview_funcs.h: unused prototype
5328 * lyxfunc.C: remove unused
5331 * text.C: remove unused
5333 2002-10-21 John Levon <levon@movementarian.org>
5337 * BufferView_pimpl.h:
5338 * BufferView_pimpl.C: fix mouse wheel handling based on
5339 patch from Darren Freeman
5341 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5343 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5345 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5347 * lyxlength.C (inPixels): Fix hanfling of negative length.
5348 Fix LyXLength::MU case.
5350 2002-10-16 John Levon <levon@movementarian.org>
5352 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5354 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5356 * converter.C (view): add support for $$i (file name) and $$p
5357 (file path) for the viewer command. If $$i is not specified, then
5358 it is appended to the command (for compatibility with old syntax)
5360 2002-10-14 Juergen Vigna <jug@sad.it>
5362 * undo_funcs.C (textHandleUndo): alter the order in which the
5363 new undopar is added to the LyXText, as we have to set first
5364 the right prev/next and then add it as otherwise the rebuild of
5365 LyXText is not correct. Also reset the cursor to the right paragraph,
5366 with this IMO we could remove the hack in "redoParagraphs()".
5368 2002-10-09 Angus Leeming <leeming@lyx.org>
5370 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5371 to turn off an optimisation if a new inset is to be inserted.
5373 2002-10-11 André Pönitz <poenitz@gmx.net>
5375 * lyxtext.h: make some functions public to allow access
5376 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5378 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5380 * text3.C (dispatch): when changing layout, avoid an infinite loop
5383 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5385 * lyxrc.C (read): treat a viewer or converter command of "none" as
5388 * MenuBackend.C (expandFormats): for an update, also allow the
5389 formats that are not viewable
5391 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5392 script if it is newer than the lyxrc.defaults in user directory
5394 2002-10-07 André Pönitz <poenitz@gmx.net>
5396 * text.C: Vitaly Lipatov's small i18n fix
5398 2002-09-25 Angus Leeming <leeming@lyx.org>
5400 * ispell.h: doxygen fix.
5402 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5404 * buffer.h (readFile): Add a new argument to the method, to allow
5405 reading of old-format templates.
5407 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5409 * toc.C (getTocList): Get TOC from InsetWrap.
5411 2002-09-16 John Levon <levon@movementarian.org>
5413 * lyxfunc.C: check tabular for cut/copy too
5415 2002-09-12 John Levon <levon@movementarian.org>
5420 * factory.C: add header
5422 * paragraph_funcs.h:
5423 * paragraph_funcs.C: cleanup
5425 2002-09-11 John Levon <levon@movementarian.org>
5427 * PrinterParams.h: odd/even default to true
5429 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5431 * PrinterParams.h: update printer parameters for new xforms dialog
5433 2002-09-11 Angus Leeming <leeming@lyx.org>
5435 * lyxserver.C (read_ready): re-write to make it more transparent
5436 and to make it work in coherent fashion under Tru64 Unix.
5438 2002-09-11 André Pönitz <poenitz@gmx.net>
5442 * text3.C: implement LFUN_WORDSEL
5444 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5447 make floatlist_ a boost::shared_ptr<FloatList>
5449 * lyxtextclass.C: include FloatList.h
5450 (LyXTextClass): initialize floatlist_
5451 (TextClassTags): add TC_NOFLOAT
5452 (Read): match "nofloat" to TC_NOFLOAT and use it.
5453 (readFloat): modify call to floatlist_
5457 * FloatList.[Ch] (FloatList): remove commented out float
5459 (erase): new function
5461 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5463 * MenuBackend.C (expandToc): fix crash when there is no document
5466 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5468 * many files: Add insetwrap.
5470 2002-09-09 John Levon <levon@movementarian.org>
5472 * text2.C: remove confusing and awkward depth wraparound
5474 2002-09-09 John Levon <levon@movementarian.org>
5476 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5479 * buffer.C: remove getIncludeonlyList()
5482 * lyxfunc.C: remove headers
5484 2002-09-09 Juergen Vigna <jug@sad.it>
5486 * text.C (getColumnNearX): fix form Michael this is most
5487 probably a cut&paste bug.
5489 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5491 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5493 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5494 references, ws changes.
5496 * text2.C (init): update counters after init
5497 (insertParagraph): no need to set counter on idividual paragraphs.
5498 (setCounter): access the counters object in the textclass object
5499 on in the buffer object.
5500 (updateCounters): ditto
5502 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5503 shared_ptr<Counters> to avoid loading counters.h in all
5505 (LyXTextClass): initialize ctrs_
5506 (TextClassTags): add TC_COUNTER, and ...
5507 (Read): use it here.
5508 (CounterTags): new tags
5509 (readCounter): new function
5510 (counters): new funtion
5511 (defaultLayoutName): return a const reference
5513 * counters.C (Counters): remove contructor
5514 (newCounter): remove a couple of unneeded statements.
5515 (newCounter): simplify a bit.
5516 (numberLabel): some small formatting changes.
5518 * buffer.[Ch]: remove all traces of counters, move the Counters
5519 object to the LyXTextClass.
5521 2002-09-06 Alain Castera <castera@in2p3.fr>
5523 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5524 package to set the horizontal alignment on fixed width columns.
5527 * lyx_sty.h: added tabularnewline macro def.
5529 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5531 2002-09-06 John Levon <levon@movementarian.org>
5533 * LyXAction.C: tooltips for sub/superscript
5535 * MenuBackend.C: a bit more verbose
5537 * lyxfunc.C: tiny clean
5539 * undo_funcs.C: document undo_frozen
5541 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5543 * counters.C (Counters): add missing algorithm counter.
5545 * text2.C (setCounter): lookup the counter with layouts latexname
5546 instead of by section number.
5547 (setCounter): use a hackish way to lookup the correct enum
5549 a float name->type change
5550 reset enum couners with counter name directly instead of depth value.
5552 * counters.C (Counters): remove the push_backs, change to use the
5553 float type not the float name.
5554 (labelItem): remove unused string, float name->type change
5556 * counters.h: don't include vector, loose the enums and sects vectors
5558 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5560 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5561 (Read): add float->TC_FLOAT to textclassTags
5562 (Read): and handle it in the switch
5563 (readFloat): new function
5565 * FloatList.C (FloatList): comment out the hardcoded float
5568 * lyxlayout.h: ws change.
5570 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5572 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5574 2002-09-03 Angus Leeming <leeming@lyx.org>
5576 * BufferView_pimpl.h: qualified name is not allowed in member
5577 declaration: WorkArea & Pimpl::workarea() const;
5579 * factory.C: added using std::endl directive.
5581 * text3.C: added using std::find and std::vector directives.
5583 2002-08-29 André Pönitz <poenitz@gmx.net>
5586 * text2.C: remove unused member number_of_rows
5589 * BufferView2.C: remove file, move contents to...
5590 * BufferView.C: ... here
5592 * BufferView_pimpl.C:
5593 * factory.C: move more inset creation to factory
5595 * vspace.C: avoid direct usage of LyXText, ws changes
5598 don't provide direct access to WorkArea, use two simple
5599 acessors haveSelction() and workHeight() instead
5602 2002-08-29 John Levon <levon@movementarian.org>
5604 * BufferView_pimpl.C (dispatch): do not continue when
5607 2002-08-28 André Pönitz <poenitz@gmx.net>
5609 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5612 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5614 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5616 * buffer.C: increment LYX_FORMAT to 221
5618 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5619 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5621 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5623 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5625 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5627 * factory.C (createInset): use LyXTextClass::floats
5629 * MenuBackend.C (expandFloatListInsert):
5630 (expandFloatInsert):
5633 * text2.C (setCounter):
5635 * LaTeXFeatures.C (useFloat):
5636 (getFloatDefinitions):
5638 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5640 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5641 floatlist_, with accessor floats().
5643 * FloatList.h: remove global FloatList
5645 2002-08-26 André Pönitz <poenitz@gmx.net>
5647 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5651 * BufferView_pimpl.C:
5652 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5654 2002-08-25 John Levon <levon@movementarian.org>
5656 * LyXAction.C: fix margin note description
5658 2002-08-24 John Levon <levon@movementarian.org>
5662 * bufferview_funcs.C:
5664 * undo_funcs.C: cleanups
5666 * lyxfunc.C: disable CUT/COPY when no selection
5668 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5670 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5671 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5673 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5674 Add backward compatibility to "mono", "gray" and "no".
5676 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5678 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5679 (and file_format >= 200).
5681 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5683 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5685 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5687 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5689 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5691 * BufferView_pimpl.C:
5698 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5699 inset and code to make it work with the paragraph code. The inset
5700 can be anywhere in the paragraph, but will only do the expected
5701 thing in LaTeX if the layout file contains the parameter line
5703 (or more generally, a nonzero value) for that layout.
5705 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5707 * paragraph.h: remove the declaration of undefined counters class
5710 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5712 * text2.C (setCounter): fixed enumeration mis-count as reported by
5713 Dr. Richard Hawkins.
5715 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5717 * paragraph_funcs.h: remove some unneeded includes
5719 * text.C (backspace): pasteParagraph now in global scipe
5721 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5722 (pasteSelection): ditto
5724 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5725 * paragraph_funcs.C (pasteParagraph): ... here
5727 2002-08-20 André Pönitz <poenitz@gmx.net>
5729 * commandtags.h: new LFUNs for swapping/copying table row/colums
5732 * lyxfunc.C: support for new lfuns
5734 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5737 * buffer.[Ch]: remove NO_COMPABILITY stuff
5739 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5741 * boost.C (throw_exception): new file, with helper function for
5742 boost compiled without exceptions.
5747 * ParameterStruct.h:
5748 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5750 * bufferlist.C (emergencyWriteAll): use boost bind
5752 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5754 * text.C: include paragraph_funcs.h
5755 (breakParagraph): breakParagraph is now in global scope
5757 * paragraph_funcs.[Ch]: new files
5759 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5762 * buffer.C: include paragraph_funcs.h
5763 (insertStringAsLines): breakParagraph is now in global scope
5765 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5768 * CutAndPaste.C: include paragraph_funcs.h
5769 (cutSelection): breakParagraphConservative is now in global scope
5770 (pasteSelection): ditto
5772 * buffer.h: declare oprator== and operator!= for
5773 Buffer::inset_iterator
5775 * bufferlist.C (emergencyWrite): don't use fmt(...)
5777 * text3.C: add using std::endl
5779 * BufferView.C (moveCursorUpdate): remove default arg
5781 2002-08-20 André Pönitz <poenitz@gmx.net>
5783 * buffer.[Ch]: move inline functions to .C
5786 * BufferView_pimpl.C:
5788 * buffer.[Ch]: use improved inset_iterator
5791 * paragraph.[Ch]: write one paragraph at a time
5793 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5795 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5796 style if style is not specified.
5798 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5800 * text2.C (setCounter): when searching for right label for a
5801 caption, make sure to recurse to parent insets (so that a caption
5802 in a minipage in a figure float works) (bug #568)
5804 2002-08-20 André Pönitz <poenitz@gmx.net>
5806 * text3.C: new file for LyXText::dispatch() and helpers
5808 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5810 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5812 2002-08-19 André Pönitz <poenitz@gmx.net>
5815 * text.C: new LyXText::dispatch()
5817 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5819 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5821 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5823 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5826 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5828 * Makefile.am: use $(variables) instead of @substitutions@
5830 2002-08-15 André Pönitz <poenitz@gmx.net>
5833 * BufferView_pimpl.C: streamlining mathed <-> outer world
5837 * LyXAction.C: remove unused LFUN_MATH
5839 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5841 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5843 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5845 * paragraph.C (Paragraph): reformat a bit
5846 (cutIntoMinibuffer): use builtin InsetList function instad of
5850 * buffer.C: include boost/bind.hpp, add using std::for_each
5851 (writeFileAscii): use ParagraphList iterators
5852 (validate): use for_each for validate traversal of paragraphs
5853 (getBibkeyList): use ParagraphList iterators
5854 (resizeInsets): use for_each to resizeInsetsLyXText for all
5856 (getParFromID): use ParagraphList iterators
5858 * BufferView2.C (lockInset): use paragraph list and iterators
5860 2002-08-14 John Levon <levon@movementarian.org>
5862 * lyxserver.C: remove spurious xforms include
5864 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5866 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5868 2002-08-13 André Pönitz <poenitz@gmx.net>
5871 * lyxfunc.C: further cleaning
5873 2002-08-13 André Pönitz <poenitz@gmx.net>
5875 * funcrequest.h: new constructor
5877 * funcrequest.C: move stuff here from .h
5880 * BufferView_pimpl.C:
5883 * lyxfunc.C: subsequent changes
5885 * lyxfunc.h: new view() member function
5887 * lyxfunc.C: subsequent changes
5889 2002-08-13 Angus Leeming <leeming@lyx.org>
5892 * BufferView_pimpl.C:
5900 changes due to the changed LyXView interface that now returns references
5901 to member variables not pointers.
5903 2002-08-13 Angus Leeming <leeming@lyx.org>
5905 * WordLangTuple (word, lang_code): return references to strings,
5910 * lyxtext.h: forward-declare WordLangTuple.
5915 * text.C: #include "WordLangTuple.h".
5918 * text.C: (selectNextWordToSpellcheck): constify return type.
5920 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5926 * paragraph_pimpl.h:
5929 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5931 Made updateCounter always count from start of buffer, and removed
5932 second argument (par).
5933 Reverted floats number display to '#'. Perhaps I'll try again when the
5934 code base is sanitized a bit.
5936 2002-08-12 Angus Leeming <leeming@lyx.org>
5938 * buffer.[Ch] (getLabelList): constify.
5940 2002-08-07 André Pönitz <poenitz@gmx.net>
5942 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5944 * funcrequest.h: extension to keep mouse (x,y) position
5946 2002-08-12 Juergen Vigna <jug@sad.it>
5948 * BufferView2.C (insertErrors): forbid undo when inserting error
5951 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5953 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5955 * ParagraphList.[Ch]: new files
5957 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5959 * BufferView2.C (lockInset): ParagraphList changes
5962 * bufferlist.C: ditto
5966 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5968 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5969 unused class variable counter_,
5971 * paragraph.[Ch] (getFirstCounter): delete unused function
5973 * counters.C: include LAssert.h
5974 (reset): add a new function with no arg, change other version to
5975 not have def. arg and to not allow empty arg.
5977 * text2.C (setCounter): remove empty arg from call to Counters::reset
5979 2002-08-11 John Levon <levon@movementarian.org>
5981 * Makefile.am: add WordLangTuple.h
5983 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5985 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5986 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5988 * insets/insettext.C: InsetList changes
5990 * graphics/GraphicsSupport.C (operator()): InsetList changes
5992 * toc.C (getTocList): InsetList changes
5994 * paragraph_pimpl.[Ch]: InsetList changes
5996 * paragraph.[Ch]: InsetList changes
5998 * buffer.C (inset_iterator): InsetList changes
5999 (setParagraph): ditto
6000 * buffer.h (inset_iterator): ditto
6001 * iterators.C (operator++): ditto
6002 * iterators.h: ditto
6004 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6006 * InsetList.[Ch]: new files, most InsetList handling moved out of
6009 * BufferView2.C (removeAutoInsets): InsetList changes
6011 (ChangeInsets): ditto
6013 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6015 * paragraph_pimpl.h (empty): new function
6017 * paragraph.[Ch] (empty): new function
6019 * other files: use the new Paragraph::empty function
6021 2002-08-09 John Levon <levon@movementarian.org>
6023 * lyxtext.h: remove unused refresh_height
6025 2002-08-09 John Levon <levon@movementarian.org>
6032 * paragraph.C: move sgml char escaping out of paragraph
6035 * paragraph.C: remove id setter
6039 * paragraph_pimpl.C: remove dead tex_code_break_column
6041 * bufferview_funcs.C: small cleanup
6043 * lyxfunc.C: remove dead proto
6045 * lyxtext.h: make some stuff private. Remove some dead stuff.
6047 * lyxgluelength.C: make as[LyX]String() readable
6049 2002-08-08 John Levon <levon@movementarian.org>
6054 * ToolbarDefaults.C:
6057 * toc.C: lyxaction cleanup
6059 2002-08-08 John Levon <levon@movementarian.org>
6061 * BufferView2.C: small cleanup
6064 * lyxfind.C: move unnecessary header into the .C
6066 2002-08-08 John Levon <levon@movementarian.org>
6068 * funcrequest.h: just tedious nonsense
6071 * lyx_main.C: cleanups
6074 * vspace.C: remove dead header lyx_main.h
6076 2002-08-07 Angus Leeming <leeming@lyx.org>
6079 * paragraph_pimpl.h:
6080 Forward declare class Counters in paragraph.h by moving the ctrs member
6081 variable into Paragraph::Pimpl.
6082 (counters): new method, returning a reference to pimpl_->ctrs.
6084 * text2.C: ensuing changes.
6086 2002-08-07 John Levon <levon@movementarian.org>
6088 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6090 * BufferView_pimpl.C: announce X selection on double/triple
6093 * lyx_main.C: use correct bool in batch dispatch
6095 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6097 2002-08-07 André Pönitz <poenitz@gmx.net>
6099 * funcrequest.h: new class to wrap a kb_action and its argument
6102 * BufferView_pimpl[Ch]:
6106 * lyxrc.C: subsequent changes
6109 2002-08-07 John Levon <levon@movementarian.org>
6111 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6112 document options change.
6114 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6119 * makefile.am: move counters functionality over from
6120 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6122 2002-08-06 John Levon <levon@movementarian.org>
6124 * WordLangTuple.h: new file for word + language code tuple
6135 * BufferView2.C: use WordLangTuple
6138 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6140 2002-08-06 John Levon <levon@movementarian.org>
6142 * lyx_main.C: fix cmdline batch handling
6144 2002-08-06 André Pönitz <poenitz@gmx.net>
6146 * lyxrc.C: set default for show_banner to true
6148 2002-08-06 John Levon <levon@movementarian.org>
6150 * pspell.C: fix a crash, and allow new aspell to work
6152 2002-08-06 John Levon <levon@movementarian.org>
6155 * kbmap.C: small cleanup
6158 * vspace.C: add const
6160 2002-08-05 John Levon <levon@movementarian.org>
6162 * LyXAction.C: back to tabular-insert
6164 2002-08-04 John Levon <levon@movementarian.org>
6167 * BufferView.C: cosmetic change
6169 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6179 * BufferView2.C: purge all "Lyx" not "LyX" strings
6182 * lyxcursor.C: attempt to add some documentation
6187 * ToolbarDefaults.C:
6188 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6189 merge with LFUN_TABULAR_INSERT
6196 * pspell.C: split up i/pspell implementations into separate
6197 files, many cleanups
6199 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6201 * text2.C: some cleanup
6203 * lyxfunc.C: don't check for isp_command == "none" any more, it
6204 didn't make any sense
6206 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6211 * makefile.am: move counters functionality over
6212 from text2.C/paragraph.[Ch] to counters.[Ch], and
6214 2002-08-02 John Levon <levon@movementarian.org>
6216 * buffer.C: s/lyxconvert/lyx2lyx/
6218 2002-08-02 Angus Leeming <leeming@lyx.org>
6220 * lyxlex.C: revert John's change as it breaks reading of the user
6223 2002-08-02 Angus Leeming <leeming@lyx.org>
6225 * importer.C (Import):
6226 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6227 changes due to LyXView::view() now returning a boost::shared_ptr.
6229 2002-08-02 John Levon <levon@movementarian.org>
6231 * lyxlex.C: small cleanup
6233 2002-08-02 John Levon <levon@movementarian.org>
6235 * text2.C (status): small cleanup, no logic change
6237 2002-08-01 John Levon <levon@movementarian.org>
6240 * buffer.C (writeFile): don't output alerts, caller
6244 * lyx_cb.C: from above
6246 * lyxfunc.C: allow to open non-existent files
6248 2002-07-31 John Levon <levon@movementarian.org>
6250 * lyxserver.C: don't let incidental errors get
6253 2002-07-30 John Levon <levon@movementarian.org>
6255 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6257 2002-07-30 John Levon <levon@movementarian.org>
6260 * lyxserver.C: remove I/O callback too
6262 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6264 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6267 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * many files: strip,frontStrip -> trim,ltrim,rtrim
6271 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6273 * PrinterParams.h: remove extern containsOnly, and include
6274 support/lstrings.h instead.
6276 * LaTeX.C (scanAuxFile): modify because of strip changes
6278 * buffer.C (makeLaTeXFile): ditto
6279 * bufferparams.C (writeFile): ditt
6280 * lyxfont.C (stateText): ditto
6281 * lyxserver.C (read_ready): ditto
6282 * vc-backend.C (scanMaster): ditto
6284 * BufferView_pimpl.h: ws changes
6286 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6288 2002-07-26 André Pönitz <poenitz@gmx.net>
6290 * kb_sequence.C: remove unnedred usings
6292 2002-07-26 Juergen Vigna <jug@sad.it>
6294 * lyxfind.C (LyXReplace): we have to check better if the returned
6295 text is not of theLockingInset()->getLockingInset().
6297 2002-07-25 Juergen Vigna <jug@sad.it>
6299 * lyxfind.C (LyXReplace): don't replace if we don't get the
6302 * undo_funcs.C (createUndo): remove debugging code.
6304 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6306 * buffer.C (parseSingleLyXformat2Token): Use default placement
6307 when reading old floats.
6309 * FloatList.C (FloatList): Change the default placement of figure
6310 and tables to "tbp".
6312 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6314 * MenuBackend.C: using std::max
6316 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6318 * MenuBackend.C (expandToc):
6319 (expandToc2): code moved from xforms menu frontend. It is now
6320 generic and TOCs are transparent to menu frontends.
6322 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6324 * toc.C (getTocList): protect against buf=0
6326 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6327 Menu as first parameter. Now, this calls itself recursively to
6328 expand a whole tree (this will be useful for TOC handling)
6329 (expandFloatInsert): remove 'wide' version of floats
6331 * MenuBackend.h (submenuname): returns the name of the submenu.
6332 (submenu): returns the submenu itself, provided it has been
6333 created by MenuBackend::expand
6335 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6337 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6338 insets which have noFontChange == true. (bug #172)
6340 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6342 * BufferView_pimpl.C: add connection objects and use them...
6345 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6347 * MenuBackend.C (expandLastfiles):
6350 (expandFloatListInsert):
6351 (expandFloatInsert):
6352 (expand): split expand in parts
6354 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6356 * lyx_gui.C: use lyx_gui::exit()
6358 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6360 * LyXAction.C: show the failing pseudo action
6362 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6364 * buffer.C (readFile): Run the lyxconvert script in order to read
6367 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6371 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6373 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6377 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6379 2002-07-22 Herbert Voss <voss@lyx.org>
6382 * lyxlength.[Ch]: add support for the vertical lengths
6384 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6386 * toc.[Ch]: std:: fixes
6388 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6390 * lyxrc.C: do not include lyx_main.h
6392 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6398 * BufferView2.C: include "lyxlex.h"
6401 * bufferparams.h: do not #include "lyxlex.h"
6403 * lyxtextclasslist.C (Add): remove method
6404 (classlist): renamed to classlist_
6406 * paragraph_pimpl.C:
6410 * bufferview_funcs.C:
6415 * toc.C (getTocList): use BufferParams::getLyXTextClass
6417 * toc.C (getTocList): use InsetFloat::addToToc
6419 * toc.[Ch]: new files, containing helper functions to handle table
6422 * lyxfunc.C (dispatch): no need to remove spaces around command
6424 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6425 first command of the sequence; it is not very clever, but I do not
6426 have a better idea, actually
6428 * LyXAction.C (LookupFunc): make sure to remove space at the
6429 beginning and end of the command
6431 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6433 * MenuBackend.C (getMenubar): new method: return the menubar of
6435 (read): treat differently reading of menu and menubar (in
6436 particular, the menubar has no name now)
6437 (Menu::menubar): remove
6439 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6442 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6444 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6445 a bibitem inset in a RTL paragraph.
6447 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6449 * paragraph_pimpl.C: constify
6451 * BufferView_pimpl.C:
6453 * lyxfunc.C: fix dispatch in a nicer way
6455 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6457 * lyxfunc.C (dispatch):
6458 * BufferView_pimpl.C:
6459 * BufferView_pimpl.h:
6461 * BufferView.h: rename Dispatch() to dispatch()
6463 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6465 * lyxlayout.C (Read): honor DependsOn tag
6467 * lyxlayout.[Ch] (depends_on): new method
6469 * version.C.in: update lyx_docversion
6471 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6473 * paragraph.C (validate): remove from here...
6474 * paragraph_pimpl.C (validate): ... and move here
6475 (isTextAt): make it const
6477 * buffer.C (getLists): ws cleanup
6479 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6481 * language.C (read): Use iso8859-1 encoding in latex_lang
6482 (this prevents LyX from crashing when using iso10646-1 encoding).
6484 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6486 * text2.C (toggleInset): if cursor is inside an inset, close the
6487 inset and leave cursor _after_ it
6489 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6491 * lyxfunc.C: move minibuffer completion handling out of here
6493 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6495 * BufferView_pimpl.C:
6496 * LaTeX.C: fix dispatch calls
6498 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6500 * text.C (drawChars): Fix Arabic text rendering.
6502 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6506 * lyxfunc.C: remove message-push/pop
6510 * lyxfunc.C: rationalise some code by removing verboseDispatch
6511 in favour of a bool argument to dispatch()
6513 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6515 * lyx_main.C (init): make sure to read symlinks as absolute paths
6517 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6520 * lyxfunc.C: no need for commandshortcut to be a member
6522 2002-07-15 André Pönitz <poenitz@gmx.net>
6524 * converter.C: add support for $$s (scripts from lib/scripts dir)
6525 * lyx_main.C: white space
6527 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6531 * lyxrc.C: remove second exit confirmation
6533 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6538 * BufferView_pimpl.h:
6539 * BufferView_pimpl.C:
6540 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6542 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6544 * MenuBackend.C (expand): add numeric shortcuts to document menu
6546 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6548 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6550 * lyxfont.C (setLyXFamily):
6557 * buffer.C (asciiParagraph): use ascii_lowercase
6559 2002-07-15 Mike Fabian <mfabian@suse.de>
6561 * lyxlex_pimpl.C (search_kw):
6562 * lyxlex.C (getLongString):
6563 * converter.h (operator<):
6564 * converter.C (operator<):
6565 * buffer.C (parseSingleLyXformat2Token):
6567 * ToolbarDefaults.C (read):
6568 * MenuBackend.C (checkShortcuts):
6570 * LColor.C (getFromGUIName):
6571 (getFromLyXName): use the compare_ascii_no_case instead of
6572 compare_no_case, because in turkish, 'i' is not the lowercase
6573 version of 'I', and thus turkish locale breaks parsing of tags.
6575 2002-07-16 Angus Leeming <leeming@lyx.org>
6577 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6578 now takes a Buffer const & argument.
6580 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6582 * BufferView.C (resize): check there's a buffer to resize
6584 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6586 * lyxfunc.C: remove dead code
6589 * lyxserver.C: use lyx_guii::set_read_callback
6591 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6593 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6594 an inset in a RTL paragraph.
6596 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6598 * lyxfunc.C: repaint after a font size update
6600 2002-07-15 André Pönitz <poenitz@gmx.net>
6602 * lyxlength.C: inBP should be able to return negative values
6604 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6606 * lyxfunc.C: use lyx_gui::update_fonts()
6608 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6610 * lyxfunc.C: use lyx_gui::update_color()
6612 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6618 * lyxrc.C: remove file->new asks for name option, and let
6619 buffer-new take an argument
6621 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6623 * BufferView_pimpl.C: remove unneeded extra repaint()
6625 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6627 * LyXAction.C: allow command-sequence with NoBuffer
6629 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6631 2002-07-10 Angus Leeming <leeming@lyx.org>
6633 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6635 2002-07-09 Angus Leeming <leeming@lyx.org>
6637 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6639 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6641 * lengthcommon.h: whitespace
6643 * lyxfunc.C: update scrollbar after goto paragraph
6645 * lyxtext.h: factor out page break drawing, and fix it so
6646 page break/added space paints as selected nicely
6648 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6650 * BufferView_pimpl.C: add FIXMEs, clean up a little
6652 2002-07-09 André Pönitz <poenitz@gmx.net>
6654 * lyxfont.[Ch]: support for wasy symbols
6656 2002-07-08 André Pönitz <poenitz@gmx.net>
6658 * BufferView_pimpl.C: apply John's patch for #93.
6660 2002-07-05 Angus Leeming <leeming@lyx.org>
6662 * BufferView_pimpl.C (buffer): generate previews if desired.
6664 * LColor.h: add "preview" to the color enum.
6666 * LColor.C (LColor): add a corresponding entry to the items array.
6668 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6671 2002-07-05 Angus Leeming <leeming@lyx.org>
6673 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6674 The body of the code is now in the method that is passed an ostream &
6675 rather than a file name.
6676 Pass an additional only_preamble parameter, useful for the forthcoming
6679 2002-07-03 André Pönitz <poenitz@gmx.net>
6681 * lyxfunc.C: simplify getStatus() a bit for math stuff
6683 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6685 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6687 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6689 * text.C (changeRegionCase): do not change case of all the
6690 document when region ends at paragraph end (bug #461)
6692 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6694 * paragraph.C (startTeXParParams):
6695 (endTeXParParams): add \protect when necessary
6697 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6699 * BufferView_pimpl.C (workAreaExpose): remove warning
6701 2002-06-27 Angus Leeming <leeming@lyx.org>
6703 * Makefile.am: add lyxlayout_ptr_fwd.h.
6705 2002-06-26 André Pönitz <poenitz@gmx.net>
6707 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6709 2002-06-25 Angus Leeming <leeming@lyx.org>
6711 * lyxfunc.C (dispatch): Comment out the call to
6712 grfx::GCache::changeDisplay. The method no longer exists now that the
6713 pixmap generation part of the graphics loader has been moved into
6716 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6718 * text2.C: layout as layout
6720 * text.C: layout as layout
6722 * tabular.C (OldFormatRead): layout as layout
6724 * paragraph_pimpl.C (TeXDeeper): layout as layout
6725 (realizeFont): layout as layout
6727 * paragraph.C (writeFile): layout as layout
6728 (validate): layout as layout
6729 (getFont): layout as layout
6730 (getLabelFont): layout as layout
6731 (getLayoutFont): layout as layout
6732 (breakParagraph): layout as layout
6733 (stripLeadingSpaces): layout as layout
6734 (getEndLabel): layout as layout
6735 (getMaxDepthAfter): layout as layout
6736 (applyLayout): layout as layout
6737 (TeXOnePar): layout as layout
6738 (simpleTeXOnePar): layout as layout
6739 (TeXEnvironment): layout as layout
6740 (layout): layout as layout
6741 (layout): layout as layout
6743 * lyxtextclass.C (compare_name): new functor to work with
6744 shared_ptr, layout as layout
6745 (Read): layout as layout
6746 (hasLayout): layout as layout
6747 (operator): layout as layout
6748 (delete_layout): layout as layout
6749 (defaultLayout): layout as layout
6751 * lyxlayout_ptr_fwd.h: new file
6753 * lyxlayout.C (Read): layout as layout
6755 * lyx_cb.C (MenuInsertLabel): layout as layout
6757 * bufferlist.C (newFile): layout as layout
6759 * buffer.C (readLyXformat2): layout as layout
6760 (parseSingleLyXformat2Token): layout as layout
6761 (insertStringAsLines): layout as layout
6762 (asciiParagraph): layout as layout
6763 (latexParagraphs): layout as layout
6764 (makeLinuxDocFile): layout as layout
6765 (simpleLinuxDocOnePar): layout as layout
6766 (makeDocBookFile): layout as layout
6767 (simpleDocBookOnePar): layout as layout
6768 (getLists): layout as layout
6770 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6772 * CutAndPaste.C (cutSelection): layout as layout
6773 (pasteSelection): layout as layout
6774 (SwitchLayoutsBetweenClasses): layout as layout
6776 * BufferView_pimpl.C (Dispatch): layout as layout
6777 (smartQuote): layout as layout
6779 * BufferView2.C (unlockInset): layout as layout
6781 2002-06-24 André Pönitz <poenitz@gmx.net>
6783 * lyxfunc.C: fix #487
6785 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6789 * lyxfunc.C: remove display_shortcuts, show_banner
6791 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6793 * Buffer_pimpl.C: oops, update on resize
6795 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6802 * BufferView.C: use repaint()
6804 * BufferView_pimpl.h:
6805 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6806 as it's a clearer description. Remove superfluous
6809 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6811 * text.C: fix bug 488. Not ideal, but getting
6812 getWord() to work properly for the insets that
6813 matter is more difficult ...
6815 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6817 * BufferView_pimpl.C:
6820 * lyxfunc.C: remove the six million index lyxfuncs to just
6821 one, and DTRT (bug 458)
6823 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6827 * BufferView_pimpl.h:
6828 * BufferView_pimpl.C: clean up resize() stuff,
6829 and unnecessary updateScreen()s
6831 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6835 * BufferView_pimpl.h:
6836 * BufferView_pimpl.C:
6839 * minibuffer.C: remove focus management of workarea,
6840 not needed. Use screen's greyOut()
6842 2002-06-17 Herbert Voss <voss@lyx.org>
6844 * converter.C: (convert) do not post a message, when converting
6845 fails, let the calling function decide what to do in this case
6847 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6849 * lyxfunc.C: tidy up a little
6851 2002-06-16 <alstrup@diku.dk>
6853 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6854 Got rid of FORMS_H_LOCATION include. Now we are
6857 2002-06-15 LyX Development team <lyx@rilke>
6859 * buffer.[Ch] (sgmlOpenTag):
6860 (sgmlCloseTag): Added support for avoiding pernicious mixed
6861 content. Return number of lines written.
6864 (makeDocBookFile): Fixed calls to sgml*Tag.
6865 Simple white space clean.
6867 (simpleDocBookOnePar): Simple white space clean.
6869 * tabular.[Ch] (docBook): Renamed to docbook and got another
6870 argument to related with the pernicious mixed content.
6872 (docbookRow): Fixed calls for docbook inset method.
6874 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6876 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6877 so it's X11 independent.
6881 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6883 2002-06-15 Lyx Development team <lyx@electronia>
6885 * intl.h: Renamed getTrans to getTransManager.
6887 2002-06-14 Angus Leeming <leeming@lyx.org>
6889 * Makefile.am: nuke forgotten stl_string_fwd.h.
6891 2002-06-12 Angus Leeming <leeming@lyx.org>
6893 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6895 2002-06-13 Angus Leeming <leeming@lyx.org>
6898 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6900 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6902 * kbmap.C (getiso): add support for cyrillic and greek
6904 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6908 * BufferView_pimpl.h:
6909 * BufferView_pimpl.C: move bogus scrolling logic
6912 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6915 * BufferView_pimpl.C: view->resize() change
6917 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6919 * BufferView_pimpl.C: topCursorVisible
6922 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6926 * lyx_gui.C: move to frontends/
6930 * lyx_main.C: changes from above
6932 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6939 * lyx_main.C: minor tidy
6941 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6943 * BufferView_pimpl.h:
6944 * BufferView_pimpl.C:
6946 * BufferView.C: make painter() const,
6949 * BufferView2.C: use screen() accessor
6952 * lyx_main.C: some minor cleanup
6954 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6956 * BufferView_pimpl.h:
6957 * BufferView_pimpl.C: remove enter/leaveView,
6960 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6965 * BufferView_pimpl.h:
6966 * BufferView_pimpl.C: only construct screen once,
6969 * lyxrc.C: remove pointless comment
6971 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6974 * BufferView.C: remove active() and belowMouse()
6976 * BufferView_pimpl.h:
6977 * BufferView_pimpl.C: use workarea() not workarea_,
6978 and make it use a scoped_ptr instead
6980 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6982 * lyx_gui.C: add debug message on BadWindow
6984 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6986 * sp_spell.C: fdopen is not part of the C++ standard.
6988 * paragraph.C (InsetIterator): use >= instead of ==
6990 2002-06-07 Angus Leeming <leeming@lyx.org>
6992 Fixes needed to compile with Compaq cxx 6.5.
6993 * BufferView_pimpl.C:
7000 * lyxtextclasslist.C:
7005 all c-library variables have been moved into namespace std. Wrap
7006 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7011 Add a using std::abs declaration.
7013 * kbmap.h (modifier_pair):
7014 * paragraph.h (InsetTable, InsetList):
7015 * lyxfont.h (FontBits):
7016 type definition made public.
7018 * bufferlist.C (emergencyWriteAll): the compiler complains that
7019 there is more than one possible lyx::class_fun template to choose from.
7020 I re-named the void specialisation as lyx::void_class_fun.
7022 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7024 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7025 the compiler is is unable to find tostr in write_attribute.
7027 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7029 * buffer.C (sgmlError): hide #warning
7031 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7033 * xtl/*: get rid of xtl, which is not in use anyway
7035 * LyXAction.C (init):
7036 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7037 were unimplemented xtl experimentation
7039 2002-06-04 André Pönitz <poenitz@gmx.net>
7041 * lyxfunc.C: disable array operation on simple formulae
7043 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7045 * converter.C: constify a bit
7047 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7049 * lyx_gui.C: check xforms version correctly
7051 2002-04-30 Herbert Voss <voss@lyx.org>
7053 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7056 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7058 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7059 attempt to register it with a VCS)
7061 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7063 * lyx_main.C (init): honor variables LYX_DIR_13x and
7066 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7070 * lyx_main.C: fix a crash on bad command line,
7071 and give a useful exit status on error
7073 * lyxfunc.C (doImport): allow -i lyx to work
7075 2002-03-30 André Pönitz <poenitz@gmx.net>
7077 * lyxfunc.C: mathed font changes
7079 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7094 * trans_mgr.h: srcdocs, and some minor cleanups
7096 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7098 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7099 call getFont all the time)
7101 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7103 * switch from SigC signals to boost::signals
7105 2002-05-29 André Pönitz <poenitz@gmx.net>
7107 * paragraph_pimpl.C (getChar): don't call size() too often...
7109 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7111 * paragraph_pimpl.C (insertChar): do not try to update tables when
7112 appending (pos == size())
7114 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7115 in order to reduce drastically the number of comparisons needed to
7116 parse a large document
7118 2002-05-29 André Pönitz <poenitz@gmx.net>
7124 * textclasslist.[Ch]:
7125 * sp_ispell.h: whitespace change
7127 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7129 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7130 lyxaction directly now.
7132 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7136 * lyxvc.C: remove unused headers
7138 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7145 * undo_funcs.C: some cleanups. Use shared_ptr
7146 and a template for the undo stacks.
7148 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7150 * BufferView_pimpl.h:
7151 * BufferView_pimpl.C:
7158 * text2.C: use key_state/mouse_state
7160 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7162 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7165 * chset.C: change include order
7166 (loadFile): use boost regex and get rid of LRegex and LSubstring
7168 * Makefile.am (BOOST_LIBS): new variable
7171 * LaTeX.C: change include order.
7172 (scanAuxFile): use boost regex and get rid of LRegex and
7176 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7181 * FontInfo.C: moved to frontends/xforms/
7184 * FontLoader.C: moved into frontends for GUIIzation
7189 * lyxfunc.C: changes from above
7191 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7193 * LColor.C: remove spurious X include
7195 * BufferView_pimpl.C:
7200 * text2.C: move font metrics to frontends/
7202 2002-05-24 Juergen Vigna <jug@sad.it>
7204 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7205 setting the undo_cursor.
7207 * ParagraphParameters.h: include local includes first.
7209 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7211 * BufferView_pimpl.C:
7212 * BufferView_pimpl.h:
7216 * screen.C: move WorkArea into frontends/
7222 * BufferView2.C: move LyXScreen into frontends/
7226 * lyx_gui.C: move lyxlookup into frontends/xforms/
7228 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7231 * BufferView_pimpl.C:
7241 * bufferview_funcs.C:
7254 * vc-backend.C: move LyX/XFormsView into frontends/
7256 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7268 * text2.C: move Painter to frontends/
7270 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7272 * buffer.C: comment out some some code that depend upon lyx_format
7275 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7276 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7278 * buffer.h (NO_COMPABILITY): turn off compability
7280 * ColorHandler.C: include scoped_array.hpp
7282 * font.C: Use more specific smart_ptr header.
7285 * ShareContainer.h: ditto
7289 * BufferView_pimpl.h: ditto
7290 * ColorHandler.h: ditto
7292 * kbmap.C (defkey): change call to shared_ptr::reset
7294 2002-05-21 Juergen Vigna <jug@sad.it>
7296 * buffer.C (insertErtContents): fix to insert ert asis if it is
7297 non empty. Skip it completely if it contains only whitespaces.
7299 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7301 * BufferView_pimpl.C:
7302 * BufferView2.C: clear selection on paste (bug 393)
7304 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7306 * DepTable.C: include ctime
7308 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7310 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7312 2002-05-14 Juergen Vigna <jug@sad.it>
7314 * text.C (breakParagraph): fixed function to honor the keepempty
7315 layout in the right maner and also to permit the right breaking
7316 algorithm on empty or non empyt keepempty paragraphs.
7318 * paragraph.C (breakParagraph): we have to check also if the par
7319 is really empty (!size()) for isempty otherwise we do the wrong
7322 2002-05-10 Juergen Vigna <jug@sad.it>
7324 * buffer.[Ch] : The following are only changes to the ert
7325 compatibility read reading old LaTeX layout and font stuff and
7326 convert it to ERTInsets.
7328 * buffer.h: added isErtInset().
7330 * buffer.C (struct ErtComp): add a fromlayout bool to check
7331 if we're inside a LaTeX layout.
7332 (isErtInset): new helper function.
7333 (insertErtContents): look for other ert insets before this one
7334 and insert the contents there, so that we don't have subsequent
7335 ERT insets with nothing between them. This way we create only one
7336 inset with multiple paragraphs. Also check if we don't insert only
7337 spaces ' ' as they are ignored anyway afterwards in the .tex file
7338 so if we have only spaces we will ignore this latex part in the
7340 (parseSingleLyXformat2Token \\layout): better compatibility when
7341 reading layout-latex stuff.
7342 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7344 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7345 stuff after reading the inset only get the information back from
7348 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7350 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7352 * LaTeXFeatures.C (getBabelOptions): New method.
7354 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7356 * BufferView_pimpl.C (Dispatch): work around missing argument for
7359 2002-05-08 Juergen Vigna <jug@sad.it>
7361 * text.C (leftMargin): handle paragraph leftindent.
7363 * paragraph.C (writeFile): write the new \\leftindent tag.
7364 (validate): handle leftindent code.
7365 (TeXEnvironment): handle paragraphleftindent code again.
7367 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7369 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7370 for paragrap_extra indent code and new token \\leftindent.
7371 (latexParagraphs): handle the leftindent as environment.
7373 * ParameterStruct.h: added leftindent support.
7375 * ParagraphParameters.C (leftIndent): added support functions for
7376 the paragraph left indent.
7378 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7381 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7383 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7386 * text.C (computeBidiTables): No bidi in insetERT.
7388 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7391 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7393 * version.C.in: pre 5
7395 2002-05-02 José Matos <jamatos@fep.up.pt>
7396 * buffer.C (makeDocBookFile): white space changes, add newline to
7398 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7400 * tabular.C (docBook): fix typo.
7402 2002-05-03 Juergen Vigna <jug@sad.it>
7404 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7405 change in LyXText as we can not be sure it was not freed.
7406 (drawOneRow): remove unused code.
7408 * text.C (drawInset): redo the calculation of the need_break_row as
7409 it could have a row which was already freed.
7410 (draw): look at the return value of drawInset and return false if
7411 it also returned false.
7412 (paintRowText): look at the return value of draw and return false if
7413 it also returned false.
7415 * lyxtext.h: added bool return type to drawInset() and draw() so that
7416 if we have a change in the row so that the rowbreak has to be redone
7417 we abort drawing as it will be called again.
7419 2002-05-02 Juergen Vigna <jug@sad.it>
7421 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7422 a change in the maintext also if we're inside an inset.
7423 (Dispatch): set the cursor again after a break line and after the
7424 screen has been updated as it could be we're in a different row.
7426 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7427 to set the cursor behind the pargraph with > size().
7428 (setCursor): check also for the same paragraph when checking where
7429 to put the cursor if we have a NFR inset.
7431 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7432 parts of layout read further up as it still was in the wrong
7435 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7437 * screen.C (drawFromTo): change sine fullRebreak always return
7440 * buffer.C (parseSingleLyXformat2Token): reindent some
7442 * BufferView_pimpl.C (update): change since fullRebreak always
7444 (Dispatch): git rid of the last hardcoded "Standard"s.
7446 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7448 * text2.[Ch] (fullRebreak): make it return void now that we always
7451 2002-04-30 Juergen Vigna <jug@sad.it>
7453 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7454 ert compatibility check for "latex" layout.
7456 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7458 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7459 minipages: use col% instead of p%, and also use the current font.
7460 (makeLaTeXFile): Fix use babel condition.
7461 (parseSingleLyXformat2Token): Correct font when reading old floats.
7463 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7465 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7466 inserting list of floats.
7468 2002-04-25 Herbert Voss <voss@lyx.org>
7470 * MenuBackend.C (expand): don't add the graphics extensions to the
7473 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7475 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7476 non-existing layout, do not complain if it was the default layout
7477 of the original class (bug #342)
7479 2002-04-24 Juergen Vigna <jug@sad.it>
7481 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7482 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7484 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7486 * buffer.C (getBibkeyList): If using \bibliography, return the
7487 option field with the reference itself. Enables us to provide natbib
7488 support when using \bibliography.
7490 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7492 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7494 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7495 natbib is provided by the LaTeX class.
7497 2002-04-23 Juergen Vigna <jug@sad.it>
7499 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7502 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7504 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7506 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7508 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7509 ensuremath around textordmasculine, textordfeminine and
7512 2002-04-19 Juergen Vigna <jug@sad.it>
7514 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7515 reinitializing the buffer otherwise row-dimensions may be wrong.
7516 (update): reset also the selection cursors if they do exits otherwise
7517 their x/y positions may be wrong.
7519 * text2.C (cursorDown): don't enter the inset if we came from a row
7520 above and are one row over the inset.
7522 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7523 really leaving an inset.
7525 2002-04-18 Juergen Vigna <jug@sad.it>
7527 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7528 of the selected paragraph does not have the selected layout also if
7531 * text2.C (setLayout): fixed bug which did not change last selected
7534 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7535 changed the read and substituted \\end_float with \\end_inset!
7537 * BufferView_pimpl.C (cursorPrevious):
7538 (cursorNext): fixed to make it work with rows heigher than the work
7539 area without moving the cursor only the draw of the row.
7540 (workAreaMotionNotify): fix jumping over high rows.
7542 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7544 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7547 2002-04-16 Juergen Vigna <jug@sad.it>
7549 * text2.C (setCursor): set also the irow().
7550 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7552 (cursorDown): support for locking an inset if the x_fix value goes
7553 inside it. That way I can transverse insets too with cursor up/down.
7555 * lyxrow.h: added irow helper function same as other (i) functions.
7557 * BufferView_pimpl.C (cursorPrevious):
7558 (cursorNext): fixed for insets!
7560 2002-04-15 Juergen Vigna <jug@sad.it>
7562 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7563 position otherwise it is wrong in some cases.
7565 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7566 inside the inset before the call.
7568 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7570 * buffer.[Ch] (getBibkeyList): make it const.
7572 2002-04-12 Juergen Vigna <jug@sad.it>
7574 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7576 * text2.C (getCursorX): new helper function
7577 (setCursor): compute also ix_
7578 (setCursorFromCoordinates): set also ix.
7580 * lyxcursor.h: added ix_ and helper functions.
7582 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7584 * buffer.C (insertStringAsLines): dont break paragraph if the this
7585 paragraph is inside an inset which does not permit it!
7587 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7588 also with no chars on this paragraph.
7589 (paintRowText): only paint stuff if it's inside the workarea!
7591 * paragraph.C (breakParagraph): honor keepempty flag and break the
7592 paragraph always below not above.
7594 * BufferView2.C (unlockInset): update the paragraph layout on inset
7595 unlock as we changed paragraph in such a case.
7597 * lyxfind.C (LyXFind): clear the former selection if not found!
7599 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7600 again called in insertChar().
7602 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7603 an inset which uses the whole row!
7604 (rightMargin): ditto.
7605 (insertChar): force a rebreak if we inserted an inset!
7607 2002-03-28 Herbert Voss <voss@lyx.org>
7609 * lyxlength.[Ch]: add inBP() to get the right PS-point
7610 units (BigPoint). With inPixels we have rounding errors
7612 2002-04-11 Juergen Vigna <jug@sad.it>
7614 * text2.C (setCursorFromCoordinates): set iy to the right value.
7615 (setCursor): add check if row->previous exists!
7617 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7618 an old float_type as this was the case in the old code!
7620 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7622 * BufferView2.C (showLockedInsetCursor): use iy
7623 (fitLockedInsetCursor): ditto
7625 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7626 locked insets as there we have the right value now.
7628 * lyxcursor.C: added iy_ variable and iy functions to set to the
7629 baseline of cursor-y of the locked inset.
7631 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7632 (setCursor): fixed for insets which need a full row.
7634 * text.C (rowLastPrintable): don't ignore the last space when before
7635 an inset which needs a full row.
7636 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7637 as last character of a row when before a inset which needs a full row.
7639 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7641 * version.C.in: update date
7643 * text2.C (fullRebreak): try to always return true and see what
7646 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7648 * MenuBackend.C (expand): use Floating::listName
7650 * FloatList.C (FloatList): add listName argument to the built-in
7653 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7654 text associated with the float.
7656 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7658 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7660 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7662 * ShareContainer.h: add a couple of missing typenames.
7664 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7666 * lyxrc.C (getDescription): use _() correctly rather than N_().
7668 2002-03-28 Herbert Voss <voss@lyx.org>
7670 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7671 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7673 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7675 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7676 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7678 2002-03-29 Juergen Vigna <jug@sad.it>
7680 * lyxfunc.C (dispatch): add a missing fitCursor call.
7682 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7683 it was scrolled by a cursor move, so return the bool status.
7685 * BufferView.C (fitCursor): return the bool flag also to the outside
7686 world as this is needed.
7688 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7690 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7691 call the edit() as it is not needed (and wrong) IMO.
7692 (workAreaButtonPress): set the screen_first variable before evt.
7693 unlock the inset as this may change screen_first and then we have
7694 a wrong y position for the click!
7696 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7698 * MenuBackend.C (expand): another translation that I missed
7700 2002-03-28 Juergen Vigna <jug@sad.it>
7702 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7704 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7706 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7708 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7710 * MenuBackend.C (expand): fix export/view/update when there is no
7713 2002-03-27 Herbert Voss <voss@lyx.org>
7715 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7718 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7720 * bufferview_funcs.C (currentState): only show paragraph number
7721 for is DEVEL_VERSION is set.
7723 * lyxfunc.C (dispatch): put warning in INFO channel
7725 * MenuBackend.C (expand): translate the name of floats
7727 * FloatList.C (FloatList): mark the float names for translation
7729 * converter.C (convert): use LibScriptSearch
7731 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7733 * MenuBackend.C (defaults): fix default menu (we might as well get
7736 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7738 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7741 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7743 * lyxvc.C: reorder includes.
7745 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7747 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7750 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7752 * CutAndPaste.C: change layouts earlier on paste
7753 to avoid crashing when calling getFont()
7755 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7757 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7760 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7762 * WorkArea.C: remove 'Pending' debug message.
7764 * most files: ws cleanup
7766 * buffer.[Ch]: ws changes
7768 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7770 2002-03-21 Juergen Vigna <jug@sad.it>
7772 * tabular.C (SetMultiColumn): collapse also the contents of the
7773 cells and set the last border right. Added a Buffer const * param.
7775 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7777 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7780 2002-03-19 Juergen Vigna <jug@sad.it>
7782 * text2.C (clearSelection): reset also xsel_cache.
7784 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7785 where it needs to be called (John tells us to do so too :)
7786 (selectionLost): reset sel_cache.
7788 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7790 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7792 * text2.C (setCursorIntern): put debuging code in INSETS channel
7794 2002-03-19 André Pönitz <poenitz@gmx.net>
7796 * lyxfunc.C: tiny whitespace change
7798 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7800 * ToolbarDefaults.C (init):
7801 * LyXAction.C (init):
7803 * BufferView_pimpl.C (Dispatch):
7804 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7806 2002-03-19 Allan Rae <rae@lyx.org>
7808 * exporter.C (Export): removeAutoInsets before doing anything else.
7809 While I've just introduced a dependency on BufferView this really is
7810 the best place to clean the buffer otherwise you need to cleanup in
7811 a dozen places before calling export or cleanup in a dozen functions
7814 * converter.C (runLaTeX):
7815 (scanLog): Better handling of removeAutoInsets and screen updates.
7817 * lyxfunc.C (dispatch): small whitespace changes
7819 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7821 * WorkArea.C (C_WorkAreaEvent): return a value.
7822 (event_cb): return 1 if we handled the event, 0 otherwise.
7824 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7826 2002-03-18 Juergen Vigna <jug@sad.it>
7828 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7829 (GetAdditionalWidth): ditto.
7833 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7834 inset if we're there actually (probably not used right now but this
7835 is the direction to go for unifying code).
7836 (paste): disable code to clear the selection.
7838 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7839 inside an InsetText and move the check further up as it is in the
7842 * text2.C (pasteSelection): set a selection over the pasted text.
7844 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7846 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7847 and libgraphics to build on Cygwin.
7849 2002-03-15 Juergen Vigna <jug@sad.it>
7851 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7852 inserting an Inset into the paragraph. I know this is not the best
7853 fix but we already use current_view in CutAndPaste so we will remove
7854 all of it's using at the same time.
7856 * buffer.C (sgmlError): deactivated function till it is rewritten in
7857 the right mode, now it can create problems.
7859 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7860 before accessing it.
7862 2002-03-14 Juergen Vigna <jug@sad.it>
7864 * undo_funcs.C (textHandleUndo): do the right thing when updating
7865 the inset after the undo/redo.
7867 * text2.C (setCursor): just some testcode for #44 not ready yet.
7869 * undo_funcs.C (textHandleUndo): set the next() and previous()
7870 pointers of the paragraph to 0 before deleting otherwise we have
7871 problems with the Paragraph::[destructor].
7873 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7874 on a paragraph insertion.
7876 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7878 * buffer.C (asciiParagraph): use += operator for char append to
7881 * paragraph.C (getFontSettings): compare >= not just >
7882 (highestFontInRange): ditto
7885 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7887 * paragraph.C: change several algorithm to be more appripriate for
7888 the problem domain. This is lookip in FontList and in the InsetList.
7890 2002-03-13 André Pönitz <poenitz@gmx.net>
7893 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7895 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7900 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7902 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7904 * Painter.C (display): anon helper function, adjust code for this
7906 (pixmap): remove function.
7908 * Painter.h: remove private display variable.
7910 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7912 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7914 * WorkArea.[Ch]: remove figinset_canvas cruft.
7916 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7918 * lyxtextclass.C (operator): add one item cache optimization.
7920 * bufferlist.h: doxy changes
7922 * bufferlist.C: ws changes
7924 * DepTable.[Ch] (ext_exist): place const in the right spot.
7926 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7928 (workAreaExpose): call resizeInsets when the with BufferView changes.
7929 (Dispatch): adjust for protectedBlank removal
7930 (specialChar): call updateInset if the insert went ok.
7932 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7933 specialChar instead.
7935 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7937 * BufferView.h: doxy change
7939 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7941 * lyxtextclass.C (operator[]): remove non-const version
7942 (defaultLayout): remove non-const version
7944 2002-03-12 Juergen Vigna <jug@sad.it>
7946 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7947 did resize the LyXText too.
7949 * buffer.C (readLyXformat2): set layout information on newly allocated
7952 * tabular.C (OldFormatRead): set layout information on the paragraph.
7954 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7956 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7958 2002-03-11 Juergen Vigna <jug@sad.it>
7960 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7962 (resizeCurrentBuffer): force also the insets to resize themselfes.
7963 (moveCursorUpdate): fixed up for InsetText.
7965 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7968 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7969 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7970 value of Dialogs::tooltipsEnabled().
7971 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7973 2002-03-08 Juergen Vigna <jug@sad.it>
7975 * BufferView_pimpl.C (updateInset): update inset inside inset also
7976 if it isn't inside theLockingInset().
7978 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7980 * buffer.C (asciiParagraph): redo some of the word and line length
7982 (getLists): look for Caption instead of caption.
7984 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7986 * buffer.C (Buffer): initialize niceFile to true
7989 (makeDocBookFile): make sure niceFile is true on exit
7991 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7993 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7995 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7997 * LyXSendto.C: remove.
7998 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7999 * lyx_gui.C: remove now-redundant comment.
8000 * ColorHandler.h: remove forward declaration of class WorkArea.
8001 * lyxfunc.C: remove #include "WorkArea.h".
8003 2002-03-07 Juergen Vigna <jug@sad.it>
8005 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8006 got moved away with the DEPM and also set the inset_owner always
8007 right which before could have been omitted.
8009 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8011 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8012 wanted layout is not found.
8014 2002-03-07 Juergen Vigna <jug@sad.it>
8016 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8018 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8020 * paragraph.C (breakParagraph): use default layout not layout of
8022 (Paragraph): clear ParagraphParameters.
8024 2002-03-06 Juergen Vigna <jug@sad.it>
8026 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8027 otherwise it would not be a valid lenght. Fixed a special case in
8028 the minipage compatibility read where we end the document with a
8031 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8032 was set as it could be 0 for InsetTexts first entry.
8034 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8036 * paragraph.C (writeFile): if layout is empty write out
8037 defaultLayoutName().
8039 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8040 file without named layout we set layout to defaultLayoutName().
8042 2002-03-06 Juergen Vigna <jug@sad.it>
8044 * CutAndPaste.C (copySelection): set layout for new paragraph.
8046 * text.C (prepareToPrint): leave ERT inset left aligned
8047 (leftMargin): don't indent paragraphs inside ERT insets
8049 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8051 * paragraph.C (breakParagraph): dont call clear do the work manually
8053 * paragraph.[Ch] (clear): remove function
8055 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8057 * paragraph.C (Paragraph): dont call clear, the work has already
8060 * lyxtextclass.C (operator): assert if n is empty
8062 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8063 work manually instead.
8065 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8067 * BufferView_pimpl.C: protect selectionLost against text == 0
8069 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8071 * text.C (breakParagraph): fix a setting layout to '0' problem.
8073 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8075 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8076 final location of file, for the included files, and graphics.
8078 2002-03-05 Juergen Vigna <jug@sad.it>
8080 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8082 2002-03-04 Juergen Vigna <jug@sad.it>
8084 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8086 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8087 last column of multicolumn cells.
8088 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8090 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8092 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8093 file if it doesn't go to a temporary file.
8095 * buffer.C (sgmlOpenTag):
8096 (sgmlCloseTag): remove extra newline insertion.
8098 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8100 * text.C (getRowNearY): comment out debug msg
8102 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8104 * text2.C: first -> first_y
8106 * text.C (getRowNearY): add some attemts at a possible
8107 optimization, not working.
8109 * tabular.[Ch]: add BufferParams to several function so that newly
8110 created paragraph can be initialized to he default layotu for the
8113 * tabular-old.C (ReadOld): add buf->params to call of Init
8115 * screen.C: rename text->first to text->first_y
8117 * paragraph.C (breakParagraph): always set layout in the broken
8120 * lyxtextclass.C (Read): remove lowercase
8123 (delete_layout): ditto
8125 * lyxtext.h: rename first -> first_y
8127 * lyxlayout.C (Read): remove lowercase
8130 (obsoleted_by): ditto
8132 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8134 * buffer.C (insertErtContents): add params are to InsetERT
8135 (parseSingleLyXformat2Token): add code to check if a paragraphs
8136 layout really exist.
8137 (parseSingleLyXformat2Token): add params to several inset
8139 (asciiParagraph): remove lowercase, do the layout comparisons with
8142 * BufferView_pimpl.C (cursorNext): first -> first_y
8143 (resizeCurrentBuffer): first -> first_y
8144 (updateScrollbar): first -> first_y
8145 (scrollCB): first -> first_y
8146 (workAreaMotionNotify): first -> first_y
8147 (workAreaButtonPress): first -> first_y
8148 (checkInsetHit): first -> first_y
8149 (cursorPrevious): first -> first_y
8150 (cursorNext): first -> first_y
8151 (Dispatch): add buffer_->params to severl inset contructors
8153 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8155 * lyxlayout.C (Read): remove some debug info that I forgot.
8157 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8158 clean up the code slightly.
8159 (makeLinuxDocFile): ditto
8160 (makeDocBookFile): ditto
8162 * text2.C: layout as string
8164 * text.C: layout as string
8166 * paragraph_pimpl.C: layout as string
8168 * paragraph.[Ch]: layout as string
8170 * lyxtextclasslist.[Ch]: layout as string
8172 * lyxtextclass.[Ch]: layout as string
8174 * lyxtext.h: layout as string
8176 * lyxlayout.[Ch]: layout as string
8178 * lyx_cb.C: layout as string
8180 * bufferview_funcs.C: layout as string
8182 * bufferparams.C: layout as string
8184 * buffer.C: layout as string
8186 * LyXView.[Ch]: layout as string
8188 * LaTeXFeatures.[Ch]: layout as string
8190 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8192 * BufferView_pimpl.C: change current_layout to string, remove
8197 (workAreaButtonRelease): layout as string
8199 * BufferView2.C (unlockInset): adjust
8201 * vspace.C (asLatexCommand): use an explict temp variable.
8203 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8205 * Makefile.am: use FRONTEND_*
8207 2002-03-01 Juergen Vigna <jug@sad.it>
8209 * tabular.C (SetWidthOfMulticolCell): changed to something better
8210 I hope but still work in progress.
8211 (recalculateMulticolumnsOfColumn): renamed function from
8212 recalculateMulticolCells as it is more appropriate now.
8213 (SetWidthOfCell): calculate multicols better.
8215 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8217 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8219 * lyxfunc.C (processKeySym): print sequence also if it is
8220 `deleted' (complete)
8222 * kbsequence.C (print): print sequence even if it is deleted
8223 (complete would be a better word, actually).
8225 * lyxfunc.C (dispatch): print complete options after a prefix key
8227 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8229 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8231 * text2.C (setCharFont): eliminate setCharFont code duplication.
8233 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8235 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8236 LFUN_TABULAR_FEATURE (bug #177)
8238 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8240 * Makefile.am: remove figure.h
8242 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8244 * Bufferview_pimpl.C:
8256 * text2.C: remove #include "lyx_gui_misc.h".
8258 * LaTeX.C: added #include <cstdio>
8260 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8262 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8263 that the paragraph following this one can have.
8265 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8267 * vspace.C (asLatexCommand): fix bogus gcc warning
8269 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8271 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8273 * text2.C (setLayout): get rid of redundant code
8275 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8277 * text2.C (incDepth): make sure depth cannot be increased beyond
8280 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8282 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8283 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8285 * PainterBase.h (image):
8286 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8289 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8293 * BufferView_pimpl.C:
8294 * BufferView_pimpl.h:
8314 * sp_spell.C: remove fig inset, and the crap house of
8315 cards that follows it
8317 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8323 * nt_defines.h: move .h into support/
8325 * vms_defines.h: remove
8327 * WorkArea.C: add space in debug output
8331 * buffer.C: add WITH_WARNINGS
8335 * bufferlist.C: s/retrive/retrieve/, add docs
8346 * lyxgui.C: add ID to X error handler
8348 * lyxtestclass.c: fix typo
8350 2002-02-26 Juergen Vigna <jug@sad.it>
8352 * tabular_funcs.C (write_attribute): changed so that some default
8353 attributes are not written at all.
8354 (getTokenValue): set default values before trying to read the
8355 value so we have the return value always set as default if we don't
8356 find the token we search for.
8358 * tabular.C (Write): write bools as bools not as strings!
8360 2002-02-22 Juergen Vigna <jug@sad.it>
8362 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8363 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8365 * text.C (leftMargin): don't add an indent for paragraphs inside
8366 tabular cells (fix #208).
8368 2002-02-21 José Matos <jamatos@fep.up.pt>
8370 * tabular.C (docBook): fixed support for long tables.
8372 2002-02-20 Juergen Vigna <jug@sad.it>
8374 * text2.C (getFont): get the drawing font of the Inset if this
8375 paragraph is inside an inset (only important for InsetERT for now).
8377 * buffer.C (insertErtContents): use new lanugage params in ERT
8380 * CutAndPaste.C: commenting out seemingly uneeded code.
8382 2002-02-19 Allan Rae <rae@lyx.org>
8384 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8385 Iterators might be simple to use but they also get invalidated.
8386 (removeAutoInsets): renamed saved cursor tracking variables and added
8387 some comments to clarify what everything does.
8389 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8396 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8397 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8400 * vc-backend.h: remove #include "support/syscall.h"
8404 * converter.C: rearrange #includes in Lars' approved fashion.
8406 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8407 forward declare class Timeout in the header file.
8409 * XFormsView.C: changes due to the above.
8411 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8414 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8415 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8417 2002-02-18 José Matos <jamatos@fep.up.pt>
8419 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8422 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8424 * a lot of small ws changes
8425 * add a lot of using std::XXX
8426 * use std construcs some places where approp.
8427 * use some exisint stuff from lyxfunctional where approp.
8428 * Make file changes to use partial linking (lets test this now...)
8430 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8434 remove #include "support/syscontr.h" as it's redundant. Always has been.
8442 change Systemcalls::System to Systemcalls::Wait and
8443 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8444 No change of functionality, just reflects the stripped down Systemcalls
8447 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8449 * debug.[Ch]: add a GRAPHICS type to the enum.
8451 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8453 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8455 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8458 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8460 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8461 match the changes below.
8463 * text2.C (toggleInset): if there is not editable inset at cursor
8464 position, try to see if cursor is _inside_ a collapsable inset
8467 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8469 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8470 document menu has a nice checkbox
8472 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8474 * lyxlength.C (asLatexString): change PW to output as percent of
8477 * lengthcommon.C: change '%' to 't%'
8479 * lyxfunc.C (dispatch): a few comments from Martin
8481 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8485 * BufferView_pimpl.h:
8486 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8489 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8491 * vspace.C (inPixels): fix compiler warning
8493 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8495 * lyxfunc.C (getStatus): fix status message for disabled commands.
8497 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8499 * BufferView_pimpl.C: fix crash on close buffer
8500 during selection (#227)
8502 2002-01-27 Herbert Voss <voss@lyx.org>
8504 * buffer.C: link old Figure to new graphic inset
8506 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8508 * FontLoader.C (getFontinfo): Change the latex font names in order
8509 to match the names of type1inst.
8511 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8513 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8515 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8518 (remove_files_with_extension): ditto
8519 (remove_file): ditto
8522 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8523 document is smaller than the work area height. Do not initialize
8524 static variables to 0.
8526 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8528 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8530 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8531 LFUN_LAYOUT_PARAGRAPHS.
8533 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8534 tabular. It is possible to provide a possible cell, which will
8535 typically be the actcell from the corresponding insettabular
8537 * lyxfunc.C (getStatus): small cleanup; disable
8538 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8541 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8543 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8545 * paragraph.C (startTeXParParams):
8546 (endTeXParParams): new methods. The LaTeX code to
8547 start/end paragraph formatting
8548 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8549 empty (fixes bug #200)
8551 * vspace.C (inPixels): adapt to the change below
8552 (inPixels): [later] more cleanups (remove unused variables)
8554 * lyxlength.C (inPixels): change to use a width and a height as
8557 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8559 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8560 Replaced with \paperwidth
8562 * DepTable.C (insert): add std:: qualifier
8564 2002-01-18 Allan Rae <rae@lyx.org>
8566 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8569 * text.C (drawInset): Turned out I didn't know enough about how
8570 rebreaking worked. This fixes most of the redraw problems. I see
8571 an occasional cursor trail when a line is broken now and the cursor
8572 placement can seem out by a few pixels also after a rebreak.
8574 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8576 * buffer.C (parseSingleLyXformat2Token): update because minipage
8577 width is now a LyXLength
8579 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8581 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8584 2002-01-17 Juergen Vigna <jug@sad.it>
8586 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8588 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8589 is set correctly and the inset is updated correctly.
8591 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8593 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8594 the beginning of the loop.
8596 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8598 * lyxrc.C: improve help for use_scalable_fonts
8600 2002-01-17 Allan Rae <rae@lyx.org>
8602 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8604 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8606 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8607 make sure to set their inset_owner to the right value (bug #171)
8609 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8612 * DepTable.C: Implement mtime checking to reduce time spent doing
8615 2002-01-16 Juergen Vigna <jug@sad.it>
8617 * tabular.C (GetAdditionalHeight): one of error fixed.
8619 * lyxrc.C (output): small fix in writing use_pspell.
8621 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8623 * sp_base.h: #include LString.h
8625 2002-01-16 Allan Rae <rae@lyx.org>
8627 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8628 Can someone check this please?
8630 * text.C (drawInset): It was possible that p.row would be removed by
8631 breakAgainOneRow upsetting a few other settings. There may be another
8632 small tweak possible by setting need_break_row = 0 when p.row has been
8633 removed but I don't know enough about the logic here.
8635 2002-01-15 Allan Rae <rae@lyx.org>
8637 * text.C (insertChar): removed conditional truism.
8639 * BufferView2.C (removeAutoInsets): More tweaks.
8640 cur_par_prev could be a stray pointer. Check for trailing empty line
8641 in case last line was cur_par and only had an error inset on it.
8643 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8645 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8648 * vc-backend.C (most methods):
8649 * exporter.C (Export):
8650 * converter.C (convert):
8652 * LyXSendto.C (SendtoApplyCB):
8653 * lyxfunc.C (dispatch):
8657 * lyx_cb.C (AutoSave):
8659 * BufferView_pimpl.C (MenuInsertLyXFile):
8660 * buffer.C (runChktex): use Buffer::filePath().
8662 * buffer.h: rename filename to filename_; rename filepath to
8663 filepath_ and make it private
8664 (filePath): new method
8666 * buffer.C (writeFile): use fileName()
8669 * lyx_main.C (init): fix starting of LyX when the binary is a
8670 link from so,ewhere else.
8672 * minibuffer.C: include <cctype> for isprint
8674 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8676 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8677 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8678 name clash with InsetCollapsable's width function.
8680 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8682 * lastfiles.C: include <iterator>
8684 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8686 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8689 * buffer.C (makeLaTeXFile): ditto.
8690 Also make loop operation more transparent.
8692 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8694 * ToolbarDefaults.C: remove trailing comma closing namespace.
8696 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8698 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8701 * trans.C (Load): comment out unused variable, allowed.
8703 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8705 * minibuffer.[Ch] (append_char): new method to recieve input from the
8706 drop-down completion browser. If a key was pressed, then recieve this
8707 char and append it to the existing string.
8708 (peek_event): modify the positioning data passed to the completion
8709 browser so that it can be placed above the minibuffer rather than below.
8710 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8712 * LyXAction.C (init): alloe error-next for readonly documents.
8714 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8717 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8719 * bufferlist.C (readFile): create the buffer _after_ checking that
8722 * lyxfunc.C (verboseDispatch): fix handling of arguments
8724 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8726 * lyxrc.C: use string::erase() instead of initializing to "".
8729 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8731 * BufferView_pimpl.h:
8732 * BufferView_pimpl.C:
8735 * text2.C: tell X when we have made a selection for copying
8737 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8739 * BufferView_pimpl.C (MenuInsertLyXFile):
8740 * lyxfunc.C (menuNew):
8742 (doImport): add shortcuts to directory buttons
8744 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8747 * lyxfunc.C (setStatusMessage):
8748 (getStatusMessage): new methods
8749 (getStatus):use setStatusMessage instead of setErrorMessage
8750 (dispatch): when function is disabled, set error message here
8751 [instead of in getStatus previously]
8753 * BufferView_pimpl.C (workAreaButtonRelease): update
8754 toolbar/menubar here too.
8756 2002-01-13 Allan Rae <rae@lyx.org>
8758 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8759 Now seems indestructible. Remaining task is to audit all other
8760 code affected by deleteEmptyParagraphMechanism. One small quirk
8761 left is that an empty document with an error in the preamble can
8762 be made to report an error but no error box appears. I don't know
8764 (removeAutoInsets): Improved comments.
8766 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8769 * Thesaurus.C: update for Aiksaurus 0.14
8771 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8773 * text2.C (firstParagraph): removed member function, all uses
8774 replaces with ownerParagraph
8775 (redoParagraphs): here
8777 (toggleAppendix): here
8778 * BufferView2.C (insertErrors): here
8779 (setCursorFromRow): here
8781 2002-01-13 Allan Rae <rae@lyx.org>
8783 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8784 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8785 There is still a way to segfault this although you may have to do this
8786 multiple times: Have an InsetERT with an unknown command in it.
8787 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8788 <down-arrow>, <Enter> again, View->DVI, BANG!
8790 * text2.C (setCursor):
8791 (deleteEmptyParagraphMechanism):
8792 * lyxtext.h (setCursor):
8793 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8794 Making use of the return value may help fix other bugs.
8796 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8798 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8800 * LyXView.C (updateMenubar): call MenuBar::update here
8801 (updateToolbar): but not here
8802 (showState): do not update toolbar/menubar
8804 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8805 should need to care about that.
8807 * lyxfunc.C (verboseDispatch): simplify a bit
8808 (getStatus): have a version which takes a pseudoaction, and
8809 another which requires a (kb_action,string).
8811 * LyXAction.C (retrieveActionArg): make it work also when action
8812 is not a pseudo-action.
8813 (getActionName): simplify a bit
8816 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8818 * lyxfunc.C (verboseDispatch): new families of methods with
8819 several ways to specify a command and a bool to indicate whether
8820 the command name and shortcut should be displayed in minibuffer
8821 (eventually, we could extend that to a finer bitmask like
8822 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8823 (dispatch): the pristine dispatch command which just, well,
8824 dispatchs! Note it still sets its result to minibuffer; I'm not
8827 * lyxfunc.h: remove setHintMessage
8829 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8831 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8833 * BufferView_pimpl.C (specialChar): delete new inset if we have
8834 not been able to insert it.
8836 * kbmap.C: revert to using int instead of kb_action, since all we
8837 are dealing with is pseudo-actions.
8839 * LyXAction.C (searchActionArg): change to return int instead of
8840 kb_action, since the result is a pseudoaction.
8842 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8844 * buffer.C (insertErtContents): Fix (partially) the font bug.
8846 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8848 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8849 as the other one is broken on my machine!
8851 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8854 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8856 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8858 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8859 reflect their actual use. Provide compatibility code for older lyxrc
8862 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8864 change names of popup font variables in line with the changes to lyxrc.C
8866 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8868 * buffer.C (asciiParagraph): avoid outputing a word twice after
8871 * lyxrc.C (getDescription): document that document_path and
8872 template_path can be empty.
8874 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8876 * LaTeXFeatures.C (getMacros):
8877 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8879 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8881 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8883 (getPackages): rename feature "floats" to "float". Use an array to
8884 iterate over 'simple' features (i.e. just a \usepackage). Add
8885 handling of "amsmath" (renamed from "amsstyle").
8887 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8889 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8892 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8894 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8895 FuncStaus::FuncStatus & FuncStaus::some_method().
8897 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8899 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8900 of the func_satus stuff. Edited and massaged in various ways by
8903 * lyxfunc.C (getStatus): use FuncStatus
8905 2002-01-08 Juergen Vigna <jug@sad.it>
8907 * text.C (nextBreakPoint): use function Inset::isChar().
8909 * paragraph.C (TeXOnePar): use function
8910 Inset::forceDefaultParagraphs.
8912 * buffer.C (latexParagraphs): use function
8913 Inset::forceDefaultParagraphs.
8915 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8917 * lyx_gui.C (init): set the style of the menu popups to
8918 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8920 2002-01-07 Juergen Vigna <jug@sad.it>
8922 * text.C (setHeightOfRow): small fix
8923 (prepareToPrint): don't look at alignment if we don't have the place
8926 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8928 * box.C: New file. Move the Box methods and functions out of box.h,
8929 following Lars' suggestion.
8931 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8933 * box.h: #include "support/LOstream.h", needed for inlined function.
8936 * lyxtextclasslist.C: added some using std declarations.
8938 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8940 * box.h: make signed dimensions to allow insets wider than
8941 the screen (bug #162)
8943 * BufferView_pimpl.C: add some insetHit debug
8945 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8947 * vc-backend.C: add FIXME
8949 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8951 * lyxfunc.C (getStatus): enable code for showing math font status
8954 2002-01-07 Juergen Vigna <jug@sad.it>
8956 * text.C (nextBreakPoint): removed debug output not needed anymore.
8958 2002-01-06 Juergen Vigna <jug@sad.it>
8960 * text.C (nextBreakPoint): fixed up this function we had this bug
8961 since ever but now hopefully we break row better.
8962 (insertChar): we have to check if an inset is the next char as it
8963 could now happen that a large inset is causing a break.
8965 2002-01-05 Juergen Vigna <jug@sad.it>
8967 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8968 if it doesn't like to be drawed.
8970 2002-01-04 Juergen Vigna <jug@sad.it>
8972 * BufferView2.C (lockInset): forgot to set a cursor.
8974 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8976 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8981 * form_maths_panel.C:
8982 * form_maths_panel.h:
8983 * form_maths_panel.fd: implemented sub- and super- buttons in math
8986 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8987 (or ^ space) to be used as in TeX (req'd by André).
8989 * lyxfunc.C: Allow ^ and _ again to be used both as
8990 super/subscript (mathed) and as themselves (in text).
8992 2002-01-03 Allan Rae <rae@lyx.org>
8994 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8995 "LyX" or the filename of the current buffer if it has one. This is a
8996 modified form of John Levon's patch.
8998 * XFormsView.C (setWindowTitle): also set icon title.
9000 * LyXView.h (setWindowTitle): signature changed.
9001 * XFormsView.h (setWindowTitle): ditto.
9003 2002-01-02 Juergen Vigna <jug@sad.it>
9005 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9007 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9009 * screen.C (topCursorVisible): introduce a temp var for
9010 text->cursor.row(), handle the case where this row is null. (kindo
9013 * text2.C (setCursor): add a couple of asserts.
9015 * paragraph.h (inset_iterator): add -> operator
9017 * paragraph.[Ch] (autoDeleteInsets): remove member function
9019 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9020 cursor pos correctly and handle inset deletion by itself.
9021 (insertErrors): move iterator declaration out of for expression
9023 * lyxtextclass.C: add <algorithm>
9025 * Makefile.am: added the new files to sources, removed layout.C
9027 * layout.C: removed file
9029 * layout.h: remove LYX_DUMMY_LAYOUT
9031 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9035 * lyxtextclass.[Ch]:
9036 * lyxtextclasslist.[Ch]: new files
9038 * include order changes to a lot of files, also changes because of
9041 2001-12-27 Juergen Vigna <jug@sad.it>
9043 * buffer.C (asciiParagraph): more fixes.
9045 * tabular.C (ascii): make ascii export support export of only the
9046 data separated by a column-delimiter.
9047 (ascii): better support for ascii export.
9049 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9051 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9053 * tabular_funcs.C: use a "using std::getline" instead of the
9054 previous fix from Angus (necessary for cxx + lyxstring)
9056 2001-12-24 Juergen Vigna <jug@sad.it>
9058 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9060 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9061 problems. First check a minipage also if we have some ert-contents
9062 (not only on par->size(), second set the right depth of the paragraph
9063 on the relink to the root-paragraph-list!
9065 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9066 which then did not anymore update the main paragraphs on undo/redo!
9068 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9070 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9071 code. Support all font-changing funcs (even those which are not in
9072 menu currently). Support for reporting font settings in
9073 mathed (disabled until Andre provides a function on mathed's side).
9075 * func_status.h (toggle): small helper function to set toggle
9078 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9080 * tabular_funcs.C: getline -> std::getline
9082 2001-12-21 Juergen Vigna <jug@sad.it>
9084 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9085 accessed and could be 0 (I couldn't generate this but it seems
9088 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9090 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9091 * tabular_funcs.h: here and include iosfwd
9093 2001-12-20 Juergen Vigna <jug@sad.it>
9095 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9096 inside inset but undo_par was.
9098 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9100 * Thesaurus.C: always include <config.h> in sources.
9104 * box.h: do not include <config.h> in header files
9106 * text.C (paintLastRow): remove unused variable
9108 * text.C (transformChar):
9110 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9113 * font.C (width): rewrite to use uppercase() instead of
9116 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9118 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9120 * lyxfind.C: clean up of find failure position change
9122 2001-12-20 Juergen Vigna <jug@sad.it>
9124 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9126 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9127 (TeXRow): added to LaTeX a single tabular row.
9128 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9129 (Latex): simplified and finally good LT-h/f support.
9130 (various_functions): just small adaptions for LT-h/f support.
9132 * tabular_funcs.[hC]: added and moved here all not classfunctions
9135 2001-12-19 Juergen Vigna <jug@sad.it>
9137 * tabular.[Ch]: better support for longtabular options (not finished
9140 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9142 * text.C (paintLastRow): use the label font instead of the font of
9143 the last character to compute the size of *_BOX. This makes more
9144 sense and avoids a crash with empty paragraphs.
9145 Use Painter::rectangle to draw EMPTY_BOX.
9147 2001-12-19 Juergen Vigna <jug@sad.it>
9149 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9150 the paragraphs if the replaced paragraph is not the first one!
9151 Tried to delete not used paragraphs but does not work yet so for
9152 now it's inside #ifdef's and by default off!
9154 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9156 * MenuBackend.C: include "lyx_main.h" instead of declaring
9157 lastfiles (actually was declared as LastFiles* instead of a
9160 2001-12-17 Juergen Vigna <jug@sad.it>
9162 * tabular.C (AppendColumn): applied John's fix
9164 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9168 * BufferView_pimpl.h:
9169 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9172 * box.h: new start of class for above
9174 * lyxfunc.C: ignore space-only minibuffer dispatches.
9175 Show the command name when it doesn't exist
9177 * minibuffer.C: don't add empty lines to the history
9179 * minibuffer.C: add a space on dropdown completion
9181 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9183 * text.C: fix line above/below drawing in insets
9185 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9187 * lyxlength.C (LyXLength): Initialize private variables.
9189 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9191 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9192 when inserting error insets.
9194 2001-12-13 Juergen Vigna <jug@sad.it>
9196 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9197 actually sometimes the before-paragraph.
9198 (setUndo): don't clear the redostack if we're not actually undoing!
9200 2001-12-06 Juergen Vigna <jug@sad.it>
9202 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9203 and fixed redoing of main paragraph, so we can use it now ;)
9205 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9207 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9209 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9212 2001-12-13 André Pönitz <poenitz@gmx.net>
9215 * undo_func.C: minor cleanup
9217 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9219 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9220 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9221 font in urw-fonts package which is marked as -urw-fontspecific and
9222 does not work (incidentally, changing the encoding in the
9223 fonts.dir of this package to -adobe-fontspecific fixes the
9226 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9227 is a crash when undoing first paragraph (Juergen, please take a
9228 look). THis does not mean the undo fix is wrong, just that it
9231 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9232 the (Paragraph*) version when needed instead of duplicating the
9235 * text.C (workWidth): use Inset::parOwner to find out where the
9236 inset has been inserted. This is a huge performance gain for large
9237 documents with lots of insets. If Inset::parOwner is not set, fall
9238 back on the brute force method
9240 * paragraph_pimpl.C (insertInset):
9241 * paragraph.C (Paragraph):
9242 (cutIntoMinibuffer): set parOwner of insets when
9243 inserting/removing them
9245 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9247 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9253 * mathed/formulabase.C:
9254 * mathed/math_cursor.[Ch]:
9255 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9258 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9260 * lyxlength.[Ch] (operator!=): new function
9262 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9264 * text.C (workWidth): use Inset::parOwner to find out where the
9265 inset has been inserted. This is a huge performance gain for large
9266 documents with lots of insets. If Inset::parOwner is not set, fall
9267 back on the brute force method
9269 * paragraph_pimpl.C (insertInset):
9270 * paragraph.C (Paragraph):
9271 (cutIntoMinibuffer): set parOwner of insets when
9272 inserting/removing them
9274 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9276 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9278 * tabular-old.C (getTokenValue):
9279 * tabular.C (getTokenValue):
9280 (write_attribute): new versions for LyXLength
9281 (everywhere): adjust the use of widths
9283 * tabular.h: change the type of widths from string to LyXLength
9285 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9287 * paragraph.C: fixed missing line number count when exporting
9288 Environments to LaTeX file
9290 * buffer.C: added informational message for checking line numbers.
9292 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9294 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9295 paragraph, do the 'double space' part, but not the 'empty
9298 * text.C (workWidth): small optimization
9299 (getLengthMarkerHeight): use minimal size for negative lengths.
9301 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9303 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9305 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9307 2001-12-11 André Pönitz <poenitz@gmx.net>
9310 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9312 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9314 * text2.C: keep selection on a setFont()
9316 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9318 * lyx_cb.C: another bv->text misuse, from insert label
9320 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9323 * kbsequence.C: re-instate nmodifier mask
9325 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9327 * lyx_main.h: make lyxGUI private.
9329 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9331 * lyxfind.C: place the cursor correctly on failed search
9333 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9335 * text.C (getLengthMarkerHeight): for small heights, the arrows
9336 are not always on top/bottom of the text
9337 (drawLengthMarker): smaller arrows; take the left margin in
9338 account; draw also vfills.
9340 (paintLastRow): remove special code for vfill and standard spaces,
9341 since everything is handled in drawLengthMarker now.
9343 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9345 * buffer.C (insertErtContents): try to handle font and language
9346 interaction a bit better.g
9348 * ColorHandler.C (updateColor): change the hash to cover the whole
9349 LColor enum, ws cleanup
9350 (getGCLinepars): ditto
9351 (getGCLinepars): only lookup in the linecache once.
9353 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9355 * iterators.C (operator++): Make the iterator more robust
9357 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9359 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9361 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9364 * text.C: better added space drawing
9366 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9369 * BufferView2.C: fix layout combo update on inset unlock
9371 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9373 * Makefile.am: don't compile unused files
9375 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9379 * LyXAction.C: remove old LFUN_LAYOUTNO
9381 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9383 * paragraph_pimpl.h:
9384 * paragraph_pimpl.C: isTextAt() doesn't need font param
9386 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9389 * lyxlex.C: little cleanup
9391 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9393 * BufferView_pimpl.C: fix insertAscii for insets
9395 2001-12-05 Juergen Vigna <jug@sad.it>
9397 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9398 set the right font on the "multi" paragraph paste!
9400 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9406 * lyxlength.C: remove out-commented code.
9422 * vc-backend.C: change "while(" to "while ("
9424 * lyxlength.[Ch]: add zero function to check if length is zero or
9426 * lyxgluelength.C: use it
9428 2001-12-05 Allan Rae <rae@lyx.org>
9430 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9431 Works for 2.95.3, from what I understand of Garst's reports this should
9432 work for other g++ versions. We're screwed if the abs(int) definition
9433 changed between bugfix releases of gcc.
9435 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9437 * text.C: fix chapter label offset !
9439 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9442 * text.C: fix hfill at end of line, clean up
9444 2001-12-04 Juergen Vigna <jug@sad.it>
9446 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9447 that we force an update of the inset and it's owners if neccessary.
9449 2001-12-03 Juergen Vigna <jug@sad.it>
9451 * text.C (rowLast): simplified code
9453 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9455 * lyxfunc.C: fix show options on timeout
9457 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9459 * screen.C (topCursorVisible): scroll half a page when the cursor
9460 reached top of bottom of screen
9462 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9464 * minibuffer.C: deactivate on loss of focus
9466 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9468 * vspace.[Ch] (operator!=): add operator.
9470 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9472 * BufferView_pimpl.C: refuse to open an inset when
9473 there's a selection.
9475 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9477 * BufferView_pimpl.C: allow to click on RHS of full row insets
9479 2001-11-30 Juergen Vigna <jug@sad.it>
9481 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9482 insets for undo reasons.
9484 2001-11-28 André Pönitz <poenitz@gmx.net>
9486 * vspace.[Ch]: cosmetical changes
9488 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9498 * kbsequence.C: part re-write of old kb code
9501 * WorkArea.C: remove Lgb_bug_find_hack
9503 2001-11-30 José Matos <jamatos@fep.up.pt>
9505 * buffer.C (makeDocBookFile): add a comment to point a hack.
9506 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9507 Fixed a double write of labels.
9509 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9512 * LaTeX.h Fixed bug in LaTeX class where it would not
9513 re-run latex if no depfiles were changed, but the .dvi was removed.
9515 2001-11-28 André Pönitz <poenitz@gmx.net>
9517 * all the files from the change on 2001/11/26:
9518 use lyx::layout_type instead of LyXTextClass::size_type
9519 use lyx::textclass_type instead of LyXTextClassList::size_type
9521 2001-11-29 Juergen Vigna <jug@sad.it>
9523 * text.C: added support for paragraph::isFreeSpacing()
9525 * buffer.C: same as above
9527 * paragraph.h: inserted isFreeSpacing() function to enable
9528 FreeSpacing inside InsetERT.
9530 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9531 of the paragraph's in the cut/copy buffer to 0!
9533 * text2.C (removeRow): remove the assert as it can!
9535 * lyxtext.h: added helper function firstRow returning firstrow and
9536 made firstrow private again.
9538 * BufferView2.C (lockInset): don't relock if we're already locked!
9540 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9542 (removeRow): added Assert::(firstrow)
9544 * debug.C: forgot to add INSETTEXT here.
9546 2001-11-28 Juergen Vigna <jug@sad.it>
9548 * sp_spell.C (initialize): changed error text to more general
9549 spellchecker command use (not only ispell!)
9551 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9553 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9555 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9557 * vspace.C: initialise lyxgluelength on failure
9559 2001-11-28 Allan Rae <rae@lyx.org>
9561 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9562 declaration & definition that looks like a function declaration.
9564 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9566 * BufferView2.C (copy):
9567 (copyEnvironment): do not clear the selection when doing a copy.
9569 * text.C (paintFirstRow): compilation fix
9571 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9573 * tabular.C (Latex): correct line count when writing latex.
9575 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9577 * paragraph_pimpl.h:
9578 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9581 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9585 * LColor.C: change vfillline->added_space
9587 * text.C: add markers and text for added space
9589 * vspace.C: fix comment
9591 2001-11-28 André Pönitz <poenitz@gmx.net>
9593 * paragraph.C: whitespace changes
9594 * all the other files from the change on 2001/11/26:
9595 change *::pos_type into lyx::pos_type
9597 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9599 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9600 language of the document when inserting error insets.
9602 2001-11-26 André Pönitz <poenitz@gmx.net>
9604 * BufferView_pimpl.[Ch]:
9612 * paragraph_pimpl.[Ch]:
9615 * text2.C: reduce header dependencies, introduce type for positions
9617 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9619 * <various>: change to use Alert.h
9621 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9623 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9624 when encountering an unknown token.
9625 (readLyXformat2): Show an error message if there were unknown tokens.
9627 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9630 * BufferView_pimpl.C:
9634 * text2.C: use par->isInset()
9636 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9638 * paragraph_pimpl.h:
9639 * paragraph_pimpl.C: cleanup
9641 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9643 * text2.C (removeRow):
9644 * text.C (setHeightOfRow): remove useless (and costly) call to
9647 2001-11-20 Allan Rae <rae@lyx.org>
9649 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9650 Now need Inset*::checkInsertChar() to return true for appropriate
9651 cases so that the characters in the minibuffer will actually be
9654 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9656 * text.C: change the order of the includes.
9657 (workWidth): initialize it at once.
9658 (workWidth): make maxw unsigned
9659 (setHeightOfRow): remove unused variable (inset)
9660 (selectSelectedWord): remove unused variable (inset)
9661 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9663 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9665 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9666 server is not running.
9668 (closeConnection): add debug info when server is disabled.
9670 * ColorHandler.C (getGCForeground): send debug message to GUI
9673 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9675 * kbmap.C (bind): modify because return conventions of
9676 kb_sequence::parse have changed.
9678 * kbsequence.C (parse): only ignore spaces and not any stupid
9679 control character. This avoids tests like s[i] <= ' ', which are
9680 guaranteed to fail with 8bit characters and signed chars.
9681 Change return code to string::npos when there have been no error
9682 (0 was a bad idea when error is at first character)
9684 2001-11-14 José Matos <jamatos@fep.up.pt>
9687 * buffer.C (simpleDocBookOnePar): removed unused argument.
9689 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9691 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9692 insets which are part of a word. Paragraph::isLetter takes care of
9693 that now. Use Paragraph::isInset to identify insets.
9694 (selectSelectedWord): do not test for hyphenation break.
9696 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9697 that protected spaces are considered as spaces.
9699 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9702 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9705 * lyxserver.C: fix it. and small cleanup.
9707 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9709 * BufferView_pimpl.C: use inline helpers
9712 * LaTeXFeatures.C: fix typos
9715 * Spacing.C: move spacing_string into class
9717 * ToolbarDefaults.C: move stuff into namespace anon
9719 * layout.h: update enum
9721 * lyxfunc.C: use better debug
9723 * minibuffer.h: fix typo
9727 * WorkArea.C: add and use Debug::WORKAREA
9731 * text2.C: code re-organisation, inline helpers
9733 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9735 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9736 std::vector.empty().
9738 2001-11-09 Allan Rae <rae@lyx.org>
9740 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9741 '\n's after tables. Tabular and ERT inset work now makes this no
9744 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9747 * minibuffer.C: fix crash, improve drop-down completion
9749 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9752 * lyxserver.C: invalidate fd's when doing endPipe()
9754 2001-11-08 José Matos <jamatos@fep.up.pt>
9756 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9757 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9760 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9762 2001-11-07 José Matos <jamatos@fep.up.pt>
9765 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9768 * buffer.C (sgmlOpenTag):
9769 * buffer.C (sgmlCloseTag): removed debug info.
9771 * buffer.h (sgmlOpenTag):
9772 * buffer.h (sgmlCloseTag): made public.
9774 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9776 * buffer.C (saveParamsAsDefaults):
9777 * lyx_cb.C (MenuLayoutSave): remove
9779 * LyXAction.C (init):
9781 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9783 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9785 * buffer.C (setPaperStuff): removed from here...
9787 * bufferparams.C (setPaperStuff): ... and moved there.
9789 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9793 * XFormsView.C: add support for drop-down completion
9795 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9797 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9800 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9802 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9805 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9807 * lyx_main.C: change ref to known bugs
9809 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9811 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9812 to work around older babel problems.
9814 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9816 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9818 2001-10-24 Juergen Vigna <jug@sad.it>
9820 * tabular-old.C (ReadOld): below variable changes reflected.
9822 * tabular.[Ch]: added ltType struct for longtable header/footer
9823 defines and changed all instances where they are used. Added
9824 future support for double top/bottom rows.
9826 2001-10-24 José Matos <jamatos@fep.up.pt>
9828 * buffer.h (docbookHandleCaption):
9829 * buffer.C (docbookHandleCaption): removed unused function.
9830 (makeDocBookFile): moved docbook supported version to v4.1.
9832 2001-10-24 José Matos <jamatos@fep.up.pt>
9835 * tabular.C (docbookRow): new function to export docbook code of a row.
9836 (DocBook): now honors the longtable flags.
9838 2001-10-23 José Matos <jamatos@fep.up.pt>
9841 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9842 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9844 * buffer.C (makeLinuxDocFile):
9845 (makeDocBookFile): reworked the preamble, more clean, and with
9846 support for lyx defined entities. Changed the document declaration
9847 to be more XML friendly.
9849 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9850 if we need to output XML that should be done with a filter.
9852 2001-10-22 Juergen Vigna <jug@sad.it>
9854 * sp_pspell.h (class PSpell): add alive function needed in the
9855 controller to see if the spellchecker could be started.
9857 2001-10-22 Juergen Vigna <jug@sad.it>
9859 * buffer.C (insertStringAsLines): modify the font for inserting
9860 chars in certain conditions by calling checkInsertChar(font).
9862 2001-10-19 Juergen Vigna <jug@sad.it>
9864 * text.C (workWidth): use getRow instead of wrong algorithm.
9865 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9867 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9872 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9874 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9876 * text.C (workWidth): do not search for the exact row when
9877 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9878 optimization for big documents.
9880 2001-10-18 Juergen Vigna <jug@sad.it>
9882 * text.C (workWidth): new function with added Inset * parameter.
9884 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9886 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9888 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9889 change return type of getColumnNearX.
9892 * text.C (changeRegionCase): use uppercase/lowercase instead of
9895 (rightMargin): simplify code by factoring out the uses of
9900 (appendParagraph): use Paragraph::size_type
9902 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9904 * vspace.C (asLatexString): add a missing break
9906 2001-10-15 Herbert Voss <voss@perce.de>
9908 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9910 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9912 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9915 2001-10-10 André Pönitz <poenitz@gmx.net>
9917 * lyxfunc.C: removed greek_kb_flag.
9919 2001-10-10 Herbert Voss <voss@perce.de>
9921 * lyx_main.C: delete global string help_lyxdir.
9923 2001-10-09 Herbert Voss <voss@perce.de>
9925 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9927 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9929 * lyx_main.C: added global string help_lyxdir.
9931 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9933 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9935 * lyxrc.C (set_font_norm_type): support iso8859-4
9937 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9939 * LaTeX.C (deplog): add another regex for MikTeX
9941 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9943 * lyxrc.C (set_font_norm_type): support iso8859-3
9945 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9947 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9949 * LaTeXFeatures.C: remove special case of french and index
9951 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9952 before \begin{document}). This solves several incompatibilities.
9954 2001-10-03 Garst Reese <reese@isn.net>
9956 * lyx_cb.C: change CheckTex error msg.
9958 2001-10-03 José Matos <jamatos@fep.up.pt>
9960 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9962 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9964 * .cvsignore: update
9966 * lyx_main.C (commandLineVersionInfo): use new style version info.
9968 * buffer.C (writeFile):
9971 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9973 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9975 * version.h: update to use stuff in version.C
9977 * version.C.in: new file. Contains version information determined
9978 at compile time. This is a merging of version.h and
9981 2001-10-03 Juergen Vigna <jug@sad.it>
9983 * BufferView_pimpl.C (update): don't change "dirty" status in
9986 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9988 * WorkArea.C (c-tor): re-position version string slightly.
9990 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9992 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9993 revert to previous code.
9995 WorkArea.[Ch]: (show, destroySplash): methods removed.
9997 WorkArea.C: rework code so that it's an amalgam of the codes before and
9998 after the splash screen was moved to WorkArea.
10000 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10003 * vspace.C (inPixels):
10006 * buffer.C (insertStringAsLines):
10007 (asciiParagraph): fix types to be large enough
10009 * lyxlex_pimpl.h: change member status from short to int
10011 * layout.h: fix type of endlabeltype
10014 * kbsequence.C (parse): change return type to string::size_type
10016 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10019 * Bullet.C (bulletSize):
10020 (bulletEntry): do not use short ints as parameters
10022 * BufferView2.C (insertLyXFile): change a char to an int.
10024 * WorkArea.C (WorkArea): remove unneeded floats in computation
10026 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10028 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10030 * paragraph.C (asString): Do not ignore newline/hfill chars when
10031 copying to the clipboard.
10033 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10035 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10036 after a multi-line inset.
10038 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10040 * paragraph.C (validate): Set NeedLyXFootnoteCode
10042 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10044 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10045 and decrease-error to decrease.
10047 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10049 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10050 it more readable (should be equivalent)
10052 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10054 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10056 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10058 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10059 of a cursor (row, etc.) after a character has been deleted
10060 (deleteEmptyParagraphMechanism): call the method above on _all_
10061 cursors held by the LyXText when a double space has been
10064 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10066 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10068 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10070 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10071 background. Use greyOut() and the new show() methods to toggle between
10072 the foreground and background. Add code to remove the splash after
10073 its initial showing.
10075 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10076 (create_forms): no longer call Dialogs::showSplash.
10078 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10080 * .cvsignore: add version_info.h
10082 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10084 * version_info.h.in: new file
10086 * Makefile.am: add version_info.h.in
10088 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10089 version_info.h instead of VERSION_INFO
10091 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10093 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10094 The ERT inset now returns string().
10096 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10098 * lyxtext.h, text.C (selectNextWord): renamed as
10099 selectNextWordToSpellcheck.
10101 * text.C (selectNextWordToSpellcheck): Modified to not select
10102 words inside an ERT inset.
10104 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10106 * lyx_cb.C (MenuLayoutSave): change a bit the question
10108 * sp_base.h: include <sys/types.h>
10110 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10112 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10114 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10116 * several files: fix typos in user-visible strings
10118 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10120 * text2.C (pasteSelection): do not set the selection, since it
10121 will be cleared later. Actually, the intent was to fix the way the
10122 selection was set, but I figured rmoving the code was just as good.
10124 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10126 * FontLoader.C (available): Check if font is available without
10129 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10131 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10133 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10135 * lyxrc.[Ch]: added display_graphics variable and associated code.
10137 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10139 * bufferparams.C (hasClassDefaults): new method. Returns true if
10140 the buffer parameters correspond to known class defaults
10142 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10144 * XFormsView.C (show): set minimum size to the main window.
10146 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10148 * text2.C (copySelection):
10150 * lyxfind.C (LyXReplace):
10151 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10152 LyXText::selectionAsString.
10154 * paragraph.C (asString): add "label" argument to the second form
10156 * text2.C (selectionAsString): add "label" argument and pass it to
10157 Paragraph::asString.
10159 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10161 * lyx_main.C (commandLineHelp): remove version information
10163 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10165 * lyx_main.C: add -version commandline option
10167 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10169 * paragraph.h: make the optional constructor arg required instead.
10170 some modifications to other files because of this.
10172 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10174 * lyxserver.C (C_LyXComm_callback): make it static
10176 * lyx_main.C (error_handler): make it static
10178 * lyx_gui.C (LyX_XErrHandler): make it static
10180 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10182 * WorkArea.C: make the extern "C" methods static.
10184 * Makefile.am (lyx_LDADD): simplify
10186 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10188 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10189 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10191 * LyXAction.C (init):
10192 * lyxfunc.C (dispatch): associated code removal.
10194 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10196 * lyxfont.h (isSymbolFont): shut off warning
10198 * text.C (setHeightOfRow):
10199 (getVisibleRow): fix crash with empty paragraphs which have a
10202 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10204 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10207 2001-09-04 José Matos <jamatos@fep.up.pt>
10210 * tabular.C (docbook): rename docBook method to docbook.
10212 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10214 * Makefile.am: add dependencies to main.o.
10216 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10218 * FontLoader.C (available): Return false if !lyxrc.use_gui
10220 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10222 * FontInfo.C (query):
10223 * converter.C (view):
10224 * importer.C (Import):
10225 * exporter.C (Export): Can not -> cannot.
10227 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10229 * BufferView_pimpl.C: allow to create index inset even if
10232 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10234 * buffer.C (getLists): replace boost::tie code with an explicit pair
10235 as boost::tie can break some compilers.
10237 * iterators.h: Added a std:: declaration to the return type of
10240 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10242 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10245 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10247 * iterators.[Ch]: New files. Provide paragraph iterators.
10249 * buffer.C (changeLanguage): Use paragraph iterators.
10250 (isMultiLingual): ditto
10252 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10254 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10256 * FontLoader.C: Support for cmr font.
10258 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10260 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10261 (available): New method.
10263 * FontInfo.C (getFontname): Use scalable fonts even when
10264 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10267 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10269 * converter.C (Formats::view): reverted! Incorrect fix.
10271 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10273 * converter.C (Formats::view): only output the -paper option
10274 if the dvi viewer is xdvi, thereby fixing bug #233429.
10276 2001-08-23 Herbert Voss <voss@perce>
10278 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10280 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10282 * Spacing.h (Spacing): Set space to Default on in the default
10285 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10287 * vc-backend.h (RCS::versionString): add RCS to version
10288 (CVS::versionString): add CVS to version
10290 * vc-backend.C (scanMaster): do not add CVS to version.
10291 (scanMaster): do not add RCS to version
10293 * lyxvc.C (versionString): new method
10295 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10297 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10299 * Spacing.C (set): initialize fval
10301 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10303 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10306 2001-08-16 Juergen Vigna <jug@sad.it>
10308 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10310 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10312 * BufferView_pimpl.C:
10315 * text2.C: setParagraph takes linespacing now
10317 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10319 * LyxAction.C: add internal LFUN_CITATION_INSERT
10321 * LyXView.C: actually apply fix
10323 * bufferlist.C: fix open non-existent file
10325 * lyxfind.C: fix indentation
10327 * lyxfunc.C: remove unneeded assert, fix typo
10329 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10331 * MenuBackend.C: use "Floatname List"
10333 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10335 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10336 when converting LaTeX layout to insetERT.
10337 Generate a non-collapsed float when reading old float
10339 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10341 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10344 2001-08-13 Juergen Vigna <jug@sad.it>
10346 * text.C (fill): return 0 instead of 20 as this seems to be the more
10349 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10351 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10354 2001-08-13 Juergen Vigna <jug@sad.it>
10356 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10358 (SearchBackward): comment out the unlocking of the inset_owner this
10359 should not be needed!
10361 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10363 * Many files: Remove inherit_language, and add latex_language
10365 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10366 collapsible insets.
10368 2001-08-10 Juergen Vigna <jug@sad.it>
10370 * text.C (prepareToPrint): fixed hfill-width in draw!
10372 * BufferView2.C (selectLastWord): save the selection cursor as this
10373 now is cleared in the function LyXText::clearSelection!
10375 2001-08-08 Juergen Vigna <jug@sad.it>
10377 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10378 BACKSPACE type functions.
10380 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10381 is only cutted from the document but not put in the cut-buffer, where
10382 still the old stuff should be.
10384 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10386 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10388 * tabular.C (SetWidthOfCell): fixed special case where the width
10390 (LeftLine): handle '|' in align_special.
10392 (LeftAlreadyDrawed): ditto
10393 (SetWidthOfCell): ditto
10395 2001-08-07 Juergen Vigna <jug@sad.it>
10397 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10399 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10401 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10402 * lyxlex.[hC]: ditto
10404 2001-08-06 Juergen Vigna <jug@sad.it>
10406 * text.C (getVisibleRow): fix up row clearing a bit.
10408 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10410 * minibuffer.C: make sure the X server sees the changes in the input.
10412 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10414 * paragraph.C (getFont): split into...
10415 (getLabelFont): this
10416 (getLayoutFont): and this
10417 * paragraph_pimpl.C (realizeFont): calling this
10419 * text2.C (getFont): split into...
10420 (getLayoutFont): this
10421 (getLabelFont): and this
10422 (realizeFont): all three calling this
10424 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10427 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10429 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10431 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10433 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10434 layouts from the Quote inset insertion.
10436 2001-08-03 Juergen Vigna <jug@sad.it>
10438 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10440 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10441 only if status not is already CHANGED_IN_DRAW (second level).
10443 * text.C (draw): don't set the need_break_row when inside an
10446 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10448 * buffer.C (parseSingleLyXformat2Token): handle more latex
10451 * bufferview_funcs.[hC]: change function names to
10452 begin with small char, adjust other files.
10454 2001-08-02 André Pönitz <poenitz@gmx.net>
10457 BufferView_pimpl.C: remove broken special code for math-greek
10459 2001-08-02 Juergen Vigna <jug@sad.it>
10461 * BufferView_pimpl.C (update): redone this function so that we
10462 update the text again if there was a CHANGE_IN_DRAW.
10464 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10465 (drawFromTo): added a new internal bool which is used by draw() and
10467 (general): some cursor drawing problems fixed.
10469 2001-08-01 Juergen Vigna <jug@sad.it>
10471 * lyxfind.C (LyXFind): fixed
10472 (SearchForward): ditto
10473 (SearchBackward): ditto
10475 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10476 spurius drawing of the cursor in the main area.
10478 * text2.C (status): small fix which could lead to a segfault!
10479 (clearSelection): remove unneeded BufferView param.
10481 2001-08-01 André Pönitz <poenitz@gmx.net>
10483 * lyxfunc.C: small change due to changed mathed interface
10485 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10487 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10489 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10491 * lyxfunc.c: fail gracefully if file doesn't exist
10496 * BufferView_pimpl.C: IsDirWriteable() proto changed
10498 * LyXView.C: fix updateWindowTitle() to store the last title
10500 2001-07-31 Juergen Vigna <jug@sad.it>
10502 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10503 the font (wrong since using of Paragraph::highestFontInRange).
10505 * paragraph.C (highestFontInRange): added a default_size parameter.
10507 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10508 (setHeightOfRow): reformat
10510 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10512 * converter.[hC] + affected files: move to (inital-char)lowercase
10515 * ParagraphParameters.C (ParagraphParameters): remove commented code
10517 * PainterBase.[Ch]: remove commented code
10519 * LaTeXFeatures.h: add "bool floats" for float.sty
10521 * LaTeXFeatures.C (LaTeXFeatures): init floats
10522 (require): handle float
10523 (getPackages): do it with floats
10525 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10527 * BufferView_pimpl.C (Dispatch): improve handling of
10528 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10530 * commandtags.h: #include lyxfont.h here temporarily to avoid
10533 * bufferlist.h: include LString.h here.
10535 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10537 * text2.C (getStringToIndex): new method.
10539 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10541 * *: Reduced header file dependencies all over.
10543 2001-07-30 Baruch Even <baruch@lyx.org>
10545 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10547 2001-07-29 Baruch Even <baruch@lyx.org>
10549 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10551 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10553 * ParameterStruct.h (endif): add a default constructor to make
10554 sure that all variables is initialized.
10556 * ParagraphParameters.C (ParagraphParameters): adjust
10558 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10560 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10561 index; also, check that there is something to index, and that it
10562 does not span over several paragraphs.
10563 (doubleClick): use WHOLE_WORD_STRICT for double click.
10565 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10567 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10570 2001-07-26 Baruch Even <baruch@lyx.org>
10572 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10573 an InsetFig figure, backwards compatible reading of old figure code.
10575 2001-07-27 Juergen Vigna <jug@sad.it>
10577 * text2.C: font.realize function adaption.
10579 * text.C (draw): add a warnings lyxerr text if needed.
10581 * layout.C: font.realize function adaption.
10583 * language.C: add inherit_language and implement it's handlings
10585 * bufferview_funcs.C (StyleReset): remove language parameter from
10586 font creation (should be language_inherit now).
10588 * bufferparams.C (writeFile): handle ignore_language.
10590 * paragraph.C (getFontSettings): the language has to be resolved
10591 otherwise we have problems in LyXFont!
10593 * lyxfont.C (lyxWriteChanges): added document_language parameter
10594 (update): removed unneeded language parameter
10596 * paragraph.C (validate): fixed wrong output of color-package when
10597 using interface colors for certain fonts in certain environments,
10598 which should not seen as that on the final output.
10600 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10602 * BufferView_pimpl.C:
10607 * LyXAction.C: add thesaurus support
10610 * lyxfind.C: add "once" parameter, for thesaurus, to not
10611 move to the next match
10613 2001-07-26 Juergen Vigna <jug@sad.it>
10615 * lyxfont.C (realize): honor ignore_language too!
10618 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10620 * text.C (draw): one place more for ignore_language to not draw
10623 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10625 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10627 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10629 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10630 the minipage conversion problem.
10632 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10634 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10637 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10639 * BufferView.h: don't forward declare WorkArea
10641 * BufferView.C: don't include WorkArea.h
10643 2001-07-25 André Pönitz <poenitz@gmx.net>
10647 * lyxfunc.C: new LFUN 'math-space'
10649 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10651 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10653 * text2.C (toggleInset): call open/close
10655 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10657 * lyxfunc.C (dispatch): add debug for the disabled case
10659 * font.C (buttonText): make similar to rectText
10661 * buffer.C (readInset): comment out parsing of insetlist and
10664 * PainterBase.C (rectText): small correction
10666 * BufferView_pimpl.C: comment out insettheorem and insetlist
10667 * LyXAction.C: ditto
10668 * commandtags.h: ditto
10670 2001-07-24 Juergen Vigna <jug@sad.it>
10672 * text.C (draw): honor the ignore_language.
10674 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10676 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10678 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10681 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10683 * lyxtext.h: remove unused (and unimplemented) methods
10685 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10687 * text.C (getVisibleRow): honor background color
10690 * Painter.h: remove default color argument for fillRectangle
10692 * text.C (backgroundColor): new method
10694 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10696 * text.C (getVisibleRow): adjust
10698 * font.[Ch] (rectText): new method, metrics
10699 (buttonText): new method, metrics
10701 * PainterBase.[hC]: make rectText and buttonText always draw and take
10704 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10706 * ToolbarDefaults.C (read):
10707 * MenuBackend.C (read): allow escaping in all strings
10709 * BufferView_pimpl.C (insertAndEditInset): new method.
10710 (Dispatch): use insertAndEditInset whenever appropriate.
10712 * BufferView_pimpl.C (insertNote): removed
10714 * BufferView_pimpl.C (smartQuote): new method, moved from
10715 BufferView; if an insetquote cannot be inserted, insert a '"'
10718 * BufferView2.C: remove insertCorrectQuote();
10720 * lyxfunc.C (getStatus): Add support for all remaingin
10721 inset-insert lfuns.
10723 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10725 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10726 command (necessary to pass " as parameter of self-insert.
10728 * text.C (selectWordWhenUnderCursor):
10729 (selectWord): add word_location parameter
10730 (selectWordWhenUnderCursor): same + remove special code for word
10732 (selectNextWord): use kind() to guess type of insetspecialchar,
10735 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10736 (insertErtContents): create ert insets as collapsed.
10737 (readInset): better compatibility code for Info inset.
10739 2001-07-20 Juergen Vigna <jug@sad.it>
10741 * lyxfunc.C (dispatch): use always LyXFind now!
10743 * text2.C (init): add a reinit flag so that the LyXText can be
10744 reinited instead of deleted and reallocated (used in InsetText).
10746 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10752 2001-07-18 Juergen Vigna <jug@sad.it>
10754 * text.C (selectNextWord): handle insets inside inset by calling
10755 always the bv->text functions so that we can go up the_locking_inset!
10757 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10758 in strange locations when inside an inset!
10760 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10761 handling to include insets.
10763 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10765 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10767 * LyXAction.C (init):
10769 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10770 LIGATURE_BREAK, since the name is so stupid.
10772 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10774 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10777 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10779 * sp_form.[Ch]: remove.
10781 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10783 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10786 * src/buffer.C (readInset): ditto.
10788 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10790 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10791 menuSeparator(), endOfSentenceDot(), ldots() and
10792 hyphenationPoint(), which are therefore removed.
10793 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10795 * LyXAction.C (init):
10796 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10798 * paragraph.C (getWord): removed.
10800 * BufferView_pimpl.C (Dispatch): use last word or selection for
10801 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10803 * lyx_main.C (queryUserLyXDir): do not ask before creating
10804 user_dir, except if it has been named explicitely.
10806 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10808 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10809 a document of zero size.
10811 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10813 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10814 approriately in the c-tor and in require().
10815 (getPackages): output the appropriate LaTeX for natbib support.
10817 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10818 variables "use_natbib" and "use_numerical_citations" when reading the
10820 (readInset): read the various natbib cite commands.
10821 (validate): white-space change.
10823 * bufferparams.[Ch]: new variables "bool use_natbib" and
10824 "bool use_numerical_citations".
10825 (writeFile): output them in the LyX file.
10827 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10829 * lyxfunc.C (getStatus): add support for all the inset insertion
10832 * text2.C (insertInset):
10833 * paragraph.C (insetAllowed):
10834 * BufferView_pimpl.C (insertInset): update to take in account the
10835 renaming of insertInsetAllowed
10837 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10839 * text2.C (getInset): new method. returns inset at cursor position.
10841 * BufferView_pimpl.C (Dispatch): changes because of this.
10843 * LyXAction.C (init): rename open-stuff to inset-toggle.
10845 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10847 * text2.C (toggleInset): renamed from openStuff; use
10850 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10852 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10854 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10856 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10858 * buffer.C (readLyXformat2): Add filename to the error dialog
10860 2001-07-18 Juergen Vigna <jug@sad.it>
10862 * tabular.C (GetCellNumber): put an assert here instead of the check!
10864 2001-07-17 Juergen Vigna <jug@sad.it>
10866 * BufferView_pimpl.C (toggleSelection): adapted too.
10868 * text.C (selectNextWord): adapted for use with insets.
10869 (selectSelectedWord): ditto
10871 2001-07-17 Juergen Vigna <jug@sad.it>
10873 * sp_spell.C (PSpell): fix initialitation order.
10875 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10877 * paragraph.C: spacing
10879 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10881 * sp_spell.C: repair language selection for pspell
10883 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10885 * lyxfunc.h: change more methods to begin with lower char.
10887 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10889 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10890 for unknown layouts.
10892 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10894 * buffer.C (readLyXformat2): Generate an error dialog if there are
10897 2001-07-16 Juergen Vigna <jug@sad.it>
10899 * sp_spell.C: always compile ISpell part.
10901 * lyxrc.C: added use_pspell entry and it's handling.
10903 2001-07-13 Juergen Vigna <jug@sad.it>
10905 * sp_spell.C: removed double includes.
10907 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10909 Consistent use of Lsstream.h:
10910 * Lsstream.h: added using std::stringstream for consistencies sake.
10912 * buffer.C: removed using std::stringstream
10914 * lyxfont.C (stateText):
10915 * paragraph.C (asString):
10916 * text.C (selectNextWord, selectSelectedWord):
10917 * text2.C (setCounter):
10918 * vspace.C (asString, asLatexString):
10919 std::ostringstream -> ostringstream.
10921 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10923 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10924 * commandtags.h: add LFUN_HELP_ABOUTLYX
10925 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10927 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10929 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10931 * lyx_gui_misc.C: remove spellchecker
10932 * lyxfunc.C: showSpellchecker
10934 * sp_ispell.h: added
10935 * sp_pspell.h: added
10936 * sp_spell.C: added
10937 * sp_form.[Ch]: removed
10938 * spellchecker.[Ch]: removed
10940 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10942 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10944 (simpleTeXSpecialChars): Simply print the input character without
10945 any special translation if pass_thru is set.
10947 * layout.h: Added bool pass_thru to layout class for being able to
10948 implement pass through of a paragraph for Literate Programming.
10950 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10951 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10952 * layout.C (Read): add "passthru" to list of layout tags and add
10953 code to set the pass_thru boolean when it is read.
10955 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10957 * trans_decl.h: remove allowed from KmodInfo
10959 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10960 remove allowed code
10963 * paragraph_pimpl.C (erase): use boost::prior
10965 * Painter.C (text): use data() instead of c_str() when length is
10967 * WorkArea.C (putClipboard): ditto
10968 * font.h (width): ditto
10970 * BufferView2.C: use it-> instead of (*it). for iterators
10972 * paragraph_pimpl.C: ditto
10973 * paragraph.C: ditto
10974 * minibuffer.C: ditto
10975 * language.C: ditto
10977 * encoding.C: ditto
10978 * counters.C: ditto
10979 * converter.C: ditto
10981 * Variables.C: ditto
10982 * TextCache.C: ditto
10983 * MenuBackend.C: ditto
10984 * LyXAction.C: ditto
10986 * FloatList.C: ditto
10987 * DepTable.C: ditto
10988 * ColorHandler.C (LyXColorHandler): ditto
10990 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10992 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10994 * text2.C (openStuff): reintroduce this method (which had been
10995 nuked in NEW_INSETS frenzy).
10997 * lyxfunc.C (Dispatch): when an action has not been handled, use
10998 its name in the error message, not its number.
11000 * paragraph.C (inInset): change method name to begin with lowercase.
11003 * text2.C: updates because of this.
11005 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11007 * ToolbarDefaults.C (add): add spaces in error message
11009 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11011 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11012 (readLyXformat2): rename return_par to first_par, use lyxlex's
11013 pushToken and remove the manual push handling.
11014 (parseSingleLyXformat2Token): add another ert comp. variable:
11015 in_tabular, rename return_par to first_par. handle newlines better
11017 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11019 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11021 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11023 * text2.C (getParFromID): removed
11025 * buffer.C (getParFromID): new method moved form lyxtext.
11026 * BufferView2.C (insertErrors): adjust
11027 (setCursorFromRow): adjust
11028 * BufferView_pimpl.C (restorePosition): adjust
11029 * lyxfunc.C (Dispatch): adjust
11030 * undo_funcs.C (textUndo): adjust
11032 (textHandleUndo): adjust
11033 (textHandleUndo): adjust
11035 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11037 * buffer.C: up' the LYX_FORMAT
11039 * lyxfont.h: turn NO_LATEX on as default
11041 * buffer.C (insertErtContents): new methods of tex style compability.
11042 (parseSingleLyXformat2Token): use it several places.
11043 * tabular.C (OldFormatRead): and here
11045 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11047 * text2.C: remove some commented code.
11050 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11051 * trans.C: changes because of the above.
11053 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11055 * text2.C (setCounter): Fix counters bug with bibliography layout.
11057 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11059 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11060 own member functions
11061 (simpleTeXSpecialChars): ditto
11063 2001-07-06 Juergen Vigna <jug@sad.it>
11065 * a lot of files: changed the access to LyXText::status and the
11066 call of undo-functions.
11068 * undo.[Ch]: added a inset_id to the undo informations.
11070 * undo_funcs.[Ch]: added and moved here all undo functions.
11072 * lyxtext.h: give the status enum a weight, made status_ a private
11073 variable and made accessor functions for it, removed the whole bunch
11074 of undo-functions as they are now in their own file, make some
11075 functions publically available. Added function ownerParagraph with
11078 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11079 made InInset() a const function, added getParFromID() function.
11081 * buffer.[Ch]: added const version for inset_iterator functions,
11082 added getInsetFromID() function.
11084 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11085 changed undo functions for new version.
11087 2001-07-05 Juergen Vigna <jug@sad.it>
11089 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11090 unknow mechanism does not call the proper constructor but only this
11091 one also if I request the other!?
11093 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11095 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11097 * text2.C (LyXText): use initialization lists.
11099 * lyxtext.h (Selection): initialize set_ and mark_
11100 (init): remove method
11102 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11104 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11106 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11108 * screen.[Ch]: change method names to begin with lowercase
11110 * BufferView_pimpl.C (updateScrollbar): simplify further and
11111 hopefully make it a bit faster.
11113 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11115 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11116 calling directly xforms functions.
11118 * Painter.C (Painter):
11119 * lyx_cb.C (MenuWrite):
11120 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11123 * lyx_gui.C: remove bogus guiruntime extern declaration.
11125 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11129 (redoDrawingOfParagraph): ditto
11130 (redoParagraphs): ditto
11131 (cutSelection): don't create a object for CutAndPaste use the
11132 static method directly
11133 (pasteSelection): ditto
11135 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11138 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11140 * modifications to some other files because of this.
11142 * Makefile.am (lyx_SOURCES): add XFormsView
11144 * XFormsView.[Ch]: new files
11146 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11147 the main window. Move the gui dependent stuff to XFormsView
11149 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11151 * tabular.C (GetCellInset): update cur_cell also in the row/col
11152 version of this function.
11154 * lyxfunc.C: no need to include figure_form.h here.
11160 * lyxvc.C: no need to include forms.h here.
11162 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11164 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11166 * lyxfunc.C (Dispatch):
11168 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11169 constructor argument.
11171 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11173 * paragraph.C (Paragraph): dont't clear, and just set layout.
11174 (makeSameLayout): use params's copy contructor.
11176 * ParagraphParameters.[Ch] (makeSame): delete method
11178 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11180 * Variables.[Ch]: fix indentation, rename set to isSet
11182 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11184 * lyxfunc.C (Dispatch): fix typo
11186 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11188 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11191 * bufferlist.C: include assert.h for emergencyWrite().
11193 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11195 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11196 give up at last (bug #425202) !
11198 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11204 * spellchecker.C: strip spellchecker options and bring up
11205 preferences tab instead
11207 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11209 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11210 the istringstream constructor
11212 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11214 * paragraph.C (getLayout): fix return value
11216 * paragraph.h: do not declare getLayout as inline.
11218 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11220 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11222 * lyxcursor.h (operator<): new func
11223 (operator>): new func
11224 (operator>=): new func
11225 (operator<=): new func
11227 * text.C (changeCase): use selection.start and selection.end
11228 (changeRegionCase): require from to be <= to. Require par to be a
11231 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11233 2001-06-27 Juergen Vigna <jug@sad.it>
11235 * text.C (cursorLeftOneWord): changed to return the cursor and added
11236 overlay with BufferView * parameter which calls this one.
11238 (selectWord): use new getWord function.
11239 (changeCase): renamed from changeWordCase as and extended to work
11240 also on selections.
11242 * lyxtext.h: added enum word_location
11244 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11245 changeCase as this operates now also on selections.
11247 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11249 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11251 * many files: send debug output to Debug::INFO instead of
11254 * converter.C (View):
11256 (Move): send debug output to Debug::FILES instead of console.
11258 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11260 * lyxfunc.C (getStatus): use func_status
11262 * func_status.h: new header, describing the results of
11263 LyXFunc::getStatus;
11265 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11268 2001-06-25 The LyX Project <jug@sad.it>
11270 * buffer.C (sgmlOpenTag):
11272 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11274 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11276 * text2.C: remove some dead code
11278 * tabular.C (GetCellInset): store the last cell checked (gotten)
11280 * tabular.h: add the helper for the speedup
11282 * lyxtext.h: remove some dead code
11284 2001-06-26 The LyX Project <Asger>
11286 * paragraph.C: Change export to LaTeX of alignment to
11287 \begin{center} and family for better roundtrip work with reLyX.
11289 * Tune the math drawing a bit.
11291 2001-06-25 The LyX Project <Asger>
11293 * LColor.C (LColor): New color for math background. New color
11296 2001-06-25 The LyX Project <jug@sad.it>
11298 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11300 * lyxfunc.C (Open):
11301 * bufferlist.C (newFile): do not restrict to files ending with
11304 * BufferView_pimpl.C (MenuInsertLyXFile):
11306 2001-06-24 The LyX Project <jug@sad.it>
11308 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11311 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11313 * lyxtext.h: rename most methods to begin with a small char.
11314 Lots of changes because of this.
11316 * paragraph.C (Paragraph): do not call fitToSize
11317 (erase): call Pimpl::erase
11318 (insertChar): call Pimpl::insertChar
11319 (insertInset): call Pipl::insertInset
11320 (breakParagraph): do not call fitToSize
11321 (breakParagraphConservative): do not call fitToSize
11322 (fitToSize): remove method
11324 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11326 2001-06-24 The LyX Project <Asger>
11328 * Fix Qt compilation^2
11330 2001-06-24 The LyX Project <jug@sad.it>
11332 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11333 depthHook(getDepth()-1).
11336 * ParagraphParameters.h:
11337 * ParameterStruct.h: change type of depth to unsigned int ==
11338 depth_type. Many adaptations to other files before of that.
11340 2001-06-24 The LyX Project <Asger>
11342 * Fix Qt compilation.
11344 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11346 * paragraph.h: renamed several methods to begin with small letter.
11347 several changes to many parts of the code because of this.
11349 2001-06-23 The LyX Project <jug@sad.it>
11351 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11352 rewritten to discard all double spaces when KeepEmpty is off
11353 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11354 to only handle newlines but not fiddle with spaces and friends.
11356 * lyxfunc.C (MenuNew): when doing 'new from template', use
11357 template_path as default directory
11359 2001-06-23 The LyX Project <Asger>
11361 * Clean-up of header file includes all over
11362 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11364 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11366 * paragraph.h: renamed from lyxparagraph.h
11368 2001-06-23 Asger <lyx@violet.home.sad.it>
11370 * Buffer.h: Removed Buffer::resize
11371 * BufferList.h: Removed BufferList::resize
11372 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11373 the document lazily when we change the width, or the font settings.
11375 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11377 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11379 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11381 * buffer.h: remove out of date comment
11383 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11386 * screen.C: fix "theoretical" GC leak
11388 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11390 * LaTeX.C (scanAuxFile):
11391 (deplog): remove trailing \r when reading stream (useful under
11394 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11396 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11397 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11398 and BufferView::theLockingInset(Inset*), so should use them and not
11399 access bv_->text->the_locking_inset directly.
11401 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11403 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11406 * tex-defs.h: remove old unused file
11408 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11410 * BufferView_pimpl.C: fix typo, remove minibuffer message
11411 when buffer has loaded
11413 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11415 * lyxfunc.C (Dispatch): use stringstream
11416 (MenuNew): use stringstream
11417 (Open): use stringstream
11419 * importer.C (Import): use stringstream
11421 * bufferview_funcs.C (CurrentState): use stringstream
11423 * LaTeX.C (run): use stringstream
11425 * BufferView_pimpl.C (savePosition): use stringstream
11426 (restorePosition): use stringstream
11427 (MenuInsertLyXFile): use stringstream
11429 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11442 * vspace.C: removed // -*- C++ -*- as first line.
11445 * version.h: added // -*- C++ -*- as first line.
11447 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11449 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11451 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11454 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11456 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11459 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11461 * gettext.C: include LString.h even when --disable-nls is on.
11463 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11465 * converter.h (Get): changed argument type from int to
11466 FormatList::size_type to avoid unnecessary conversion.
11468 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11471 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11473 * gettext.h: include LString.h even when --disable-nls is on.
11475 2001-06-07 Juergen Vigna <jug@sad.it>
11477 * text.C (BreakAgain): subst spaces with tabs.
11479 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11480 (resizeInsetsLyXText): set force on resizeLyXText.
11482 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11484 * gettext.h (gettext_init):
11485 (locale_init): use a real definition instead of a macro
11487 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11489 * Bufferview_pimpl.C:
11491 * LColor.C: further lcolor tidies
11493 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11495 * BufferView_pimpl.C (updateScrollbar): simplify.
11497 * BufferView2.C: don't include insets/insetinfo.h, change
11498 prototype for insertInset and call the Pimpl version. let
11499 updateInset call Pimpl version.
11501 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11502 gotoInset to BufferView::Pimpl
11504 2001-06-01 Juergen Vigna <jug@sad.it>
11506 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11507 inside a LockingInset (is the update needed at all?).
11509 2001-05-31 Juergen Vigna <jug@sad.it>
11511 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11512 here not the old one otherwise how should we compare it afterwards
11515 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11520 * FontInfo.C: bring C functions into global namespace when
11523 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11525 * LString.h: make sure config.h has been loaded before LString.h.
11527 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11528 (one for each char read by EatLine!).
11530 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11533 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11535 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11536 to the same as the par we break from
11538 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11540 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11542 * MenuBackend.C (expand): also create menu entries for wide
11543 versions of the floats.
11545 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11547 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11549 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11550 frontends/Makefile.am
11556 * tabular.C (getTokenValue): add std::
11558 * tabular-old.C (getTokenValue): add std::
11559 (getTokenValue): ditto
11560 (getTokenValue): ditto
11562 * screen.C (ToggleSelection): adjust
11564 * lyxtext.h: put selection cursors inside a Selection struct.
11566 * lyxfunc.C (moveCursorUpdate): adjust
11568 * lyxfont.C (latexWriteStartChanges): add std::
11570 * lyxfind.C: adjust
11572 * font.h: delete with(char const *, LyXFont const &)
11574 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11576 * FontInfo.C (getFontname): add std::
11578 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11579 (workAreaButtonPress): adjust
11580 (tripleClick): adjust
11582 (moveCursorUpdate): adjust
11585 * BufferView2.C (gotoInset): adjust
11587 2001-05-30 Juergen Vigna <jug@sad.it>
11589 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11590 to check pspell I add this as default as I now have new pspell
11591 libraries and they seem to use this.
11593 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11595 * text2.C (CutSelection): make the cursor valid before the call to
11598 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11600 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11601 relied on 0 terminated strings and other horrors. Bug found due to
11602 the new assert in lyxstring!
11604 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11607 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11609 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11612 * lyxfunc.C (processKeySym): change method of getting to the
11615 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11616 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11617 * BufferView_pimpl.[Ch]: here as private methods.
11619 2001-05-28 Juergen Vigna <jug@sad.it>
11621 * text.C (SetHeightOfRow): added the update() call again as it is
11622 needed to initialize inset dimensions!
11624 2001-05-16 Juergen Vigna <jug@sad.it>
11626 * text2.C (SetCharFont): Add new function with BufferView * and
11627 bool toggleall parameters for setting insets internal fonts.
11628 (SetFont): Freeze the undo as we may change fonts in Insets and
11629 all this change should be inside only one Undo!
11631 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11632 setting font's in insets as for them we have the SetFont function!
11634 2001-05-15 Juergen Vigna <jug@sad.it>
11636 * text2.C (ClearSelection): to be sure we REALLY don't have any
11639 * tabular.C (TeXCellPreamble): fixed the left border problem for
11642 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11644 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11647 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11649 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11650 LFUN_BREAKPARAGRAPH.
11652 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11653 help test to "internal only", similar for LFUN_INSERT_URL
11655 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11656 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11657 auto_region_delete and deadkeys.
11659 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11662 * LColor.C: remove some dead entries, tidy a little
11664 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11668 (Dispatch): implement LFUN_ESCAPE
11670 * commandtags.h: add LFUN_ESCAPE
11672 * LyXAction.C (init): add entry for LFUN_ESCAPE
11674 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11675 Remove commented code.
11676 (insertNote): moved here
11677 (open_new_inset): moved here
11679 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11682 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11684 * kbmap.C (findbinding): clean it up and make it work correctly.
11686 * lyx_main.C (init): do not pass argc and argv as parameters
11688 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11690 * buffer.C: fix path for OS/2 & Win32
11694 * lyx_main.C: Added os:: class.
11696 * os2_defines.h: update
11698 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11700 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11701 better by trying again with reduced state.
11703 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11705 * lyxrc.C (read): print error about invalid key sequence only when
11706 debugging (because not all latinX keysyms are known to some X
11709 * kbsequence.C (getiso): add a few std:: qualifiers
11710 (getiso): comment out extra return statement.
11712 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11714 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11716 (Dispatch): enhance the accent inset a bit. (not perfect)
11718 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11720 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11722 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11724 * bufferlist.C (emergencyWrite): fix assert() call
11726 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11728 * text.C (InsertChar): Added trivial patch to only send the "you
11729 can not do multiple spaces this way" message once during a
11732 2001-05-08 Baruch Even <baruch@lyx.org>
11734 * Makefile.am: Changed order of libraries to get LyX to link properly
11735 with the gnome frontend.
11737 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11739 * LaTeXFeatures.h: add a std:: qualifier
11741 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11743 * paragraph.C (String): use stringstream
11745 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11747 * paragraph.C (writeFile): remove footflag arg
11749 * buffer.C (makeLaTeXFile): use stringstream
11750 (latexParagraphs): remove footnot gurba
11752 * LaTeXFeatures.C (getPackages): use stringstream
11753 (getMacros): likewise
11754 (getTClassPreamble): likewise
11755 (getFloatDefinitions): new method
11757 * paragraph.C (writeFile): reindent
11760 * WorkArea.h: revert the xpos + etc changes.
11762 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11764 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11766 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11767 (pasteSelection): likewise
11768 * text2.C (CreateUndo): likewise
11770 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11772 * minibuffer.C (peek_event): temporarily reduce the functionality
11773 of the minibuffer (to allow args on lfuns)
11775 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11776 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11778 * buffer.C (readInset): add compability reading of old float
11779 lists, add reading of new style float list.
11780 (readInset): avoid reevaluation of inscmd.getCmdName()
11781 (getLists): reindent
11783 * MenuBackend.C (MenuItem): implement parsing of
11784 md_floatlistinsert and md_floatinsert.
11785 (expand::LastFiles): move initalizaton of iterators out of loop,
11786 avoid reevaluation.
11787 (expand::Documents): introduce typdedef vector<string> Strings,
11789 (expand::ExportFormats): introduce typedef vector<Format const *>
11790 Formats, and use it.
11791 (expand): implement FloatListInsert and FloatInsert.
11793 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11794 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11795 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11797 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11799 (Dispatch::LFUN_FLOAT_LIST): implement
11801 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11803 * LaTeX.C (run): Fix problem with --export code.
11805 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11807 * BufferView.[Ch] (workarea): removed.
11808 (getClipboard) new method; wrapper for workarea()->getClipboard()
11810 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11813 * WorkArea.h (width, height, xpos, ypos): These methods all
11814 returned the dimensions of the work_area sub-area of WorkArea,
11815 resulting in a position error if the WorkArea were resized. Now
11816 return the dimensions of the entire WorkArea.
11818 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11820 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11822 * LaTeX.C (deplog): correct the syntax of regex reg1
11824 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11826 * undo.C: remove !NEW_INSETS cruft
11828 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11830 * text2.C: remove !NEW_INSETS cruft
11832 * text.C: remove !NEW_INSETS cruft
11834 * tabular.C: remove !NEW_INSETS cruft
11836 * spellchecker.C: remove !NEW_INSETS cruft
11838 * lyxtext.h: remove !NEW_INSETS cruft
11840 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11842 * lyxfunc.C: remove !NEW_INSETS cruft
11844 * lyxfind.C: remove !NEW_INSETS cruft
11846 * lyx_cb.C: remove !NEW_INSETS cruft
11848 * figureForm.C: remove !NEW_INSETS cruft
11850 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11852 * buffer.[Ch]: remove !NEW_INSETS cruft
11854 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11856 * CutAndPaste.C: remove !NEW_INSETS cruft
11858 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11860 * BufferView2.C: remove !NEW_INSETS cruft
11862 * BufferView.h: remove !NEW_INSETS cruft
11864 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11866 * Lsstream.h: include LString.h before the sstream headers to
11867 fix problem with gcc 2.95.3 and lyxstring
11869 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11871 * lyx_main.C: add using directives when needed for C functions
11872 declared in std:: namespace.
11874 2001-04-27 Juergen Vigna <jug@sad.it>
11876 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11877 (SetHeightOfRow): comment out the update call should not be needed!
11879 2001-04-13 Juergen Vigna <jug@sad.it>
11881 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11882 (LyXTabular): tried to minimize operator= operations (and realized
11883 hopfully Lars wish).
11885 2001-04-27 Juergen Vigna <jug@sad.it>
11887 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11889 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11891 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11893 * buffer.C (readInset): hack to make listof algorithm work
11895 * BufferView_pimpl.C: hack to make listof algorithm work
11897 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11899 * LyXAction.C: removed all !NEW_INSETS cruft
11900 (init): moved lfun_item in method
11902 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11904 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11906 * BufferView2.C (theLockingInset): white space.
11908 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11910 * minibuffer.C: include <iostream>
11912 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11914 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11916 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11918 * text.[Ch] (TransposeChars): new method
11920 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11922 * call message directly through LyXView instead of through LyXFunc
11923 * BufferView2.C: adjust
11924 * BufferView_pimpl.C: adjust
11925 * FontLoader.C: adjust
11927 * bufferview_funcs.C: adjust
11928 * converter.C: adjust
11929 * figureForm.C: adjust
11930 * importer.C: adjust
11932 * lyx_gui_misc.C: adjust
11933 * lyxfunc.C: adjust
11936 + more files in subdirs
11938 * lyxparagraph.h (size): move up int file
11941 * adjust all uses of Assert to lyx::Assert.
11943 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11944 lyxfunctional in namespace lyx
11945 * layout.C (hasLayout): ditto
11948 (delete_layout): ditto
11949 (NumberOfClass): ditto
11950 * converter.C (GetFormat): ditto
11955 * bufferlist.C (getFileNames): ditto
11956 (emergencyWriteAll): ditto
11959 * MenuBackend.C (hasSubmenu): ditto
11962 * BufferView_pimpl.C (getInsetByCode): ditto
11964 2001-04-18 Juergen Vigna <jug@sad.it>
11966 * vspace.C (asLatexString): fixed the 100% problem.
11968 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11970 * lyxfunc.C (Dispatch):
11972 * minibuffer.h: add a few std:: qualifiers
11974 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11976 * minibuffer.[Ch]: reimplement so that commands is initiated and
11977 run from lyxfunc, simplified som handling, and made the completion
11978 and history code for complete. wip.
11980 * lyxfunc.C (processKeySym): call message
11981 (miniDispatch): new temporary method
11982 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11983 (LFUN_MESSAGE): implement
11984 (LFUN_MESSAGE_PUSH): implement
11985 (LFUN_MESSAGE_POP): implement
11986 (initMiniBuffer): the initial/defualt minibuffer message.
11988 * lyxfont.[Ch]: inline some more getters
11990 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11992 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11994 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11995 (AutoSave): use LFUN_MESSAGE
11996 (Reconfigure): ditto
11998 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12000 * figureForm.C: use LFUN_MESSAGE
12002 * converter.C (runLaTeX): use LFUN_MESSAGE
12004 * bufferview_funcs.C: use LFUN_MESSAGE
12006 (changeDepth): ditto
12008 * bufferparams.h: use boost::
12010 * bufferlist.h: inherit privately from noncopyable
12012 * bufferlist.C (loadLyXFile): remove some commented code.
12014 * buffer.C (runChktex): use LFUN_MESSAGE
12016 * ShareContainer.h: inherit privately from noncopyable
12018 * ParagraphParameters.[hC] (depth): inline it.
12020 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12022 (message): new method
12023 (messagePush): ditto
12024 (messagePop): ditto
12025 (show): init minibuffer
12026 (showState): direct call
12028 * LaTeX.[Ch]: inherit privately from noncopyable
12029 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12030 instead of WriteStatus.
12032 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12034 * BufferView_pimpl.C (buffer): don't init minibuffer
12035 (workAreaButtonPress): use LFUN_MESSAGE
12036 (workAreaButtonRelease): ditto
12037 (savePosition): ditto
12038 (restorePosition): ditto
12039 (MenuInsertLyXFile): ditto
12040 (workAreaExpose): don't init minibuffer
12041 (update): remove commented code, simplify
12043 * BufferView2.C (openStuff): use LFUN_MESSAGE
12044 (toggleFloat): ditto
12047 (copyEnvironment): ditto
12048 (pasteEnvironment): ditto
12053 (updateInset): remove some commented code
12055 * lastfiles.h: inherit privately from noncopyable
12058 * lyx_main.h: ditto
12060 * lyxlex_pimpl.h: ditto
12062 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12063 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12064 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12066 * LyXAction.h: inherit privately from noncopyable, add methods
12067 func_begin, func_end, returning iterators to the func map.
12069 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12070 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12071 (func_begin): new method
12072 (func_end): new method
12074 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12076 (copySelection): ditto
12077 (pasteSelection): ditto
12079 * BufferView.C: whitespace change
12080 * BufferView.h: inherit privately from noncopyable
12082 2001-04-16 Allan Rae <rae@lyx.org>
12084 * tabular-old.C (l_getline):
12085 * spellchecker.C (sc_check_word):
12086 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12087 an unrecognised preprocessor directive. So ensure they're wrapped.
12089 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12091 * src/exporter.C (Export): Give an error message when path to file
12094 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12096 * LaTeX.C (deplog): Always check that foundfile exists.
12098 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12101 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12103 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12105 * tabular.[Ch] (getLabelList): implement new method
12107 * minibuffer.h: comment ouf setTiimer
12109 * minibuffer.C (ExecutingCB): constify res
12110 (peek_event): constify s
12111 (Set): constify ntext
12112 (Init): constify nicename
12114 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12116 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12117 (savePosition): use two params to Minibuffer::Set
12118 (restorePosition): ditto
12120 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12122 * lyx_main.C: include language.h
12124 * Makefile.am (lyx_main.o): add language.h
12126 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12132 * CutAndPaste.C: include gettext.h
12134 * lyxfont.h: remove old hack with ON and OFF.
12137 * lyxfont.h: do not include language.h...
12142 * bufferview_funcs.C:
12148 * paragraph.C: ... but do it here instead
12150 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12152 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12154 * tabular.C: small reformat
12156 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12159 (BreakParagraph): ditto
12160 (SetOnlyLayout): ditto
12163 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12166 * lastfiles.C: removed most using decl, add std:: where needed
12168 * buffer.C: ws changes
12170 * MenuBackend.C (class compare_format): put into anon namespace
12171 (expand): constify label, names, action, action2
12174 * text.C (SingleWidth): constify font
12175 (IsBoundary): constify rtl2
12176 (GetVisibleRow): constify ww
12178 * LaTeX.C (deplog): constify logfile
12180 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12182 (workAreaExpose): constify widthChange, heightChange
12184 * lyxrow.C (par): moved
12187 * lyxrow.h: as inlines here
12189 * lyxfont.h (shape): moved from lyxfont.C
12190 (emph): moved from lyxfont.C
12192 * lyxfont.C (LyXFont): use initialization list for all
12194 (shape): move to lyxfont.h as inline
12195 (emph): move to lyxfont.h as inline
12198 2001-04-04 Juergen Vigna <jug@sad.it>
12200 * vspace.C: had to include stdio.h for use of sscanf
12202 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12205 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12206 independent of xforms.
12208 2001-04-02 Juergen Vigna <jug@sad.it>
12210 * spellchecker.C: fixed namespace placing!
12212 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12214 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12215 the LyXParagraph * is 0.
12217 2001-03-29 Juergen Vigna <jug@sad.it>
12219 * vspace.C: added support for %, c%, p%, l%.
12220 (stringFromUnit): added helper function.
12221 (asLatexString): changed to give right results for the %-values.
12223 * buffer.C: convert the widthp in a width%.
12225 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12227 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12230 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12231 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12233 * lyx_cb.[Ch]: see above.
12235 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12239 * lyx.[Ch]: replaced by figure_form.[Ch].
12243 * lyxfunc.C: changed headers associated with above changes.
12245 2001-03-27 Juergen Vigna <jug@sad.it>
12247 * BufferView_pimpl.C: set the temporary cursor right!
12249 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12251 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12253 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12255 * LString.h: removed "using std::getline"!
12257 * BufferView_pimpl.C (Dispatch): changes due to changes in
12258 InsetInclude::Params.
12260 * buffer.C (tag_name): removed redundant break statements as they were
12261 producing lots of warnings with my compiler.
12263 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12265 * LString.h: add "using std::getline" when using the real <string>.
12267 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12269 * buffer.C: removed bitset usage.
12270 PAR_TAG moved to an anonymous name space.
12271 (tag_name): new funtion, also in the anonymous namespace.
12272 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12273 (makeDocBookFile): clean code. Completed transition from string arrays
12275 (SimpleDocBookOnePar): code clean.
12277 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12279 * tabular.C: add some comments.
12281 2001-03-22 Juergen Vigna <jug@sad.it>
12283 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12284 compatibility read a bit and fixed bug with minipage in different
12287 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12289 * buffer.C (pop_tag): removed.
12290 (push_tag): removed.
12291 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12292 array replaced with vector. Added support for CDATA sections.
12293 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12295 (makeDocBookFile): XML conformant declaration of CDATA section,
12296 fixed bug related to <emphasis> in the first paragraph char.
12297 (sgmlOpenTag): exclude empty tags.
12298 (sgmlCloseTag): ditto.
12300 * buffer.h (pop_tag): removed.
12301 (push_tag): removed.
12303 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12305 * language.h (Languages): added size_type and size().
12307 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12309 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12310 response on compability reading of minipages. One probliem is that
12311 the old usage of minipages was «flertydig»
12313 * several files here and in subdirs: don't use static at file
12314 scope use anon namespaces instead.
12316 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12318 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12319 LaTeX output. This is necessary for Literate document
12322 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12324 * buffer.C: insert hfill when needed.
12326 * tabular.C (l_getline): use string::erase, small whitespace change.
12328 * BufferView_pimpl.C: try the anon namespace.
12329 * WorkArea.C: ditto
12331 2001-03-16 Juergen Vigna <jug@sad.it>
12333 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12334 otherwise it won't open options-dialogs.
12336 * buffer.C: honor pextraWidth(p) on converting minipages.
12338 * tabular.C (l_getline): changed the functions to strip trailing \r.
12340 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12342 * BufferView_pimpl.C:
12343 * minibuffer..C: added "using SigC::slot" declaration.
12345 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12347 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12353 * paragraph.C: ditto
12355 * lyxtext.h: NO_PEXTRA
12357 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12359 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12360 * ParameterStruct.h: ditto
12361 * ParagraphParameters.h: ditto
12362 * lyxparagraph.h: ditto
12364 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12366 * buffer.C: add compability for minipage alignment.
12367 (latexParagraphs): remove unwanted pextra check.
12369 * several files: remove CXX_WORKING_NAMESPACES
12371 * buffer.C (pop_tag): tie is in namespace boost
12373 * BufferView.h: noncopyable is in namespace boost
12375 * lyx_main.h: ditto
12378 * lastfiles.h: ditto
12379 * bufferlist.h: ditto
12380 * ShareContainer.h: ditto
12382 * LyXAction.h: ditto
12385 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12387 * Merging changes from BRANCH_MVC back into HEAD.
12389 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12391 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12393 * BufferView_pimpl.C: change from intl.C
12397 * Makefile.am: move combox.*
12403 * intl.C: remove dialog (covered by prefs)
12405 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12407 * lyxfunc.C (Dispatch): removed redundant break statement.
12409 2001-03-14 Juergen Vigna <jug@sad.it>
12411 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12413 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12415 * buffer.C: add hack to fix compability reading of minipages.
12417 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12419 * buffer.C (getLists): Cleanup.
12421 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12423 * lyxfont.C (update): don't honor toggleall on font size.
12425 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12429 * Makefile.am: moved to frontends/xforms/
12433 * BufferView_pimpl.C: changes for moved mathpanel
12435 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12437 * gettext.h: fix gettext_init() in --disable-nls
12439 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12441 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12443 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12446 * lyx.h: strip external form
12448 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12450 * BufferView_pimpl.C: add comment, destroySplash()
12452 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12454 * BufferView_pimpl.C:
12458 * lyxfunc.C: use re-worked insetinclude
12460 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12462 * buffer.C: add using std::stringstream.
12464 * lyx_cb.C: readd using std::ios.
12466 * buffer.C: add using std::map.
12468 * BufferView_pimpl.C: add using std::vector.
12470 * ShareContainer.h: add std:: to swap.
12472 * buffer.h: add some typedefs
12473 * buffer.C (getLists): use them
12474 (getLists): renamed from getTocList.
12475 add a counter for the different float types and use it in the
12477 (getLists): use the same counter for the NEW_INSETS and the "non"
12480 * lyx_cb.h: remove unused items, includes, using etc.
12482 * ShareContainer.h: remove some commented code, add more comments
12483 and "documentation".
12485 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12487 * buffer.C (getTocList): make the list also when NEW_INSETS is
12490 * buffer.h: remove TocType
12492 * buffer.C (getTocList): change to return a map<string,
12493 vector<TocItem> >, implement for dynamic number of list.
12495 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12496 * text2.C (PasteSelection): adjust
12497 * CutAndPaste.C (pasteSelection): adjust
12499 * FloatList.C (FloatList): update from the new_insets branch.
12500 * Floating.[Ch]: ditto
12501 * LaTeXFeatures.C: ditto
12503 * lyxlex_pimpl.C: ditto
12505 * paragraph.C (Last): remove when NEW_INSETS is defined.
12507 * other file: changes because of the above.
12509 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12511 * lyxparagraph.h: rename next to next_, previous to previous_,
12512 make them private for NEW_INSETS. Rename Next() to next(),
12513 Previous() to previous().
12515 * other files: changes because of the above.
12517 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12520 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12523 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12525 * main.C (main): pass lyx_localedir to gettext_init().
12527 * gettext.h: remove locale_init and gettext_init macros
12529 * gettext.C (locale_init): new function
12530 (gettext_init): new function
12532 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12535 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12537 * Moved credits to frontends:
12538 * credits.[Ch]: removed
12539 * credits_form.[Ch]: removed
12540 * lyx_gui_misc.C: remove credits stuff
12543 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12545 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12547 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12548 unneeded destructor.
12550 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12551 a standalone pointer again.
12553 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12555 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12561 * ToolbarDefaults.C:
12570 * BufferView_pimpl.C: use new file dialog in GUII
12573 * lyx_cb.C: remove LayoutsCB to Toolbar
12575 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12577 * ShareContainer.h (get): add std:: qualifier
12579 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12581 * ShareContainer.h: define a proper ShareContainer::value_type
12582 type (and use typename to please compaq cxx)
12584 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12586 * lyxparagraph.h: move serveral local vars to
12587 ParameterStruct/ParagraphParameters., use ShareContainer in
12588 FontTable., make vars in FontTable private and add getter and
12591 * paragraph.C: changes because of the above.
12593 * lyxfont.h: remove copy constructor and copy assignment. (the
12594 default ones is ok), move number inside FontBits. move inlines to
12597 * lyxfont.C: add number to initializaton of statics, move several
12598 inlines here. constify several local vars. some whitespace
12599 cleanup. Dont hide outerscope variables.
12601 * Spacing.h: add two new constructors to match the set methods.
12603 * ShareContainer.h: new file, will perhaps be moved to support
12605 * ParameterStruct.h: new file
12607 * ParagraphParameters.h: new file
12609 * ParagraphParameters.C: new file
12611 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12612 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12614 * BufferView_pimpl.C: ParagraphParameter changes.
12615 * buffer.C: Likewise.
12616 * bufferview_funcs.C: Likewise.
12617 * text.C: Likewise.
12618 * text2.C: Likewise.
12620 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12622 * lyxfind.C (LyXReplace): do not redefine default argument in
12624 (IsStringInText): ditto
12625 (SearchForward): ditto
12626 (SearchBackward): ditto
12628 2001-03-06 Juergen Vigna <jug@sad.it>
12630 * lyxfind.C (IsStringInText): put parentes around expressions.
12632 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12634 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12636 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12638 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12640 * stl_string_fwd.h: add comment
12642 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12645 * tabular.C: remove unused DocBook methods
12651 killed DO_USE_DEFAULT_LANGUAGE
12653 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12655 * lyx_gui.C: do not include language.h.
12657 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12658 arguments in function implementation.
12660 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12662 * BufferView_pimpl.C: add <ctime>
12664 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12666 * BufferView_pimpl.C: add using std::find_if
12668 2001-02-27 José Matos <jamatos@fep.up.pt>
12670 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12673 2001-02-11 José Matos <jamatos@fep.up.pt>
12675 * buffer.C (makeDocBookFile): command styles now have a parameter as
12676 "title" by default.
12678 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12680 * layout_forms.[Ch]: removed
12681 * lyx_cb.[Ch]: out character
12682 * lyx_gui.C: out character
12683 * lyx_gui_misc.C: out character
12684 * bufferview_funcs.C: : out character,
12685 added toggleall as parameter in ToggleAndShow
12687 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12689 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12691 * text2.C (SetCurrentFont): Disable number property at boundary.
12693 2001-02-26 Juergen Vigna <jug@sad.it>
12695 * lyxfunc.C (getStatus): added a string argument override function so
12696 that this is correctly called from LyXFunc::Dispatch if it contains a
12697 do_not_use_argument which is used!
12698 (Dispatch): added check for "custom" export and call appropriate func.
12700 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12702 * lyxrc.C: Add language_command_local, language_use_babel and
12703 language_global_options.
12705 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12707 * buffer.C (makeLaTeXFile): Use language_use_babel and
12708 language_global_options.
12710 2001-02-23 Juergen Vigna <jug@sad.it>
12712 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12713 which works with LyXText and putted it inside BufferView. Here now we
12714 only call for that part the BufferView::Dispatch() function.
12716 * BufferView.C (Dispatch): added.
12718 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12719 functions which needs to use a LyXText over from LyXFunc.
12720 (MenuInsertLyXFile): added
12721 (getInsetByCode): added
12722 (moveCursorUpdate): added
12723 (static TEXT): added
12725 2001-02-22 Juergen Vigna <jug@sad.it>
12727 * BufferView_pimpl.C (update): call a status update to see if LyXText
12730 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12732 * vc-backend.C (revert): implement for CVS
12733 (getLog): implement for CVS
12735 2001-02-20 Juergen Vigna <jug@sad.it>
12737 * text2.C (ClearSelection): added BufferView param for inset_owner call
12739 * lyxfunc.C (TEXT): added this function and use it instead of
12740 directly owner->view()-text of getLyXText().
12742 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12744 * src/layout_forms.C: out preamble
12745 * src/layout_forms.h: out preamble
12746 * src/lyx_cb.C: out preamble
12747 * src/lyx_cb.h: out preamble
12748 * src/lyx_gui.C: out preamble
12749 * src/lyx_gui_misc.C: out preamble
12750 * src/lyxfunc.C: connect with guii preamble
12752 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12754 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12756 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12758 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12759 whether to run bibtex.
12761 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12763 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12765 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12767 * Makefile.am (lyx_SOURCES): removed bibforms.h
12769 * vspace.h: doxygen
12771 * text.C (GetVisibleRow): make several local vars const
12773 * tabular.C: small cleanup.
12775 * lyxserver.C (callback): use compare instead of strncmp
12777 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12778 inlines to after class or to paragraph.C
12780 * lyxfont.h: remove friend operator!=
12782 * converter.h: move friend bool operator< to non friend and after
12785 * combox.h: small cleanup
12787 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12788 to inlines after class def.
12790 * buffer.C (pop_tag): use string operations instead of strcmp
12792 * bmtable.c: doxygen, small cleanup
12794 * LaTeX.h: remove friend operator==
12796 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12808 * BufferView_pimpl.C:
12809 * BufferView.[Ch]: remove cruft
12811 2001-02-14 Juergen Vigna <jug@sad.it>
12813 * lyxfunc.C: removed #if 0 unused code
12815 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12817 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12819 * text2.C (SetSelection): added a BufferView * parameter
12821 2001-02-13 Juergen Vigna <jug@sad.it>
12823 * lyxfunc.C (Dispatch): fixed protected blank problem.
12824 * BufferView2.C (protectedBlank): added LyxText * parameter.
12826 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12827 (AppendColumn): same as above for column_info.
12829 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12830 (moveCursorUpdate): use a LyXText param for support of InsetText.
12832 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12833 (tripleClick): ditto
12835 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12837 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12839 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12841 * text2.C (SetSelection): set correct update status if inset_owner
12842 (ToggleFree): ditto
12844 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12846 * tabular.C: remove some commented code.
12848 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12850 * BufferView_pimpl.C: call hideSplash()
12852 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12855 * bibforms.h: remove
12858 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12859 add LFUN_CHILD_CREATE
12861 * counters.h: fix tiny typo
12866 * lyx.C: move splash to frontends/xforms/
12868 * lyx_gui_misc.C: move Include and Bibform to frontends
12870 * lyxvc.h: clarify comment
12872 * vspace.C: tiny housekeeping
12874 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12876 * text.C (PrepareToPrint): RTL Fix.
12878 * paragraph.C (GetUChar): New method.
12879 (String): Use GetUChar.
12881 * buffer.C (asciiParagraph): Use GetUChar.
12883 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12885 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12887 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12890 * buffer.C: rename to getLogName(), handle
12891 build log / latex log nicely
12893 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12896 * MenuBackend.h: remove support for reference menuitem type.
12898 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12900 * BufferView_pimpl.C: housekeeping
12901 * BufferView_pimpl.h:
12906 * minibuffer.h: move Timeout GUI-I
12908 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12910 * lyxrc.C (read): Update converters data-structures.
12912 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12914 * LaTeX.h (operator!=): add operator != for Aux_Info
12916 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12918 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12920 * LaTeXLog.C: deleted, useful code moved to Buffer
12923 * buffer.C: new function getLatexLogName()
12929 * lyxfunc.C: use frontends for LaTeX and VC logs
12931 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12933 * LaTeX.h: yet another std:: that Allan forgot.
12935 * Variables.C (set): renamed from isset(), because this clashes
12936 with some HP-UX macros (grr).
12938 2001-02-06 Allan Rae <rae@lyx.org>
12940 * LaTeX.h: Another bug fix. Missing std:: this time.
12942 2001-02-04 Allan Rae <rae@lyx.org>
12944 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12945 floats problem. I've left it commented out because it's not quite
12946 correct. It should also test that the current object is a table or
12947 figure inset. But I haven't gotten around to figuring out how to do
12948 that. I *think* it'll be something like: "table" == inset.type()
12950 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12953 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12955 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12956 all the citation/databases/styles in the auxilary file.
12957 (run): Rerun latex if there was a babel language error.
12959 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12961 * text.C (Backspace): Preserve the font when changing newline char
12963 (BreakParagraph): If the cursor is before a space, delete the space.
12965 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12967 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12969 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12970 new argument (code).
12971 (ChangeCitationsIfUnique): New method.
12973 * paragraph.C (GetPositionOfInset): Handle bibkey.
12975 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12977 * BufferView_pimpl.h: change type of Position::par_pos to
12978 LyXParagraph::size_type.
12980 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12982 * BufferView_pimpl.C (savePosition, restorePosition): Write
12983 messages to minibuffer.
12985 2001-01-28 José Matos <jamatos@fep.up.pt>
12987 * buffer.C (makeDocBookFile): adds support for document language.
12988 A silly restriction on the name of LatexCommand types where removed.
12989 Added support for CDATA sections, allows to chars unescaped, used
12990 among others in code, to avoid escape < and >.
12992 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12994 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12995 saved positions instrad of a stack. Furthermore, a position is
12996 stored using paragraph id/paragraph position.
12998 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12999 Remove LFUN_REF_BACK.
13001 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13003 * converter.C (dvipdfm_options): New method.
13005 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13007 * vspace.C (isValidLength): Fix for empty input string.
13009 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13011 * LyXAction.C (init): change description of LFUN_FIGURE to
13014 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13016 * LaTeX.C: add using directive
13018 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13020 * MenuBackend.C (expand): Fix the sorting of the formats.
13022 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13024 * lyx_main.C: tiny error message fix
13026 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13028 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13029 calling fl_initialize(). This fixes the problem with ',' as
13030 decimal separator in text files.
13032 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13034 * trans.C (process): Fix the keymap bug.
13036 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13038 * LaTeX.C (scanAuxFiles): New method. Provides support for
13039 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13040 (scanLogFile) Scan for "run BibTeX" messages.
13042 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13043 OT1 font encoding. Also, load the aecompl package if the ae
13046 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13048 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13050 * texrow.C (increasePos): turn two error messages into debug
13053 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13055 * LaTeX.C (scanAux): Handle the \@input macro.
13056 (runBibTeX): Use scanAux().
13058 * language.C (latex_options_): New field.
13060 * LaTeXFeatures.C (getMacros): Add language macros.
13062 * buffer.C (makeLaTeXFile): Small fix.
13064 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13066 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13068 * text2.C: add a using directive.
13070 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13075 * lyxfunc.C: kill LyXBell.
13077 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13079 * text.C (IsBoundary): Remove the error message
13081 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13083 * lyxrc.C (setDefaults): Correct initialization value for
13086 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13088 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13091 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13092 and GotoNextNote().
13094 * src/LyXAction.C: Added reference-next.
13096 * text.C (InsertChar): Use contains instead of strchr.
13098 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13100 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13102 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13103 alignment commands (when needed).
13105 * text.C (InsertChar): Add ':' to number separator chars.