1 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * lyxfunc.C (dispatch): remove textcache stuff
5 * bufferlist.C (release): remove textcache stuff
8 * TextCache.C: delete file
9 * TextCache.h: delete file
11 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
13 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
14 delete of the bv_->text.
15 (resizeCurrentBuffer): remove texcache stuff
16 (workAreaResize): ditto
18 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
20 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
23 2003-10-16 André Pönitz <poenitz@gmx.net>
30 * text3.C: speed up by storing y positions per paragraph plus per-row
31 offset instead of having a 'full' y position in the row.
33 2003-10-15 André Pönitz <poenitz@gmx.net>
37 * undo.[Ch]: make undo aware of inner insets
39 2003-10-14 Angus Leeming <leeming@lyx.org>
41 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
42 static member functions LyX::ref() and LyX::cref.
43 (lastfiles): new accessor functions for the new lastfiles_ member var.
44 (addLyXView, views_): add a new LyXView to the list of views_.
45 (updateInset): loop over all LyXViews to call their own updateInset
46 member function, returning a pointer to the Buffer owning the inset.
48 * BufferView_pimpl.C (loadLyXFile):
49 * MenuBackend.C (expandLastfiles):
50 * bufferlist.C (MenuWrite, QuitLyX):
51 lastfiles is no longer a global variable.
52 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
54 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
55 static function. Access through LyX::cref().emergencyCleanup().
57 2003-10-14 André Pönitz <poenitz@gmx.net>
59 * iterators.[Ch]: new direct access to innermost LyXText and Inset
61 * undo.[Ch]: restoring part of 'undo in insets'
64 * undo_funcs.[Ch]: merge with undo.[Ch]
66 * tabular.C: small cleansing stuff
68 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
70 * paragraph_funcs.C (readParToken): report unknown insets as error
71 boxes. Use the outer paragraph as location (also for unknown
74 * factory.C (readInset): do not abort on reading an unknown inset.
77 2003-10-13 Angus Leeming <leeming@lyx.org>
79 * lyx_main.C (LyX): remove call to setDisplayTranslator().
81 * lyxrc.C: displayTranslator is now a function,
82 declared in GraphicsTypes.h.
84 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
86 * format.C: new placeholder $$a to pass the socket address.
88 * bufferlist.[Ch]: new function getBufferFromTmp.
90 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
91 files in the temporary dir.
93 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
95 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
97 * Makefile.am: add lyxsocket.[Ch].
99 * lyx_main.C (error_handler): handle SIGPIPE.
101 2003-10-13 André Pönitz <poenitz@gmx.net>
103 * BufferView_pimpl.C:
108 * undo_funcs.[Ch]: use paroffset_type instead of
109 ParagraphList::iterators to prevent multiple conversion
110 (and get a more robust interface)
112 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
114 * lyxfunc.C (dispatch): RESULT -> dispatch_result
116 * text3.C (dispatch): ditto
118 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
120 * LaTeX.C (handleFoundFile): move the static to smaller scope,
121 move the onlyfile, use onlyfile instead of foundfile in a couple
124 * DepTable.C (update): flush the error stream a bit more
126 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
128 * lyxserver.C (callback): adjust
130 * lyxfunc.C (getStatus): add a missing brace in commented code
131 (ensureBufferClean): reindent
132 (dispatch): delete version taking a string
134 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
136 * LaTeX.C (deplog): move found file handlig from here...
137 (handleFoundFile): .. to new function here.
138 (deplog): make sure to discover several files mentioned on the
141 2003-10-10 André Pönitz <poenitz@gmx.net>
148 * text3.C: fix some of the tabular crashes
150 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
152 * MenuBackend.C (binding): put debug message into Debug::KBMAP
154 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
156 2003-10-09 André Pönitz <poenitz@gmx.net>
158 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
161 * BufferView_pimpl.C:
162 * bufferview_funcs.C:
173 * undo_funcs.C: adjust
175 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
177 * text2.C (incrementItemDepth): new function, use a backtracking
178 algorithm to discover the correct item depth.
179 (resetEnumCounterIfNeeded): new function, use a backtracking
180 algorithm to discover if counter reset is needed.
181 (setCounter): use them. Simplify a bit. Add different labels for
182 different item depths for itemize.
184 * paragraph.C (Paragraph): remove initialization of enumdepth
187 * paragraph.h: get rid of enumdepth, and use itemdepth both for
188 enumerate and itemize. Change the type of itemdepth to signed char.
190 2003-10-08 André Pönitz <poenitz@gmx.net>
192 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
197 * tabular.[Ch]: fix crash after 'row-insert'
199 2003-10-08 Angus Leeming <leeming@lyx.org>
201 Fix doxygen warnings.
203 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
204 Remove CutAndPaste:: prefix from header file declaration.
206 * LColor.h (fill): remove LColor:: prefix from declaration.
208 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
209 use lyx::depth_type rather than Paragraph::depth_type so that
210 header file and .C file match.
212 * converter.h (intToFormat): remove Converters:: prefix from declaration.
214 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
215 * aspell.C: \file aspell_local.C -> \file aspell.C
216 * gettext.C: \file gettext.C -> \file src/gettext.C
217 * gettext.h: \file gettext.h -> \file src/gettext.h
218 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
219 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
220 * text.C: \file text.C -> \file src/text.C
222 * toc.C: move comment so that doxygen is not confused.
224 2003-10-07 Angus Leeming <leeming@lyx.org>
226 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
228 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
231 * aspell_local.h: add forgotten std::string's.
233 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
240 * text3.C: The Box patch. Fancybox support, minipage, parbox
242 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
248 * ParagraphParameters.h:
258 * lyxtextclasslist.h:
262 * textcursor.h: add <string> and other small fixes to make Lars'
263 std::string patch compile with STLport.
265 2003-10-06 Angus Leeming <leeming@lyx.org>
267 * LColor.h: Add missing #include <string>.
269 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
271 * All most all file in all subdirs: Make <string> be the prefered
272 way of getting to std::string, add using declarations.
274 2003-10-06 André Pönitz <poenitz@gmx.net>
276 * metricsinfo.C: initialize LyXFont before changing attribute.
277 (fixes the 'math in \emph is upright' bug)
279 2003-10-06 André Pönitz <poenitz@gmx.net>
281 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
283 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
286 * paragraph_pimpl.C: Small fixes to build using STLport
288 2003-10-02 André Pönitz <poenitz@gmx.net>
291 * text3.C: move handling of LFUN_DEPTH *; fix #1360
293 2003-10-01 André Pönitz <poenitz@gmx.net>
295 * factory.C: assert early
297 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
299 * lyx_main.C: remove the global debug object
301 * debug.h: adjust for new debugstream
303 * debug.C: adjust for new debugstream and keep the global debug
306 2003-09-22 Angus Leeming <leeming@lyx.org>
308 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
309 of g++ which otherwise complain that the scoped_ptr destructor can't delete
310 an incomplete class LyXFont.
312 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
314 * factory.C: bug fix in branches
316 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
318 * lyxfunc.C (processKeySym): adjust
320 (dispatch): change arg name from ev to func, adjust
321 (sendDispatchMessage): ditto
323 * lyx_main.C (defaultKeyBindings): adjust keybindings
324 (deadKeyBindings): ditto
326 * kbsequence.C (addkey): return a FuncRequest
328 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
330 * kbmap.C (bind): take a FuncRequest as arg, adjust
333 (defkey): change to take a FuncRequest as arg, adjust
334 (findbinding): take a FuncRequest as arg, adjust.
336 * funcrequest.h (operator=): added
338 * funcrequest.C (FuncRequest): default kb_action changed from
339 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
341 * buffer.C (dispatch): simplify
342 (dispatch): adjust to take a FuncRequest as arg, adjust
344 * boost.C (assertion_failed): change assertion message slightly
346 * ToolbarBackend.C (read): simplify
348 * MenuBackend.C (binding): adjust call to findbinding, add a
349 message if no binding is found.
351 (expandToc): correct by adding a empty FuncRequest
353 * LyXAction.C: include <boost/assert.hpp>
354 (isPseudoAction): delete function
355 (LookupFunc): change name to...
356 (lookupFunc): this. change return type to FuncRequest.
357 (getActionName): take kb_action as arg, simplify
358 (funcHasFlag): add an assert, simplify.
360 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
362 * toc.C (action): return a FuncRequest, simplify
364 * lyxfunc.C (processKeySym): adjust
365 (getStatus): delete version that takes an int.
367 (dispatch): delete version that takes action as int
369 (sendDispatchMessage): simplify and adjust
371 * funcrequest.C (getArg): take unsigned int as arg
373 * ToolbarBackend.C (read): adjust
374 (add): delete version that takes func as a string.
375 (getIton): take a FuncRequest as arg
377 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
380 * MenuBackend.C (MenuItem): add a new construct that only takes a
381 Kind, simplify the constructor use for submenus.
383 (expandLastfiles): adjust
384 (expandDocuments): adjust
385 (expandFormats): adjust
386 (expandFloatListInsert): adjust
387 (expandFloatInsert): adjust
388 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
390 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
391 Remove class variables lyx_pseudo_map and lyx_arg_map
393 * LyXAction.C (searchActionArg): delete function
394 (getPseudoAction): delete function
395 (retrieveActionArg): delete function
396 (LookupFunc): make it return kb_action, simplify.
397 (getActionName): simplify
399 * factory.C (createInset): fix new bug
401 2003-09-19 Angus Leeming <leeming@lyx.org>
403 * CutAndPaste.C (pasteSelection): remove fudge used to set the
404 masterFilename_ parameter in the include inset.
406 * factory.C (createInset): changes due to the changes to InsetInclude.
408 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
410 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
412 2003-09-18 Angus Leeming <leeming@lyx.org>
415 * BufferView.C: pass the buffer when calling Inset::getLabelList,
416 Inset::fillWithBibKeys.
417 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
419 2003-09-18 Angus Leeming <leeming@lyx.org>
421 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
423 (ctor): pass and store a 'Buffer const &'
424 (buffer): new member function.
426 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
427 '*this' to the LaTeXFeatures ctor.
429 2003-09-18 Angus Leeming <leeming@lyx.org>
435 * text.C: rename EnumLColor as LColor_color.
437 2003-09-18 Angus Leeming <leeming@lyx.org>
439 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
440 remove #include "insets/insetbase.h" from cursor.h.
442 2003-09-18 Angus Leeming <leeming@lyx.org>
444 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
445 InsetOld_code to remove #include "inset.h".
447 * iterators.C: add #include "insets/inset.h"
449 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
451 * BufferView.C: remove more locking stuff that apparently doesn't
452 do anything sensible.
454 2003-09-16 André Pönitz <poenitz@gmx.net>
457 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
460 2003-09-16 Angus Leeming <leeming@lyx.org>
462 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
464 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
467 * paragraph.h: remove #include "lyxfont.h". Forward declare
470 2003-09-16 Angus Leeming <leeming@lyx.org>
472 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
473 of support/textutils.h.
474 (isWord): move the contents of support/textutils.h's IsWordChar here.
480 * text2.C: add #include "paragraph.h".
483 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
485 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
491 * LaTeX.C: use namespace alias for lyx::support::os
493 2003-09-16 Angus Leeming <leeming@lyx.org>
496 * bufferview_funcs.C:
501 * text.C: add #include "LColor.h".
503 2003-09-16 Angus Leeming <leeming@lyx.org>
505 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
506 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
508 Store the FontBits::color variable as an int rather than as an
509 LColor::colorso that we can move LColor.h out of the lyxfont.h header
512 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
513 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
514 string calls together.
516 * lyxrc.C: add #include "LColor.h".
518 2003-09-15 Angus Leeming <leeming@lyx.org>
520 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
523 2003-09-15 Angus Leeming <leeming@lyx.org>
525 * LColor.h: add an EnumLColor wrapper for LColor::color.
527 * lyxfont.[Ch] (color, setColor, realColor):
528 * lyxtext.h, text.C (backgroundColor):
529 pass EnumLColor args to/from the functions, rather than LColor::color
533 * lyxtext.h: forward declare EnumLColor.
535 * lyx_main.C: add #include "LColor.h".
537 2003-09-15 Angus Leeming <leeming@lyx.org>
539 * .cvsignore: add lyx-gtk.
541 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
546 * ParagraphParameters.C
560 * vc-backend.C: remove usage of STRCONV
562 2003-09-15 Angus Leeming <leeming@lyx.org>
564 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
565 explicitly define the color passed to the painter.
567 2003-09-15 Angus Leeming <leeming@lyx.org>
569 * bufferparams.C (BufferParams): reorder member initializers to avoid
572 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
574 * CutAndPaste.C (pasteSelection): remove an outdated #warning
575 * text.C (updateRowPositions): remove an unusual nop
577 2003-09-12 André Pönitz <poenitz@gmx.net>
579 * BufferView_pimpl.C:
588 * Counters.[Ch]: finish the 'automatic counters' job
590 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
592 * aspell.C: include <boost/assert.cpp> (compile fix)
594 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
596 * boost.C (assertion_failed): use lyx::support::abort instead of
599 2003-09-10 Angus Leeming <leeming@lyx.org>
601 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
602 with their _fwd progeny.
604 2003-09-09 Angus Leeming <leeming@lyx.org>
606 134 files throughtout the source tree: replace 'using namespace abc;'
607 directives with the appropriate 'using abc::xyz;' declarations.
609 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
611 * boost.C (emergencyCleanup): moved here from LAssert.c
612 (assertion_failed): new function, called by BOOST_ASSERT
614 * several files: change Assert to BOOST_ASSERT
616 2003-09-09 Angus Leeming <leeming@lyx.org>
618 * buffer.[Ch]: Add an Impl class and move Buffer's member
619 variables into it. As a result move several header files out of
622 Add header files to lots of .C files all over the tree as a result.
624 2003-09-09 Angus Leeming <leeming@lyx.org>
626 * buffer.[Ch]: make Buffer's member variables private. Add
629 Lots of changes all over the tree as a result.
631 2003-09-08 Angus Leeming <leeming@lyx.org>
633 * graph.C: #include <config.h>.
635 2003-09-08 Angus Leeming <leeming@lyx.org>
639 * BufferView_pimpl.C:
668 * toc.C: remove redundant using directives.
670 2003-09-07 Angus Leeming <leeming@lyx.org>
672 * LaTeXFeatures.h: remove #include "support/types.h".
673 * ToolbarBackend.h: remove #include <algorithm>.
674 * changes.h: remove #include <ctime>.
675 * debug.h: remove #include <iosfwd>.
676 * graph.h: remove #include "support/std_string.h".
677 * lyx_main.h: remove #include <csignal>.
678 * lyxlex_pimpl.h: remove #include <fstream>.
679 * sgml.h: remove #include <algorithm>, <utility>.
680 * toc.h: remove #include "support/std_ostream.h".
681 Add #include <iosfwd>.
683 2003-09-07 Angus Leeming <leeming@lyx.org>
685 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
687 * converter.h: forward declare LatexRunParams.
688 * encoding.h: remove #include "lyxrc.h".
689 * lyxtext.h: remove #include "LColor.h".
690 * lyxtextclass.h: remove #include "support/types.h".
691 * trans.h: remove #include "tex-accent.h".
692 * trans_mgr.h: remove #include "tex-accent.h".
693 * insets/inset.h: remove #include "support/types.h", <vector>.
694 * insets/insetcollapsable.h: remove #include "LColor.h".
695 * insets/insetinclude.h: remove #include "dimension.h".
696 * insets/insetlatexaccent.h: remove #include "dimension.h".
697 * insets/insetoptarg.h:: remove #include "insettext.h".
698 * insets/insettext.h: remove #include "dimension.h",
699 <boost/shared_ptr.hpp>
701 * insets/renderers.h: add #include "dimension.h".
702 * insets/updatableinset.h: add #include "support/types.h".
704 * many .C files: Associated changes.
706 2003-09-06 Angus Leeming <leeming@lyx.org>
708 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
709 one, inside testInvariant.
711 * PrinterParams.C: new file.
712 * PrinterParams.[Ch]: move the function bodies out of line.
714 2003-09-06 Angus Leeming <leeming@lyx.org>
716 * ParagraphParameters.h: forward declare ParameterStruct rather than
717 including its header file.
718 (depth): moved out-of-line.
720 2003-09-06 Angus Leeming <leeming@lyx.org>
722 * BufferView_pimpl.h:
725 * lyxfunc.h: forward declare LyXKeySym rather than
726 #include "frontends/LyXKeySym.h".
728 * BufferView_pimpl.C:
731 * lyxfunc.C: associated changes.
733 2003-09-06 Angus Leeming <leeming@lyx.org>
735 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
736 As a result, can remove the #include "insets/inset.h" from BufferView.h
738 2003-09-06 Angus Leeming <leeming@lyx.org>
740 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
741 As a result, can remove the #include "insets/inset.h" from BufferView.h
743 2003-09-06 Angus Leeming <leeming@lyx.org>
749 * bufferview_funcs.C:
750 * BufferView_pimpl.C:
755 * ParagraphParameters.C:
760 * frontends/controllers/ControlDocument.C:
761 * insets/insetcaption.C: rearrange the #includes into some sort of
764 * buffer.h: remove #includes ErrorList.h, undo.h
766 2003-09-06 Angus Leeming <leeming@lyx.org>
768 * support/types.h: add a 'depth_type' typedef, used to store the
769 nesting depth of a paragraph.
772 * ParameterStruct.h: use this lyx::depth_type typedef rather than
777 * ParagraphParameters.h:
778 * sgml.h: use lyx::depth_type rather than Paragraph or
779 ParameterStruct's depth_type.
782 * paragraph_funcs.h: no need to #include paragraph.h anymore.
785 * BufferView_pimpl.C:
787 * ParagraphParameters.C:
790 * bufferview_funcs.C:
797 * frontends/LyXView.C:
798 * frontends/controllers/ControlDocument.C:
799 * frontends/controllers/ControlErrorList.C:
800 * insets/insetbibitem.C:
801 * insets/insetbranch.C:
802 * insets/insetcaption.C:
803 * insets/insetcollapsable.C:
806 * insets/insetfloat.C:
807 * insets/insetfoot.C:
808 * insets/insetfootlike.C:
809 * insets/insetnewline.C:
810 * insets/insetquotes.C:
811 * insets/insettabular.C:
812 * insets/insettext.C:
813 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
815 * frontends/controllers/ControlChanges.C: #include "changes.h".
817 2003-09-06 Angus Leeming <leeming@lyx.org>
819 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
820 than #including paragraph.h.
823 * RowList.h: deleted. Superfluous.
833 * insets/insettext.h: use ParagraphList_fwd.h rather than
836 * paragraph.h: don't forward declare ParagraphList.
839 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
840 rather than ParagraphList.h. paragraph.h is still needed for the
841 Paragraph::depth_type parameters.
843 * textcursor.h: enable it to compile stand-alone in light of the
846 * bufferview_funcs.C:
858 * frontends/controllers/ControlParagraph.C:
859 * frontends/controllers/ControlTabular.C:
860 * insets/insetmarginal.C:
861 * insets/insetminipage.C:
862 * insets/insetnote.C:
863 * insets/insetoptarg.C: add header files needed to compile again.
865 2003-09-06 Angus Leeming <leeming@lyx.org>
867 * RowList_fwd.h: new file, forward-declaring Row rather than
873 * insets/insettext.h: use it instead of RowList.h
875 * bufferview_funcs.C:
882 * text3.C: #include "RowList.h".
884 2003-09-05 Angus Leeming <leeming@lyx.org>
886 * factory.C (createInset):
887 * vspace.C (c-tor): replace sscanf call with an istringstream.
888 * ispell.C: re-add missing HP/UX headers.
889 * lyxserver.C: re-add missing os2 headers.
891 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
900 * text3.C: re-add missing system headers, needed for 2.95.2.
902 2003-09-05 Angus Leeming <leeming@lyx.org>
904 Changes most place everywhere due to the removal of using directives
905 from support/std_sstream.h.
907 2003-09-05 Angus Leeming <leeming@lyx.org>
909 Replace LString.h with support/std_string.h,
910 Lsstream.h with support/std_sstream.h,
911 support/LIstream.h with support/std_istream.h,
912 support/LOstream.h with support/std_ostream.h.
914 Changes resulting throughout the tree.
916 2003-09-05 Angus Leeming <leeming@lyx.org>
918 * sgml.h: ensure that the header file can be compiled stand-alone.
919 * *.C: strip out redundant #includes. (320 in total.)
921 2003-09-04 Angus Leeming <leeming@lyx.org>
923 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
924 here (from getPackages).
926 * debug.[Ch]: add a new EXTERNAL tag.
928 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
930 * text2.C (cursorEnd): simplify
932 (getColumnNearX): adjust
934 * text.C (computeBidiTables): adjust
937 * rowpainter.C (paintChars): adjust
938 (paintSelection): adjust
939 (paintChangeBar): adjust
942 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
944 (numberOfSeparators): adjust
946 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
952 * text3.C: Restricts the mouse click functionality
953 of insets like bibtex, include, toc and floatlist to the visible
954 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
955 up the dialogs. Cursor has to be in front of the inset (i.e.
956 start of row) for this to function.
958 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
960 * bufferview_funcs.C (currentState): output row information
962 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
964 * bufferview_funcs.C (currentState): output paragraph position
966 2003-09-04 Angus Leeming <leeming@lyx.org>
968 * FloatList.h: move out #include "Floating.h".
969 * LaTeX.h: move out #include "DepTable.h".
970 * LyXAction.h: move out #include "funcrequest.h".
971 * buffer.h: move out #include "author.h", "iterators.h".
972 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
973 * lyx_main.h: move out #include "errorlist.h".
974 * lyxfunc.h: move out #include "FuncStatus.h".
975 * lyxtext: move out #include "lyxcursor.h".
976 * paragraph_pimpl.h: move out #include "counters.h".
978 2003-09-03 Angus Leeming <leeming@lyx.org>
980 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
981 preamble_snippets list, enabling us to add snippets to the preamble
982 only if the snippet was not there already.
984 2003-09-04 Angus Leeming <leeming@lyx.org>
986 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
988 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
990 * lyxfunc.C (dispatch): if fitCursor did something be sure to
993 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
995 * BranchList.C: point fix, earlier forgotten
997 2003-09-02 Angus Leeming <leeming@lyx.org>
999 * box.C (contains): renamed from 'contained' after a fantastic
1002 2003-09-02 John Levon <levon@movementarian.org>
1008 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1010 2003-09-02 John Levon <levon@movementarian.org>
1012 * text2.C: simplification of cursorEnd(), including partial
1015 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1017 * buffer.C (readFile): add a space
1019 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1021 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1023 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1025 * buffer.C (readFile): new function, take a filename and a
1026 ParagraphList::iterator
1028 (readFile): adjust, make it private. don't use setStream, make
1029 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1030 always contain the filename.
1032 * BufferView.C (insertLyXFile): simplify and make it work for
1035 2003-08-30 John Levon <levon@movementarian.org>
1037 * Makefile.am: fix dist (from Kayvan)
1039 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1041 * most files: change to use const Buffer refs
1043 2003-08-27 André Pönitz <poenitz@gmx.net>
1045 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1046 on top of ownerPar().
1048 2003-08-27 John Levon <levon@movementarian.org>
1050 * funcrequest.C: properly initialise POD members
1052 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1054 * lyxtext.h (top_y): move top_y from here
1059 * BufferView_pimpl.[Ch]: to here
1060 * frontends/screen.C:
1061 * insets/insettabular.C:
1062 * insets/insettext.C: adjust
1063 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1065 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1068 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1070 2003-08-26 André Pönitz <poenitz@gmx.net>
1072 * paragraph_func.[Ch] (outerPar): new function
1075 * paragraph_funcs.C:
1076 * paragraph_funcs.h:
1077 * paragraph_pimpl.C:
1078 * text2.C: remove Inset::par_owner
1080 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1085 * text2.C: eliminates the needFullRow/display() stuff
1086 altogether, putting the logic in metrics/draw in the insets.
1088 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1090 * text2.C (redoParagraphInternal, redoParagraphs):
1091 * text.C (redoParagraph): add a call to updateRowPositions at the
1092 end of each 'metrics-like' call. Remove all others.
1093 (getRow): remove the 'y-computing' version.
1094 (getRowNearY): do not compute nor return the real y. Solve the
1095 'y < 0' problem and simplify.
1097 2003-08-22 Angus Leeming <leeming@lyx.org>
1099 * *.[Ch]: clean-up of licence and author blurbs.
1100 Also move config.h out of a few .h files and into a few .C files.
1102 2003-08-22 André Pönitz <poenitz@gmx.net>
1104 * lyxrow.[Ch]: add x_ and *fill_ members
1109 * text2.C: adjust/remove prepareToPrint() calls
1111 2003-08-22 André Pönitz <poenitz@gmx.net>
1113 * lyxrow.[Ch]: add end_ member
1115 * lyxrow_funcs.C: use LyXRow::end_
1117 * lyxtext.h (singleWidth): add LyXFont parameter
1120 * text2.C: adjust LyXText::singleWidth() calls
1122 * text.C (redoParagraph): simplify row breaking logic
1125 2003-08-19 André Pönitz <poenitz@gmx.net>
1127 * funcrequest.C: initialize button_ member
1130 * rowpainter.[Ch]: interface consolidation
1132 2003-08-18 André Pönitz <poenitz@gmx.net>
1135 * BufferView_pimpl.C:
1137 * paragraph_funcs.C:
1139 * text3.C: remove LyXScreen::draw() and fitCursor calls
1141 * BranchList.h: remove spurious semicolons
1143 * MenuBackend.C: fix branchlist related crash
1145 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1153 * bufferparams.[Ch]:
1157 * text3.C: implements the 'branch inset'
1158 idea. This allows the output of various versions of a document
1159 from a single source version, selectively outputing or suppressing
1160 output of parts of the text.
1161 This implementation contains a 'branch list editor' in a separate
1162 tab of the document settings dialog. Branches are user definable
1163 and have a "display colour" to distinguish them on-screen.
1165 ColorHandler was somewhat cleaned up.
1166 (1) make possible a dynamically growing LColor list by allowing
1167 the graphic context cache to grow along (vector);
1168 (2) eliminate an IMHO unnecessary step in colour allocation.
1170 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1172 * BufferView_pimpl.C: compile fix
1174 2003-08-15 André Pönitz <poenitz@gmx.net>
1176 * rowpainter.C: remove extra metrics calls
1178 * lyxtext.h: merge the two constructors into a single one,
1179 pass reference to owner's par list
1181 * BufferView_pimpl.C:
1185 2003-08-15 André Pönitz <poenitz@gmx.net>
1187 * lyxrow_funcs.[Ch]:
1190 * paragraph_funcs.C:
1195 * text_funcs.C: split LyXText::rowlist_ into individual
1196 Paragraph::rows_ chunks
1199 * BufferView_pimpl.[Ch]:
1202 * text3.C: remove toggleSelection()
1204 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1206 * bufferlist.C: beautify two alerts (shorter text of buttons)
1207 * buffer.C: Remove redundant ' ' from message
1209 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1210 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1211 rename VALIGN_CENTER to VALIGN_MIDDLE
1213 2003-08-11 André Pönitz <poenitz@gmx.net>
1215 * lyxtext.h (getPar):
1216 * text.C: new function
1218 2003-08-11 André Pönitz <poenitz@gmx.net>
1221 * tracer.[Ch]: remove unneeded files
1223 * InsetList.[Ch]: remove resizeInsetsLyXText()
1228 * text3.C: merge insertParagraphs() and appendParagraph()
1229 remove breakAgain(), update()
1231 * BufferView_pimpl.[Ch]:
1232 * bufferview_funcs.[Ch]:
1236 * tabular.C: adjust after text & InsetList changes.
1238 2003-08-08 André Pönitz <poenitz@gmx.net>
1240 * text.C (insertChar, backspace): replace rowlist fiddling
1241 with rebreak of full par
1244 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1245 checkParagraph, updateInset): removed
1247 2003-08-07 André Pönitz <poenitz@gmx.net>
1250 * text3.C: merge some LFUN handlers, remove dead code
1252 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1254 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1256 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1258 * text2.C (DEPM): fix part of bug 1255 and 1256
1260 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1262 * BufferView_pimpl.C (workAreaDispatch): change to use
1263 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1264 that are no mouse related.
1266 2003-08-05 André Pönitz <poenitz@gmx.net>
1269 * BufferView_pimpl.[Ch]:
1270 * bufferview_funcs.C:
1272 * text3.C: rip out "deep update"
1274 * textcursor.[Ch] (last_sel_cursor): remove unused member
1276 2003-08-04 André Pönitz <poenitz@gmx.net>
1279 * BufferView_pimpl.[Ch]:
1280 * ParagraphParameters.C:
1281 * bufferview_funcs.C:
1287 * text3.C: replace "complicated" BufferView::update(...) calls with
1290 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1292 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1294 * Makefile.am (lyx_SOURCES): add paper.h
1296 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1298 * Makefile.am: move things around so that both lyx-qt and
1299 lyx-xforms can be built (according to --with-frontend). Then lyx
1300 is a symbolic link to lyx-[firstfrontend]
1302 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1304 * Always use std::endl with lyxerr
1306 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1308 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1310 2003-08-01 André Pönitz <poenitz@gmx.net>
1313 * BufferView_pimpl.[Ch]:
1315 * text3.C: merge BufferView::repaint() and BufferView::update()
1317 2003-08-01 José Matos <jamatos@lyx.org>
1319 * buffer.[Ch]: file_format is no longer a buffer data element.
1321 2003-08-01 André Pönitz <poenitz@gmx.net>
1326 * text2.C: make redoParagraph more independent of current cursor
1328 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1330 * text2.C: remove unneeded members
1332 2003-07-30 André Pönitz <poenitz@gmx.net>
1334 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1336 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1337 create a single function...
1339 * paragraph_funcs.C (moveItem): ... here.
1342 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1344 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1346 * LColor.[Ch]: Add comment and greyedout logical colors.
1348 2003-07-30 André Pönitz <poenitz@gmx.net>
1350 * tabular.C: don't use Assert too heavily. This crashes where it
1353 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1355 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1356 is disabled (bug 1232)
1358 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1360 * factory.C: limited 'arg' scope
1362 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1364 * factory.C: fixed Note submenu issues
1366 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1368 * factory.C: submenu for Note/Comment/Greyedout
1370 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1373 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1375 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1378 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1379 greyedout. Patch provided by Jürgen Spitzmüller.
1381 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1383 * kbmap.C (read): fix error message when reading bind files
1385 2003-07-29 Angus Leeming <leeming@lyx.org>
1387 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1388 certainly does not do what it purports to do. I am doing it, and
1389 us, a favour by killing it.
1391 2003-07-28 José Matos <jamatos@lyx.org>
1393 * buffer.C (readBody, do_writeFile):
1394 * paragraph.C(readParagraph): \end_document replaces \the_end.
1396 2003-07-29 André Pönitz <poenitz@gmx.net>
1399 * BufferView_pimpl.[Ch]:
1403 * textcursor.[Ch]: remove toggleToggle & Co
1405 2003-07-28 José Matos <jamatos@fep.up.pt>
1407 * buffer.C (readParagraph):
1408 * params_func (readParToken, readParagraph):
1409 * paragraph.C (write): \layout -> \begin_layout.
1411 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1413 * lyxlex_pimpl.C (setFile): clean up slightly.
1415 * bufferparams.h: add compressed var
1417 * buffer_funcs.C (readFile): adjust for LyXLex change
1418 (newFile): ditto + simplify
1420 * buffer.C (writeFile): handle writing of compressed files
1422 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1423 Check if the file is compressed and set a bufferparm if so.
1425 * Makefile.am (lyx_LDADD): remove explicit -lz
1427 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1429 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1430 makeDocBookFile): put the real LyX version in the first line of
1434 * version.C.in: remove lyx_docversion
1436 * tabular.C (write_attribute): add a template-based version to
1437 write enums properly
1439 2003-07-28 André Pönitz <poenitz@gmx.net>
1444 * text3.C: use doubles again for x-coordinates. They are needed.
1446 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1448 * messages.C (getLocaleDir): use lyx_localedir()
1450 * lyxlex_pimpl.C (setFile): compress stuff
1452 * buffer.C (writeFile): add some compression stuff
1453 (do_writeFile): new func, dont call expliti close... will this
1456 * Makefile.am (lyx_LDADD): add -lz
1458 2003-07-28 José Matos <jamatos@fep.up.pt>
1460 * buffer.C: increment file format.
1461 * paragraph_funcs (readParagraph, readParToken):
1462 * paragraph.C (readParagraph): add \end_layout.
1464 2003-07-27 Angus Leeming <leeming@lyx.org>
1466 * Makefile.am: remove special casing for configure-time setting of
1467 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1469 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1470 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1472 2003-07-26 André Pönitz <poenitz@gmx.net>
1474 * paragraph_func.[Ch]:
1475 * paragraph.C (realizeFont): inline it whereever it is used
1480 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1483 2003-07-26 André Pönitz <poenitz@gmx.net>
1487 * text2.C: get rid of LyXText::need_break_row
1489 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1491 * toc.[Ch]: put namespace toc inside namespace lyx
1493 * MenuBackend.C (expandToc2): adjust for lyx::toc
1496 * lyxfunc.C (dispatch): adjust for lyx::find
1498 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1499 lyx::find instead. Reorganize a bit.
1500 (LyXReplace): rename to replace
1501 (LyXFind): rename to find
1503 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1506 2003-07-26 André Pönitz <poenitz@gmx.net>
1508 * text.C (setHeightOfRow): restrict scope of temporary variable
1510 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1511 code (never has been used?)
1513 2003-07-27 Asger Alstrup <alstrup@local>
1515 * text.C (fill): Optimise algorithm to exploit that we can reuse
1516 the LyXFont for many characters.
1517 (setHeightOfRow): Same thing.
1518 (rowBreakPoint): Same thing.
1520 2003-07-26 Asger Alstrup <alstrup@local>
1522 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1524 * text.C (singleWidth): Spurious font copying in hot-spot
1525 singleWidth avoided. Reorder tests for arabic for efficiency.
1527 * text.C (fill): handle empty paragraphs better.
1529 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1532 * encoding.h: add includes
1534 * lyxrc.C: remove reading of bind files
1536 * lyx_main.C (init): setup bindings and menus only if we have a
1539 * kbmap.C (read): new method. Do the actual reading of bind
1542 * converter.C (dvipdfm_options):
1545 (output): adapt PAPER_* enums.
1547 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1549 * bufferparams.h: remove paper-related enums from there
1551 * paper.h: New file. A trivial header file to hold paper-related
1552 enums. It should later expand to contain many paper-related
1555 * lyxrc.C: declare extern displayTranslator
1557 2003-07-27 José Matos <jamatos@fep.up.pt>
1559 * tabular.[Ch] (linuxdoc): add support for tables and figures
1562 2003-07-27 José Matos <jamatos@fep.up.pt>
1564 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1565 consistency in both functions.
1566 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1568 2003-07-26 Asger Alstrup <alstrup@local>
1570 * rowpainter.C (paintRows): Change algorithm to work directly on
1571 the insets rather than asking every character in the document
1572 whether its an inset.
1574 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1576 * buffer.C (openFileWrite): factorize some code
1578 2003-07-26 Angus Leeming <leeming@lyx.org>
1581 * lyx_main.[Ch]: replace occurances of system_tempdir with
1584 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1586 * rename Inset to InsetOld
1588 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1590 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1591 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1592 which I think is a bit clearer. EDIT is gone, since it was
1593 premature optimisation, and broken for mathed anyway.
1594 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1595 with cursor positioning in insets as well (math insets still do not
1596 work, but that's a different story anyway.) It mysteriously
1597 crashes sometimes with undo in the first paragraph, but I'm fairly
1598 confident that this is a compiler bug.
1600 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1602 * paragraph.C (Paragraph): adjust for new clone return type
1604 (copyIntoMinibuffer): ditto
1606 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1608 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1609 by not having a special case, and always doing a full rebreak of
1610 the document after undo.
1612 2003-07-23 Angus Leeming <leeming@lyx.org>
1614 * factory.C (createInset): InsetExternal::setParams now takes a
1617 2003-07-23 Angus Leeming <leeming@lyx.org>
1619 * factory.C (createInset): changed interface to the external and
1620 graphics mailers' string2params functions.
1622 2003-07-23 Angus Leeming <leeming@lyx.org>
1624 * factory.C (createInset): pass a
1625 Buffer const * parameter to InsetExternalMailer's string2params.
1627 2003-07-22 John Levon <levon@movementarian.org>
1629 * Thesaurus.h: include the right aiksaurus header
1631 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1633 * MenuBackend.C (expand): check menu shortcuts unconditionally
1635 2003-07-21 Angus Leeming <leeming@lyx.org>
1637 * factory.C (createInset): pass a
1638 buffer_path parameter to InsetGraphicsMailer's string2params.
1640 2003-07-21 Angus Leeming <leeming@lyx.org>
1642 * BufferView_pimpl.C (buffer):
1645 * lyxfunc.C (dispatch):
1646 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1647 rather than the grfx shortcut.
1649 2003-07-21 André Pönitz <poenitz@gmx.net>
1651 * rowpainter.C: remove unused variables
1654 * tabular_funcs.h: move to tabular.C
1655 * Makefile.am: adjust
1657 * tabular.[Ch]: basic optical cleaning
1659 * author.h: pass references, not values
1661 2003-07-18 André Pönitz <poenitz@gmx.net>
1669 * text3.C: two-phase drawing for InsetText and InsetTabular
1670 some float -> int changes.
1672 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1674 * lyx_main.C: fix the fix
1676 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1678 * lyx_main.C: fix a crash in batch mode if no files specified
1681 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1683 * format.[Ch] (papersize): moved to BufferParams
1684 * converter.[Ch] (dvips_options): moved to BufferParams
1685 (dvipdfm_options): moved to anon namespace
1686 * bufferparams.[Ch]: added above functions.
1688 2003-07-17 André Pönitz <poenitz@gmx.net>
1692 * text2.C: don't call inset->update() anymore
1694 * metricsinfo.[Ch]: add convenience constructor
1696 2003-07-16 André Pönitz <poenitz@gmx.net>
1701 * text2.C: replace the LyXCursor::irow_ member with
1702 on-demand computation of the value
1704 2003-07-16 John Levon <levon@movementarian.org>
1706 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1708 2003-07-15 André Pönitz <poenitz@gmx.net>
1711 * text2.C: remove no more needed refresh_row
1713 2003-07-15 André Pönitz <poenitz@gmx.net>
1718 * text3.C: refresh_status tristate -> need_update bool
1720 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1722 * lyxtext.h (init): remove reinit argument (act as if always true)
1723 * text2.C: adjust to that
1725 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1727 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1728 * text3.C: use it to delete selections in some cases
1729 (bugs 441, 673, 702, 954).
1731 2003-07-14 André Pönitz <poenitz@gmx.net>
1733 * rowpainter.[Ch]: reduce interface
1735 2003-07-14 André Pönitz <poenitz@gmx.net>
1737 * BufferView_pimpl.C:
1738 * text2.C: adjust after removing unused BufferView * argument
1740 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1742 * text2.C (init): fix a crash fired on resize
1744 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1746 * buffer.[Ch]: added new closing signal
1747 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1748 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1749 BufferView::Pimpl via the closing the signal
1751 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1753 * buffer.[Ch]: take out all bv-related from buffer
1755 * BufferView_pimpl.[Ch]: connect to new signals
1756 * CutAndPaste.C: removed useless asserts
1757 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1760 * lyxfunc.C: moved view-related funciontality from vc here
1761 * paragraph.C: removed outdated comments
1764 2003-07-10 André Pönitz <poenitz@gmx.net>
1766 * BufferView_pimpl.C:
1770 * text2.C: remove InsetText::InnerCache, clean up consequences
1772 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1774 * ispell.C: fix two typos in error messages
1776 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1778 * Extend Note inset to other forms of annotation like Comment
1779 and Greyedout. Right button click gives dialog.
1781 Files modified or added (+):
1785 * ControlNote.[Ch] +
1787 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1788 frontends/controllers
1792 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1794 * aspell.C: add missing namespace lyx::support
1796 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1798 * BufferView.[Ch] (newFile): Add
1799 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1800 * LaTeX.[Ch] (message): added this signal and use it
1801 * buffer.[Ch] (busy, message): added these signals and use them
1802 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1806 * importer.C: use buffer signals instead of direct bv calling
1807 * lyx_cb.[Ch] (ShowMessage): removed
1810 * paragraph_funcs.C:
1811 * text2.C: use buffer signals
1813 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1815 * introduce namespace lyx::graphics
1817 2003-07-02 André Pönitz <poenitz@gmx.net>
1819 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1821 2003-07-01 André Pönitz <poenitz@gmx.net>
1828 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1829 text*.C to text_func.C
1831 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1833 * introduce namespace lyx::support
1835 2003-06-30 André Pönitz <poenitz@gmx.net>
1840 * text.C: re-enable --with-included-string
1842 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1844 * textcursor.C: add <config.h>
1846 * text.C (getWord): remove const from word_location arg
1848 * lyxvc.C (getLogFile): fix const type order
1850 * lyxtext.h: remove const from word_location arg, add arg name
1852 * lyxlayout.h: currect type on labeltype.
1854 * importer.C: correct \file
1856 * converter.C (intToFormat): use std:: on ret val, ws changes
1858 * bufferlist.h: correct \file
1860 * buffer.C (makeLinuxDocFile): fix const type order
1861 (makeDocBookFile): ditto
1862 (fillWithBibKeys): use std:: on stdlib args.
1864 * CutAndPaste.C: fix authors.
1865 (availableSelections): use std:: on return vector
1867 2003-06-27 André Pönitz <poenitz@gmx.net>
1869 * BufferView_pimpl.C:
1870 * bufferview_funcs.C:
1878 * text3.C: remove LyXCursor::row_ member
1881 * text.C: rename fullRebreak() to partialRebreak() and implement
1882 a fullRebreak() that really bereks fully
1884 * textcursor.h: new struct for cursor-related data
1886 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1888 * lyx_main.C (LyX): get full path of document loaded on the
1891 2003-06-26 André Pönitz <poenitz@gmx.net>
1893 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1894 remove unused/broken operator>,<,>=.
1896 * text.C: remove only use of broken operator<= in an Assert().
1898 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1900 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1901 moved errorlist_.clear to showErrorList
1903 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1905 * converter.C (scanLog, runLaTeX):
1906 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1907 move the bv->showErrorList call to the callers
1908 * lyxfunc.C: i.e. here...
1910 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1911 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1912 namespace, the second to...
1913 * buffer_funcs (BufferFormat, parseErrors): added
1914 * errorlist.C (ErrorList(TeXErrors const &)): removed
1916 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1918 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1920 2003-06-24 "Garst R. Reese" <reese@isn.net>
1924 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1926 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1928 * version.C.in: change docversion to 1.4
1930 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1932 * buffer.C: fix a bug just introduced
1934 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1936 * buffer.[Ch]: added the parseError signal and use it, removed
1938 * BufferView.[Ch] (addError): moved to ...
1939 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1940 to the Buffer::parseError signal to catch (guess what) parse errors
1941 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1943 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1945 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1946 ability to create a buffer and to return an existing one from
1947 the list. Moved these functions to...
1948 * buffer_funcs.[Ch]: added
1949 * BufferView.[Ch] (loadLyXFile): added
1950 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1951 job removed from bufferlist::loadLyXFile.
1952 * buffer.C (setReadOnly): make it work without view
1953 (i.e added an if (users))
1955 2003-06-19 Angus Leeming <leeming@lyx.org>
1958 * LyXAction.C (init):
1959 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1960 with LFUN_DIALOG_SHOW <name> <data>.
1962 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1964 * CutAndPaste.C (availableSelections): small compilation fix for
1965 ancient (gcc 2.9x) compilers
1967 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1969 * text3.C (cursorNext): add tmp var
1971 * text2.C (updateCounters): for function calling out of for clause
1972 (replaceSelectionWithString): ditto
1973 (insertStringAsParagraphs): ditto
1974 (getColumnNearX): add tmp var
1975 (setCursorFromCoordinates): add tmp var
1976 (cursorDownParagraph): add tmp var
1977 (deleteEmptyParagraphMechanism): add tmp var
1979 * text.C (insertChar): add tmp var
1981 * rowpainter.C (paintDepthBar): add tmp var
1983 * CutAndPaste.C (availableSelections): potentially check all
1984 paragraphs in a cut to fill the shown strings.
1986 2003-06-18 André Pönitz <poenitz@gmx.net>
1988 * kbmap.[Ch]: use vector<> instead of list<>
1990 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1992 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1993 pasteSelection with index
1995 * text2.C (pasteSelection): modify, call pasteSelection with index
1997 * paragraph.C (asString): reimplement version with no interval to
1998 call the one with interval.
2000 * lyxtext.h: add index arg to pasteSelection
2002 * MenuBackend.C (MenuItem): handle PasteRecent
2003 (Menu::read::Menutags): add md_pasterecent
2005 (expandPasteRecent): new function
2008 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2010 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2012 (availableSelections): new function
2014 2003-06-17 Angus Leeming <leeming@lyx.org>
2016 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2018 2003-06-17 Angus Leeming <leeming@lyx.org>
2021 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2023 * lyxfunc.C (dispatch): invoke it.
2025 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2027 * iterators.C (operator++, ParPosition): reintroduce some
2028 const_cast for the benefit of older compilers.
2030 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2032 * text3.C (dispatch): do not modify clipboard when doing
2033 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2034 LFUN_DELETE_SKIP on a selection selection
2036 2003-06-16 André Pönitz <poenitz@gmx.net>
2042 * tabular.[Ch]: IU of clone() and getLabelList();
2044 2003-06-13 André Pönitz <poenitz@gmx.net>
2046 * tabular.h: compactification
2048 2003-06-12 André Pönitz <poenitz@gmx.net>
2052 * tabular_funcs.h: some renaming plus whitespace
2054 2003-06-12 André Pönitz <poenitz@gmx.net>
2057 * BufferView_pimpl.C:
2063 * toc.C: Return a Paragraph & for ParIterator::operator*()
2065 2003-06-11 John Levon <levon@movementarian.org>
2069 * ToolbarBackend.C: add "Toolbars" section and
2072 2003-06-10 Angus Leeming <leeming@lyx.org>
2075 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2077 * lyxfunc.C (dispatch): invoke it.
2079 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2081 * main.C: protect <ios> with HAVE_IOS
2082 (main): protect sync_with_stdio with HAVE_IOS
2084 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2086 * text2.C (cutSelection): adjust
2087 (pasteSelection): adjust
2089 * messages.C: handle get of empty string
2091 * main.C (main): use sync_with_stdio(false)
2093 * lyxfunc.C (dispatch): adjust
2095 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2096 (WriteAs): remove unneeded BufferView arg.
2098 * bufferparams.h: use correct types on papersize, papersize2 and
2101 * bufferparams.C (readToken): adjust for type
2102 (writeLaTeX): add missing cases to switch.
2104 * bufferlist.C (quitWriteBuffer): adjust
2107 * buffer.C (asciiParagraph): remove some commented code.
2109 * CutAndPaste.C: remove current_view extern variable.
2110 (cutSelection): add BufferParams arg.
2111 (eraseSelection): add BufferParams arg.
2112 (pasteSelection): add Buffer const & arg
2114 2003-06-07 John Levon <levon@movementarian.org>
2117 * paragraph_funcs.C:
2118 * paragraph_pimpl.C:
2122 * paragraph.C: allow InsetERT to freely space lines,
2123 and some consolidation of code
2125 2003-06-06 José Matos <jamatos@fep.up.pt>
2127 * buffer.C (makeDocBookFile): fix bug #821
2129 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2131 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2133 2003-06-04 Angus Leeming <leeming@lyx.org>
2135 * buffer.C: bump format to 224.
2137 2003-06-05 André Pönitz <poenitz@gmx.net>
2139 * text2.C (redoParagraphs): remove two const_cast<>
2141 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2143 * ParagraphList.h: remove last remnants of NO_STD_LIST
2145 2003-06-03 Angus Leeming <leeming@lyx.org>
2147 * factory.C (createInset): small change to the way InsetExternal's params
2150 2003-06-04 André Pönitz <poenitz@gmx.net>
2152 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2154 * paragraph_pimpl.h:
2155 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2157 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2159 * undo_funcs.C: make some simple cases of undo work again
2161 2003-06-03 John Levon <levon@movementarian.org>
2163 * ispell.C: HPUX doesn't have sys/select.h
2166 2003-06-03 John Levon <levon@movementarian.org>
2168 * CutAndPaste.C: update tabular and include inset
2173 * paragraph.C: remove owningBuffer(), don't pass Buffer
2176 * factory.C: insetGraphicsParams changed
2178 2003-06-02 John Levon <levon@movementarian.org>
2184 * text3.C: remove insetparent
2186 2003-06-02 John Levon <levon@movementarian.org>
2189 * buffer.C: fix inset_iterator.end(), move out of line
2192 2003-06-01 John Levon <levon@movementarian.org>
2194 * text3.C: use a proper cut/paste when doing inset
2195 insert (from Jürgen Spitzmüller)
2197 2003-06-01 John Levon <levon@movementarian.org>
2199 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2201 2003-05-30 André Pönitz <poenitz@gmx.net>
2203 * rowpainter.C: unify second drawing phase
2205 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * trans_mgr.C: remove one case of current_view
2209 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2211 * paragraph_funcs.h: remove paragraph.h include
2213 * paragraph.h: delete NO_STD_LIST stuff
2215 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2217 * buffer.h: remove paragraph.h include
2219 * ParagraphList.C: delete file
2221 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2223 * toc.C (getTocList): adjust
2225 * paragraph_pimpl.C (validate): adjust
2227 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2229 * paragraph.C (Paragraph): adjust
2230 (getPositionOfInset): use const_iterator, adjust
2231 (bibitem): use const_iterator, adjust
2232 (setInsetOwner): adjust
2234 * iterators.C (operator++): adjust
2236 * InsetList.[Ch]: Replace selfmade iterator with standard
2237 vector::iterator also introduce const_iterator. Remove getPos,
2238 getInset and setInset from InsetTable. Adjust accordingly.
2240 * BufferView.C (lockInset): adjust
2241 (ChangeInsets): adjust
2243 * tabular.[Ch]: delete commented same_id functions
2245 2003-05-28 John Levon <levon@movementarian.org>
2247 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2249 2003-05-28 André Pönitz <poenitz@gmx.net>
2251 * metricsinfo.[Ch]: remove 'fullredraw' member
2253 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2255 * lyxtextclass.C (operator): remove caching.
2257 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2261 * text2.C (cursorBottom): adjust
2262 (setCounter): use ParagraphList::find, adjust
2264 * text.C (workWidth): use ParagraphList::find, adjust
2266 * lyxcursor.C (LyXCursor): adjust
2268 * buffer.C (inset_iterator): adjust
2270 * ParagraphList.h: make iterator(value_type) private, make
2271 ParagraphList a friend of iterator.
2273 * ParagraphList.C (find): new function
2275 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2277 2003-05-27 André Pönitz <poenitz@gmx.net>
2279 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2281 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2283 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2285 2003-05-26 John Levon <levon@movementarian.org>
2287 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2289 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2291 * remove same_id from function signatures, adjust.
2293 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2295 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2297 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2299 * paragraph.C (Paragraph): get rid of same_ids parameter
2301 * ParagraphList.C (insert): adjust
2304 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2306 * paragraph_funcs.C (breakParagraph): adjust
2307 (breakParagraphConservative): adjust
2309 * buffer.C (readParagraph): adjust
2311 * ParagraphList.C (insert): take a reference instead of a pointer
2314 * paragraph.[Ch] (id): new function
2316 * bufferlist.C (newFile): adjust
2318 * ParagraphList.C (ParagraphList): adjust
2320 (push_back): take a reference instead of a pointer.
2322 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2324 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2327 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2328 set else use old code.
2330 * ParagraphList.C: remove all NO_NEXT code and only compile this
2331 code of NO_STD_LIST is set.
2333 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2335 * BufferView_pimpl.C:
2345 * graphics/GraphicsConverter.C:
2346 * graphics/PreviewLoader.C: header adjustment
2348 2003-05-23 Angus Leeming <leeming@lyx.org>
2350 * LaTeXFeatures.[Ch] (useBabel): new method.
2351 * bufferparams.C (writeLaTeX): use it.
2353 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * ParagraphList.h (set): remove unused function.
2357 2003-05-23 André Pönitz <poenitz@gmx.net>
2360 * BufferView_pimpl.C:
2364 * undo_funcs.C: setUndo reworked
2366 * iterators.[Ch]: add access to topmost ParagraphList
2368 * lyxtext.[Ch] (workWidth): add a const
2370 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2372 * texrow.[Ch] (increasePos): remove function
2373 * exporter.C (export): removed unused var and outdated comment
2375 2003-05-23 Angus Leeming <leeming@lyx.org>
2377 * latexrunparams.h: rename fragile as moving_arg.
2378 * paragraph.C (simpleTeXOnePar): ditto.
2379 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2381 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2383 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2385 (textUndoOrRedo): comment out a currently unused var.
2387 * paragraph.h (NO_NEXT): enable NO_NEXT
2389 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2391 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2393 * exporter.C (Export): adjust for removeAutoInsets removal.
2395 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2397 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2399 * BufferView.[Ch] (removeAutoInsets): delete function
2401 2003-05-22 Angus Leeming <leeming@lyx.org>
2403 * latexrunparams.h: add a free_spacing variable.
2405 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2406 to pass moving_arg, as the data is stored in runparams.fragile.
2408 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2409 to Inset::latexOptional or to simpleTeXOnePar.
2411 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2412 free_spacing arg to Inset::latexOptional.
2414 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2417 2003-05-22 Angus Leeming <leeming@lyx.org>
2419 * latexrunparams.h: add fragile and use_babel variables.
2421 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2422 * buffer.C (makeLaTeXFile): store this returned value in
2423 runparams.use_babel, thus passing it to the inset::latex methods.
2425 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2426 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2428 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2429 longer has a fragile arg, as it is stored in runparams.fragile.
2431 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2432 moving_arg parameter as the data is stored in runparams.fragile.
2434 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2435 a fragile parameter as the data is stored in runparams.fragile.
2437 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2439 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2441 2003-05-22 Angus Leeming <leeming@lyx.org>
2443 * latexrunparams.h: add a 'bool nice' which defaults to false.
2445 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2446 now encapsulated within runparams.
2448 * bufferlist.C (updateIncludedTeXfiles):
2449 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2451 2003-05-22 Angus Leeming <leeming@lyx.org>
2453 * latexrunparams.h: new file containing struct LatexRunParams.
2454 * Makefile.am: add new file.
2456 * LaTeX.[Ch] (c-tor, run):
2457 * buffer.[Ch] (makeLaTeXFile):
2458 * bufferlist.[Ch] (updateIncludedTeXfiles):
2459 * converter.C (convert, scanLog):
2460 * converter.[Ch] (runLaTeX):
2461 * exporter.C (Export):
2462 * paragraph.[Ch] (simpleTeXOnePar):
2463 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2464 * paragraph_funcs.[Ch] (latexParagraphs):
2465 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2466 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2467 pass around a LatexRunParams parameter.
2469 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2471 * paragraph.[Ch]: remove unused constructor
2473 * ParagraphList.C (erase): new function, taking two iterators
2475 2003-05-22 André Pönitz <poenitz@gmx.net>
2477 * undo_funcs.C: remove duplicated code
2479 * iterator.[Ch]: operator=
2481 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2483 * tabular.C (SetMultiColumn): ws changes
2485 * rowpainter.C (paintFirst): get rid of a ->previous
2487 * lyx_cb.C (getPossibleLabel): parlist simplification
2489 * BufferView.C (ChangeInsets): simplify slightly.
2491 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2493 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2494 * lfuns.h: new LFUN_SPACE
2495 * lyxfunc.C: protected space has a new lfun
2496 * paragraph_funcs.C: read new space insets
2498 * factory.C: handle new space insets
2500 2003-05-22 André Pönitz <poenitz@gmx.net>
2503 * BufferView_pimpl.C:
2506 * undo_funcs.C: return a ParIterator from getParFromID.
2508 * iterators.[Ch]: add two const's
2510 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2512 * toc.C (getTocList): adjust
2514 * iterators.[Ch]: rework for parlist
2516 * buffer.C (par_iterator_begin): adjust
2517 (par_iterator_end): adjust
2519 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2521 * BufferView.C (removeAutoInsets): adjust
2522 (ChangeInsets): adjust
2524 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2526 * text.C (top_y): fix bug 1110
2528 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2530 * errorlist.[Ch]: added
2533 * BufferView_pimpl.C:
2534 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2537 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * Makefile.am: ensure that lyx is relinked upon changes to the
2540 various "convenience" libs.
2542 2003-05-20 Angus Leeming <leeming@lyx.org>
2544 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2545 files are compiled in alphabetical order again.
2547 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2549 2003-05-19 Angus Leeming <leeming@lyx.org>
2551 * gettext.[Ch]: remove "char const * _(char const *)".
2553 2003-05-19 André Pönitz <poenitz@gmx.net>
2555 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2564 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2566 2003-05-19 André Pönitz <poenitz@gmx.net>
2570 * lyxtextclass.[Ch]:
2572 * paragraph_funcs.[Ch]:
2574 * text3.C: more insetenv work
2576 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2578 * ParagraphParameters.C (params2string): small bug fixed
2580 2003-05-16 André Pönitz <poenitz@gmx.net>
2583 * bufferview_funcs.C: patch from Kornel Benko to prevent
2584 crash when _(...) is called twice in a statement
2586 2003-05-16 André Pönitz <poenitz@gmx.net>
2593 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2595 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2597 * lyx_main.C (init): remove spurious static_cast
2599 2003-05-14 André Pönitz <poenitz@gmx.net>
2601 * BufferView.C: fix format string
2603 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2605 * BufferView.[Ch] (insertErrors): removed
2606 * BufferView.[Ch] (showErrorList): added
2607 * buffer.C (runChkTeX):
2608 * converter.C (scanLog): call showErrorList instead of inserterrors
2610 2003-05-13 André Pönitz <poenitz@gmx.net>
2612 * BufferView_pimpl.C:
2614 * bufferview_func.C:
2621 * tabular_funcs.h: tostr() from its own header
2623 * ParagraphParameters.C:
2628 * text3.C: STRCONV()
2630 2003-05-12 André Pönitz <poenitz@gmx.net>
2633 * BufferView_pimpl.C:
2637 * ParagraphParameters.C:
2641 * bufferview_funcs.C:
2654 * paragraph_funcs.C:
2658 * text3.C: boost::format -> bformat all over the place
2661 2003-05-09 André Pönitz <poenitz@gmx.net>
2663 * LColor.[Ch]: Pimpl the #include <map> away
2665 2003-05-09 John Levon <levon@movementarian.org>
2667 * bufferlist.C: never remove emergency saves
2669 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * Makefile.am: better lib building
2673 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2677 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2678 (simpleTeXSpecialChars): adjust
2679 (simpleTeXSpecialChars): adjust
2680 * paragraph.C (simpleTeXOnePar): adjust
2681 * buffer.C (makeLaTeXFile): adjust
2683 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2685 * text2.C (changeDepth): parlist cleanup
2686 (getColumnNearX): ditto
2688 * rowpainter.C (getLabelFont): parlist cleanup
2690 * bufferlist.C (newFile): parlist cleanup
2692 * CutAndPaste.C (eraseSelection): parlist cleanup
2694 * BufferView_pimpl.C (trackChanges): parlist cleanup
2697 * BufferView.C (lockInset): parlist cleanup.
2698 (ChangeInsets): ditto
2700 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2702 * CutAndPaste.h: Update file header.
2704 * CutAndPaste.C: Update file header.
2705 Store the parts cut out of the Document in a limited_stack.
2706 (copySelection): adjust
2707 (pasteSelection): new function, takes the index in the limited stack.
2708 (nrOfParagraphs): adjust
2709 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2710 simplify error inset insertion.
2711 (checkPastePossible): adjust
2713 2003-05-06 John Levon <levon@movementarian.org>
2715 * text2.C: don't cast wrap inset to float
2717 2003-05-05 André Pönitz <poenitz@gmx.net>
2720 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2722 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2723 few naked Paragraph *.
2725 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2727 * bufferparams.C: Output warning if a document with missing
2728 TeX document class is loaded
2729 * exporter.C: Disable TeX exports if the document class is missing
2732 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2733 isTeXClassAvailable()
2735 2003-05-03 John Levon <levon@movementarian.org>
2738 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2739 explicit cursor show/hide
2741 * BufferView_pimpl.h:
2742 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2743 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2745 * lyxfunc.C: hide cursor before dispatching.
2750 * text3.C: remove explicit cursor hides
2752 2003-05-02 André Pönitz <poenitz@gmx.net>
2754 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2757 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2760 * text2.C: tiny whitespace
2762 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2764 * undo_funcs.C: almost only ws changes.
2766 * ParagraphList.C (splice): just return if pl is empty.
2768 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2770 * ParagraphList.C (splice): new function.
2772 * CutAndPaste.C (pasteSelection): use it
2774 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2776 * CutAndPaste.C (pasteSelection): remove the last next and
2777 previous from this file.
2779 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2781 * CutAndPaste.C (pasteSelection): more clean up, user proper
2782 ParagraphList functions for pasteing.
2784 * ParagraphList.C (insert): new function, three arg insert
2786 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2788 * ParagraphList.C (insert): new function, three arg insert
2790 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2793 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2795 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2797 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2799 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2801 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2804 (copySelection): clean up a bit.
2805 (pasteSelection): use make_pair
2807 * ParagraphList.C (ParagraphList): implement copy constructor
2808 (operator=): implement, base on copy constructor.
2811 * paragraph.C (erase): return a bool
2813 * paragraph_pimpl.C (erasePos): remove function, move contents...
2814 (erase): ... here. Return a bool.
2815 (erase): call erase instead of erasePos.
2817 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2819 * ParagraphList.h: define PitPosPair
2820 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2821 ParagraphList, fix a bug on pasting multiple pars
2822 * text2.C: change interface to C&P
2824 2003-04-30 André Pönitz <poenitz@gmx.net>
2826 * undo_func.C: revert part of yesterday's patch 2
2828 2003-04-30 John Levon <levon@movementarian.org>
2830 * LColor.C: s/tabular/table/
2832 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2834 * text3.C (dispatch): do not convert iterator -> pointer
2835 * undo_funcs.C (setCursorParUndo): ditto
2836 * text_funcs.C (transposeChars): ditto
2838 * text2.C (setLayout): ws changes only
2840 * text.C (breakParagraph): do not convert iterator -> pointer
2842 (acceptChange): ditto
2843 (rejectChange): ditto
2848 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2851 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2853 * text3.C (gotoInset): YABG (yet another bad getChar)
2855 2003-04-29 André Pönitz <poenitz@gmx.net>
2857 * paragraph.h: make operator= private unimplemented as long as
2860 * ParagraphList.C: whitespace
2863 * paragraph_pimpl.[Ch]:
2864 * paragraph_funcs.C:
2866 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2869 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2871 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2873 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2874 * paragraph.[Ch] (erase):
2875 * paragraph_pimpl.[Ch] (erase): change return type and value
2876 * text2.C (cutSelection): some rework
2878 2003-04-28 John Levon <levon@movementarian.org>
2880 * bufferlist.C: changes for unsaved changes dialog
2882 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * bufferlist.C (newFile): set language (messages_) for new
2887 * buffer.C (readFile): ws changes only.
2889 2003-04-28 André Pönitz <poenitz@gmx.net>
2894 * BufferView_pimpl.C:
2895 * BufferView.C: getParFromID related ParagraphList::iterator changes
2897 2003-04-28 André Pönitz <poenitz@gmx.net>
2899 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2902 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2904 * messages.C: remove one more localedir class variable.
2906 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2908 * messages.C (getLocaleDir): singleton generation function
2910 (Messages): add a default constructor.
2912 * main.C (main): do not setup localedir here, do not call
2915 * gettext.C (_): use it.
2916 (gettext_init): delete funciton
2918 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2920 * gettext.C (getLyXMessages): new singleton generating function.
2922 * buffer.C (updateDocLang): adjust
2924 * Makefile.am (messages.o): add target
2925 (main.o): remove target
2927 2003-04-27 John Levon <levon@movementarian.org>
2932 * lyxvc.C: specify cancel button in Alert::prompt
2934 2003-04-26 John Levon <levon@movementarian.org>
2939 * LyXAction.C: add LFUN_INSET_SETTINGS
2941 * lyxfunc.C: don't enable tabular-feature when there's
2942 just any locking inset
2944 2003-04-26 John Levon <levon@movementarian.org>
2946 * bufferlist.C: re-add Cancel to buffer close question
2948 * lyxfunc.C: fix import UI a bit
2950 2003-04-25 John Levon <levon@movementarian.org>
2952 * gettext.C: remove the broken asserts for now
2954 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2956 * messages.C: make case where setlocale cannot comply work better.
2958 * buffer.C (updateDocLang): new function
2959 (changeLanguage): use it
2962 * text2.C (setCounter): use B_ a bit.
2964 * lyxlayout.C (Read): be sure to trim the label strings.
2966 * messages.C (Messages): fix typo in comment
2968 * buffer.C (readFile): set message_ after file is loaded.
2969 (makeDocBookFile): remove double return
2970 (changeLanguage): reset message_ upon language change.
2971 (B_): new func, use this to get translated buffer strings.
2973 * main.C: add myself and Jean Marc as authors.
2975 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2977 * messages.[hC]: pimplify Messages, and three different pimpls to be
2978 used in different circumstances.
2980 * gettext.[Ch]: change for use with new message code.
2982 2003-04-24 André Pönitz <poenitz@gmx.net>
2984 * factory.C: support for eqref
2986 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2988 * messages.[Ch]: add missing char
2990 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2992 * messages.[Ch]: New files
2994 2003-04-18 John Levon <levon@movementarian.org>
2998 * BufferView_pimpl.C:
3002 * text2.C: remove layout-copy/paste (bug 778)
3004 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3006 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3008 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3010 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3011 if they succeed. Act accordingly.
3013 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3015 * text2.C (setCharFont): adjust
3016 (setCounter): adjust
3017 (insertStringAsLines): adjust
3019 * text.C (leftMargin): adjust
3020 (setHeightOfRow): adjust
3022 * rowpainter.C (paintFirst): adjust
3025 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3027 (isFirstInSequence): ditto
3028 (getEndLabel): ditto
3031 * paragraph.C (getParLanguage): comment out some hard stuff.
3033 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3035 (simpleDocBookOnePar): ditto
3036 (makeDocBookFile): use ParagraphList::iterator
3038 * CutAndPaste.C (pasteSelection): adjust
3040 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3042 * text2.C (getFont): adjust
3043 (getLayoutFont): adjust
3044 (getLabelFont): adjust
3046 * paragraph_funcs.C (TeXOnePar): adjust
3048 * buffer.C (simpleLinuxDocOnePar): adjust
3049 (simpleDocBookOnePar): adjust
3051 * CutAndPaste.C (pasteSelection): adjust
3053 * BufferView.C (getEncoding): adjust
3055 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3057 2003-04-16 John Levon <levon@movementarian.org>
3059 * lyxfind.C: use parlist stuff for search/changes
3061 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3063 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3065 * text2.C (deleteEmptyParagraphMechanism): adjust
3067 * text2.[Ch] (ownerParagraph): delete func (both of them
3069 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3071 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3073 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3075 * ParagraphList.C: prepare for NO_NEXT
3077 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3079 * text2.C (getFont): adjust
3080 (getLayoutFont): adjust
3081 (getLabelFont): adjust
3083 * paragraph.C (getFont): adjust
3084 (getLabelFont): adjust
3085 (getLayoutFont): adjust
3087 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3089 2003-04-15 John Levon <levon@movementarian.org>
3093 * lyx_main.C: handle Include in .ui files
3095 2003-04-15 John Levon <levon@movementarian.org>
3097 * MenuBackend.C: make the doc files length shorter
3100 * ToolbarBackend.C: handle toolbar placement flags,
3103 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3105 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3108 * paragraph_funcs.C (TeXOnePar): adjust
3110 * paragraph.C (getLabelFont): add outerfont arg, adjust
3111 (getLayoutFont): ditto
3112 (simpleTeXOnePar): adjust
3114 * paragraph_pimpl.C (realizeFont): delete func
3116 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3118 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3119 row argument, constify cur argument.
3121 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3123 * text2.C (getFont): adjust
3124 (getLayoutFont): adjust
3125 (getLabelFont): adjust
3127 * paragraph_funcs.C (TeXOnePar): adjust
3128 (outerFont): new func...
3129 (realizeFont): ...moved out from here, changed this to facilitate
3132 * paragraph.C (getFont): take outerfont as arg, adjust
3133 (simpleTeXOnePar): add outerfont arg, adjust
3135 * buffer.C (simpleLinuxDocOnePar): adjust
3136 (simpleDocBookOnePar): adjust
3138 * CutAndPaste.C (pasteSelection): adjust
3140 * BufferView.C (getEncoding): adjust
3142 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3144 * text2.C (setCharFont): adjust
3145 (setCounter): adjust
3147 * text.C (leftMargin): adjust
3148 (setHeightOfRow): adjust
3150 * rowpainter.C (paintFirst): adjust
3153 * paragraph_pimpl.C (realizeFont): adjust
3155 * paragraph.C (isFirstInSequence): move from here...
3156 * paragraph_funcs.C (isFirstInSequence): ...to here
3158 * paragraph.C (outerHook): move from here...
3159 * paragraph_funcs.C (outerHook): ...to here
3161 * paragraph.C (depthHook): move from here...
3162 * paragraph_funcs.C (depthHook): ...to here
3164 * paragraph.C (getEndLabel): move from here...
3165 * paragraph_funcs.C (getEndLabel): ...to here
3167 * text2.C (realizeFont): move from here...
3168 * paragraph_funcs.C (realizeFont): ...to here
3170 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3172 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3174 2003-04-14 Angus Leeming <leeming@lyx.org>
3176 * LColor.[Ch]: scrap LColor mathcursor.
3178 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3180 * lyxlex.[Ch] (text): delete function
3181 * trans.C (Load): adjust
3182 * paragraph_funcs.C (readParToken): adjust
3184 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3186 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3187 vector<char> instead of a char[].
3189 * lyxlex_pimpl.C (getString): adjust
3191 (lex): use getString
3195 * lyxlex.C (text): use pimpl_->getString()
3199 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3201 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3202 (makeFontEntriesLayoutSpecific): temp var for par.size()
3203 (setLayout): temp var for ownerParagraphs().end()
3204 (fullRebreak): temp var for rows().end()
3205 (selectionAsString): temp var for boost::next(startpit), realize
3206 that the while really is a regular for loop.
3207 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3208 setCursor in one place.
3209 (setParagraph): temp vr for ownerParagraphs().end()
3210 (updateCounters): make the while loop a for loop
3211 (cutSelection): temp var for ownerParagraphs().end()
3212 (updateInset): make the do {} while() a regular for loop
3213 (getCursorX): use temp vars
3214 (setCurrentFont): use temp vars
3215 (getColumnNearX): use temp vars
3217 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * text.C (transformChar): use temp var for getChar
3220 (computeBidiTables): use temp var for row->par()
3221 (fill): move temp vars for row->par() and pit->layout() earlier in
3223 (labelFill): use temp var for row->par()
3224 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3225 asc and desc, realize that pit never changes and that firstpit is
3226 just a duplicate and not needed. Exchange rit->par() with pit in a
3228 (breakAgain): use a temp var for boost::next(rit)
3229 (breakAgainOneRow): ditto
3230 (breakParagraph): use a temp var for rows().begin()
3231 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3232 (cursorRightOneWord): use temp var for cursor.par() and
3233 cursor.pos(), remove usage of tmpcursor.
3234 (cursorLeftOneWord): use temp var for cursor.par() and
3235 cursor.pos() only set cur at end of function.
3237 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3239 * text.C, text2.C: exchange all usage of Paragraph::next with
3240 boost::next(ParagraphList::iterator)
3242 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3244 * text2.C (cursorTop): simplify implementation
3245 (cursorBottom): ditto
3246 (setParagraph): use ParagraphList::iterator
3247 (setCurrentFont): adjust
3248 (getColumnNearX): adjust
3249 (cursorRight): adjust
3250 (cursorLeft): remove usage of Paragraph::previous
3251 (cursorUpParagraph): ditto
3252 (deleteEmptyParagraphMechanism): slight cleanup
3254 * text.C (isBoundary): take a Paragraph const & instead of a
3256 (addressBreakPoint): ditto
3257 (leftMargin): remove usage of Paragraph::previous.
3258 (setHeightOfRow): ditto
3259 (cursorLeftOneWord): ditto
3260 (selectNextWordToSpellcheck): ditto
3263 (breakParagraph): remove one usage of Paragraph::next
3264 (redoParagraph): ditto
3265 (acceptChange): ditto
3266 (insertChar): adjust
3267 (rowBreakPoint): adjust
3269 * bufferview_funcs.C (toggleAndShow): adjust
3271 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3273 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3274 methods to access it.
3276 * text.C: Added updateRowPositions to compute all row positions.
3277 Make top_y and getRowNearY() to use the cached y position
3279 2003-04-11 John Levon <levon@movementarian.org>
3281 * text.C (rowBreakPoint): reintroduce the labelEnd
3282 checks, code copied from the row fill stuff. Deep voodoo.
3284 * text.C (fill): add a comment and debugging for the
3287 2003-04-11 John Levon <levon@movementarian.org>
3289 * text.C: make sure fullrow insets get wrapped to the next line,
3290 even when they're in a manual label
3292 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3294 * text2.C (insertParagraph): make it take ParagraphList::iterator
3296 (setLayout): make it return ParagraphList::iterator
3297 (redoParagraphs): ditto
3299 (checkParagraph): ditto
3301 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3303 * text2.C: adjust several funcs.
3304 (realizeFont): take a ParagraphList::iterator as arg.
3305 (getLayoutFont): ditto
3306 (getLabelFont): ditto
3307 (setCharFont): ditto
3309 * text.C: adjust several funcs.
3311 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3313 * text.C (selectNextWordToSpellcheck): don't accidentally
3316 2003-04-10 John Levon <levon@movementarian.org>
3318 * ToolbarBackend.C (getIcon): special handling for
3321 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3323 * text2.C (cursorRight): a getChar assert fixed
3325 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3327 * text2.C (getFont): change to take a ParagraphList::iterator
3328 instead of Paragraph*
3329 Adjust several functions.
3331 * text.C (transformChar): change to take a ParagraphList::iterator
3332 instead of Paragraph*
3333 (singleWidth): ditto
3334 Adjust several functions.
3336 * rowpainter.C: adjust several functions
3337 * rowpainter.h:store a ParagraphList::iterator and not a
3341 2003-04-09 John Levon <levon@movementarian.org>
3346 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3347 and the "help" bits as well
3349 2003-04-09 John Levon <levon@movementarian.org>
3352 * ToolbarBackend.C: allow multiple toolbars
3354 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3356 * undo_funcs.C (setCursorParUndo): adjust
3358 * text_funcs.C (transposeChars): adjust
3360 * text3.C (gotoNextInset): adjust
3363 * text2.C (setLayout): adjust
3364 (changeDepth): adjust
3366 (redoParagraphs): adjust
3367 (selectionAsString): adjust
3368 (setParagraph): adjust
3369 (insertInset): adjust
3370 (cutSelection): adjust
3371 (copySelection): adjust
3372 (pasteSelection): adjust
3373 (insertStringAsLines): adjust
3374 (updateInset): adjust
3375 (setCursor): change to take a ParagraphList::iterator parameter
3376 (setCursorIntern): change to take a ParagraphList::iterator parameter
3377 (setCurrentFont): adjust
3378 (cursorLeft): adjust
3379 (cursorRight): adjust
3380 (deleteEmptyParagraphMechanism): adjust
3382 * text.C (breakParagraph): adjust
3383 (insertChar): adjust
3384 (acceptChange): adjust
3385 (rejectChange): adjust
3386 (selectNextWordToSpellcheck): adjust
3387 (changeCase): adjust
3391 * lyxfind.C (SearchForward): adjust
3392 (SearchBackward): adjust
3393 (nextChange): adjust
3395 * lyxcursor.C (par): adjust
3397 * lyxcursor.h: store a ParagraphList::iterator instead of a
3400 * lyx_cb.C (getPossibleLabel): adjust
3402 * bufferview_funcs.C (toggleAndShow): adjust
3404 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3407 * BufferView.C (removeAutoInsets): adjust
3408 (lockedInsetStoreUndo): adjust
3410 2003-04-09 John Levon <levon@movementarian.org>
3412 * ToolbarBackend.C: try icon without argument
3413 if with argument fails
3415 2003-04-08 John Levon <levon@movementarian.org>
3418 * ToolbarBackend.C: add getIcon(), handle tooltip,
3419 and change from "Icon" to "Item".
3421 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3423 * BufferView.C (lockInset): another bad getchar crunched
3425 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3427 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3430 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3432 * lyxfind.C (searchForward, searchBackwards): bug 782
3434 2003-04-07 John Levon <levon@movementarian.org>
3436 * paragraph.C: remove dead comment
3438 * text.C: remove troublesome depth-fiddling code
3439 in leftMargin() and rightMargin() (bug 1017)
3441 * text.C: fix breaking of rows in nested lists
3444 * text2.C (updateCounters): fix up depth values
3447 2003-04-07 John Levon <levon@movementarian.org>
3449 * BufferView_pimpl.C: clear message when doc finishes resizing,
3450 and after a mouse event
3452 * lyxfunc.C: clear message after exiting inset
3454 2003-04-07 John Levon <levon@movementarian.org>
3456 * bufferview_funcs.C: show math status not outside
3457 status in the statusbar
3459 2003-04-07 John Levon <levon@movementarian.org>
3461 * lyxfunc.C: note status changed after a depth change
3463 2003-04-04 Angus Leeming <leeming@lyx.org>
3465 * LaTeX.h: move AuxInfo operator==, != out of line.
3466 Remove LaTeX virtual destructor; nothing derives from it.
3467 Move operator()() out of public area and rename it startscript().
3468 Change protected for private.
3470 2003-04-04 Angus Leeming <leeming@lyx.org>
3473 * text2.C: remove unneeded #includes.
3475 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3477 * text2.C (dEPM): fix the heigth of the next row
3479 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3481 * text.C: squashed an invalid getChar requester + some ws changes
3483 2003-04-03 John Levon <levon@movementarian.org>
3485 * bufferview_funcs.h:
3486 * bufferview_funcs.C:
3489 * text2.C: make getStatus work for the env depth lfuns
3491 2003-04-03 John Levon <levon@movementarian.org>
3493 * bufferview_funcs.h:
3494 * bufferview_funcs.C:
3497 * text2.C: parlistize decDepth(), by merging it with incDepth()
3499 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3501 * lyxrow.h: store a ParagraphList::iterator instead of a
3502 Paragraph* and adjust other class functions to suit.
3504 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3507 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3509 * text2.C (setCursor): do not anchor to cursor row for the time being
3511 2003-04-02 John Levon <levon@movementarian.org>
3518 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3520 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3522 * paragraph.h: make ParagraphList and ParagraphList::iterator
3523 friends of Paragraph.
3525 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3527 * ParagraphList.C: Use the private next_ and previous_ from
3530 2003-04-01 John Levon <levon@movementarian.org>
3534 * Makefile.am: rename, remove defaults gunk
3537 * MenuBackend.C: remove defaults gunk
3540 * Languages.C: remove defaults gunk
3543 * lyx_main.C: error out if files couldn't be found.
3545 2003-04-02 John Levon <levon@movementarian.org>
3547 * text2.C: make incDepth() use parlist
3549 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3551 * undo_funcs.C (firstUndoParagraph): adjust
3553 * text3.C (gotoInset): adjust
3554 (dispatch): adjust, and rewrite loop.
3556 * text2.C (init): adjust, and rewrite loop.
3557 (redoParagraphs): adjust
3558 (updateInset): adjust, and rewrite loop.
3559 (deleteEmptyParagraphMechanism): adjust
3561 * tabular.C (LyXTabular): adjust
3562 (SetMultiColumn): adjust
3565 * lyxtext.[Ch] (ownerParagraph): delete function
3566 (ownerParagraphs): new function returns a ParagraphList.
3568 * BufferView.C (removeAutoInsets): adjust
3569 (insertErrors): adjust
3570 (setCursorFromRow): adjust
3572 2003-04-01 Angus Leeming <leeming@lyx.org>
3574 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3577 2003-04-02 John Levon <levon@movementarian.org>
3583 * text_funcs.C: make transposeChars a free function
3585 * lyxrow_funcs.C: remove wrong comment
3587 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * rowpainter.C: adjust
3595 * lyxrow_funcs. [Ch]: new files
3597 * lyxrow.[Ch]: remove next and previous pointers
3598 (next,previous): remove accessor functions
3599 (isParEnd): move to lyxrow_funcs
3600 (lastPos): move to lyxrow_funcs
3601 (nextRowIsAllInset): move to lyxrow_funcs
3602 (lastPrintablePos): move to lyxrow_funcs
3603 (numberOfSeparators): move to lyxrow_funcs
3604 (numberOfHfills): move to lyxrow_funcs
3605 (numberOfLabelHfills): move to lyxrow_funcs
3606 (hfillExpansion): move to lyxrow_funcs
3610 * bufferview_funcs.C (toggleAndShow): adjust
3612 * RowList.h: Remove class RowList from file leave just a
3615 * RowList.C: delete file
3617 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3620 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3622 * text3.C (cursorPrevious): adjust
3623 (cursorNext): adjust
3626 * text2.C (redoHeightOfParagraph): adjust
3627 (redoDrawingOfParagraph): adjust
3630 * text.C (breakParagraph): adjust
3631 (insertChar): adjust
3634 * rowpainter.C (RowPainter): adjust
3635 (leftMargin): simplify and adjust
3636 (most rowpainter functions): adjust.
3638 * rowpainter.h: store the row as RowList::iterator not as Row*
3640 * lyxcursor.C (row): taka RowList::iterator as arg
3643 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3646 2003-04-01 Angus Leeming <leeming@lyx.org>
3648 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3649 stuff like bool Bool.
3651 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3653 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3656 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3658 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3661 * lyxtext.h (rows): drop one version and leve a const variant that
3662 returns a RowList::iterator.
3664 2003-03-31 Angus Leeming <leeming@lyx.org>
3666 * text.C (fill): ensure that the signature is the same as that in the
3669 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * text2.C (redoParagraphs): adjust
3672 (updateCounters): adjust
3673 (checkParagraph): adjust
3674 (getColumnNearX): adjust and reformat a bit.
3676 * text.C (top_y): adjust
3678 (leftMargin): adjust
3679 (prepareToPrint): adjust
3681 (getRowNearY): adjust
3683 * lyxtext.h: make rowlist_ mutable.
3685 * RowList.h: add const_iterator
3686 * RowList.C: adjust for RowList::const_iterator.
3688 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3691 2003-03-31 John Levon <levon@movementarian.org>
3694 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3696 * lyx_main.C: set default fonts from using lyx_gui funcs
3698 * exporter.C: pdf_mode moved from lyxrc
3701 * lyxfunc.C: changes from above
3703 2003-03-31 John Levon <levon@movementarian.org>
3705 * lyx_main.C: fix to the last fix
3707 2003-03-31 John Levon <levon@movementarian.org>
3709 * bufferlist.C: "Load original" -> "Load Original"
3715 * format.C: more Alert cleanups
3717 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3719 * text2.C (removeParagraph): make it take a RowList::iterator as
3721 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3722 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3724 * text.C (anchor_row): make it take a RowList::iterator as arg,
3726 (computeBidiTables): make it take a const reference to Row instead
3727 of Row pointer, adjust.
3728 (leftMargin): make it take a RowList::iterator as arg, adjust.
3729 (rowBreakPoint): adjust
3730 (breakAgainOneRow): make it take a RowList::iterator as arg,
3732 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3734 * bufferview_funcs.C (toggleAndShow): adjust
3736 2003-03-30 John Levon <levon@movementarian.org>
3740 * boost-inst.C: moved to support
3742 * several files: changes as a result
3744 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3746 * text2.C (LyXText): adjust.
3748 (removeRow): make it take a RowList::iterator as arg, adjust.
3749 (fullRebreak): adjust
3750 (deleteEmptyParagraphMechanism): adjust
3751 (clearPaint): adjust
3754 * text.C (top_y): adjust
3755 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3756 (breakAgain): make it take a RowList::iterator as arg, adjust.
3757 (breakParagraph): adjust
3758 (insertChar): adjust
3761 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3762 need_break_row, and refresh_row.
3764 * text3.C (dispatch): adjust
3766 * text2.C (checkParagraph): adjust
3768 (setCursorFromCoordinates): adjust
3770 * text.C (top_y): adjust
3772 (getRow): make it return a RowList::iterator, adjust
3773 (getRowNearY): make it return a RowList::iterator, adjust
3775 * text2.C (init): adjust
3776 (insertRow): remove function
3777 (insertParagraph): adjust
3778 (redoParagraphs): adjust
3779 (fullRebreak): adjust
3780 (updateCounters): adjust
3782 * text.C (top_y): rewrite to use RowList iterators.
3784 (setHeightOfRow): rewrite to sue RowList iterators.
3785 (appendParagraph): adjust
3786 (breakAgain): adjust
3787 (breakAgainOneRow): adjust
3788 (breakParagraph): adjust
3790 (getRowNearY): adjust, and remove commented code.
3792 * lyxtext.h (firstRow): delete function
3793 (lastRow): delete function
3794 (rows): new function (const and non-const versions.)
3795 (insertRow): delete function
3797 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3799 2003-03-29 John Levon <levon@movementarian.org>
3801 * BufferView_pimpl.C: always update scrollbar top
3802 because pasting text when we're anchored could mean we
3803 miss an update altogether
3805 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3807 * text2.C (init): use rowlist_.end() and not 0.
3808 (insertRow): change to take a RowList::iterator as arg, adjust
3810 (insertParagraph): change to take a RowList::iterator as arg,
3812 (redoParagraphs): remove some debug msgs.
3814 * text.C (appendParagraph): change to take a RowList::iterator
3815 arg, adjust for this.
3816 (breakAgain): add an assert
3817 (breakAgainOneRow): ditto
3819 2003-03-29 John Levon <levon@movementarian.org>
3821 * text2.C: do not clear selection after inc/decDepth
3824 2003-03-29 John Levon <levon@movementarian.org>
3827 * buffer.C: fix broken strerrors according to Lars
3829 2003-03-29 John Levon <levon@movementarian.org>
3831 * converters.C: more Alert cleanups
3833 2003-03-29 John Levon <levon@movementarian.org>
3835 * bufferview_funcs.C: remove pointless Alert
3837 * buffer.C: fix confusing error message when
3838 a template is chmoded 000
3840 2003-03-29 John Levon <levon@movementarian.org>
3844 * BufferView_pimpl.C: Alert fixes
3848 * tabular-old.C: remove unused table compat reading
3850 2003-03-29 John Levon <levon@movementarian.org>
3855 * lyx_cb.C: more Alert cleanups
3857 * lyxfunc.C: don't allow chktex if not latex document
3859 2003-03-29 John Levon <levon@movementarian.org>
3863 * buffer.C: warnings pushed down from support/,
3866 2003-03-29 John Levon <levon@movementarian.org>
3868 * lyxfunc.C: safety check for C-r (revert)
3870 2003-03-29 John Levon <levon@movementarian.org>
3873 * bufferlist.C: several UI fixes using Alert::prompt.
3874 Fix the pointless looping quit code. Fix stupid revert
3879 * lyx_cb.C: use Alert::prompt
3881 * lyx_main.C: remove a silly question
3883 * lyxfunc.C: remove a couple of silly questions,
3886 2003-03-28 John Levon <levon@movementarian.org>
3888 * text2.C: fix bug 974 (End on empty par)
3890 2003-03-28 John Levon <levon@movementarian.org>
3892 * BufferView_pimpl.C:
3894 * lfuns.h: remove do-nothing math greek lfuns
3896 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3898 * lyxgluelength.h (isValidGlueLength): add default arg on
3899 parameter 2. Remove default arg from friend in class.
3901 * lyxlength.h (isValidLength): add default arg on parameter 2.
3902 Remove default arg from friend in class.
3904 * text2.C (LyXText): adjust, initialize refresh_row.
3908 (insertParagraph): adjst
3909 (redoParagraphs): adjust
3910 (fullRebreak): adjust
3911 (updateCounters): adjust
3912 (deleteEmptyParagraphMechanism): first attempt at fixing a
3915 * text.C (top_y): adjust
3916 (setHeightOfRow): adjust
3918 (getRowNearY): adjust
3920 * lyxtext.h: include RowList.h
3921 (~LyXText): not needed anymore, deleted.
3922 (firstRow): modify for RowList
3923 (lastRow): new function
3924 Delete firstrow and lastrow class variables, add a Rowlist
3925 rowlist_ class variable.
3927 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3930 * RowList.C (insert): fix case where it == begin().
3932 2003-03-26 Angus Leeming <leeming@lyx.org>
3934 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3935 the thesaurus dialog.
3937 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3939 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3941 * RowList.[Ch]: new files
3943 * ParagraphList.C (erase): handle the case where it == begin
3946 2003-03-25 John Levon <levon@movementarian.org>
3950 * aspell.C: add new aspell support
3953 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3956 2003-03-25 Angus Leeming <leeming@lyx.org>
3959 * LyXAction.C (init): new LFUN_INSET_INSERT.
3961 * BufferView_pimpl.C (dispatch): split out part of the
3962 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3964 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3967 2003-03-25 Angus Leeming <leeming@lyx.org>
3969 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3971 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3974 * text3.C: remove useless row->height(0)
3976 2003-03-25 John Levon <levon@movementarian.org>
3980 * text3.C: rename the refreshing stuff to better names
3982 2003-03-24 John Levon <levon@movementarian.org>
3984 * BufferView_pimpl.h:
3985 * BufferView_pimpl.C: update layout choice on a mouse
3988 2003-03-23 John Levon <levon@movementarian.org>
3990 * Makefile.am: fix commandtags.h reference
3992 2003-03-22 John Levon <levon@movementarian.org>
3994 * BufferView_pimpl.C:
3999 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4001 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4004 * text.C: take the rtl methods out of line
4006 2003-03-21 André Pönitz <poenitz@gmx.net>
4008 * metricsinfo.[Ch]: new files containing structures to be passed around
4009 during the two-phase-drawing...
4011 2003-03-21 André Pönitz <poenitz@gmx.net>
4013 * lyxtextclass.C: read 'environment' tag.
4015 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4017 * text2.C (removeRow): fix bug 964
4019 2003-03-20 John Levon <levon@movementarian.org>
4023 * text2.C: paint cleanups. Inset::update() dropped font
4026 2003-03-19 John Levon <levon@movementarian.org>
4028 * lyxfunc.C: only fitcursor/markDirty if available()
4030 2003-03-19 John Levon <levon@movementarian.org>
4032 * commandtags.h: rename to ...
4034 * lfuns.h: ... this, and renumber / cleanup
4036 2003-03-19 John Levon <levon@movementarian.org>
4038 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4039 fit the cursor after an lfun
4043 * BufferView_pimpl.h:
4044 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4046 * LyXAction.C: layout-character should have ReadOnly
4048 * ParagraphParameters.C:
4050 * bufferview_funcs.C:
4057 * undo_funcs.C: changes from above
4059 2003-03-18 John Levon <levon@movementarian.org>
4061 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4062 remove it from update()
4064 * lyxfunc.C: update layout choice after an lfun
4066 * text3.C: remove extra updateLayoutChoice()s
4068 2003-03-18 John Levon <levon@movementarian.org>
4070 * text.C: top_y change means full repaint, fix
4071 a drawing bug with cursor movement
4073 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4077 * text2.C: anchor row on setCursor
4079 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4081 * lyxtext.h: remove almost all mutable keywords
4084 * text3.C: remove const keywords accordingly
4086 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4088 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4090 (TeXEnvironment): ditto
4093 2003-03-17 John Levon <levon@movementarian.org>
4095 * text.C (rowBreakPoint): remove attempt to fix displayed
4096 math insets inside a manual label
4098 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4100 * lyxtext.h: remove BufferView* as first arg from almost all class
4102 * other files: adjust.
4104 2003-03-17 John Levon <levon@movementarian.org>
4108 * text2.C: more paint cleanups
4110 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4113 * rowpainter.C: remove "smart" background painting code
4115 2003-03-16 John Levon <levon@movementarian.org>
4120 * text3.C: add helper functions for setting refresh_row/y
4122 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4124 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4125 newline inset which *can* get inserted in the pass_thru layouts.
4126 This is primarily for literate documents.
4128 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4130 * buffer.C: increment LYX_FORMAT to 223
4132 2003-03-14 André Pönitz <poenitz@gmx.net>
4134 * textclass.h: prepare for environment handling, ws changes
4135 * lyxlayout.C: read latexheader and latexfooter tags
4137 2003-03-14 John Levon <levon@movementarian.org>
4139 * text2.C: rewrite ::status() a bit
4141 2003-03-13 John Levon <levon@movementarian.org>
4143 * lyxtext.h: add some docs
4145 2003-03-13 John Levon <levon@movementarian.org>
4150 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4152 2003-03-13 John Levon <levon@movementarian.org>
4154 * text3.C: fix appendix redrawing
4156 2003-03-13 John Levon <levon@movementarian.org>
4158 * text.C (setHeightOfRow):
4160 * rowpainter.C: make appendix mark have the text
4161 "Appendix" so the user knows what it is
4164 * LColor.C: s/appendixline/appendix/ from above
4166 2003-03-13 John Levon <levon@movementarian.org>
4168 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4170 * text.C: fix a getChar(pos) bug properly
4172 2003-03-13 Angus Leeming <leeming@lyx.org>
4175 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4176 Probably only temporary. Let's see how things pan out.
4178 * BufferView.C (unlockInset):
4179 * BufferView_pimpl.C (fitCursor):
4180 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4182 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4183 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4185 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4186 new functions that convert ParagraphParameters to and from a string.
4188 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4189 BufferView::Pimpl's dispatch.
4190 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4192 2003-03-13 André Pönitz <poenitz@gmx.net>
4196 * factory.C: make it aware of InsetEnv
4198 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4200 * text2.C (setCursor): never ask for one past last
4201 (setCursor): add some debugging messages.
4203 * text.C (singleWidth): never ask for one past last
4204 (singleWidth): ditto
4206 (rightMargin): ditto
4207 (rowBreakPoint): ditto
4208 (setHeightOfRow): ditto
4209 (prepareToPrint): ditto
4211 * rowpainter.C (paintBackground): never ask for one past last
4212 (paintText): never ask for one past last
4214 * paragraph_pimpl.C (getChar): make the assert stricter, never
4215 allow the one past last pos to be taken
4217 * paragraph.C (getChar): ws changes only
4219 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4220 (numberOfSeparators): ditto
4221 (numberOfHfills): ditto
4223 2003-03-12 John Levon <levon@movementarian.org>
4229 * paragraph_funcs.C: fix per-buffer authorlists
4231 2003-03-12 John Levon <levon@movementarian.org>
4233 * text.C: fix newline in right address
4235 2003-03-12 Angus Leeming <leeming@lyx.org>
4237 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4238 duplicate those in LyXFunc::dispatch.
4242 * ToolbarDefaults.C:
4243 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4244 Add LFUN_FONTFREE_UPDATE.
4246 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4247 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4249 * bufferview_func.[Ch]: several new functions to facilliate
4250 transfer of data to and from the character dialog.
4252 2003-03-12 John Levon <levon@movementarian.org>
4257 * paragraph_funcs.C:
4258 * paragraph_pimpl.C:
4262 * text3.C: remove META_NEWLINE in favour of an inset
4265 * rowpainter.C: remove paintNewline (done by inset)
4267 2003-03-12 John Levon <levon@movementarian.org>
4269 * paragraph_pimpl.C: complain about bad getChar()s
4270 for a while at least
4272 2003-03-12 John Levon <levon@movementarian.org>
4275 * buffer.C: move paragraph read into a separate function,
4276 a little renaming to reflect that.
4279 * bufferparams.C: remove the author_ids map, not necessary now
4282 * factory.C: moved Buffer::readInset to here
4284 * paragraph_funcs.h:
4285 * paragraph_funcs.C: readParagraph free function moved from
4288 * tabular.C: name change
4290 2003-03-12 John Levon <levon@movementarian.org>
4293 * ParagraphParameters.C: move par params input to
4296 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4297 behave like a normal read from the stream wrt reading
4298 a line vs. a \\token
4300 2003-03-12 John Levon <levon@movementarian.org>
4303 * ParagraphParameters.h:
4304 * ParagraphParameters.C: move output code to a
4307 2003-03-12 John Levon <levon@movementarian.org>
4309 * BufferView.C (insertLyXFile):
4312 * tabular.C: use a parlist iterator for creating the
4315 2003-03-12 John Levon <levon@movementarian.org>
4317 * buffer.C: make current_change static local not
4320 2003-03-12 John Levon <levon@movementarian.org>
4322 * buffer.C: fix insertStringAsLines for change tracking
4324 2003-03-12 John Levon <levon@movementarian.org>
4331 * bufferparams.C: move author list into params. Rename some
4332 functions. Move the header reading into a separate token
4333 loop. Move the header token reading into BufferParams.
4335 2003-03-12 John Levon <levon@movementarian.org>
4337 * changes.C: put debug inside lyxerr.debugging() checks
4339 2003-03-11 André Pönitz <poenitz@gmx.net>
4341 * factory.C: make it aware of InsetHFill
4343 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4345 * buffer.C (latexParagraphs): move function from here...
4346 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4349 2003-03-10 Angus Leeming <leeming@lyx.org>
4351 * LyXAction.C (init): fix bug in poplating array with multiple entries
4352 with the same LFUN (spotted by JMarc).
4354 2003-03-10 John Levon <levon@movementarian.org>
4357 * text2.C: move getColumnNearX() near its
4360 2003-03-10 John Levon <levon@movementarian.org>
4362 * text.C: fix break before a minipage
4364 2003-03-10 John Levon <levon@movementarian.org>
4366 * text.C: fix the last commit
4368 2003-03-09 John Levon <levon@movementarian.org>
4372 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4373 bug 365 (don't break before insets unless needed). Don't
4374 return a value > last under any circumstances.
4376 2003-03-09 Angus Leeming <leeming@lyx.org>
4378 * BufferView_pimpl.C (trackChanges, dispatch): call
4379 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4381 2003-03-09 Angus Leeming <leeming@lyx.org>
4383 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4384 than Dialogs::showAboutlyx().
4386 2003-03-09 Angus Leeming <leeming@lyx.org>
4388 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4389 than Dialogs::showTabularCreate().
4391 2003-03-09 John Levon <levon@movementarian.org>
4395 * text2.C: 3rd arg to nextBreakPoint was always the same.
4398 2003-03-08 John Levon <levon@movementarian.org>
4405 * text2.C: Remove the "main" bit from the "main body"
4408 2003-03-08 John Levon <levon@movementarian.org>
4410 * text.C (leftMargin): The left margin of an empty
4411 manual label paragraph should not include the label width
4414 * text.C (prepareToPrint): don't attempt to measure hfills
4415 for empty manual label paragraphs - the answer should be 0
4417 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4419 * CutAndPaste.C: remove commented code and reindent.
4421 2003-03-08 John Levon <levon@movementarian.org>
4424 * lyxfunc.C: move reloadBuffer()
4427 * BufferView.C: to here
4429 * lyxvc.C: add comment
4432 * vc-backend.C: call bv->reload() to avoid
4433 getStatus() check on MENURELOAD
4435 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4437 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4438 to an old format .dep file.
4440 2003-03-07 Angus Leeming <leeming@lyx.org>
4442 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4443 when the LFUN_MOUSE_RELEASE should have been handled by
4444 inset->localDispatch.
4446 2003-03-07 Angus Leeming <leeming@lyx.org>
4448 * BufferView_pimpl.C (dispatch):
4449 * LyXAction.C (init):
4450 * ToolbarDefaults.C (init):
4452 * lyxfunc.C (getStatus):
4453 remove LFUN_INSET_GRAPHICS.
4455 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4457 2003-03-07 Angus Leeming <leeming@lyx.org>
4460 * LyXAction.C (init):
4461 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4463 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4466 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4468 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4469 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4471 2003-03-07 Angus Leeming <leeming@lyx.org>
4473 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4476 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4478 * ParagraphList.C (front): new function
4481 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4483 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4484 and top_row_offset_. removed var first_y.
4486 * text2.C (LyXText, removeRow):
4488 * BufferView_pimpl.C:
4489 use these methods instead of using first_y
4491 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * text2.C (pasteSelection): adjust for checkPastePossible
4495 * CutAndPaste.C: remove Paragraph * buf and replace with
4496 ParagraphList paragraphs.
4497 (DeleteBuffer): delete
4498 (cutSelection): change the tc type to textclass_type
4499 (copySelection): change the tc type to textclass_type
4500 (copySelection): adjust for ParagraphList
4501 (pasteSelection): change the tc type to textclass_type
4502 (pasteSelection): adjust for Paragraphlist
4503 (nrOfParagraphs): simplify for ParagraphList
4504 (checkPastePossible): simplify for ParagraphList
4505 (checkPastePossible): remove unused arg
4507 * ParagraphList.C (insert): handle the case where there are no
4510 * CutAndPaste.h: make CutAndPaste a namespace.
4512 * text3.C (dispatch): adjust
4514 * text.C (breakParagraph): add a ParagraphList as arg
4516 * paragraph_funcs.C (breakParagraph): change to take a
4517 BufferParams and a ParagraphList as args.
4518 (breakParagraphConservative): ditto
4519 (mergeParagraph): ditto
4520 (TeXDeeper): add a ParagraphList arg
4521 (TeXEnvironment): ditto
4524 * buffer.C (readLyXformat2): adjust
4525 (insertStringAsLines): adjust
4526 (latexParagraphs): adjust
4528 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4529 (cutSelection): adjust
4530 (pasteSelection): adjust
4532 * BufferView_pimpl.C (insertInset): adjust
4534 2003-03-05 Angus Leeming <leeming@lyx.org>
4537 * LyXAction.C (init):
4538 * BufferView_pimpl.C (dispatch):
4539 * lyxfunc.C (getStatus):
4540 remove LFUN_CHILD_INSERT.
4542 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4544 2003-03-05 Angus Leeming <leeming@lyx.org>
4547 * LyXAction.C (init):
4548 * src/factory.C (createInset):
4549 * lyxfunc.C (getStatus):
4550 * text3.C (dispatch):
4551 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4553 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4555 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4557 * ParagraphList.C (insert): handle insert right before end()
4558 (erase): fix cases where it can be first or last paragraph.
4560 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4562 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4563 Paragraph::next and Paragraph::previous
4566 * text.C (breakParagraph): adjust
4568 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4569 BufferParams& as arg.
4570 (breakParagraph): use ParagraphList::insert
4571 (breakParagraphConservative): take a Buffer* instead of a
4572 BufferParams& as arg.
4573 (breakParagraphConservative): use ParagraphList::insert.
4575 * buffer.C (insertStringAsLines): un-const it
4576 (insertStringAsLines): adjust
4578 * ParagraphList.C (insert): new function
4580 * CutAndPaste.C (pasteSelection): adjust
4582 * text.C (backspace): adjust
4584 * tabular.C (SetMultiColumn): adjust
4586 * CutAndPaste.C (cutSelection): adjust
4587 (pasteSelection): adjust
4589 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4590 Buffer const * as arg
4592 * ParagraphList.C (erase): new function
4593 * paragraph_funcs.C (mergeParagraph): use it
4594 (mergeParagraph): make it take a Buffer* instead of a
4595 BufferParams* as arg
4597 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4599 (breakParagraphConservative): ditto
4601 * paragraph.h: remove the breakParagraph friend
4603 * paragraph.C (eraseIntern): new function
4604 (setChange): new function
4606 * paragraph_funcs.C (mergeParagraph): make it take a
4607 ParagraphList::iterator instead of a Paragraph *, adjust
4610 * paragraph.h: move an #endif so that the change tracking stuff
4611 also works in the NO_NEXT case.
4613 2003-03-04 Angus Leeming <leeming@lyx.org>
4616 * LyXAction.C: new LFUN_INSET_MODIFY.
4618 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4619 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4621 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4623 * several files: ws changes only
4625 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4626 (TeXEnvironment): ditto
4629 * buffer.C (makeLaTeXFile): adjust
4630 (latexParagraphs): make it take ParagraphList::iterator as args
4632 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4634 * buffer.C (latexParagraphs): adjust
4636 * paragraph.C (TeXOnePar): move function...
4637 (optArgInset): move function...
4638 (TeXEnvironment): move function...
4639 * paragraph_pimpl.C (TeXDeeper): move function...
4640 * paragraph_funcs.C: ...here
4642 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4644 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4646 * buffer.C (readInset): remove compability code for old Figure and
4649 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4651 * buffer.C: ws changes
4654 * BufferView_pimpl.C: ditto
4657 * bufferlist.h: ditto
4661 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4663 * converter.[Ch]: split into itself +
4666 * Makefile.am: += graph.[Ch] + format.[Ch]
4673 * lyxrc.C: added #include "format.h"
4675 2003-02-27 Angus Leeming <leeming@lyx.org>
4677 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4680 * factory.C (createInset): add "label" to the factory.
4682 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4683 string and do no more.
4685 2003-02-27 Angus Leeming <leeming@lyx.org>
4688 * LyXAction.C (init):
4689 * factory.C (createInset):
4690 * BufferView_pimpl.C (dispatch):
4691 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4693 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4695 * lyxfunc.C (dispatch):
4696 * text3.C (dispatch): pass name to params2string.
4698 2003-02-26 Angus Leeming <leeming@lyx.org>
4700 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4702 Rearrange the ~includes. Strip out the unnecessary ones.
4704 * factory.C (createInset): reformat.
4705 create new insets for the various LFUN_XYZ_APPLY lfuns.
4707 2003-02-26 John Levon <levon@movementarian.org>
4710 * lyxrow.C: add isParStart,isParEnd helpers
4712 * paragraph.h: make isInserted/DeletedText take refs
4714 * paragraph_funcs.h:
4715 * paragraph_funcs.C: remove #if 0'd code
4720 * text.C: use lyxrow helpers above.
4721 Move draw and paint routines to RowPainter.
4722 Make several methods use refs not pointers.
4723 Make backgroundColor() const.
4724 Add markChangeInDraw(), isInInset().
4725 Merge changeRegionCase into changeCase.
4726 Make workWidth() shouldn't-happen code into an Assert.
4729 * rowpainter.C: new class for painting a row.
4732 * vspace.C: make inPixels take a ref
4734 2003-02-26 Angus Leeming <leeming@lyx.org>
4736 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4739 2003-02-25 John Levon <levon@movementarian.org>
4741 * ispell.C: give the forked command a more accurate name
4743 2003-02-22 John Levon <levon@movementarian.org>
4746 * toc.C: make TocItem store an id not a Paragraph *
4749 2003-02-21 Angus Leeming <leeming@lyx.org>
4751 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4752 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4753 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4754 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4755 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4756 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4758 * BufferView_pimpl.C (dispatch):
4759 * LyXAction.C (init):
4760 * factory.C (createInset):
4761 * lyxfunc.C (getStatus, dispatch):
4762 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4764 2003-02-21 Angus Leeming <leeming@lyx.org>
4766 * BufferView_pimpl.C (MenuInsertLyXFile):
4767 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4768 * lyxfunc.C (menuNew, open, doImport):
4769 no longer pass a LyXView & to fileDlg.
4771 2003-02-21 Angus Leeming <leeming@lyx.org>
4773 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4774 * LyXAction.C: change, BIBKEY to BIBITEM.
4775 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4776 Change InsetBibKey to InsetBibitem.
4777 Change BIBKEY_CODE to BIBITEM_CODE.
4778 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4779 * factory.C: replace insetbib.h with insetbibitem.h.
4780 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4781 * paragraph.C: replace insetbib.h with insetbibitem.h.
4782 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4783 Change bibkey() to bibitem().
4784 * text.C: remove insetbib.h.
4785 * text2.C: replace insetbib.h with insetbibitem.h.
4786 change bibkey() to bibitem().
4787 * text3.C: remove insetbib.h.
4788 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4790 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4792 * lyxrc.C (output): enclose user email in quotes (in case there are
4795 2003-02-18 John Levon <levon@movementarian.org>
4797 * buffer.h: add std::
4799 2003-02-17 John Levon <levon@movementarian.org>
4805 * pspell.C: reworking. Especially in ispell, a large
4806 number of clean ups and bug fixes.
4808 * lyxfunc.C: fix revert to behave sensibly
4810 2003-02-17 André Pönitz <poenitz@gmx.net>
4813 * commandtags.h: new LFUN_INSERT_BIBKEY
4823 * paragraph_func.C: remove special bibkey handling
4825 2003-02-17 John Levon <levon@movementarian.org>
4827 * text.C (Delete): fix case where delete at the end of
4828 the very first paragraph would not merge the pars
4830 2003-02-17 John Levon <levon@movementarian.org>
4832 * lyxrow.C: fix lastPrintablePos()
4834 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4836 * bufferparams.C (writeLaTeX): add a std:here
4838 * buffer.C: and remove a using directive there
4840 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4842 * buffer.C (makeLaTeXFile): move the code that generates the
4845 * bufferparams.C (writeLaTeX): ... in this new method
4847 * LaTeXFeatures.C (getEncodingSet): make const
4848 (getLanguages): make const
4850 * MenuBackend.C (binding): returns the binding associated to this
4852 (add): sets the status of each item by calling getStatus. Adds
4854 (read): add support for OptSubMenu
4855 (expand): remove extra separator at the end of expanded menu
4857 2003-02-15 John Levon <levon@movementarian.org>
4860 * BufferView_pimpl.C:
4862 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4863 inset code that had no actual effect. Remove unneeded status
4866 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4868 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4871 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4873 * text.C (drawLengthMarker): also draw an arrow marker for
4874 symbolic lengths (medskip...)
4876 2003-02-14 John Levon <levon@movementarian.org>
4879 * tabular.C: better method names
4881 2003-02-14 John Levon <levon@movementarian.org>
4883 * BufferView_pimpl.C:
4888 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4889 it's a more accurate name. Remove some pointless uses.
4891 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4893 * text2.C (LyXText): change order of initilizers to shut off
4896 2003-02-14 John Levon <levon@movementarian.org>
4898 * buffer.C: use ParIterator for getParFromID()
4902 * paragraph_pimpl.h:
4903 * paragraph_pimpl.C: remove unused getParFromID()
4905 2003-02-14 John Levon <levon@movementarian.org>
4907 * buffer.C: remove some very old #if 0'd parse code
4909 2003-02-13 John Levon <levon@movementarian.org>
4913 * text2.C: move hfillExpansion(), numberOfSeparators(),
4914 rowLast(), rowLastPrintable(), numberofHfills(),
4915 numberOfLabelHfills() ...
4918 * lyxrow.C: ... to member functions here.
4923 * text.C: remove LyXText::beginningOfMainBody(), and call
4924 p->beginningOfMainBody() directly. Move the check for
4925 LABEL_MANUAL into the latter.
4932 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4938 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4939 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4941 2003-02-13 John Levon <levon@movementarian.org>
4943 * CutAndPaste.C: remove debug
4945 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4947 * paragraph.C (asString): remove two unused variables
4949 * lyxtextclass.C (readTitleType):
4951 (LyXTextClass): handle new members titletype_ and titlename_
4953 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4955 2003-02-09 John Levon <levon@movementarian.org>
4958 * buffer.C: replace hand-coded list with a map for the dep clean
4960 2003-02-08 John Levon <levon@movementarian.org>
4962 * LaTeX.C: consolidate code into showRunMessage() helper
4964 2003-02-08 John Levon <levon@movementarian.org>
4969 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4970 and pass the size in explicitly
4972 * BufferView_pimpl.h:
4973 * BufferView_pimpl.C:
4975 * BufferView.C: add getCurrentChange()
4977 * BufferView_pimpl.h:
4978 * BufferView_pimpl.C: handle change lfuns
4980 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4981 for changes. Mark pasted paragraphs as new.
4983 * support/lyxtime.h:
4984 * support/lyxtime.C:
4985 * DepTable.C: abstract time_t as lyx::time_type
4988 * LColor.C: add colours for new text, deleted text, changebars
4990 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4991 package use "usenames" option.
4995 * LyXAction.C: add change lfuns
4999 * author.C: author handling
5002 * buffer.C: add a per-buffer author list, with first entry as
5003 current author. Handle new .lyx tokens for change tracking. Output
5004 author list to .lyx file. Output dvipost stuff to .tex preamble.
5005 Bump lyx format to 222.
5008 * bufferlist.C: add setCurrentAuthor() to reset current author details
5012 * bufferparams.C: add param for tracking
5014 * bufferview_funcs.C: output change info in minibuffer
5018 * changes.C: add change-tracking structure
5021 * debug.C: add CHANGES debug flag
5024 * lyxfind.C: add code for finding the next change piece
5027 * lyxrc.C: add user_name and user_email
5030 * lyxrow.C: add a metric for the top of the text line
5033 * text.C: implement accept/rejectChange()
5036 * text.C: paint changebars. Paint new/deleted text in the chosen
5037 colours. Strike through deleted text.
5041 * paragraph_pimpl.h:
5042 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5043 in the current change to the insert functions. Rework erase to
5044 mark text as deleted, adding an eraseIntern() and a range-based
5045 erase(). Implement per-paragraph change lookup and
5048 * paragraph_funcs.C: Fixup paste for change tracking.
5050 * tabular.C: mark added row/columns as new.
5052 * text.C: fix rowLast() to never return -1. Don't allow
5053 spellchecking of deleted text. Track transpose changes. Don't
5054 allow paragraph break or merge where appropriate.
5056 * text2.C: leave cursor at end of selection after a cut.
5058 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5060 * text.C (getLengthMarkerHeight):
5061 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5062 visible on screen too.
5064 2003-02-07 John Levon <levon@movementarian.org>
5066 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5068 2003-02-05 Angus Leeming <leeming@lyx.org>
5070 * lyxserver.C (read_ready): revert my patch of 11 September last year
5071 as it sends PC cpu through the roof. Presumably this means that
5072 the lyxserver will no longer run on an Alpha...
5074 2003-01-30 Angus Leeming <leeming@lyx.org>
5076 * factory.C (createInset): create an InsetCommandParam of type "index"
5077 and use it to 'do the right thing'.
5079 * text2.C (getStringToIndex): ensure that cursor position is always
5080 reset to the reset_cursor position.
5082 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5084 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5087 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5091 * lyxfunc.C: Output messages with identical spelling, punctuation,
5094 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5096 * MenuBackend.C (expandFormats): List only viewable export formats
5099 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5102 * lyxfunc.C (getStatus): Make sure that formats other than
5103 "fax" can also be disabled
5105 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5107 * text3.C (dispatch): put the lfuns that insert insets in 3
5108 groups, and call doInsertInset with appropriate arguments.
5109 (doInsertInset): new function, that creates an inset and inserts
5110 it according to some boolean parameters.
5112 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5114 * buffer.C (readFile): remember to pass on 'par' when calling
5115 readFile recursively.
5117 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5119 * MenuBackend.C (expandFormats): add "..." to import formats.
5121 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5123 * paragraph.C (asString): Remove XForms RTL hacks.
5125 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5126 * buffer.C: fix typo
5128 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5130 * Makefile.am (LIBS): delete var
5131 (lyx_LDADD): add @LIBS@ here instead.
5133 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5135 * Clarify the meaning of "wheel mouse jump"
5137 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5139 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5142 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5144 * importer.C (Loaders): do not preallocate 3 elements in the
5145 vector, since one ends up with 6 elements otherwise
5147 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5149 * DepTable.C (write): write the file name as last element of the
5150 .dep file (because it may contain spaces)
5151 (read): read info in the right order
5153 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5155 * paragraph_pimpl.C (simpleTeXBlanks):
5156 (simpleTeXSpecialChars):
5157 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5159 * tabular.C (latex): add some missing case statements. Reindent.
5161 * MenuBackend.C (expandToc): remove unused variable.
5163 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5172 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5175 2003-01-05 John Levon <levon@movementarian.org>
5178 * BufferView.C: add getEncoding()
5181 * kbsequence.C: do not store last keypress
5184 * lyxfunc.C: store last keypress here instead. Pass encoding
5187 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5189 * lyx_main.C (init): remove annoying error message when following
5190 symbolic links (bug #780)
5192 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5194 * text.C (insertChar):
5195 * lyxrc.C (getDescription): remove extra spaces
5197 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5199 * lyxrc.C (getDescription): remove extra spaces
5201 2002-12-20 John Levon <levon@movementarian.org>
5203 * text3.C: hack fix for page up/down across tall rows
5205 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5207 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5210 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5212 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5213 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5214 thesaurus is not compiled in
5216 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5218 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5220 2002-12-16 Angus Leeming <leeming@lyx.org>
5223 * lyx_main.C (init): remove override_x_deadkeys stuff.
5225 2002-12-12 John Levon <levon@movementarian.org>
5227 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5228 insert. Only remove shift modifier under strict
5231 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * MenuBackend.C (expandToc): fix crash.
5235 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5237 * MenuBackend.C (expandToc): gettext on float names.
5239 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5241 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5242 implement bool empty() [bug 490]
5244 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5246 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5248 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * several files: ws changes
5252 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5254 * text2.C (setCounter): clean up a bit, use boost.format.
5255 (updateCounters): initialize par upon declaration.
5257 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5258 if the layout exists. We do not just store the layout any more.
5259 (SwitchLayoutsBetweenClasses): use boost.format
5261 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5263 * converter.C (convert): if from and to files are the same, use a
5264 temporary files as intermediary
5266 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5269 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5271 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5273 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5275 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * tabular.C (asciiPrintCell): use string(size, char) instead of
5280 * sgml.C (openTag): fix order of arguments to string constructor
5283 * lyxfunc.C (dispatch): use boost.format
5285 * lots of files: change "c" -> 'c'
5287 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5289 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5291 2002-11-25 Angus Leeming <leeming@lyx.org>
5293 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5295 * lyx_main.C (init): compile fix.
5297 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5299 * lyx_cb.C (start): boost.formatify
5300 do not include <iostream>
5302 * lengthcommon.C: ws only
5304 * boost-inst.C,BoostFormat.h: add more explict instantations
5306 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5308 * lots of files: handle USE_BOOST_FORMAT
5310 2002-11-21 John Levon <levon@movementarian.org>
5312 * pspell.C: fix compile
5314 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5316 * lyxfunc.C (dispatch): use boost::format
5320 * lyxfont.C (stateText): use boost::format
5322 * lyx_main.C (LyX): use boost::format
5324 (queryUserLyXDir): ditto
5327 (typedef boost::function): use the recommened syntax.
5329 * importer.C (Import): use boost::format
5331 * debug.C (showLevel): use boost::format
5333 * converter.C (view): use boost::format
5338 * bufferview_funcs.C (currentState): use boost::format
5340 * bufferlist.C (emergencyWrite): use boost::format
5342 * buffer.C (readLyXformat2): use boost::format
5343 (parseSingleLyXformat2Token): ditto
5345 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5347 * LaTeX.C (run): use boost::format
5349 * Chktex.C (scanLogFile): use boost::format
5351 * BufferView_pimpl.C (savePosition): use boost::format
5352 (restorePosition): ditto
5353 (MenuInsertLyXFile): ditto
5355 * BoostFormat.h: help file for explicit instation.
5357 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5359 * tabular.C (latex): Support for block alignment in fixed width
5362 2002-11-17 John Levon <levon@movementarian.org>
5364 * BufferView_pimpl.C:
5366 * lyxfunc.C: split filedialog into open/save
5368 2002-11-08 Juergen Vigna <jug@sad.it>
5370 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5371 by my last patch (hopefully).
5373 2002-11-08 John Levon <levon@movementarian.org>
5382 * toc.C: ParConstIterator, and use it (from Lars)
5384 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5386 * lyxtextclass.[Ch]: revise and add doxygen comments
5388 2002-11-07 John Levon <levon@movementarian.org>
5390 * text.C: fix progress value for spellchecker
5392 * toc.C: fix navigate menu for insetwrap inside minipage
5394 * paragraph_funcs.C: added FIXME for suspect code
5396 2002-11-07 John Levon <levon@movementarian.org>
5398 * BufferView_pimpl.C: fix redrawing of insets
5401 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5403 * text2.C (updateCounters): fix bug 668
5405 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5407 * text3.C (dispatch): Do not make the buffer dirty when moving the
5410 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5412 * vc-backend.C: STRCONV
5415 * text2.C (setCounter): STRCONV
5417 * paragraph.C (asString): STRCONV
5419 * lyxlength.C (asString): STRCONV
5420 (asLatexString): ditto
5422 * lyxgluelength.C (asString): STRCONV
5423 (asLatexString): ditto
5425 * lyxfunc.C (dispatch): STRCONV
5428 * lyxfont.C (stateText): STRCONV
5430 * importer.C (Import): STRCONV
5432 * counters.C (labelItem): STRCONV
5433 (numberLabel): ditto
5434 (numberLabel): remove unused ostringstream o
5439 * bufferview_funcs.C (currentState): STRCONV
5441 * buffer.C (readFile): STRCONV
5442 (asciiParagraph): ditto
5443 (makeLaTeXFile): ditto
5445 * Spacing.C (writeEnvirBegin): STRCONV
5447 * LaTeXFeatures.C (getLanguages): STRCONV
5448 (getPackages): ditto
5450 (getBabelOptions): ditto
5451 (getTClassPreamble): ditto
5452 (getLyXSGMLEntities): ditto
5453 (getIncludedFiles): ditto
5457 (scanAuxFile): ditto
5460 * LString.h: add the STRCONV macros
5462 * BufferView_pimpl.C (savePosition): STRCONV
5463 (restorePosition): ditto
5464 (MenuInsertLyXFile): ditto
5466 * vc-backend.C (scanMaster): change from submatch[...] to
5469 * funcrequest.C: include config.h
5471 * factory.C: include config.h
5473 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5475 * box.C: include config.h
5477 * LaTeX.C (scanAuxFile): change from submatch[...] to
5481 2002-10-25 Angus Leeming <leeming@lyx.org>
5483 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5485 * ispell.[Ch] (setError): new method.
5486 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5487 Use setError() insetead of goto END.
5489 * lyx_cb.C (AutoSave): move out child process into new class
5492 2002-10-30 John Levon <levon@movementarian.org>
5494 * text3.C: make start appendix undoable
5496 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5498 * lyxlength.C (inPixels): Fix returned value.
5500 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5503 2002-10-24 Angus Leeming <leeming@lyx.org>
5505 * lyxgluelength.h: no need to forward declare BufferParams
5506 or BufferView, so don't.
5508 2002-10-21 John Levon <levon@movementarian.org>
5510 * BufferView.C: menuUndo ->undo, redo
5512 * BufferView.h: document, remove dead, make some methods private
5514 * paragraph_funcs.h:
5515 * paragraph_funcs.C:
5516 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5521 * sgml.C: move sgml open/close tag into sgml.C
5523 * bufferview_funcs.h: unused prototype
5526 * lyxfunc.C: remove unused
5529 * text.C: remove unused
5531 2002-10-21 John Levon <levon@movementarian.org>
5535 * BufferView_pimpl.h:
5536 * BufferView_pimpl.C: fix mouse wheel handling based on
5537 patch from Darren Freeman
5539 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5541 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5543 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5545 * lyxlength.C (inPixels): Fix hanfling of negative length.
5546 Fix LyXLength::MU case.
5548 2002-10-16 John Levon <levon@movementarian.org>
5550 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5552 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5554 * converter.C (view): add support for $$i (file name) and $$p
5555 (file path) for the viewer command. If $$i is not specified, then
5556 it is appended to the command (for compatibility with old syntax)
5558 2002-10-14 Juergen Vigna <jug@sad.it>
5560 * undo_funcs.C (textHandleUndo): alter the order in which the
5561 new undopar is added to the LyXText, as we have to set first
5562 the right prev/next and then add it as otherwise the rebuild of
5563 LyXText is not correct. Also reset the cursor to the right paragraph,
5564 with this IMO we could remove the hack in "redoParagraphs()".
5566 2002-10-09 Angus Leeming <leeming@lyx.org>
5568 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5569 to turn off an optimisation if a new inset is to be inserted.
5571 2002-10-11 André Pönitz <poenitz@gmx.net>
5573 * lyxtext.h: make some functions public to allow access
5574 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5576 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5578 * text3.C (dispatch): when changing layout, avoid an infinite loop
5581 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5583 * lyxrc.C (read): treat a viewer or converter command of "none" as
5586 * MenuBackend.C (expandFormats): for an update, also allow the
5587 formats that are not viewable
5589 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5590 script if it is newer than the lyxrc.defaults in user directory
5592 2002-10-07 André Pönitz <poenitz@gmx.net>
5594 * text.C: Vitaly Lipatov's small i18n fix
5596 2002-09-25 Angus Leeming <leeming@lyx.org>
5598 * ispell.h: doxygen fix.
5600 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5602 * buffer.h (readFile): Add a new argument to the method, to allow
5603 reading of old-format templates.
5605 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5607 * toc.C (getTocList): Get TOC from InsetWrap.
5609 2002-09-16 John Levon <levon@movementarian.org>
5611 * lyxfunc.C: check tabular for cut/copy too
5613 2002-09-12 John Levon <levon@movementarian.org>
5618 * factory.C: add header
5620 * paragraph_funcs.h:
5621 * paragraph_funcs.C: cleanup
5623 2002-09-11 John Levon <levon@movementarian.org>
5625 * PrinterParams.h: odd/even default to true
5627 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5629 * PrinterParams.h: update printer parameters for new xforms dialog
5631 2002-09-11 Angus Leeming <leeming@lyx.org>
5633 * lyxserver.C (read_ready): re-write to make it more transparent
5634 and to make it work in coherent fashion under Tru64 Unix.
5636 2002-09-11 André Pönitz <poenitz@gmx.net>
5640 * text3.C: implement LFUN_WORDSEL
5642 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5644 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5645 make floatlist_ a boost::shared_ptr<FloatList>
5647 * lyxtextclass.C: include FloatList.h
5648 (LyXTextClass): initialize floatlist_
5649 (TextClassTags): add TC_NOFLOAT
5650 (Read): match "nofloat" to TC_NOFLOAT and use it.
5651 (readFloat): modify call to floatlist_
5655 * FloatList.[Ch] (FloatList): remove commented out float
5657 (erase): new function
5659 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5661 * MenuBackend.C (expandToc): fix crash when there is no document
5664 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5666 * many files: Add insetwrap.
5668 2002-09-09 John Levon <levon@movementarian.org>
5670 * text2.C: remove confusing and awkward depth wraparound
5672 2002-09-09 John Levon <levon@movementarian.org>
5674 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5677 * buffer.C: remove getIncludeonlyList()
5680 * lyxfunc.C: remove headers
5682 2002-09-09 Juergen Vigna <jug@sad.it>
5684 * text.C (getColumnNearX): fix form Michael this is most
5685 probably a cut&paste bug.
5687 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5689 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5691 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5692 references, ws changes.
5694 * text2.C (init): update counters after init
5695 (insertParagraph): no need to set counter on idividual paragraphs.
5696 (setCounter): access the counters object in the textclass object
5697 on in the buffer object.
5698 (updateCounters): ditto
5700 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5701 shared_ptr<Counters> to avoid loading counters.h in all
5703 (LyXTextClass): initialize ctrs_
5704 (TextClassTags): add TC_COUNTER, and ...
5705 (Read): use it here.
5706 (CounterTags): new tags
5707 (readCounter): new function
5708 (counters): new funtion
5709 (defaultLayoutName): return a const reference
5711 * counters.C (Counters): remove contructor
5712 (newCounter): remove a couple of unneeded statements.
5713 (newCounter): simplify a bit.
5714 (numberLabel): some small formatting changes.
5716 * buffer.[Ch]: remove all traces of counters, move the Counters
5717 object to the LyXTextClass.
5719 2002-09-06 Alain Castera <castera@in2p3.fr>
5721 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5722 package to set the horizontal alignment on fixed width columns.
5725 * lyx_sty.h: added tabularnewline macro def.
5727 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5729 2002-09-06 John Levon <levon@movementarian.org>
5731 * LyXAction.C: tooltips for sub/superscript
5733 * MenuBackend.C: a bit more verbose
5735 * lyxfunc.C: tiny clean
5737 * undo_funcs.C: document undo_frozen
5739 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5741 * counters.C (Counters): add missing algorithm counter.
5743 * text2.C (setCounter): lookup the counter with layouts latexname
5744 instead of by section number.
5745 (setCounter): use a hackish way to lookup the correct enum
5747 a float name->type change
5748 reset enum couners with counter name directly instead of depth value.
5750 * counters.C (Counters): remove the push_backs, change to use the
5751 float type not the float name.
5752 (labelItem): remove unused string, float name->type change
5754 * counters.h: don't include vector, loose the enums and sects vectors
5756 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5758 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5759 (Read): add float->TC_FLOAT to textclassTags
5760 (Read): and handle it in the switch
5761 (readFloat): new function
5763 * FloatList.C (FloatList): comment out the hardcoded float
5766 * lyxlayout.h: ws change.
5768 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5770 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5772 2002-09-03 Angus Leeming <leeming@lyx.org>
5774 * BufferView_pimpl.h: qualified name is not allowed in member
5775 declaration: WorkArea & Pimpl::workarea() const;
5777 * factory.C: added using std::endl directive.
5779 * text3.C: added using std::find and std::vector directives.
5781 2002-08-29 André Pönitz <poenitz@gmx.net>
5784 * text2.C: remove unused member number_of_rows
5787 * BufferView2.C: remove file, move contents to...
5788 * BufferView.C: ... here
5790 * BufferView_pimpl.C:
5791 * factory.C: move more inset creation to factory
5793 * vspace.C: avoid direct usage of LyXText, ws changes
5796 don't provide direct access to WorkArea, use two simple
5797 acessors haveSelction() and workHeight() instead
5800 2002-08-29 John Levon <levon@movementarian.org>
5802 * BufferView_pimpl.C (dispatch): do not continue when
5805 2002-08-28 André Pönitz <poenitz@gmx.net>
5807 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5810 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5812 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5814 * buffer.C: increment LYX_FORMAT to 221
5816 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5817 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5819 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5821 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5823 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5825 * factory.C (createInset): use LyXTextClass::floats
5827 * MenuBackend.C (expandFloatListInsert):
5828 (expandFloatInsert):
5831 * text2.C (setCounter):
5833 * LaTeXFeatures.C (useFloat):
5834 (getFloatDefinitions):
5836 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5838 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5839 floatlist_, with accessor floats().
5841 * FloatList.h: remove global FloatList
5843 2002-08-26 André Pönitz <poenitz@gmx.net>
5845 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5849 * BufferView_pimpl.C:
5850 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5852 2002-08-25 John Levon <levon@movementarian.org>
5854 * LyXAction.C: fix margin note description
5856 2002-08-24 John Levon <levon@movementarian.org>
5860 * bufferview_funcs.C:
5862 * undo_funcs.C: cleanups
5864 * lyxfunc.C: disable CUT/COPY when no selection
5866 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5868 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5869 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5871 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5872 Add backward compatibility to "mono", "gray" and "no".
5874 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5876 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5877 (and file_format >= 200).
5879 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5881 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5883 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5885 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5887 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5889 * BufferView_pimpl.C:
5896 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5897 inset and code to make it work with the paragraph code. The inset
5898 can be anywhere in the paragraph, but will only do the expected
5899 thing in LaTeX if the layout file contains the parameter line
5901 (or more generally, a nonzero value) for that layout.
5903 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5905 * paragraph.h: remove the declaration of undefined counters class
5908 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5910 * text2.C (setCounter): fixed enumeration mis-count as reported by
5911 Dr. Richard Hawkins.
5913 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5915 * paragraph_funcs.h: remove some unneeded includes
5917 * text.C (backspace): pasteParagraph now in global scipe
5919 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5920 (pasteSelection): ditto
5922 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5923 * paragraph_funcs.C (pasteParagraph): ... here
5925 2002-08-20 André Pönitz <poenitz@gmx.net>
5927 * commandtags.h: new LFUNs for swapping/copying table row/colums
5930 * lyxfunc.C: support for new lfuns
5932 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5935 * buffer.[Ch]: remove NO_COMPABILITY stuff
5937 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5939 * boost.C (throw_exception): new file, with helper function for
5940 boost compiled without exceptions.
5945 * ParameterStruct.h:
5946 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5948 * bufferlist.C (emergencyWriteAll): use boost bind
5950 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5952 * text.C: include paragraph_funcs.h
5953 (breakParagraph): breakParagraph is now in global scope
5955 * paragraph_funcs.[Ch]: new files
5957 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5960 * buffer.C: include paragraph_funcs.h
5961 (insertStringAsLines): breakParagraph is now in global scope
5963 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5966 * CutAndPaste.C: include paragraph_funcs.h
5967 (cutSelection): breakParagraphConservative is now in global scope
5968 (pasteSelection): ditto
5970 * buffer.h: declare oprator== and operator!= for
5971 Buffer::inset_iterator
5973 * bufferlist.C (emergencyWrite): don't use fmt(...)
5975 * text3.C: add using std::endl
5977 * BufferView.C (moveCursorUpdate): remove default arg
5979 2002-08-20 André Pönitz <poenitz@gmx.net>
5981 * buffer.[Ch]: move inline functions to .C
5984 * BufferView_pimpl.C:
5986 * buffer.[Ch]: use improved inset_iterator
5989 * paragraph.[Ch]: write one paragraph at a time
5991 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5993 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5994 style if style is not specified.
5996 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5998 * text2.C (setCounter): when searching for right label for a
5999 caption, make sure to recurse to parent insets (so that a caption
6000 in a minipage in a figure float works) (bug #568)
6002 2002-08-20 André Pönitz <poenitz@gmx.net>
6004 * text3.C: new file for LyXText::dispatch() and helpers
6006 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6008 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6010 2002-08-19 André Pönitz <poenitz@gmx.net>
6013 * text.C: new LyXText::dispatch()
6015 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6017 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6019 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6021 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6024 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6026 * Makefile.am: use $(variables) instead of @substitutions@
6028 2002-08-15 André Pönitz <poenitz@gmx.net>
6031 * BufferView_pimpl.C: streamlining mathed <-> outer world
6035 * LyXAction.C: remove unused LFUN_MATH
6037 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6039 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6041 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6043 * paragraph.C (Paragraph): reformat a bit
6044 (cutIntoMinibuffer): use builtin InsetList function instad of
6048 * buffer.C: include boost/bind.hpp, add using std::for_each
6049 (writeFileAscii): use ParagraphList iterators
6050 (validate): use for_each for validate traversal of paragraphs
6051 (getBibkeyList): use ParagraphList iterators
6052 (resizeInsets): use for_each to resizeInsetsLyXText for all
6054 (getParFromID): use ParagraphList iterators
6056 * BufferView2.C (lockInset): use paragraph list and iterators
6058 2002-08-14 John Levon <levon@movementarian.org>
6060 * lyxserver.C: remove spurious xforms include
6062 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6064 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6066 2002-08-13 André Pönitz <poenitz@gmx.net>
6069 * lyxfunc.C: further cleaning
6071 2002-08-13 André Pönitz <poenitz@gmx.net>
6073 * funcrequest.h: new constructor
6075 * funcrequest.C: move stuff here from .h
6078 * BufferView_pimpl.C:
6081 * lyxfunc.C: subsequent changes
6083 * lyxfunc.h: new view() member function
6085 * lyxfunc.C: subsequent changes
6087 2002-08-13 Angus Leeming <leeming@lyx.org>
6090 * BufferView_pimpl.C:
6098 changes due to the changed LyXView interface that now returns references
6099 to member variables not pointers.
6101 2002-08-13 Angus Leeming <leeming@lyx.org>
6103 * WordLangTuple (word, lang_code): return references to strings,
6108 * lyxtext.h: forward-declare WordLangTuple.
6113 * text.C: #include "WordLangTuple.h".
6116 * text.C: (selectNextWordToSpellcheck): constify return type.
6118 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6124 * paragraph_pimpl.h:
6127 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6129 Made updateCounter always count from start of buffer, and removed
6130 second argument (par).
6131 Reverted floats number display to '#'. Perhaps I'll try again when the
6132 code base is sanitized a bit.
6134 2002-08-12 Angus Leeming <leeming@lyx.org>
6136 * buffer.[Ch] (getLabelList): constify.
6138 2002-08-07 André Pönitz <poenitz@gmx.net>
6140 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6142 * funcrequest.h: extension to keep mouse (x,y) position
6144 2002-08-12 Juergen Vigna <jug@sad.it>
6146 * BufferView2.C (insertErrors): forbid undo when inserting error
6149 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6151 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * ParagraphList.[Ch]: new files
6155 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6157 * BufferView2.C (lockInset): ParagraphList changes
6160 * bufferlist.C: ditto
6164 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6167 unused class variable counter_,
6169 * paragraph.[Ch] (getFirstCounter): delete unused function
6171 * counters.C: include LAssert.h
6172 (reset): add a new function with no arg, change other version to
6173 not have def. arg and to not allow empty arg.
6175 * text2.C (setCounter): remove empty arg from call to Counters::reset
6177 2002-08-11 John Levon <levon@movementarian.org>
6179 * Makefile.am: add WordLangTuple.h
6181 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6183 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6184 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6186 * insets/insettext.C: InsetList changes
6188 * graphics/GraphicsSupport.C (operator()): InsetList changes
6190 * toc.C (getTocList): InsetList changes
6192 * paragraph_pimpl.[Ch]: InsetList changes
6194 * paragraph.[Ch]: InsetList changes
6196 * buffer.C (inset_iterator): InsetList changes
6197 (setParagraph): ditto
6198 * buffer.h (inset_iterator): ditto
6199 * iterators.C (operator++): ditto
6200 * iterators.h: ditto
6202 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6204 * InsetList.[Ch]: new files, most InsetList handling moved out of
6207 * BufferView2.C (removeAutoInsets): InsetList changes
6209 (ChangeInsets): ditto
6211 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * paragraph_pimpl.h (empty): new function
6215 * paragraph.[Ch] (empty): new function
6217 * other files: use the new Paragraph::empty function
6219 2002-08-09 John Levon <levon@movementarian.org>
6221 * lyxtext.h: remove unused refresh_height
6223 2002-08-09 John Levon <levon@movementarian.org>
6230 * paragraph.C: move sgml char escaping out of paragraph
6233 * paragraph.C: remove id setter
6237 * paragraph_pimpl.C: remove dead tex_code_break_column
6239 * bufferview_funcs.C: small cleanup
6241 * lyxfunc.C: remove dead proto
6243 * lyxtext.h: make some stuff private. Remove some dead stuff.
6245 * lyxgluelength.C: make as[LyX]String() readable
6247 2002-08-08 John Levon <levon@movementarian.org>
6252 * ToolbarDefaults.C:
6255 * toc.C: lyxaction cleanup
6257 2002-08-08 John Levon <levon@movementarian.org>
6259 * BufferView2.C: small cleanup
6262 * lyxfind.C: move unnecessary header into the .C
6264 2002-08-08 John Levon <levon@movementarian.org>
6266 * funcrequest.h: just tedious nonsense
6269 * lyx_main.C: cleanups
6272 * vspace.C: remove dead header lyx_main.h
6274 2002-08-07 Angus Leeming <leeming@lyx.org>
6277 * paragraph_pimpl.h:
6278 Forward declare class Counters in paragraph.h by moving the ctrs member
6279 variable into Paragraph::Pimpl.
6280 (counters): new method, returning a reference to pimpl_->ctrs.
6282 * text2.C: ensuing changes.
6284 2002-08-07 John Levon <levon@movementarian.org>
6286 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6288 * BufferView_pimpl.C: announce X selection on double/triple
6291 * lyx_main.C: use correct bool in batch dispatch
6293 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6295 2002-08-07 André Pönitz <poenitz@gmx.net>
6297 * funcrequest.h: new class to wrap a kb_action and its argument
6300 * BufferView_pimpl[Ch]:
6304 * lyxrc.C: subsequent changes
6307 2002-08-07 John Levon <levon@movementarian.org>
6309 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6310 document options change.
6312 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6317 * makefile.am: move counters functionality over from
6318 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6320 2002-08-06 John Levon <levon@movementarian.org>
6322 * WordLangTuple.h: new file for word + language code tuple
6333 * BufferView2.C: use WordLangTuple
6336 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6338 2002-08-06 John Levon <levon@movementarian.org>
6340 * lyx_main.C: fix cmdline batch handling
6342 2002-08-06 André Pönitz <poenitz@gmx.net>
6344 * lyxrc.C: set default for show_banner to true
6346 2002-08-06 John Levon <levon@movementarian.org>
6348 * pspell.C: fix a crash, and allow new aspell to work
6350 2002-08-06 John Levon <levon@movementarian.org>
6353 * kbmap.C: small cleanup
6356 * vspace.C: add const
6358 2002-08-05 John Levon <levon@movementarian.org>
6360 * LyXAction.C: back to tabular-insert
6362 2002-08-04 John Levon <levon@movementarian.org>
6365 * BufferView.C: cosmetic change
6367 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6377 * BufferView2.C: purge all "Lyx" not "LyX" strings
6380 * lyxcursor.C: attempt to add some documentation
6385 * ToolbarDefaults.C:
6386 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6387 merge with LFUN_TABULAR_INSERT
6394 * pspell.C: split up i/pspell implementations into separate
6395 files, many cleanups
6397 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6399 * text2.C: some cleanup
6401 * lyxfunc.C: don't check for isp_command == "none" any more, it
6402 didn't make any sense
6404 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6409 * makefile.am: move counters functionality over
6410 from text2.C/paragraph.[Ch] to counters.[Ch], and
6412 2002-08-02 John Levon <levon@movementarian.org>
6414 * buffer.C: s/lyxconvert/lyx2lyx/
6416 2002-08-02 Angus Leeming <leeming@lyx.org>
6418 * lyxlex.C: revert John's change as it breaks reading of the user
6421 2002-08-02 Angus Leeming <leeming@lyx.org>
6423 * importer.C (Import):
6424 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6425 changes due to LyXView::view() now returning a boost::shared_ptr.
6427 2002-08-02 John Levon <levon@movementarian.org>
6429 * lyxlex.C: small cleanup
6431 2002-08-02 John Levon <levon@movementarian.org>
6433 * text2.C (status): small cleanup, no logic change
6435 2002-08-01 John Levon <levon@movementarian.org>
6438 * buffer.C (writeFile): don't output alerts, caller
6442 * lyx_cb.C: from above
6444 * lyxfunc.C: allow to open non-existent files
6446 2002-07-31 John Levon <levon@movementarian.org>
6448 * lyxserver.C: don't let incidental errors get
6451 2002-07-30 John Levon <levon@movementarian.org>
6453 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6455 2002-07-30 John Levon <levon@movementarian.org>
6458 * lyxserver.C: remove I/O callback too
6460 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6462 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6465 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6467 * many files: strip,frontStrip -> trim,ltrim,rtrim
6469 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * PrinterParams.h: remove extern containsOnly, and include
6472 support/lstrings.h instead.
6474 * LaTeX.C (scanAuxFile): modify because of strip changes
6476 * buffer.C (makeLaTeXFile): ditto
6477 * bufferparams.C (writeFile): ditt
6478 * lyxfont.C (stateText): ditto
6479 * lyxserver.C (read_ready): ditto
6480 * vc-backend.C (scanMaster): ditto
6482 * BufferView_pimpl.h: ws changes
6484 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6486 2002-07-26 André Pönitz <poenitz@gmx.net>
6488 * kb_sequence.C: remove unnedred usings
6490 2002-07-26 Juergen Vigna <jug@sad.it>
6492 * lyxfind.C (LyXReplace): we have to check better if the returned
6493 text is not of theLockingInset()->getLockingInset().
6495 2002-07-25 Juergen Vigna <jug@sad.it>
6497 * lyxfind.C (LyXReplace): don't replace if we don't get the
6500 * undo_funcs.C (createUndo): remove debugging code.
6502 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6504 * buffer.C (parseSingleLyXformat2Token): Use default placement
6505 when reading old floats.
6507 * FloatList.C (FloatList): Change the default placement of figure
6508 and tables to "tbp".
6510 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6512 * MenuBackend.C: using std::max
6514 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6516 * MenuBackend.C (expandToc):
6517 (expandToc2): code moved from xforms menu frontend. It is now
6518 generic and TOCs are transparent to menu frontends.
6520 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6522 * toc.C (getTocList): protect against buf=0
6524 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6525 Menu as first parameter. Now, this calls itself recursively to
6526 expand a whole tree (this will be useful for TOC handling)
6527 (expandFloatInsert): remove 'wide' version of floats
6529 * MenuBackend.h (submenuname): returns the name of the submenu.
6530 (submenu): returns the submenu itself, provided it has been
6531 created by MenuBackend::expand
6533 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6535 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6536 insets which have noFontChange == true. (bug #172)
6538 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6540 * BufferView_pimpl.C: add connection objects and use them...
6543 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6545 * MenuBackend.C (expandLastfiles):
6548 (expandFloatListInsert):
6549 (expandFloatInsert):
6550 (expand): split expand in parts
6552 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6554 * lyx_gui.C: use lyx_gui::exit()
6556 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6558 * LyXAction.C: show the failing pseudo action
6560 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6562 * buffer.C (readFile): Run the lyxconvert script in order to read
6565 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6569 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6571 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6575 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6577 2002-07-22 Herbert Voss <voss@lyx.org>
6580 * lyxlength.[Ch]: add support for the vertical lengths
6582 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6584 * toc.[Ch]: std:: fixes
6586 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6588 * lyxrc.C: do not include lyx_main.h
6590 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6596 * BufferView2.C: include "lyxlex.h"
6599 * bufferparams.h: do not #include "lyxlex.h"
6601 * lyxtextclasslist.C (Add): remove method
6602 (classlist): renamed to classlist_
6604 * paragraph_pimpl.C:
6608 * bufferview_funcs.C:
6613 * toc.C (getTocList): use BufferParams::getLyXTextClass
6615 * toc.C (getTocList): use InsetFloat::addToToc
6617 * toc.[Ch]: new files, containing helper functions to handle table
6620 * lyxfunc.C (dispatch): no need to remove spaces around command
6622 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6623 first command of the sequence; it is not very clever, but I do not
6624 have a better idea, actually
6626 * LyXAction.C (LookupFunc): make sure to remove space at the
6627 beginning and end of the command
6629 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6631 * MenuBackend.C (getMenubar): new method: return the menubar of
6633 (read): treat differently reading of menu and menubar (in
6634 particular, the menubar has no name now)
6635 (Menu::menubar): remove
6637 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6640 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6642 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6643 a bibitem inset in a RTL paragraph.
6645 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6647 * paragraph_pimpl.C: constify
6649 * BufferView_pimpl.C:
6651 * lyxfunc.C: fix dispatch in a nicer way
6653 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6655 * lyxfunc.C (dispatch):
6656 * BufferView_pimpl.C:
6657 * BufferView_pimpl.h:
6659 * BufferView.h: rename Dispatch() to dispatch()
6661 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6663 * lyxlayout.C (Read): honor DependsOn tag
6665 * lyxlayout.[Ch] (depends_on): new method
6667 * version.C.in: update lyx_docversion
6669 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6671 * paragraph.C (validate): remove from here...
6672 * paragraph_pimpl.C (validate): ... and move here
6673 (isTextAt): make it const
6675 * buffer.C (getLists): ws cleanup
6677 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6679 * language.C (read): Use iso8859-1 encoding in latex_lang
6680 (this prevents LyX from crashing when using iso10646-1 encoding).
6682 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6684 * text2.C (toggleInset): if cursor is inside an inset, close the
6685 inset and leave cursor _after_ it
6687 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6689 * lyxfunc.C: move minibuffer completion handling out of here
6691 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6693 * BufferView_pimpl.C:
6694 * LaTeX.C: fix dispatch calls
6696 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6698 * text.C (drawChars): Fix Arabic text rendering.
6700 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6704 * lyxfunc.C: remove message-push/pop
6708 * lyxfunc.C: rationalise some code by removing verboseDispatch
6709 in favour of a bool argument to dispatch()
6711 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6713 * lyx_main.C (init): make sure to read symlinks as absolute paths
6715 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6718 * lyxfunc.C: no need for commandshortcut to be a member
6720 2002-07-15 André Pönitz <poenitz@gmx.net>
6722 * converter.C: add support for $$s (scripts from lib/scripts dir)
6723 * lyx_main.C: white space
6725 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6729 * lyxrc.C: remove second exit confirmation
6731 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6736 * BufferView_pimpl.h:
6737 * BufferView_pimpl.C:
6738 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6740 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6742 * MenuBackend.C (expand): add numeric shortcuts to document menu
6744 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6746 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6748 * lyxfont.C (setLyXFamily):
6755 * buffer.C (asciiParagraph): use ascii_lowercase
6757 2002-07-15 Mike Fabian <mfabian@suse.de>
6759 * lyxlex_pimpl.C (search_kw):
6760 * lyxlex.C (getLongString):
6761 * converter.h (operator<):
6762 * converter.C (operator<):
6763 * buffer.C (parseSingleLyXformat2Token):
6765 * ToolbarDefaults.C (read):
6766 * MenuBackend.C (checkShortcuts):
6768 * LColor.C (getFromGUIName):
6769 (getFromLyXName): use the compare_ascii_no_case instead of
6770 compare_no_case, because in turkish, 'i' is not the lowercase
6771 version of 'I', and thus turkish locale breaks parsing of tags.
6773 2002-07-16 Angus Leeming <leeming@lyx.org>
6775 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6776 now takes a Buffer const & argument.
6778 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6780 * BufferView.C (resize): check there's a buffer to resize
6782 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6784 * lyxfunc.C: remove dead code
6787 * lyxserver.C: use lyx_guii::set_read_callback
6789 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6791 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6792 an inset in a RTL paragraph.
6794 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6796 * lyxfunc.C: repaint after a font size update
6798 2002-07-15 André Pönitz <poenitz@gmx.net>
6800 * lyxlength.C: inBP should be able to return negative values
6802 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6804 * lyxfunc.C: use lyx_gui::update_fonts()
6806 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6808 * lyxfunc.C: use lyx_gui::update_color()
6810 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6816 * lyxrc.C: remove file->new asks for name option, and let
6817 buffer-new take an argument
6819 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6821 * BufferView_pimpl.C: remove unneeded extra repaint()
6823 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6825 * LyXAction.C: allow command-sequence with NoBuffer
6827 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6829 2002-07-10 Angus Leeming <leeming@lyx.org>
6831 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6833 2002-07-09 Angus Leeming <leeming@lyx.org>
6835 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6837 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6839 * lengthcommon.h: whitespace
6841 * lyxfunc.C: update scrollbar after goto paragraph
6843 * lyxtext.h: factor out page break drawing, and fix it so
6844 page break/added space paints as selected nicely
6846 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6848 * BufferView_pimpl.C: add FIXMEs, clean up a little
6850 2002-07-09 André Pönitz <poenitz@gmx.net>
6852 * lyxfont.[Ch]: support for wasy symbols
6854 2002-07-08 André Pönitz <poenitz@gmx.net>
6856 * BufferView_pimpl.C: apply John's patch for #93.
6858 2002-07-05 Angus Leeming <leeming@lyx.org>
6860 * BufferView_pimpl.C (buffer): generate previews if desired.
6862 * LColor.h: add "preview" to the color enum.
6864 * LColor.C (LColor): add a corresponding entry to the items array.
6866 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6869 2002-07-05 Angus Leeming <leeming@lyx.org>
6871 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6872 The body of the code is now in the method that is passed an ostream &
6873 rather than a file name.
6874 Pass an additional only_preamble parameter, useful for the forthcoming
6877 2002-07-03 André Pönitz <poenitz@gmx.net>
6879 * lyxfunc.C: simplify getStatus() a bit for math stuff
6881 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6883 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6885 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6887 * text.C (changeRegionCase): do not change case of all the
6888 document when region ends at paragraph end (bug #461)
6890 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6892 * paragraph.C (startTeXParParams):
6893 (endTeXParParams): add \protect when necessary
6895 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6897 * BufferView_pimpl.C (workAreaExpose): remove warning
6899 2002-06-27 Angus Leeming <leeming@lyx.org>
6901 * Makefile.am: add lyxlayout_ptr_fwd.h.
6903 2002-06-26 André Pönitz <poenitz@gmx.net>
6905 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6907 2002-06-25 Angus Leeming <leeming@lyx.org>
6909 * lyxfunc.C (dispatch): Comment out the call to
6910 grfx::GCache::changeDisplay. The method no longer exists now that the
6911 pixmap generation part of the graphics loader has been moved into
6914 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6916 * text2.C: layout as layout
6918 * text.C: layout as layout
6920 * tabular.C (OldFormatRead): layout as layout
6922 * paragraph_pimpl.C (TeXDeeper): layout as layout
6923 (realizeFont): layout as layout
6925 * paragraph.C (writeFile): layout as layout
6926 (validate): layout as layout
6927 (getFont): layout as layout
6928 (getLabelFont): layout as layout
6929 (getLayoutFont): layout as layout
6930 (breakParagraph): layout as layout
6931 (stripLeadingSpaces): layout as layout
6932 (getEndLabel): layout as layout
6933 (getMaxDepthAfter): layout as layout
6934 (applyLayout): layout as layout
6935 (TeXOnePar): layout as layout
6936 (simpleTeXOnePar): layout as layout
6937 (TeXEnvironment): layout as layout
6938 (layout): layout as layout
6939 (layout): layout as layout
6941 * lyxtextclass.C (compare_name): new functor to work with
6942 shared_ptr, layout as layout
6943 (Read): layout as layout
6944 (hasLayout): layout as layout
6945 (operator): layout as layout
6946 (delete_layout): layout as layout
6947 (defaultLayout): layout as layout
6949 * lyxlayout_ptr_fwd.h: new file
6951 * lyxlayout.C (Read): layout as layout
6953 * lyx_cb.C (MenuInsertLabel): layout as layout
6955 * bufferlist.C (newFile): layout as layout
6957 * buffer.C (readLyXformat2): layout as layout
6958 (parseSingleLyXformat2Token): layout as layout
6959 (insertStringAsLines): layout as layout
6960 (asciiParagraph): layout as layout
6961 (latexParagraphs): layout as layout
6962 (makeLinuxDocFile): layout as layout
6963 (simpleLinuxDocOnePar): layout as layout
6964 (makeDocBookFile): layout as layout
6965 (simpleDocBookOnePar): layout as layout
6966 (getLists): layout as layout
6968 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6970 * CutAndPaste.C (cutSelection): layout as layout
6971 (pasteSelection): layout as layout
6972 (SwitchLayoutsBetweenClasses): layout as layout
6974 * BufferView_pimpl.C (Dispatch): layout as layout
6975 (smartQuote): layout as layout
6977 * BufferView2.C (unlockInset): layout as layout
6979 2002-06-24 André Pönitz <poenitz@gmx.net>
6981 * lyxfunc.C: fix #487
6983 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6987 * lyxfunc.C: remove display_shortcuts, show_banner
6989 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6991 * Buffer_pimpl.C: oops, update on resize
6993 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7000 * BufferView.C: use repaint()
7002 * BufferView_pimpl.h:
7003 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7004 as it's a clearer description. Remove superfluous
7007 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7009 * text.C: fix bug 488. Not ideal, but getting
7010 getWord() to work properly for the insets that
7011 matter is more difficult ...
7013 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7015 * BufferView_pimpl.C:
7018 * lyxfunc.C: remove the six million index lyxfuncs to just
7019 one, and DTRT (bug 458)
7021 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7025 * BufferView_pimpl.h:
7026 * BufferView_pimpl.C: clean up resize() stuff,
7027 and unnecessary updateScreen()s
7029 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7033 * BufferView_pimpl.h:
7034 * BufferView_pimpl.C:
7037 * minibuffer.C: remove focus management of workarea,
7038 not needed. Use screen's greyOut()
7040 2002-06-17 Herbert Voss <voss@lyx.org>
7042 * converter.C: (convert) do not post a message, when converting
7043 fails, let the calling function decide what to do in this case
7045 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7047 * lyxfunc.C: tidy up a little
7049 2002-06-16 <alstrup@diku.dk>
7051 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7052 Got rid of FORMS_H_LOCATION include. Now we are
7055 2002-06-15 LyX Development team <lyx@rilke>
7057 * buffer.[Ch] (sgmlOpenTag):
7058 (sgmlCloseTag): Added support for avoiding pernicious mixed
7059 content. Return number of lines written.
7062 (makeDocBookFile): Fixed calls to sgml*Tag.
7063 Simple white space clean.
7065 (simpleDocBookOnePar): Simple white space clean.
7067 * tabular.[Ch] (docBook): Renamed to docbook and got another
7068 argument to related with the pernicious mixed content.
7070 (docbookRow): Fixed calls for docbook inset method.
7072 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7074 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7075 so it's X11 independent.
7079 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7081 2002-06-15 Lyx Development team <lyx@electronia>
7083 * intl.h: Renamed getTrans to getTransManager.
7085 2002-06-14 Angus Leeming <leeming@lyx.org>
7087 * Makefile.am: nuke forgotten stl_string_fwd.h.
7089 2002-06-12 Angus Leeming <leeming@lyx.org>
7091 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7093 2002-06-13 Angus Leeming <leeming@lyx.org>
7096 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7098 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7100 * kbmap.C (getiso): add support for cyrillic and greek
7102 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7106 * BufferView_pimpl.h:
7107 * BufferView_pimpl.C: move bogus scrolling logic
7110 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7113 * BufferView_pimpl.C: view->resize() change
7115 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7117 * BufferView_pimpl.C: topCursorVisible
7120 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7124 * lyx_gui.C: move to frontends/
7128 * lyx_main.C: changes from above
7130 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7137 * lyx_main.C: minor tidy
7139 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7141 * BufferView_pimpl.h:
7142 * BufferView_pimpl.C:
7144 * BufferView.C: make painter() const,
7147 * BufferView2.C: use screen() accessor
7150 * lyx_main.C: some minor cleanup
7152 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7154 * BufferView_pimpl.h:
7155 * BufferView_pimpl.C: remove enter/leaveView,
7158 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7163 * BufferView_pimpl.h:
7164 * BufferView_pimpl.C: only construct screen once,
7167 * lyxrc.C: remove pointless comment
7169 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7172 * BufferView.C: remove active() and belowMouse()
7174 * BufferView_pimpl.h:
7175 * BufferView_pimpl.C: use workarea() not workarea_,
7176 and make it use a scoped_ptr instead
7178 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7180 * lyx_gui.C: add debug message on BadWindow
7182 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7184 * sp_spell.C: fdopen is not part of the C++ standard.
7186 * paragraph.C (InsetIterator): use >= instead of ==
7188 2002-06-07 Angus Leeming <leeming@lyx.org>
7190 Fixes needed to compile with Compaq cxx 6.5.
7191 * BufferView_pimpl.C:
7198 * lyxtextclasslist.C:
7203 all c-library variables have been moved into namespace std. Wrap
7204 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7209 Add a using std::abs declaration.
7211 * kbmap.h (modifier_pair):
7212 * paragraph.h (InsetTable, InsetList):
7213 * lyxfont.h (FontBits):
7214 type definition made public.
7216 * bufferlist.C (emergencyWriteAll): the compiler complains that
7217 there is more than one possible lyx::class_fun template to choose from.
7218 I re-named the void specialisation as lyx::void_class_fun.
7220 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7222 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7223 the compiler is is unable to find tostr in write_attribute.
7225 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7227 * buffer.C (sgmlError): hide #warning
7229 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7231 * xtl/*: get rid of xtl, which is not in use anyway
7233 * LyXAction.C (init):
7234 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7235 were unimplemented xtl experimentation
7237 2002-06-04 André Pönitz <poenitz@gmx.net>
7239 * lyxfunc.C: disable array operation on simple formulae
7241 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7243 * converter.C: constify a bit
7245 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7247 * lyx_gui.C: check xforms version correctly
7249 2002-04-30 Herbert Voss <voss@lyx.org>
7251 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7254 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7256 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7257 attempt to register it with a VCS)
7259 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7261 * lyx_main.C (init): honor variables LYX_DIR_13x and
7264 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7268 * lyx_main.C: fix a crash on bad command line,
7269 and give a useful exit status on error
7271 * lyxfunc.C (doImport): allow -i lyx to work
7273 2002-03-30 André Pönitz <poenitz@gmx.net>
7275 * lyxfunc.C: mathed font changes
7277 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7292 * trans_mgr.h: srcdocs, and some minor cleanups
7294 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7296 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7297 call getFont all the time)
7299 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7301 * switch from SigC signals to boost::signals
7303 2002-05-29 André Pönitz <poenitz@gmx.net>
7305 * paragraph_pimpl.C (getChar): don't call size() too often...
7307 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7309 * paragraph_pimpl.C (insertChar): do not try to update tables when
7310 appending (pos == size())
7312 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7313 in order to reduce drastically the number of comparisons needed to
7314 parse a large document
7316 2002-05-29 André Pönitz <poenitz@gmx.net>
7322 * textclasslist.[Ch]:
7323 * sp_ispell.h: whitespace change
7325 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7327 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7328 lyxaction directly now.
7330 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7334 * lyxvc.C: remove unused headers
7336 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7343 * undo_funcs.C: some cleanups. Use shared_ptr
7344 and a template for the undo stacks.
7346 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7348 * BufferView_pimpl.h:
7349 * BufferView_pimpl.C:
7356 * text2.C: use key_state/mouse_state
7358 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7360 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7363 * chset.C: change include order
7364 (loadFile): use boost regex and get rid of LRegex and LSubstring
7366 * Makefile.am (BOOST_LIBS): new variable
7369 * LaTeX.C: change include order.
7370 (scanAuxFile): use boost regex and get rid of LRegex and
7374 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7379 * FontInfo.C: moved to frontends/xforms/
7382 * FontLoader.C: moved into frontends for GUIIzation
7387 * lyxfunc.C: changes from above
7389 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7391 * LColor.C: remove spurious X include
7393 * BufferView_pimpl.C:
7398 * text2.C: move font metrics to frontends/
7400 2002-05-24 Juergen Vigna <jug@sad.it>
7402 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7403 setting the undo_cursor.
7405 * ParagraphParameters.h: include local includes first.
7407 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7409 * BufferView_pimpl.C:
7410 * BufferView_pimpl.h:
7414 * screen.C: move WorkArea into frontends/
7420 * BufferView2.C: move LyXScreen into frontends/
7424 * lyx_gui.C: move lyxlookup into frontends/xforms/
7426 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7429 * BufferView_pimpl.C:
7439 * bufferview_funcs.C:
7452 * vc-backend.C: move LyX/XFormsView into frontends/
7454 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7466 * text2.C: move Painter to frontends/
7468 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7470 * buffer.C: comment out some some code that depend upon lyx_format
7473 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7474 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7476 * buffer.h (NO_COMPABILITY): turn off compability
7478 * ColorHandler.C: include scoped_array.hpp
7480 * font.C: Use more specific smart_ptr header.
7483 * ShareContainer.h: ditto
7487 * BufferView_pimpl.h: ditto
7488 * ColorHandler.h: ditto
7490 * kbmap.C (defkey): change call to shared_ptr::reset
7492 2002-05-21 Juergen Vigna <jug@sad.it>
7494 * buffer.C (insertErtContents): fix to insert ert asis if it is
7495 non empty. Skip it completely if it contains only whitespaces.
7497 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7499 * BufferView_pimpl.C:
7500 * BufferView2.C: clear selection on paste (bug 393)
7502 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7504 * DepTable.C: include ctime
7506 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7508 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7510 2002-05-14 Juergen Vigna <jug@sad.it>
7512 * text.C (breakParagraph): fixed function to honor the keepempty
7513 layout in the right maner and also to permit the right breaking
7514 algorithm on empty or non empyt keepempty paragraphs.
7516 * paragraph.C (breakParagraph): we have to check also if the par
7517 is really empty (!size()) for isempty otherwise we do the wrong
7520 2002-05-10 Juergen Vigna <jug@sad.it>
7522 * buffer.[Ch] : The following are only changes to the ert
7523 compatibility read reading old LaTeX layout and font stuff and
7524 convert it to ERTInsets.
7526 * buffer.h: added isErtInset().
7528 * buffer.C (struct ErtComp): add a fromlayout bool to check
7529 if we're inside a LaTeX layout.
7530 (isErtInset): new helper function.
7531 (insertErtContents): look for other ert insets before this one
7532 and insert the contents there, so that we don't have subsequent
7533 ERT insets with nothing between them. This way we create only one
7534 inset with multiple paragraphs. Also check if we don't insert only
7535 spaces ' ' as they are ignored anyway afterwards in the .tex file
7536 so if we have only spaces we will ignore this latex part in the
7538 (parseSingleLyXformat2Token \\layout): better compatibility when
7539 reading layout-latex stuff.
7540 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7542 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7543 stuff after reading the inset only get the information back from
7546 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7548 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7550 * LaTeXFeatures.C (getBabelOptions): New method.
7552 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7554 * BufferView_pimpl.C (Dispatch): work around missing argument for
7557 2002-05-08 Juergen Vigna <jug@sad.it>
7559 * text.C (leftMargin): handle paragraph leftindent.
7561 * paragraph.C (writeFile): write the new \\leftindent tag.
7562 (validate): handle leftindent code.
7563 (TeXEnvironment): handle paragraphleftindent code again.
7565 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7567 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7568 for paragrap_extra indent code and new token \\leftindent.
7569 (latexParagraphs): handle the leftindent as environment.
7571 * ParameterStruct.h: added leftindent support.
7573 * ParagraphParameters.C (leftIndent): added support functions for
7574 the paragraph left indent.
7576 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7579 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7581 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7584 * text.C (computeBidiTables): No bidi in insetERT.
7586 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7589 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7591 * version.C.in: pre 5
7593 2002-05-02 José Matos <jamatos@fep.up.pt>
7594 * buffer.C (makeDocBookFile): white space changes, add newline to
7596 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7598 * tabular.C (docBook): fix typo.
7600 2002-05-03 Juergen Vigna <jug@sad.it>
7602 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7603 change in LyXText as we can not be sure it was not freed.
7604 (drawOneRow): remove unused code.
7606 * text.C (drawInset): redo the calculation of the need_break_row as
7607 it could have a row which was already freed.
7608 (draw): look at the return value of drawInset and return false if
7609 it also returned false.
7610 (paintRowText): look at the return value of draw and return false if
7611 it also returned false.
7613 * lyxtext.h: added bool return type to drawInset() and draw() so that
7614 if we have a change in the row so that the rowbreak has to be redone
7615 we abort drawing as it will be called again.
7617 2002-05-02 Juergen Vigna <jug@sad.it>
7619 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7620 a change in the maintext also if we're inside an inset.
7621 (Dispatch): set the cursor again after a break line and after the
7622 screen has been updated as it could be we're in a different row.
7624 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7625 to set the cursor behind the pargraph with > size().
7626 (setCursor): check also for the same paragraph when checking where
7627 to put the cursor if we have a NFR inset.
7629 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7630 parts of layout read further up as it still was in the wrong
7633 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7635 * screen.C (drawFromTo): change sine fullRebreak always return
7638 * buffer.C (parseSingleLyXformat2Token): reindent some
7640 * BufferView_pimpl.C (update): change since fullRebreak always
7642 (Dispatch): git rid of the last hardcoded "Standard"s.
7644 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7646 * text2.[Ch] (fullRebreak): make it return void now that we always
7649 2002-04-30 Juergen Vigna <jug@sad.it>
7651 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7652 ert compatibility check for "latex" layout.
7654 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7656 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7657 minipages: use col% instead of p%, and also use the current font.
7658 (makeLaTeXFile): Fix use babel condition.
7659 (parseSingleLyXformat2Token): Correct font when reading old floats.
7661 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7663 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7664 inserting list of floats.
7666 2002-04-25 Herbert Voss <voss@lyx.org>
7668 * MenuBackend.C (expand): don't add the graphics extensions to the
7671 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7673 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7674 non-existing layout, do not complain if it was the default layout
7675 of the original class (bug #342)
7677 2002-04-24 Juergen Vigna <jug@sad.it>
7679 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7680 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7682 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7684 * buffer.C (getBibkeyList): If using \bibliography, return the
7685 option field with the reference itself. Enables us to provide natbib
7686 support when using \bibliography.
7688 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7690 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7692 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7693 natbib is provided by the LaTeX class.
7695 2002-04-23 Juergen Vigna <jug@sad.it>
7697 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7700 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7702 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7704 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7706 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7707 ensuremath around textordmasculine, textordfeminine and
7710 2002-04-19 Juergen Vigna <jug@sad.it>
7712 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7713 reinitializing the buffer otherwise row-dimensions may be wrong.
7714 (update): reset also the selection cursors if they do exits otherwise
7715 their x/y positions may be wrong.
7717 * text2.C (cursorDown): don't enter the inset if we came from a row
7718 above and are one row over the inset.
7720 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7721 really leaving an inset.
7723 2002-04-18 Juergen Vigna <jug@sad.it>
7725 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7726 of the selected paragraph does not have the selected layout also if
7729 * text2.C (setLayout): fixed bug which did not change last selected
7732 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7733 changed the read and substituted \\end_float with \\end_inset!
7735 * BufferView_pimpl.C (cursorPrevious):
7736 (cursorNext): fixed to make it work with rows heigher than the work
7737 area without moving the cursor only the draw of the row.
7738 (workAreaMotionNotify): fix jumping over high rows.
7740 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7742 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7745 2002-04-16 Juergen Vigna <jug@sad.it>
7747 * text2.C (setCursor): set also the irow().
7748 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7750 (cursorDown): support for locking an inset if the x_fix value goes
7751 inside it. That way I can transverse insets too with cursor up/down.
7753 * lyxrow.h: added irow helper function same as other (i) functions.
7755 * BufferView_pimpl.C (cursorPrevious):
7756 (cursorNext): fixed for insets!
7758 2002-04-15 Juergen Vigna <jug@sad.it>
7760 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7761 position otherwise it is wrong in some cases.
7763 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7764 inside the inset before the call.
7766 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7768 * buffer.[Ch] (getBibkeyList): make it const.
7770 2002-04-12 Juergen Vigna <jug@sad.it>
7772 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7774 * text2.C (getCursorX): new helper function
7775 (setCursor): compute also ix_
7776 (setCursorFromCoordinates): set also ix.
7778 * lyxcursor.h: added ix_ and helper functions.
7780 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7782 * buffer.C (insertStringAsLines): dont break paragraph if the this
7783 paragraph is inside an inset which does not permit it!
7785 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7786 also with no chars on this paragraph.
7787 (paintRowText): only paint stuff if it's inside the workarea!
7789 * paragraph.C (breakParagraph): honor keepempty flag and break the
7790 paragraph always below not above.
7792 * BufferView2.C (unlockInset): update the paragraph layout on inset
7793 unlock as we changed paragraph in such a case.
7795 * lyxfind.C (LyXFind): clear the former selection if not found!
7797 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7798 again called in insertChar().
7800 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7801 an inset which uses the whole row!
7802 (rightMargin): ditto.
7803 (insertChar): force a rebreak if we inserted an inset!
7805 2002-03-28 Herbert Voss <voss@lyx.org>
7807 * lyxlength.[Ch]: add inBP() to get the right PS-point
7808 units (BigPoint). With inPixels we have rounding errors
7810 2002-04-11 Juergen Vigna <jug@sad.it>
7812 * text2.C (setCursorFromCoordinates): set iy to the right value.
7813 (setCursor): add check if row->previous exists!
7815 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7816 an old float_type as this was the case in the old code!
7818 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7820 * BufferView2.C (showLockedInsetCursor): use iy
7821 (fitLockedInsetCursor): ditto
7823 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7824 locked insets as there we have the right value now.
7826 * lyxcursor.C: added iy_ variable and iy functions to set to the
7827 baseline of cursor-y of the locked inset.
7829 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7830 (setCursor): fixed for insets which need a full row.
7832 * text.C (rowLastPrintable): don't ignore the last space when before
7833 an inset which needs a full row.
7834 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7835 as last character of a row when before a inset which needs a full row.
7837 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7839 * version.C.in: update date
7841 * text2.C (fullRebreak): try to always return true and see what
7844 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7846 * MenuBackend.C (expand): use Floating::listName
7848 * FloatList.C (FloatList): add listName argument to the built-in
7851 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7852 text associated with the float.
7854 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7856 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7858 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7860 * ShareContainer.h: add a couple of missing typenames.
7862 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7864 * lyxrc.C (getDescription): use _() correctly rather than N_().
7866 2002-03-28 Herbert Voss <voss@lyx.org>
7868 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7869 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7871 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7873 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7874 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7876 2002-03-29 Juergen Vigna <jug@sad.it>
7878 * lyxfunc.C (dispatch): add a missing fitCursor call.
7880 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7881 it was scrolled by a cursor move, so return the bool status.
7883 * BufferView.C (fitCursor): return the bool flag also to the outside
7884 world as this is needed.
7886 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7888 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7889 call the edit() as it is not needed (and wrong) IMO.
7890 (workAreaButtonPress): set the screen_first variable before evt.
7891 unlock the inset as this may change screen_first and then we have
7892 a wrong y position for the click!
7894 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7896 * MenuBackend.C (expand): another translation that I missed
7898 2002-03-28 Juergen Vigna <jug@sad.it>
7900 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7902 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7904 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7906 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7908 * MenuBackend.C (expand): fix export/view/update when there is no
7911 2002-03-27 Herbert Voss <voss@lyx.org>
7913 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7916 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7918 * bufferview_funcs.C (currentState): only show paragraph number
7919 for is DEVEL_VERSION is set.
7921 * lyxfunc.C (dispatch): put warning in INFO channel
7923 * MenuBackend.C (expand): translate the name of floats
7925 * FloatList.C (FloatList): mark the float names for translation
7927 * converter.C (convert): use LibScriptSearch
7929 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7931 * MenuBackend.C (defaults): fix default menu (we might as well get
7934 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7936 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7939 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7941 * lyxvc.C: reorder includes.
7943 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7945 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7948 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7950 * CutAndPaste.C: change layouts earlier on paste
7951 to avoid crashing when calling getFont()
7953 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7955 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7958 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7960 * WorkArea.C: remove 'Pending' debug message.
7962 * most files: ws cleanup
7964 * buffer.[Ch]: ws changes
7966 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7968 2002-03-21 Juergen Vigna <jug@sad.it>
7970 * tabular.C (SetMultiColumn): collapse also the contents of the
7971 cells and set the last border right. Added a Buffer const * param.
7973 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7975 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7978 2002-03-19 Juergen Vigna <jug@sad.it>
7980 * text2.C (clearSelection): reset also xsel_cache.
7982 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7983 where it needs to be called (John tells us to do so too :)
7984 (selectionLost): reset sel_cache.
7986 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7988 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7990 * text2.C (setCursorIntern): put debuging code in INSETS channel
7992 2002-03-19 André Pönitz <poenitz@gmx.net>
7994 * lyxfunc.C: tiny whitespace change
7996 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7998 * ToolbarDefaults.C (init):
7999 * LyXAction.C (init):
8001 * BufferView_pimpl.C (Dispatch):
8002 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8004 2002-03-19 Allan Rae <rae@lyx.org>
8006 * exporter.C (Export): removeAutoInsets before doing anything else.
8007 While I've just introduced a dependency on BufferView this really is
8008 the best place to clean the buffer otherwise you need to cleanup in
8009 a dozen places before calling export or cleanup in a dozen functions
8012 * converter.C (runLaTeX):
8013 (scanLog): Better handling of removeAutoInsets and screen updates.
8015 * lyxfunc.C (dispatch): small whitespace changes
8017 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8019 * WorkArea.C (C_WorkAreaEvent): return a value.
8020 (event_cb): return 1 if we handled the event, 0 otherwise.
8022 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8024 2002-03-18 Juergen Vigna <jug@sad.it>
8026 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8027 (GetAdditionalWidth): ditto.
8031 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8032 inset if we're there actually (probably not used right now but this
8033 is the direction to go for unifying code).
8034 (paste): disable code to clear the selection.
8036 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8037 inside an InsetText and move the check further up as it is in the
8040 * text2.C (pasteSelection): set a selection over the pasted text.
8042 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8044 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8045 and libgraphics to build on Cygwin.
8047 2002-03-15 Juergen Vigna <jug@sad.it>
8049 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8050 inserting an Inset into the paragraph. I know this is not the best
8051 fix but we already use current_view in CutAndPaste so we will remove
8052 all of it's using at the same time.
8054 * buffer.C (sgmlError): deactivated function till it is rewritten in
8055 the right mode, now it can create problems.
8057 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8058 before accessing it.
8060 2002-03-14 Juergen Vigna <jug@sad.it>
8062 * undo_funcs.C (textHandleUndo): do the right thing when updating
8063 the inset after the undo/redo.
8065 * text2.C (setCursor): just some testcode for #44 not ready yet.
8067 * undo_funcs.C (textHandleUndo): set the next() and previous()
8068 pointers of the paragraph to 0 before deleting otherwise we have
8069 problems with the Paragraph::[destructor].
8071 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8072 on a paragraph insertion.
8074 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8076 * buffer.C (asciiParagraph): use += operator for char append to
8079 * paragraph.C (getFontSettings): compare >= not just >
8080 (highestFontInRange): ditto
8083 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8085 * paragraph.C: change several algorithm to be more appripriate for
8086 the problem domain. This is lookip in FontList and in the InsetList.
8088 2002-03-13 André Pönitz <poenitz@gmx.net>
8091 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8093 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8098 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8100 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8102 * Painter.C (display): anon helper function, adjust code for this
8104 (pixmap): remove function.
8106 * Painter.h: remove private display variable.
8108 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8110 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8112 * WorkArea.[Ch]: remove figinset_canvas cruft.
8114 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8116 * lyxtextclass.C (operator): add one item cache optimization.
8118 * bufferlist.h: doxy changes
8120 * bufferlist.C: ws changes
8122 * DepTable.[Ch] (ext_exist): place const in the right spot.
8124 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8126 (workAreaExpose): call resizeInsets when the with BufferView changes.
8127 (Dispatch): adjust for protectedBlank removal
8128 (specialChar): call updateInset if the insert went ok.
8130 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8131 specialChar instead.
8133 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8135 * BufferView.h: doxy change
8137 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8139 * lyxtextclass.C (operator[]): remove non-const version
8140 (defaultLayout): remove non-const version
8142 2002-03-12 Juergen Vigna <jug@sad.it>
8144 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8145 did resize the LyXText too.
8147 * buffer.C (readLyXformat2): set layout information on newly allocated
8150 * tabular.C (OldFormatRead): set layout information on the paragraph.
8152 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8154 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8156 2002-03-11 Juergen Vigna <jug@sad.it>
8158 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8160 (resizeCurrentBuffer): force also the insets to resize themselfes.
8161 (moveCursorUpdate): fixed up for InsetText.
8163 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8166 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8167 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8168 value of Dialogs::tooltipsEnabled().
8169 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8171 2002-03-08 Juergen Vigna <jug@sad.it>
8173 * BufferView_pimpl.C (updateInset): update inset inside inset also
8174 if it isn't inside theLockingInset().
8176 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8178 * buffer.C (asciiParagraph): redo some of the word and line length
8180 (getLists): look for Caption instead of caption.
8182 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8184 * buffer.C (Buffer): initialize niceFile to true
8187 (makeDocBookFile): make sure niceFile is true on exit
8189 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8191 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8193 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8195 * LyXSendto.C: remove.
8196 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8197 * lyx_gui.C: remove now-redundant comment.
8198 * ColorHandler.h: remove forward declaration of class WorkArea.
8199 * lyxfunc.C: remove #include "WorkArea.h".
8201 2002-03-07 Juergen Vigna <jug@sad.it>
8203 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8204 got moved away with the DEPM and also set the inset_owner always
8205 right which before could have been omitted.
8207 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8209 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8210 wanted layout is not found.
8212 2002-03-07 Juergen Vigna <jug@sad.it>
8214 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8216 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8218 * paragraph.C (breakParagraph): use default layout not layout of
8220 (Paragraph): clear ParagraphParameters.
8222 2002-03-06 Juergen Vigna <jug@sad.it>
8224 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8225 otherwise it would not be a valid lenght. Fixed a special case in
8226 the minipage compatibility read where we end the document with a
8229 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8230 was set as it could be 0 for InsetTexts first entry.
8232 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8234 * paragraph.C (writeFile): if layout is empty write out
8235 defaultLayoutName().
8237 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8238 file without named layout we set layout to defaultLayoutName().
8240 2002-03-06 Juergen Vigna <jug@sad.it>
8242 * CutAndPaste.C (copySelection): set layout for new paragraph.
8244 * text.C (prepareToPrint): leave ERT inset left aligned
8245 (leftMargin): don't indent paragraphs inside ERT insets
8247 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8249 * paragraph.C (breakParagraph): dont call clear do the work manually
8251 * paragraph.[Ch] (clear): remove function
8253 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8255 * paragraph.C (Paragraph): dont call clear, the work has already
8258 * lyxtextclass.C (operator): assert if n is empty
8260 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8261 work manually instead.
8263 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8265 * BufferView_pimpl.C: protect selectionLost against text == 0
8267 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8269 * text.C (breakParagraph): fix a setting layout to '0' problem.
8271 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8273 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8274 final location of file, for the included files, and graphics.
8276 2002-03-05 Juergen Vigna <jug@sad.it>
8278 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8280 2002-03-04 Juergen Vigna <jug@sad.it>
8282 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8284 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8285 last column of multicolumn cells.
8286 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8288 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8290 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8291 file if it doesn't go to a temporary file.
8293 * buffer.C (sgmlOpenTag):
8294 (sgmlCloseTag): remove extra newline insertion.
8296 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8298 * text.C (getRowNearY): comment out debug msg
8300 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8302 * text2.C: first -> first_y
8304 * text.C (getRowNearY): add some attemts at a possible
8305 optimization, not working.
8307 * tabular.[Ch]: add BufferParams to several function so that newly
8308 created paragraph can be initialized to he default layotu for the
8311 * tabular-old.C (ReadOld): add buf->params to call of Init
8313 * screen.C: rename text->first to text->first_y
8315 * paragraph.C (breakParagraph): always set layout in the broken
8318 * lyxtextclass.C (Read): remove lowercase
8321 (delete_layout): ditto
8323 * lyxtext.h: rename first -> first_y
8325 * lyxlayout.C (Read): remove lowercase
8328 (obsoleted_by): ditto
8330 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8332 * buffer.C (insertErtContents): add params are to InsetERT
8333 (parseSingleLyXformat2Token): add code to check if a paragraphs
8334 layout really exist.
8335 (parseSingleLyXformat2Token): add params to several inset
8337 (asciiParagraph): remove lowercase, do the layout comparisons with
8340 * BufferView_pimpl.C (cursorNext): first -> first_y
8341 (resizeCurrentBuffer): first -> first_y
8342 (updateScrollbar): first -> first_y
8343 (scrollCB): first -> first_y
8344 (workAreaMotionNotify): first -> first_y
8345 (workAreaButtonPress): first -> first_y
8346 (checkInsetHit): first -> first_y
8347 (cursorPrevious): first -> first_y
8348 (cursorNext): first -> first_y
8349 (Dispatch): add buffer_->params to severl inset contructors
8351 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8353 * lyxlayout.C (Read): remove some debug info that I forgot.
8355 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8356 clean up the code slightly.
8357 (makeLinuxDocFile): ditto
8358 (makeDocBookFile): ditto
8360 * text2.C: layout as string
8362 * text.C: layout as string
8364 * paragraph_pimpl.C: layout as string
8366 * paragraph.[Ch]: layout as string
8368 * lyxtextclasslist.[Ch]: layout as string
8370 * lyxtextclass.[Ch]: layout as string
8372 * lyxtext.h: layout as string
8374 * lyxlayout.[Ch]: layout as string
8376 * lyx_cb.C: layout as string
8378 * bufferview_funcs.C: layout as string
8380 * bufferparams.C: layout as string
8382 * buffer.C: layout as string
8384 * LyXView.[Ch]: layout as string
8386 * LaTeXFeatures.[Ch]: layout as string
8388 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8390 * BufferView_pimpl.C: change current_layout to string, remove
8395 (workAreaButtonRelease): layout as string
8397 * BufferView2.C (unlockInset): adjust
8399 * vspace.C (asLatexCommand): use an explict temp variable.
8401 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8403 * Makefile.am: use FRONTEND_*
8405 2002-03-01 Juergen Vigna <jug@sad.it>
8407 * tabular.C (SetWidthOfMulticolCell): changed to something better
8408 I hope but still work in progress.
8409 (recalculateMulticolumnsOfColumn): renamed function from
8410 recalculateMulticolCells as it is more appropriate now.
8411 (SetWidthOfCell): calculate multicols better.
8413 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8415 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8417 * lyxfunc.C (processKeySym): print sequence also if it is
8418 `deleted' (complete)
8420 * kbsequence.C (print): print sequence even if it is deleted
8421 (complete would be a better word, actually).
8423 * lyxfunc.C (dispatch): print complete options after a prefix key
8425 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8427 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8429 * text2.C (setCharFont): eliminate setCharFont code duplication.
8431 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8433 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8434 LFUN_TABULAR_FEATURE (bug #177)
8436 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8438 * Makefile.am: remove figure.h
8440 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8442 * Bufferview_pimpl.C:
8454 * text2.C: remove #include "lyx_gui_misc.h".
8456 * LaTeX.C: added #include <cstdio>
8458 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8460 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8461 that the paragraph following this one can have.
8463 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8465 * vspace.C (asLatexCommand): fix bogus gcc warning
8467 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8469 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8471 * text2.C (setLayout): get rid of redundant code
8473 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8475 * text2.C (incDepth): make sure depth cannot be increased beyond
8478 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8480 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8481 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8483 * PainterBase.h (image):
8484 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8487 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8491 * BufferView_pimpl.C:
8492 * BufferView_pimpl.h:
8512 * sp_spell.C: remove fig inset, and the crap house of
8513 cards that follows it
8515 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8521 * nt_defines.h: move .h into support/
8523 * vms_defines.h: remove
8525 * WorkArea.C: add space in debug output
8529 * buffer.C: add WITH_WARNINGS
8533 * bufferlist.C: s/retrive/retrieve/, add docs
8544 * lyxgui.C: add ID to X error handler
8546 * lyxtestclass.c: fix typo
8548 2002-02-26 Juergen Vigna <jug@sad.it>
8550 * tabular_funcs.C (write_attribute): changed so that some default
8551 attributes are not written at all.
8552 (getTokenValue): set default values before trying to read the
8553 value so we have the return value always set as default if we don't
8554 find the token we search for.
8556 * tabular.C (Write): write bools as bools not as strings!
8558 2002-02-22 Juergen Vigna <jug@sad.it>
8560 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8561 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8563 * text.C (leftMargin): don't add an indent for paragraphs inside
8564 tabular cells (fix #208).
8566 2002-02-21 José Matos <jamatos@fep.up.pt>
8568 * tabular.C (docBook): fixed support for long tables.
8570 2002-02-20 Juergen Vigna <jug@sad.it>
8572 * text2.C (getFont): get the drawing font of the Inset if this
8573 paragraph is inside an inset (only important for InsetERT for now).
8575 * buffer.C (insertErtContents): use new lanugage params in ERT
8578 * CutAndPaste.C: commenting out seemingly uneeded code.
8580 2002-02-19 Allan Rae <rae@lyx.org>
8582 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8583 Iterators might be simple to use but they also get invalidated.
8584 (removeAutoInsets): renamed saved cursor tracking variables and added
8585 some comments to clarify what everything does.
8587 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8594 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8595 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8598 * vc-backend.h: remove #include "support/syscall.h"
8602 * converter.C: rearrange #includes in Lars' approved fashion.
8604 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8605 forward declare class Timeout in the header file.
8607 * XFormsView.C: changes due to the above.
8609 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8612 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8613 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8615 2002-02-18 José Matos <jamatos@fep.up.pt>
8617 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8620 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8622 * a lot of small ws changes
8623 * add a lot of using std::XXX
8624 * use std construcs some places where approp.
8625 * use some exisint stuff from lyxfunctional where approp.
8626 * Make file changes to use partial linking (lets test this now...)
8628 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8632 remove #include "support/syscontr.h" as it's redundant. Always has been.
8640 change Systemcalls::System to Systemcalls::Wait and
8641 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8642 No change of functionality, just reflects the stripped down Systemcalls
8645 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8647 * debug.[Ch]: add a GRAPHICS type to the enum.
8649 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8651 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8653 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8656 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8658 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8659 match the changes below.
8661 * text2.C (toggleInset): if there is not editable inset at cursor
8662 position, try to see if cursor is _inside_ a collapsable inset
8665 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8667 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8668 document menu has a nice checkbox
8670 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8672 * lyxlength.C (asLatexString): change PW to output as percent of
8675 * lengthcommon.C: change '%' to 't%'
8677 * lyxfunc.C (dispatch): a few comments from Martin
8679 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8683 * BufferView_pimpl.h:
8684 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8687 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8689 * vspace.C (inPixels): fix compiler warning
8691 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8693 * lyxfunc.C (getStatus): fix status message for disabled commands.
8695 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8697 * BufferView_pimpl.C: fix crash on close buffer
8698 during selection (#227)
8700 2002-01-27 Herbert Voss <voss@lyx.org>
8702 * buffer.C: link old Figure to new graphic inset
8704 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8706 * FontLoader.C (getFontinfo): Change the latex font names in order
8707 to match the names of type1inst.
8709 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8711 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8713 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8716 (remove_files_with_extension): ditto
8717 (remove_file): ditto
8720 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8721 document is smaller than the work area height. Do not initialize
8722 static variables to 0.
8724 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8726 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8728 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8729 LFUN_LAYOUT_PARAGRAPHS.
8731 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8732 tabular. It is possible to provide a possible cell, which will
8733 typically be the actcell from the corresponding insettabular
8735 * lyxfunc.C (getStatus): small cleanup; disable
8736 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8739 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8741 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8743 * paragraph.C (startTeXParParams):
8744 (endTeXParParams): new methods. The LaTeX code to
8745 start/end paragraph formatting
8746 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8747 empty (fixes bug #200)
8749 * vspace.C (inPixels): adapt to the change below
8750 (inPixels): [later] more cleanups (remove unused variables)
8752 * lyxlength.C (inPixels): change to use a width and a height as
8755 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8757 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8758 Replaced with \paperwidth
8760 * DepTable.C (insert): add std:: qualifier
8762 2002-01-18 Allan Rae <rae@lyx.org>
8764 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8767 * text.C (drawInset): Turned out I didn't know enough about how
8768 rebreaking worked. This fixes most of the redraw problems. I see
8769 an occasional cursor trail when a line is broken now and the cursor
8770 placement can seem out by a few pixels also after a rebreak.
8772 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8774 * buffer.C (parseSingleLyXformat2Token): update because minipage
8775 width is now a LyXLength
8777 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8779 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8782 2002-01-17 Juergen Vigna <jug@sad.it>
8784 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8786 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8787 is set correctly and the inset is updated correctly.
8789 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8791 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8792 the beginning of the loop.
8794 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8796 * lyxrc.C: improve help for use_scalable_fonts
8798 2002-01-17 Allan Rae <rae@lyx.org>
8800 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8802 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8804 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8805 make sure to set their inset_owner to the right value (bug #171)
8807 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8810 * DepTable.C: Implement mtime checking to reduce time spent doing
8813 2002-01-16 Juergen Vigna <jug@sad.it>
8815 * tabular.C (GetAdditionalHeight): one of error fixed.
8817 * lyxrc.C (output): small fix in writing use_pspell.
8819 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8821 * sp_base.h: #include LString.h
8823 2002-01-16 Allan Rae <rae@lyx.org>
8825 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8826 Can someone check this please?
8828 * text.C (drawInset): It was possible that p.row would be removed by
8829 breakAgainOneRow upsetting a few other settings. There may be another
8830 small tweak possible by setting need_break_row = 0 when p.row has been
8831 removed but I don't know enough about the logic here.
8833 2002-01-15 Allan Rae <rae@lyx.org>
8835 * text.C (insertChar): removed conditional truism.
8837 * BufferView2.C (removeAutoInsets): More tweaks.
8838 cur_par_prev could be a stray pointer. Check for trailing empty line
8839 in case last line was cur_par and only had an error inset on it.
8841 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8843 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8846 * vc-backend.C (most methods):
8847 * exporter.C (Export):
8848 * converter.C (convert):
8850 * LyXSendto.C (SendtoApplyCB):
8851 * lyxfunc.C (dispatch):
8855 * lyx_cb.C (AutoSave):
8857 * BufferView_pimpl.C (MenuInsertLyXFile):
8858 * buffer.C (runChktex): use Buffer::filePath().
8860 * buffer.h: rename filename to filename_; rename filepath to
8861 filepath_ and make it private
8862 (filePath): new method
8864 * buffer.C (writeFile): use fileName()
8867 * lyx_main.C (init): fix starting of LyX when the binary is a
8868 link from so,ewhere else.
8870 * minibuffer.C: include <cctype> for isprint
8872 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8874 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8875 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8876 name clash with InsetCollapsable's width function.
8878 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8880 * lastfiles.C: include <iterator>
8882 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8884 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8887 * buffer.C (makeLaTeXFile): ditto.
8888 Also make loop operation more transparent.
8890 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8892 * ToolbarDefaults.C: remove trailing comma closing namespace.
8894 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8896 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8899 * trans.C (Load): comment out unused variable, allowed.
8901 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8903 * minibuffer.[Ch] (append_char): new method to recieve input from the
8904 drop-down completion browser. If a key was pressed, then recieve this
8905 char and append it to the existing string.
8906 (peek_event): modify the positioning data passed to the completion
8907 browser so that it can be placed above the minibuffer rather than below.
8908 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8910 * LyXAction.C (init): alloe error-next for readonly documents.
8912 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8915 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8917 * bufferlist.C (readFile): create the buffer _after_ checking that
8920 * lyxfunc.C (verboseDispatch): fix handling of arguments
8922 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8924 * lyxrc.C: use string::erase() instead of initializing to "".
8927 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8929 * BufferView_pimpl.h:
8930 * BufferView_pimpl.C:
8933 * text2.C: tell X when we have made a selection for copying
8935 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8937 * BufferView_pimpl.C (MenuInsertLyXFile):
8938 * lyxfunc.C (menuNew):
8940 (doImport): add shortcuts to directory buttons
8942 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8945 * lyxfunc.C (setStatusMessage):
8946 (getStatusMessage): new methods
8947 (getStatus):use setStatusMessage instead of setErrorMessage
8948 (dispatch): when function is disabled, set error message here
8949 [instead of in getStatus previously]
8951 * BufferView_pimpl.C (workAreaButtonRelease): update
8952 toolbar/menubar here too.
8954 2002-01-13 Allan Rae <rae@lyx.org>
8956 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8957 Now seems indestructible. Remaining task is to audit all other
8958 code affected by deleteEmptyParagraphMechanism. One small quirk
8959 left is that an empty document with an error in the preamble can
8960 be made to report an error but no error box appears. I don't know
8962 (removeAutoInsets): Improved comments.
8964 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8967 * Thesaurus.C: update for Aiksaurus 0.14
8969 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8971 * text2.C (firstParagraph): removed member function, all uses
8972 replaces with ownerParagraph
8973 (redoParagraphs): here
8975 (toggleAppendix): here
8976 * BufferView2.C (insertErrors): here
8977 (setCursorFromRow): here
8979 2002-01-13 Allan Rae <rae@lyx.org>
8981 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8982 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8983 There is still a way to segfault this although you may have to do this
8984 multiple times: Have an InsetERT with an unknown command in it.
8985 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8986 <down-arrow>, <Enter> again, View->DVI, BANG!
8988 * text2.C (setCursor):
8989 (deleteEmptyParagraphMechanism):
8990 * lyxtext.h (setCursor):
8991 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8992 Making use of the return value may help fix other bugs.
8994 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8996 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8998 * LyXView.C (updateMenubar): call MenuBar::update here
8999 (updateToolbar): but not here
9000 (showState): do not update toolbar/menubar
9002 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9003 should need to care about that.
9005 * lyxfunc.C (verboseDispatch): simplify a bit
9006 (getStatus): have a version which takes a pseudoaction, and
9007 another which requires a (kb_action,string).
9009 * LyXAction.C (retrieveActionArg): make it work also when action
9010 is not a pseudo-action.
9011 (getActionName): simplify a bit
9014 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9016 * lyxfunc.C (verboseDispatch): new families of methods with
9017 several ways to specify a command and a bool to indicate whether
9018 the command name and shortcut should be displayed in minibuffer
9019 (eventually, we could extend that to a finer bitmask like
9020 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9021 (dispatch): the pristine dispatch command which just, well,
9022 dispatchs! Note it still sets its result to minibuffer; I'm not
9025 * lyxfunc.h: remove setHintMessage
9027 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9029 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9031 * BufferView_pimpl.C (specialChar): delete new inset if we have
9032 not been able to insert it.
9034 * kbmap.C: revert to using int instead of kb_action, since all we
9035 are dealing with is pseudo-actions.
9037 * LyXAction.C (searchActionArg): change to return int instead of
9038 kb_action, since the result is a pseudoaction.
9040 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9042 * buffer.C (insertErtContents): Fix (partially) the font bug.
9044 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9046 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9047 as the other one is broken on my machine!
9049 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9052 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9054 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9056 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9057 reflect their actual use. Provide compatibility code for older lyxrc
9060 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9062 change names of popup font variables in line with the changes to lyxrc.C
9064 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9066 * buffer.C (asciiParagraph): avoid outputing a word twice after
9069 * lyxrc.C (getDescription): document that document_path and
9070 template_path can be empty.
9072 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9074 * LaTeXFeatures.C (getMacros):
9075 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9077 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9079 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9081 (getPackages): rename feature "floats" to "float". Use an array to
9082 iterate over 'simple' features (i.e. just a \usepackage). Add
9083 handling of "amsmath" (renamed from "amsstyle").
9085 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9087 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9090 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9092 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9093 FuncStaus::FuncStatus & FuncStaus::some_method().
9095 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9097 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9098 of the func_satus stuff. Edited and massaged in various ways by
9101 * lyxfunc.C (getStatus): use FuncStatus
9103 2002-01-08 Juergen Vigna <jug@sad.it>
9105 * text.C (nextBreakPoint): use function Inset::isChar().
9107 * paragraph.C (TeXOnePar): use function
9108 Inset::forceDefaultParagraphs.
9110 * buffer.C (latexParagraphs): use function
9111 Inset::forceDefaultParagraphs.
9113 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9115 * lyx_gui.C (init): set the style of the menu popups to
9116 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9118 2002-01-07 Juergen Vigna <jug@sad.it>
9120 * text.C (setHeightOfRow): small fix
9121 (prepareToPrint): don't look at alignment if we don't have the place
9124 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9126 * box.C: New file. Move the Box methods and functions out of box.h,
9127 following Lars' suggestion.
9129 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9131 * box.h: #include "support/LOstream.h", needed for inlined function.
9134 * lyxtextclasslist.C: added some using std declarations.
9136 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9138 * box.h: make signed dimensions to allow insets wider than
9139 the screen (bug #162)
9141 * BufferView_pimpl.C: add some insetHit debug
9143 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9145 * vc-backend.C: add FIXME
9147 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9149 * lyxfunc.C (getStatus): enable code for showing math font status
9152 2002-01-07 Juergen Vigna <jug@sad.it>
9154 * text.C (nextBreakPoint): removed debug output not needed anymore.
9156 2002-01-06 Juergen Vigna <jug@sad.it>
9158 * text.C (nextBreakPoint): fixed up this function we had this bug
9159 since ever but now hopefully we break row better.
9160 (insertChar): we have to check if an inset is the next char as it
9161 could now happen that a large inset is causing a break.
9163 2002-01-05 Juergen Vigna <jug@sad.it>
9165 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9166 if it doesn't like to be drawed.
9168 2002-01-04 Juergen Vigna <jug@sad.it>
9170 * BufferView2.C (lockInset): forgot to set a cursor.
9172 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9174 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9179 * form_maths_panel.C:
9180 * form_maths_panel.h:
9181 * form_maths_panel.fd: implemented sub- and super- buttons in math
9184 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9185 (or ^ space) to be used as in TeX (req'd by André).
9187 * lyxfunc.C: Allow ^ and _ again to be used both as
9188 super/subscript (mathed) and as themselves (in text).
9190 2002-01-03 Allan Rae <rae@lyx.org>
9192 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9193 "LyX" or the filename of the current buffer if it has one. This is a
9194 modified form of John Levon's patch.
9196 * XFormsView.C (setWindowTitle): also set icon title.
9198 * LyXView.h (setWindowTitle): signature changed.
9199 * XFormsView.h (setWindowTitle): ditto.
9201 2002-01-02 Juergen Vigna <jug@sad.it>
9203 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9205 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9207 * screen.C (topCursorVisible): introduce a temp var for
9208 text->cursor.row(), handle the case where this row is null. (kindo
9211 * text2.C (setCursor): add a couple of asserts.
9213 * paragraph.h (inset_iterator): add -> operator
9215 * paragraph.[Ch] (autoDeleteInsets): remove member function
9217 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9218 cursor pos correctly and handle inset deletion by itself.
9219 (insertErrors): move iterator declaration out of for expression
9221 * lyxtextclass.C: add <algorithm>
9223 * Makefile.am: added the new files to sources, removed layout.C
9225 * layout.C: removed file
9227 * layout.h: remove LYX_DUMMY_LAYOUT
9229 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9233 * lyxtextclass.[Ch]:
9234 * lyxtextclasslist.[Ch]: new files
9236 * include order changes to a lot of files, also changes because of
9239 2001-12-27 Juergen Vigna <jug@sad.it>
9241 * buffer.C (asciiParagraph): more fixes.
9243 * tabular.C (ascii): make ascii export support export of only the
9244 data separated by a column-delimiter.
9245 (ascii): better support for ascii export.
9247 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9249 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9251 * tabular_funcs.C: use a "using std::getline" instead of the
9252 previous fix from Angus (necessary for cxx + lyxstring)
9254 2001-12-24 Juergen Vigna <jug@sad.it>
9256 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9258 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9259 problems. First check a minipage also if we have some ert-contents
9260 (not only on par->size(), second set the right depth of the paragraph
9261 on the relink to the root-paragraph-list!
9263 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9264 which then did not anymore update the main paragraphs on undo/redo!
9266 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9268 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9269 code. Support all font-changing funcs (even those which are not in
9270 menu currently). Support for reporting font settings in
9271 mathed (disabled until Andre provides a function on mathed's side).
9273 * func_status.h (toggle): small helper function to set toggle
9276 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9278 * tabular_funcs.C: getline -> std::getline
9280 2001-12-21 Juergen Vigna <jug@sad.it>
9282 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9283 accessed and could be 0 (I couldn't generate this but it seems
9286 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9288 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9289 * tabular_funcs.h: here and include iosfwd
9291 2001-12-20 Juergen Vigna <jug@sad.it>
9293 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9294 inside inset but undo_par was.
9296 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9298 * Thesaurus.C: always include <config.h> in sources.
9302 * box.h: do not include <config.h> in header files
9304 * text.C (paintLastRow): remove unused variable
9306 * text.C (transformChar):
9308 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9311 * font.C (width): rewrite to use uppercase() instead of
9314 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9316 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9318 * lyxfind.C: clean up of find failure position change
9320 2001-12-20 Juergen Vigna <jug@sad.it>
9322 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9324 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9325 (TeXRow): added to LaTeX a single tabular row.
9326 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9327 (Latex): simplified and finally good LT-h/f support.
9328 (various_functions): just small adaptions for LT-h/f support.
9330 * tabular_funcs.[hC]: added and moved here all not classfunctions
9333 2001-12-19 Juergen Vigna <jug@sad.it>
9335 * tabular.[Ch]: better support for longtabular options (not finished
9338 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9340 * text.C (paintLastRow): use the label font instead of the font of
9341 the last character to compute the size of *_BOX. This makes more
9342 sense and avoids a crash with empty paragraphs.
9343 Use Painter::rectangle to draw EMPTY_BOX.
9345 2001-12-19 Juergen Vigna <jug@sad.it>
9347 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9348 the paragraphs if the replaced paragraph is not the first one!
9349 Tried to delete not used paragraphs but does not work yet so for
9350 now it's inside #ifdef's and by default off!
9352 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9354 * MenuBackend.C: include "lyx_main.h" instead of declaring
9355 lastfiles (actually was declared as LastFiles* instead of a
9358 2001-12-17 Juergen Vigna <jug@sad.it>
9360 * tabular.C (AppendColumn): applied John's fix
9362 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9366 * BufferView_pimpl.h:
9367 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9370 * box.h: new start of class for above
9372 * lyxfunc.C: ignore space-only minibuffer dispatches.
9373 Show the command name when it doesn't exist
9375 * minibuffer.C: don't add empty lines to the history
9377 * minibuffer.C: add a space on dropdown completion
9379 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9381 * text.C: fix line above/below drawing in insets
9383 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9385 * lyxlength.C (LyXLength): Initialize private variables.
9387 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9389 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9390 when inserting error insets.
9392 2001-12-13 Juergen Vigna <jug@sad.it>
9394 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9395 actually sometimes the before-paragraph.
9396 (setUndo): don't clear the redostack if we're not actually undoing!
9398 2001-12-06 Juergen Vigna <jug@sad.it>
9400 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9401 and fixed redoing of main paragraph, so we can use it now ;)
9403 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9405 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9407 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9410 2001-12-13 André Pönitz <poenitz@gmx.net>
9413 * undo_func.C: minor cleanup
9415 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9417 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9418 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9419 font in urw-fonts package which is marked as -urw-fontspecific and
9420 does not work (incidentally, changing the encoding in the
9421 fonts.dir of this package to -adobe-fontspecific fixes the
9424 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9425 is a crash when undoing first paragraph (Juergen, please take a
9426 look). THis does not mean the undo fix is wrong, just that it
9429 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9430 the (Paragraph*) version when needed instead of duplicating the
9433 * text.C (workWidth): use Inset::parOwner to find out where the
9434 inset has been inserted. This is a huge performance gain for large
9435 documents with lots of insets. If Inset::parOwner is not set, fall
9436 back on the brute force method
9438 * paragraph_pimpl.C (insertInset):
9439 * paragraph.C (Paragraph):
9440 (cutIntoMinibuffer): set parOwner of insets when
9441 inserting/removing them
9443 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9445 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9451 * mathed/formulabase.C:
9452 * mathed/math_cursor.[Ch]:
9453 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9456 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9458 * lyxlength.[Ch] (operator!=): new function
9460 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9462 * text.C (workWidth): use Inset::parOwner to find out where the
9463 inset has been inserted. This is a huge performance gain for large
9464 documents with lots of insets. If Inset::parOwner is not set, fall
9465 back on the brute force method
9467 * paragraph_pimpl.C (insertInset):
9468 * paragraph.C (Paragraph):
9469 (cutIntoMinibuffer): set parOwner of insets when
9470 inserting/removing them
9472 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9474 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9476 * tabular-old.C (getTokenValue):
9477 * tabular.C (getTokenValue):
9478 (write_attribute): new versions for LyXLength
9479 (everywhere): adjust the use of widths
9481 * tabular.h: change the type of widths from string to LyXLength
9483 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9485 * paragraph.C: fixed missing line number count when exporting
9486 Environments to LaTeX file
9488 * buffer.C: added informational message for checking line numbers.
9490 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9492 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9493 paragraph, do the 'double space' part, but not the 'empty
9496 * text.C (workWidth): small optimization
9497 (getLengthMarkerHeight): use minimal size for negative lengths.
9499 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9501 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9503 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9505 2001-12-11 André Pönitz <poenitz@gmx.net>
9508 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9510 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9512 * text2.C: keep selection on a setFont()
9514 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9516 * lyx_cb.C: another bv->text misuse, from insert label
9518 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9521 * kbsequence.C: re-instate nmodifier mask
9523 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9525 * lyx_main.h: make lyxGUI private.
9527 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9529 * lyxfind.C: place the cursor correctly on failed search
9531 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9533 * text.C (getLengthMarkerHeight): for small heights, the arrows
9534 are not always on top/bottom of the text
9535 (drawLengthMarker): smaller arrows; take the left margin in
9536 account; draw also vfills.
9538 (paintLastRow): remove special code for vfill and standard spaces,
9539 since everything is handled in drawLengthMarker now.
9541 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9543 * buffer.C (insertErtContents): try to handle font and language
9544 interaction a bit better.g
9546 * ColorHandler.C (updateColor): change the hash to cover the whole
9547 LColor enum, ws cleanup
9548 (getGCLinepars): ditto
9549 (getGCLinepars): only lookup in the linecache once.
9551 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9553 * iterators.C (operator++): Make the iterator more robust
9555 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9557 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9559 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9562 * text.C: better added space drawing
9564 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9567 * BufferView2.C: fix layout combo update on inset unlock
9569 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9571 * Makefile.am: don't compile unused files
9573 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9577 * LyXAction.C: remove old LFUN_LAYOUTNO
9579 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9581 * paragraph_pimpl.h:
9582 * paragraph_pimpl.C: isTextAt() doesn't need font param
9584 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9587 * lyxlex.C: little cleanup
9589 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9591 * BufferView_pimpl.C: fix insertAscii for insets
9593 2001-12-05 Juergen Vigna <jug@sad.it>
9595 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9596 set the right font on the "multi" paragraph paste!
9598 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9604 * lyxlength.C: remove out-commented code.
9620 * vc-backend.C: change "while(" to "while ("
9622 * lyxlength.[Ch]: add zero function to check if length is zero or
9624 * lyxgluelength.C: use it
9626 2001-12-05 Allan Rae <rae@lyx.org>
9628 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9629 Works for 2.95.3, from what I understand of Garst's reports this should
9630 work for other g++ versions. We're screwed if the abs(int) definition
9631 changed between bugfix releases of gcc.
9633 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9635 * text.C: fix chapter label offset !
9637 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9640 * text.C: fix hfill at end of line, clean up
9642 2001-12-04 Juergen Vigna <jug@sad.it>
9644 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9645 that we force an update of the inset and it's owners if neccessary.
9647 2001-12-03 Juergen Vigna <jug@sad.it>
9649 * text.C (rowLast): simplified code
9651 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9653 * lyxfunc.C: fix show options on timeout
9655 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9657 * screen.C (topCursorVisible): scroll half a page when the cursor
9658 reached top of bottom of screen
9660 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9662 * minibuffer.C: deactivate on loss of focus
9664 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9666 * vspace.[Ch] (operator!=): add operator.
9668 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9670 * BufferView_pimpl.C: refuse to open an inset when
9671 there's a selection.
9673 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9675 * BufferView_pimpl.C: allow to click on RHS of full row insets
9677 2001-11-30 Juergen Vigna <jug@sad.it>
9679 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9680 insets for undo reasons.
9682 2001-11-28 André Pönitz <poenitz@gmx.net>
9684 * vspace.[Ch]: cosmetical changes
9686 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9696 * kbsequence.C: part re-write of old kb code
9699 * WorkArea.C: remove Lgb_bug_find_hack
9701 2001-11-30 José Matos <jamatos@fep.up.pt>
9703 * buffer.C (makeDocBookFile): add a comment to point a hack.
9704 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9705 Fixed a double write of labels.
9707 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9710 * LaTeX.h Fixed bug in LaTeX class where it would not
9711 re-run latex if no depfiles were changed, but the .dvi was removed.
9713 2001-11-28 André Pönitz <poenitz@gmx.net>
9715 * all the files from the change on 2001/11/26:
9716 use lyx::layout_type instead of LyXTextClass::size_type
9717 use lyx::textclass_type instead of LyXTextClassList::size_type
9719 2001-11-29 Juergen Vigna <jug@sad.it>
9721 * text.C: added support for paragraph::isFreeSpacing()
9723 * buffer.C: same as above
9725 * paragraph.h: inserted isFreeSpacing() function to enable
9726 FreeSpacing inside InsetERT.
9728 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9729 of the paragraph's in the cut/copy buffer to 0!
9731 * text2.C (removeRow): remove the assert as it can!
9733 * lyxtext.h: added helper function firstRow returning firstrow and
9734 made firstrow private again.
9736 * BufferView2.C (lockInset): don't relock if we're already locked!
9738 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9740 (removeRow): added Assert::(firstrow)
9742 * debug.C: forgot to add INSETTEXT here.
9744 2001-11-28 Juergen Vigna <jug@sad.it>
9746 * sp_spell.C (initialize): changed error text to more general
9747 spellchecker command use (not only ispell!)
9749 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9751 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9753 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9755 * vspace.C: initialise lyxgluelength on failure
9757 2001-11-28 Allan Rae <rae@lyx.org>
9759 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9760 declaration & definition that looks like a function declaration.
9762 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9764 * BufferView2.C (copy):
9765 (copyEnvironment): do not clear the selection when doing a copy.
9767 * text.C (paintFirstRow): compilation fix
9769 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9771 * tabular.C (Latex): correct line count when writing latex.
9773 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9775 * paragraph_pimpl.h:
9776 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9779 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9783 * LColor.C: change vfillline->added_space
9785 * text.C: add markers and text for added space
9787 * vspace.C: fix comment
9789 2001-11-28 André Pönitz <poenitz@gmx.net>
9791 * paragraph.C: whitespace changes
9792 * all the other files from the change on 2001/11/26:
9793 change *::pos_type into lyx::pos_type
9795 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9797 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9798 language of the document when inserting error insets.
9800 2001-11-26 André Pönitz <poenitz@gmx.net>
9802 * BufferView_pimpl.[Ch]:
9810 * paragraph_pimpl.[Ch]:
9813 * text2.C: reduce header dependencies, introduce type for positions
9815 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9817 * <various>: change to use Alert.h
9819 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9821 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9822 when encountering an unknown token.
9823 (readLyXformat2): Show an error message if there were unknown tokens.
9825 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9828 * BufferView_pimpl.C:
9832 * text2.C: use par->isInset()
9834 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9836 * paragraph_pimpl.h:
9837 * paragraph_pimpl.C: cleanup
9839 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9841 * text2.C (removeRow):
9842 * text.C (setHeightOfRow): remove useless (and costly) call to
9845 2001-11-20 Allan Rae <rae@lyx.org>
9847 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9848 Now need Inset*::checkInsertChar() to return true for appropriate
9849 cases so that the characters in the minibuffer will actually be
9852 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9854 * text.C: change the order of the includes.
9855 (workWidth): initialize it at once.
9856 (workWidth): make maxw unsigned
9857 (setHeightOfRow): remove unused variable (inset)
9858 (selectSelectedWord): remove unused variable (inset)
9859 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9861 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9863 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9864 server is not running.
9866 (closeConnection): add debug info when server is disabled.
9868 * ColorHandler.C (getGCForeground): send debug message to GUI
9871 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9873 * kbmap.C (bind): modify because return conventions of
9874 kb_sequence::parse have changed.
9876 * kbsequence.C (parse): only ignore spaces and not any stupid
9877 control character. This avoids tests like s[i] <= ' ', which are
9878 guaranteed to fail with 8bit characters and signed chars.
9879 Change return code to string::npos when there have been no error
9880 (0 was a bad idea when error is at first character)
9882 2001-11-14 José Matos <jamatos@fep.up.pt>
9885 * buffer.C (simpleDocBookOnePar): removed unused argument.
9887 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9889 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9890 insets which are part of a word. Paragraph::isLetter takes care of
9891 that now. Use Paragraph::isInset to identify insets.
9892 (selectSelectedWord): do not test for hyphenation break.
9894 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9895 that protected spaces are considered as spaces.
9897 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9900 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9903 * lyxserver.C: fix it. and small cleanup.
9905 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9907 * BufferView_pimpl.C: use inline helpers
9910 * LaTeXFeatures.C: fix typos
9913 * Spacing.C: move spacing_string into class
9915 * ToolbarDefaults.C: move stuff into namespace anon
9917 * layout.h: update enum
9919 * lyxfunc.C: use better debug
9921 * minibuffer.h: fix typo
9925 * WorkArea.C: add and use Debug::WORKAREA
9929 * text2.C: code re-organisation, inline helpers
9931 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9933 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9934 std::vector.empty().
9936 2001-11-09 Allan Rae <rae@lyx.org>
9938 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9939 '\n's after tables. Tabular and ERT inset work now makes this no
9942 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9945 * minibuffer.C: fix crash, improve drop-down completion
9947 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9950 * lyxserver.C: invalidate fd's when doing endPipe()
9952 2001-11-08 José Matos <jamatos@fep.up.pt>
9954 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9955 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9958 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9960 2001-11-07 José Matos <jamatos@fep.up.pt>
9963 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9966 * buffer.C (sgmlOpenTag):
9967 * buffer.C (sgmlCloseTag): removed debug info.
9969 * buffer.h (sgmlOpenTag):
9970 * buffer.h (sgmlCloseTag): made public.
9972 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9974 * buffer.C (saveParamsAsDefaults):
9975 * lyx_cb.C (MenuLayoutSave): remove
9977 * LyXAction.C (init):
9979 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9981 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9983 * buffer.C (setPaperStuff): removed from here...
9985 * bufferparams.C (setPaperStuff): ... and moved there.
9987 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9991 * XFormsView.C: add support for drop-down completion
9993 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9995 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9998 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10000 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10003 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10005 * lyx_main.C: change ref to known bugs
10007 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10009 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10010 to work around older babel problems.
10012 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10014 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10016 2001-10-24 Juergen Vigna <jug@sad.it>
10018 * tabular-old.C (ReadOld): below variable changes reflected.
10020 * tabular.[Ch]: added ltType struct for longtable header/footer
10021 defines and changed all instances where they are used. Added
10022 future support for double top/bottom rows.
10024 2001-10-24 José Matos <jamatos@fep.up.pt>
10026 * buffer.h (docbookHandleCaption):
10027 * buffer.C (docbookHandleCaption): removed unused function.
10028 (makeDocBookFile): moved docbook supported version to v4.1.
10030 2001-10-24 José Matos <jamatos@fep.up.pt>
10033 * tabular.C (docbookRow): new function to export docbook code of a row.
10034 (DocBook): now honors the longtable flags.
10036 2001-10-23 José Matos <jamatos@fep.up.pt>
10039 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10040 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10042 * buffer.C (makeLinuxDocFile):
10043 (makeDocBookFile): reworked the preamble, more clean, and with
10044 support for lyx defined entities. Changed the document declaration
10045 to be more XML friendly.
10047 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10048 if we need to output XML that should be done with a filter.
10050 2001-10-22 Juergen Vigna <jug@sad.it>
10052 * sp_pspell.h (class PSpell): add alive function needed in the
10053 controller to see if the spellchecker could be started.
10055 2001-10-22 Juergen Vigna <jug@sad.it>
10057 * buffer.C (insertStringAsLines): modify the font for inserting
10058 chars in certain conditions by calling checkInsertChar(font).
10060 2001-10-19 Juergen Vigna <jug@sad.it>
10062 * text.C (workWidth): use getRow instead of wrong algorithm.
10063 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10065 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10070 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10072 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10074 * text.C (workWidth): do not search for the exact row when
10075 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10076 optimization for big documents.
10078 2001-10-18 Juergen Vigna <jug@sad.it>
10080 * text.C (workWidth): new function with added Inset * parameter.
10082 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10084 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10086 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10087 change return type of getColumnNearX.
10090 * text.C (changeRegionCase): use uppercase/lowercase instead of
10093 (rightMargin): simplify code by factoring out the uses of
10098 (appendParagraph): use Paragraph::size_type
10100 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10102 * vspace.C (asLatexString): add a missing break
10104 2001-10-15 Herbert Voss <voss@perce.de>
10106 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10108 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10110 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10113 2001-10-10 André Pönitz <poenitz@gmx.net>
10115 * lyxfunc.C: removed greek_kb_flag.
10117 2001-10-10 Herbert Voss <voss@perce.de>
10119 * lyx_main.C: delete global string help_lyxdir.
10121 2001-10-09 Herbert Voss <voss@perce.de>
10123 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10125 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10127 * lyx_main.C: added global string help_lyxdir.
10129 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10131 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10133 * lyxrc.C (set_font_norm_type): support iso8859-4
10135 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10137 * LaTeX.C (deplog): add another regex for MikTeX
10139 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10141 * lyxrc.C (set_font_norm_type): support iso8859-3
10143 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10145 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10147 * LaTeXFeatures.C: remove special case of french and index
10149 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10150 before \begin{document}). This solves several incompatibilities.
10152 2001-10-03 Garst Reese <reese@isn.net>
10154 * lyx_cb.C: change CheckTex error msg.
10156 2001-10-03 José Matos <jamatos@fep.up.pt>
10158 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10160 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10162 * .cvsignore: update
10164 * lyx_main.C (commandLineVersionInfo): use new style version info.
10166 * buffer.C (writeFile):
10168 (makeLinuxDocFile):
10169 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10171 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10173 * version.h: update to use stuff in version.C
10175 * version.C.in: new file. Contains version information determined
10176 at compile time. This is a merging of version.h and
10179 2001-10-03 Juergen Vigna <jug@sad.it>
10181 * BufferView_pimpl.C (update): don't change "dirty" status in
10184 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10186 * WorkArea.C (c-tor): re-position version string slightly.
10188 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10190 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10191 revert to previous code.
10193 WorkArea.[Ch]: (show, destroySplash): methods removed.
10195 WorkArea.C: rework code so that it's an amalgam of the codes before and
10196 after the splash screen was moved to WorkArea.
10198 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10201 * vspace.C (inPixels):
10204 * buffer.C (insertStringAsLines):
10205 (asciiParagraph): fix types to be large enough
10207 * lyxlex_pimpl.h: change member status from short to int
10209 * layout.h: fix type of endlabeltype
10212 * kbsequence.C (parse): change return type to string::size_type
10214 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10217 * Bullet.C (bulletSize):
10218 (bulletEntry): do not use short ints as parameters
10220 * BufferView2.C (insertLyXFile): change a char to an int.
10222 * WorkArea.C (WorkArea): remove unneeded floats in computation
10224 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10226 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10228 * paragraph.C (asString): Do not ignore newline/hfill chars when
10229 copying to the clipboard.
10231 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10233 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10234 after a multi-line inset.
10236 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10238 * paragraph.C (validate): Set NeedLyXFootnoteCode
10240 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10242 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10243 and decrease-error to decrease.
10245 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10247 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10248 it more readable (should be equivalent)
10250 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10252 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10254 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10256 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10257 of a cursor (row, etc.) after a character has been deleted
10258 (deleteEmptyParagraphMechanism): call the method above on _all_
10259 cursors held by the LyXText when a double space has been
10262 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10264 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10266 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10268 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10269 background. Use greyOut() and the new show() methods to toggle between
10270 the foreground and background. Add code to remove the splash after
10271 its initial showing.
10273 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10274 (create_forms): no longer call Dialogs::showSplash.
10276 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10278 * .cvsignore: add version_info.h
10280 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10282 * version_info.h.in: new file
10284 * Makefile.am: add version_info.h.in
10286 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10287 version_info.h instead of VERSION_INFO
10289 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10291 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10292 The ERT inset now returns string().
10294 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10296 * lyxtext.h, text.C (selectNextWord): renamed as
10297 selectNextWordToSpellcheck.
10299 * text.C (selectNextWordToSpellcheck): Modified to not select
10300 words inside an ERT inset.
10302 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10304 * lyx_cb.C (MenuLayoutSave): change a bit the question
10306 * sp_base.h: include <sys/types.h>
10308 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10310 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10312 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10314 * several files: fix typos in user-visible strings
10316 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10318 * text2.C (pasteSelection): do not set the selection, since it
10319 will be cleared later. Actually, the intent was to fix the way the
10320 selection was set, but I figured rmoving the code was just as good.
10322 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10324 * FontLoader.C (available): Check if font is available without
10327 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10329 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10331 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10333 * lyxrc.[Ch]: added display_graphics variable and associated code.
10335 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10337 * bufferparams.C (hasClassDefaults): new method. Returns true if
10338 the buffer parameters correspond to known class defaults
10340 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10342 * XFormsView.C (show): set minimum size to the main window.
10344 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10346 * text2.C (copySelection):
10348 * lyxfind.C (LyXReplace):
10349 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10350 LyXText::selectionAsString.
10352 * paragraph.C (asString): add "label" argument to the second form
10354 * text2.C (selectionAsString): add "label" argument and pass it to
10355 Paragraph::asString.
10357 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10359 * lyx_main.C (commandLineHelp): remove version information
10361 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10363 * lyx_main.C: add -version commandline option
10365 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10367 * paragraph.h: make the optional constructor arg required instead.
10368 some modifications to other files because of this.
10370 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10372 * lyxserver.C (C_LyXComm_callback): make it static
10374 * lyx_main.C (error_handler): make it static
10376 * lyx_gui.C (LyX_XErrHandler): make it static
10378 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10380 * WorkArea.C: make the extern "C" methods static.
10382 * Makefile.am (lyx_LDADD): simplify
10384 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10386 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10387 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10389 * LyXAction.C (init):
10390 * lyxfunc.C (dispatch): associated code removal.
10392 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10394 * lyxfont.h (isSymbolFont): shut off warning
10396 * text.C (setHeightOfRow):
10397 (getVisibleRow): fix crash with empty paragraphs which have a
10400 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10402 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10405 2001-09-04 José Matos <jamatos@fep.up.pt>
10408 * tabular.C (docbook): rename docBook method to docbook.
10410 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10412 * Makefile.am: add dependencies to main.o.
10414 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10416 * FontLoader.C (available): Return false if !lyxrc.use_gui
10418 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10420 * FontInfo.C (query):
10421 * converter.C (view):
10422 * importer.C (Import):
10423 * exporter.C (Export): Can not -> cannot.
10425 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10427 * BufferView_pimpl.C: allow to create index inset even if
10430 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10432 * buffer.C (getLists): replace boost::tie code with an explicit pair
10433 as boost::tie can break some compilers.
10435 * iterators.h: Added a std:: declaration to the return type of
10438 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10440 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10443 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10445 * iterators.[Ch]: New files. Provide paragraph iterators.
10447 * buffer.C (changeLanguage): Use paragraph iterators.
10448 (isMultiLingual): ditto
10450 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10452 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10454 * FontLoader.C: Support for cmr font.
10456 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10458 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10459 (available): New method.
10461 * FontInfo.C (getFontname): Use scalable fonts even when
10462 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10465 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10467 * converter.C (Formats::view): reverted! Incorrect fix.
10469 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10471 * converter.C (Formats::view): only output the -paper option
10472 if the dvi viewer is xdvi, thereby fixing bug #233429.
10474 2001-08-23 Herbert Voss <voss@perce>
10476 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10478 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10480 * Spacing.h (Spacing): Set space to Default on in the default
10483 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10485 * vc-backend.h (RCS::versionString): add RCS to version
10486 (CVS::versionString): add CVS to version
10488 * vc-backend.C (scanMaster): do not add CVS to version.
10489 (scanMaster): do not add RCS to version
10491 * lyxvc.C (versionString): new method
10493 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10495 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10497 * Spacing.C (set): initialize fval
10499 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10501 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10504 2001-08-16 Juergen Vigna <jug@sad.it>
10506 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10508 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10510 * BufferView_pimpl.C:
10513 * text2.C: setParagraph takes linespacing now
10515 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10517 * LyxAction.C: add internal LFUN_CITATION_INSERT
10519 * LyXView.C: actually apply fix
10521 * bufferlist.C: fix open non-existent file
10523 * lyxfind.C: fix indentation
10525 * lyxfunc.C: remove unneeded assert, fix typo
10527 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10529 * MenuBackend.C: use "Floatname List"
10531 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10533 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10534 when converting LaTeX layout to insetERT.
10535 Generate a non-collapsed float when reading old float
10537 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10539 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10542 2001-08-13 Juergen Vigna <jug@sad.it>
10544 * text.C (fill): return 0 instead of 20 as this seems to be the more
10547 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10549 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10552 2001-08-13 Juergen Vigna <jug@sad.it>
10554 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10556 (SearchBackward): comment out the unlocking of the inset_owner this
10557 should not be needed!
10559 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10561 * Many files: Remove inherit_language, and add latex_language
10563 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10564 collapsible insets.
10566 2001-08-10 Juergen Vigna <jug@sad.it>
10568 * text.C (prepareToPrint): fixed hfill-width in draw!
10570 * BufferView2.C (selectLastWord): save the selection cursor as this
10571 now is cleared in the function LyXText::clearSelection!
10573 2001-08-08 Juergen Vigna <jug@sad.it>
10575 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10576 BACKSPACE type functions.
10578 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10579 is only cutted from the document but not put in the cut-buffer, where
10580 still the old stuff should be.
10582 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10584 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10586 * tabular.C (SetWidthOfCell): fixed special case where the width
10588 (LeftLine): handle '|' in align_special.
10590 (LeftAlreadyDrawed): ditto
10591 (SetWidthOfCell): ditto
10593 2001-08-07 Juergen Vigna <jug@sad.it>
10595 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10597 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10599 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10600 * lyxlex.[hC]: ditto
10602 2001-08-06 Juergen Vigna <jug@sad.it>
10604 * text.C (getVisibleRow): fix up row clearing a bit.
10606 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10608 * minibuffer.C: make sure the X server sees the changes in the input.
10610 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10612 * paragraph.C (getFont): split into...
10613 (getLabelFont): this
10614 (getLayoutFont): and this
10615 * paragraph_pimpl.C (realizeFont): calling this
10617 * text2.C (getFont): split into...
10618 (getLayoutFont): this
10619 (getLabelFont): and this
10620 (realizeFont): all three calling this
10622 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10625 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10627 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10629 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10631 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10632 layouts from the Quote inset insertion.
10634 2001-08-03 Juergen Vigna <jug@sad.it>
10636 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10638 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10639 only if status not is already CHANGED_IN_DRAW (second level).
10641 * text.C (draw): don't set the need_break_row when inside an
10644 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10646 * buffer.C (parseSingleLyXformat2Token): handle more latex
10649 * bufferview_funcs.[hC]: change function names to
10650 begin with small char, adjust other files.
10652 2001-08-02 André Pönitz <poenitz@gmx.net>
10655 BufferView_pimpl.C: remove broken special code for math-greek
10657 2001-08-02 Juergen Vigna <jug@sad.it>
10659 * BufferView_pimpl.C (update): redone this function so that we
10660 update the text again if there was a CHANGE_IN_DRAW.
10662 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10663 (drawFromTo): added a new internal bool which is used by draw() and
10665 (general): some cursor drawing problems fixed.
10667 2001-08-01 Juergen Vigna <jug@sad.it>
10669 * lyxfind.C (LyXFind): fixed
10670 (SearchForward): ditto
10671 (SearchBackward): ditto
10673 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10674 spurius drawing of the cursor in the main area.
10676 * text2.C (status): small fix which could lead to a segfault!
10677 (clearSelection): remove unneeded BufferView param.
10679 2001-08-01 André Pönitz <poenitz@gmx.net>
10681 * lyxfunc.C: small change due to changed mathed interface
10683 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10685 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10687 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10689 * lyxfunc.c: fail gracefully if file doesn't exist
10694 * BufferView_pimpl.C: IsDirWriteable() proto changed
10696 * LyXView.C: fix updateWindowTitle() to store the last title
10698 2001-07-31 Juergen Vigna <jug@sad.it>
10700 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10701 the font (wrong since using of Paragraph::highestFontInRange).
10703 * paragraph.C (highestFontInRange): added a default_size parameter.
10705 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10706 (setHeightOfRow): reformat
10708 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10710 * converter.[hC] + affected files: move to (inital-char)lowercase
10713 * ParagraphParameters.C (ParagraphParameters): remove commented code
10715 * PainterBase.[Ch]: remove commented code
10717 * LaTeXFeatures.h: add "bool floats" for float.sty
10719 * LaTeXFeatures.C (LaTeXFeatures): init floats
10720 (require): handle float
10721 (getPackages): do it with floats
10723 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10725 * BufferView_pimpl.C (Dispatch): improve handling of
10726 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10728 * commandtags.h: #include lyxfont.h here temporarily to avoid
10731 * bufferlist.h: include LString.h here.
10733 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10735 * text2.C (getStringToIndex): new method.
10737 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10739 * *: Reduced header file dependencies all over.
10741 2001-07-30 Baruch Even <baruch@lyx.org>
10743 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10745 2001-07-29 Baruch Even <baruch@lyx.org>
10747 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10749 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10751 * ParameterStruct.h (endif): add a default constructor to make
10752 sure that all variables is initialized.
10754 * ParagraphParameters.C (ParagraphParameters): adjust
10756 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10758 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10759 index; also, check that there is something to index, and that it
10760 does not span over several paragraphs.
10761 (doubleClick): use WHOLE_WORD_STRICT for double click.
10763 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10765 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10768 2001-07-26 Baruch Even <baruch@lyx.org>
10770 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10771 an InsetFig figure, backwards compatible reading of old figure code.
10773 2001-07-27 Juergen Vigna <jug@sad.it>
10775 * text2.C: font.realize function adaption.
10777 * text.C (draw): add a warnings lyxerr text if needed.
10779 * layout.C: font.realize function adaption.
10781 * language.C: add inherit_language and implement it's handlings
10783 * bufferview_funcs.C (StyleReset): remove language parameter from
10784 font creation (should be language_inherit now).
10786 * bufferparams.C (writeFile): handle ignore_language.
10788 * paragraph.C (getFontSettings): the language has to be resolved
10789 otherwise we have problems in LyXFont!
10791 * lyxfont.C (lyxWriteChanges): added document_language parameter
10792 (update): removed unneeded language parameter
10794 * paragraph.C (validate): fixed wrong output of color-package when
10795 using interface colors for certain fonts in certain environments,
10796 which should not seen as that on the final output.
10798 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10800 * BufferView_pimpl.C:
10805 * LyXAction.C: add thesaurus support
10808 * lyxfind.C: add "once" parameter, for thesaurus, to not
10809 move to the next match
10811 2001-07-26 Juergen Vigna <jug@sad.it>
10813 * lyxfont.C (realize): honor ignore_language too!
10816 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10818 * text.C (draw): one place more for ignore_language to not draw
10821 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10823 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10825 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10827 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10828 the minipage conversion problem.
10830 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10832 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10835 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10837 * BufferView.h: don't forward declare WorkArea
10839 * BufferView.C: don't include WorkArea.h
10841 2001-07-25 André Pönitz <poenitz@gmx.net>
10845 * lyxfunc.C: new LFUN 'math-space'
10847 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10849 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10851 * text2.C (toggleInset): call open/close
10853 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10855 * lyxfunc.C (dispatch): add debug for the disabled case
10857 * font.C (buttonText): make similar to rectText
10859 * buffer.C (readInset): comment out parsing of insetlist and
10862 * PainterBase.C (rectText): small correction
10864 * BufferView_pimpl.C: comment out insettheorem and insetlist
10865 * LyXAction.C: ditto
10866 * commandtags.h: ditto
10868 2001-07-24 Juergen Vigna <jug@sad.it>
10870 * text.C (draw): honor the ignore_language.
10872 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10874 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10876 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10879 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10881 * lyxtext.h: remove unused (and unimplemented) methods
10883 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10885 * text.C (getVisibleRow): honor background color
10888 * Painter.h: remove default color argument for fillRectangle
10890 * text.C (backgroundColor): new method
10892 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * text.C (getVisibleRow): adjust
10896 * font.[Ch] (rectText): new method, metrics
10897 (buttonText): new method, metrics
10899 * PainterBase.[hC]: make rectText and buttonText always draw and take
10902 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10904 * ToolbarDefaults.C (read):
10905 * MenuBackend.C (read): allow escaping in all strings
10907 * BufferView_pimpl.C (insertAndEditInset): new method.
10908 (Dispatch): use insertAndEditInset whenever appropriate.
10910 * BufferView_pimpl.C (insertNote): removed
10912 * BufferView_pimpl.C (smartQuote): new method, moved from
10913 BufferView; if an insetquote cannot be inserted, insert a '"'
10916 * BufferView2.C: remove insertCorrectQuote();
10918 * lyxfunc.C (getStatus): Add support for all remaingin
10919 inset-insert lfuns.
10921 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10923 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10924 command (necessary to pass " as parameter of self-insert.
10926 * text.C (selectWordWhenUnderCursor):
10927 (selectWord): add word_location parameter
10928 (selectWordWhenUnderCursor): same + remove special code for word
10930 (selectNextWord): use kind() to guess type of insetspecialchar,
10933 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10934 (insertErtContents): create ert insets as collapsed.
10935 (readInset): better compatibility code for Info inset.
10937 2001-07-20 Juergen Vigna <jug@sad.it>
10939 * lyxfunc.C (dispatch): use always LyXFind now!
10941 * text2.C (init): add a reinit flag so that the LyXText can be
10942 reinited instead of deleted and reallocated (used in InsetText).
10944 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10950 2001-07-18 Juergen Vigna <jug@sad.it>
10952 * text.C (selectNextWord): handle insets inside inset by calling
10953 always the bv->text functions so that we can go up the_locking_inset!
10955 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10956 in strange locations when inside an inset!
10958 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10959 handling to include insets.
10961 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10963 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10965 * LyXAction.C (init):
10967 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10968 LIGATURE_BREAK, since the name is so stupid.
10970 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10972 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10975 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10977 * sp_form.[Ch]: remove.
10979 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10981 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10984 * src/buffer.C (readInset): ditto.
10986 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10988 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10989 menuSeparator(), endOfSentenceDot(), ldots() and
10990 hyphenationPoint(), which are therefore removed.
10991 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10993 * LyXAction.C (init):
10994 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10996 * paragraph.C (getWord): removed.
10998 * BufferView_pimpl.C (Dispatch): use last word or selection for
10999 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11001 * lyx_main.C (queryUserLyXDir): do not ask before creating
11002 user_dir, except if it has been named explicitely.
11004 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11006 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11007 a document of zero size.
11009 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11011 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11012 approriately in the c-tor and in require().
11013 (getPackages): output the appropriate LaTeX for natbib support.
11015 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11016 variables "use_natbib" and "use_numerical_citations" when reading the
11018 (readInset): read the various natbib cite commands.
11019 (validate): white-space change.
11021 * bufferparams.[Ch]: new variables "bool use_natbib" and
11022 "bool use_numerical_citations".
11023 (writeFile): output them in the LyX file.
11025 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11027 * lyxfunc.C (getStatus): add support for all the inset insertion
11030 * text2.C (insertInset):
11031 * paragraph.C (insetAllowed):
11032 * BufferView_pimpl.C (insertInset): update to take in account the
11033 renaming of insertInsetAllowed
11035 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11037 * text2.C (getInset): new method. returns inset at cursor position.
11039 * BufferView_pimpl.C (Dispatch): changes because of this.
11041 * LyXAction.C (init): rename open-stuff to inset-toggle.
11043 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11045 * text2.C (toggleInset): renamed from openStuff; use
11048 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11050 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11052 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11054 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11056 * buffer.C (readLyXformat2): Add filename to the error dialog
11058 2001-07-18 Juergen Vigna <jug@sad.it>
11060 * tabular.C (GetCellNumber): put an assert here instead of the check!
11062 2001-07-17 Juergen Vigna <jug@sad.it>
11064 * BufferView_pimpl.C (toggleSelection): adapted too.
11066 * text.C (selectNextWord): adapted for use with insets.
11067 (selectSelectedWord): ditto
11069 2001-07-17 Juergen Vigna <jug@sad.it>
11071 * sp_spell.C (PSpell): fix initialitation order.
11073 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11075 * paragraph.C: spacing
11077 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11079 * sp_spell.C: repair language selection for pspell
11081 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11083 * lyxfunc.h: change more methods to begin with lower char.
11085 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11087 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11088 for unknown layouts.
11090 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11092 * buffer.C (readLyXformat2): Generate an error dialog if there are
11095 2001-07-16 Juergen Vigna <jug@sad.it>
11097 * sp_spell.C: always compile ISpell part.
11099 * lyxrc.C: added use_pspell entry and it's handling.
11101 2001-07-13 Juergen Vigna <jug@sad.it>
11103 * sp_spell.C: removed double includes.
11105 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11107 Consistent use of Lsstream.h:
11108 * Lsstream.h: added using std::stringstream for consistencies sake.
11110 * buffer.C: removed using std::stringstream
11112 * lyxfont.C (stateText):
11113 * paragraph.C (asString):
11114 * text.C (selectNextWord, selectSelectedWord):
11115 * text2.C (setCounter):
11116 * vspace.C (asString, asLatexString):
11117 std::ostringstream -> ostringstream.
11119 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11121 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11122 * commandtags.h: add LFUN_HELP_ABOUTLYX
11123 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11125 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11127 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11129 * lyx_gui_misc.C: remove spellchecker
11130 * lyxfunc.C: showSpellchecker
11132 * sp_ispell.h: added
11133 * sp_pspell.h: added
11134 * sp_spell.C: added
11135 * sp_form.[Ch]: removed
11136 * spellchecker.[Ch]: removed
11138 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11140 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11142 (simpleTeXSpecialChars): Simply print the input character without
11143 any special translation if pass_thru is set.
11145 * layout.h: Added bool pass_thru to layout class for being able to
11146 implement pass through of a paragraph for Literate Programming.
11148 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11149 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11150 * layout.C (Read): add "passthru" to list of layout tags and add
11151 code to set the pass_thru boolean when it is read.
11153 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11155 * trans_decl.h: remove allowed from KmodInfo
11157 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11158 remove allowed code
11161 * paragraph_pimpl.C (erase): use boost::prior
11163 * Painter.C (text): use data() instead of c_str() when length is
11165 * WorkArea.C (putClipboard): ditto
11166 * font.h (width): ditto
11168 * BufferView2.C: use it-> instead of (*it). for iterators
11170 * paragraph_pimpl.C: ditto
11171 * paragraph.C: ditto
11172 * minibuffer.C: ditto
11173 * language.C: ditto
11175 * encoding.C: ditto
11176 * counters.C: ditto
11177 * converter.C: ditto
11179 * Variables.C: ditto
11180 * TextCache.C: ditto
11181 * MenuBackend.C: ditto
11182 * LyXAction.C: ditto
11184 * FloatList.C: ditto
11185 * DepTable.C: ditto
11186 * ColorHandler.C (LyXColorHandler): ditto
11188 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11190 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11192 * text2.C (openStuff): reintroduce this method (which had been
11193 nuked in NEW_INSETS frenzy).
11195 * lyxfunc.C (Dispatch): when an action has not been handled, use
11196 its name in the error message, not its number.
11198 * paragraph.C (inInset): change method name to begin with lowercase.
11201 * text2.C: updates because of this.
11203 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11205 * ToolbarDefaults.C (add): add spaces in error message
11207 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11209 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11210 (readLyXformat2): rename return_par to first_par, use lyxlex's
11211 pushToken and remove the manual push handling.
11212 (parseSingleLyXformat2Token): add another ert comp. variable:
11213 in_tabular, rename return_par to first_par. handle newlines better
11215 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11217 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11219 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11221 * text2.C (getParFromID): removed
11223 * buffer.C (getParFromID): new method moved form lyxtext.
11224 * BufferView2.C (insertErrors): adjust
11225 (setCursorFromRow): adjust
11226 * BufferView_pimpl.C (restorePosition): adjust
11227 * lyxfunc.C (Dispatch): adjust
11228 * undo_funcs.C (textUndo): adjust
11230 (textHandleUndo): adjust
11231 (textHandleUndo): adjust
11233 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11235 * buffer.C: up' the LYX_FORMAT
11237 * lyxfont.h: turn NO_LATEX on as default
11239 * buffer.C (insertErtContents): new methods of tex style compability.
11240 (parseSingleLyXformat2Token): use it several places.
11241 * tabular.C (OldFormatRead): and here
11243 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11245 * text2.C: remove some commented code.
11248 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11249 * trans.C: changes because of the above.
11251 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11253 * text2.C (setCounter): Fix counters bug with bibliography layout.
11255 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11257 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11258 own member functions
11259 (simpleTeXSpecialChars): ditto
11261 2001-07-06 Juergen Vigna <jug@sad.it>
11263 * a lot of files: changed the access to LyXText::status and the
11264 call of undo-functions.
11266 * undo.[Ch]: added a inset_id to the undo informations.
11268 * undo_funcs.[Ch]: added and moved here all undo functions.
11270 * lyxtext.h: give the status enum a weight, made status_ a private
11271 variable and made accessor functions for it, removed the whole bunch
11272 of undo-functions as they are now in their own file, make some
11273 functions publically available. Added function ownerParagraph with
11276 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11277 made InInset() a const function, added getParFromID() function.
11279 * buffer.[Ch]: added const version for inset_iterator functions,
11280 added getInsetFromID() function.
11282 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11283 changed undo functions for new version.
11285 2001-07-05 Juergen Vigna <jug@sad.it>
11287 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11288 unknow mechanism does not call the proper constructor but only this
11289 one also if I request the other!?
11291 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11293 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11295 * text2.C (LyXText): use initialization lists.
11297 * lyxtext.h (Selection): initialize set_ and mark_
11298 (init): remove method
11300 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11302 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11304 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11306 * screen.[Ch]: change method names to begin with lowercase
11308 * BufferView_pimpl.C (updateScrollbar): simplify further and
11309 hopefully make it a bit faster.
11311 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11313 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11314 calling directly xforms functions.
11316 * Painter.C (Painter):
11317 * lyx_cb.C (MenuWrite):
11318 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11321 * lyx_gui.C: remove bogus guiruntime extern declaration.
11323 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11325 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11327 (redoDrawingOfParagraph): ditto
11328 (redoParagraphs): ditto
11329 (cutSelection): don't create a object for CutAndPaste use the
11330 static method directly
11331 (pasteSelection): ditto
11333 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11336 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11338 * modifications to some other files because of this.
11340 * Makefile.am (lyx_SOURCES): add XFormsView
11342 * XFormsView.[Ch]: new files
11344 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11345 the main window. Move the gui dependent stuff to XFormsView
11347 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11349 * tabular.C (GetCellInset): update cur_cell also in the row/col
11350 version of this function.
11352 * lyxfunc.C: no need to include figure_form.h here.
11358 * lyxvc.C: no need to include forms.h here.
11360 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11362 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11364 * lyxfunc.C (Dispatch):
11366 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11367 constructor argument.
11369 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11371 * paragraph.C (Paragraph): dont't clear, and just set layout.
11372 (makeSameLayout): use params's copy contructor.
11374 * ParagraphParameters.[Ch] (makeSame): delete method
11376 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11378 * Variables.[Ch]: fix indentation, rename set to isSet
11380 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11382 * lyxfunc.C (Dispatch): fix typo
11384 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11386 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11389 * bufferlist.C: include assert.h for emergencyWrite().
11391 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11393 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11394 give up at last (bug #425202) !
11396 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11402 * spellchecker.C: strip spellchecker options and bring up
11403 preferences tab instead
11405 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11407 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11408 the istringstream constructor
11410 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11412 * paragraph.C (getLayout): fix return value
11414 * paragraph.h: do not declare getLayout as inline.
11416 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11418 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11420 * lyxcursor.h (operator<): new func
11421 (operator>): new func
11422 (operator>=): new func
11423 (operator<=): new func
11425 * text.C (changeCase): use selection.start and selection.end
11426 (changeRegionCase): require from to be <= to. Require par to be a
11429 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11431 2001-06-27 Juergen Vigna <jug@sad.it>
11433 * text.C (cursorLeftOneWord): changed to return the cursor and added
11434 overlay with BufferView * parameter which calls this one.
11436 (selectWord): use new getWord function.
11437 (changeCase): renamed from changeWordCase as and extended to work
11438 also on selections.
11440 * lyxtext.h: added enum word_location
11442 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11443 changeCase as this operates now also on selections.
11445 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11447 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11449 * many files: send debug output to Debug::INFO instead of
11452 * converter.C (View):
11454 (Move): send debug output to Debug::FILES instead of console.
11456 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11458 * lyxfunc.C (getStatus): use func_status
11460 * func_status.h: new header, describing the results of
11461 LyXFunc::getStatus;
11463 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11466 2001-06-25 The LyX Project <jug@sad.it>
11468 * buffer.C (sgmlOpenTag):
11470 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11472 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11474 * text2.C: remove some dead code
11476 * tabular.C (GetCellInset): store the last cell checked (gotten)
11478 * tabular.h: add the helper for the speedup
11480 * lyxtext.h: remove some dead code
11482 2001-06-26 The LyX Project <Asger>
11484 * paragraph.C: Change export to LaTeX of alignment to
11485 \begin{center} and family for better roundtrip work with reLyX.
11487 * Tune the math drawing a bit.
11489 2001-06-25 The LyX Project <Asger>
11491 * LColor.C (LColor): New color for math background. New color
11494 2001-06-25 The LyX Project <jug@sad.it>
11496 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11498 * lyxfunc.C (Open):
11499 * bufferlist.C (newFile): do not restrict to files ending with
11502 * BufferView_pimpl.C (MenuInsertLyXFile):
11504 2001-06-24 The LyX Project <jug@sad.it>
11506 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11509 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11511 * lyxtext.h: rename most methods to begin with a small char.
11512 Lots of changes because of this.
11514 * paragraph.C (Paragraph): do not call fitToSize
11515 (erase): call Pimpl::erase
11516 (insertChar): call Pimpl::insertChar
11517 (insertInset): call Pipl::insertInset
11518 (breakParagraph): do not call fitToSize
11519 (breakParagraphConservative): do not call fitToSize
11520 (fitToSize): remove method
11522 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11524 2001-06-24 The LyX Project <Asger>
11526 * Fix Qt compilation^2
11528 2001-06-24 The LyX Project <jug@sad.it>
11530 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11531 depthHook(getDepth()-1).
11534 * ParagraphParameters.h:
11535 * ParameterStruct.h: change type of depth to unsigned int ==
11536 depth_type. Many adaptations to other files before of that.
11538 2001-06-24 The LyX Project <Asger>
11540 * Fix Qt compilation.
11542 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11544 * paragraph.h: renamed several methods to begin with small letter.
11545 several changes to many parts of the code because of this.
11547 2001-06-23 The LyX Project <jug@sad.it>
11549 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11550 rewritten to discard all double spaces when KeepEmpty is off
11551 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11552 to only handle newlines but not fiddle with spaces and friends.
11554 * lyxfunc.C (MenuNew): when doing 'new from template', use
11555 template_path as default directory
11557 2001-06-23 The LyX Project <Asger>
11559 * Clean-up of header file includes all over
11560 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11562 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11564 * paragraph.h: renamed from lyxparagraph.h
11566 2001-06-23 Asger <lyx@violet.home.sad.it>
11568 * Buffer.h: Removed Buffer::resize
11569 * BufferList.h: Removed BufferList::resize
11570 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11571 the document lazily when we change the width, or the font settings.
11573 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11575 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11577 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11579 * buffer.h: remove out of date comment
11581 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11584 * screen.C: fix "theoretical" GC leak
11586 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11588 * LaTeX.C (scanAuxFile):
11589 (deplog): remove trailing \r when reading stream (useful under
11592 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11594 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11595 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11596 and BufferView::theLockingInset(Inset*), so should use them and not
11597 access bv_->text->the_locking_inset directly.
11599 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11601 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11604 * tex-defs.h: remove old unused file
11606 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11608 * BufferView_pimpl.C: fix typo, remove minibuffer message
11609 when buffer has loaded
11611 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11613 * lyxfunc.C (Dispatch): use stringstream
11614 (MenuNew): use stringstream
11615 (Open): use stringstream
11617 * importer.C (Import): use stringstream
11619 * bufferview_funcs.C (CurrentState): use stringstream
11621 * LaTeX.C (run): use stringstream
11623 * BufferView_pimpl.C (savePosition): use stringstream
11624 (restorePosition): use stringstream
11625 (MenuInsertLyXFile): use stringstream
11627 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11640 * vspace.C: removed // -*- C++ -*- as first line.
11643 * version.h: added // -*- C++ -*- as first line.
11645 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11647 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11649 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11652 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11654 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11657 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11659 * gettext.C: include LString.h even when --disable-nls is on.
11661 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11663 * converter.h (Get): changed argument type from int to
11664 FormatList::size_type to avoid unnecessary conversion.
11666 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11669 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11671 * gettext.h: include LString.h even when --disable-nls is on.
11673 2001-06-07 Juergen Vigna <jug@sad.it>
11675 * text.C (BreakAgain): subst spaces with tabs.
11677 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11678 (resizeInsetsLyXText): set force on resizeLyXText.
11680 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11682 * gettext.h (gettext_init):
11683 (locale_init): use a real definition instead of a macro
11685 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11687 * Bufferview_pimpl.C:
11689 * LColor.C: further lcolor tidies
11691 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11693 * BufferView_pimpl.C (updateScrollbar): simplify.
11695 * BufferView2.C: don't include insets/insetinfo.h, change
11696 prototype for insertInset and call the Pimpl version. let
11697 updateInset call Pimpl version.
11699 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11700 gotoInset to BufferView::Pimpl
11702 2001-06-01 Juergen Vigna <jug@sad.it>
11704 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11705 inside a LockingInset (is the update needed at all?).
11707 2001-05-31 Juergen Vigna <jug@sad.it>
11709 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11710 here not the old one otherwise how should we compare it afterwards
11713 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11718 * FontInfo.C: bring C functions into global namespace when
11721 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11723 * LString.h: make sure config.h has been loaded before LString.h.
11725 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11726 (one for each char read by EatLine!).
11728 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11731 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11733 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11734 to the same as the par we break from
11736 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11738 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11740 * MenuBackend.C (expand): also create menu entries for wide
11741 versions of the floats.
11743 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11745 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11747 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11748 frontends/Makefile.am
11754 * tabular.C (getTokenValue): add std::
11756 * tabular-old.C (getTokenValue): add std::
11757 (getTokenValue): ditto
11758 (getTokenValue): ditto
11760 * screen.C (ToggleSelection): adjust
11762 * lyxtext.h: put selection cursors inside a Selection struct.
11764 * lyxfunc.C (moveCursorUpdate): adjust
11766 * lyxfont.C (latexWriteStartChanges): add std::
11768 * lyxfind.C: adjust
11770 * font.h: delete with(char const *, LyXFont const &)
11772 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11774 * FontInfo.C (getFontname): add std::
11776 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11777 (workAreaButtonPress): adjust
11778 (tripleClick): adjust
11780 (moveCursorUpdate): adjust
11783 * BufferView2.C (gotoInset): adjust
11785 2001-05-30 Juergen Vigna <jug@sad.it>
11787 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11788 to check pspell I add this as default as I now have new pspell
11789 libraries and they seem to use this.
11791 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11793 * text2.C (CutSelection): make the cursor valid before the call to
11796 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11798 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11799 relied on 0 terminated strings and other horrors. Bug found due to
11800 the new assert in lyxstring!
11802 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11805 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11807 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11810 * lyxfunc.C (processKeySym): change method of getting to the
11813 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11814 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11815 * BufferView_pimpl.[Ch]: here as private methods.
11817 2001-05-28 Juergen Vigna <jug@sad.it>
11819 * text.C (SetHeightOfRow): added the update() call again as it is
11820 needed to initialize inset dimensions!
11822 2001-05-16 Juergen Vigna <jug@sad.it>
11824 * text2.C (SetCharFont): Add new function with BufferView * and
11825 bool toggleall parameters for setting insets internal fonts.
11826 (SetFont): Freeze the undo as we may change fonts in Insets and
11827 all this change should be inside only one Undo!
11829 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11830 setting font's in insets as for them we have the SetFont function!
11832 2001-05-15 Juergen Vigna <jug@sad.it>
11834 * text2.C (ClearSelection): to be sure we REALLY don't have any
11837 * tabular.C (TeXCellPreamble): fixed the left border problem for
11840 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11842 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11845 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11847 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11848 LFUN_BREAKPARAGRAPH.
11850 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11851 help test to "internal only", similar for LFUN_INSERT_URL
11853 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11854 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11855 auto_region_delete and deadkeys.
11857 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11860 * LColor.C: remove some dead entries, tidy a little
11862 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11864 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11866 (Dispatch): implement LFUN_ESCAPE
11868 * commandtags.h: add LFUN_ESCAPE
11870 * LyXAction.C (init): add entry for LFUN_ESCAPE
11872 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11873 Remove commented code.
11874 (insertNote): moved here
11875 (open_new_inset): moved here
11877 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11880 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11882 * kbmap.C (findbinding): clean it up and make it work correctly.
11884 * lyx_main.C (init): do not pass argc and argv as parameters
11886 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11888 * buffer.C: fix path for OS/2 & Win32
11892 * lyx_main.C: Added os:: class.
11894 * os2_defines.h: update
11896 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11898 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11899 better by trying again with reduced state.
11901 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11903 * lyxrc.C (read): print error about invalid key sequence only when
11904 debugging (because not all latinX keysyms are known to some X
11907 * kbsequence.C (getiso): add a few std:: qualifiers
11908 (getiso): comment out extra return statement.
11910 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11912 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11914 (Dispatch): enhance the accent inset a bit. (not perfect)
11916 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11918 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11920 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11922 * bufferlist.C (emergencyWrite): fix assert() call
11924 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11926 * text.C (InsertChar): Added trivial patch to only send the "you
11927 can not do multiple spaces this way" message once during a
11930 2001-05-08 Baruch Even <baruch@lyx.org>
11932 * Makefile.am: Changed order of libraries to get LyX to link properly
11933 with the gnome frontend.
11935 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11937 * LaTeXFeatures.h: add a std:: qualifier
11939 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11941 * paragraph.C (String): use stringstream
11943 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11945 * paragraph.C (writeFile): remove footflag arg
11947 * buffer.C (makeLaTeXFile): use stringstream
11948 (latexParagraphs): remove footnot gurba
11950 * LaTeXFeatures.C (getPackages): use stringstream
11951 (getMacros): likewise
11952 (getTClassPreamble): likewise
11953 (getFloatDefinitions): new method
11955 * paragraph.C (writeFile): reindent
11958 * WorkArea.h: revert the xpos + etc changes.
11960 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11962 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11964 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11965 (pasteSelection): likewise
11966 * text2.C (CreateUndo): likewise
11968 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11970 * minibuffer.C (peek_event): temporarily reduce the functionality
11971 of the minibuffer (to allow args on lfuns)
11973 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11974 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11976 * buffer.C (readInset): add compability reading of old float
11977 lists, add reading of new style float list.
11978 (readInset): avoid reevaluation of inscmd.getCmdName()
11979 (getLists): reindent
11981 * MenuBackend.C (MenuItem): implement parsing of
11982 md_floatlistinsert and md_floatinsert.
11983 (expand::LastFiles): move initalizaton of iterators out of loop,
11984 avoid reevaluation.
11985 (expand::Documents): introduce typdedef vector<string> Strings,
11987 (expand::ExportFormats): introduce typedef vector<Format const *>
11988 Formats, and use it.
11989 (expand): implement FloatListInsert and FloatInsert.
11991 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11992 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11993 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11995 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11997 (Dispatch::LFUN_FLOAT_LIST): implement
11999 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12001 * LaTeX.C (run): Fix problem with --export code.
12003 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12005 * BufferView.[Ch] (workarea): removed.
12006 (getClipboard) new method; wrapper for workarea()->getClipboard()
12008 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12011 * WorkArea.h (width, height, xpos, ypos): These methods all
12012 returned the dimensions of the work_area sub-area of WorkArea,
12013 resulting in a position error if the WorkArea were resized. Now
12014 return the dimensions of the entire WorkArea.
12016 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12018 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12020 * LaTeX.C (deplog): correct the syntax of regex reg1
12022 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12024 * undo.C: remove !NEW_INSETS cruft
12026 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12028 * text2.C: remove !NEW_INSETS cruft
12030 * text.C: remove !NEW_INSETS cruft
12032 * tabular.C: remove !NEW_INSETS cruft
12034 * spellchecker.C: remove !NEW_INSETS cruft
12036 * lyxtext.h: remove !NEW_INSETS cruft
12038 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12040 * lyxfunc.C: remove !NEW_INSETS cruft
12042 * lyxfind.C: remove !NEW_INSETS cruft
12044 * lyx_cb.C: remove !NEW_INSETS cruft
12046 * figureForm.C: remove !NEW_INSETS cruft
12048 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12050 * buffer.[Ch]: remove !NEW_INSETS cruft
12052 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12054 * CutAndPaste.C: remove !NEW_INSETS cruft
12056 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12058 * BufferView2.C: remove !NEW_INSETS cruft
12060 * BufferView.h: remove !NEW_INSETS cruft
12062 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12064 * Lsstream.h: include LString.h before the sstream headers to
12065 fix problem with gcc 2.95.3 and lyxstring
12067 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12069 * lyx_main.C: add using directives when needed for C functions
12070 declared in std:: namespace.
12072 2001-04-27 Juergen Vigna <jug@sad.it>
12074 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12075 (SetHeightOfRow): comment out the update call should not be needed!
12077 2001-04-13 Juergen Vigna <jug@sad.it>
12079 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12080 (LyXTabular): tried to minimize operator= operations (and realized
12081 hopfully Lars wish).
12083 2001-04-27 Juergen Vigna <jug@sad.it>
12085 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12087 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12089 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12091 * buffer.C (readInset): hack to make listof algorithm work
12093 * BufferView_pimpl.C: hack to make listof algorithm work
12095 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12097 * LyXAction.C: removed all !NEW_INSETS cruft
12098 (init): moved lfun_item in method
12100 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12102 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12104 * BufferView2.C (theLockingInset): white space.
12106 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12108 * minibuffer.C: include <iostream>
12110 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12112 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12114 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12116 * text.[Ch] (TransposeChars): new method
12118 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12120 * call message directly through LyXView instead of through LyXFunc
12121 * BufferView2.C: adjust
12122 * BufferView_pimpl.C: adjust
12123 * FontLoader.C: adjust
12125 * bufferview_funcs.C: adjust
12126 * converter.C: adjust
12127 * figureForm.C: adjust
12128 * importer.C: adjust
12130 * lyx_gui_misc.C: adjust
12131 * lyxfunc.C: adjust
12134 + more files in subdirs
12136 * lyxparagraph.h (size): move up int file
12139 * adjust all uses of Assert to lyx::Assert.
12141 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12142 lyxfunctional in namespace lyx
12143 * layout.C (hasLayout): ditto
12146 (delete_layout): ditto
12147 (NumberOfClass): ditto
12148 * converter.C (GetFormat): ditto
12153 * bufferlist.C (getFileNames): ditto
12154 (emergencyWriteAll): ditto
12157 * MenuBackend.C (hasSubmenu): ditto
12160 * BufferView_pimpl.C (getInsetByCode): ditto
12162 2001-04-18 Juergen Vigna <jug@sad.it>
12164 * vspace.C (asLatexString): fixed the 100% problem.
12166 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12168 * lyxfunc.C (Dispatch):
12170 * minibuffer.h: add a few std:: qualifiers
12172 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12174 * minibuffer.[Ch]: reimplement so that commands is initiated and
12175 run from lyxfunc, simplified som handling, and made the completion
12176 and history code for complete. wip.
12178 * lyxfunc.C (processKeySym): call message
12179 (miniDispatch): new temporary method
12180 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12181 (LFUN_MESSAGE): implement
12182 (LFUN_MESSAGE_PUSH): implement
12183 (LFUN_MESSAGE_POP): implement
12184 (initMiniBuffer): the initial/defualt minibuffer message.
12186 * lyxfont.[Ch]: inline some more getters
12188 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12190 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12192 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12193 (AutoSave): use LFUN_MESSAGE
12194 (Reconfigure): ditto
12196 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12198 * figureForm.C: use LFUN_MESSAGE
12200 * converter.C (runLaTeX): use LFUN_MESSAGE
12202 * bufferview_funcs.C: use LFUN_MESSAGE
12204 (changeDepth): ditto
12206 * bufferparams.h: use boost::
12208 * bufferlist.h: inherit privately from noncopyable
12210 * bufferlist.C (loadLyXFile): remove some commented code.
12212 * buffer.C (runChktex): use LFUN_MESSAGE
12214 * ShareContainer.h: inherit privately from noncopyable
12216 * ParagraphParameters.[hC] (depth): inline it.
12218 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12220 (message): new method
12221 (messagePush): ditto
12222 (messagePop): ditto
12223 (show): init minibuffer
12224 (showState): direct call
12226 * LaTeX.[Ch]: inherit privately from noncopyable
12227 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12228 instead of WriteStatus.
12230 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12232 * BufferView_pimpl.C (buffer): don't init minibuffer
12233 (workAreaButtonPress): use LFUN_MESSAGE
12234 (workAreaButtonRelease): ditto
12235 (savePosition): ditto
12236 (restorePosition): ditto
12237 (MenuInsertLyXFile): ditto
12238 (workAreaExpose): don't init minibuffer
12239 (update): remove commented code, simplify
12241 * BufferView2.C (openStuff): use LFUN_MESSAGE
12242 (toggleFloat): ditto
12245 (copyEnvironment): ditto
12246 (pasteEnvironment): ditto
12251 (updateInset): remove some commented code
12253 * lastfiles.h: inherit privately from noncopyable
12256 * lyx_main.h: ditto
12258 * lyxlex_pimpl.h: ditto
12260 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12261 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12262 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12264 * LyXAction.h: inherit privately from noncopyable, add methods
12265 func_begin, func_end, returning iterators to the func map.
12267 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12268 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12269 (func_begin): new method
12270 (func_end): new method
12272 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12274 (copySelection): ditto
12275 (pasteSelection): ditto
12277 * BufferView.C: whitespace change
12278 * BufferView.h: inherit privately from noncopyable
12280 2001-04-16 Allan Rae <rae@lyx.org>
12282 * tabular-old.C (l_getline):
12283 * spellchecker.C (sc_check_word):
12284 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12285 an unrecognised preprocessor directive. So ensure they're wrapped.
12287 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12289 * src/exporter.C (Export): Give an error message when path to file
12292 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12294 * LaTeX.C (deplog): Always check that foundfile exists.
12296 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12299 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12301 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12303 * tabular.[Ch] (getLabelList): implement new method
12305 * minibuffer.h: comment ouf setTiimer
12307 * minibuffer.C (ExecutingCB): constify res
12308 (peek_event): constify s
12309 (Set): constify ntext
12310 (Init): constify nicename
12312 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12314 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12315 (savePosition): use two params to Minibuffer::Set
12316 (restorePosition): ditto
12318 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12320 * lyx_main.C: include language.h
12322 * Makefile.am (lyx_main.o): add language.h
12324 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12330 * CutAndPaste.C: include gettext.h
12332 * lyxfont.h: remove old hack with ON and OFF.
12335 * lyxfont.h: do not include language.h...
12340 * bufferview_funcs.C:
12346 * paragraph.C: ... but do it here instead
12348 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12350 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12352 * tabular.C: small reformat
12354 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12357 (BreakParagraph): ditto
12358 (SetOnlyLayout): ditto
12361 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12364 * lastfiles.C: removed most using decl, add std:: where needed
12366 * buffer.C: ws changes
12368 * MenuBackend.C (class compare_format): put into anon namespace
12369 (expand): constify label, names, action, action2
12372 * text.C (SingleWidth): constify font
12373 (IsBoundary): constify rtl2
12374 (GetVisibleRow): constify ww
12376 * LaTeX.C (deplog): constify logfile
12378 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12380 (workAreaExpose): constify widthChange, heightChange
12382 * lyxrow.C (par): moved
12385 * lyxrow.h: as inlines here
12387 * lyxfont.h (shape): moved from lyxfont.C
12388 (emph): moved from lyxfont.C
12390 * lyxfont.C (LyXFont): use initialization list for all
12392 (shape): move to lyxfont.h as inline
12393 (emph): move to lyxfont.h as inline
12396 2001-04-04 Juergen Vigna <jug@sad.it>
12398 * vspace.C: had to include stdio.h for use of sscanf
12400 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12403 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12404 independent of xforms.
12406 2001-04-02 Juergen Vigna <jug@sad.it>
12408 * spellchecker.C: fixed namespace placing!
12410 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12412 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12413 the LyXParagraph * is 0.
12415 2001-03-29 Juergen Vigna <jug@sad.it>
12417 * vspace.C: added support for %, c%, p%, l%.
12418 (stringFromUnit): added helper function.
12419 (asLatexString): changed to give right results for the %-values.
12421 * buffer.C: convert the widthp in a width%.
12423 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12425 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12428 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12429 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12431 * lyx_cb.[Ch]: see above.
12433 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12437 * lyx.[Ch]: replaced by figure_form.[Ch].
12441 * lyxfunc.C: changed headers associated with above changes.
12443 2001-03-27 Juergen Vigna <jug@sad.it>
12445 * BufferView_pimpl.C: set the temporary cursor right!
12447 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12449 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12451 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12453 * LString.h: removed "using std::getline"!
12455 * BufferView_pimpl.C (Dispatch): changes due to changes in
12456 InsetInclude::Params.
12458 * buffer.C (tag_name): removed redundant break statements as they were
12459 producing lots of warnings with my compiler.
12461 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12463 * LString.h: add "using std::getline" when using the real <string>.
12465 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12467 * buffer.C: removed bitset usage.
12468 PAR_TAG moved to an anonymous name space.
12469 (tag_name): new funtion, also in the anonymous namespace.
12470 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12471 (makeDocBookFile): clean code. Completed transition from string arrays
12473 (SimpleDocBookOnePar): code clean.
12475 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12477 * tabular.C: add some comments.
12479 2001-03-22 Juergen Vigna <jug@sad.it>
12481 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12482 compatibility read a bit and fixed bug with minipage in different
12485 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12487 * buffer.C (pop_tag): removed.
12488 (push_tag): removed.
12489 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12490 array replaced with vector. Added support for CDATA sections.
12491 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12493 (makeDocBookFile): XML conformant declaration of CDATA section,
12494 fixed bug related to <emphasis> in the first paragraph char.
12495 (sgmlOpenTag): exclude empty tags.
12496 (sgmlCloseTag): ditto.
12498 * buffer.h (pop_tag): removed.
12499 (push_tag): removed.
12501 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12503 * language.h (Languages): added size_type and size().
12505 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12507 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12508 response on compability reading of minipages. One probliem is that
12509 the old usage of minipages was «flertydig»
12511 * several files here and in subdirs: don't use static at file
12512 scope use anon namespaces instead.
12514 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12516 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12517 LaTeX output. This is necessary for Literate document
12520 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12522 * buffer.C: insert hfill when needed.
12524 * tabular.C (l_getline): use string::erase, small whitespace change.
12526 * BufferView_pimpl.C: try the anon namespace.
12527 * WorkArea.C: ditto
12529 2001-03-16 Juergen Vigna <jug@sad.it>
12531 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12532 otherwise it won't open options-dialogs.
12534 * buffer.C: honor pextraWidth(p) on converting minipages.
12536 * tabular.C (l_getline): changed the functions to strip trailing \r.
12538 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12540 * BufferView_pimpl.C:
12541 * minibuffer..C: added "using SigC::slot" declaration.
12543 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12545 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12551 * paragraph.C: ditto
12553 * lyxtext.h: NO_PEXTRA
12555 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12557 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12558 * ParameterStruct.h: ditto
12559 * ParagraphParameters.h: ditto
12560 * lyxparagraph.h: ditto
12562 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12564 * buffer.C: add compability for minipage alignment.
12565 (latexParagraphs): remove unwanted pextra check.
12567 * several files: remove CXX_WORKING_NAMESPACES
12569 * buffer.C (pop_tag): tie is in namespace boost
12571 * BufferView.h: noncopyable is in namespace boost
12573 * lyx_main.h: ditto
12576 * lastfiles.h: ditto
12577 * bufferlist.h: ditto
12578 * ShareContainer.h: ditto
12580 * LyXAction.h: ditto
12583 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12585 * Merging changes from BRANCH_MVC back into HEAD.
12587 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12589 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12591 * BufferView_pimpl.C: change from intl.C
12595 * Makefile.am: move combox.*
12601 * intl.C: remove dialog (covered by prefs)
12603 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12605 * lyxfunc.C (Dispatch): removed redundant break statement.
12607 2001-03-14 Juergen Vigna <jug@sad.it>
12609 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12611 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12613 * buffer.C: add hack to fix compability reading of minipages.
12615 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12617 * buffer.C (getLists): Cleanup.
12619 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12621 * lyxfont.C (update): don't honor toggleall on font size.
12623 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12627 * Makefile.am: moved to frontends/xforms/
12631 * BufferView_pimpl.C: changes for moved mathpanel
12633 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12635 * gettext.h: fix gettext_init() in --disable-nls
12637 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12639 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12641 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12644 * lyx.h: strip external form
12646 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12648 * BufferView_pimpl.C: add comment, destroySplash()
12650 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12652 * BufferView_pimpl.C:
12656 * lyxfunc.C: use re-worked insetinclude
12658 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12660 * buffer.C: add using std::stringstream.
12662 * lyx_cb.C: readd using std::ios.
12664 * buffer.C: add using std::map.
12666 * BufferView_pimpl.C: add using std::vector.
12668 * ShareContainer.h: add std:: to swap.
12670 * buffer.h: add some typedefs
12671 * buffer.C (getLists): use them
12672 (getLists): renamed from getTocList.
12673 add a counter for the different float types and use it in the
12675 (getLists): use the same counter for the NEW_INSETS and the "non"
12678 * lyx_cb.h: remove unused items, includes, using etc.
12680 * ShareContainer.h: remove some commented code, add more comments
12681 and "documentation".
12683 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12685 * buffer.C (getTocList): make the list also when NEW_INSETS is
12688 * buffer.h: remove TocType
12690 * buffer.C (getTocList): change to return a map<string,
12691 vector<TocItem> >, implement for dynamic number of list.
12693 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12694 * text2.C (PasteSelection): adjust
12695 * CutAndPaste.C (pasteSelection): adjust
12697 * FloatList.C (FloatList): update from the new_insets branch.
12698 * Floating.[Ch]: ditto
12699 * LaTeXFeatures.C: ditto
12701 * lyxlex_pimpl.C: ditto
12703 * paragraph.C (Last): remove when NEW_INSETS is defined.
12705 * other file: changes because of the above.
12707 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12709 * lyxparagraph.h: rename next to next_, previous to previous_,
12710 make them private for NEW_INSETS. Rename Next() to next(),
12711 Previous() to previous().
12713 * other files: changes because of the above.
12715 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12718 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12721 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12723 * main.C (main): pass lyx_localedir to gettext_init().
12725 * gettext.h: remove locale_init and gettext_init macros
12727 * gettext.C (locale_init): new function
12728 (gettext_init): new function
12730 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12733 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12735 * Moved credits to frontends:
12736 * credits.[Ch]: removed
12737 * credits_form.[Ch]: removed
12738 * lyx_gui_misc.C: remove credits stuff
12741 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12743 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12745 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12746 unneeded destructor.
12748 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12749 a standalone pointer again.
12751 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12753 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12759 * ToolbarDefaults.C:
12768 * BufferView_pimpl.C: use new file dialog in GUII
12771 * lyx_cb.C: remove LayoutsCB to Toolbar
12773 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12775 * ShareContainer.h (get): add std:: qualifier
12777 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12779 * ShareContainer.h: define a proper ShareContainer::value_type
12780 type (and use typename to please compaq cxx)
12782 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12784 * lyxparagraph.h: move serveral local vars to
12785 ParameterStruct/ParagraphParameters., use ShareContainer in
12786 FontTable., make vars in FontTable private and add getter and
12789 * paragraph.C: changes because of the above.
12791 * lyxfont.h: remove copy constructor and copy assignment. (the
12792 default ones is ok), move number inside FontBits. move inlines to
12795 * lyxfont.C: add number to initializaton of statics, move several
12796 inlines here. constify several local vars. some whitespace
12797 cleanup. Dont hide outerscope variables.
12799 * Spacing.h: add two new constructors to match the set methods.
12801 * ShareContainer.h: new file, will perhaps be moved to support
12803 * ParameterStruct.h: new file
12805 * ParagraphParameters.h: new file
12807 * ParagraphParameters.C: new file
12809 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12810 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12812 * BufferView_pimpl.C: ParagraphParameter changes.
12813 * buffer.C: Likewise.
12814 * bufferview_funcs.C: Likewise.
12815 * text.C: Likewise.
12816 * text2.C: Likewise.
12818 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12820 * lyxfind.C (LyXReplace): do not redefine default argument in
12822 (IsStringInText): ditto
12823 (SearchForward): ditto
12824 (SearchBackward): ditto
12826 2001-03-06 Juergen Vigna <jug@sad.it>
12828 * lyxfind.C (IsStringInText): put parentes around expressions.
12830 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12832 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12834 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12836 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12838 * stl_string_fwd.h: add comment
12840 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12843 * tabular.C: remove unused DocBook methods
12849 killed DO_USE_DEFAULT_LANGUAGE
12851 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12853 * lyx_gui.C: do not include language.h.
12855 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12856 arguments in function implementation.
12858 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12860 * BufferView_pimpl.C: add <ctime>
12862 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12864 * BufferView_pimpl.C: add using std::find_if
12866 2001-02-27 José Matos <jamatos@fep.up.pt>
12868 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12871 2001-02-11 José Matos <jamatos@fep.up.pt>
12873 * buffer.C (makeDocBookFile): command styles now have a parameter as
12874 "title" by default.
12876 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12878 * layout_forms.[Ch]: removed
12879 * lyx_cb.[Ch]: out character
12880 * lyx_gui.C: out character
12881 * lyx_gui_misc.C: out character
12882 * bufferview_funcs.C: : out character,
12883 added toggleall as parameter in ToggleAndShow
12885 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12887 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12889 * text2.C (SetCurrentFont): Disable number property at boundary.
12891 2001-02-26 Juergen Vigna <jug@sad.it>
12893 * lyxfunc.C (getStatus): added a string argument override function so
12894 that this is correctly called from LyXFunc::Dispatch if it contains a
12895 do_not_use_argument which is used!
12896 (Dispatch): added check for "custom" export and call appropriate func.
12898 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12900 * lyxrc.C: Add language_command_local, language_use_babel and
12901 language_global_options.
12903 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12905 * buffer.C (makeLaTeXFile): Use language_use_babel and
12906 language_global_options.
12908 2001-02-23 Juergen Vigna <jug@sad.it>
12910 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12911 which works with LyXText and putted it inside BufferView. Here now we
12912 only call for that part the BufferView::Dispatch() function.
12914 * BufferView.C (Dispatch): added.
12916 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12917 functions which needs to use a LyXText over from LyXFunc.
12918 (MenuInsertLyXFile): added
12919 (getInsetByCode): added
12920 (moveCursorUpdate): added
12921 (static TEXT): added
12923 2001-02-22 Juergen Vigna <jug@sad.it>
12925 * BufferView_pimpl.C (update): call a status update to see if LyXText
12928 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12930 * vc-backend.C (revert): implement for CVS
12931 (getLog): implement for CVS
12933 2001-02-20 Juergen Vigna <jug@sad.it>
12935 * text2.C (ClearSelection): added BufferView param for inset_owner call
12937 * lyxfunc.C (TEXT): added this function and use it instead of
12938 directly owner->view()-text of getLyXText().
12940 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12942 * src/layout_forms.C: out preamble
12943 * src/layout_forms.h: out preamble
12944 * src/lyx_cb.C: out preamble
12945 * src/lyx_cb.h: out preamble
12946 * src/lyx_gui.C: out preamble
12947 * src/lyx_gui_misc.C: out preamble
12948 * src/lyxfunc.C: connect with guii preamble
12950 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12952 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12954 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12956 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12957 whether to run bibtex.
12959 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12961 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12963 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12965 * Makefile.am (lyx_SOURCES): removed bibforms.h
12967 * vspace.h: doxygen
12969 * text.C (GetVisibleRow): make several local vars const
12971 * tabular.C: small cleanup.
12973 * lyxserver.C (callback): use compare instead of strncmp
12975 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12976 inlines to after class or to paragraph.C
12978 * lyxfont.h: remove friend operator!=
12980 * converter.h: move friend bool operator< to non friend and after
12983 * combox.h: small cleanup
12985 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12986 to inlines after class def.
12988 * buffer.C (pop_tag): use string operations instead of strcmp
12990 * bmtable.c: doxygen, small cleanup
12992 * LaTeX.h: remove friend operator==
12994 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13006 * BufferView_pimpl.C:
13007 * BufferView.[Ch]: remove cruft
13009 2001-02-14 Juergen Vigna <jug@sad.it>
13011 * lyxfunc.C: removed #if 0 unused code
13013 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13015 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13017 * text2.C (SetSelection): added a BufferView * parameter
13019 2001-02-13 Juergen Vigna <jug@sad.it>
13021 * lyxfunc.C (Dispatch): fixed protected blank problem.
13022 * BufferView2.C (protectedBlank): added LyxText * parameter.
13024 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13025 (AppendColumn): same as above for column_info.
13027 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13028 (moveCursorUpdate): use a LyXText param for support of InsetText.
13030 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13031 (tripleClick): ditto
13033 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13035 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13037 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13039 * text2.C (SetSelection): set correct update status if inset_owner
13040 (ToggleFree): ditto
13042 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13044 * tabular.C: remove some commented code.
13046 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13048 * BufferView_pimpl.C: call hideSplash()
13050 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13053 * bibforms.h: remove
13056 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13057 add LFUN_CHILD_CREATE
13059 * counters.h: fix tiny typo
13064 * lyx.C: move splash to frontends/xforms/
13066 * lyx_gui_misc.C: move Include and Bibform to frontends
13068 * lyxvc.h: clarify comment
13070 * vspace.C: tiny housekeeping
13072 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13074 * text.C (PrepareToPrint): RTL Fix.
13076 * paragraph.C (GetUChar): New method.
13077 (String): Use GetUChar.
13079 * buffer.C (asciiParagraph): Use GetUChar.
13081 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13083 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13085 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13088 * buffer.C: rename to getLogName(), handle
13089 build log / latex log nicely
13091 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13094 * MenuBackend.h: remove support for reference menuitem type.
13096 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13098 * BufferView_pimpl.C: housekeeping
13099 * BufferView_pimpl.h:
13104 * minibuffer.h: move Timeout GUI-I
13106 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13108 * lyxrc.C (read): Update converters data-structures.
13110 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13112 * LaTeX.h (operator!=): add operator != for Aux_Info
13114 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13116 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13118 * LaTeXLog.C: deleted, useful code moved to Buffer
13121 * buffer.C: new function getLatexLogName()
13127 * lyxfunc.C: use frontends for LaTeX and VC logs
13129 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13131 * LaTeX.h: yet another std:: that Allan forgot.
13133 * Variables.C (set): renamed from isset(), because this clashes
13134 with some HP-UX macros (grr).
13136 2001-02-06 Allan Rae <rae@lyx.org>
13138 * LaTeX.h: Another bug fix. Missing std:: this time.
13140 2001-02-04 Allan Rae <rae@lyx.org>
13142 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13143 floats problem. I've left it commented out because it's not quite
13144 correct. It should also test that the current object is a table or
13145 figure inset. But I haven't gotten around to figuring out how to do
13146 that. I *think* it'll be something like: "table" == inset.type()
13148 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13151 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13153 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13154 all the citation/databases/styles in the auxilary file.
13155 (run): Rerun latex if there was a babel language error.
13157 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13159 * text.C (Backspace): Preserve the font when changing newline char
13161 (BreakParagraph): If the cursor is before a space, delete the space.
13163 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13165 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13167 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13168 new argument (code).
13169 (ChangeCitationsIfUnique): New method.
13171 * paragraph.C (GetPositionOfInset): Handle bibkey.
13173 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13175 * BufferView_pimpl.h: change type of Position::par_pos to
13176 LyXParagraph::size_type.
13178 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13180 * BufferView_pimpl.C (savePosition, restorePosition): Write
13181 messages to minibuffer.
13183 2001-01-28 José Matos <jamatos@fep.up.pt>
13185 * buffer.C (makeDocBookFile): adds support for document language.
13186 A silly restriction on the name of LatexCommand types where removed.
13187 Added support for CDATA sections, allows to chars unescaped, used
13188 among others in code, to avoid escape < and >.
13190 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13192 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13193 saved positions instrad of a stack. Furthermore, a position is
13194 stored using paragraph id/paragraph position.
13196 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13197 Remove LFUN_REF_BACK.
13199 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13201 * converter.C (dvipdfm_options): New method.
13203 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13205 * vspace.C (isValidLength): Fix for empty input string.
13207 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13209 * LyXAction.C (init): change description of LFUN_FIGURE to
13212 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13214 * LaTeX.C: add using directive
13216 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13218 * MenuBackend.C (expand): Fix the sorting of the formats.
13220 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13222 * lyx_main.C: tiny error message fix
13224 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13226 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13227 calling fl_initialize(). This fixes the problem with ',' as
13228 decimal separator in text files.
13230 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13232 * trans.C (process): Fix the keymap bug.
13234 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13236 * LaTeX.C (scanAuxFiles): New method. Provides support for
13237 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13238 (scanLogFile) Scan for "run BibTeX" messages.
13240 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13241 OT1 font encoding. Also, load the aecompl package if the ae
13244 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13246 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13248 * texrow.C (increasePos): turn two error messages into debug
13251 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13253 * LaTeX.C (scanAux): Handle the \@input macro.
13254 (runBibTeX): Use scanAux().
13256 * language.C (latex_options_): New field.
13258 * LaTeXFeatures.C (getMacros): Add language macros.
13260 * buffer.C (makeLaTeXFile): Small fix.
13262 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13264 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13266 * text2.C: add a using directive.
13268 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13273 * lyxfunc.C: kill LyXBell.
13275 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13277 * text.C (IsBoundary): Remove the error message
13279 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13281 * lyxrc.C (setDefaults): Correct initialization value for
13284 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13286 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13289 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13290 and GotoNextNote().
13292 * src/LyXAction.C: Added reference-next.
13294 * text.C (InsertChar): Use contains instead of strchr.
13296 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13298 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13300 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13301 alignment commands (when needed).
13303 * text.C (InsertChar): Add ':' to number separator chars.