1 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3 * text.C: fixed an "oops" in the "is a bit silly"
6 2003-10-21 André Pönitz <poenitz@gmx.net>
8 * FuncStatus.[Ch]: small stuff, whitespace
10 * lyxfont.[Ch]: operator<<() for debug reasons
14 * lyxtext.h: whitespace, spelling
16 * paragraph.C: naming of variables
19 * text2.C: small stuff
22 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
24 * text.C: (1) finish off the inset display() work;
25 (2) fix the "is a bit silly" bug (accessing char
28 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
30 * text.C: re-introduce display() for insets, fixing the
31 various bugs (stretch of line above, math inset
34 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
36 * text.C (rightMargin): remove spurious semicolon
38 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
41 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
43 * text3.C: fix one crash due to wrong cursor def
45 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
47 * vc-backend.C (scanMaster): make the regex static
49 * LaTeX.C (scanAuxFile): make the regexs static
51 * text3.C (doInsertInset, dispatch, dispatch):
52 * text2.C (cursorUp, cursorDown):
53 * text.C (selectNextWordToSpellcheck):
54 * BufferView_pimpl.C (dispatch):
55 * lyxfunc.C (dispatch): localDispatch -> dispatch
57 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * lyxsocket.C: include <cerrno>
61 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
63 * lyxfunc.C (dispatch): remove textcache stuff
65 * bufferlist.C (release): remove textcache stuff
68 * TextCache.C: delete file
69 * TextCache.h: delete file
71 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
73 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
74 delete of the bv_->text.
75 (resizeCurrentBuffer): remove texcache stuff
76 (workAreaResize): ditto
78 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
80 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
83 2003-10-16 André Pönitz <poenitz@gmx.net>
90 * text3.C: speed up by storing y positions per paragraph plus per-row
91 offset instead of having a 'full' y position in the row.
93 2003-10-15 André Pönitz <poenitz@gmx.net>
97 * undo.[Ch]: make undo aware of inner insets
99 2003-10-14 Angus Leeming <leeming@lyx.org>
101 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
102 static member functions LyX::ref() and LyX::cref.
103 (lastfiles): new accessor functions for the new lastfiles_ member var.
104 (addLyXView, views_): add a new LyXView to the list of views_.
105 (updateInset): loop over all LyXViews to call their own updateInset
106 member function, returning a pointer to the Buffer owning the inset.
108 * BufferView_pimpl.C (loadLyXFile):
109 * MenuBackend.C (expandLastfiles):
110 * bufferlist.C (MenuWrite, QuitLyX):
111 lastfiles is no longer a global variable.
112 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
114 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
115 static function. Access through LyX::cref().emergencyCleanup().
117 2003-10-14 André Pönitz <poenitz@gmx.net>
119 * iterators.[Ch]: new direct access to innermost LyXText and Inset
121 * undo.[Ch]: restoring part of 'undo in insets'
124 * undo_funcs.[Ch]: merge with undo.[Ch]
126 * tabular.C: small cleansing stuff
128 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
130 * paragraph_funcs.C (readParToken): report unknown insets as error
131 boxes. Use the outer paragraph as location (also for unknown
134 * factory.C (readInset): do not abort on reading an unknown inset.
137 2003-10-13 Angus Leeming <leeming@lyx.org>
139 * lyx_main.C (LyX): remove call to setDisplayTranslator().
141 * lyxrc.C: displayTranslator is now a function,
142 declared in GraphicsTypes.h.
144 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
146 * format.C: new placeholder $$a to pass the socket address.
148 * bufferlist.[Ch]: new function getBufferFromTmp.
150 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
151 files in the temporary dir.
153 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
155 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
157 * Makefile.am: add lyxsocket.[Ch].
159 * lyx_main.C (error_handler): handle SIGPIPE.
161 2003-10-13 André Pönitz <poenitz@gmx.net>
163 * BufferView_pimpl.C:
168 * undo_funcs.[Ch]: use paroffset_type instead of
169 ParagraphList::iterators to prevent multiple conversion
170 (and get a more robust interface)
172 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
174 * lyxfunc.C (dispatch): RESULT -> dispatch_result
176 * text3.C (dispatch): ditto
178 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
180 * LaTeX.C (handleFoundFile): move the static to smaller scope,
181 move the onlyfile, use onlyfile instead of foundfile in a couple
184 * DepTable.C (update): flush the error stream a bit more
186 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
188 * lyxserver.C (callback): adjust
190 * lyxfunc.C (getStatus): add a missing brace in commented code
191 (ensureBufferClean): reindent
192 (dispatch): delete version taking a string
194 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
196 * LaTeX.C (deplog): move found file handlig from here...
197 (handleFoundFile): .. to new function here.
198 (deplog): make sure to discover several files mentioned on the
201 2003-10-10 André Pönitz <poenitz@gmx.net>
208 * text3.C: fix some of the tabular crashes
210 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
212 * MenuBackend.C (binding): put debug message into Debug::KBMAP
214 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
216 2003-10-09 André Pönitz <poenitz@gmx.net>
218 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
221 * BufferView_pimpl.C:
222 * bufferview_funcs.C:
233 * undo_funcs.C: adjust
235 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
237 * text2.C (incrementItemDepth): new function, use a backtracking
238 algorithm to discover the correct item depth.
239 (resetEnumCounterIfNeeded): new function, use a backtracking
240 algorithm to discover if counter reset is needed.
241 (setCounter): use them. Simplify a bit. Add different labels for
242 different item depths for itemize.
244 * paragraph.C (Paragraph): remove initialization of enumdepth
247 * paragraph.h: get rid of enumdepth, and use itemdepth both for
248 enumerate and itemize. Change the type of itemdepth to signed char.
250 2003-10-08 André Pönitz <poenitz@gmx.net>
252 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
257 * tabular.[Ch]: fix crash after 'row-insert'
259 2003-10-08 Angus Leeming <leeming@lyx.org>
261 Fix doxygen warnings.
263 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
264 Remove CutAndPaste:: prefix from header file declaration.
266 * LColor.h (fill): remove LColor:: prefix from declaration.
268 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
269 use lyx::depth_type rather than Paragraph::depth_type so that
270 header file and .C file match.
272 * converter.h (intToFormat): remove Converters:: prefix from declaration.
274 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
275 * aspell.C: \file aspell_local.C -> \file aspell.C
276 * gettext.C: \file gettext.C -> \file src/gettext.C
277 * gettext.h: \file gettext.h -> \file src/gettext.h
278 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
279 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
280 * text.C: \file text.C -> \file src/text.C
282 * toc.C: move comment so that doxygen is not confused.
284 2003-10-07 Angus Leeming <leeming@lyx.org>
286 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
288 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
291 * aspell_local.h: add forgotten std::string's.
293 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
300 * text3.C: The Box patch. Fancybox support, minipage, parbox
302 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
308 * ParagraphParameters.h:
318 * lyxtextclasslist.h:
322 * textcursor.h: add <string> and other small fixes to make Lars'
323 std::string patch compile with STLport.
325 2003-10-06 Angus Leeming <leeming@lyx.org>
327 * LColor.h: Add missing #include <string>.
329 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
331 * All most all file in all subdirs: Make <string> be the prefered
332 way of getting to std::string, add using declarations.
334 2003-10-06 André Pönitz <poenitz@gmx.net>
336 * metricsinfo.C: initialize LyXFont before changing attribute.
337 (fixes the 'math in \emph is upright' bug)
339 2003-10-06 André Pönitz <poenitz@gmx.net>
341 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
343 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
346 * paragraph_pimpl.C: Small fixes to build using STLport
348 2003-10-02 André Pönitz <poenitz@gmx.net>
351 * text3.C: move handling of LFUN_DEPTH *; fix #1360
353 2003-10-01 André Pönitz <poenitz@gmx.net>
355 * factory.C: assert early
357 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
359 * lyx_main.C: remove the global debug object
361 * debug.h: adjust for new debugstream
363 * debug.C: adjust for new debugstream and keep the global debug
366 2003-09-22 Angus Leeming <leeming@lyx.org>
368 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
369 of g++ which otherwise complain that the scoped_ptr destructor can't delete
370 an incomplete class LyXFont.
372 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
374 * factory.C: bug fix in branches
376 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
378 * lyxfunc.C (processKeySym): adjust
380 (dispatch): change arg name from ev to func, adjust
381 (sendDispatchMessage): ditto
383 * lyx_main.C (defaultKeyBindings): adjust keybindings
384 (deadKeyBindings): ditto
386 * kbsequence.C (addkey): return a FuncRequest
388 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
390 * kbmap.C (bind): take a FuncRequest as arg, adjust
393 (defkey): change to take a FuncRequest as arg, adjust
394 (findbinding): take a FuncRequest as arg, adjust.
396 * funcrequest.h (operator=): added
398 * funcrequest.C (FuncRequest): default kb_action changed from
399 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
401 * buffer.C (dispatch): simplify
402 (dispatch): adjust to take a FuncRequest as arg, adjust
404 * boost.C (assertion_failed): change assertion message slightly
406 * ToolbarBackend.C (read): simplify
408 * MenuBackend.C (binding): adjust call to findbinding, add a
409 message if no binding is found.
411 (expandToc): correct by adding a empty FuncRequest
413 * LyXAction.C: include <boost/assert.hpp>
414 (isPseudoAction): delete function
415 (LookupFunc): change name to...
416 (lookupFunc): this. change return type to FuncRequest.
417 (getActionName): take kb_action as arg, simplify
418 (funcHasFlag): add an assert, simplify.
420 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
422 * toc.C (action): return a FuncRequest, simplify
424 * lyxfunc.C (processKeySym): adjust
425 (getStatus): delete version that takes an int.
427 (dispatch): delete version that takes action as int
429 (sendDispatchMessage): simplify and adjust
431 * funcrequest.C (getArg): take unsigned int as arg
433 * ToolbarBackend.C (read): adjust
434 (add): delete version that takes func as a string.
435 (getIton): take a FuncRequest as arg
437 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
440 * MenuBackend.C (MenuItem): add a new construct that only takes a
441 Kind, simplify the constructor use for submenus.
443 (expandLastfiles): adjust
444 (expandDocuments): adjust
445 (expandFormats): adjust
446 (expandFloatListInsert): adjust
447 (expandFloatInsert): adjust
448 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
450 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
451 Remove class variables lyx_pseudo_map and lyx_arg_map
453 * LyXAction.C (searchActionArg): delete function
454 (getPseudoAction): delete function
455 (retrieveActionArg): delete function
456 (LookupFunc): make it return kb_action, simplify.
457 (getActionName): simplify
459 * factory.C (createInset): fix new bug
461 2003-09-19 Angus Leeming <leeming@lyx.org>
463 * CutAndPaste.C (pasteSelection): remove fudge used to set the
464 masterFilename_ parameter in the include inset.
466 * factory.C (createInset): changes due to the changes to InsetInclude.
468 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
470 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
472 2003-09-18 Angus Leeming <leeming@lyx.org>
475 * BufferView.C: pass the buffer when calling Inset::getLabelList,
476 Inset::fillWithBibKeys.
477 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
479 2003-09-18 Angus Leeming <leeming@lyx.org>
481 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
483 (ctor): pass and store a 'Buffer const &'
484 (buffer): new member function.
486 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
487 '*this' to the LaTeXFeatures ctor.
489 2003-09-18 Angus Leeming <leeming@lyx.org>
495 * text.C: rename EnumLColor as LColor_color.
497 2003-09-18 Angus Leeming <leeming@lyx.org>
499 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
500 remove #include "insets/insetbase.h" from cursor.h.
502 2003-09-18 Angus Leeming <leeming@lyx.org>
504 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
505 InsetOld_code to remove #include "inset.h".
507 * iterators.C: add #include "insets/inset.h"
509 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
511 * BufferView.C: remove more locking stuff that apparently doesn't
512 do anything sensible.
514 2003-09-16 André Pönitz <poenitz@gmx.net>
517 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
520 2003-09-16 Angus Leeming <leeming@lyx.org>
522 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
524 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
527 * paragraph.h: remove #include "lyxfont.h". Forward declare
530 2003-09-16 Angus Leeming <leeming@lyx.org>
532 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
533 of support/textutils.h.
534 (isWord): move the contents of support/textutils.h's IsWordChar here.
540 * text2.C: add #include "paragraph.h".
543 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
545 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
551 * LaTeX.C: use namespace alias for lyx::support::os
553 2003-09-16 Angus Leeming <leeming@lyx.org>
556 * bufferview_funcs.C:
561 * text.C: add #include "LColor.h".
563 2003-09-16 Angus Leeming <leeming@lyx.org>
565 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
566 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
568 Store the FontBits::color variable as an int rather than as an
569 LColor::colorso that we can move LColor.h out of the lyxfont.h header
572 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
573 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
574 string calls together.
576 * lyxrc.C: add #include "LColor.h".
578 2003-09-15 Angus Leeming <leeming@lyx.org>
580 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
583 2003-09-15 Angus Leeming <leeming@lyx.org>
585 * LColor.h: add an EnumLColor wrapper for LColor::color.
587 * lyxfont.[Ch] (color, setColor, realColor):
588 * lyxtext.h, text.C (backgroundColor):
589 pass EnumLColor args to/from the functions, rather than LColor::color
593 * lyxtext.h: forward declare EnumLColor.
595 * lyx_main.C: add #include "LColor.h".
597 2003-09-15 Angus Leeming <leeming@lyx.org>
599 * .cvsignore: add lyx-gtk.
601 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
606 * ParagraphParameters.C
620 * vc-backend.C: remove usage of STRCONV
622 2003-09-15 Angus Leeming <leeming@lyx.org>
624 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
625 explicitly define the color passed to the painter.
627 2003-09-15 Angus Leeming <leeming@lyx.org>
629 * bufferparams.C (BufferParams): reorder member initializers to avoid
632 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
634 * CutAndPaste.C (pasteSelection): remove an outdated #warning
635 * text.C (updateRowPositions): remove an unusual nop
637 2003-09-12 André Pönitz <poenitz@gmx.net>
639 * BufferView_pimpl.C:
648 * Counters.[Ch]: finish the 'automatic counters' job
650 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
652 * aspell.C: include <boost/assert.cpp> (compile fix)
654 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
656 * boost.C (assertion_failed): use lyx::support::abort instead of
659 2003-09-10 Angus Leeming <leeming@lyx.org>
661 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
662 with their _fwd progeny.
664 2003-09-09 Angus Leeming <leeming@lyx.org>
666 134 files throughtout the source tree: replace 'using namespace abc;'
667 directives with the appropriate 'using abc::xyz;' declarations.
669 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
671 * boost.C (emergencyCleanup): moved here from LAssert.c
672 (assertion_failed): new function, called by BOOST_ASSERT
674 * several files: change Assert to BOOST_ASSERT
676 2003-09-09 Angus Leeming <leeming@lyx.org>
678 * buffer.[Ch]: Add an Impl class and move Buffer's member
679 variables into it. As a result move several header files out of
682 Add header files to lots of .C files all over the tree as a result.
684 2003-09-09 Angus Leeming <leeming@lyx.org>
686 * buffer.[Ch]: make Buffer's member variables private. Add
689 Lots of changes all over the tree as a result.
691 2003-09-08 Angus Leeming <leeming@lyx.org>
693 * graph.C: #include <config.h>.
695 2003-09-08 Angus Leeming <leeming@lyx.org>
699 * BufferView_pimpl.C:
728 * toc.C: remove redundant using directives.
730 2003-09-07 Angus Leeming <leeming@lyx.org>
732 * LaTeXFeatures.h: remove #include "support/types.h".
733 * ToolbarBackend.h: remove #include <algorithm>.
734 * changes.h: remove #include <ctime>.
735 * debug.h: remove #include <iosfwd>.
736 * graph.h: remove #include "support/std_string.h".
737 * lyx_main.h: remove #include <csignal>.
738 * lyxlex_pimpl.h: remove #include <fstream>.
739 * sgml.h: remove #include <algorithm>, <utility>.
740 * toc.h: remove #include "support/std_ostream.h".
741 Add #include <iosfwd>.
743 2003-09-07 Angus Leeming <leeming@lyx.org>
745 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
747 * converter.h: forward declare LatexRunParams.
748 * encoding.h: remove #include "lyxrc.h".
749 * lyxtext.h: remove #include "LColor.h".
750 * lyxtextclass.h: remove #include "support/types.h".
751 * trans.h: remove #include "tex-accent.h".
752 * trans_mgr.h: remove #include "tex-accent.h".
753 * insets/inset.h: remove #include "support/types.h", <vector>.
754 * insets/insetcollapsable.h: remove #include "LColor.h".
755 * insets/insetinclude.h: remove #include "dimension.h".
756 * insets/insetlatexaccent.h: remove #include "dimension.h".
757 * insets/insetoptarg.h:: remove #include "insettext.h".
758 * insets/insettext.h: remove #include "dimension.h",
759 <boost/shared_ptr.hpp>
761 * insets/renderers.h: add #include "dimension.h".
762 * insets/updatableinset.h: add #include "support/types.h".
764 * many .C files: Associated changes.
766 2003-09-06 Angus Leeming <leeming@lyx.org>
768 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
769 one, inside testInvariant.
771 * PrinterParams.C: new file.
772 * PrinterParams.[Ch]: move the function bodies out of line.
774 2003-09-06 Angus Leeming <leeming@lyx.org>
776 * ParagraphParameters.h: forward declare ParameterStruct rather than
777 including its header file.
778 (depth): moved out-of-line.
780 2003-09-06 Angus Leeming <leeming@lyx.org>
782 * BufferView_pimpl.h:
785 * lyxfunc.h: forward declare LyXKeySym rather than
786 #include "frontends/LyXKeySym.h".
788 * BufferView_pimpl.C:
791 * lyxfunc.C: associated changes.
793 2003-09-06 Angus Leeming <leeming@lyx.org>
795 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
796 As a result, can remove the #include "insets/inset.h" from BufferView.h
798 2003-09-06 Angus Leeming <leeming@lyx.org>
800 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
801 As a result, can remove the #include "insets/inset.h" from BufferView.h
803 2003-09-06 Angus Leeming <leeming@lyx.org>
809 * bufferview_funcs.C:
810 * BufferView_pimpl.C:
815 * ParagraphParameters.C:
820 * frontends/controllers/ControlDocument.C:
821 * insets/insetcaption.C: rearrange the #includes into some sort of
824 * buffer.h: remove #includes ErrorList.h, undo.h
826 2003-09-06 Angus Leeming <leeming@lyx.org>
828 * support/types.h: add a 'depth_type' typedef, used to store the
829 nesting depth of a paragraph.
832 * ParameterStruct.h: use this lyx::depth_type typedef rather than
837 * ParagraphParameters.h:
838 * sgml.h: use lyx::depth_type rather than Paragraph or
839 ParameterStruct's depth_type.
842 * paragraph_funcs.h: no need to #include paragraph.h anymore.
845 * BufferView_pimpl.C:
847 * ParagraphParameters.C:
850 * bufferview_funcs.C:
857 * frontends/LyXView.C:
858 * frontends/controllers/ControlDocument.C:
859 * frontends/controllers/ControlErrorList.C:
860 * insets/insetbibitem.C:
861 * insets/insetbranch.C:
862 * insets/insetcaption.C:
863 * insets/insetcollapsable.C:
866 * insets/insetfloat.C:
867 * insets/insetfoot.C:
868 * insets/insetfootlike.C:
869 * insets/insetnewline.C:
870 * insets/insetquotes.C:
871 * insets/insettabular.C:
872 * insets/insettext.C:
873 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
875 * frontends/controllers/ControlChanges.C: #include "changes.h".
877 2003-09-06 Angus Leeming <leeming@lyx.org>
879 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
880 than #including paragraph.h.
883 * RowList.h: deleted. Superfluous.
893 * insets/insettext.h: use ParagraphList_fwd.h rather than
896 * paragraph.h: don't forward declare ParagraphList.
899 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
900 rather than ParagraphList.h. paragraph.h is still needed for the
901 Paragraph::depth_type parameters.
903 * textcursor.h: enable it to compile stand-alone in light of the
906 * bufferview_funcs.C:
918 * frontends/controllers/ControlParagraph.C:
919 * frontends/controllers/ControlTabular.C:
920 * insets/insetmarginal.C:
921 * insets/insetminipage.C:
922 * insets/insetnote.C:
923 * insets/insetoptarg.C: add header files needed to compile again.
925 2003-09-06 Angus Leeming <leeming@lyx.org>
927 * RowList_fwd.h: new file, forward-declaring Row rather than
933 * insets/insettext.h: use it instead of RowList.h
935 * bufferview_funcs.C:
942 * text3.C: #include "RowList.h".
944 2003-09-05 Angus Leeming <leeming@lyx.org>
946 * factory.C (createInset):
947 * vspace.C (c-tor): replace sscanf call with an istringstream.
948 * ispell.C: re-add missing HP/UX headers.
949 * lyxserver.C: re-add missing os2 headers.
951 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
960 * text3.C: re-add missing system headers, needed for 2.95.2.
962 2003-09-05 Angus Leeming <leeming@lyx.org>
964 Changes most place everywhere due to the removal of using directives
965 from support/std_sstream.h.
967 2003-09-05 Angus Leeming <leeming@lyx.org>
969 Replace LString.h with support/std_string.h,
970 Lsstream.h with support/std_sstream.h,
971 support/LIstream.h with support/std_istream.h,
972 support/LOstream.h with support/std_ostream.h.
974 Changes resulting throughout the tree.
976 2003-09-05 Angus Leeming <leeming@lyx.org>
978 * sgml.h: ensure that the header file can be compiled stand-alone.
979 * *.C: strip out redundant #includes. (320 in total.)
981 2003-09-04 Angus Leeming <leeming@lyx.org>
983 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
984 here (from getPackages).
986 * debug.[Ch]: add a new EXTERNAL tag.
988 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
990 * text2.C (cursorEnd): simplify
992 (getColumnNearX): adjust
994 * text.C (computeBidiTables): adjust
997 * rowpainter.C (paintChars): adjust
998 (paintSelection): adjust
999 (paintChangeBar): adjust
1002 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1004 (numberOfSeparators): adjust
1006 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1012 * text3.C: Restricts the mouse click functionality
1013 of insets like bibtex, include, toc and floatlist to the visible
1014 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1015 up the dialogs. Cursor has to be in front of the inset (i.e.
1016 start of row) for this to function.
1018 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1020 * bufferview_funcs.C (currentState): output row information
1022 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1024 * bufferview_funcs.C (currentState): output paragraph position
1026 2003-09-04 Angus Leeming <leeming@lyx.org>
1028 * FloatList.h: move out #include "Floating.h".
1029 * LaTeX.h: move out #include "DepTable.h".
1030 * LyXAction.h: move out #include "funcrequest.h".
1031 * buffer.h: move out #include "author.h", "iterators.h".
1032 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1033 * lyx_main.h: move out #include "errorlist.h".
1034 * lyxfunc.h: move out #include "FuncStatus.h".
1035 * lyxtext: move out #include "lyxcursor.h".
1036 * paragraph_pimpl.h: move out #include "counters.h".
1038 2003-09-03 Angus Leeming <leeming@lyx.org>
1040 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1041 preamble_snippets list, enabling us to add snippets to the preamble
1042 only if the snippet was not there already.
1044 2003-09-04 Angus Leeming <leeming@lyx.org>
1046 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1048 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1050 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1053 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1055 * BranchList.C: point fix, earlier forgotten
1057 2003-09-02 Angus Leeming <leeming@lyx.org>
1059 * box.C (contains): renamed from 'contained' after a fantastic
1062 2003-09-02 John Levon <levon@movementarian.org>
1068 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1070 2003-09-02 John Levon <levon@movementarian.org>
1072 * text2.C: simplification of cursorEnd(), including partial
1075 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1077 * buffer.C (readFile): add a space
1079 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1081 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1083 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1085 * buffer.C (readFile): new function, take a filename and a
1086 ParagraphList::iterator
1088 (readFile): adjust, make it private. don't use setStream, make
1089 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1090 always contain the filename.
1092 * BufferView.C (insertLyXFile): simplify and make it work for
1095 2003-08-30 John Levon <levon@movementarian.org>
1097 * Makefile.am: fix dist (from Kayvan)
1099 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1101 * most files: change to use const Buffer refs
1103 2003-08-27 André Pönitz <poenitz@gmx.net>
1105 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1106 on top of ownerPar().
1108 2003-08-27 John Levon <levon@movementarian.org>
1110 * funcrequest.C: properly initialise POD members
1112 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1114 * lyxtext.h (top_y): move top_y from here
1119 * BufferView_pimpl.[Ch]: to here
1120 * frontends/screen.C:
1121 * insets/insettabular.C:
1122 * insets/insettext.C: adjust
1123 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1125 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1128 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1130 2003-08-26 André Pönitz <poenitz@gmx.net>
1132 * paragraph_func.[Ch] (outerPar): new function
1135 * paragraph_funcs.C:
1136 * paragraph_funcs.h:
1137 * paragraph_pimpl.C:
1138 * text2.C: remove Inset::par_owner
1140 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1145 * text2.C: eliminates the needFullRow/display() stuff
1146 altogether, putting the logic in metrics/draw in the insets.
1148 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1150 * text2.C (redoParagraphInternal, redoParagraphs):
1151 * text.C (redoParagraph): add a call to updateRowPositions at the
1152 end of each 'metrics-like' call. Remove all others.
1153 (getRow): remove the 'y-computing' version.
1154 (getRowNearY): do not compute nor return the real y. Solve the
1155 'y < 0' problem and simplify.
1157 2003-08-22 Angus Leeming <leeming@lyx.org>
1159 * *.[Ch]: clean-up of licence and author blurbs.
1160 Also move config.h out of a few .h files and into a few .C files.
1162 2003-08-22 André Pönitz <poenitz@gmx.net>
1164 * lyxrow.[Ch]: add x_ and *fill_ members
1169 * text2.C: adjust/remove prepareToPrint() calls
1171 2003-08-22 André Pönitz <poenitz@gmx.net>
1173 * lyxrow.[Ch]: add end_ member
1175 * lyxrow_funcs.C: use LyXRow::end_
1177 * lyxtext.h (singleWidth): add LyXFont parameter
1180 * text2.C: adjust LyXText::singleWidth() calls
1182 * text.C (redoParagraph): simplify row breaking logic
1185 2003-08-19 André Pönitz <poenitz@gmx.net>
1187 * funcrequest.C: initialize button_ member
1190 * rowpainter.[Ch]: interface consolidation
1192 2003-08-18 André Pönitz <poenitz@gmx.net>
1195 * BufferView_pimpl.C:
1197 * paragraph_funcs.C:
1199 * text3.C: remove LyXScreen::draw() and fitCursor calls
1201 * BranchList.h: remove spurious semicolons
1203 * MenuBackend.C: fix branchlist related crash
1205 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1213 * bufferparams.[Ch]:
1217 * text3.C: implements the 'branch inset'
1218 idea. This allows the output of various versions of a document
1219 from a single source version, selectively outputing or suppressing
1220 output of parts of the text.
1221 This implementation contains a 'branch list editor' in a separate
1222 tab of the document settings dialog. Branches are user definable
1223 and have a "display colour" to distinguish them on-screen.
1225 ColorHandler was somewhat cleaned up.
1226 (1) make possible a dynamically growing LColor list by allowing
1227 the graphic context cache to grow along (vector);
1228 (2) eliminate an IMHO unnecessary step in colour allocation.
1230 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1232 * BufferView_pimpl.C: compile fix
1234 2003-08-15 André Pönitz <poenitz@gmx.net>
1236 * rowpainter.C: remove extra metrics calls
1238 * lyxtext.h: merge the two constructors into a single one,
1239 pass reference to owner's par list
1241 * BufferView_pimpl.C:
1245 2003-08-15 André Pönitz <poenitz@gmx.net>
1247 * lyxrow_funcs.[Ch]:
1250 * paragraph_funcs.C:
1255 * text_funcs.C: split LyXText::rowlist_ into individual
1256 Paragraph::rows_ chunks
1259 * BufferView_pimpl.[Ch]:
1262 * text3.C: remove toggleSelection()
1264 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1266 * bufferlist.C: beautify two alerts (shorter text of buttons)
1267 * buffer.C: Remove redundant ' ' from message
1269 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1270 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1271 rename VALIGN_CENTER to VALIGN_MIDDLE
1273 2003-08-11 André Pönitz <poenitz@gmx.net>
1275 * lyxtext.h (getPar):
1276 * text.C: new function
1278 2003-08-11 André Pönitz <poenitz@gmx.net>
1281 * tracer.[Ch]: remove unneeded files
1283 * InsetList.[Ch]: remove resizeInsetsLyXText()
1288 * text3.C: merge insertParagraphs() and appendParagraph()
1289 remove breakAgain(), update()
1291 * BufferView_pimpl.[Ch]:
1292 * bufferview_funcs.[Ch]:
1296 * tabular.C: adjust after text & InsetList changes.
1298 2003-08-08 André Pönitz <poenitz@gmx.net>
1300 * text.C (insertChar, backspace): replace rowlist fiddling
1301 with rebreak of full par
1304 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1305 checkParagraph, updateInset): removed
1307 2003-08-07 André Pönitz <poenitz@gmx.net>
1310 * text3.C: merge some LFUN handlers, remove dead code
1312 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1314 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1316 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1318 * text2.C (DEPM): fix part of bug 1255 and 1256
1320 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1322 * BufferView_pimpl.C (workAreaDispatch): change to use
1323 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1324 that are no mouse related.
1326 2003-08-05 André Pönitz <poenitz@gmx.net>
1329 * BufferView_pimpl.[Ch]:
1330 * bufferview_funcs.C:
1332 * text3.C: rip out "deep update"
1334 * textcursor.[Ch] (last_sel_cursor): remove unused member
1336 2003-08-04 André Pönitz <poenitz@gmx.net>
1339 * BufferView_pimpl.[Ch]:
1340 * ParagraphParameters.C:
1341 * bufferview_funcs.C:
1347 * text3.C: replace "complicated" BufferView::update(...) calls with
1350 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1352 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1354 * Makefile.am (lyx_SOURCES): add paper.h
1356 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1358 * Makefile.am: move things around so that both lyx-qt and
1359 lyx-xforms can be built (according to --with-frontend). Then lyx
1360 is a symbolic link to lyx-[firstfrontend]
1362 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1364 * Always use std::endl with lyxerr
1366 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1368 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1370 2003-08-01 André Pönitz <poenitz@gmx.net>
1373 * BufferView_pimpl.[Ch]:
1375 * text3.C: merge BufferView::repaint() and BufferView::update()
1377 2003-08-01 José Matos <jamatos@lyx.org>
1379 * buffer.[Ch]: file_format is no longer a buffer data element.
1381 2003-08-01 André Pönitz <poenitz@gmx.net>
1386 * text2.C: make redoParagraph more independent of current cursor
1388 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1390 * text2.C: remove unneeded members
1392 2003-07-30 André Pönitz <poenitz@gmx.net>
1394 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1396 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1397 create a single function...
1399 * paragraph_funcs.C (moveItem): ... here.
1402 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1404 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1406 * LColor.[Ch]: Add comment and greyedout logical colors.
1408 2003-07-30 André Pönitz <poenitz@gmx.net>
1410 * tabular.C: don't use Assert too heavily. This crashes where it
1413 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1415 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1416 is disabled (bug 1232)
1418 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1420 * factory.C: limited 'arg' scope
1422 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1424 * factory.C: fixed Note submenu issues
1426 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1428 * factory.C: submenu for Note/Comment/Greyedout
1430 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1433 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1435 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1438 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1439 greyedout. Patch provided by Jürgen Spitzmüller.
1441 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1443 * kbmap.C (read): fix error message when reading bind files
1445 2003-07-29 Angus Leeming <leeming@lyx.org>
1447 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1448 certainly does not do what it purports to do. I am doing it, and
1449 us, a favour by killing it.
1451 2003-07-28 José Matos <jamatos@lyx.org>
1453 * buffer.C (readBody, do_writeFile):
1454 * paragraph.C(readParagraph): \end_document replaces \the_end.
1456 2003-07-29 André Pönitz <poenitz@gmx.net>
1459 * BufferView_pimpl.[Ch]:
1463 * textcursor.[Ch]: remove toggleToggle & Co
1465 2003-07-28 José Matos <jamatos@fep.up.pt>
1467 * buffer.C (readParagraph):
1468 * params_func (readParToken, readParagraph):
1469 * paragraph.C (write): \layout -> \begin_layout.
1471 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1473 * lyxlex_pimpl.C (setFile): clean up slightly.
1475 * bufferparams.h: add compressed var
1477 * buffer_funcs.C (readFile): adjust for LyXLex change
1478 (newFile): ditto + simplify
1480 * buffer.C (writeFile): handle writing of compressed files
1482 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1483 Check if the file is compressed and set a bufferparm if so.
1485 * Makefile.am (lyx_LDADD): remove explicit -lz
1487 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1489 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1490 makeDocBookFile): put the real LyX version in the first line of
1494 * version.C.in: remove lyx_docversion
1496 * tabular.C (write_attribute): add a template-based version to
1497 write enums properly
1499 2003-07-28 André Pönitz <poenitz@gmx.net>
1504 * text3.C: use doubles again for x-coordinates. They are needed.
1506 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1508 * messages.C (getLocaleDir): use lyx_localedir()
1510 * lyxlex_pimpl.C (setFile): compress stuff
1512 * buffer.C (writeFile): add some compression stuff
1513 (do_writeFile): new func, dont call expliti close... will this
1516 * Makefile.am (lyx_LDADD): add -lz
1518 2003-07-28 José Matos <jamatos@fep.up.pt>
1520 * buffer.C: increment file format.
1521 * paragraph_funcs (readParagraph, readParToken):
1522 * paragraph.C (readParagraph): add \end_layout.
1524 2003-07-27 Angus Leeming <leeming@lyx.org>
1526 * Makefile.am: remove special casing for configure-time setting of
1527 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1529 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1530 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1532 2003-07-26 André Pönitz <poenitz@gmx.net>
1534 * paragraph_func.[Ch]:
1535 * paragraph.C (realizeFont): inline it whereever it is used
1540 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1543 2003-07-26 André Pönitz <poenitz@gmx.net>
1547 * text2.C: get rid of LyXText::need_break_row
1549 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1551 * toc.[Ch]: put namespace toc inside namespace lyx
1553 * MenuBackend.C (expandToc2): adjust for lyx::toc
1556 * lyxfunc.C (dispatch): adjust for lyx::find
1558 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1559 lyx::find instead. Reorganize a bit.
1560 (LyXReplace): rename to replace
1561 (LyXFind): rename to find
1563 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1566 2003-07-26 André Pönitz <poenitz@gmx.net>
1568 * text.C (setHeightOfRow): restrict scope of temporary variable
1570 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1571 code (never has been used?)
1573 2003-07-27 Asger Alstrup <alstrup@local>
1575 * text.C (fill): Optimise algorithm to exploit that we can reuse
1576 the LyXFont for many characters.
1577 (setHeightOfRow): Same thing.
1578 (rowBreakPoint): Same thing.
1580 2003-07-26 Asger Alstrup <alstrup@local>
1582 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1584 * text.C (singleWidth): Spurious font copying in hot-spot
1585 singleWidth avoided. Reorder tests for arabic for efficiency.
1587 * text.C (fill): handle empty paragraphs better.
1589 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1592 * encoding.h: add includes
1594 * lyxrc.C: remove reading of bind files
1596 * lyx_main.C (init): setup bindings and menus only if we have a
1599 * kbmap.C (read): new method. Do the actual reading of bind
1602 * converter.C (dvipdfm_options):
1605 (output): adapt PAPER_* enums.
1607 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1609 * bufferparams.h: remove paper-related enums from there
1611 * paper.h: New file. A trivial header file to hold paper-related
1612 enums. It should later expand to contain many paper-related
1615 * lyxrc.C: declare extern displayTranslator
1617 2003-07-27 José Matos <jamatos@fep.up.pt>
1619 * tabular.[Ch] (linuxdoc): add support for tables and figures
1622 2003-07-27 José Matos <jamatos@fep.up.pt>
1624 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1625 consistency in both functions.
1626 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1628 2003-07-26 Asger Alstrup <alstrup@local>
1630 * rowpainter.C (paintRows): Change algorithm to work directly on
1631 the insets rather than asking every character in the document
1632 whether its an inset.
1634 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1636 * buffer.C (openFileWrite): factorize some code
1638 2003-07-26 Angus Leeming <leeming@lyx.org>
1641 * lyx_main.[Ch]: replace occurances of system_tempdir with
1644 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1646 * rename Inset to InsetOld
1648 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1650 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1651 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1652 which I think is a bit clearer. EDIT is gone, since it was
1653 premature optimisation, and broken for mathed anyway.
1654 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1655 with cursor positioning in insets as well (math insets still do not
1656 work, but that's a different story anyway.) It mysteriously
1657 crashes sometimes with undo in the first paragraph, but I'm fairly
1658 confident that this is a compiler bug.
1660 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1662 * paragraph.C (Paragraph): adjust for new clone return type
1664 (copyIntoMinibuffer): ditto
1666 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1668 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1669 by not having a special case, and always doing a full rebreak of
1670 the document after undo.
1672 2003-07-23 Angus Leeming <leeming@lyx.org>
1674 * factory.C (createInset): InsetExternal::setParams now takes a
1677 2003-07-23 Angus Leeming <leeming@lyx.org>
1679 * factory.C (createInset): changed interface to the external and
1680 graphics mailers' string2params functions.
1682 2003-07-23 Angus Leeming <leeming@lyx.org>
1684 * factory.C (createInset): pass a
1685 Buffer const * parameter to InsetExternalMailer's string2params.
1687 2003-07-22 John Levon <levon@movementarian.org>
1689 * Thesaurus.h: include the right aiksaurus header
1691 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1693 * MenuBackend.C (expand): check menu shortcuts unconditionally
1695 2003-07-21 Angus Leeming <leeming@lyx.org>
1697 * factory.C (createInset): pass a
1698 buffer_path parameter to InsetGraphicsMailer's string2params.
1700 2003-07-21 Angus Leeming <leeming@lyx.org>
1702 * BufferView_pimpl.C (buffer):
1705 * lyxfunc.C (dispatch):
1706 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1707 rather than the grfx shortcut.
1709 2003-07-21 André Pönitz <poenitz@gmx.net>
1711 * rowpainter.C: remove unused variables
1714 * tabular_funcs.h: move to tabular.C
1715 * Makefile.am: adjust
1717 * tabular.[Ch]: basic optical cleaning
1719 * author.h: pass references, not values
1721 2003-07-18 André Pönitz <poenitz@gmx.net>
1729 * text3.C: two-phase drawing for InsetText and InsetTabular
1730 some float -> int changes.
1732 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1734 * lyx_main.C: fix the fix
1736 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1738 * lyx_main.C: fix a crash in batch mode if no files specified
1741 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1743 * format.[Ch] (papersize): moved to BufferParams
1744 * converter.[Ch] (dvips_options): moved to BufferParams
1745 (dvipdfm_options): moved to anon namespace
1746 * bufferparams.[Ch]: added above functions.
1748 2003-07-17 André Pönitz <poenitz@gmx.net>
1752 * text2.C: don't call inset->update() anymore
1754 * metricsinfo.[Ch]: add convenience constructor
1756 2003-07-16 André Pönitz <poenitz@gmx.net>
1761 * text2.C: replace the LyXCursor::irow_ member with
1762 on-demand computation of the value
1764 2003-07-16 John Levon <levon@movementarian.org>
1766 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1768 2003-07-15 André Pönitz <poenitz@gmx.net>
1771 * text2.C: remove no more needed refresh_row
1773 2003-07-15 André Pönitz <poenitz@gmx.net>
1778 * text3.C: refresh_status tristate -> need_update bool
1780 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1782 * lyxtext.h (init): remove reinit argument (act as if always true)
1783 * text2.C: adjust to that
1785 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1787 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1788 * text3.C: use it to delete selections in some cases
1789 (bugs 441, 673, 702, 954).
1791 2003-07-14 André Pönitz <poenitz@gmx.net>
1793 * rowpainter.[Ch]: reduce interface
1795 2003-07-14 André Pönitz <poenitz@gmx.net>
1797 * BufferView_pimpl.C:
1798 * text2.C: adjust after removing unused BufferView * argument
1800 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1802 * text2.C (init): fix a crash fired on resize
1804 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1806 * buffer.[Ch]: added new closing signal
1807 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1808 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1809 BufferView::Pimpl via the closing the signal
1811 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1813 * buffer.[Ch]: take out all bv-related from buffer
1815 * BufferView_pimpl.[Ch]: connect to new signals
1816 * CutAndPaste.C: removed useless asserts
1817 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1820 * lyxfunc.C: moved view-related funciontality from vc here
1821 * paragraph.C: removed outdated comments
1824 2003-07-10 André Pönitz <poenitz@gmx.net>
1826 * BufferView_pimpl.C:
1830 * text2.C: remove InsetText::InnerCache, clean up consequences
1832 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1834 * ispell.C: fix two typos in error messages
1836 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1838 * Extend Note inset to other forms of annotation like Comment
1839 and Greyedout. Right button click gives dialog.
1841 Files modified or added (+):
1845 * ControlNote.[Ch] +
1847 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1848 frontends/controllers
1852 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1854 * aspell.C: add missing namespace lyx::support
1856 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1858 * BufferView.[Ch] (newFile): Add
1859 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1860 * LaTeX.[Ch] (message): added this signal and use it
1861 * buffer.[Ch] (busy, message): added these signals and use them
1862 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1866 * importer.C: use buffer signals instead of direct bv calling
1867 * lyx_cb.[Ch] (ShowMessage): removed
1870 * paragraph_funcs.C:
1871 * text2.C: use buffer signals
1873 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1875 * introduce namespace lyx::graphics
1877 2003-07-02 André Pönitz <poenitz@gmx.net>
1879 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1881 2003-07-01 André Pönitz <poenitz@gmx.net>
1888 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1889 text*.C to text_func.C
1891 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1893 * introduce namespace lyx::support
1895 2003-06-30 André Pönitz <poenitz@gmx.net>
1900 * text.C: re-enable --with-included-string
1902 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1904 * textcursor.C: add <config.h>
1906 * text.C (getWord): remove const from word_location arg
1908 * lyxvc.C (getLogFile): fix const type order
1910 * lyxtext.h: remove const from word_location arg, add arg name
1912 * lyxlayout.h: currect type on labeltype.
1914 * importer.C: correct \file
1916 * converter.C (intToFormat): use std:: on ret val, ws changes
1918 * bufferlist.h: correct \file
1920 * buffer.C (makeLinuxDocFile): fix const type order
1921 (makeDocBookFile): ditto
1922 (fillWithBibKeys): use std:: on stdlib args.
1924 * CutAndPaste.C: fix authors.
1925 (availableSelections): use std:: on return vector
1927 2003-06-27 André Pönitz <poenitz@gmx.net>
1929 * BufferView_pimpl.C:
1930 * bufferview_funcs.C:
1938 * text3.C: remove LyXCursor::row_ member
1941 * text.C: rename fullRebreak() to partialRebreak() and implement
1942 a fullRebreak() that really bereks fully
1944 * textcursor.h: new struct for cursor-related data
1946 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1948 * lyx_main.C (LyX): get full path of document loaded on the
1951 2003-06-26 André Pönitz <poenitz@gmx.net>
1953 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1954 remove unused/broken operator>,<,>=.
1956 * text.C: remove only use of broken operator<= in an Assert().
1958 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1960 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1961 moved errorlist_.clear to showErrorList
1963 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1965 * converter.C (scanLog, runLaTeX):
1966 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1967 move the bv->showErrorList call to the callers
1968 * lyxfunc.C: i.e. here...
1970 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1971 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1972 namespace, the second to...
1973 * buffer_funcs (BufferFormat, parseErrors): added
1974 * errorlist.C (ErrorList(TeXErrors const &)): removed
1976 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1978 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1980 2003-06-24 "Garst R. Reese" <reese@isn.net>
1984 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1986 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1988 * version.C.in: change docversion to 1.4
1990 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1992 * buffer.C: fix a bug just introduced
1994 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1996 * buffer.[Ch]: added the parseError signal and use it, removed
1998 * BufferView.[Ch] (addError): moved to ...
1999 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2000 to the Buffer::parseError signal to catch (guess what) parse errors
2001 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2003 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2005 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2006 ability to create a buffer and to return an existing one from
2007 the list. Moved these functions to...
2008 * buffer_funcs.[Ch]: added
2009 * BufferView.[Ch] (loadLyXFile): added
2010 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2011 job removed from bufferlist::loadLyXFile.
2012 * buffer.C (setReadOnly): make it work without view
2013 (i.e added an if (users))
2015 2003-06-19 Angus Leeming <leeming@lyx.org>
2018 * LyXAction.C (init):
2019 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2020 with LFUN_DIALOG_SHOW <name> <data>.
2022 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2024 * CutAndPaste.C (availableSelections): small compilation fix for
2025 ancient (gcc 2.9x) compilers
2027 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2029 * text3.C (cursorNext): add tmp var
2031 * text2.C (updateCounters): for function calling out of for clause
2032 (replaceSelectionWithString): ditto
2033 (insertStringAsParagraphs): ditto
2034 (getColumnNearX): add tmp var
2035 (setCursorFromCoordinates): add tmp var
2036 (cursorDownParagraph): add tmp var
2037 (deleteEmptyParagraphMechanism): add tmp var
2039 * text.C (insertChar): add tmp var
2041 * rowpainter.C (paintDepthBar): add tmp var
2043 * CutAndPaste.C (availableSelections): potentially check all
2044 paragraphs in a cut to fill the shown strings.
2046 2003-06-18 André Pönitz <poenitz@gmx.net>
2048 * kbmap.[Ch]: use vector<> instead of list<>
2050 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2052 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2053 pasteSelection with index
2055 * text2.C (pasteSelection): modify, call pasteSelection with index
2057 * paragraph.C (asString): reimplement version with no interval to
2058 call the one with interval.
2060 * lyxtext.h: add index arg to pasteSelection
2062 * MenuBackend.C (MenuItem): handle PasteRecent
2063 (Menu::read::Menutags): add md_pasterecent
2065 (expandPasteRecent): new function
2068 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2070 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2072 (availableSelections): new function
2074 2003-06-17 Angus Leeming <leeming@lyx.org>
2076 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2078 2003-06-17 Angus Leeming <leeming@lyx.org>
2081 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2083 * lyxfunc.C (dispatch): invoke it.
2085 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2087 * iterators.C (operator++, ParPosition): reintroduce some
2088 const_cast for the benefit of older compilers.
2090 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2092 * text3.C (dispatch): do not modify clipboard when doing
2093 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2094 LFUN_DELETE_SKIP on a selection selection
2096 2003-06-16 André Pönitz <poenitz@gmx.net>
2102 * tabular.[Ch]: IU of clone() and getLabelList();
2104 2003-06-13 André Pönitz <poenitz@gmx.net>
2106 * tabular.h: compactification
2108 2003-06-12 André Pönitz <poenitz@gmx.net>
2112 * tabular_funcs.h: some renaming plus whitespace
2114 2003-06-12 André Pönitz <poenitz@gmx.net>
2117 * BufferView_pimpl.C:
2123 * toc.C: Return a Paragraph & for ParIterator::operator*()
2125 2003-06-11 John Levon <levon@movementarian.org>
2129 * ToolbarBackend.C: add "Toolbars" section and
2132 2003-06-10 Angus Leeming <leeming@lyx.org>
2135 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2137 * lyxfunc.C (dispatch): invoke it.
2139 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2141 * main.C: protect <ios> with HAVE_IOS
2142 (main): protect sync_with_stdio with HAVE_IOS
2144 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2146 * text2.C (cutSelection): adjust
2147 (pasteSelection): adjust
2149 * messages.C: handle get of empty string
2151 * main.C (main): use sync_with_stdio(false)
2153 * lyxfunc.C (dispatch): adjust
2155 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2156 (WriteAs): remove unneeded BufferView arg.
2158 * bufferparams.h: use correct types on papersize, papersize2 and
2161 * bufferparams.C (readToken): adjust for type
2162 (writeLaTeX): add missing cases to switch.
2164 * bufferlist.C (quitWriteBuffer): adjust
2167 * buffer.C (asciiParagraph): remove some commented code.
2169 * CutAndPaste.C: remove current_view extern variable.
2170 (cutSelection): add BufferParams arg.
2171 (eraseSelection): add BufferParams arg.
2172 (pasteSelection): add Buffer const & arg
2174 2003-06-07 John Levon <levon@movementarian.org>
2177 * paragraph_funcs.C:
2178 * paragraph_pimpl.C:
2182 * paragraph.C: allow InsetERT to freely space lines,
2183 and some consolidation of code
2185 2003-06-06 José Matos <jamatos@fep.up.pt>
2187 * buffer.C (makeDocBookFile): fix bug #821
2189 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2191 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2193 2003-06-04 Angus Leeming <leeming@lyx.org>
2195 * buffer.C: bump format to 224.
2197 2003-06-05 André Pönitz <poenitz@gmx.net>
2199 * text2.C (redoParagraphs): remove two const_cast<>
2201 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2203 * ParagraphList.h: remove last remnants of NO_STD_LIST
2205 2003-06-03 Angus Leeming <leeming@lyx.org>
2207 * factory.C (createInset): small change to the way InsetExternal's params
2210 2003-06-04 André Pönitz <poenitz@gmx.net>
2212 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2214 * paragraph_pimpl.h:
2215 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2217 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2219 * undo_funcs.C: make some simple cases of undo work again
2221 2003-06-03 John Levon <levon@movementarian.org>
2223 * ispell.C: HPUX doesn't have sys/select.h
2226 2003-06-03 John Levon <levon@movementarian.org>
2228 * CutAndPaste.C: update tabular and include inset
2233 * paragraph.C: remove owningBuffer(), don't pass Buffer
2236 * factory.C: insetGraphicsParams changed
2238 2003-06-02 John Levon <levon@movementarian.org>
2244 * text3.C: remove insetparent
2246 2003-06-02 John Levon <levon@movementarian.org>
2249 * buffer.C: fix inset_iterator.end(), move out of line
2252 2003-06-01 John Levon <levon@movementarian.org>
2254 * text3.C: use a proper cut/paste when doing inset
2255 insert (from Jürgen Spitzmüller)
2257 2003-06-01 John Levon <levon@movementarian.org>
2259 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2261 2003-05-30 André Pönitz <poenitz@gmx.net>
2263 * rowpainter.C: unify second drawing phase
2265 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2267 * trans_mgr.C: remove one case of current_view
2269 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2271 * paragraph_funcs.h: remove paragraph.h include
2273 * paragraph.h: delete NO_STD_LIST stuff
2275 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2277 * buffer.h: remove paragraph.h include
2279 * ParagraphList.C: delete file
2281 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2283 * toc.C (getTocList): adjust
2285 * paragraph_pimpl.C (validate): adjust
2287 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2289 * paragraph.C (Paragraph): adjust
2290 (getPositionOfInset): use const_iterator, adjust
2291 (bibitem): use const_iterator, adjust
2292 (setInsetOwner): adjust
2294 * iterators.C (operator++): adjust
2296 * InsetList.[Ch]: Replace selfmade iterator with standard
2297 vector::iterator also introduce const_iterator. Remove getPos,
2298 getInset and setInset from InsetTable. Adjust accordingly.
2300 * BufferView.C (lockInset): adjust
2301 (ChangeInsets): adjust
2303 * tabular.[Ch]: delete commented same_id functions
2305 2003-05-28 John Levon <levon@movementarian.org>
2307 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2309 2003-05-28 André Pönitz <poenitz@gmx.net>
2311 * metricsinfo.[Ch]: remove 'fullredraw' member
2313 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2315 * lyxtextclass.C (operator): remove caching.
2317 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2321 * text2.C (cursorBottom): adjust
2322 (setCounter): use ParagraphList::find, adjust
2324 * text.C (workWidth): use ParagraphList::find, adjust
2326 * lyxcursor.C (LyXCursor): adjust
2328 * buffer.C (inset_iterator): adjust
2330 * ParagraphList.h: make iterator(value_type) private, make
2331 ParagraphList a friend of iterator.
2333 * ParagraphList.C (find): new function
2335 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2337 2003-05-27 André Pönitz <poenitz@gmx.net>
2339 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2341 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2343 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2345 2003-05-26 John Levon <levon@movementarian.org>
2347 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2349 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2351 * remove same_id from function signatures, adjust.
2353 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2357 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2359 * paragraph.C (Paragraph): get rid of same_ids parameter
2361 * ParagraphList.C (insert): adjust
2364 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2366 * paragraph_funcs.C (breakParagraph): adjust
2367 (breakParagraphConservative): adjust
2369 * buffer.C (readParagraph): adjust
2371 * ParagraphList.C (insert): take a reference instead of a pointer
2374 * paragraph.[Ch] (id): new function
2376 * bufferlist.C (newFile): adjust
2378 * ParagraphList.C (ParagraphList): adjust
2380 (push_back): take a reference instead of a pointer.
2382 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2384 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2387 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2388 set else use old code.
2390 * ParagraphList.C: remove all NO_NEXT code and only compile this
2391 code of NO_STD_LIST is set.
2393 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2395 * BufferView_pimpl.C:
2405 * graphics/GraphicsConverter.C:
2406 * graphics/PreviewLoader.C: header adjustment
2408 2003-05-23 Angus Leeming <leeming@lyx.org>
2410 * LaTeXFeatures.[Ch] (useBabel): new method.
2411 * bufferparams.C (writeLaTeX): use it.
2413 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2415 * ParagraphList.h (set): remove unused function.
2417 2003-05-23 André Pönitz <poenitz@gmx.net>
2420 * BufferView_pimpl.C:
2424 * undo_funcs.C: setUndo reworked
2426 * iterators.[Ch]: add access to topmost ParagraphList
2428 * lyxtext.[Ch] (workWidth): add a const
2430 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2432 * texrow.[Ch] (increasePos): remove function
2433 * exporter.C (export): removed unused var and outdated comment
2435 2003-05-23 Angus Leeming <leeming@lyx.org>
2437 * latexrunparams.h: rename fragile as moving_arg.
2438 * paragraph.C (simpleTeXOnePar): ditto.
2439 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2441 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2443 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2445 (textUndoOrRedo): comment out a currently unused var.
2447 * paragraph.h (NO_NEXT): enable NO_NEXT
2449 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2451 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2453 * exporter.C (Export): adjust for removeAutoInsets removal.
2455 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2457 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2459 * BufferView.[Ch] (removeAutoInsets): delete function
2461 2003-05-22 Angus Leeming <leeming@lyx.org>
2463 * latexrunparams.h: add a free_spacing variable.
2465 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2466 to pass moving_arg, as the data is stored in runparams.fragile.
2468 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2469 to Inset::latexOptional or to simpleTeXOnePar.
2471 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2472 free_spacing arg to Inset::latexOptional.
2474 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2477 2003-05-22 Angus Leeming <leeming@lyx.org>
2479 * latexrunparams.h: add fragile and use_babel variables.
2481 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2482 * buffer.C (makeLaTeXFile): store this returned value in
2483 runparams.use_babel, thus passing it to the inset::latex methods.
2485 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2486 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2488 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2489 longer has a fragile arg, as it is stored in runparams.fragile.
2491 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2492 moving_arg parameter as the data is stored in runparams.fragile.
2494 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2495 a fragile parameter as the data is stored in runparams.fragile.
2497 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2499 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2501 2003-05-22 Angus Leeming <leeming@lyx.org>
2503 * latexrunparams.h: add a 'bool nice' which defaults to false.
2505 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2506 now encapsulated within runparams.
2508 * bufferlist.C (updateIncludedTeXfiles):
2509 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2511 2003-05-22 Angus Leeming <leeming@lyx.org>
2513 * latexrunparams.h: new file containing struct LatexRunParams.
2514 * Makefile.am: add new file.
2516 * LaTeX.[Ch] (c-tor, run):
2517 * buffer.[Ch] (makeLaTeXFile):
2518 * bufferlist.[Ch] (updateIncludedTeXfiles):
2519 * converter.C (convert, scanLog):
2520 * converter.[Ch] (runLaTeX):
2521 * exporter.C (Export):
2522 * paragraph.[Ch] (simpleTeXOnePar):
2523 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2524 * paragraph_funcs.[Ch] (latexParagraphs):
2525 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2526 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2527 pass around a LatexRunParams parameter.
2529 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2531 * paragraph.[Ch]: remove unused constructor
2533 * ParagraphList.C (erase): new function, taking two iterators
2535 2003-05-22 André Pönitz <poenitz@gmx.net>
2537 * undo_funcs.C: remove duplicated code
2539 * iterator.[Ch]: operator=
2541 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * tabular.C (SetMultiColumn): ws changes
2545 * rowpainter.C (paintFirst): get rid of a ->previous
2547 * lyx_cb.C (getPossibleLabel): parlist simplification
2549 * BufferView.C (ChangeInsets): simplify slightly.
2551 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2553 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2554 * lfuns.h: new LFUN_SPACE
2555 * lyxfunc.C: protected space has a new lfun
2556 * paragraph_funcs.C: read new space insets
2558 * factory.C: handle new space insets
2560 2003-05-22 André Pönitz <poenitz@gmx.net>
2563 * BufferView_pimpl.C:
2566 * undo_funcs.C: return a ParIterator from getParFromID.
2568 * iterators.[Ch]: add two const's
2570 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2572 * toc.C (getTocList): adjust
2574 * iterators.[Ch]: rework for parlist
2576 * buffer.C (par_iterator_begin): adjust
2577 (par_iterator_end): adjust
2579 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2581 * BufferView.C (removeAutoInsets): adjust
2582 (ChangeInsets): adjust
2584 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2586 * text.C (top_y): fix bug 1110
2588 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2590 * errorlist.[Ch]: added
2593 * BufferView_pimpl.C:
2594 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2597 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2599 * Makefile.am: ensure that lyx is relinked upon changes to the
2600 various "convenience" libs.
2602 2003-05-20 Angus Leeming <leeming@lyx.org>
2604 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2605 files are compiled in alphabetical order again.
2607 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2609 2003-05-19 Angus Leeming <leeming@lyx.org>
2611 * gettext.[Ch]: remove "char const * _(char const *)".
2613 2003-05-19 André Pönitz <poenitz@gmx.net>
2615 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2624 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2626 2003-05-19 André Pönitz <poenitz@gmx.net>
2630 * lyxtextclass.[Ch]:
2632 * paragraph_funcs.[Ch]:
2634 * text3.C: more insetenv work
2636 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2638 * ParagraphParameters.C (params2string): small bug fixed
2640 2003-05-16 André Pönitz <poenitz@gmx.net>
2643 * bufferview_funcs.C: patch from Kornel Benko to prevent
2644 crash when _(...) is called twice in a statement
2646 2003-05-16 André Pönitz <poenitz@gmx.net>
2653 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2655 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2657 * lyx_main.C (init): remove spurious static_cast
2659 2003-05-14 André Pönitz <poenitz@gmx.net>
2661 * BufferView.C: fix format string
2663 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2665 * BufferView.[Ch] (insertErrors): removed
2666 * BufferView.[Ch] (showErrorList): added
2667 * buffer.C (runChkTeX):
2668 * converter.C (scanLog): call showErrorList instead of inserterrors
2670 2003-05-13 André Pönitz <poenitz@gmx.net>
2672 * BufferView_pimpl.C:
2674 * bufferview_func.C:
2681 * tabular_funcs.h: tostr() from its own header
2683 * ParagraphParameters.C:
2688 * text3.C: STRCONV()
2690 2003-05-12 André Pönitz <poenitz@gmx.net>
2693 * BufferView_pimpl.C:
2697 * ParagraphParameters.C:
2701 * bufferview_funcs.C:
2714 * paragraph_funcs.C:
2718 * text3.C: boost::format -> bformat all over the place
2721 2003-05-09 André Pönitz <poenitz@gmx.net>
2723 * LColor.[Ch]: Pimpl the #include <map> away
2725 2003-05-09 John Levon <levon@movementarian.org>
2727 * bufferlist.C: never remove emergency saves
2729 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2731 * Makefile.am: better lib building
2733 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2735 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2737 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2738 (simpleTeXSpecialChars): adjust
2739 (simpleTeXSpecialChars): adjust
2740 * paragraph.C (simpleTeXOnePar): adjust
2741 * buffer.C (makeLaTeXFile): adjust
2743 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2745 * text2.C (changeDepth): parlist cleanup
2746 (getColumnNearX): ditto
2748 * rowpainter.C (getLabelFont): parlist cleanup
2750 * bufferlist.C (newFile): parlist cleanup
2752 * CutAndPaste.C (eraseSelection): parlist cleanup
2754 * BufferView_pimpl.C (trackChanges): parlist cleanup
2757 * BufferView.C (lockInset): parlist cleanup.
2758 (ChangeInsets): ditto
2760 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2762 * CutAndPaste.h: Update file header.
2764 * CutAndPaste.C: Update file header.
2765 Store the parts cut out of the Document in a limited_stack.
2766 (copySelection): adjust
2767 (pasteSelection): new function, takes the index in the limited stack.
2768 (nrOfParagraphs): adjust
2769 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2770 simplify error inset insertion.
2771 (checkPastePossible): adjust
2773 2003-05-06 John Levon <levon@movementarian.org>
2775 * text2.C: don't cast wrap inset to float
2777 2003-05-05 André Pönitz <poenitz@gmx.net>
2780 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2782 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2783 few naked Paragraph *.
2785 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2787 * bufferparams.C: Output warning if a document with missing
2788 TeX document class is loaded
2789 * exporter.C: Disable TeX exports if the document class is missing
2792 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2793 isTeXClassAvailable()
2795 2003-05-03 John Levon <levon@movementarian.org>
2798 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2799 explicit cursor show/hide
2801 * BufferView_pimpl.h:
2802 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2803 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2805 * lyxfunc.C: hide cursor before dispatching.
2810 * text3.C: remove explicit cursor hides
2812 2003-05-02 André Pönitz <poenitz@gmx.net>
2814 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2817 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2820 * text2.C: tiny whitespace
2822 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2824 * undo_funcs.C: almost only ws changes.
2826 * ParagraphList.C (splice): just return if pl is empty.
2828 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * ParagraphList.C (splice): new function.
2832 * CutAndPaste.C (pasteSelection): use it
2834 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2836 * CutAndPaste.C (pasteSelection): remove the last next and
2837 previous from this file.
2839 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2841 * CutAndPaste.C (pasteSelection): more clean up, user proper
2842 ParagraphList functions for pasteing.
2844 * ParagraphList.C (insert): new function, three arg insert
2846 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2848 * ParagraphList.C (insert): new function, three arg insert
2850 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2853 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2855 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2857 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2861 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2863 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2864 (copySelection): clean up a bit.
2865 (pasteSelection): use make_pair
2867 * ParagraphList.C (ParagraphList): implement copy constructor
2868 (operator=): implement, base on copy constructor.
2871 * paragraph.C (erase): return a bool
2873 * paragraph_pimpl.C (erasePos): remove function, move contents...
2874 (erase): ... here. Return a bool.
2875 (erase): call erase instead of erasePos.
2877 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2879 * ParagraphList.h: define PitPosPair
2880 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2881 ParagraphList, fix a bug on pasting multiple pars
2882 * text2.C: change interface to C&P
2884 2003-04-30 André Pönitz <poenitz@gmx.net>
2886 * undo_func.C: revert part of yesterday's patch 2
2888 2003-04-30 John Levon <levon@movementarian.org>
2890 * LColor.C: s/tabular/table/
2892 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2894 * text3.C (dispatch): do not convert iterator -> pointer
2895 * undo_funcs.C (setCursorParUndo): ditto
2896 * text_funcs.C (transposeChars): ditto
2898 * text2.C (setLayout): ws changes only
2900 * text.C (breakParagraph): do not convert iterator -> pointer
2902 (acceptChange): ditto
2903 (rejectChange): ditto
2908 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2911 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2913 * text3.C (gotoInset): YABG (yet another bad getChar)
2915 2003-04-29 André Pönitz <poenitz@gmx.net>
2917 * paragraph.h: make operator= private unimplemented as long as
2920 * ParagraphList.C: whitespace
2923 * paragraph_pimpl.[Ch]:
2924 * paragraph_funcs.C:
2926 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2929 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2931 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2933 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2934 * paragraph.[Ch] (erase):
2935 * paragraph_pimpl.[Ch] (erase): change return type and value
2936 * text2.C (cutSelection): some rework
2938 2003-04-28 John Levon <levon@movementarian.org>
2940 * bufferlist.C: changes for unsaved changes dialog
2942 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2944 * bufferlist.C (newFile): set language (messages_) for new
2947 * buffer.C (readFile): ws changes only.
2949 2003-04-28 André Pönitz <poenitz@gmx.net>
2954 * BufferView_pimpl.C:
2955 * BufferView.C: getParFromID related ParagraphList::iterator changes
2957 2003-04-28 André Pönitz <poenitz@gmx.net>
2959 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2962 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2964 * messages.C: remove one more localedir class variable.
2966 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2968 * messages.C (getLocaleDir): singleton generation function
2970 (Messages): add a default constructor.
2972 * main.C (main): do not setup localedir here, do not call
2975 * gettext.C (_): use it.
2976 (gettext_init): delete funciton
2978 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * gettext.C (getLyXMessages): new singleton generating function.
2982 * buffer.C (updateDocLang): adjust
2984 * Makefile.am (messages.o): add target
2985 (main.o): remove target
2987 2003-04-27 John Levon <levon@movementarian.org>
2992 * lyxvc.C: specify cancel button in Alert::prompt
2994 2003-04-26 John Levon <levon@movementarian.org>
2999 * LyXAction.C: add LFUN_INSET_SETTINGS
3001 * lyxfunc.C: don't enable tabular-feature when there's
3002 just any locking inset
3004 2003-04-26 John Levon <levon@movementarian.org>
3006 * bufferlist.C: re-add Cancel to buffer close question
3008 * lyxfunc.C: fix import UI a bit
3010 2003-04-25 John Levon <levon@movementarian.org>
3012 * gettext.C: remove the broken asserts for now
3014 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3016 * messages.C: make case where setlocale cannot comply work better.
3018 * buffer.C (updateDocLang): new function
3019 (changeLanguage): use it
3022 * text2.C (setCounter): use B_ a bit.
3024 * lyxlayout.C (Read): be sure to trim the label strings.
3026 * messages.C (Messages): fix typo in comment
3028 * buffer.C (readFile): set message_ after file is loaded.
3029 (makeDocBookFile): remove double return
3030 (changeLanguage): reset message_ upon language change.
3031 (B_): new func, use this to get translated buffer strings.
3033 * main.C: add myself and Jean Marc as authors.
3035 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3037 * messages.[hC]: pimplify Messages, and three different pimpls to be
3038 used in different circumstances.
3040 * gettext.[Ch]: change for use with new message code.
3042 2003-04-24 André Pönitz <poenitz@gmx.net>
3044 * factory.C: support for eqref
3046 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3048 * messages.[Ch]: add missing char
3050 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3052 * messages.[Ch]: New files
3054 2003-04-18 John Levon <levon@movementarian.org>
3058 * BufferView_pimpl.C:
3062 * text2.C: remove layout-copy/paste (bug 778)
3064 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3066 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3068 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3070 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3071 if they succeed. Act accordingly.
3073 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3075 * text2.C (setCharFont): adjust
3076 (setCounter): adjust
3077 (insertStringAsLines): adjust
3079 * text.C (leftMargin): adjust
3080 (setHeightOfRow): adjust
3082 * rowpainter.C (paintFirst): adjust
3085 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3087 (isFirstInSequence): ditto
3088 (getEndLabel): ditto
3091 * paragraph.C (getParLanguage): comment out some hard stuff.
3093 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3095 (simpleDocBookOnePar): ditto
3096 (makeDocBookFile): use ParagraphList::iterator
3098 * CutAndPaste.C (pasteSelection): adjust
3100 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3102 * text2.C (getFont): adjust
3103 (getLayoutFont): adjust
3104 (getLabelFont): adjust
3106 * paragraph_funcs.C (TeXOnePar): adjust
3108 * buffer.C (simpleLinuxDocOnePar): adjust
3109 (simpleDocBookOnePar): adjust
3111 * CutAndPaste.C (pasteSelection): adjust
3113 * BufferView.C (getEncoding): adjust
3115 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3117 2003-04-16 John Levon <levon@movementarian.org>
3119 * lyxfind.C: use parlist stuff for search/changes
3121 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3123 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3125 * text2.C (deleteEmptyParagraphMechanism): adjust
3127 * text2.[Ch] (ownerParagraph): delete func (both of them
3129 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3131 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3133 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * ParagraphList.C: prepare for NO_NEXT
3137 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * text2.C (getFont): adjust
3140 (getLayoutFont): adjust
3141 (getLabelFont): adjust
3143 * paragraph.C (getFont): adjust
3144 (getLabelFont): adjust
3145 (getLayoutFont): adjust
3147 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3149 2003-04-15 John Levon <levon@movementarian.org>
3153 * lyx_main.C: handle Include in .ui files
3155 2003-04-15 John Levon <levon@movementarian.org>
3157 * MenuBackend.C: make the doc files length shorter
3160 * ToolbarBackend.C: handle toolbar placement flags,
3163 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3165 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3168 * paragraph_funcs.C (TeXOnePar): adjust
3170 * paragraph.C (getLabelFont): add outerfont arg, adjust
3171 (getLayoutFont): ditto
3172 (simpleTeXOnePar): adjust
3174 * paragraph_pimpl.C (realizeFont): delete func
3176 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3178 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3179 row argument, constify cur argument.
3181 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3183 * text2.C (getFont): adjust
3184 (getLayoutFont): adjust
3185 (getLabelFont): adjust
3187 * paragraph_funcs.C (TeXOnePar): adjust
3188 (outerFont): new func...
3189 (realizeFont): ...moved out from here, changed this to facilitate
3192 * paragraph.C (getFont): take outerfont as arg, adjust
3193 (simpleTeXOnePar): add outerfont arg, adjust
3195 * buffer.C (simpleLinuxDocOnePar): adjust
3196 (simpleDocBookOnePar): adjust
3198 * CutAndPaste.C (pasteSelection): adjust
3200 * BufferView.C (getEncoding): adjust
3202 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3204 * text2.C (setCharFont): adjust
3205 (setCounter): adjust
3207 * text.C (leftMargin): adjust
3208 (setHeightOfRow): adjust
3210 * rowpainter.C (paintFirst): adjust
3213 * paragraph_pimpl.C (realizeFont): adjust
3215 * paragraph.C (isFirstInSequence): move from here...
3216 * paragraph_funcs.C (isFirstInSequence): ...to here
3218 * paragraph.C (outerHook): move from here...
3219 * paragraph_funcs.C (outerHook): ...to here
3221 * paragraph.C (depthHook): move from here...
3222 * paragraph_funcs.C (depthHook): ...to here
3224 * paragraph.C (getEndLabel): move from here...
3225 * paragraph_funcs.C (getEndLabel): ...to here
3227 * text2.C (realizeFont): move from here...
3228 * paragraph_funcs.C (realizeFont): ...to here
3230 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3232 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3234 2003-04-14 Angus Leeming <leeming@lyx.org>
3236 * LColor.[Ch]: scrap LColor mathcursor.
3238 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3240 * lyxlex.[Ch] (text): delete function
3241 * trans.C (Load): adjust
3242 * paragraph_funcs.C (readParToken): adjust
3244 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3246 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3247 vector<char> instead of a char[].
3249 * lyxlex_pimpl.C (getString): adjust
3251 (lex): use getString
3255 * lyxlex.C (text): use pimpl_->getString()
3259 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3262 (makeFontEntriesLayoutSpecific): temp var for par.size()
3263 (setLayout): temp var for ownerParagraphs().end()
3264 (fullRebreak): temp var for rows().end()
3265 (selectionAsString): temp var for boost::next(startpit), realize
3266 that the while really is a regular for loop.
3267 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3268 setCursor in one place.
3269 (setParagraph): temp vr for ownerParagraphs().end()
3270 (updateCounters): make the while loop a for loop
3271 (cutSelection): temp var for ownerParagraphs().end()
3272 (updateInset): make the do {} while() a regular for loop
3273 (getCursorX): use temp vars
3274 (setCurrentFont): use temp vars
3275 (getColumnNearX): use temp vars
3277 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3279 * text.C (transformChar): use temp var for getChar
3280 (computeBidiTables): use temp var for row->par()
3281 (fill): move temp vars for row->par() and pit->layout() earlier in
3283 (labelFill): use temp var for row->par()
3284 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3285 asc and desc, realize that pit never changes and that firstpit is
3286 just a duplicate and not needed. Exchange rit->par() with pit in a
3288 (breakAgain): use a temp var for boost::next(rit)
3289 (breakAgainOneRow): ditto
3290 (breakParagraph): use a temp var for rows().begin()
3291 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3292 (cursorRightOneWord): use temp var for cursor.par() and
3293 cursor.pos(), remove usage of tmpcursor.
3294 (cursorLeftOneWord): use temp var for cursor.par() and
3295 cursor.pos() only set cur at end of function.
3297 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * text.C, text2.C: exchange all usage of Paragraph::next with
3300 boost::next(ParagraphList::iterator)
3302 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3304 * text2.C (cursorTop): simplify implementation
3305 (cursorBottom): ditto
3306 (setParagraph): use ParagraphList::iterator
3307 (setCurrentFont): adjust
3308 (getColumnNearX): adjust
3309 (cursorRight): adjust
3310 (cursorLeft): remove usage of Paragraph::previous
3311 (cursorUpParagraph): ditto
3312 (deleteEmptyParagraphMechanism): slight cleanup
3314 * text.C (isBoundary): take a Paragraph const & instead of a
3316 (addressBreakPoint): ditto
3317 (leftMargin): remove usage of Paragraph::previous.
3318 (setHeightOfRow): ditto
3319 (cursorLeftOneWord): ditto
3320 (selectNextWordToSpellcheck): ditto
3323 (breakParagraph): remove one usage of Paragraph::next
3324 (redoParagraph): ditto
3325 (acceptChange): ditto
3326 (insertChar): adjust
3327 (rowBreakPoint): adjust
3329 * bufferview_funcs.C (toggleAndShow): adjust
3331 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3333 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3334 methods to access it.
3336 * text.C: Added updateRowPositions to compute all row positions.
3337 Make top_y and getRowNearY() to use the cached y position
3339 2003-04-11 John Levon <levon@movementarian.org>
3341 * text.C (rowBreakPoint): reintroduce the labelEnd
3342 checks, code copied from the row fill stuff. Deep voodoo.
3344 * text.C (fill): add a comment and debugging for the
3347 2003-04-11 John Levon <levon@movementarian.org>
3349 * text.C: make sure fullrow insets get wrapped to the next line,
3350 even when they're in a manual label
3352 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * text2.C (insertParagraph): make it take ParagraphList::iterator
3356 (setLayout): make it return ParagraphList::iterator
3357 (redoParagraphs): ditto
3359 (checkParagraph): ditto
3361 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3363 * text2.C: adjust several funcs.
3364 (realizeFont): take a ParagraphList::iterator as arg.
3365 (getLayoutFont): ditto
3366 (getLabelFont): ditto
3367 (setCharFont): ditto
3369 * text.C: adjust several funcs.
3371 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3373 * text.C (selectNextWordToSpellcheck): don't accidentally
3376 2003-04-10 John Levon <levon@movementarian.org>
3378 * ToolbarBackend.C (getIcon): special handling for
3381 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3383 * text2.C (cursorRight): a getChar assert fixed
3385 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3387 * text2.C (getFont): change to take a ParagraphList::iterator
3388 instead of Paragraph*
3389 Adjust several functions.
3391 * text.C (transformChar): change to take a ParagraphList::iterator
3392 instead of Paragraph*
3393 (singleWidth): ditto
3394 Adjust several functions.
3396 * rowpainter.C: adjust several functions
3397 * rowpainter.h:store a ParagraphList::iterator and not a
3401 2003-04-09 John Levon <levon@movementarian.org>
3406 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3407 and the "help" bits as well
3409 2003-04-09 John Levon <levon@movementarian.org>
3412 * ToolbarBackend.C: allow multiple toolbars
3414 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3416 * undo_funcs.C (setCursorParUndo): adjust
3418 * text_funcs.C (transposeChars): adjust
3420 * text3.C (gotoNextInset): adjust
3423 * text2.C (setLayout): adjust
3424 (changeDepth): adjust
3426 (redoParagraphs): adjust
3427 (selectionAsString): adjust
3428 (setParagraph): adjust
3429 (insertInset): adjust
3430 (cutSelection): adjust
3431 (copySelection): adjust
3432 (pasteSelection): adjust
3433 (insertStringAsLines): adjust
3434 (updateInset): adjust
3435 (setCursor): change to take a ParagraphList::iterator parameter
3436 (setCursorIntern): change to take a ParagraphList::iterator parameter
3437 (setCurrentFont): adjust
3438 (cursorLeft): adjust
3439 (cursorRight): adjust
3440 (deleteEmptyParagraphMechanism): adjust
3442 * text.C (breakParagraph): adjust
3443 (insertChar): adjust
3444 (acceptChange): adjust
3445 (rejectChange): adjust
3446 (selectNextWordToSpellcheck): adjust
3447 (changeCase): adjust
3451 * lyxfind.C (SearchForward): adjust
3452 (SearchBackward): adjust
3453 (nextChange): adjust
3455 * lyxcursor.C (par): adjust
3457 * lyxcursor.h: store a ParagraphList::iterator instead of a
3460 * lyx_cb.C (getPossibleLabel): adjust
3462 * bufferview_funcs.C (toggleAndShow): adjust
3464 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3467 * BufferView.C (removeAutoInsets): adjust
3468 (lockedInsetStoreUndo): adjust
3470 2003-04-09 John Levon <levon@movementarian.org>
3472 * ToolbarBackend.C: try icon without argument
3473 if with argument fails
3475 2003-04-08 John Levon <levon@movementarian.org>
3478 * ToolbarBackend.C: add getIcon(), handle tooltip,
3479 and change from "Icon" to "Item".
3481 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3483 * BufferView.C (lockInset): another bad getchar crunched
3485 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3487 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3490 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3492 * lyxfind.C (searchForward, searchBackwards): bug 782
3494 2003-04-07 John Levon <levon@movementarian.org>
3496 * paragraph.C: remove dead comment
3498 * text.C: remove troublesome depth-fiddling code
3499 in leftMargin() and rightMargin() (bug 1017)
3501 * text.C: fix breaking of rows in nested lists
3504 * text2.C (updateCounters): fix up depth values
3507 2003-04-07 John Levon <levon@movementarian.org>
3509 * BufferView_pimpl.C: clear message when doc finishes resizing,
3510 and after a mouse event
3512 * lyxfunc.C: clear message after exiting inset
3514 2003-04-07 John Levon <levon@movementarian.org>
3516 * bufferview_funcs.C: show math status not outside
3517 status in the statusbar
3519 2003-04-07 John Levon <levon@movementarian.org>
3521 * lyxfunc.C: note status changed after a depth change
3523 2003-04-04 Angus Leeming <leeming@lyx.org>
3525 * LaTeX.h: move AuxInfo operator==, != out of line.
3526 Remove LaTeX virtual destructor; nothing derives from it.
3527 Move operator()() out of public area and rename it startscript().
3528 Change protected for private.
3530 2003-04-04 Angus Leeming <leeming@lyx.org>
3533 * text2.C: remove unneeded #includes.
3535 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3537 * text2.C (dEPM): fix the heigth of the next row
3539 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3541 * text.C: squashed an invalid getChar requester + some ws changes
3543 2003-04-03 John Levon <levon@movementarian.org>
3545 * bufferview_funcs.h:
3546 * bufferview_funcs.C:
3549 * text2.C: make getStatus work for the env depth lfuns
3551 2003-04-03 John Levon <levon@movementarian.org>
3553 * bufferview_funcs.h:
3554 * bufferview_funcs.C:
3557 * text2.C: parlistize decDepth(), by merging it with incDepth()
3559 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * lyxrow.h: store a ParagraphList::iterator instead of a
3562 Paragraph* and adjust other class functions to suit.
3564 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3567 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3569 * text2.C (setCursor): do not anchor to cursor row for the time being
3571 2003-04-02 John Levon <levon@movementarian.org>
3578 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3580 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3582 * paragraph.h: make ParagraphList and ParagraphList::iterator
3583 friends of Paragraph.
3585 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3587 * ParagraphList.C: Use the private next_ and previous_ from
3590 2003-04-01 John Levon <levon@movementarian.org>
3594 * Makefile.am: rename, remove defaults gunk
3597 * MenuBackend.C: remove defaults gunk
3600 * Languages.C: remove defaults gunk
3603 * lyx_main.C: error out if files couldn't be found.
3605 2003-04-02 John Levon <levon@movementarian.org>
3607 * text2.C: make incDepth() use parlist
3609 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * undo_funcs.C (firstUndoParagraph): adjust
3613 * text3.C (gotoInset): adjust
3614 (dispatch): adjust, and rewrite loop.
3616 * text2.C (init): adjust, and rewrite loop.
3617 (redoParagraphs): adjust
3618 (updateInset): adjust, and rewrite loop.
3619 (deleteEmptyParagraphMechanism): adjust
3621 * tabular.C (LyXTabular): adjust
3622 (SetMultiColumn): adjust
3625 * lyxtext.[Ch] (ownerParagraph): delete function
3626 (ownerParagraphs): new function returns a ParagraphList.
3628 * BufferView.C (removeAutoInsets): adjust
3629 (insertErrors): adjust
3630 (setCursorFromRow): adjust
3632 2003-04-01 Angus Leeming <leeming@lyx.org>
3634 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3637 2003-04-02 John Levon <levon@movementarian.org>
3643 * text_funcs.C: make transposeChars a free function
3645 * lyxrow_funcs.C: remove wrong comment
3647 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3650 * rowpainter.C: adjust
3655 * lyxrow_funcs. [Ch]: new files
3657 * lyxrow.[Ch]: remove next and previous pointers
3658 (next,previous): remove accessor functions
3659 (isParEnd): move to lyxrow_funcs
3660 (lastPos): move to lyxrow_funcs
3661 (nextRowIsAllInset): move to lyxrow_funcs
3662 (lastPrintablePos): move to lyxrow_funcs
3663 (numberOfSeparators): move to lyxrow_funcs
3664 (numberOfHfills): move to lyxrow_funcs
3665 (numberOfLabelHfills): move to lyxrow_funcs
3666 (hfillExpansion): move to lyxrow_funcs
3670 * bufferview_funcs.C (toggleAndShow): adjust
3672 * RowList.h: Remove class RowList from file leave just a
3675 * RowList.C: delete file
3677 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3680 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3682 * text3.C (cursorPrevious): adjust
3683 (cursorNext): adjust
3686 * text2.C (redoHeightOfParagraph): adjust
3687 (redoDrawingOfParagraph): adjust
3690 * text.C (breakParagraph): adjust
3691 (insertChar): adjust
3694 * rowpainter.C (RowPainter): adjust
3695 (leftMargin): simplify and adjust
3696 (most rowpainter functions): adjust.
3698 * rowpainter.h: store the row as RowList::iterator not as Row*
3700 * lyxcursor.C (row): taka RowList::iterator as arg
3703 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3706 2003-04-01 Angus Leeming <leeming@lyx.org>
3708 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3709 stuff like bool Bool.
3711 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3713 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3716 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3718 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3721 * lyxtext.h (rows): drop one version and leve a const variant that
3722 returns a RowList::iterator.
3724 2003-03-31 Angus Leeming <leeming@lyx.org>
3726 * text.C (fill): ensure that the signature is the same as that in the
3729 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3731 * text2.C (redoParagraphs): adjust
3732 (updateCounters): adjust
3733 (checkParagraph): adjust
3734 (getColumnNearX): adjust and reformat a bit.
3736 * text.C (top_y): adjust
3738 (leftMargin): adjust
3739 (prepareToPrint): adjust
3741 (getRowNearY): adjust
3743 * lyxtext.h: make rowlist_ mutable.
3745 * RowList.h: add const_iterator
3746 * RowList.C: adjust for RowList::const_iterator.
3748 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3751 2003-03-31 John Levon <levon@movementarian.org>
3754 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3756 * lyx_main.C: set default fonts from using lyx_gui funcs
3758 * exporter.C: pdf_mode moved from lyxrc
3761 * lyxfunc.C: changes from above
3763 2003-03-31 John Levon <levon@movementarian.org>
3765 * lyx_main.C: fix to the last fix
3767 2003-03-31 John Levon <levon@movementarian.org>
3769 * bufferlist.C: "Load original" -> "Load Original"
3775 * format.C: more Alert cleanups
3777 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3779 * text2.C (removeParagraph): make it take a RowList::iterator as
3781 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3782 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3784 * text.C (anchor_row): make it take a RowList::iterator as arg,
3786 (computeBidiTables): make it take a const reference to Row instead
3787 of Row pointer, adjust.
3788 (leftMargin): make it take a RowList::iterator as arg, adjust.
3789 (rowBreakPoint): adjust
3790 (breakAgainOneRow): make it take a RowList::iterator as arg,
3792 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3794 * bufferview_funcs.C (toggleAndShow): adjust
3796 2003-03-30 John Levon <levon@movementarian.org>
3800 * boost-inst.C: moved to support
3802 * several files: changes as a result
3804 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * text2.C (LyXText): adjust.
3808 (removeRow): make it take a RowList::iterator as arg, adjust.
3809 (fullRebreak): adjust
3810 (deleteEmptyParagraphMechanism): adjust
3811 (clearPaint): adjust
3814 * text.C (top_y): adjust
3815 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3816 (breakAgain): make it take a RowList::iterator as arg, adjust.
3817 (breakParagraph): adjust
3818 (insertChar): adjust
3821 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3822 need_break_row, and refresh_row.
3824 * text3.C (dispatch): adjust
3826 * text2.C (checkParagraph): adjust
3828 (setCursorFromCoordinates): adjust
3830 * text.C (top_y): adjust
3832 (getRow): make it return a RowList::iterator, adjust
3833 (getRowNearY): make it return a RowList::iterator, adjust
3835 * text2.C (init): adjust
3836 (insertRow): remove function
3837 (insertParagraph): adjust
3838 (redoParagraphs): adjust
3839 (fullRebreak): adjust
3840 (updateCounters): adjust
3842 * text.C (top_y): rewrite to use RowList iterators.
3844 (setHeightOfRow): rewrite to sue RowList iterators.
3845 (appendParagraph): adjust
3846 (breakAgain): adjust
3847 (breakAgainOneRow): adjust
3848 (breakParagraph): adjust
3850 (getRowNearY): adjust, and remove commented code.
3852 * lyxtext.h (firstRow): delete function
3853 (lastRow): delete function
3854 (rows): new function (const and non-const versions.)
3855 (insertRow): delete function
3857 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3859 2003-03-29 John Levon <levon@movementarian.org>
3861 * BufferView_pimpl.C: always update scrollbar top
3862 because pasting text when we're anchored could mean we
3863 miss an update altogether
3865 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3867 * text2.C (init): use rowlist_.end() and not 0.
3868 (insertRow): change to take a RowList::iterator as arg, adjust
3870 (insertParagraph): change to take a RowList::iterator as arg,
3872 (redoParagraphs): remove some debug msgs.
3874 * text.C (appendParagraph): change to take a RowList::iterator
3875 arg, adjust for this.
3876 (breakAgain): add an assert
3877 (breakAgainOneRow): ditto
3879 2003-03-29 John Levon <levon@movementarian.org>
3881 * text2.C: do not clear selection after inc/decDepth
3884 2003-03-29 John Levon <levon@movementarian.org>
3887 * buffer.C: fix broken strerrors according to Lars
3889 2003-03-29 John Levon <levon@movementarian.org>
3891 * converters.C: more Alert cleanups
3893 2003-03-29 John Levon <levon@movementarian.org>
3895 * bufferview_funcs.C: remove pointless Alert
3897 * buffer.C: fix confusing error message when
3898 a template is chmoded 000
3900 2003-03-29 John Levon <levon@movementarian.org>
3904 * BufferView_pimpl.C: Alert fixes
3908 * tabular-old.C: remove unused table compat reading
3910 2003-03-29 John Levon <levon@movementarian.org>
3915 * lyx_cb.C: more Alert cleanups
3917 * lyxfunc.C: don't allow chktex if not latex document
3919 2003-03-29 John Levon <levon@movementarian.org>
3923 * buffer.C: warnings pushed down from support/,
3926 2003-03-29 John Levon <levon@movementarian.org>
3928 * lyxfunc.C: safety check for C-r (revert)
3930 2003-03-29 John Levon <levon@movementarian.org>
3933 * bufferlist.C: several UI fixes using Alert::prompt.
3934 Fix the pointless looping quit code. Fix stupid revert
3939 * lyx_cb.C: use Alert::prompt
3941 * lyx_main.C: remove a silly question
3943 * lyxfunc.C: remove a couple of silly questions,
3946 2003-03-28 John Levon <levon@movementarian.org>
3948 * text2.C: fix bug 974 (End on empty par)
3950 2003-03-28 John Levon <levon@movementarian.org>
3952 * BufferView_pimpl.C:
3954 * lfuns.h: remove do-nothing math greek lfuns
3956 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3958 * lyxgluelength.h (isValidGlueLength): add default arg on
3959 parameter 2. Remove default arg from friend in class.
3961 * lyxlength.h (isValidLength): add default arg on parameter 2.
3962 Remove default arg from friend in class.
3964 * text2.C (LyXText): adjust, initialize refresh_row.
3968 (insertParagraph): adjst
3969 (redoParagraphs): adjust
3970 (fullRebreak): adjust
3971 (updateCounters): adjust
3972 (deleteEmptyParagraphMechanism): first attempt at fixing a
3975 * text.C (top_y): adjust
3976 (setHeightOfRow): adjust
3978 (getRowNearY): adjust
3980 * lyxtext.h: include RowList.h
3981 (~LyXText): not needed anymore, deleted.
3982 (firstRow): modify for RowList
3983 (lastRow): new function
3984 Delete firstrow and lastrow class variables, add a Rowlist
3985 rowlist_ class variable.
3987 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3990 * RowList.C (insert): fix case where it == begin().
3992 2003-03-26 Angus Leeming <leeming@lyx.org>
3994 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3995 the thesaurus dialog.
3997 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3999 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4001 * RowList.[Ch]: new files
4003 * ParagraphList.C (erase): handle the case where it == begin
4006 2003-03-25 John Levon <levon@movementarian.org>
4010 * aspell.C: add new aspell support
4013 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4016 2003-03-25 Angus Leeming <leeming@lyx.org>
4019 * LyXAction.C (init): new LFUN_INSET_INSERT.
4021 * BufferView_pimpl.C (dispatch): split out part of the
4022 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4024 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4027 2003-03-25 Angus Leeming <leeming@lyx.org>
4029 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4031 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4034 * text3.C: remove useless row->height(0)
4036 2003-03-25 John Levon <levon@movementarian.org>
4040 * text3.C: rename the refreshing stuff to better names
4042 2003-03-24 John Levon <levon@movementarian.org>
4044 * BufferView_pimpl.h:
4045 * BufferView_pimpl.C: update layout choice on a mouse
4048 2003-03-23 John Levon <levon@movementarian.org>
4050 * Makefile.am: fix commandtags.h reference
4052 2003-03-22 John Levon <levon@movementarian.org>
4054 * BufferView_pimpl.C:
4059 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4061 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4064 * text.C: take the rtl methods out of line
4066 2003-03-21 André Pönitz <poenitz@gmx.net>
4068 * metricsinfo.[Ch]: new files containing structures to be passed around
4069 during the two-phase-drawing...
4071 2003-03-21 André Pönitz <poenitz@gmx.net>
4073 * lyxtextclass.C: read 'environment' tag.
4075 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4077 * text2.C (removeRow): fix bug 964
4079 2003-03-20 John Levon <levon@movementarian.org>
4083 * text2.C: paint cleanups. Inset::update() dropped font
4086 2003-03-19 John Levon <levon@movementarian.org>
4088 * lyxfunc.C: only fitcursor/markDirty if available()
4090 2003-03-19 John Levon <levon@movementarian.org>
4092 * commandtags.h: rename to ...
4094 * lfuns.h: ... this, and renumber / cleanup
4096 2003-03-19 John Levon <levon@movementarian.org>
4098 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4099 fit the cursor after an lfun
4103 * BufferView_pimpl.h:
4104 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4106 * LyXAction.C: layout-character should have ReadOnly
4108 * ParagraphParameters.C:
4110 * bufferview_funcs.C:
4117 * undo_funcs.C: changes from above
4119 2003-03-18 John Levon <levon@movementarian.org>
4121 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4122 remove it from update()
4124 * lyxfunc.C: update layout choice after an lfun
4126 * text3.C: remove extra updateLayoutChoice()s
4128 2003-03-18 John Levon <levon@movementarian.org>
4130 * text.C: top_y change means full repaint, fix
4131 a drawing bug with cursor movement
4133 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4137 * text2.C: anchor row on setCursor
4139 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4141 * lyxtext.h: remove almost all mutable keywords
4144 * text3.C: remove const keywords accordingly
4146 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4148 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4150 (TeXEnvironment): ditto
4153 2003-03-17 John Levon <levon@movementarian.org>
4155 * text.C (rowBreakPoint): remove attempt to fix displayed
4156 math insets inside a manual label
4158 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4160 * lyxtext.h: remove BufferView* as first arg from almost all class
4162 * other files: adjust.
4164 2003-03-17 John Levon <levon@movementarian.org>
4168 * text2.C: more paint cleanups
4170 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4173 * rowpainter.C: remove "smart" background painting code
4175 2003-03-16 John Levon <levon@movementarian.org>
4180 * text3.C: add helper functions for setting refresh_row/y
4182 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4184 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4185 newline inset which *can* get inserted in the pass_thru layouts.
4186 This is primarily for literate documents.
4188 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4190 * buffer.C: increment LYX_FORMAT to 223
4192 2003-03-14 André Pönitz <poenitz@gmx.net>
4194 * textclass.h: prepare for environment handling, ws changes
4195 * lyxlayout.C: read latexheader and latexfooter tags
4197 2003-03-14 John Levon <levon@movementarian.org>
4199 * text2.C: rewrite ::status() a bit
4201 2003-03-13 John Levon <levon@movementarian.org>
4203 * lyxtext.h: add some docs
4205 2003-03-13 John Levon <levon@movementarian.org>
4210 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4212 2003-03-13 John Levon <levon@movementarian.org>
4214 * text3.C: fix appendix redrawing
4216 2003-03-13 John Levon <levon@movementarian.org>
4218 * text.C (setHeightOfRow):
4220 * rowpainter.C: make appendix mark have the text
4221 "Appendix" so the user knows what it is
4224 * LColor.C: s/appendixline/appendix/ from above
4226 2003-03-13 John Levon <levon@movementarian.org>
4228 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4230 * text.C: fix a getChar(pos) bug properly
4232 2003-03-13 Angus Leeming <leeming@lyx.org>
4235 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4236 Probably only temporary. Let's see how things pan out.
4238 * BufferView.C (unlockInset):
4239 * BufferView_pimpl.C (fitCursor):
4240 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4242 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4243 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4245 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4246 new functions that convert ParagraphParameters to and from a string.
4248 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4249 BufferView::Pimpl's dispatch.
4250 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4252 2003-03-13 André Pönitz <poenitz@gmx.net>
4256 * factory.C: make it aware of InsetEnv
4258 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4260 * text2.C (setCursor): never ask for one past last
4261 (setCursor): add some debugging messages.
4263 * text.C (singleWidth): never ask for one past last
4264 (singleWidth): ditto
4266 (rightMargin): ditto
4267 (rowBreakPoint): ditto
4268 (setHeightOfRow): ditto
4269 (prepareToPrint): ditto
4271 * rowpainter.C (paintBackground): never ask for one past last
4272 (paintText): never ask for one past last
4274 * paragraph_pimpl.C (getChar): make the assert stricter, never
4275 allow the one past last pos to be taken
4277 * paragraph.C (getChar): ws changes only
4279 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4280 (numberOfSeparators): ditto
4281 (numberOfHfills): ditto
4283 2003-03-12 John Levon <levon@movementarian.org>
4289 * paragraph_funcs.C: fix per-buffer authorlists
4291 2003-03-12 John Levon <levon@movementarian.org>
4293 * text.C: fix newline in right address
4295 2003-03-12 Angus Leeming <leeming@lyx.org>
4297 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4298 duplicate those in LyXFunc::dispatch.
4302 * ToolbarDefaults.C:
4303 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4304 Add LFUN_FONTFREE_UPDATE.
4306 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4307 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4309 * bufferview_func.[Ch]: several new functions to facilliate
4310 transfer of data to and from the character dialog.
4312 2003-03-12 John Levon <levon@movementarian.org>
4317 * paragraph_funcs.C:
4318 * paragraph_pimpl.C:
4322 * text3.C: remove META_NEWLINE in favour of an inset
4325 * rowpainter.C: remove paintNewline (done by inset)
4327 2003-03-12 John Levon <levon@movementarian.org>
4329 * paragraph_pimpl.C: complain about bad getChar()s
4330 for a while at least
4332 2003-03-12 John Levon <levon@movementarian.org>
4335 * buffer.C: move paragraph read into a separate function,
4336 a little renaming to reflect that.
4339 * bufferparams.C: remove the author_ids map, not necessary now
4342 * factory.C: moved Buffer::readInset to here
4344 * paragraph_funcs.h:
4345 * paragraph_funcs.C: readParagraph free function moved from
4348 * tabular.C: name change
4350 2003-03-12 John Levon <levon@movementarian.org>
4353 * ParagraphParameters.C: move par params input to
4356 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4357 behave like a normal read from the stream wrt reading
4358 a line vs. a \\token
4360 2003-03-12 John Levon <levon@movementarian.org>
4363 * ParagraphParameters.h:
4364 * ParagraphParameters.C: move output code to a
4367 2003-03-12 John Levon <levon@movementarian.org>
4369 * BufferView.C (insertLyXFile):
4372 * tabular.C: use a parlist iterator for creating the
4375 2003-03-12 John Levon <levon@movementarian.org>
4377 * buffer.C: make current_change static local not
4380 2003-03-12 John Levon <levon@movementarian.org>
4382 * buffer.C: fix insertStringAsLines for change tracking
4384 2003-03-12 John Levon <levon@movementarian.org>
4391 * bufferparams.C: move author list into params. Rename some
4392 functions. Move the header reading into a separate token
4393 loop. Move the header token reading into BufferParams.
4395 2003-03-12 John Levon <levon@movementarian.org>
4397 * changes.C: put debug inside lyxerr.debugging() checks
4399 2003-03-11 André Pönitz <poenitz@gmx.net>
4401 * factory.C: make it aware of InsetHFill
4403 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4405 * buffer.C (latexParagraphs): move function from here...
4406 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4409 2003-03-10 Angus Leeming <leeming@lyx.org>
4411 * LyXAction.C (init): fix bug in poplating array with multiple entries
4412 with the same LFUN (spotted by JMarc).
4414 2003-03-10 John Levon <levon@movementarian.org>
4417 * text2.C: move getColumnNearX() near its
4420 2003-03-10 John Levon <levon@movementarian.org>
4422 * text.C: fix break before a minipage
4424 2003-03-10 John Levon <levon@movementarian.org>
4426 * text.C: fix the last commit
4428 2003-03-09 John Levon <levon@movementarian.org>
4432 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4433 bug 365 (don't break before insets unless needed). Don't
4434 return a value > last under any circumstances.
4436 2003-03-09 Angus Leeming <leeming@lyx.org>
4438 * BufferView_pimpl.C (trackChanges, dispatch): call
4439 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4441 2003-03-09 Angus Leeming <leeming@lyx.org>
4443 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4444 than Dialogs::showAboutlyx().
4446 2003-03-09 Angus Leeming <leeming@lyx.org>
4448 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4449 than Dialogs::showTabularCreate().
4451 2003-03-09 John Levon <levon@movementarian.org>
4455 * text2.C: 3rd arg to nextBreakPoint was always the same.
4458 2003-03-08 John Levon <levon@movementarian.org>
4465 * text2.C: Remove the "main" bit from the "main body"
4468 2003-03-08 John Levon <levon@movementarian.org>
4470 * text.C (leftMargin): The left margin of an empty
4471 manual label paragraph should not include the label width
4474 * text.C (prepareToPrint): don't attempt to measure hfills
4475 for empty manual label paragraphs - the answer should be 0
4477 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4479 * CutAndPaste.C: remove commented code and reindent.
4481 2003-03-08 John Levon <levon@movementarian.org>
4484 * lyxfunc.C: move reloadBuffer()
4487 * BufferView.C: to here
4489 * lyxvc.C: add comment
4492 * vc-backend.C: call bv->reload() to avoid
4493 getStatus() check on MENURELOAD
4495 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4497 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4498 to an old format .dep file.
4500 2003-03-07 Angus Leeming <leeming@lyx.org>
4502 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4503 when the LFUN_MOUSE_RELEASE should have been handled by
4504 inset->localDispatch.
4506 2003-03-07 Angus Leeming <leeming@lyx.org>
4508 * BufferView_pimpl.C (dispatch):
4509 * LyXAction.C (init):
4510 * ToolbarDefaults.C (init):
4512 * lyxfunc.C (getStatus):
4513 remove LFUN_INSET_GRAPHICS.
4515 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4517 2003-03-07 Angus Leeming <leeming@lyx.org>
4520 * LyXAction.C (init):
4521 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4523 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4526 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4528 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4529 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4531 2003-03-07 Angus Leeming <leeming@lyx.org>
4533 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4536 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * ParagraphList.C (front): new function
4541 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4543 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4544 and top_row_offset_. removed var first_y.
4546 * text2.C (LyXText, removeRow):
4548 * BufferView_pimpl.C:
4549 use these methods instead of using first_y
4551 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4553 * text2.C (pasteSelection): adjust for checkPastePossible
4555 * CutAndPaste.C: remove Paragraph * buf and replace with
4556 ParagraphList paragraphs.
4557 (DeleteBuffer): delete
4558 (cutSelection): change the tc type to textclass_type
4559 (copySelection): change the tc type to textclass_type
4560 (copySelection): adjust for ParagraphList
4561 (pasteSelection): change the tc type to textclass_type
4562 (pasteSelection): adjust for Paragraphlist
4563 (nrOfParagraphs): simplify for ParagraphList
4564 (checkPastePossible): simplify for ParagraphList
4565 (checkPastePossible): remove unused arg
4567 * ParagraphList.C (insert): handle the case where there are no
4570 * CutAndPaste.h: make CutAndPaste a namespace.
4572 * text3.C (dispatch): adjust
4574 * text.C (breakParagraph): add a ParagraphList as arg
4576 * paragraph_funcs.C (breakParagraph): change to take a
4577 BufferParams and a ParagraphList as args.
4578 (breakParagraphConservative): ditto
4579 (mergeParagraph): ditto
4580 (TeXDeeper): add a ParagraphList arg
4581 (TeXEnvironment): ditto
4584 * buffer.C (readLyXformat2): adjust
4585 (insertStringAsLines): adjust
4586 (latexParagraphs): adjust
4588 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4589 (cutSelection): adjust
4590 (pasteSelection): adjust
4592 * BufferView_pimpl.C (insertInset): adjust
4594 2003-03-05 Angus Leeming <leeming@lyx.org>
4597 * LyXAction.C (init):
4598 * BufferView_pimpl.C (dispatch):
4599 * lyxfunc.C (getStatus):
4600 remove LFUN_CHILD_INSERT.
4602 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4604 2003-03-05 Angus Leeming <leeming@lyx.org>
4607 * LyXAction.C (init):
4608 * src/factory.C (createInset):
4609 * lyxfunc.C (getStatus):
4610 * text3.C (dispatch):
4611 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4613 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4615 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4617 * ParagraphList.C (insert): handle insert right before end()
4618 (erase): fix cases where it can be first or last paragraph.
4620 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4623 Paragraph::next and Paragraph::previous
4626 * text.C (breakParagraph): adjust
4628 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4629 BufferParams& as arg.
4630 (breakParagraph): use ParagraphList::insert
4631 (breakParagraphConservative): take a Buffer* instead of a
4632 BufferParams& as arg.
4633 (breakParagraphConservative): use ParagraphList::insert.
4635 * buffer.C (insertStringAsLines): un-const it
4636 (insertStringAsLines): adjust
4638 * ParagraphList.C (insert): new function
4640 * CutAndPaste.C (pasteSelection): adjust
4642 * text.C (backspace): adjust
4644 * tabular.C (SetMultiColumn): adjust
4646 * CutAndPaste.C (cutSelection): adjust
4647 (pasteSelection): adjust
4649 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4650 Buffer const * as arg
4652 * ParagraphList.C (erase): new function
4653 * paragraph_funcs.C (mergeParagraph): use it
4654 (mergeParagraph): make it take a Buffer* instead of a
4655 BufferParams* as arg
4657 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4659 (breakParagraphConservative): ditto
4661 * paragraph.h: remove the breakParagraph friend
4663 * paragraph.C (eraseIntern): new function
4664 (setChange): new function
4666 * paragraph_funcs.C (mergeParagraph): make it take a
4667 ParagraphList::iterator instead of a Paragraph *, adjust
4670 * paragraph.h: move an #endif so that the change tracking stuff
4671 also works in the NO_NEXT case.
4673 2003-03-04 Angus Leeming <leeming@lyx.org>
4676 * LyXAction.C: new LFUN_INSET_MODIFY.
4678 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4679 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4681 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4683 * several files: ws changes only
4685 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4686 (TeXEnvironment): ditto
4689 * buffer.C (makeLaTeXFile): adjust
4690 (latexParagraphs): make it take ParagraphList::iterator as args
4692 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4694 * buffer.C (latexParagraphs): adjust
4696 * paragraph.C (TeXOnePar): move function...
4697 (optArgInset): move function...
4698 (TeXEnvironment): move function...
4699 * paragraph_pimpl.C (TeXDeeper): move function...
4700 * paragraph_funcs.C: ...here
4702 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4704 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4706 * buffer.C (readInset): remove compability code for old Figure and
4709 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4711 * buffer.C: ws changes
4714 * BufferView_pimpl.C: ditto
4717 * bufferlist.h: ditto
4721 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4723 * converter.[Ch]: split into itself +
4726 * Makefile.am: += graph.[Ch] + format.[Ch]
4733 * lyxrc.C: added #include "format.h"
4735 2003-02-27 Angus Leeming <leeming@lyx.org>
4737 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4740 * factory.C (createInset): add "label" to the factory.
4742 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4743 string and do no more.
4745 2003-02-27 Angus Leeming <leeming@lyx.org>
4748 * LyXAction.C (init):
4749 * factory.C (createInset):
4750 * BufferView_pimpl.C (dispatch):
4751 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4753 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4755 * lyxfunc.C (dispatch):
4756 * text3.C (dispatch): pass name to params2string.
4758 2003-02-26 Angus Leeming <leeming@lyx.org>
4760 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4762 Rearrange the ~includes. Strip out the unnecessary ones.
4764 * factory.C (createInset): reformat.
4765 create new insets for the various LFUN_XYZ_APPLY lfuns.
4767 2003-02-26 John Levon <levon@movementarian.org>
4770 * lyxrow.C: add isParStart,isParEnd helpers
4772 * paragraph.h: make isInserted/DeletedText take refs
4774 * paragraph_funcs.h:
4775 * paragraph_funcs.C: remove #if 0'd code
4780 * text.C: use lyxrow helpers above.
4781 Move draw and paint routines to RowPainter.
4782 Make several methods use refs not pointers.
4783 Make backgroundColor() const.
4784 Add markChangeInDraw(), isInInset().
4785 Merge changeRegionCase into changeCase.
4786 Make workWidth() shouldn't-happen code into an Assert.
4789 * rowpainter.C: new class for painting a row.
4792 * vspace.C: make inPixels take a ref
4794 2003-02-26 Angus Leeming <leeming@lyx.org>
4796 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4799 2003-02-25 John Levon <levon@movementarian.org>
4801 * ispell.C: give the forked command a more accurate name
4803 2003-02-22 John Levon <levon@movementarian.org>
4806 * toc.C: make TocItem store an id not a Paragraph *
4809 2003-02-21 Angus Leeming <leeming@lyx.org>
4811 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4812 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4813 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4814 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4815 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4816 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4818 * BufferView_pimpl.C (dispatch):
4819 * LyXAction.C (init):
4820 * factory.C (createInset):
4821 * lyxfunc.C (getStatus, dispatch):
4822 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4824 2003-02-21 Angus Leeming <leeming@lyx.org>
4826 * BufferView_pimpl.C (MenuInsertLyXFile):
4827 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4828 * lyxfunc.C (menuNew, open, doImport):
4829 no longer pass a LyXView & to fileDlg.
4831 2003-02-21 Angus Leeming <leeming@lyx.org>
4833 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4834 * LyXAction.C: change, BIBKEY to BIBITEM.
4835 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4836 Change InsetBibKey to InsetBibitem.
4837 Change BIBKEY_CODE to BIBITEM_CODE.
4838 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4839 * factory.C: replace insetbib.h with insetbibitem.h.
4840 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4841 * paragraph.C: replace insetbib.h with insetbibitem.h.
4842 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4843 Change bibkey() to bibitem().
4844 * text.C: remove insetbib.h.
4845 * text2.C: replace insetbib.h with insetbibitem.h.
4846 change bibkey() to bibitem().
4847 * text3.C: remove insetbib.h.
4848 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4850 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4852 * lyxrc.C (output): enclose user email in quotes (in case there are
4855 2003-02-18 John Levon <levon@movementarian.org>
4857 * buffer.h: add std::
4859 2003-02-17 John Levon <levon@movementarian.org>
4865 * pspell.C: reworking. Especially in ispell, a large
4866 number of clean ups and bug fixes.
4868 * lyxfunc.C: fix revert to behave sensibly
4870 2003-02-17 André Pönitz <poenitz@gmx.net>
4873 * commandtags.h: new LFUN_INSERT_BIBKEY
4883 * paragraph_func.C: remove special bibkey handling
4885 2003-02-17 John Levon <levon@movementarian.org>
4887 * text.C (Delete): fix case where delete at the end of
4888 the very first paragraph would not merge the pars
4890 2003-02-17 John Levon <levon@movementarian.org>
4892 * lyxrow.C: fix lastPrintablePos()
4894 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4896 * bufferparams.C (writeLaTeX): add a std:here
4898 * buffer.C: and remove a using directive there
4900 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4902 * buffer.C (makeLaTeXFile): move the code that generates the
4905 * bufferparams.C (writeLaTeX): ... in this new method
4907 * LaTeXFeatures.C (getEncodingSet): make const
4908 (getLanguages): make const
4910 * MenuBackend.C (binding): returns the binding associated to this
4912 (add): sets the status of each item by calling getStatus. Adds
4914 (read): add support for OptSubMenu
4915 (expand): remove extra separator at the end of expanded menu
4917 2003-02-15 John Levon <levon@movementarian.org>
4920 * BufferView_pimpl.C:
4922 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4923 inset code that had no actual effect. Remove unneeded status
4926 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4928 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4931 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4933 * text.C (drawLengthMarker): also draw an arrow marker for
4934 symbolic lengths (medskip...)
4936 2003-02-14 John Levon <levon@movementarian.org>
4939 * tabular.C: better method names
4941 2003-02-14 John Levon <levon@movementarian.org>
4943 * BufferView_pimpl.C:
4948 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4949 it's a more accurate name. Remove some pointless uses.
4951 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4953 * text2.C (LyXText): change order of initilizers to shut off
4956 2003-02-14 John Levon <levon@movementarian.org>
4958 * buffer.C: use ParIterator for getParFromID()
4962 * paragraph_pimpl.h:
4963 * paragraph_pimpl.C: remove unused getParFromID()
4965 2003-02-14 John Levon <levon@movementarian.org>
4967 * buffer.C: remove some very old #if 0'd parse code
4969 2003-02-13 John Levon <levon@movementarian.org>
4973 * text2.C: move hfillExpansion(), numberOfSeparators(),
4974 rowLast(), rowLastPrintable(), numberofHfills(),
4975 numberOfLabelHfills() ...
4978 * lyxrow.C: ... to member functions here.
4983 * text.C: remove LyXText::beginningOfMainBody(), and call
4984 p->beginningOfMainBody() directly. Move the check for
4985 LABEL_MANUAL into the latter.
4992 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4998 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4999 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5001 2003-02-13 John Levon <levon@movementarian.org>
5003 * CutAndPaste.C: remove debug
5005 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5007 * paragraph.C (asString): remove two unused variables
5009 * lyxtextclass.C (readTitleType):
5011 (LyXTextClass): handle new members titletype_ and titlename_
5013 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5015 2003-02-09 John Levon <levon@movementarian.org>
5018 * buffer.C: replace hand-coded list with a map for the dep clean
5020 2003-02-08 John Levon <levon@movementarian.org>
5022 * LaTeX.C: consolidate code into showRunMessage() helper
5024 2003-02-08 John Levon <levon@movementarian.org>
5029 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5030 and pass the size in explicitly
5032 * BufferView_pimpl.h:
5033 * BufferView_pimpl.C:
5035 * BufferView.C: add getCurrentChange()
5037 * BufferView_pimpl.h:
5038 * BufferView_pimpl.C: handle change lfuns
5040 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5041 for changes. Mark pasted paragraphs as new.
5043 * support/lyxtime.h:
5044 * support/lyxtime.C:
5045 * DepTable.C: abstract time_t as lyx::time_type
5048 * LColor.C: add colours for new text, deleted text, changebars
5050 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5051 package use "usenames" option.
5055 * LyXAction.C: add change lfuns
5059 * author.C: author handling
5062 * buffer.C: add a per-buffer author list, with first entry as
5063 current author. Handle new .lyx tokens for change tracking. Output
5064 author list to .lyx file. Output dvipost stuff to .tex preamble.
5065 Bump lyx format to 222.
5068 * bufferlist.C: add setCurrentAuthor() to reset current author details
5072 * bufferparams.C: add param for tracking
5074 * bufferview_funcs.C: output change info in minibuffer
5078 * changes.C: add change-tracking structure
5081 * debug.C: add CHANGES debug flag
5084 * lyxfind.C: add code for finding the next change piece
5087 * lyxrc.C: add user_name and user_email
5090 * lyxrow.C: add a metric for the top of the text line
5093 * text.C: implement accept/rejectChange()
5096 * text.C: paint changebars. Paint new/deleted text in the chosen
5097 colours. Strike through deleted text.
5101 * paragraph_pimpl.h:
5102 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5103 in the current change to the insert functions. Rework erase to
5104 mark text as deleted, adding an eraseIntern() and a range-based
5105 erase(). Implement per-paragraph change lookup and
5108 * paragraph_funcs.C: Fixup paste for change tracking.
5110 * tabular.C: mark added row/columns as new.
5112 * text.C: fix rowLast() to never return -1. Don't allow
5113 spellchecking of deleted text. Track transpose changes. Don't
5114 allow paragraph break or merge where appropriate.
5116 * text2.C: leave cursor at end of selection after a cut.
5118 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5120 * text.C (getLengthMarkerHeight):
5121 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5122 visible on screen too.
5124 2003-02-07 John Levon <levon@movementarian.org>
5126 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5128 2003-02-05 Angus Leeming <leeming@lyx.org>
5130 * lyxserver.C (read_ready): revert my patch of 11 September last year
5131 as it sends PC cpu through the roof. Presumably this means that
5132 the lyxserver will no longer run on an Alpha...
5134 2003-01-30 Angus Leeming <leeming@lyx.org>
5136 * factory.C (createInset): create an InsetCommandParam of type "index"
5137 and use it to 'do the right thing'.
5139 * text2.C (getStringToIndex): ensure that cursor position is always
5140 reset to the reset_cursor position.
5142 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5144 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5147 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5151 * lyxfunc.C: Output messages with identical spelling, punctuation,
5154 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5156 * MenuBackend.C (expandFormats): List only viewable export formats
5159 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5162 * lyxfunc.C (getStatus): Make sure that formats other than
5163 "fax" can also be disabled
5165 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5167 * text3.C (dispatch): put the lfuns that insert insets in 3
5168 groups, and call doInsertInset with appropriate arguments.
5169 (doInsertInset): new function, that creates an inset and inserts
5170 it according to some boolean parameters.
5172 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * buffer.C (readFile): remember to pass on 'par' when calling
5175 readFile recursively.
5177 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5179 * MenuBackend.C (expandFormats): add "..." to import formats.
5181 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5183 * paragraph.C (asString): Remove XForms RTL hacks.
5185 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5186 * buffer.C: fix typo
5188 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5190 * Makefile.am (LIBS): delete var
5191 (lyx_LDADD): add @LIBS@ here instead.
5193 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5195 * Clarify the meaning of "wheel mouse jump"
5197 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5199 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5202 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5204 * importer.C (Loaders): do not preallocate 3 elements in the
5205 vector, since one ends up with 6 elements otherwise
5207 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5209 * DepTable.C (write): write the file name as last element of the
5210 .dep file (because it may contain spaces)
5211 (read): read info in the right order
5213 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5215 * paragraph_pimpl.C (simpleTeXBlanks):
5216 (simpleTeXSpecialChars):
5217 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5219 * tabular.C (latex): add some missing case statements. Reindent.
5221 * MenuBackend.C (expandToc): remove unused variable.
5223 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5232 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5235 2003-01-05 John Levon <levon@movementarian.org>
5238 * BufferView.C: add getEncoding()
5241 * kbsequence.C: do not store last keypress
5244 * lyxfunc.C: store last keypress here instead. Pass encoding
5247 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5249 * lyx_main.C (init): remove annoying error message when following
5250 symbolic links (bug #780)
5252 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5254 * text.C (insertChar):
5255 * lyxrc.C (getDescription): remove extra spaces
5257 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5259 * lyxrc.C (getDescription): remove extra spaces
5261 2002-12-20 John Levon <levon@movementarian.org>
5263 * text3.C: hack fix for page up/down across tall rows
5265 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5267 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5270 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5272 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5273 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5274 thesaurus is not compiled in
5276 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5278 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5280 2002-12-16 Angus Leeming <leeming@lyx.org>
5283 * lyx_main.C (init): remove override_x_deadkeys stuff.
5285 2002-12-12 John Levon <levon@movementarian.org>
5287 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5288 insert. Only remove shift modifier under strict
5291 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * MenuBackend.C (expandToc): fix crash.
5295 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5297 * MenuBackend.C (expandToc): gettext on float names.
5299 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5301 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5302 implement bool empty() [bug 490]
5304 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5306 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5308 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5310 * several files: ws changes
5312 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5314 * text2.C (setCounter): clean up a bit, use boost.format.
5315 (updateCounters): initialize par upon declaration.
5317 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5318 if the layout exists. We do not just store the layout any more.
5319 (SwitchLayoutsBetweenClasses): use boost.format
5321 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5323 * converter.C (convert): if from and to files are the same, use a
5324 temporary files as intermediary
5326 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5329 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5331 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5333 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5335 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5337 * tabular.C (asciiPrintCell): use string(size, char) instead of
5340 * sgml.C (openTag): fix order of arguments to string constructor
5343 * lyxfunc.C (dispatch): use boost.format
5345 * lots of files: change "c" -> 'c'
5347 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5349 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5351 2002-11-25 Angus Leeming <leeming@lyx.org>
5353 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5355 * lyx_main.C (init): compile fix.
5357 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5359 * lyx_cb.C (start): boost.formatify
5360 do not include <iostream>
5362 * lengthcommon.C: ws only
5364 * boost-inst.C,BoostFormat.h: add more explict instantations
5366 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * lots of files: handle USE_BOOST_FORMAT
5370 2002-11-21 John Levon <levon@movementarian.org>
5372 * pspell.C: fix compile
5374 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5376 * lyxfunc.C (dispatch): use boost::format
5380 * lyxfont.C (stateText): use boost::format
5382 * lyx_main.C (LyX): use boost::format
5384 (queryUserLyXDir): ditto
5387 (typedef boost::function): use the recommened syntax.
5389 * importer.C (Import): use boost::format
5391 * debug.C (showLevel): use boost::format
5393 * converter.C (view): use boost::format
5398 * bufferview_funcs.C (currentState): use boost::format
5400 * bufferlist.C (emergencyWrite): use boost::format
5402 * buffer.C (readLyXformat2): use boost::format
5403 (parseSingleLyXformat2Token): ditto
5405 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5407 * LaTeX.C (run): use boost::format
5409 * Chktex.C (scanLogFile): use boost::format
5411 * BufferView_pimpl.C (savePosition): use boost::format
5412 (restorePosition): ditto
5413 (MenuInsertLyXFile): ditto
5415 * BoostFormat.h: help file for explicit instation.
5417 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5419 * tabular.C (latex): Support for block alignment in fixed width
5422 2002-11-17 John Levon <levon@movementarian.org>
5424 * BufferView_pimpl.C:
5426 * lyxfunc.C: split filedialog into open/save
5428 2002-11-08 Juergen Vigna <jug@sad.it>
5430 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5431 by my last patch (hopefully).
5433 2002-11-08 John Levon <levon@movementarian.org>
5442 * toc.C: ParConstIterator, and use it (from Lars)
5444 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5446 * lyxtextclass.[Ch]: revise and add doxygen comments
5448 2002-11-07 John Levon <levon@movementarian.org>
5450 * text.C: fix progress value for spellchecker
5452 * toc.C: fix navigate menu for insetwrap inside minipage
5454 * paragraph_funcs.C: added FIXME for suspect code
5456 2002-11-07 John Levon <levon@movementarian.org>
5458 * BufferView_pimpl.C: fix redrawing of insets
5461 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5463 * text2.C (updateCounters): fix bug 668
5465 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5467 * text3.C (dispatch): Do not make the buffer dirty when moving the
5470 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5472 * vc-backend.C: STRCONV
5475 * text2.C (setCounter): STRCONV
5477 * paragraph.C (asString): STRCONV
5479 * lyxlength.C (asString): STRCONV
5480 (asLatexString): ditto
5482 * lyxgluelength.C (asString): STRCONV
5483 (asLatexString): ditto
5485 * lyxfunc.C (dispatch): STRCONV
5488 * lyxfont.C (stateText): STRCONV
5490 * importer.C (Import): STRCONV
5492 * counters.C (labelItem): STRCONV
5493 (numberLabel): ditto
5494 (numberLabel): remove unused ostringstream o
5499 * bufferview_funcs.C (currentState): STRCONV
5501 * buffer.C (readFile): STRCONV
5502 (asciiParagraph): ditto
5503 (makeLaTeXFile): ditto
5505 * Spacing.C (writeEnvirBegin): STRCONV
5507 * LaTeXFeatures.C (getLanguages): STRCONV
5508 (getPackages): ditto
5510 (getBabelOptions): ditto
5511 (getTClassPreamble): ditto
5512 (getLyXSGMLEntities): ditto
5513 (getIncludedFiles): ditto
5517 (scanAuxFile): ditto
5520 * LString.h: add the STRCONV macros
5522 * BufferView_pimpl.C (savePosition): STRCONV
5523 (restorePosition): ditto
5524 (MenuInsertLyXFile): ditto
5526 * vc-backend.C (scanMaster): change from submatch[...] to
5529 * funcrequest.C: include config.h
5531 * factory.C: include config.h
5533 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5535 * box.C: include config.h
5537 * LaTeX.C (scanAuxFile): change from submatch[...] to
5541 2002-10-25 Angus Leeming <leeming@lyx.org>
5543 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5545 * ispell.[Ch] (setError): new method.
5546 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5547 Use setError() insetead of goto END.
5549 * lyx_cb.C (AutoSave): move out child process into new class
5552 2002-10-30 John Levon <levon@movementarian.org>
5554 * text3.C: make start appendix undoable
5556 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5558 * lyxlength.C (inPixels): Fix returned value.
5560 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5563 2002-10-24 Angus Leeming <leeming@lyx.org>
5565 * lyxgluelength.h: no need to forward declare BufferParams
5566 or BufferView, so don't.
5568 2002-10-21 John Levon <levon@movementarian.org>
5570 * BufferView.C: menuUndo ->undo, redo
5572 * BufferView.h: document, remove dead, make some methods private
5574 * paragraph_funcs.h:
5575 * paragraph_funcs.C:
5576 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5581 * sgml.C: move sgml open/close tag into sgml.C
5583 * bufferview_funcs.h: unused prototype
5586 * lyxfunc.C: remove unused
5589 * text.C: remove unused
5591 2002-10-21 John Levon <levon@movementarian.org>
5595 * BufferView_pimpl.h:
5596 * BufferView_pimpl.C: fix mouse wheel handling based on
5597 patch from Darren Freeman
5599 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5601 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5603 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5605 * lyxlength.C (inPixels): Fix hanfling of negative length.
5606 Fix LyXLength::MU case.
5608 2002-10-16 John Levon <levon@movementarian.org>
5610 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5612 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5614 * converter.C (view): add support for $$i (file name) and $$p
5615 (file path) for the viewer command. If $$i is not specified, then
5616 it is appended to the command (for compatibility with old syntax)
5618 2002-10-14 Juergen Vigna <jug@sad.it>
5620 * undo_funcs.C (textHandleUndo): alter the order in which the
5621 new undopar is added to the LyXText, as we have to set first
5622 the right prev/next and then add it as otherwise the rebuild of
5623 LyXText is not correct. Also reset the cursor to the right paragraph,
5624 with this IMO we could remove the hack in "redoParagraphs()".
5626 2002-10-09 Angus Leeming <leeming@lyx.org>
5628 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5629 to turn off an optimisation if a new inset is to be inserted.
5631 2002-10-11 André Pönitz <poenitz@gmx.net>
5633 * lyxtext.h: make some functions public to allow access
5634 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5636 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5638 * text3.C (dispatch): when changing layout, avoid an infinite loop
5641 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5643 * lyxrc.C (read): treat a viewer or converter command of "none" as
5646 * MenuBackend.C (expandFormats): for an update, also allow the
5647 formats that are not viewable
5649 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5650 script if it is newer than the lyxrc.defaults in user directory
5652 2002-10-07 André Pönitz <poenitz@gmx.net>
5654 * text.C: Vitaly Lipatov's small i18n fix
5656 2002-09-25 Angus Leeming <leeming@lyx.org>
5658 * ispell.h: doxygen fix.
5660 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5662 * buffer.h (readFile): Add a new argument to the method, to allow
5663 reading of old-format templates.
5665 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5667 * toc.C (getTocList): Get TOC from InsetWrap.
5669 2002-09-16 John Levon <levon@movementarian.org>
5671 * lyxfunc.C: check tabular for cut/copy too
5673 2002-09-12 John Levon <levon@movementarian.org>
5678 * factory.C: add header
5680 * paragraph_funcs.h:
5681 * paragraph_funcs.C: cleanup
5683 2002-09-11 John Levon <levon@movementarian.org>
5685 * PrinterParams.h: odd/even default to true
5687 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5689 * PrinterParams.h: update printer parameters for new xforms dialog
5691 2002-09-11 Angus Leeming <leeming@lyx.org>
5693 * lyxserver.C (read_ready): re-write to make it more transparent
5694 and to make it work in coherent fashion under Tru64 Unix.
5696 2002-09-11 André Pönitz <poenitz@gmx.net>
5700 * text3.C: implement LFUN_WORDSEL
5702 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5704 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5705 make floatlist_ a boost::shared_ptr<FloatList>
5707 * lyxtextclass.C: include FloatList.h
5708 (LyXTextClass): initialize floatlist_
5709 (TextClassTags): add TC_NOFLOAT
5710 (Read): match "nofloat" to TC_NOFLOAT and use it.
5711 (readFloat): modify call to floatlist_
5715 * FloatList.[Ch] (FloatList): remove commented out float
5717 (erase): new function
5719 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5721 * MenuBackend.C (expandToc): fix crash when there is no document
5724 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5726 * many files: Add insetwrap.
5728 2002-09-09 John Levon <levon@movementarian.org>
5730 * text2.C: remove confusing and awkward depth wraparound
5732 2002-09-09 John Levon <levon@movementarian.org>
5734 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5737 * buffer.C: remove getIncludeonlyList()
5740 * lyxfunc.C: remove headers
5742 2002-09-09 Juergen Vigna <jug@sad.it>
5744 * text.C (getColumnNearX): fix form Michael this is most
5745 probably a cut&paste bug.
5747 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5749 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5751 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5752 references, ws changes.
5754 * text2.C (init): update counters after init
5755 (insertParagraph): no need to set counter on idividual paragraphs.
5756 (setCounter): access the counters object in the textclass object
5757 on in the buffer object.
5758 (updateCounters): ditto
5760 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5761 shared_ptr<Counters> to avoid loading counters.h in all
5763 (LyXTextClass): initialize ctrs_
5764 (TextClassTags): add TC_COUNTER, and ...
5765 (Read): use it here.
5766 (CounterTags): new tags
5767 (readCounter): new function
5768 (counters): new funtion
5769 (defaultLayoutName): return a const reference
5771 * counters.C (Counters): remove contructor
5772 (newCounter): remove a couple of unneeded statements.
5773 (newCounter): simplify a bit.
5774 (numberLabel): some small formatting changes.
5776 * buffer.[Ch]: remove all traces of counters, move the Counters
5777 object to the LyXTextClass.
5779 2002-09-06 Alain Castera <castera@in2p3.fr>
5781 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5782 package to set the horizontal alignment on fixed width columns.
5785 * lyx_sty.h: added tabularnewline macro def.
5787 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5789 2002-09-06 John Levon <levon@movementarian.org>
5791 * LyXAction.C: tooltips for sub/superscript
5793 * MenuBackend.C: a bit more verbose
5795 * lyxfunc.C: tiny clean
5797 * undo_funcs.C: document undo_frozen
5799 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5801 * counters.C (Counters): add missing algorithm counter.
5803 * text2.C (setCounter): lookup the counter with layouts latexname
5804 instead of by section number.
5805 (setCounter): use a hackish way to lookup the correct enum
5807 a float name->type change
5808 reset enum couners with counter name directly instead of depth value.
5810 * counters.C (Counters): remove the push_backs, change to use the
5811 float type not the float name.
5812 (labelItem): remove unused string, float name->type change
5814 * counters.h: don't include vector, loose the enums and sects vectors
5816 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5818 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5819 (Read): add float->TC_FLOAT to textclassTags
5820 (Read): and handle it in the switch
5821 (readFloat): new function
5823 * FloatList.C (FloatList): comment out the hardcoded float
5826 * lyxlayout.h: ws change.
5828 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5830 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5832 2002-09-03 Angus Leeming <leeming@lyx.org>
5834 * BufferView_pimpl.h: qualified name is not allowed in member
5835 declaration: WorkArea & Pimpl::workarea() const;
5837 * factory.C: added using std::endl directive.
5839 * text3.C: added using std::find and std::vector directives.
5841 2002-08-29 André Pönitz <poenitz@gmx.net>
5844 * text2.C: remove unused member number_of_rows
5847 * BufferView2.C: remove file, move contents to...
5848 * BufferView.C: ... here
5850 * BufferView_pimpl.C:
5851 * factory.C: move more inset creation to factory
5853 * vspace.C: avoid direct usage of LyXText, ws changes
5856 don't provide direct access to WorkArea, use two simple
5857 acessors haveSelction() and workHeight() instead
5860 2002-08-29 John Levon <levon@movementarian.org>
5862 * BufferView_pimpl.C (dispatch): do not continue when
5865 2002-08-28 André Pönitz <poenitz@gmx.net>
5867 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5870 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5872 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5874 * buffer.C: increment LYX_FORMAT to 221
5876 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5877 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5879 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5881 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5883 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5885 * factory.C (createInset): use LyXTextClass::floats
5887 * MenuBackend.C (expandFloatListInsert):
5888 (expandFloatInsert):
5891 * text2.C (setCounter):
5893 * LaTeXFeatures.C (useFloat):
5894 (getFloatDefinitions):
5896 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5898 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5899 floatlist_, with accessor floats().
5901 * FloatList.h: remove global FloatList
5903 2002-08-26 André Pönitz <poenitz@gmx.net>
5905 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5909 * BufferView_pimpl.C:
5910 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5912 2002-08-25 John Levon <levon@movementarian.org>
5914 * LyXAction.C: fix margin note description
5916 2002-08-24 John Levon <levon@movementarian.org>
5920 * bufferview_funcs.C:
5922 * undo_funcs.C: cleanups
5924 * lyxfunc.C: disable CUT/COPY when no selection
5926 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5928 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5929 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5931 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5932 Add backward compatibility to "mono", "gray" and "no".
5934 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5936 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5937 (and file_format >= 200).
5939 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5941 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5943 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5945 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5947 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5949 * BufferView_pimpl.C:
5956 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5957 inset and code to make it work with the paragraph code. The inset
5958 can be anywhere in the paragraph, but will only do the expected
5959 thing in LaTeX if the layout file contains the parameter line
5961 (or more generally, a nonzero value) for that layout.
5963 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5965 * paragraph.h: remove the declaration of undefined counters class
5968 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5970 * text2.C (setCounter): fixed enumeration mis-count as reported by
5971 Dr. Richard Hawkins.
5973 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5975 * paragraph_funcs.h: remove some unneeded includes
5977 * text.C (backspace): pasteParagraph now in global scipe
5979 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5980 (pasteSelection): ditto
5982 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5983 * paragraph_funcs.C (pasteParagraph): ... here
5985 2002-08-20 André Pönitz <poenitz@gmx.net>
5987 * commandtags.h: new LFUNs for swapping/copying table row/colums
5990 * lyxfunc.C: support for new lfuns
5992 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5995 * buffer.[Ch]: remove NO_COMPABILITY stuff
5997 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5999 * boost.C (throw_exception): new file, with helper function for
6000 boost compiled without exceptions.
6005 * ParameterStruct.h:
6006 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6008 * bufferlist.C (emergencyWriteAll): use boost bind
6010 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6012 * text.C: include paragraph_funcs.h
6013 (breakParagraph): breakParagraph is now in global scope
6015 * paragraph_funcs.[Ch]: new files
6017 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6020 * buffer.C: include paragraph_funcs.h
6021 (insertStringAsLines): breakParagraph is now in global scope
6023 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6026 * CutAndPaste.C: include paragraph_funcs.h
6027 (cutSelection): breakParagraphConservative is now in global scope
6028 (pasteSelection): ditto
6030 * buffer.h: declare oprator== and operator!= for
6031 Buffer::inset_iterator
6033 * bufferlist.C (emergencyWrite): don't use fmt(...)
6035 * text3.C: add using std::endl
6037 * BufferView.C (moveCursorUpdate): remove default arg
6039 2002-08-20 André Pönitz <poenitz@gmx.net>
6041 * buffer.[Ch]: move inline functions to .C
6044 * BufferView_pimpl.C:
6046 * buffer.[Ch]: use improved inset_iterator
6049 * paragraph.[Ch]: write one paragraph at a time
6051 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6053 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6054 style if style is not specified.
6056 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6058 * text2.C (setCounter): when searching for right label for a
6059 caption, make sure to recurse to parent insets (so that a caption
6060 in a minipage in a figure float works) (bug #568)
6062 2002-08-20 André Pönitz <poenitz@gmx.net>
6064 * text3.C: new file for LyXText::dispatch() and helpers
6066 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6068 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6070 2002-08-19 André Pönitz <poenitz@gmx.net>
6073 * text.C: new LyXText::dispatch()
6075 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6077 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6079 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6081 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6084 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6086 * Makefile.am: use $(variables) instead of @substitutions@
6088 2002-08-15 André Pönitz <poenitz@gmx.net>
6091 * BufferView_pimpl.C: streamlining mathed <-> outer world
6095 * LyXAction.C: remove unused LFUN_MATH
6097 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6101 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6103 * paragraph.C (Paragraph): reformat a bit
6104 (cutIntoMinibuffer): use builtin InsetList function instad of
6108 * buffer.C: include boost/bind.hpp, add using std::for_each
6109 (writeFileAscii): use ParagraphList iterators
6110 (validate): use for_each for validate traversal of paragraphs
6111 (getBibkeyList): use ParagraphList iterators
6112 (resizeInsets): use for_each to resizeInsetsLyXText for all
6114 (getParFromID): use ParagraphList iterators
6116 * BufferView2.C (lockInset): use paragraph list and iterators
6118 2002-08-14 John Levon <levon@movementarian.org>
6120 * lyxserver.C: remove spurious xforms include
6122 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6124 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6126 2002-08-13 André Pönitz <poenitz@gmx.net>
6129 * lyxfunc.C: further cleaning
6131 2002-08-13 André Pönitz <poenitz@gmx.net>
6133 * funcrequest.h: new constructor
6135 * funcrequest.C: move stuff here from .h
6138 * BufferView_pimpl.C:
6141 * lyxfunc.C: subsequent changes
6143 * lyxfunc.h: new view() member function
6145 * lyxfunc.C: subsequent changes
6147 2002-08-13 Angus Leeming <leeming@lyx.org>
6150 * BufferView_pimpl.C:
6158 changes due to the changed LyXView interface that now returns references
6159 to member variables not pointers.
6161 2002-08-13 Angus Leeming <leeming@lyx.org>
6163 * WordLangTuple (word, lang_code): return references to strings,
6168 * lyxtext.h: forward-declare WordLangTuple.
6173 * text.C: #include "WordLangTuple.h".
6176 * text.C: (selectNextWordToSpellcheck): constify return type.
6178 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6184 * paragraph_pimpl.h:
6187 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6189 Made updateCounter always count from start of buffer, and removed
6190 second argument (par).
6191 Reverted floats number display to '#'. Perhaps I'll try again when the
6192 code base is sanitized a bit.
6194 2002-08-12 Angus Leeming <leeming@lyx.org>
6196 * buffer.[Ch] (getLabelList): constify.
6198 2002-08-07 André Pönitz <poenitz@gmx.net>
6200 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6202 * funcrequest.h: extension to keep mouse (x,y) position
6204 2002-08-12 Juergen Vigna <jug@sad.it>
6206 * BufferView2.C (insertErrors): forbid undo when inserting error
6209 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6211 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * ParagraphList.[Ch]: new files
6215 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6217 * BufferView2.C (lockInset): ParagraphList changes
6220 * bufferlist.C: ditto
6224 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6226 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6227 unused class variable counter_,
6229 * paragraph.[Ch] (getFirstCounter): delete unused function
6231 * counters.C: include LAssert.h
6232 (reset): add a new function with no arg, change other version to
6233 not have def. arg and to not allow empty arg.
6235 * text2.C (setCounter): remove empty arg from call to Counters::reset
6237 2002-08-11 John Levon <levon@movementarian.org>
6239 * Makefile.am: add WordLangTuple.h
6241 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6243 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6244 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6246 * insets/insettext.C: InsetList changes
6248 * graphics/GraphicsSupport.C (operator()): InsetList changes
6250 * toc.C (getTocList): InsetList changes
6252 * paragraph_pimpl.[Ch]: InsetList changes
6254 * paragraph.[Ch]: InsetList changes
6256 * buffer.C (inset_iterator): InsetList changes
6257 (setParagraph): ditto
6258 * buffer.h (inset_iterator): ditto
6259 * iterators.C (operator++): ditto
6260 * iterators.h: ditto
6262 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6264 * InsetList.[Ch]: new files, most InsetList handling moved out of
6267 * BufferView2.C (removeAutoInsets): InsetList changes
6269 (ChangeInsets): ditto
6271 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6273 * paragraph_pimpl.h (empty): new function
6275 * paragraph.[Ch] (empty): new function
6277 * other files: use the new Paragraph::empty function
6279 2002-08-09 John Levon <levon@movementarian.org>
6281 * lyxtext.h: remove unused refresh_height
6283 2002-08-09 John Levon <levon@movementarian.org>
6290 * paragraph.C: move sgml char escaping out of paragraph
6293 * paragraph.C: remove id setter
6297 * paragraph_pimpl.C: remove dead tex_code_break_column
6299 * bufferview_funcs.C: small cleanup
6301 * lyxfunc.C: remove dead proto
6303 * lyxtext.h: make some stuff private. Remove some dead stuff.
6305 * lyxgluelength.C: make as[LyX]String() readable
6307 2002-08-08 John Levon <levon@movementarian.org>
6312 * ToolbarDefaults.C:
6315 * toc.C: lyxaction cleanup
6317 2002-08-08 John Levon <levon@movementarian.org>
6319 * BufferView2.C: small cleanup
6322 * lyxfind.C: move unnecessary header into the .C
6324 2002-08-08 John Levon <levon@movementarian.org>
6326 * funcrequest.h: just tedious nonsense
6329 * lyx_main.C: cleanups
6332 * vspace.C: remove dead header lyx_main.h
6334 2002-08-07 Angus Leeming <leeming@lyx.org>
6337 * paragraph_pimpl.h:
6338 Forward declare class Counters in paragraph.h by moving the ctrs member
6339 variable into Paragraph::Pimpl.
6340 (counters): new method, returning a reference to pimpl_->ctrs.
6342 * text2.C: ensuing changes.
6344 2002-08-07 John Levon <levon@movementarian.org>
6346 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6348 * BufferView_pimpl.C: announce X selection on double/triple
6351 * lyx_main.C: use correct bool in batch dispatch
6353 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6355 2002-08-07 André Pönitz <poenitz@gmx.net>
6357 * funcrequest.h: new class to wrap a kb_action and its argument
6360 * BufferView_pimpl[Ch]:
6364 * lyxrc.C: subsequent changes
6367 2002-08-07 John Levon <levon@movementarian.org>
6369 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6370 document options change.
6372 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6377 * makefile.am: move counters functionality over from
6378 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6380 2002-08-06 John Levon <levon@movementarian.org>
6382 * WordLangTuple.h: new file for word + language code tuple
6393 * BufferView2.C: use WordLangTuple
6396 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6398 2002-08-06 John Levon <levon@movementarian.org>
6400 * lyx_main.C: fix cmdline batch handling
6402 2002-08-06 André Pönitz <poenitz@gmx.net>
6404 * lyxrc.C: set default for show_banner to true
6406 2002-08-06 John Levon <levon@movementarian.org>
6408 * pspell.C: fix a crash, and allow new aspell to work
6410 2002-08-06 John Levon <levon@movementarian.org>
6413 * kbmap.C: small cleanup
6416 * vspace.C: add const
6418 2002-08-05 John Levon <levon@movementarian.org>
6420 * LyXAction.C: back to tabular-insert
6422 2002-08-04 John Levon <levon@movementarian.org>
6425 * BufferView.C: cosmetic change
6427 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6437 * BufferView2.C: purge all "Lyx" not "LyX" strings
6440 * lyxcursor.C: attempt to add some documentation
6445 * ToolbarDefaults.C:
6446 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6447 merge with LFUN_TABULAR_INSERT
6454 * pspell.C: split up i/pspell implementations into separate
6455 files, many cleanups
6457 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6459 * text2.C: some cleanup
6461 * lyxfunc.C: don't check for isp_command == "none" any more, it
6462 didn't make any sense
6464 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6469 * makefile.am: move counters functionality over
6470 from text2.C/paragraph.[Ch] to counters.[Ch], and
6472 2002-08-02 John Levon <levon@movementarian.org>
6474 * buffer.C: s/lyxconvert/lyx2lyx/
6476 2002-08-02 Angus Leeming <leeming@lyx.org>
6478 * lyxlex.C: revert John's change as it breaks reading of the user
6481 2002-08-02 Angus Leeming <leeming@lyx.org>
6483 * importer.C (Import):
6484 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6485 changes due to LyXView::view() now returning a boost::shared_ptr.
6487 2002-08-02 John Levon <levon@movementarian.org>
6489 * lyxlex.C: small cleanup
6491 2002-08-02 John Levon <levon@movementarian.org>
6493 * text2.C (status): small cleanup, no logic change
6495 2002-08-01 John Levon <levon@movementarian.org>
6498 * buffer.C (writeFile): don't output alerts, caller
6502 * lyx_cb.C: from above
6504 * lyxfunc.C: allow to open non-existent files
6506 2002-07-31 John Levon <levon@movementarian.org>
6508 * lyxserver.C: don't let incidental errors get
6511 2002-07-30 John Levon <levon@movementarian.org>
6513 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6515 2002-07-30 John Levon <levon@movementarian.org>
6518 * lyxserver.C: remove I/O callback too
6520 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6522 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6525 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6527 * many files: strip,frontStrip -> trim,ltrim,rtrim
6529 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6531 * PrinterParams.h: remove extern containsOnly, and include
6532 support/lstrings.h instead.
6534 * LaTeX.C (scanAuxFile): modify because of strip changes
6536 * buffer.C (makeLaTeXFile): ditto
6537 * bufferparams.C (writeFile): ditt
6538 * lyxfont.C (stateText): ditto
6539 * lyxserver.C (read_ready): ditto
6540 * vc-backend.C (scanMaster): ditto
6542 * BufferView_pimpl.h: ws changes
6544 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6546 2002-07-26 André Pönitz <poenitz@gmx.net>
6548 * kb_sequence.C: remove unnedred usings
6550 2002-07-26 Juergen Vigna <jug@sad.it>
6552 * lyxfind.C (LyXReplace): we have to check better if the returned
6553 text is not of theLockingInset()->getLockingInset().
6555 2002-07-25 Juergen Vigna <jug@sad.it>
6557 * lyxfind.C (LyXReplace): don't replace if we don't get the
6560 * undo_funcs.C (createUndo): remove debugging code.
6562 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6564 * buffer.C (parseSingleLyXformat2Token): Use default placement
6565 when reading old floats.
6567 * FloatList.C (FloatList): Change the default placement of figure
6568 and tables to "tbp".
6570 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6572 * MenuBackend.C: using std::max
6574 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6576 * MenuBackend.C (expandToc):
6577 (expandToc2): code moved from xforms menu frontend. It is now
6578 generic and TOCs are transparent to menu frontends.
6580 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6582 * toc.C (getTocList): protect against buf=0
6584 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6585 Menu as first parameter. Now, this calls itself recursively to
6586 expand a whole tree (this will be useful for TOC handling)
6587 (expandFloatInsert): remove 'wide' version of floats
6589 * MenuBackend.h (submenuname): returns the name of the submenu.
6590 (submenu): returns the submenu itself, provided it has been
6591 created by MenuBackend::expand
6593 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6595 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6596 insets which have noFontChange == true. (bug #172)
6598 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6600 * BufferView_pimpl.C: add connection objects and use them...
6603 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6605 * MenuBackend.C (expandLastfiles):
6608 (expandFloatListInsert):
6609 (expandFloatInsert):
6610 (expand): split expand in parts
6612 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6614 * lyx_gui.C: use lyx_gui::exit()
6616 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6618 * LyXAction.C: show the failing pseudo action
6620 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6622 * buffer.C (readFile): Run the lyxconvert script in order to read
6625 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6629 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6631 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6635 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6637 2002-07-22 Herbert Voss <voss@lyx.org>
6640 * lyxlength.[Ch]: add support for the vertical lengths
6642 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6644 * toc.[Ch]: std:: fixes
6646 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6648 * lyxrc.C: do not include lyx_main.h
6650 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6656 * BufferView2.C: include "lyxlex.h"
6659 * bufferparams.h: do not #include "lyxlex.h"
6661 * lyxtextclasslist.C (Add): remove method
6662 (classlist): renamed to classlist_
6664 * paragraph_pimpl.C:
6668 * bufferview_funcs.C:
6673 * toc.C (getTocList): use BufferParams::getLyXTextClass
6675 * toc.C (getTocList): use InsetFloat::addToToc
6677 * toc.[Ch]: new files, containing helper functions to handle table
6680 * lyxfunc.C (dispatch): no need to remove spaces around command
6682 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6683 first command of the sequence; it is not very clever, but I do not
6684 have a better idea, actually
6686 * LyXAction.C (LookupFunc): make sure to remove space at the
6687 beginning and end of the command
6689 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6691 * MenuBackend.C (getMenubar): new method: return the menubar of
6693 (read): treat differently reading of menu and menubar (in
6694 particular, the menubar has no name now)
6695 (Menu::menubar): remove
6697 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6700 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6702 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6703 a bibitem inset in a RTL paragraph.
6705 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6707 * paragraph_pimpl.C: constify
6709 * BufferView_pimpl.C:
6711 * lyxfunc.C: fix dispatch in a nicer way
6713 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6715 * lyxfunc.C (dispatch):
6716 * BufferView_pimpl.C:
6717 * BufferView_pimpl.h:
6719 * BufferView.h: rename Dispatch() to dispatch()
6721 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6723 * lyxlayout.C (Read): honor DependsOn tag
6725 * lyxlayout.[Ch] (depends_on): new method
6727 * version.C.in: update lyx_docversion
6729 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6731 * paragraph.C (validate): remove from here...
6732 * paragraph_pimpl.C (validate): ... and move here
6733 (isTextAt): make it const
6735 * buffer.C (getLists): ws cleanup
6737 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6739 * language.C (read): Use iso8859-1 encoding in latex_lang
6740 (this prevents LyX from crashing when using iso10646-1 encoding).
6742 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6744 * text2.C (toggleInset): if cursor is inside an inset, close the
6745 inset and leave cursor _after_ it
6747 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6749 * lyxfunc.C: move minibuffer completion handling out of here
6751 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6753 * BufferView_pimpl.C:
6754 * LaTeX.C: fix dispatch calls
6756 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6758 * text.C (drawChars): Fix Arabic text rendering.
6760 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6764 * lyxfunc.C: remove message-push/pop
6768 * lyxfunc.C: rationalise some code by removing verboseDispatch
6769 in favour of a bool argument to dispatch()
6771 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6773 * lyx_main.C (init): make sure to read symlinks as absolute paths
6775 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6778 * lyxfunc.C: no need for commandshortcut to be a member
6780 2002-07-15 André Pönitz <poenitz@gmx.net>
6782 * converter.C: add support for $$s (scripts from lib/scripts dir)
6783 * lyx_main.C: white space
6785 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6789 * lyxrc.C: remove second exit confirmation
6791 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6796 * BufferView_pimpl.h:
6797 * BufferView_pimpl.C:
6798 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6800 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6802 * MenuBackend.C (expand): add numeric shortcuts to document menu
6804 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6806 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6808 * lyxfont.C (setLyXFamily):
6815 * buffer.C (asciiParagraph): use ascii_lowercase
6817 2002-07-15 Mike Fabian <mfabian@suse.de>
6819 * lyxlex_pimpl.C (search_kw):
6820 * lyxlex.C (getLongString):
6821 * converter.h (operator<):
6822 * converter.C (operator<):
6823 * buffer.C (parseSingleLyXformat2Token):
6825 * ToolbarDefaults.C (read):
6826 * MenuBackend.C (checkShortcuts):
6828 * LColor.C (getFromGUIName):
6829 (getFromLyXName): use the compare_ascii_no_case instead of
6830 compare_no_case, because in turkish, 'i' is not the lowercase
6831 version of 'I', and thus turkish locale breaks parsing of tags.
6833 2002-07-16 Angus Leeming <leeming@lyx.org>
6835 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6836 now takes a Buffer const & argument.
6838 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6840 * BufferView.C (resize): check there's a buffer to resize
6842 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6844 * lyxfunc.C: remove dead code
6847 * lyxserver.C: use lyx_guii::set_read_callback
6849 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6851 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6852 an inset in a RTL paragraph.
6854 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6856 * lyxfunc.C: repaint after a font size update
6858 2002-07-15 André Pönitz <poenitz@gmx.net>
6860 * lyxlength.C: inBP should be able to return negative values
6862 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6864 * lyxfunc.C: use lyx_gui::update_fonts()
6866 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6868 * lyxfunc.C: use lyx_gui::update_color()
6870 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6876 * lyxrc.C: remove file->new asks for name option, and let
6877 buffer-new take an argument
6879 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6881 * BufferView_pimpl.C: remove unneeded extra repaint()
6883 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6885 * LyXAction.C: allow command-sequence with NoBuffer
6887 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6889 2002-07-10 Angus Leeming <leeming@lyx.org>
6891 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6893 2002-07-09 Angus Leeming <leeming@lyx.org>
6895 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6897 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6899 * lengthcommon.h: whitespace
6901 * lyxfunc.C: update scrollbar after goto paragraph
6903 * lyxtext.h: factor out page break drawing, and fix it so
6904 page break/added space paints as selected nicely
6906 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6908 * BufferView_pimpl.C: add FIXMEs, clean up a little
6910 2002-07-09 André Pönitz <poenitz@gmx.net>
6912 * lyxfont.[Ch]: support for wasy symbols
6914 2002-07-08 André Pönitz <poenitz@gmx.net>
6916 * BufferView_pimpl.C: apply John's patch for #93.
6918 2002-07-05 Angus Leeming <leeming@lyx.org>
6920 * BufferView_pimpl.C (buffer): generate previews if desired.
6922 * LColor.h: add "preview" to the color enum.
6924 * LColor.C (LColor): add a corresponding entry to the items array.
6926 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6929 2002-07-05 Angus Leeming <leeming@lyx.org>
6931 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6932 The body of the code is now in the method that is passed an ostream &
6933 rather than a file name.
6934 Pass an additional only_preamble parameter, useful for the forthcoming
6937 2002-07-03 André Pönitz <poenitz@gmx.net>
6939 * lyxfunc.C: simplify getStatus() a bit for math stuff
6941 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6943 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6945 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6947 * text.C (changeRegionCase): do not change case of all the
6948 document when region ends at paragraph end (bug #461)
6950 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6952 * paragraph.C (startTeXParParams):
6953 (endTeXParParams): add \protect when necessary
6955 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6957 * BufferView_pimpl.C (workAreaExpose): remove warning
6959 2002-06-27 Angus Leeming <leeming@lyx.org>
6961 * Makefile.am: add lyxlayout_ptr_fwd.h.
6963 2002-06-26 André Pönitz <poenitz@gmx.net>
6965 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6967 2002-06-25 Angus Leeming <leeming@lyx.org>
6969 * lyxfunc.C (dispatch): Comment out the call to
6970 grfx::GCache::changeDisplay. The method no longer exists now that the
6971 pixmap generation part of the graphics loader has been moved into
6974 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6976 * text2.C: layout as layout
6978 * text.C: layout as layout
6980 * tabular.C (OldFormatRead): layout as layout
6982 * paragraph_pimpl.C (TeXDeeper): layout as layout
6983 (realizeFont): layout as layout
6985 * paragraph.C (writeFile): layout as layout
6986 (validate): layout as layout
6987 (getFont): layout as layout
6988 (getLabelFont): layout as layout
6989 (getLayoutFont): layout as layout
6990 (breakParagraph): layout as layout
6991 (stripLeadingSpaces): layout as layout
6992 (getEndLabel): layout as layout
6993 (getMaxDepthAfter): layout as layout
6994 (applyLayout): layout as layout
6995 (TeXOnePar): layout as layout
6996 (simpleTeXOnePar): layout as layout
6997 (TeXEnvironment): layout as layout
6998 (layout): layout as layout
6999 (layout): layout as layout
7001 * lyxtextclass.C (compare_name): new functor to work with
7002 shared_ptr, layout as layout
7003 (Read): layout as layout
7004 (hasLayout): layout as layout
7005 (operator): layout as layout
7006 (delete_layout): layout as layout
7007 (defaultLayout): layout as layout
7009 * lyxlayout_ptr_fwd.h: new file
7011 * lyxlayout.C (Read): layout as layout
7013 * lyx_cb.C (MenuInsertLabel): layout as layout
7015 * bufferlist.C (newFile): layout as layout
7017 * buffer.C (readLyXformat2): layout as layout
7018 (parseSingleLyXformat2Token): layout as layout
7019 (insertStringAsLines): layout as layout
7020 (asciiParagraph): layout as layout
7021 (latexParagraphs): layout as layout
7022 (makeLinuxDocFile): layout as layout
7023 (simpleLinuxDocOnePar): layout as layout
7024 (makeDocBookFile): layout as layout
7025 (simpleDocBookOnePar): layout as layout
7026 (getLists): layout as layout
7028 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7030 * CutAndPaste.C (cutSelection): layout as layout
7031 (pasteSelection): layout as layout
7032 (SwitchLayoutsBetweenClasses): layout as layout
7034 * BufferView_pimpl.C (Dispatch): layout as layout
7035 (smartQuote): layout as layout
7037 * BufferView2.C (unlockInset): layout as layout
7039 2002-06-24 André Pönitz <poenitz@gmx.net>
7041 * lyxfunc.C: fix #487
7043 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7047 * lyxfunc.C: remove display_shortcuts, show_banner
7049 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7051 * Buffer_pimpl.C: oops, update on resize
7053 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7060 * BufferView.C: use repaint()
7062 * BufferView_pimpl.h:
7063 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7064 as it's a clearer description. Remove superfluous
7067 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7069 * text.C: fix bug 488. Not ideal, but getting
7070 getWord() to work properly for the insets that
7071 matter is more difficult ...
7073 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7075 * BufferView_pimpl.C:
7078 * lyxfunc.C: remove the six million index lyxfuncs to just
7079 one, and DTRT (bug 458)
7081 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7085 * BufferView_pimpl.h:
7086 * BufferView_pimpl.C: clean up resize() stuff,
7087 and unnecessary updateScreen()s
7089 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7093 * BufferView_pimpl.h:
7094 * BufferView_pimpl.C:
7097 * minibuffer.C: remove focus management of workarea,
7098 not needed. Use screen's greyOut()
7100 2002-06-17 Herbert Voss <voss@lyx.org>
7102 * converter.C: (convert) do not post a message, when converting
7103 fails, let the calling function decide what to do in this case
7105 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7107 * lyxfunc.C: tidy up a little
7109 2002-06-16 <alstrup@diku.dk>
7111 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7112 Got rid of FORMS_H_LOCATION include. Now we are
7115 2002-06-15 LyX Development team <lyx@rilke>
7117 * buffer.[Ch] (sgmlOpenTag):
7118 (sgmlCloseTag): Added support for avoiding pernicious mixed
7119 content. Return number of lines written.
7122 (makeDocBookFile): Fixed calls to sgml*Tag.
7123 Simple white space clean.
7125 (simpleDocBookOnePar): Simple white space clean.
7127 * tabular.[Ch] (docBook): Renamed to docbook and got another
7128 argument to related with the pernicious mixed content.
7130 (docbookRow): Fixed calls for docbook inset method.
7132 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7134 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7135 so it's X11 independent.
7139 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7141 2002-06-15 Lyx Development team <lyx@electronia>
7143 * intl.h: Renamed getTrans to getTransManager.
7145 2002-06-14 Angus Leeming <leeming@lyx.org>
7147 * Makefile.am: nuke forgotten stl_string_fwd.h.
7149 2002-06-12 Angus Leeming <leeming@lyx.org>
7151 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7153 2002-06-13 Angus Leeming <leeming@lyx.org>
7156 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7158 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7160 * kbmap.C (getiso): add support for cyrillic and greek
7162 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7166 * BufferView_pimpl.h:
7167 * BufferView_pimpl.C: move bogus scrolling logic
7170 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7173 * BufferView_pimpl.C: view->resize() change
7175 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7177 * BufferView_pimpl.C: topCursorVisible
7180 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7184 * lyx_gui.C: move to frontends/
7188 * lyx_main.C: changes from above
7190 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7197 * lyx_main.C: minor tidy
7199 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7201 * BufferView_pimpl.h:
7202 * BufferView_pimpl.C:
7204 * BufferView.C: make painter() const,
7207 * BufferView2.C: use screen() accessor
7210 * lyx_main.C: some minor cleanup
7212 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7214 * BufferView_pimpl.h:
7215 * BufferView_pimpl.C: remove enter/leaveView,
7218 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7223 * BufferView_pimpl.h:
7224 * BufferView_pimpl.C: only construct screen once,
7227 * lyxrc.C: remove pointless comment
7229 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7232 * BufferView.C: remove active() and belowMouse()
7234 * BufferView_pimpl.h:
7235 * BufferView_pimpl.C: use workarea() not workarea_,
7236 and make it use a scoped_ptr instead
7238 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7240 * lyx_gui.C: add debug message on BadWindow
7242 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7244 * sp_spell.C: fdopen is not part of the C++ standard.
7246 * paragraph.C (InsetIterator): use >= instead of ==
7248 2002-06-07 Angus Leeming <leeming@lyx.org>
7250 Fixes needed to compile with Compaq cxx 6.5.
7251 * BufferView_pimpl.C:
7258 * lyxtextclasslist.C:
7263 all c-library variables have been moved into namespace std. Wrap
7264 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7269 Add a using std::abs declaration.
7271 * kbmap.h (modifier_pair):
7272 * paragraph.h (InsetTable, InsetList):
7273 * lyxfont.h (FontBits):
7274 type definition made public.
7276 * bufferlist.C (emergencyWriteAll): the compiler complains that
7277 there is more than one possible lyx::class_fun template to choose from.
7278 I re-named the void specialisation as lyx::void_class_fun.
7280 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7282 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7283 the compiler is is unable to find tostr in write_attribute.
7285 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7287 * buffer.C (sgmlError): hide #warning
7289 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7291 * xtl/*: get rid of xtl, which is not in use anyway
7293 * LyXAction.C (init):
7294 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7295 were unimplemented xtl experimentation
7297 2002-06-04 André Pönitz <poenitz@gmx.net>
7299 * lyxfunc.C: disable array operation on simple formulae
7301 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7303 * converter.C: constify a bit
7305 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7307 * lyx_gui.C: check xforms version correctly
7309 2002-04-30 Herbert Voss <voss@lyx.org>
7311 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7314 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7316 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7317 attempt to register it with a VCS)
7319 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7321 * lyx_main.C (init): honor variables LYX_DIR_13x and
7324 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7328 * lyx_main.C: fix a crash on bad command line,
7329 and give a useful exit status on error
7331 * lyxfunc.C (doImport): allow -i lyx to work
7333 2002-03-30 André Pönitz <poenitz@gmx.net>
7335 * lyxfunc.C: mathed font changes
7337 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7352 * trans_mgr.h: srcdocs, and some minor cleanups
7354 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7356 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7357 call getFont all the time)
7359 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7361 * switch from SigC signals to boost::signals
7363 2002-05-29 André Pönitz <poenitz@gmx.net>
7365 * paragraph_pimpl.C (getChar): don't call size() too often...
7367 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7369 * paragraph_pimpl.C (insertChar): do not try to update tables when
7370 appending (pos == size())
7372 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7373 in order to reduce drastically the number of comparisons needed to
7374 parse a large document
7376 2002-05-29 André Pönitz <poenitz@gmx.net>
7382 * textclasslist.[Ch]:
7383 * sp_ispell.h: whitespace change
7385 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7387 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7388 lyxaction directly now.
7390 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7394 * lyxvc.C: remove unused headers
7396 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7403 * undo_funcs.C: some cleanups. Use shared_ptr
7404 and a template for the undo stacks.
7406 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7408 * BufferView_pimpl.h:
7409 * BufferView_pimpl.C:
7416 * text2.C: use key_state/mouse_state
7418 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7420 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7423 * chset.C: change include order
7424 (loadFile): use boost regex and get rid of LRegex and LSubstring
7426 * Makefile.am (BOOST_LIBS): new variable
7429 * LaTeX.C: change include order.
7430 (scanAuxFile): use boost regex and get rid of LRegex and
7434 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7439 * FontInfo.C: moved to frontends/xforms/
7442 * FontLoader.C: moved into frontends for GUIIzation
7447 * lyxfunc.C: changes from above
7449 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7451 * LColor.C: remove spurious X include
7453 * BufferView_pimpl.C:
7458 * text2.C: move font metrics to frontends/
7460 2002-05-24 Juergen Vigna <jug@sad.it>
7462 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7463 setting the undo_cursor.
7465 * ParagraphParameters.h: include local includes first.
7467 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7469 * BufferView_pimpl.C:
7470 * BufferView_pimpl.h:
7474 * screen.C: move WorkArea into frontends/
7480 * BufferView2.C: move LyXScreen into frontends/
7484 * lyx_gui.C: move lyxlookup into frontends/xforms/
7486 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7489 * BufferView_pimpl.C:
7499 * bufferview_funcs.C:
7512 * vc-backend.C: move LyX/XFormsView into frontends/
7514 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7526 * text2.C: move Painter to frontends/
7528 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7530 * buffer.C: comment out some some code that depend upon lyx_format
7533 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7534 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7536 * buffer.h (NO_COMPABILITY): turn off compability
7538 * ColorHandler.C: include scoped_array.hpp
7540 * font.C: Use more specific smart_ptr header.
7543 * ShareContainer.h: ditto
7547 * BufferView_pimpl.h: ditto
7548 * ColorHandler.h: ditto
7550 * kbmap.C (defkey): change call to shared_ptr::reset
7552 2002-05-21 Juergen Vigna <jug@sad.it>
7554 * buffer.C (insertErtContents): fix to insert ert asis if it is
7555 non empty. Skip it completely if it contains only whitespaces.
7557 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7559 * BufferView_pimpl.C:
7560 * BufferView2.C: clear selection on paste (bug 393)
7562 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7564 * DepTable.C: include ctime
7566 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7568 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7570 2002-05-14 Juergen Vigna <jug@sad.it>
7572 * text.C (breakParagraph): fixed function to honor the keepempty
7573 layout in the right maner and also to permit the right breaking
7574 algorithm on empty or non empyt keepempty paragraphs.
7576 * paragraph.C (breakParagraph): we have to check also if the par
7577 is really empty (!size()) for isempty otherwise we do the wrong
7580 2002-05-10 Juergen Vigna <jug@sad.it>
7582 * buffer.[Ch] : The following are only changes to the ert
7583 compatibility read reading old LaTeX layout and font stuff and
7584 convert it to ERTInsets.
7586 * buffer.h: added isErtInset().
7588 * buffer.C (struct ErtComp): add a fromlayout bool to check
7589 if we're inside a LaTeX layout.
7590 (isErtInset): new helper function.
7591 (insertErtContents): look for other ert insets before this one
7592 and insert the contents there, so that we don't have subsequent
7593 ERT insets with nothing between them. This way we create only one
7594 inset with multiple paragraphs. Also check if we don't insert only
7595 spaces ' ' as they are ignored anyway afterwards in the .tex file
7596 so if we have only spaces we will ignore this latex part in the
7598 (parseSingleLyXformat2Token \\layout): better compatibility when
7599 reading layout-latex stuff.
7600 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7602 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7603 stuff after reading the inset only get the information back from
7606 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7608 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7610 * LaTeXFeatures.C (getBabelOptions): New method.
7612 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7614 * BufferView_pimpl.C (Dispatch): work around missing argument for
7617 2002-05-08 Juergen Vigna <jug@sad.it>
7619 * text.C (leftMargin): handle paragraph leftindent.
7621 * paragraph.C (writeFile): write the new \\leftindent tag.
7622 (validate): handle leftindent code.
7623 (TeXEnvironment): handle paragraphleftindent code again.
7625 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7627 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7628 for paragrap_extra indent code and new token \\leftindent.
7629 (latexParagraphs): handle the leftindent as environment.
7631 * ParameterStruct.h: added leftindent support.
7633 * ParagraphParameters.C (leftIndent): added support functions for
7634 the paragraph left indent.
7636 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7639 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7641 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7644 * text.C (computeBidiTables): No bidi in insetERT.
7646 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7649 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7651 * version.C.in: pre 5
7653 2002-05-02 José Matos <jamatos@fep.up.pt>
7654 * buffer.C (makeDocBookFile): white space changes, add newline to
7656 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7658 * tabular.C (docBook): fix typo.
7660 2002-05-03 Juergen Vigna <jug@sad.it>
7662 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7663 change in LyXText as we can not be sure it was not freed.
7664 (drawOneRow): remove unused code.
7666 * text.C (drawInset): redo the calculation of the need_break_row as
7667 it could have a row which was already freed.
7668 (draw): look at the return value of drawInset and return false if
7669 it also returned false.
7670 (paintRowText): look at the return value of draw and return false if
7671 it also returned false.
7673 * lyxtext.h: added bool return type to drawInset() and draw() so that
7674 if we have a change in the row so that the rowbreak has to be redone
7675 we abort drawing as it will be called again.
7677 2002-05-02 Juergen Vigna <jug@sad.it>
7679 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7680 a change in the maintext also if we're inside an inset.
7681 (Dispatch): set the cursor again after a break line and after the
7682 screen has been updated as it could be we're in a different row.
7684 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7685 to set the cursor behind the pargraph with > size().
7686 (setCursor): check also for the same paragraph when checking where
7687 to put the cursor if we have a NFR inset.
7689 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7690 parts of layout read further up as it still was in the wrong
7693 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7695 * screen.C (drawFromTo): change sine fullRebreak always return
7698 * buffer.C (parseSingleLyXformat2Token): reindent some
7700 * BufferView_pimpl.C (update): change since fullRebreak always
7702 (Dispatch): git rid of the last hardcoded "Standard"s.
7704 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7706 * text2.[Ch] (fullRebreak): make it return void now that we always
7709 2002-04-30 Juergen Vigna <jug@sad.it>
7711 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7712 ert compatibility check for "latex" layout.
7714 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7716 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7717 minipages: use col% instead of p%, and also use the current font.
7718 (makeLaTeXFile): Fix use babel condition.
7719 (parseSingleLyXformat2Token): Correct font when reading old floats.
7721 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7723 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7724 inserting list of floats.
7726 2002-04-25 Herbert Voss <voss@lyx.org>
7728 * MenuBackend.C (expand): don't add the graphics extensions to the
7731 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7733 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7734 non-existing layout, do not complain if it was the default layout
7735 of the original class (bug #342)
7737 2002-04-24 Juergen Vigna <jug@sad.it>
7739 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7740 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7742 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7744 * buffer.C (getBibkeyList): If using \bibliography, return the
7745 option field with the reference itself. Enables us to provide natbib
7746 support when using \bibliography.
7748 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7750 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7752 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7753 natbib is provided by the LaTeX class.
7755 2002-04-23 Juergen Vigna <jug@sad.it>
7757 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7760 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7762 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7764 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7766 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7767 ensuremath around textordmasculine, textordfeminine and
7770 2002-04-19 Juergen Vigna <jug@sad.it>
7772 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7773 reinitializing the buffer otherwise row-dimensions may be wrong.
7774 (update): reset also the selection cursors if they do exits otherwise
7775 their x/y positions may be wrong.
7777 * text2.C (cursorDown): don't enter the inset if we came from a row
7778 above and are one row over the inset.
7780 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7781 really leaving an inset.
7783 2002-04-18 Juergen Vigna <jug@sad.it>
7785 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7786 of the selected paragraph does not have the selected layout also if
7789 * text2.C (setLayout): fixed bug which did not change last selected
7792 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7793 changed the read and substituted \\end_float with \\end_inset!
7795 * BufferView_pimpl.C (cursorPrevious):
7796 (cursorNext): fixed to make it work with rows heigher than the work
7797 area without moving the cursor only the draw of the row.
7798 (workAreaMotionNotify): fix jumping over high rows.
7800 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7802 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7805 2002-04-16 Juergen Vigna <jug@sad.it>
7807 * text2.C (setCursor): set also the irow().
7808 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7810 (cursorDown): support for locking an inset if the x_fix value goes
7811 inside it. That way I can transverse insets too with cursor up/down.
7813 * lyxrow.h: added irow helper function same as other (i) functions.
7815 * BufferView_pimpl.C (cursorPrevious):
7816 (cursorNext): fixed for insets!
7818 2002-04-15 Juergen Vigna <jug@sad.it>
7820 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7821 position otherwise it is wrong in some cases.
7823 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7824 inside the inset before the call.
7826 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7828 * buffer.[Ch] (getBibkeyList): make it const.
7830 2002-04-12 Juergen Vigna <jug@sad.it>
7832 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7834 * text2.C (getCursorX): new helper function
7835 (setCursor): compute also ix_
7836 (setCursorFromCoordinates): set also ix.
7838 * lyxcursor.h: added ix_ and helper functions.
7840 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7842 * buffer.C (insertStringAsLines): dont break paragraph if the this
7843 paragraph is inside an inset which does not permit it!
7845 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7846 also with no chars on this paragraph.
7847 (paintRowText): only paint stuff if it's inside the workarea!
7849 * paragraph.C (breakParagraph): honor keepempty flag and break the
7850 paragraph always below not above.
7852 * BufferView2.C (unlockInset): update the paragraph layout on inset
7853 unlock as we changed paragraph in such a case.
7855 * lyxfind.C (LyXFind): clear the former selection if not found!
7857 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7858 again called in insertChar().
7860 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7861 an inset which uses the whole row!
7862 (rightMargin): ditto.
7863 (insertChar): force a rebreak if we inserted an inset!
7865 2002-03-28 Herbert Voss <voss@lyx.org>
7867 * lyxlength.[Ch]: add inBP() to get the right PS-point
7868 units (BigPoint). With inPixels we have rounding errors
7870 2002-04-11 Juergen Vigna <jug@sad.it>
7872 * text2.C (setCursorFromCoordinates): set iy to the right value.
7873 (setCursor): add check if row->previous exists!
7875 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7876 an old float_type as this was the case in the old code!
7878 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7880 * BufferView2.C (showLockedInsetCursor): use iy
7881 (fitLockedInsetCursor): ditto
7883 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7884 locked insets as there we have the right value now.
7886 * lyxcursor.C: added iy_ variable and iy functions to set to the
7887 baseline of cursor-y of the locked inset.
7889 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7890 (setCursor): fixed for insets which need a full row.
7892 * text.C (rowLastPrintable): don't ignore the last space when before
7893 an inset which needs a full row.
7894 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7895 as last character of a row when before a inset which needs a full row.
7897 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7899 * version.C.in: update date
7901 * text2.C (fullRebreak): try to always return true and see what
7904 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7906 * MenuBackend.C (expand): use Floating::listName
7908 * FloatList.C (FloatList): add listName argument to the built-in
7911 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7912 text associated with the float.
7914 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7916 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7918 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7920 * ShareContainer.h: add a couple of missing typenames.
7922 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7924 * lyxrc.C (getDescription): use _() correctly rather than N_().
7926 2002-03-28 Herbert Voss <voss@lyx.org>
7928 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7929 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7931 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7933 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7934 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7936 2002-03-29 Juergen Vigna <jug@sad.it>
7938 * lyxfunc.C (dispatch): add a missing fitCursor call.
7940 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7941 it was scrolled by a cursor move, so return the bool status.
7943 * BufferView.C (fitCursor): return the bool flag also to the outside
7944 world as this is needed.
7946 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7948 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7949 call the edit() as it is not needed (and wrong) IMO.
7950 (workAreaButtonPress): set the screen_first variable before evt.
7951 unlock the inset as this may change screen_first and then we have
7952 a wrong y position for the click!
7954 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7956 * MenuBackend.C (expand): another translation that I missed
7958 2002-03-28 Juergen Vigna <jug@sad.it>
7960 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7962 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7964 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7966 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7968 * MenuBackend.C (expand): fix export/view/update when there is no
7971 2002-03-27 Herbert Voss <voss@lyx.org>
7973 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7976 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7978 * bufferview_funcs.C (currentState): only show paragraph number
7979 for is DEVEL_VERSION is set.
7981 * lyxfunc.C (dispatch): put warning in INFO channel
7983 * MenuBackend.C (expand): translate the name of floats
7985 * FloatList.C (FloatList): mark the float names for translation
7987 * converter.C (convert): use LibScriptSearch
7989 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7991 * MenuBackend.C (defaults): fix default menu (we might as well get
7994 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7996 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7999 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8001 * lyxvc.C: reorder includes.
8003 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8005 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8008 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8010 * CutAndPaste.C: change layouts earlier on paste
8011 to avoid crashing when calling getFont()
8013 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8015 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8018 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8020 * WorkArea.C: remove 'Pending' debug message.
8022 * most files: ws cleanup
8024 * buffer.[Ch]: ws changes
8026 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8028 2002-03-21 Juergen Vigna <jug@sad.it>
8030 * tabular.C (SetMultiColumn): collapse also the contents of the
8031 cells and set the last border right. Added a Buffer const * param.
8033 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8035 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8038 2002-03-19 Juergen Vigna <jug@sad.it>
8040 * text2.C (clearSelection): reset also xsel_cache.
8042 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8043 where it needs to be called (John tells us to do so too :)
8044 (selectionLost): reset sel_cache.
8046 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8048 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8050 * text2.C (setCursorIntern): put debuging code in INSETS channel
8052 2002-03-19 André Pönitz <poenitz@gmx.net>
8054 * lyxfunc.C: tiny whitespace change
8056 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8058 * ToolbarDefaults.C (init):
8059 * LyXAction.C (init):
8061 * BufferView_pimpl.C (Dispatch):
8062 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8064 2002-03-19 Allan Rae <rae@lyx.org>
8066 * exporter.C (Export): removeAutoInsets before doing anything else.
8067 While I've just introduced a dependency on BufferView this really is
8068 the best place to clean the buffer otherwise you need to cleanup in
8069 a dozen places before calling export or cleanup in a dozen functions
8072 * converter.C (runLaTeX):
8073 (scanLog): Better handling of removeAutoInsets and screen updates.
8075 * lyxfunc.C (dispatch): small whitespace changes
8077 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8079 * WorkArea.C (C_WorkAreaEvent): return a value.
8080 (event_cb): return 1 if we handled the event, 0 otherwise.
8082 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8084 2002-03-18 Juergen Vigna <jug@sad.it>
8086 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8087 (GetAdditionalWidth): ditto.
8091 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8092 inset if we're there actually (probably not used right now but this
8093 is the direction to go for unifying code).
8094 (paste): disable code to clear the selection.
8096 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8097 inside an InsetText and move the check further up as it is in the
8100 * text2.C (pasteSelection): set a selection over the pasted text.
8102 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8104 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8105 and libgraphics to build on Cygwin.
8107 2002-03-15 Juergen Vigna <jug@sad.it>
8109 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8110 inserting an Inset into the paragraph. I know this is not the best
8111 fix but we already use current_view in CutAndPaste so we will remove
8112 all of it's using at the same time.
8114 * buffer.C (sgmlError): deactivated function till it is rewritten in
8115 the right mode, now it can create problems.
8117 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8118 before accessing it.
8120 2002-03-14 Juergen Vigna <jug@sad.it>
8122 * undo_funcs.C (textHandleUndo): do the right thing when updating
8123 the inset after the undo/redo.
8125 * text2.C (setCursor): just some testcode for #44 not ready yet.
8127 * undo_funcs.C (textHandleUndo): set the next() and previous()
8128 pointers of the paragraph to 0 before deleting otherwise we have
8129 problems with the Paragraph::[destructor].
8131 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8132 on a paragraph insertion.
8134 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8136 * buffer.C (asciiParagraph): use += operator for char append to
8139 * paragraph.C (getFontSettings): compare >= not just >
8140 (highestFontInRange): ditto
8143 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8145 * paragraph.C: change several algorithm to be more appripriate for
8146 the problem domain. This is lookip in FontList and in the InsetList.
8148 2002-03-13 André Pönitz <poenitz@gmx.net>
8151 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8153 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8158 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8160 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8162 * Painter.C (display): anon helper function, adjust code for this
8164 (pixmap): remove function.
8166 * Painter.h: remove private display variable.
8168 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8170 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8172 * WorkArea.[Ch]: remove figinset_canvas cruft.
8174 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8176 * lyxtextclass.C (operator): add one item cache optimization.
8178 * bufferlist.h: doxy changes
8180 * bufferlist.C: ws changes
8182 * DepTable.[Ch] (ext_exist): place const in the right spot.
8184 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8186 (workAreaExpose): call resizeInsets when the with BufferView changes.
8187 (Dispatch): adjust for protectedBlank removal
8188 (specialChar): call updateInset if the insert went ok.
8190 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8191 specialChar instead.
8193 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8195 * BufferView.h: doxy change
8197 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8199 * lyxtextclass.C (operator[]): remove non-const version
8200 (defaultLayout): remove non-const version
8202 2002-03-12 Juergen Vigna <jug@sad.it>
8204 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8205 did resize the LyXText too.
8207 * buffer.C (readLyXformat2): set layout information on newly allocated
8210 * tabular.C (OldFormatRead): set layout information on the paragraph.
8212 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8214 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8216 2002-03-11 Juergen Vigna <jug@sad.it>
8218 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8220 (resizeCurrentBuffer): force also the insets to resize themselfes.
8221 (moveCursorUpdate): fixed up for InsetText.
8223 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8226 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8227 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8228 value of Dialogs::tooltipsEnabled().
8229 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8231 2002-03-08 Juergen Vigna <jug@sad.it>
8233 * BufferView_pimpl.C (updateInset): update inset inside inset also
8234 if it isn't inside theLockingInset().
8236 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8238 * buffer.C (asciiParagraph): redo some of the word and line length
8240 (getLists): look for Caption instead of caption.
8242 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8244 * buffer.C (Buffer): initialize niceFile to true
8247 (makeDocBookFile): make sure niceFile is true on exit
8249 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8251 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8253 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8255 * LyXSendto.C: remove.
8256 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8257 * lyx_gui.C: remove now-redundant comment.
8258 * ColorHandler.h: remove forward declaration of class WorkArea.
8259 * lyxfunc.C: remove #include "WorkArea.h".
8261 2002-03-07 Juergen Vigna <jug@sad.it>
8263 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8264 got moved away with the DEPM and also set the inset_owner always
8265 right which before could have been omitted.
8267 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8269 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8270 wanted layout is not found.
8272 2002-03-07 Juergen Vigna <jug@sad.it>
8274 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8276 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8278 * paragraph.C (breakParagraph): use default layout not layout of
8280 (Paragraph): clear ParagraphParameters.
8282 2002-03-06 Juergen Vigna <jug@sad.it>
8284 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8285 otherwise it would not be a valid lenght. Fixed a special case in
8286 the minipage compatibility read where we end the document with a
8289 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8290 was set as it could be 0 for InsetTexts first entry.
8292 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8294 * paragraph.C (writeFile): if layout is empty write out
8295 defaultLayoutName().
8297 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8298 file without named layout we set layout to defaultLayoutName().
8300 2002-03-06 Juergen Vigna <jug@sad.it>
8302 * CutAndPaste.C (copySelection): set layout for new paragraph.
8304 * text.C (prepareToPrint): leave ERT inset left aligned
8305 (leftMargin): don't indent paragraphs inside ERT insets
8307 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8309 * paragraph.C (breakParagraph): dont call clear do the work manually
8311 * paragraph.[Ch] (clear): remove function
8313 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8315 * paragraph.C (Paragraph): dont call clear, the work has already
8318 * lyxtextclass.C (operator): assert if n is empty
8320 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8321 work manually instead.
8323 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8325 * BufferView_pimpl.C: protect selectionLost against text == 0
8327 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8329 * text.C (breakParagraph): fix a setting layout to '0' problem.
8331 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8333 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8334 final location of file, for the included files, and graphics.
8336 2002-03-05 Juergen Vigna <jug@sad.it>
8338 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8340 2002-03-04 Juergen Vigna <jug@sad.it>
8342 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8344 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8345 last column of multicolumn cells.
8346 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8348 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8350 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8351 file if it doesn't go to a temporary file.
8353 * buffer.C (sgmlOpenTag):
8354 (sgmlCloseTag): remove extra newline insertion.
8356 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8358 * text.C (getRowNearY): comment out debug msg
8360 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8362 * text2.C: first -> first_y
8364 * text.C (getRowNearY): add some attemts at a possible
8365 optimization, not working.
8367 * tabular.[Ch]: add BufferParams to several function so that newly
8368 created paragraph can be initialized to he default layotu for the
8371 * tabular-old.C (ReadOld): add buf->params to call of Init
8373 * screen.C: rename text->first to text->first_y
8375 * paragraph.C (breakParagraph): always set layout in the broken
8378 * lyxtextclass.C (Read): remove lowercase
8381 (delete_layout): ditto
8383 * lyxtext.h: rename first -> first_y
8385 * lyxlayout.C (Read): remove lowercase
8388 (obsoleted_by): ditto
8390 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8392 * buffer.C (insertErtContents): add params are to InsetERT
8393 (parseSingleLyXformat2Token): add code to check if a paragraphs
8394 layout really exist.
8395 (parseSingleLyXformat2Token): add params to several inset
8397 (asciiParagraph): remove lowercase, do the layout comparisons with
8400 * BufferView_pimpl.C (cursorNext): first -> first_y
8401 (resizeCurrentBuffer): first -> first_y
8402 (updateScrollbar): first -> first_y
8403 (scrollCB): first -> first_y
8404 (workAreaMotionNotify): first -> first_y
8405 (workAreaButtonPress): first -> first_y
8406 (checkInsetHit): first -> first_y
8407 (cursorPrevious): first -> first_y
8408 (cursorNext): first -> first_y
8409 (Dispatch): add buffer_->params to severl inset contructors
8411 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8413 * lyxlayout.C (Read): remove some debug info that I forgot.
8415 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8416 clean up the code slightly.
8417 (makeLinuxDocFile): ditto
8418 (makeDocBookFile): ditto
8420 * text2.C: layout as string
8422 * text.C: layout as string
8424 * paragraph_pimpl.C: layout as string
8426 * paragraph.[Ch]: layout as string
8428 * lyxtextclasslist.[Ch]: layout as string
8430 * lyxtextclass.[Ch]: layout as string
8432 * lyxtext.h: layout as string
8434 * lyxlayout.[Ch]: layout as string
8436 * lyx_cb.C: layout as string
8438 * bufferview_funcs.C: layout as string
8440 * bufferparams.C: layout as string
8442 * buffer.C: layout as string
8444 * LyXView.[Ch]: layout as string
8446 * LaTeXFeatures.[Ch]: layout as string
8448 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8450 * BufferView_pimpl.C: change current_layout to string, remove
8455 (workAreaButtonRelease): layout as string
8457 * BufferView2.C (unlockInset): adjust
8459 * vspace.C (asLatexCommand): use an explict temp variable.
8461 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8463 * Makefile.am: use FRONTEND_*
8465 2002-03-01 Juergen Vigna <jug@sad.it>
8467 * tabular.C (SetWidthOfMulticolCell): changed to something better
8468 I hope but still work in progress.
8469 (recalculateMulticolumnsOfColumn): renamed function from
8470 recalculateMulticolCells as it is more appropriate now.
8471 (SetWidthOfCell): calculate multicols better.
8473 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8475 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8477 * lyxfunc.C (processKeySym): print sequence also if it is
8478 `deleted' (complete)
8480 * kbsequence.C (print): print sequence even if it is deleted
8481 (complete would be a better word, actually).
8483 * lyxfunc.C (dispatch): print complete options after a prefix key
8485 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8487 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8489 * text2.C (setCharFont): eliminate setCharFont code duplication.
8491 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8493 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8494 LFUN_TABULAR_FEATURE (bug #177)
8496 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8498 * Makefile.am: remove figure.h
8500 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8502 * Bufferview_pimpl.C:
8514 * text2.C: remove #include "lyx_gui_misc.h".
8516 * LaTeX.C: added #include <cstdio>
8518 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8520 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8521 that the paragraph following this one can have.
8523 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8525 * vspace.C (asLatexCommand): fix bogus gcc warning
8527 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8529 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8531 * text2.C (setLayout): get rid of redundant code
8533 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8535 * text2.C (incDepth): make sure depth cannot be increased beyond
8538 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8540 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8541 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8543 * PainterBase.h (image):
8544 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8547 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8551 * BufferView_pimpl.C:
8552 * BufferView_pimpl.h:
8572 * sp_spell.C: remove fig inset, and the crap house of
8573 cards that follows it
8575 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8581 * nt_defines.h: move .h into support/
8583 * vms_defines.h: remove
8585 * WorkArea.C: add space in debug output
8589 * buffer.C: add WITH_WARNINGS
8593 * bufferlist.C: s/retrive/retrieve/, add docs
8604 * lyxgui.C: add ID to X error handler
8606 * lyxtestclass.c: fix typo
8608 2002-02-26 Juergen Vigna <jug@sad.it>
8610 * tabular_funcs.C (write_attribute): changed so that some default
8611 attributes are not written at all.
8612 (getTokenValue): set default values before trying to read the
8613 value so we have the return value always set as default if we don't
8614 find the token we search for.
8616 * tabular.C (Write): write bools as bools not as strings!
8618 2002-02-22 Juergen Vigna <jug@sad.it>
8620 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8621 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8623 * text.C (leftMargin): don't add an indent for paragraphs inside
8624 tabular cells (fix #208).
8626 2002-02-21 José Matos <jamatos@fep.up.pt>
8628 * tabular.C (docBook): fixed support for long tables.
8630 2002-02-20 Juergen Vigna <jug@sad.it>
8632 * text2.C (getFont): get the drawing font of the Inset if this
8633 paragraph is inside an inset (only important for InsetERT for now).
8635 * buffer.C (insertErtContents): use new lanugage params in ERT
8638 * CutAndPaste.C: commenting out seemingly uneeded code.
8640 2002-02-19 Allan Rae <rae@lyx.org>
8642 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8643 Iterators might be simple to use but they also get invalidated.
8644 (removeAutoInsets): renamed saved cursor tracking variables and added
8645 some comments to clarify what everything does.
8647 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8654 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8655 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8658 * vc-backend.h: remove #include "support/syscall.h"
8662 * converter.C: rearrange #includes in Lars' approved fashion.
8664 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8665 forward declare class Timeout in the header file.
8667 * XFormsView.C: changes due to the above.
8669 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8672 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8673 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8675 2002-02-18 José Matos <jamatos@fep.up.pt>
8677 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8680 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8682 * a lot of small ws changes
8683 * add a lot of using std::XXX
8684 * use std construcs some places where approp.
8685 * use some exisint stuff from lyxfunctional where approp.
8686 * Make file changes to use partial linking (lets test this now...)
8688 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8692 remove #include "support/syscontr.h" as it's redundant. Always has been.
8700 change Systemcalls::System to Systemcalls::Wait and
8701 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8702 No change of functionality, just reflects the stripped down Systemcalls
8705 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8707 * debug.[Ch]: add a GRAPHICS type to the enum.
8709 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8711 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8713 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8716 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8718 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8719 match the changes below.
8721 * text2.C (toggleInset): if there is not editable inset at cursor
8722 position, try to see if cursor is _inside_ a collapsable inset
8725 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8727 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8728 document menu has a nice checkbox
8730 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8732 * lyxlength.C (asLatexString): change PW to output as percent of
8735 * lengthcommon.C: change '%' to 't%'
8737 * lyxfunc.C (dispatch): a few comments from Martin
8739 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8743 * BufferView_pimpl.h:
8744 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8747 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8749 * vspace.C (inPixels): fix compiler warning
8751 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8753 * lyxfunc.C (getStatus): fix status message for disabled commands.
8755 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8757 * BufferView_pimpl.C: fix crash on close buffer
8758 during selection (#227)
8760 2002-01-27 Herbert Voss <voss@lyx.org>
8762 * buffer.C: link old Figure to new graphic inset
8764 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8766 * FontLoader.C (getFontinfo): Change the latex font names in order
8767 to match the names of type1inst.
8769 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8771 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8773 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8776 (remove_files_with_extension): ditto
8777 (remove_file): ditto
8780 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8781 document is smaller than the work area height. Do not initialize
8782 static variables to 0.
8784 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8786 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8788 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8789 LFUN_LAYOUT_PARAGRAPHS.
8791 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8792 tabular. It is possible to provide a possible cell, which will
8793 typically be the actcell from the corresponding insettabular
8795 * lyxfunc.C (getStatus): small cleanup; disable
8796 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8799 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8801 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8803 * paragraph.C (startTeXParParams):
8804 (endTeXParParams): new methods. The LaTeX code to
8805 start/end paragraph formatting
8806 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8807 empty (fixes bug #200)
8809 * vspace.C (inPixels): adapt to the change below
8810 (inPixels): [later] more cleanups (remove unused variables)
8812 * lyxlength.C (inPixels): change to use a width and a height as
8815 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8817 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8818 Replaced with \paperwidth
8820 * DepTable.C (insert): add std:: qualifier
8822 2002-01-18 Allan Rae <rae@lyx.org>
8824 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8827 * text.C (drawInset): Turned out I didn't know enough about how
8828 rebreaking worked. This fixes most of the redraw problems. I see
8829 an occasional cursor trail when a line is broken now and the cursor
8830 placement can seem out by a few pixels also after a rebreak.
8832 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8834 * buffer.C (parseSingleLyXformat2Token): update because minipage
8835 width is now a LyXLength
8837 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8839 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8842 2002-01-17 Juergen Vigna <jug@sad.it>
8844 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8846 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8847 is set correctly and the inset is updated correctly.
8849 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8851 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8852 the beginning of the loop.
8854 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8856 * lyxrc.C: improve help for use_scalable_fonts
8858 2002-01-17 Allan Rae <rae@lyx.org>
8860 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8862 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8864 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8865 make sure to set their inset_owner to the right value (bug #171)
8867 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8870 * DepTable.C: Implement mtime checking to reduce time spent doing
8873 2002-01-16 Juergen Vigna <jug@sad.it>
8875 * tabular.C (GetAdditionalHeight): one of error fixed.
8877 * lyxrc.C (output): small fix in writing use_pspell.
8879 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8881 * sp_base.h: #include LString.h
8883 2002-01-16 Allan Rae <rae@lyx.org>
8885 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8886 Can someone check this please?
8888 * text.C (drawInset): It was possible that p.row would be removed by
8889 breakAgainOneRow upsetting a few other settings. There may be another
8890 small tweak possible by setting need_break_row = 0 when p.row has been
8891 removed but I don't know enough about the logic here.
8893 2002-01-15 Allan Rae <rae@lyx.org>
8895 * text.C (insertChar): removed conditional truism.
8897 * BufferView2.C (removeAutoInsets): More tweaks.
8898 cur_par_prev could be a stray pointer. Check for trailing empty line
8899 in case last line was cur_par and only had an error inset on it.
8901 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8903 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8906 * vc-backend.C (most methods):
8907 * exporter.C (Export):
8908 * converter.C (convert):
8910 * LyXSendto.C (SendtoApplyCB):
8911 * lyxfunc.C (dispatch):
8915 * lyx_cb.C (AutoSave):
8917 * BufferView_pimpl.C (MenuInsertLyXFile):
8918 * buffer.C (runChktex): use Buffer::filePath().
8920 * buffer.h: rename filename to filename_; rename filepath to
8921 filepath_ and make it private
8922 (filePath): new method
8924 * buffer.C (writeFile): use fileName()
8927 * lyx_main.C (init): fix starting of LyX when the binary is a
8928 link from so,ewhere else.
8930 * minibuffer.C: include <cctype> for isprint
8932 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8934 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8935 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8936 name clash with InsetCollapsable's width function.
8938 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8940 * lastfiles.C: include <iterator>
8942 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8944 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8947 * buffer.C (makeLaTeXFile): ditto.
8948 Also make loop operation more transparent.
8950 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8952 * ToolbarDefaults.C: remove trailing comma closing namespace.
8954 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8956 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8959 * trans.C (Load): comment out unused variable, allowed.
8961 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8963 * minibuffer.[Ch] (append_char): new method to recieve input from the
8964 drop-down completion browser. If a key was pressed, then recieve this
8965 char and append it to the existing string.
8966 (peek_event): modify the positioning data passed to the completion
8967 browser so that it can be placed above the minibuffer rather than below.
8968 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8970 * LyXAction.C (init): alloe error-next for readonly documents.
8972 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8975 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8977 * bufferlist.C (readFile): create the buffer _after_ checking that
8980 * lyxfunc.C (verboseDispatch): fix handling of arguments
8982 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8984 * lyxrc.C: use string::erase() instead of initializing to "".
8987 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8989 * BufferView_pimpl.h:
8990 * BufferView_pimpl.C:
8993 * text2.C: tell X when we have made a selection for copying
8995 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8997 * BufferView_pimpl.C (MenuInsertLyXFile):
8998 * lyxfunc.C (menuNew):
9000 (doImport): add shortcuts to directory buttons
9002 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9005 * lyxfunc.C (setStatusMessage):
9006 (getStatusMessage): new methods
9007 (getStatus):use setStatusMessage instead of setErrorMessage
9008 (dispatch): when function is disabled, set error message here
9009 [instead of in getStatus previously]
9011 * BufferView_pimpl.C (workAreaButtonRelease): update
9012 toolbar/menubar here too.
9014 2002-01-13 Allan Rae <rae@lyx.org>
9016 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9017 Now seems indestructible. Remaining task is to audit all other
9018 code affected by deleteEmptyParagraphMechanism. One small quirk
9019 left is that an empty document with an error in the preamble can
9020 be made to report an error but no error box appears. I don't know
9022 (removeAutoInsets): Improved comments.
9024 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9027 * Thesaurus.C: update for Aiksaurus 0.14
9029 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9031 * text2.C (firstParagraph): removed member function, all uses
9032 replaces with ownerParagraph
9033 (redoParagraphs): here
9035 (toggleAppendix): here
9036 * BufferView2.C (insertErrors): here
9037 (setCursorFromRow): here
9039 2002-01-13 Allan Rae <rae@lyx.org>
9041 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9042 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9043 There is still a way to segfault this although you may have to do this
9044 multiple times: Have an InsetERT with an unknown command in it.
9045 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9046 <down-arrow>, <Enter> again, View->DVI, BANG!
9048 * text2.C (setCursor):
9049 (deleteEmptyParagraphMechanism):
9050 * lyxtext.h (setCursor):
9051 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9052 Making use of the return value may help fix other bugs.
9054 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9056 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9058 * LyXView.C (updateMenubar): call MenuBar::update here
9059 (updateToolbar): but not here
9060 (showState): do not update toolbar/menubar
9062 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9063 should need to care about that.
9065 * lyxfunc.C (verboseDispatch): simplify a bit
9066 (getStatus): have a version which takes a pseudoaction, and
9067 another which requires a (kb_action,string).
9069 * LyXAction.C (retrieveActionArg): make it work also when action
9070 is not a pseudo-action.
9071 (getActionName): simplify a bit
9074 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9076 * lyxfunc.C (verboseDispatch): new families of methods with
9077 several ways to specify a command and a bool to indicate whether
9078 the command name and shortcut should be displayed in minibuffer
9079 (eventually, we could extend that to a finer bitmask like
9080 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9081 (dispatch): the pristine dispatch command which just, well,
9082 dispatchs! Note it still sets its result to minibuffer; I'm not
9085 * lyxfunc.h: remove setHintMessage
9087 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9089 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9091 * BufferView_pimpl.C (specialChar): delete new inset if we have
9092 not been able to insert it.
9094 * kbmap.C: revert to using int instead of kb_action, since all we
9095 are dealing with is pseudo-actions.
9097 * LyXAction.C (searchActionArg): change to return int instead of
9098 kb_action, since the result is a pseudoaction.
9100 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9102 * buffer.C (insertErtContents): Fix (partially) the font bug.
9104 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9106 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9107 as the other one is broken on my machine!
9109 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9112 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9114 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9116 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9117 reflect their actual use. Provide compatibility code for older lyxrc
9120 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9122 change names of popup font variables in line with the changes to lyxrc.C
9124 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9126 * buffer.C (asciiParagraph): avoid outputing a word twice after
9129 * lyxrc.C (getDescription): document that document_path and
9130 template_path can be empty.
9132 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9134 * LaTeXFeatures.C (getMacros):
9135 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9137 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9139 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9141 (getPackages): rename feature "floats" to "float". Use an array to
9142 iterate over 'simple' features (i.e. just a \usepackage). Add
9143 handling of "amsmath" (renamed from "amsstyle").
9145 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9147 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9150 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9152 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9153 FuncStaus::FuncStatus & FuncStaus::some_method().
9155 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9157 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9158 of the func_satus stuff. Edited and massaged in various ways by
9161 * lyxfunc.C (getStatus): use FuncStatus
9163 2002-01-08 Juergen Vigna <jug@sad.it>
9165 * text.C (nextBreakPoint): use function Inset::isChar().
9167 * paragraph.C (TeXOnePar): use function
9168 Inset::forceDefaultParagraphs.
9170 * buffer.C (latexParagraphs): use function
9171 Inset::forceDefaultParagraphs.
9173 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9175 * lyx_gui.C (init): set the style of the menu popups to
9176 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9178 2002-01-07 Juergen Vigna <jug@sad.it>
9180 * text.C (setHeightOfRow): small fix
9181 (prepareToPrint): don't look at alignment if we don't have the place
9184 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9186 * box.C: New file. Move the Box methods and functions out of box.h,
9187 following Lars' suggestion.
9189 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9191 * box.h: #include "support/LOstream.h", needed for inlined function.
9194 * lyxtextclasslist.C: added some using std declarations.
9196 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9198 * box.h: make signed dimensions to allow insets wider than
9199 the screen (bug #162)
9201 * BufferView_pimpl.C: add some insetHit debug
9203 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9205 * vc-backend.C: add FIXME
9207 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9209 * lyxfunc.C (getStatus): enable code for showing math font status
9212 2002-01-07 Juergen Vigna <jug@sad.it>
9214 * text.C (nextBreakPoint): removed debug output not needed anymore.
9216 2002-01-06 Juergen Vigna <jug@sad.it>
9218 * text.C (nextBreakPoint): fixed up this function we had this bug
9219 since ever but now hopefully we break row better.
9220 (insertChar): we have to check if an inset is the next char as it
9221 could now happen that a large inset is causing a break.
9223 2002-01-05 Juergen Vigna <jug@sad.it>
9225 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9226 if it doesn't like to be drawed.
9228 2002-01-04 Juergen Vigna <jug@sad.it>
9230 * BufferView2.C (lockInset): forgot to set a cursor.
9232 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9234 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9239 * form_maths_panel.C:
9240 * form_maths_panel.h:
9241 * form_maths_panel.fd: implemented sub- and super- buttons in math
9244 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9245 (or ^ space) to be used as in TeX (req'd by André).
9247 * lyxfunc.C: Allow ^ and _ again to be used both as
9248 super/subscript (mathed) and as themselves (in text).
9250 2002-01-03 Allan Rae <rae@lyx.org>
9252 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9253 "LyX" or the filename of the current buffer if it has one. This is a
9254 modified form of John Levon's patch.
9256 * XFormsView.C (setWindowTitle): also set icon title.
9258 * LyXView.h (setWindowTitle): signature changed.
9259 * XFormsView.h (setWindowTitle): ditto.
9261 2002-01-02 Juergen Vigna <jug@sad.it>
9263 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9265 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9267 * screen.C (topCursorVisible): introduce a temp var for
9268 text->cursor.row(), handle the case where this row is null. (kindo
9271 * text2.C (setCursor): add a couple of asserts.
9273 * paragraph.h (inset_iterator): add -> operator
9275 * paragraph.[Ch] (autoDeleteInsets): remove member function
9277 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9278 cursor pos correctly and handle inset deletion by itself.
9279 (insertErrors): move iterator declaration out of for expression
9281 * lyxtextclass.C: add <algorithm>
9283 * Makefile.am: added the new files to sources, removed layout.C
9285 * layout.C: removed file
9287 * layout.h: remove LYX_DUMMY_LAYOUT
9289 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9293 * lyxtextclass.[Ch]:
9294 * lyxtextclasslist.[Ch]: new files
9296 * include order changes to a lot of files, also changes because of
9299 2001-12-27 Juergen Vigna <jug@sad.it>
9301 * buffer.C (asciiParagraph): more fixes.
9303 * tabular.C (ascii): make ascii export support export of only the
9304 data separated by a column-delimiter.
9305 (ascii): better support for ascii export.
9307 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9309 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9311 * tabular_funcs.C: use a "using std::getline" instead of the
9312 previous fix from Angus (necessary for cxx + lyxstring)
9314 2001-12-24 Juergen Vigna <jug@sad.it>
9316 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9318 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9319 problems. First check a minipage also if we have some ert-contents
9320 (not only on par->size(), second set the right depth of the paragraph
9321 on the relink to the root-paragraph-list!
9323 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9324 which then did not anymore update the main paragraphs on undo/redo!
9326 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9328 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9329 code. Support all font-changing funcs (even those which are not in
9330 menu currently). Support for reporting font settings in
9331 mathed (disabled until Andre provides a function on mathed's side).
9333 * func_status.h (toggle): small helper function to set toggle
9336 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9338 * tabular_funcs.C: getline -> std::getline
9340 2001-12-21 Juergen Vigna <jug@sad.it>
9342 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9343 accessed and could be 0 (I couldn't generate this but it seems
9346 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9348 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9349 * tabular_funcs.h: here and include iosfwd
9351 2001-12-20 Juergen Vigna <jug@sad.it>
9353 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9354 inside inset but undo_par was.
9356 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9358 * Thesaurus.C: always include <config.h> in sources.
9362 * box.h: do not include <config.h> in header files
9364 * text.C (paintLastRow): remove unused variable
9366 * text.C (transformChar):
9368 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9371 * font.C (width): rewrite to use uppercase() instead of
9374 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9376 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9378 * lyxfind.C: clean up of find failure position change
9380 2001-12-20 Juergen Vigna <jug@sad.it>
9382 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9384 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9385 (TeXRow): added to LaTeX a single tabular row.
9386 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9387 (Latex): simplified and finally good LT-h/f support.
9388 (various_functions): just small adaptions for LT-h/f support.
9390 * tabular_funcs.[hC]: added and moved here all not classfunctions
9393 2001-12-19 Juergen Vigna <jug@sad.it>
9395 * tabular.[Ch]: better support for longtabular options (not finished
9398 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9400 * text.C (paintLastRow): use the label font instead of the font of
9401 the last character to compute the size of *_BOX. This makes more
9402 sense and avoids a crash with empty paragraphs.
9403 Use Painter::rectangle to draw EMPTY_BOX.
9405 2001-12-19 Juergen Vigna <jug@sad.it>
9407 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9408 the paragraphs if the replaced paragraph is not the first one!
9409 Tried to delete not used paragraphs but does not work yet so for
9410 now it's inside #ifdef's and by default off!
9412 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9414 * MenuBackend.C: include "lyx_main.h" instead of declaring
9415 lastfiles (actually was declared as LastFiles* instead of a
9418 2001-12-17 Juergen Vigna <jug@sad.it>
9420 * tabular.C (AppendColumn): applied John's fix
9422 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9426 * BufferView_pimpl.h:
9427 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9430 * box.h: new start of class for above
9432 * lyxfunc.C: ignore space-only minibuffer dispatches.
9433 Show the command name when it doesn't exist
9435 * minibuffer.C: don't add empty lines to the history
9437 * minibuffer.C: add a space on dropdown completion
9439 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9441 * text.C: fix line above/below drawing in insets
9443 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9445 * lyxlength.C (LyXLength): Initialize private variables.
9447 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9449 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9450 when inserting error insets.
9452 2001-12-13 Juergen Vigna <jug@sad.it>
9454 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9455 actually sometimes the before-paragraph.
9456 (setUndo): don't clear the redostack if we're not actually undoing!
9458 2001-12-06 Juergen Vigna <jug@sad.it>
9460 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9461 and fixed redoing of main paragraph, so we can use it now ;)
9463 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9465 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9467 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9470 2001-12-13 André Pönitz <poenitz@gmx.net>
9473 * undo_func.C: minor cleanup
9475 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9477 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9478 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9479 font in urw-fonts package which is marked as -urw-fontspecific and
9480 does not work (incidentally, changing the encoding in the
9481 fonts.dir of this package to -adobe-fontspecific fixes the
9484 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9485 is a crash when undoing first paragraph (Juergen, please take a
9486 look). THis does not mean the undo fix is wrong, just that it
9489 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9490 the (Paragraph*) version when needed instead of duplicating the
9493 * text.C (workWidth): use Inset::parOwner to find out where the
9494 inset has been inserted. This is a huge performance gain for large
9495 documents with lots of insets. If Inset::parOwner is not set, fall
9496 back on the brute force method
9498 * paragraph_pimpl.C (insertInset):
9499 * paragraph.C (Paragraph):
9500 (cutIntoMinibuffer): set parOwner of insets when
9501 inserting/removing them
9503 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9505 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9511 * mathed/formulabase.C:
9512 * mathed/math_cursor.[Ch]:
9513 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9516 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9518 * lyxlength.[Ch] (operator!=): new function
9520 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9522 * text.C (workWidth): use Inset::parOwner to find out where the
9523 inset has been inserted. This is a huge performance gain for large
9524 documents with lots of insets. If Inset::parOwner is not set, fall
9525 back on the brute force method
9527 * paragraph_pimpl.C (insertInset):
9528 * paragraph.C (Paragraph):
9529 (cutIntoMinibuffer): set parOwner of insets when
9530 inserting/removing them
9532 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9534 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9536 * tabular-old.C (getTokenValue):
9537 * tabular.C (getTokenValue):
9538 (write_attribute): new versions for LyXLength
9539 (everywhere): adjust the use of widths
9541 * tabular.h: change the type of widths from string to LyXLength
9543 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9545 * paragraph.C: fixed missing line number count when exporting
9546 Environments to LaTeX file
9548 * buffer.C: added informational message for checking line numbers.
9550 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9552 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9553 paragraph, do the 'double space' part, but not the 'empty
9556 * text.C (workWidth): small optimization
9557 (getLengthMarkerHeight): use minimal size for negative lengths.
9559 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9561 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9563 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9565 2001-12-11 André Pönitz <poenitz@gmx.net>
9568 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9570 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9572 * text2.C: keep selection on a setFont()
9574 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9576 * lyx_cb.C: another bv->text misuse, from insert label
9578 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9581 * kbsequence.C: re-instate nmodifier mask
9583 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9585 * lyx_main.h: make lyxGUI private.
9587 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9589 * lyxfind.C: place the cursor correctly on failed search
9591 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9593 * text.C (getLengthMarkerHeight): for small heights, the arrows
9594 are not always on top/bottom of the text
9595 (drawLengthMarker): smaller arrows; take the left margin in
9596 account; draw also vfills.
9598 (paintLastRow): remove special code for vfill and standard spaces,
9599 since everything is handled in drawLengthMarker now.
9601 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9603 * buffer.C (insertErtContents): try to handle font and language
9604 interaction a bit better.g
9606 * ColorHandler.C (updateColor): change the hash to cover the whole
9607 LColor enum, ws cleanup
9608 (getGCLinepars): ditto
9609 (getGCLinepars): only lookup in the linecache once.
9611 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9613 * iterators.C (operator++): Make the iterator more robust
9615 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9617 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9619 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9622 * text.C: better added space drawing
9624 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9627 * BufferView2.C: fix layout combo update on inset unlock
9629 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9631 * Makefile.am: don't compile unused files
9633 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9637 * LyXAction.C: remove old LFUN_LAYOUTNO
9639 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9641 * paragraph_pimpl.h:
9642 * paragraph_pimpl.C: isTextAt() doesn't need font param
9644 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9647 * lyxlex.C: little cleanup
9649 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9651 * BufferView_pimpl.C: fix insertAscii for insets
9653 2001-12-05 Juergen Vigna <jug@sad.it>
9655 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9656 set the right font on the "multi" paragraph paste!
9658 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9664 * lyxlength.C: remove out-commented code.
9680 * vc-backend.C: change "while(" to "while ("
9682 * lyxlength.[Ch]: add zero function to check if length is zero or
9684 * lyxgluelength.C: use it
9686 2001-12-05 Allan Rae <rae@lyx.org>
9688 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9689 Works for 2.95.3, from what I understand of Garst's reports this should
9690 work for other g++ versions. We're screwed if the abs(int) definition
9691 changed between bugfix releases of gcc.
9693 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9695 * text.C: fix chapter label offset !
9697 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9700 * text.C: fix hfill at end of line, clean up
9702 2001-12-04 Juergen Vigna <jug@sad.it>
9704 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9705 that we force an update of the inset and it's owners if neccessary.
9707 2001-12-03 Juergen Vigna <jug@sad.it>
9709 * text.C (rowLast): simplified code
9711 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9713 * lyxfunc.C: fix show options on timeout
9715 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9717 * screen.C (topCursorVisible): scroll half a page when the cursor
9718 reached top of bottom of screen
9720 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9722 * minibuffer.C: deactivate on loss of focus
9724 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9726 * vspace.[Ch] (operator!=): add operator.
9728 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9730 * BufferView_pimpl.C: refuse to open an inset when
9731 there's a selection.
9733 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9735 * BufferView_pimpl.C: allow to click on RHS of full row insets
9737 2001-11-30 Juergen Vigna <jug@sad.it>
9739 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9740 insets for undo reasons.
9742 2001-11-28 André Pönitz <poenitz@gmx.net>
9744 * vspace.[Ch]: cosmetical changes
9746 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9756 * kbsequence.C: part re-write of old kb code
9759 * WorkArea.C: remove Lgb_bug_find_hack
9761 2001-11-30 José Matos <jamatos@fep.up.pt>
9763 * buffer.C (makeDocBookFile): add a comment to point a hack.
9764 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9765 Fixed a double write of labels.
9767 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9770 * LaTeX.h Fixed bug in LaTeX class where it would not
9771 re-run latex if no depfiles were changed, but the .dvi was removed.
9773 2001-11-28 André Pönitz <poenitz@gmx.net>
9775 * all the files from the change on 2001/11/26:
9776 use lyx::layout_type instead of LyXTextClass::size_type
9777 use lyx::textclass_type instead of LyXTextClassList::size_type
9779 2001-11-29 Juergen Vigna <jug@sad.it>
9781 * text.C: added support for paragraph::isFreeSpacing()
9783 * buffer.C: same as above
9785 * paragraph.h: inserted isFreeSpacing() function to enable
9786 FreeSpacing inside InsetERT.
9788 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9789 of the paragraph's in the cut/copy buffer to 0!
9791 * text2.C (removeRow): remove the assert as it can!
9793 * lyxtext.h: added helper function firstRow returning firstrow and
9794 made firstrow private again.
9796 * BufferView2.C (lockInset): don't relock if we're already locked!
9798 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9800 (removeRow): added Assert::(firstrow)
9802 * debug.C: forgot to add INSETTEXT here.
9804 2001-11-28 Juergen Vigna <jug@sad.it>
9806 * sp_spell.C (initialize): changed error text to more general
9807 spellchecker command use (not only ispell!)
9809 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9811 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9813 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9815 * vspace.C: initialise lyxgluelength on failure
9817 2001-11-28 Allan Rae <rae@lyx.org>
9819 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9820 declaration & definition that looks like a function declaration.
9822 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9824 * BufferView2.C (copy):
9825 (copyEnvironment): do not clear the selection when doing a copy.
9827 * text.C (paintFirstRow): compilation fix
9829 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9831 * tabular.C (Latex): correct line count when writing latex.
9833 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9835 * paragraph_pimpl.h:
9836 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9839 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9843 * LColor.C: change vfillline->added_space
9845 * text.C: add markers and text for added space
9847 * vspace.C: fix comment
9849 2001-11-28 André Pönitz <poenitz@gmx.net>
9851 * paragraph.C: whitespace changes
9852 * all the other files from the change on 2001/11/26:
9853 change *::pos_type into lyx::pos_type
9855 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9857 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9858 language of the document when inserting error insets.
9860 2001-11-26 André Pönitz <poenitz@gmx.net>
9862 * BufferView_pimpl.[Ch]:
9870 * paragraph_pimpl.[Ch]:
9873 * text2.C: reduce header dependencies, introduce type for positions
9875 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9877 * <various>: change to use Alert.h
9879 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9881 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9882 when encountering an unknown token.
9883 (readLyXformat2): Show an error message if there were unknown tokens.
9885 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9888 * BufferView_pimpl.C:
9892 * text2.C: use par->isInset()
9894 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9896 * paragraph_pimpl.h:
9897 * paragraph_pimpl.C: cleanup
9899 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9901 * text2.C (removeRow):
9902 * text.C (setHeightOfRow): remove useless (and costly) call to
9905 2001-11-20 Allan Rae <rae@lyx.org>
9907 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9908 Now need Inset*::checkInsertChar() to return true for appropriate
9909 cases so that the characters in the minibuffer will actually be
9912 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9914 * text.C: change the order of the includes.
9915 (workWidth): initialize it at once.
9916 (workWidth): make maxw unsigned
9917 (setHeightOfRow): remove unused variable (inset)
9918 (selectSelectedWord): remove unused variable (inset)
9919 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9921 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9923 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9924 server is not running.
9926 (closeConnection): add debug info when server is disabled.
9928 * ColorHandler.C (getGCForeground): send debug message to GUI
9931 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9933 * kbmap.C (bind): modify because return conventions of
9934 kb_sequence::parse have changed.
9936 * kbsequence.C (parse): only ignore spaces and not any stupid
9937 control character. This avoids tests like s[i] <= ' ', which are
9938 guaranteed to fail with 8bit characters and signed chars.
9939 Change return code to string::npos when there have been no error
9940 (0 was a bad idea when error is at first character)
9942 2001-11-14 José Matos <jamatos@fep.up.pt>
9945 * buffer.C (simpleDocBookOnePar): removed unused argument.
9947 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9949 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9950 insets which are part of a word. Paragraph::isLetter takes care of
9951 that now. Use Paragraph::isInset to identify insets.
9952 (selectSelectedWord): do not test for hyphenation break.
9954 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9955 that protected spaces are considered as spaces.
9957 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9960 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9963 * lyxserver.C: fix it. and small cleanup.
9965 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9967 * BufferView_pimpl.C: use inline helpers
9970 * LaTeXFeatures.C: fix typos
9973 * Spacing.C: move spacing_string into class
9975 * ToolbarDefaults.C: move stuff into namespace anon
9977 * layout.h: update enum
9979 * lyxfunc.C: use better debug
9981 * minibuffer.h: fix typo
9985 * WorkArea.C: add and use Debug::WORKAREA
9989 * text2.C: code re-organisation, inline helpers
9991 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9993 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9994 std::vector.empty().
9996 2001-11-09 Allan Rae <rae@lyx.org>
9998 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9999 '\n's after tables. Tabular and ERT inset work now makes this no
10002 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10005 * minibuffer.C: fix crash, improve drop-down completion
10007 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10010 * lyxserver.C: invalidate fd's when doing endPipe()
10012 2001-11-08 José Matos <jamatos@fep.up.pt>
10014 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10015 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10018 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10020 2001-11-07 José Matos <jamatos@fep.up.pt>
10023 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10026 * buffer.C (sgmlOpenTag):
10027 * buffer.C (sgmlCloseTag): removed debug info.
10029 * buffer.h (sgmlOpenTag):
10030 * buffer.h (sgmlCloseTag): made public.
10032 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10034 * buffer.C (saveParamsAsDefaults):
10035 * lyx_cb.C (MenuLayoutSave): remove
10037 * LyXAction.C (init):
10039 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10041 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10043 * buffer.C (setPaperStuff): removed from here...
10045 * bufferparams.C (setPaperStuff): ... and moved there.
10047 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10051 * XFormsView.C: add support for drop-down completion
10053 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10055 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10058 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10060 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10063 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10065 * lyx_main.C: change ref to known bugs
10067 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10069 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10070 to work around older babel problems.
10072 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10074 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10076 2001-10-24 Juergen Vigna <jug@sad.it>
10078 * tabular-old.C (ReadOld): below variable changes reflected.
10080 * tabular.[Ch]: added ltType struct for longtable header/footer
10081 defines and changed all instances where they are used. Added
10082 future support for double top/bottom rows.
10084 2001-10-24 José Matos <jamatos@fep.up.pt>
10086 * buffer.h (docbookHandleCaption):
10087 * buffer.C (docbookHandleCaption): removed unused function.
10088 (makeDocBookFile): moved docbook supported version to v4.1.
10090 2001-10-24 José Matos <jamatos@fep.up.pt>
10093 * tabular.C (docbookRow): new function to export docbook code of a row.
10094 (DocBook): now honors the longtable flags.
10096 2001-10-23 José Matos <jamatos@fep.up.pt>
10099 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10100 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10102 * buffer.C (makeLinuxDocFile):
10103 (makeDocBookFile): reworked the preamble, more clean, and with
10104 support for lyx defined entities. Changed the document declaration
10105 to be more XML friendly.
10107 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10108 if we need to output XML that should be done with a filter.
10110 2001-10-22 Juergen Vigna <jug@sad.it>
10112 * sp_pspell.h (class PSpell): add alive function needed in the
10113 controller to see if the spellchecker could be started.
10115 2001-10-22 Juergen Vigna <jug@sad.it>
10117 * buffer.C (insertStringAsLines): modify the font for inserting
10118 chars in certain conditions by calling checkInsertChar(font).
10120 2001-10-19 Juergen Vigna <jug@sad.it>
10122 * text.C (workWidth): use getRow instead of wrong algorithm.
10123 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10125 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10130 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10132 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10134 * text.C (workWidth): do not search for the exact row when
10135 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10136 optimization for big documents.
10138 2001-10-18 Juergen Vigna <jug@sad.it>
10140 * text.C (workWidth): new function with added Inset * parameter.
10142 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10144 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10146 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10147 change return type of getColumnNearX.
10150 * text.C (changeRegionCase): use uppercase/lowercase instead of
10153 (rightMargin): simplify code by factoring out the uses of
10158 (appendParagraph): use Paragraph::size_type
10160 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10162 * vspace.C (asLatexString): add a missing break
10164 2001-10-15 Herbert Voss <voss@perce.de>
10166 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10168 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10170 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10173 2001-10-10 André Pönitz <poenitz@gmx.net>
10175 * lyxfunc.C: removed greek_kb_flag.
10177 2001-10-10 Herbert Voss <voss@perce.de>
10179 * lyx_main.C: delete global string help_lyxdir.
10181 2001-10-09 Herbert Voss <voss@perce.de>
10183 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10185 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10187 * lyx_main.C: added global string help_lyxdir.
10189 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10191 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10193 * lyxrc.C (set_font_norm_type): support iso8859-4
10195 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10197 * LaTeX.C (deplog): add another regex for MikTeX
10199 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10201 * lyxrc.C (set_font_norm_type): support iso8859-3
10203 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10205 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10207 * LaTeXFeatures.C: remove special case of french and index
10209 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10210 before \begin{document}). This solves several incompatibilities.
10212 2001-10-03 Garst Reese <reese@isn.net>
10214 * lyx_cb.C: change CheckTex error msg.
10216 2001-10-03 José Matos <jamatos@fep.up.pt>
10218 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10220 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10222 * .cvsignore: update
10224 * lyx_main.C (commandLineVersionInfo): use new style version info.
10226 * buffer.C (writeFile):
10228 (makeLinuxDocFile):
10229 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10231 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10233 * version.h: update to use stuff in version.C
10235 * version.C.in: new file. Contains version information determined
10236 at compile time. This is a merging of version.h and
10239 2001-10-03 Juergen Vigna <jug@sad.it>
10241 * BufferView_pimpl.C (update): don't change "dirty" status in
10244 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10246 * WorkArea.C (c-tor): re-position version string slightly.
10248 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10250 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10251 revert to previous code.
10253 WorkArea.[Ch]: (show, destroySplash): methods removed.
10255 WorkArea.C: rework code so that it's an amalgam of the codes before and
10256 after the splash screen was moved to WorkArea.
10258 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10261 * vspace.C (inPixels):
10264 * buffer.C (insertStringAsLines):
10265 (asciiParagraph): fix types to be large enough
10267 * lyxlex_pimpl.h: change member status from short to int
10269 * layout.h: fix type of endlabeltype
10272 * kbsequence.C (parse): change return type to string::size_type
10274 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10277 * Bullet.C (bulletSize):
10278 (bulletEntry): do not use short ints as parameters
10280 * BufferView2.C (insertLyXFile): change a char to an int.
10282 * WorkArea.C (WorkArea): remove unneeded floats in computation
10284 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10286 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10288 * paragraph.C (asString): Do not ignore newline/hfill chars when
10289 copying to the clipboard.
10291 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10293 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10294 after a multi-line inset.
10296 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10298 * paragraph.C (validate): Set NeedLyXFootnoteCode
10300 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10302 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10303 and decrease-error to decrease.
10305 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10307 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10308 it more readable (should be equivalent)
10310 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10312 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10314 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10316 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10317 of a cursor (row, etc.) after a character has been deleted
10318 (deleteEmptyParagraphMechanism): call the method above on _all_
10319 cursors held by the LyXText when a double space has been
10322 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10324 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10326 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10328 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10329 background. Use greyOut() and the new show() methods to toggle between
10330 the foreground and background. Add code to remove the splash after
10331 its initial showing.
10333 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10334 (create_forms): no longer call Dialogs::showSplash.
10336 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10338 * .cvsignore: add version_info.h
10340 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10342 * version_info.h.in: new file
10344 * Makefile.am: add version_info.h.in
10346 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10347 version_info.h instead of VERSION_INFO
10349 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10351 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10352 The ERT inset now returns string().
10354 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10356 * lyxtext.h, text.C (selectNextWord): renamed as
10357 selectNextWordToSpellcheck.
10359 * text.C (selectNextWordToSpellcheck): Modified to not select
10360 words inside an ERT inset.
10362 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10364 * lyx_cb.C (MenuLayoutSave): change a bit the question
10366 * sp_base.h: include <sys/types.h>
10368 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10370 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10372 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10374 * several files: fix typos in user-visible strings
10376 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10378 * text2.C (pasteSelection): do not set the selection, since it
10379 will be cleared later. Actually, the intent was to fix the way the
10380 selection was set, but I figured rmoving the code was just as good.
10382 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10384 * FontLoader.C (available): Check if font is available without
10387 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10389 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10391 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10393 * lyxrc.[Ch]: added display_graphics variable and associated code.
10395 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10397 * bufferparams.C (hasClassDefaults): new method. Returns true if
10398 the buffer parameters correspond to known class defaults
10400 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10402 * XFormsView.C (show): set minimum size to the main window.
10404 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10406 * text2.C (copySelection):
10408 * lyxfind.C (LyXReplace):
10409 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10410 LyXText::selectionAsString.
10412 * paragraph.C (asString): add "label" argument to the second form
10414 * text2.C (selectionAsString): add "label" argument and pass it to
10415 Paragraph::asString.
10417 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10419 * lyx_main.C (commandLineHelp): remove version information
10421 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10423 * lyx_main.C: add -version commandline option
10425 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10427 * paragraph.h: make the optional constructor arg required instead.
10428 some modifications to other files because of this.
10430 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10432 * lyxserver.C (C_LyXComm_callback): make it static
10434 * lyx_main.C (error_handler): make it static
10436 * lyx_gui.C (LyX_XErrHandler): make it static
10438 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10440 * WorkArea.C: make the extern "C" methods static.
10442 * Makefile.am (lyx_LDADD): simplify
10444 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10446 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10447 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10449 * LyXAction.C (init):
10450 * lyxfunc.C (dispatch): associated code removal.
10452 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10454 * lyxfont.h (isSymbolFont): shut off warning
10456 * text.C (setHeightOfRow):
10457 (getVisibleRow): fix crash with empty paragraphs which have a
10460 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10462 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10465 2001-09-04 José Matos <jamatos@fep.up.pt>
10468 * tabular.C (docbook): rename docBook method to docbook.
10470 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10472 * Makefile.am: add dependencies to main.o.
10474 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10476 * FontLoader.C (available): Return false if !lyxrc.use_gui
10478 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10480 * FontInfo.C (query):
10481 * converter.C (view):
10482 * importer.C (Import):
10483 * exporter.C (Export): Can not -> cannot.
10485 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10487 * BufferView_pimpl.C: allow to create index inset even if
10490 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10492 * buffer.C (getLists): replace boost::tie code with an explicit pair
10493 as boost::tie can break some compilers.
10495 * iterators.h: Added a std:: declaration to the return type of
10498 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10500 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10503 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10505 * iterators.[Ch]: New files. Provide paragraph iterators.
10507 * buffer.C (changeLanguage): Use paragraph iterators.
10508 (isMultiLingual): ditto
10510 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10512 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10514 * FontLoader.C: Support for cmr font.
10516 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10518 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10519 (available): New method.
10521 * FontInfo.C (getFontname): Use scalable fonts even when
10522 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10525 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10527 * converter.C (Formats::view): reverted! Incorrect fix.
10529 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10531 * converter.C (Formats::view): only output the -paper option
10532 if the dvi viewer is xdvi, thereby fixing bug #233429.
10534 2001-08-23 Herbert Voss <voss@perce>
10536 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10538 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10540 * Spacing.h (Spacing): Set space to Default on in the default
10543 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10545 * vc-backend.h (RCS::versionString): add RCS to version
10546 (CVS::versionString): add CVS to version
10548 * vc-backend.C (scanMaster): do not add CVS to version.
10549 (scanMaster): do not add RCS to version
10551 * lyxvc.C (versionString): new method
10553 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10555 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10557 * Spacing.C (set): initialize fval
10559 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10561 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10564 2001-08-16 Juergen Vigna <jug@sad.it>
10566 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10568 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10570 * BufferView_pimpl.C:
10573 * text2.C: setParagraph takes linespacing now
10575 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10577 * LyxAction.C: add internal LFUN_CITATION_INSERT
10579 * LyXView.C: actually apply fix
10581 * bufferlist.C: fix open non-existent file
10583 * lyxfind.C: fix indentation
10585 * lyxfunc.C: remove unneeded assert, fix typo
10587 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10589 * MenuBackend.C: use "Floatname List"
10591 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10593 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10594 when converting LaTeX layout to insetERT.
10595 Generate a non-collapsed float when reading old float
10597 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10599 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10602 2001-08-13 Juergen Vigna <jug@sad.it>
10604 * text.C (fill): return 0 instead of 20 as this seems to be the more
10607 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10609 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10612 2001-08-13 Juergen Vigna <jug@sad.it>
10614 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10616 (SearchBackward): comment out the unlocking of the inset_owner this
10617 should not be needed!
10619 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10621 * Many files: Remove inherit_language, and add latex_language
10623 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10624 collapsible insets.
10626 2001-08-10 Juergen Vigna <jug@sad.it>
10628 * text.C (prepareToPrint): fixed hfill-width in draw!
10630 * BufferView2.C (selectLastWord): save the selection cursor as this
10631 now is cleared in the function LyXText::clearSelection!
10633 2001-08-08 Juergen Vigna <jug@sad.it>
10635 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10636 BACKSPACE type functions.
10638 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10639 is only cutted from the document but not put in the cut-buffer, where
10640 still the old stuff should be.
10642 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10644 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10646 * tabular.C (SetWidthOfCell): fixed special case where the width
10648 (LeftLine): handle '|' in align_special.
10650 (LeftAlreadyDrawed): ditto
10651 (SetWidthOfCell): ditto
10653 2001-08-07 Juergen Vigna <jug@sad.it>
10655 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10657 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10659 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10660 * lyxlex.[hC]: ditto
10662 2001-08-06 Juergen Vigna <jug@sad.it>
10664 * text.C (getVisibleRow): fix up row clearing a bit.
10666 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10668 * minibuffer.C: make sure the X server sees the changes in the input.
10670 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10672 * paragraph.C (getFont): split into...
10673 (getLabelFont): this
10674 (getLayoutFont): and this
10675 * paragraph_pimpl.C (realizeFont): calling this
10677 * text2.C (getFont): split into...
10678 (getLayoutFont): this
10679 (getLabelFont): and this
10680 (realizeFont): all three calling this
10682 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10685 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10687 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10689 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10691 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10692 layouts from the Quote inset insertion.
10694 2001-08-03 Juergen Vigna <jug@sad.it>
10696 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10698 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10699 only if status not is already CHANGED_IN_DRAW (second level).
10701 * text.C (draw): don't set the need_break_row when inside an
10704 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10706 * buffer.C (parseSingleLyXformat2Token): handle more latex
10709 * bufferview_funcs.[hC]: change function names to
10710 begin with small char, adjust other files.
10712 2001-08-02 André Pönitz <poenitz@gmx.net>
10715 BufferView_pimpl.C: remove broken special code for math-greek
10717 2001-08-02 Juergen Vigna <jug@sad.it>
10719 * BufferView_pimpl.C (update): redone this function so that we
10720 update the text again if there was a CHANGE_IN_DRAW.
10722 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10723 (drawFromTo): added a new internal bool which is used by draw() and
10725 (general): some cursor drawing problems fixed.
10727 2001-08-01 Juergen Vigna <jug@sad.it>
10729 * lyxfind.C (LyXFind): fixed
10730 (SearchForward): ditto
10731 (SearchBackward): ditto
10733 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10734 spurius drawing of the cursor in the main area.
10736 * text2.C (status): small fix which could lead to a segfault!
10737 (clearSelection): remove unneeded BufferView param.
10739 2001-08-01 André Pönitz <poenitz@gmx.net>
10741 * lyxfunc.C: small change due to changed mathed interface
10743 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10745 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10747 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10749 * lyxfunc.c: fail gracefully if file doesn't exist
10754 * BufferView_pimpl.C: IsDirWriteable() proto changed
10756 * LyXView.C: fix updateWindowTitle() to store the last title
10758 2001-07-31 Juergen Vigna <jug@sad.it>
10760 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10761 the font (wrong since using of Paragraph::highestFontInRange).
10763 * paragraph.C (highestFontInRange): added a default_size parameter.
10765 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10766 (setHeightOfRow): reformat
10768 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10770 * converter.[hC] + affected files: move to (inital-char)lowercase
10773 * ParagraphParameters.C (ParagraphParameters): remove commented code
10775 * PainterBase.[Ch]: remove commented code
10777 * LaTeXFeatures.h: add "bool floats" for float.sty
10779 * LaTeXFeatures.C (LaTeXFeatures): init floats
10780 (require): handle float
10781 (getPackages): do it with floats
10783 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10785 * BufferView_pimpl.C (Dispatch): improve handling of
10786 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10788 * commandtags.h: #include lyxfont.h here temporarily to avoid
10791 * bufferlist.h: include LString.h here.
10793 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10795 * text2.C (getStringToIndex): new method.
10797 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10799 * *: Reduced header file dependencies all over.
10801 2001-07-30 Baruch Even <baruch@lyx.org>
10803 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10805 2001-07-29 Baruch Even <baruch@lyx.org>
10807 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10809 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10811 * ParameterStruct.h (endif): add a default constructor to make
10812 sure that all variables is initialized.
10814 * ParagraphParameters.C (ParagraphParameters): adjust
10816 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10818 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10819 index; also, check that there is something to index, and that it
10820 does not span over several paragraphs.
10821 (doubleClick): use WHOLE_WORD_STRICT for double click.
10823 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10825 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10828 2001-07-26 Baruch Even <baruch@lyx.org>
10830 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10831 an InsetFig figure, backwards compatible reading of old figure code.
10833 2001-07-27 Juergen Vigna <jug@sad.it>
10835 * text2.C: font.realize function adaption.
10837 * text.C (draw): add a warnings lyxerr text if needed.
10839 * layout.C: font.realize function adaption.
10841 * language.C: add inherit_language and implement it's handlings
10843 * bufferview_funcs.C (StyleReset): remove language parameter from
10844 font creation (should be language_inherit now).
10846 * bufferparams.C (writeFile): handle ignore_language.
10848 * paragraph.C (getFontSettings): the language has to be resolved
10849 otherwise we have problems in LyXFont!
10851 * lyxfont.C (lyxWriteChanges): added document_language parameter
10852 (update): removed unneeded language parameter
10854 * paragraph.C (validate): fixed wrong output of color-package when
10855 using interface colors for certain fonts in certain environments,
10856 which should not seen as that on the final output.
10858 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10860 * BufferView_pimpl.C:
10865 * LyXAction.C: add thesaurus support
10868 * lyxfind.C: add "once" parameter, for thesaurus, to not
10869 move to the next match
10871 2001-07-26 Juergen Vigna <jug@sad.it>
10873 * lyxfont.C (realize): honor ignore_language too!
10876 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10878 * text.C (draw): one place more for ignore_language to not draw
10881 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10883 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10885 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10887 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10888 the minipage conversion problem.
10890 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10892 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10895 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10897 * BufferView.h: don't forward declare WorkArea
10899 * BufferView.C: don't include WorkArea.h
10901 2001-07-25 André Pönitz <poenitz@gmx.net>
10905 * lyxfunc.C: new LFUN 'math-space'
10907 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10909 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10911 * text2.C (toggleInset): call open/close
10913 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10915 * lyxfunc.C (dispatch): add debug for the disabled case
10917 * font.C (buttonText): make similar to rectText
10919 * buffer.C (readInset): comment out parsing of insetlist and
10922 * PainterBase.C (rectText): small correction
10924 * BufferView_pimpl.C: comment out insettheorem and insetlist
10925 * LyXAction.C: ditto
10926 * commandtags.h: ditto
10928 2001-07-24 Juergen Vigna <jug@sad.it>
10930 * text.C (draw): honor the ignore_language.
10932 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10934 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10936 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10939 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10941 * lyxtext.h: remove unused (and unimplemented) methods
10943 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10945 * text.C (getVisibleRow): honor background color
10948 * Painter.h: remove default color argument for fillRectangle
10950 * text.C (backgroundColor): new method
10952 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10954 * text.C (getVisibleRow): adjust
10956 * font.[Ch] (rectText): new method, metrics
10957 (buttonText): new method, metrics
10959 * PainterBase.[hC]: make rectText and buttonText always draw and take
10962 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10964 * ToolbarDefaults.C (read):
10965 * MenuBackend.C (read): allow escaping in all strings
10967 * BufferView_pimpl.C (insertAndEditInset): new method.
10968 (Dispatch): use insertAndEditInset whenever appropriate.
10970 * BufferView_pimpl.C (insertNote): removed
10972 * BufferView_pimpl.C (smartQuote): new method, moved from
10973 BufferView; if an insetquote cannot be inserted, insert a '"'
10976 * BufferView2.C: remove insertCorrectQuote();
10978 * lyxfunc.C (getStatus): Add support for all remaingin
10979 inset-insert lfuns.
10981 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10983 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10984 command (necessary to pass " as parameter of self-insert.
10986 * text.C (selectWordWhenUnderCursor):
10987 (selectWord): add word_location parameter
10988 (selectWordWhenUnderCursor): same + remove special code for word
10990 (selectNextWord): use kind() to guess type of insetspecialchar,
10993 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10994 (insertErtContents): create ert insets as collapsed.
10995 (readInset): better compatibility code for Info inset.
10997 2001-07-20 Juergen Vigna <jug@sad.it>
10999 * lyxfunc.C (dispatch): use always LyXFind now!
11001 * text2.C (init): add a reinit flag so that the LyXText can be
11002 reinited instead of deleted and reallocated (used in InsetText).
11004 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11010 2001-07-18 Juergen Vigna <jug@sad.it>
11012 * text.C (selectNextWord): handle insets inside inset by calling
11013 always the bv->text functions so that we can go up the_locking_inset!
11015 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11016 in strange locations when inside an inset!
11018 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11019 handling to include insets.
11021 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11023 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11025 * LyXAction.C (init):
11027 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11028 LIGATURE_BREAK, since the name is so stupid.
11030 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11032 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11035 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11037 * sp_form.[Ch]: remove.
11039 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11041 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11044 * src/buffer.C (readInset): ditto.
11046 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11048 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11049 menuSeparator(), endOfSentenceDot(), ldots() and
11050 hyphenationPoint(), which are therefore removed.
11051 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11053 * LyXAction.C (init):
11054 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11056 * paragraph.C (getWord): removed.
11058 * BufferView_pimpl.C (Dispatch): use last word or selection for
11059 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11061 * lyx_main.C (queryUserLyXDir): do not ask before creating
11062 user_dir, except if it has been named explicitely.
11064 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11066 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11067 a document of zero size.
11069 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11071 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11072 approriately in the c-tor and in require().
11073 (getPackages): output the appropriate LaTeX for natbib support.
11075 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11076 variables "use_natbib" and "use_numerical_citations" when reading the
11078 (readInset): read the various natbib cite commands.
11079 (validate): white-space change.
11081 * bufferparams.[Ch]: new variables "bool use_natbib" and
11082 "bool use_numerical_citations".
11083 (writeFile): output them in the LyX file.
11085 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11087 * lyxfunc.C (getStatus): add support for all the inset insertion
11090 * text2.C (insertInset):
11091 * paragraph.C (insetAllowed):
11092 * BufferView_pimpl.C (insertInset): update to take in account the
11093 renaming of insertInsetAllowed
11095 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11097 * text2.C (getInset): new method. returns inset at cursor position.
11099 * BufferView_pimpl.C (Dispatch): changes because of this.
11101 * LyXAction.C (init): rename open-stuff to inset-toggle.
11103 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11105 * text2.C (toggleInset): renamed from openStuff; use
11108 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11110 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11112 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11114 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11116 * buffer.C (readLyXformat2): Add filename to the error dialog
11118 2001-07-18 Juergen Vigna <jug@sad.it>
11120 * tabular.C (GetCellNumber): put an assert here instead of the check!
11122 2001-07-17 Juergen Vigna <jug@sad.it>
11124 * BufferView_pimpl.C (toggleSelection): adapted too.
11126 * text.C (selectNextWord): adapted for use with insets.
11127 (selectSelectedWord): ditto
11129 2001-07-17 Juergen Vigna <jug@sad.it>
11131 * sp_spell.C (PSpell): fix initialitation order.
11133 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11135 * paragraph.C: spacing
11137 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11139 * sp_spell.C: repair language selection for pspell
11141 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11143 * lyxfunc.h: change more methods to begin with lower char.
11145 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11147 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11148 for unknown layouts.
11150 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11152 * buffer.C (readLyXformat2): Generate an error dialog if there are
11155 2001-07-16 Juergen Vigna <jug@sad.it>
11157 * sp_spell.C: always compile ISpell part.
11159 * lyxrc.C: added use_pspell entry and it's handling.
11161 2001-07-13 Juergen Vigna <jug@sad.it>
11163 * sp_spell.C: removed double includes.
11165 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11167 Consistent use of Lsstream.h:
11168 * Lsstream.h: added using std::stringstream for consistencies sake.
11170 * buffer.C: removed using std::stringstream
11172 * lyxfont.C (stateText):
11173 * paragraph.C (asString):
11174 * text.C (selectNextWord, selectSelectedWord):
11175 * text2.C (setCounter):
11176 * vspace.C (asString, asLatexString):
11177 std::ostringstream -> ostringstream.
11179 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11181 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11182 * commandtags.h: add LFUN_HELP_ABOUTLYX
11183 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11185 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11187 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11189 * lyx_gui_misc.C: remove spellchecker
11190 * lyxfunc.C: showSpellchecker
11192 * sp_ispell.h: added
11193 * sp_pspell.h: added
11194 * sp_spell.C: added
11195 * sp_form.[Ch]: removed
11196 * spellchecker.[Ch]: removed
11198 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11200 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11202 (simpleTeXSpecialChars): Simply print the input character without
11203 any special translation if pass_thru is set.
11205 * layout.h: Added bool pass_thru to layout class for being able to
11206 implement pass through of a paragraph for Literate Programming.
11208 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11209 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11210 * layout.C (Read): add "passthru" to list of layout tags and add
11211 code to set the pass_thru boolean when it is read.
11213 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11215 * trans_decl.h: remove allowed from KmodInfo
11217 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11218 remove allowed code
11221 * paragraph_pimpl.C (erase): use boost::prior
11223 * Painter.C (text): use data() instead of c_str() when length is
11225 * WorkArea.C (putClipboard): ditto
11226 * font.h (width): ditto
11228 * BufferView2.C: use it-> instead of (*it). for iterators
11230 * paragraph_pimpl.C: ditto
11231 * paragraph.C: ditto
11232 * minibuffer.C: ditto
11233 * language.C: ditto
11235 * encoding.C: ditto
11236 * counters.C: ditto
11237 * converter.C: ditto
11239 * Variables.C: ditto
11240 * TextCache.C: ditto
11241 * MenuBackend.C: ditto
11242 * LyXAction.C: ditto
11244 * FloatList.C: ditto
11245 * DepTable.C: ditto
11246 * ColorHandler.C (LyXColorHandler): ditto
11248 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11250 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11252 * text2.C (openStuff): reintroduce this method (which had been
11253 nuked in NEW_INSETS frenzy).
11255 * lyxfunc.C (Dispatch): when an action has not been handled, use
11256 its name in the error message, not its number.
11258 * paragraph.C (inInset): change method name to begin with lowercase.
11261 * text2.C: updates because of this.
11263 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11265 * ToolbarDefaults.C (add): add spaces in error message
11267 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11269 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11270 (readLyXformat2): rename return_par to first_par, use lyxlex's
11271 pushToken and remove the manual push handling.
11272 (parseSingleLyXformat2Token): add another ert comp. variable:
11273 in_tabular, rename return_par to first_par. handle newlines better
11275 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11277 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11279 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11281 * text2.C (getParFromID): removed
11283 * buffer.C (getParFromID): new method moved form lyxtext.
11284 * BufferView2.C (insertErrors): adjust
11285 (setCursorFromRow): adjust
11286 * BufferView_pimpl.C (restorePosition): adjust
11287 * lyxfunc.C (Dispatch): adjust
11288 * undo_funcs.C (textUndo): adjust
11290 (textHandleUndo): adjust
11291 (textHandleUndo): adjust
11293 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11295 * buffer.C: up' the LYX_FORMAT
11297 * lyxfont.h: turn NO_LATEX on as default
11299 * buffer.C (insertErtContents): new methods of tex style compability.
11300 (parseSingleLyXformat2Token): use it several places.
11301 * tabular.C (OldFormatRead): and here
11303 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11305 * text2.C: remove some commented code.
11308 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11309 * trans.C: changes because of the above.
11311 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11313 * text2.C (setCounter): Fix counters bug with bibliography layout.
11315 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11317 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11318 own member functions
11319 (simpleTeXSpecialChars): ditto
11321 2001-07-06 Juergen Vigna <jug@sad.it>
11323 * a lot of files: changed the access to LyXText::status and the
11324 call of undo-functions.
11326 * undo.[Ch]: added a inset_id to the undo informations.
11328 * undo_funcs.[Ch]: added and moved here all undo functions.
11330 * lyxtext.h: give the status enum a weight, made status_ a private
11331 variable and made accessor functions for it, removed the whole bunch
11332 of undo-functions as they are now in their own file, make some
11333 functions publically available. Added function ownerParagraph with
11336 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11337 made InInset() a const function, added getParFromID() function.
11339 * buffer.[Ch]: added const version for inset_iterator functions,
11340 added getInsetFromID() function.
11342 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11343 changed undo functions for new version.
11345 2001-07-05 Juergen Vigna <jug@sad.it>
11347 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11348 unknow mechanism does not call the proper constructor but only this
11349 one also if I request the other!?
11351 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11353 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11355 * text2.C (LyXText): use initialization lists.
11357 * lyxtext.h (Selection): initialize set_ and mark_
11358 (init): remove method
11360 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11362 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11364 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11366 * screen.[Ch]: change method names to begin with lowercase
11368 * BufferView_pimpl.C (updateScrollbar): simplify further and
11369 hopefully make it a bit faster.
11371 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11373 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11374 calling directly xforms functions.
11376 * Painter.C (Painter):
11377 * lyx_cb.C (MenuWrite):
11378 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11381 * lyx_gui.C: remove bogus guiruntime extern declaration.
11383 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11385 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11387 (redoDrawingOfParagraph): ditto
11388 (redoParagraphs): ditto
11389 (cutSelection): don't create a object for CutAndPaste use the
11390 static method directly
11391 (pasteSelection): ditto
11393 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11396 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11398 * modifications to some other files because of this.
11400 * Makefile.am (lyx_SOURCES): add XFormsView
11402 * XFormsView.[Ch]: new files
11404 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11405 the main window. Move the gui dependent stuff to XFormsView
11407 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11409 * tabular.C (GetCellInset): update cur_cell also in the row/col
11410 version of this function.
11412 * lyxfunc.C: no need to include figure_form.h here.
11418 * lyxvc.C: no need to include forms.h here.
11420 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11422 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11424 * lyxfunc.C (Dispatch):
11426 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11427 constructor argument.
11429 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11431 * paragraph.C (Paragraph): dont't clear, and just set layout.
11432 (makeSameLayout): use params's copy contructor.
11434 * ParagraphParameters.[Ch] (makeSame): delete method
11436 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11438 * Variables.[Ch]: fix indentation, rename set to isSet
11440 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11442 * lyxfunc.C (Dispatch): fix typo
11444 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11446 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11449 * bufferlist.C: include assert.h for emergencyWrite().
11451 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11453 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11454 give up at last (bug #425202) !
11456 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11462 * spellchecker.C: strip spellchecker options and bring up
11463 preferences tab instead
11465 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11467 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11468 the istringstream constructor
11470 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11472 * paragraph.C (getLayout): fix return value
11474 * paragraph.h: do not declare getLayout as inline.
11476 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11478 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11480 * lyxcursor.h (operator<): new func
11481 (operator>): new func
11482 (operator>=): new func
11483 (operator<=): new func
11485 * text.C (changeCase): use selection.start and selection.end
11486 (changeRegionCase): require from to be <= to. Require par to be a
11489 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11491 2001-06-27 Juergen Vigna <jug@sad.it>
11493 * text.C (cursorLeftOneWord): changed to return the cursor and added
11494 overlay with BufferView * parameter which calls this one.
11496 (selectWord): use new getWord function.
11497 (changeCase): renamed from changeWordCase as and extended to work
11498 also on selections.
11500 * lyxtext.h: added enum word_location
11502 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11503 changeCase as this operates now also on selections.
11505 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11507 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11509 * many files: send debug output to Debug::INFO instead of
11512 * converter.C (View):
11514 (Move): send debug output to Debug::FILES instead of console.
11516 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11518 * lyxfunc.C (getStatus): use func_status
11520 * func_status.h: new header, describing the results of
11521 LyXFunc::getStatus;
11523 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11526 2001-06-25 The LyX Project <jug@sad.it>
11528 * buffer.C (sgmlOpenTag):
11530 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11532 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11534 * text2.C: remove some dead code
11536 * tabular.C (GetCellInset): store the last cell checked (gotten)
11538 * tabular.h: add the helper for the speedup
11540 * lyxtext.h: remove some dead code
11542 2001-06-26 The LyX Project <Asger>
11544 * paragraph.C: Change export to LaTeX of alignment to
11545 \begin{center} and family for better roundtrip work with reLyX.
11547 * Tune the math drawing a bit.
11549 2001-06-25 The LyX Project <Asger>
11551 * LColor.C (LColor): New color for math background. New color
11554 2001-06-25 The LyX Project <jug@sad.it>
11556 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11558 * lyxfunc.C (Open):
11559 * bufferlist.C (newFile): do not restrict to files ending with
11562 * BufferView_pimpl.C (MenuInsertLyXFile):
11564 2001-06-24 The LyX Project <jug@sad.it>
11566 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11569 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11571 * lyxtext.h: rename most methods to begin with a small char.
11572 Lots of changes because of this.
11574 * paragraph.C (Paragraph): do not call fitToSize
11575 (erase): call Pimpl::erase
11576 (insertChar): call Pimpl::insertChar
11577 (insertInset): call Pipl::insertInset
11578 (breakParagraph): do not call fitToSize
11579 (breakParagraphConservative): do not call fitToSize
11580 (fitToSize): remove method
11582 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11584 2001-06-24 The LyX Project <Asger>
11586 * Fix Qt compilation^2
11588 2001-06-24 The LyX Project <jug@sad.it>
11590 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11591 depthHook(getDepth()-1).
11594 * ParagraphParameters.h:
11595 * ParameterStruct.h: change type of depth to unsigned int ==
11596 depth_type. Many adaptations to other files before of that.
11598 2001-06-24 The LyX Project <Asger>
11600 * Fix Qt compilation.
11602 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11604 * paragraph.h: renamed several methods to begin with small letter.
11605 several changes to many parts of the code because of this.
11607 2001-06-23 The LyX Project <jug@sad.it>
11609 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11610 rewritten to discard all double spaces when KeepEmpty is off
11611 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11612 to only handle newlines but not fiddle with spaces and friends.
11614 * lyxfunc.C (MenuNew): when doing 'new from template', use
11615 template_path as default directory
11617 2001-06-23 The LyX Project <Asger>
11619 * Clean-up of header file includes all over
11620 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11622 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11624 * paragraph.h: renamed from lyxparagraph.h
11626 2001-06-23 Asger <lyx@violet.home.sad.it>
11628 * Buffer.h: Removed Buffer::resize
11629 * BufferList.h: Removed BufferList::resize
11630 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11631 the document lazily when we change the width, or the font settings.
11633 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11635 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11637 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11639 * buffer.h: remove out of date comment
11641 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11644 * screen.C: fix "theoretical" GC leak
11646 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11648 * LaTeX.C (scanAuxFile):
11649 (deplog): remove trailing \r when reading stream (useful under
11652 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11654 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11655 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11656 and BufferView::theLockingInset(Inset*), so should use them and not
11657 access bv_->text->the_locking_inset directly.
11659 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11661 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11664 * tex-defs.h: remove old unused file
11666 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11668 * BufferView_pimpl.C: fix typo, remove minibuffer message
11669 when buffer has loaded
11671 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11673 * lyxfunc.C (Dispatch): use stringstream
11674 (MenuNew): use stringstream
11675 (Open): use stringstream
11677 * importer.C (Import): use stringstream
11679 * bufferview_funcs.C (CurrentState): use stringstream
11681 * LaTeX.C (run): use stringstream
11683 * BufferView_pimpl.C (savePosition): use stringstream
11684 (restorePosition): use stringstream
11685 (MenuInsertLyXFile): use stringstream
11687 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11700 * vspace.C: removed // -*- C++ -*- as first line.
11703 * version.h: added // -*- C++ -*- as first line.
11705 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11707 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11709 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11712 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11714 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11717 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11719 * gettext.C: include LString.h even when --disable-nls is on.
11721 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11723 * converter.h (Get): changed argument type from int to
11724 FormatList::size_type to avoid unnecessary conversion.
11726 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11729 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11731 * gettext.h: include LString.h even when --disable-nls is on.
11733 2001-06-07 Juergen Vigna <jug@sad.it>
11735 * text.C (BreakAgain): subst spaces with tabs.
11737 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11738 (resizeInsetsLyXText): set force on resizeLyXText.
11740 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11742 * gettext.h (gettext_init):
11743 (locale_init): use a real definition instead of a macro
11745 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11747 * Bufferview_pimpl.C:
11749 * LColor.C: further lcolor tidies
11751 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11753 * BufferView_pimpl.C (updateScrollbar): simplify.
11755 * BufferView2.C: don't include insets/insetinfo.h, change
11756 prototype for insertInset and call the Pimpl version. let
11757 updateInset call Pimpl version.
11759 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11760 gotoInset to BufferView::Pimpl
11762 2001-06-01 Juergen Vigna <jug@sad.it>
11764 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11765 inside a LockingInset (is the update needed at all?).
11767 2001-05-31 Juergen Vigna <jug@sad.it>
11769 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11770 here not the old one otherwise how should we compare it afterwards
11773 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11778 * FontInfo.C: bring C functions into global namespace when
11781 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11783 * LString.h: make sure config.h has been loaded before LString.h.
11785 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11786 (one for each char read by EatLine!).
11788 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11791 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11793 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11794 to the same as the par we break from
11796 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11798 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11800 * MenuBackend.C (expand): also create menu entries for wide
11801 versions of the floats.
11803 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11805 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11807 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11808 frontends/Makefile.am
11814 * tabular.C (getTokenValue): add std::
11816 * tabular-old.C (getTokenValue): add std::
11817 (getTokenValue): ditto
11818 (getTokenValue): ditto
11820 * screen.C (ToggleSelection): adjust
11822 * lyxtext.h: put selection cursors inside a Selection struct.
11824 * lyxfunc.C (moveCursorUpdate): adjust
11826 * lyxfont.C (latexWriteStartChanges): add std::
11828 * lyxfind.C: adjust
11830 * font.h: delete with(char const *, LyXFont const &)
11832 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11834 * FontInfo.C (getFontname): add std::
11836 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11837 (workAreaButtonPress): adjust
11838 (tripleClick): adjust
11840 (moveCursorUpdate): adjust
11843 * BufferView2.C (gotoInset): adjust
11845 2001-05-30 Juergen Vigna <jug@sad.it>
11847 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11848 to check pspell I add this as default as I now have new pspell
11849 libraries and they seem to use this.
11851 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11853 * text2.C (CutSelection): make the cursor valid before the call to
11856 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11858 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11859 relied on 0 terminated strings and other horrors. Bug found due to
11860 the new assert in lyxstring!
11862 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11865 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11867 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11870 * lyxfunc.C (processKeySym): change method of getting to the
11873 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11874 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11875 * BufferView_pimpl.[Ch]: here as private methods.
11877 2001-05-28 Juergen Vigna <jug@sad.it>
11879 * text.C (SetHeightOfRow): added the update() call again as it is
11880 needed to initialize inset dimensions!
11882 2001-05-16 Juergen Vigna <jug@sad.it>
11884 * text2.C (SetCharFont): Add new function with BufferView * and
11885 bool toggleall parameters for setting insets internal fonts.
11886 (SetFont): Freeze the undo as we may change fonts in Insets and
11887 all this change should be inside only one Undo!
11889 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11890 setting font's in insets as for them we have the SetFont function!
11892 2001-05-15 Juergen Vigna <jug@sad.it>
11894 * text2.C (ClearSelection): to be sure we REALLY don't have any
11897 * tabular.C (TeXCellPreamble): fixed the left border problem for
11900 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11902 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11905 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11907 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11908 LFUN_BREAKPARAGRAPH.
11910 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11911 help test to "internal only", similar for LFUN_INSERT_URL
11913 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11914 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11915 auto_region_delete and deadkeys.
11917 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11920 * LColor.C: remove some dead entries, tidy a little
11922 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11924 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11926 (Dispatch): implement LFUN_ESCAPE
11928 * commandtags.h: add LFUN_ESCAPE
11930 * LyXAction.C (init): add entry for LFUN_ESCAPE
11932 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11933 Remove commented code.
11934 (insertNote): moved here
11935 (open_new_inset): moved here
11937 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11940 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11942 * kbmap.C (findbinding): clean it up and make it work correctly.
11944 * lyx_main.C (init): do not pass argc and argv as parameters
11946 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11948 * buffer.C: fix path for OS/2 & Win32
11952 * lyx_main.C: Added os:: class.
11954 * os2_defines.h: update
11956 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11958 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11959 better by trying again with reduced state.
11961 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11963 * lyxrc.C (read): print error about invalid key sequence only when
11964 debugging (because not all latinX keysyms are known to some X
11967 * kbsequence.C (getiso): add a few std:: qualifiers
11968 (getiso): comment out extra return statement.
11970 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11972 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11974 (Dispatch): enhance the accent inset a bit. (not perfect)
11976 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11978 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11980 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11982 * bufferlist.C (emergencyWrite): fix assert() call
11984 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11986 * text.C (InsertChar): Added trivial patch to only send the "you
11987 can not do multiple spaces this way" message once during a
11990 2001-05-08 Baruch Even <baruch@lyx.org>
11992 * Makefile.am: Changed order of libraries to get LyX to link properly
11993 with the gnome frontend.
11995 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11997 * LaTeXFeatures.h: add a std:: qualifier
11999 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12001 * paragraph.C (String): use stringstream
12003 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12005 * paragraph.C (writeFile): remove footflag arg
12007 * buffer.C (makeLaTeXFile): use stringstream
12008 (latexParagraphs): remove footnot gurba
12010 * LaTeXFeatures.C (getPackages): use stringstream
12011 (getMacros): likewise
12012 (getTClassPreamble): likewise
12013 (getFloatDefinitions): new method
12015 * paragraph.C (writeFile): reindent
12018 * WorkArea.h: revert the xpos + etc changes.
12020 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12022 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12024 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12025 (pasteSelection): likewise
12026 * text2.C (CreateUndo): likewise
12028 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12030 * minibuffer.C (peek_event): temporarily reduce the functionality
12031 of the minibuffer (to allow args on lfuns)
12033 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12034 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12036 * buffer.C (readInset): add compability reading of old float
12037 lists, add reading of new style float list.
12038 (readInset): avoid reevaluation of inscmd.getCmdName()
12039 (getLists): reindent
12041 * MenuBackend.C (MenuItem): implement parsing of
12042 md_floatlistinsert and md_floatinsert.
12043 (expand::LastFiles): move initalizaton of iterators out of loop,
12044 avoid reevaluation.
12045 (expand::Documents): introduce typdedef vector<string> Strings,
12047 (expand::ExportFormats): introduce typedef vector<Format const *>
12048 Formats, and use it.
12049 (expand): implement FloatListInsert and FloatInsert.
12051 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12052 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12053 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12055 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12057 (Dispatch::LFUN_FLOAT_LIST): implement
12059 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12061 * LaTeX.C (run): Fix problem with --export code.
12063 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12065 * BufferView.[Ch] (workarea): removed.
12066 (getClipboard) new method; wrapper for workarea()->getClipboard()
12068 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12071 * WorkArea.h (width, height, xpos, ypos): These methods all
12072 returned the dimensions of the work_area sub-area of WorkArea,
12073 resulting in a position error if the WorkArea were resized. Now
12074 return the dimensions of the entire WorkArea.
12076 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12078 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12080 * LaTeX.C (deplog): correct the syntax of regex reg1
12082 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12084 * undo.C: remove !NEW_INSETS cruft
12086 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12088 * text2.C: remove !NEW_INSETS cruft
12090 * text.C: remove !NEW_INSETS cruft
12092 * tabular.C: remove !NEW_INSETS cruft
12094 * spellchecker.C: remove !NEW_INSETS cruft
12096 * lyxtext.h: remove !NEW_INSETS cruft
12098 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12100 * lyxfunc.C: remove !NEW_INSETS cruft
12102 * lyxfind.C: remove !NEW_INSETS cruft
12104 * lyx_cb.C: remove !NEW_INSETS cruft
12106 * figureForm.C: remove !NEW_INSETS cruft
12108 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12110 * buffer.[Ch]: remove !NEW_INSETS cruft
12112 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12114 * CutAndPaste.C: remove !NEW_INSETS cruft
12116 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12118 * BufferView2.C: remove !NEW_INSETS cruft
12120 * BufferView.h: remove !NEW_INSETS cruft
12122 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12124 * Lsstream.h: include LString.h before the sstream headers to
12125 fix problem with gcc 2.95.3 and lyxstring
12127 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12129 * lyx_main.C: add using directives when needed for C functions
12130 declared in std:: namespace.
12132 2001-04-27 Juergen Vigna <jug@sad.it>
12134 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12135 (SetHeightOfRow): comment out the update call should not be needed!
12137 2001-04-13 Juergen Vigna <jug@sad.it>
12139 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12140 (LyXTabular): tried to minimize operator= operations (and realized
12141 hopfully Lars wish).
12143 2001-04-27 Juergen Vigna <jug@sad.it>
12145 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12147 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12149 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12151 * buffer.C (readInset): hack to make listof algorithm work
12153 * BufferView_pimpl.C: hack to make listof algorithm work
12155 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12157 * LyXAction.C: removed all !NEW_INSETS cruft
12158 (init): moved lfun_item in method
12160 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12162 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12164 * BufferView2.C (theLockingInset): white space.
12166 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12168 * minibuffer.C: include <iostream>
12170 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12172 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12174 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12176 * text.[Ch] (TransposeChars): new method
12178 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12180 * call message directly through LyXView instead of through LyXFunc
12181 * BufferView2.C: adjust
12182 * BufferView_pimpl.C: adjust
12183 * FontLoader.C: adjust
12185 * bufferview_funcs.C: adjust
12186 * converter.C: adjust
12187 * figureForm.C: adjust
12188 * importer.C: adjust
12190 * lyx_gui_misc.C: adjust
12191 * lyxfunc.C: adjust
12194 + more files in subdirs
12196 * lyxparagraph.h (size): move up int file
12199 * adjust all uses of Assert to lyx::Assert.
12201 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12202 lyxfunctional in namespace lyx
12203 * layout.C (hasLayout): ditto
12206 (delete_layout): ditto
12207 (NumberOfClass): ditto
12208 * converter.C (GetFormat): ditto
12213 * bufferlist.C (getFileNames): ditto
12214 (emergencyWriteAll): ditto
12217 * MenuBackend.C (hasSubmenu): ditto
12220 * BufferView_pimpl.C (getInsetByCode): ditto
12222 2001-04-18 Juergen Vigna <jug@sad.it>
12224 * vspace.C (asLatexString): fixed the 100% problem.
12226 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12228 * lyxfunc.C (Dispatch):
12230 * minibuffer.h: add a few std:: qualifiers
12232 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12234 * minibuffer.[Ch]: reimplement so that commands is initiated and
12235 run from lyxfunc, simplified som handling, and made the completion
12236 and history code for complete. wip.
12238 * lyxfunc.C (processKeySym): call message
12239 (miniDispatch): new temporary method
12240 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12241 (LFUN_MESSAGE): implement
12242 (LFUN_MESSAGE_PUSH): implement
12243 (LFUN_MESSAGE_POP): implement
12244 (initMiniBuffer): the initial/defualt minibuffer message.
12246 * lyxfont.[Ch]: inline some more getters
12248 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12250 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12252 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12253 (AutoSave): use LFUN_MESSAGE
12254 (Reconfigure): ditto
12256 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12258 * figureForm.C: use LFUN_MESSAGE
12260 * converter.C (runLaTeX): use LFUN_MESSAGE
12262 * bufferview_funcs.C: use LFUN_MESSAGE
12264 (changeDepth): ditto
12266 * bufferparams.h: use boost::
12268 * bufferlist.h: inherit privately from noncopyable
12270 * bufferlist.C (loadLyXFile): remove some commented code.
12272 * buffer.C (runChktex): use LFUN_MESSAGE
12274 * ShareContainer.h: inherit privately from noncopyable
12276 * ParagraphParameters.[hC] (depth): inline it.
12278 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12280 (message): new method
12281 (messagePush): ditto
12282 (messagePop): ditto
12283 (show): init minibuffer
12284 (showState): direct call
12286 * LaTeX.[Ch]: inherit privately from noncopyable
12287 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12288 instead of WriteStatus.
12290 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12292 * BufferView_pimpl.C (buffer): don't init minibuffer
12293 (workAreaButtonPress): use LFUN_MESSAGE
12294 (workAreaButtonRelease): ditto
12295 (savePosition): ditto
12296 (restorePosition): ditto
12297 (MenuInsertLyXFile): ditto
12298 (workAreaExpose): don't init minibuffer
12299 (update): remove commented code, simplify
12301 * BufferView2.C (openStuff): use LFUN_MESSAGE
12302 (toggleFloat): ditto
12305 (copyEnvironment): ditto
12306 (pasteEnvironment): ditto
12311 (updateInset): remove some commented code
12313 * lastfiles.h: inherit privately from noncopyable
12316 * lyx_main.h: ditto
12318 * lyxlex_pimpl.h: ditto
12320 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12321 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12322 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12324 * LyXAction.h: inherit privately from noncopyable, add methods
12325 func_begin, func_end, returning iterators to the func map.
12327 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12328 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12329 (func_begin): new method
12330 (func_end): new method
12332 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12334 (copySelection): ditto
12335 (pasteSelection): ditto
12337 * BufferView.C: whitespace change
12338 * BufferView.h: inherit privately from noncopyable
12340 2001-04-16 Allan Rae <rae@lyx.org>
12342 * tabular-old.C (l_getline):
12343 * spellchecker.C (sc_check_word):
12344 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12345 an unrecognised preprocessor directive. So ensure they're wrapped.
12347 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12349 * src/exporter.C (Export): Give an error message when path to file
12352 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12354 * LaTeX.C (deplog): Always check that foundfile exists.
12356 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12359 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12361 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12363 * tabular.[Ch] (getLabelList): implement new method
12365 * minibuffer.h: comment ouf setTiimer
12367 * minibuffer.C (ExecutingCB): constify res
12368 (peek_event): constify s
12369 (Set): constify ntext
12370 (Init): constify nicename
12372 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12374 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12375 (savePosition): use two params to Minibuffer::Set
12376 (restorePosition): ditto
12378 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12380 * lyx_main.C: include language.h
12382 * Makefile.am (lyx_main.o): add language.h
12384 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12390 * CutAndPaste.C: include gettext.h
12392 * lyxfont.h: remove old hack with ON and OFF.
12395 * lyxfont.h: do not include language.h...
12400 * bufferview_funcs.C:
12406 * paragraph.C: ... but do it here instead
12408 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12410 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12412 * tabular.C: small reformat
12414 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12417 (BreakParagraph): ditto
12418 (SetOnlyLayout): ditto
12421 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12424 * lastfiles.C: removed most using decl, add std:: where needed
12426 * buffer.C: ws changes
12428 * MenuBackend.C (class compare_format): put into anon namespace
12429 (expand): constify label, names, action, action2
12432 * text.C (SingleWidth): constify font
12433 (IsBoundary): constify rtl2
12434 (GetVisibleRow): constify ww
12436 * LaTeX.C (deplog): constify logfile
12438 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12440 (workAreaExpose): constify widthChange, heightChange
12442 * lyxrow.C (par): moved
12445 * lyxrow.h: as inlines here
12447 * lyxfont.h (shape): moved from lyxfont.C
12448 (emph): moved from lyxfont.C
12450 * lyxfont.C (LyXFont): use initialization list for all
12452 (shape): move to lyxfont.h as inline
12453 (emph): move to lyxfont.h as inline
12456 2001-04-04 Juergen Vigna <jug@sad.it>
12458 * vspace.C: had to include stdio.h for use of sscanf
12460 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12463 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12464 independent of xforms.
12466 2001-04-02 Juergen Vigna <jug@sad.it>
12468 * spellchecker.C: fixed namespace placing!
12470 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12472 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12473 the LyXParagraph * is 0.
12475 2001-03-29 Juergen Vigna <jug@sad.it>
12477 * vspace.C: added support for %, c%, p%, l%.
12478 (stringFromUnit): added helper function.
12479 (asLatexString): changed to give right results for the %-values.
12481 * buffer.C: convert the widthp in a width%.
12483 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12485 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12488 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12489 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12491 * lyx_cb.[Ch]: see above.
12493 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12497 * lyx.[Ch]: replaced by figure_form.[Ch].
12501 * lyxfunc.C: changed headers associated with above changes.
12503 2001-03-27 Juergen Vigna <jug@sad.it>
12505 * BufferView_pimpl.C: set the temporary cursor right!
12507 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12509 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12511 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12513 * LString.h: removed "using std::getline"!
12515 * BufferView_pimpl.C (Dispatch): changes due to changes in
12516 InsetInclude::Params.
12518 * buffer.C (tag_name): removed redundant break statements as they were
12519 producing lots of warnings with my compiler.
12521 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12523 * LString.h: add "using std::getline" when using the real <string>.
12525 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12527 * buffer.C: removed bitset usage.
12528 PAR_TAG moved to an anonymous name space.
12529 (tag_name): new funtion, also in the anonymous namespace.
12530 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12531 (makeDocBookFile): clean code. Completed transition from string arrays
12533 (SimpleDocBookOnePar): code clean.
12535 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12537 * tabular.C: add some comments.
12539 2001-03-22 Juergen Vigna <jug@sad.it>
12541 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12542 compatibility read a bit and fixed bug with minipage in different
12545 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12547 * buffer.C (pop_tag): removed.
12548 (push_tag): removed.
12549 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12550 array replaced with vector. Added support for CDATA sections.
12551 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12553 (makeDocBookFile): XML conformant declaration of CDATA section,
12554 fixed bug related to <emphasis> in the first paragraph char.
12555 (sgmlOpenTag): exclude empty tags.
12556 (sgmlCloseTag): ditto.
12558 * buffer.h (pop_tag): removed.
12559 (push_tag): removed.
12561 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12563 * language.h (Languages): added size_type and size().
12565 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12567 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12568 response on compability reading of minipages. One probliem is that
12569 the old usage of minipages was «flertydig»
12571 * several files here and in subdirs: don't use static at file
12572 scope use anon namespaces instead.
12574 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12576 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12577 LaTeX output. This is necessary for Literate document
12580 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12582 * buffer.C: insert hfill when needed.
12584 * tabular.C (l_getline): use string::erase, small whitespace change.
12586 * BufferView_pimpl.C: try the anon namespace.
12587 * WorkArea.C: ditto
12589 2001-03-16 Juergen Vigna <jug@sad.it>
12591 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12592 otherwise it won't open options-dialogs.
12594 * buffer.C: honor pextraWidth(p) on converting minipages.
12596 * tabular.C (l_getline): changed the functions to strip trailing \r.
12598 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12600 * BufferView_pimpl.C:
12601 * minibuffer..C: added "using SigC::slot" declaration.
12603 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12605 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12611 * paragraph.C: ditto
12613 * lyxtext.h: NO_PEXTRA
12615 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12617 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12618 * ParameterStruct.h: ditto
12619 * ParagraphParameters.h: ditto
12620 * lyxparagraph.h: ditto
12622 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12624 * buffer.C: add compability for minipage alignment.
12625 (latexParagraphs): remove unwanted pextra check.
12627 * several files: remove CXX_WORKING_NAMESPACES
12629 * buffer.C (pop_tag): tie is in namespace boost
12631 * BufferView.h: noncopyable is in namespace boost
12633 * lyx_main.h: ditto
12636 * lastfiles.h: ditto
12637 * bufferlist.h: ditto
12638 * ShareContainer.h: ditto
12640 * LyXAction.h: ditto
12643 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12645 * Merging changes from BRANCH_MVC back into HEAD.
12647 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12649 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12651 * BufferView_pimpl.C: change from intl.C
12655 * Makefile.am: move combox.*
12661 * intl.C: remove dialog (covered by prefs)
12663 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12665 * lyxfunc.C (Dispatch): removed redundant break statement.
12667 2001-03-14 Juergen Vigna <jug@sad.it>
12669 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12671 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12673 * buffer.C: add hack to fix compability reading of minipages.
12675 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12677 * buffer.C (getLists): Cleanup.
12679 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12681 * lyxfont.C (update): don't honor toggleall on font size.
12683 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12687 * Makefile.am: moved to frontends/xforms/
12691 * BufferView_pimpl.C: changes for moved mathpanel
12693 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12695 * gettext.h: fix gettext_init() in --disable-nls
12697 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12699 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12701 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12704 * lyx.h: strip external form
12706 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12708 * BufferView_pimpl.C: add comment, destroySplash()
12710 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12712 * BufferView_pimpl.C:
12716 * lyxfunc.C: use re-worked insetinclude
12718 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12720 * buffer.C: add using std::stringstream.
12722 * lyx_cb.C: readd using std::ios.
12724 * buffer.C: add using std::map.
12726 * BufferView_pimpl.C: add using std::vector.
12728 * ShareContainer.h: add std:: to swap.
12730 * buffer.h: add some typedefs
12731 * buffer.C (getLists): use them
12732 (getLists): renamed from getTocList.
12733 add a counter for the different float types and use it in the
12735 (getLists): use the same counter for the NEW_INSETS and the "non"
12738 * lyx_cb.h: remove unused items, includes, using etc.
12740 * ShareContainer.h: remove some commented code, add more comments
12741 and "documentation".
12743 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12745 * buffer.C (getTocList): make the list also when NEW_INSETS is
12748 * buffer.h: remove TocType
12750 * buffer.C (getTocList): change to return a map<string,
12751 vector<TocItem> >, implement for dynamic number of list.
12753 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12754 * text2.C (PasteSelection): adjust
12755 * CutAndPaste.C (pasteSelection): adjust
12757 * FloatList.C (FloatList): update from the new_insets branch.
12758 * Floating.[Ch]: ditto
12759 * LaTeXFeatures.C: ditto
12761 * lyxlex_pimpl.C: ditto
12763 * paragraph.C (Last): remove when NEW_INSETS is defined.
12765 * other file: changes because of the above.
12767 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12769 * lyxparagraph.h: rename next to next_, previous to previous_,
12770 make them private for NEW_INSETS. Rename Next() to next(),
12771 Previous() to previous().
12773 * other files: changes because of the above.
12775 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12778 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12781 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12783 * main.C (main): pass lyx_localedir to gettext_init().
12785 * gettext.h: remove locale_init and gettext_init macros
12787 * gettext.C (locale_init): new function
12788 (gettext_init): new function
12790 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12793 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12795 * Moved credits to frontends:
12796 * credits.[Ch]: removed
12797 * credits_form.[Ch]: removed
12798 * lyx_gui_misc.C: remove credits stuff
12801 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12803 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12805 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12806 unneeded destructor.
12808 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12809 a standalone pointer again.
12811 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12813 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12819 * ToolbarDefaults.C:
12828 * BufferView_pimpl.C: use new file dialog in GUII
12831 * lyx_cb.C: remove LayoutsCB to Toolbar
12833 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12835 * ShareContainer.h (get): add std:: qualifier
12837 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12839 * ShareContainer.h: define a proper ShareContainer::value_type
12840 type (and use typename to please compaq cxx)
12842 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12844 * lyxparagraph.h: move serveral local vars to
12845 ParameterStruct/ParagraphParameters., use ShareContainer in
12846 FontTable., make vars in FontTable private and add getter and
12849 * paragraph.C: changes because of the above.
12851 * lyxfont.h: remove copy constructor and copy assignment. (the
12852 default ones is ok), move number inside FontBits. move inlines to
12855 * lyxfont.C: add number to initializaton of statics, move several
12856 inlines here. constify several local vars. some whitespace
12857 cleanup. Dont hide outerscope variables.
12859 * Spacing.h: add two new constructors to match the set methods.
12861 * ShareContainer.h: new file, will perhaps be moved to support
12863 * ParameterStruct.h: new file
12865 * ParagraphParameters.h: new file
12867 * ParagraphParameters.C: new file
12869 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12870 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12872 * BufferView_pimpl.C: ParagraphParameter changes.
12873 * buffer.C: Likewise.
12874 * bufferview_funcs.C: Likewise.
12875 * text.C: Likewise.
12876 * text2.C: Likewise.
12878 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12880 * lyxfind.C (LyXReplace): do not redefine default argument in
12882 (IsStringInText): ditto
12883 (SearchForward): ditto
12884 (SearchBackward): ditto
12886 2001-03-06 Juergen Vigna <jug@sad.it>
12888 * lyxfind.C (IsStringInText): put parentes around expressions.
12890 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12892 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12894 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12896 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12898 * stl_string_fwd.h: add comment
12900 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12903 * tabular.C: remove unused DocBook methods
12909 killed DO_USE_DEFAULT_LANGUAGE
12911 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12913 * lyx_gui.C: do not include language.h.
12915 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12916 arguments in function implementation.
12918 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12920 * BufferView_pimpl.C: add <ctime>
12922 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12924 * BufferView_pimpl.C: add using std::find_if
12926 2001-02-27 José Matos <jamatos@fep.up.pt>
12928 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12931 2001-02-11 José Matos <jamatos@fep.up.pt>
12933 * buffer.C (makeDocBookFile): command styles now have a parameter as
12934 "title" by default.
12936 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12938 * layout_forms.[Ch]: removed
12939 * lyx_cb.[Ch]: out character
12940 * lyx_gui.C: out character
12941 * lyx_gui_misc.C: out character
12942 * bufferview_funcs.C: : out character,
12943 added toggleall as parameter in ToggleAndShow
12945 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12947 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12949 * text2.C (SetCurrentFont): Disable number property at boundary.
12951 2001-02-26 Juergen Vigna <jug@sad.it>
12953 * lyxfunc.C (getStatus): added a string argument override function so
12954 that this is correctly called from LyXFunc::Dispatch if it contains a
12955 do_not_use_argument which is used!
12956 (Dispatch): added check for "custom" export and call appropriate func.
12958 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12960 * lyxrc.C: Add language_command_local, language_use_babel and
12961 language_global_options.
12963 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12965 * buffer.C (makeLaTeXFile): Use language_use_babel and
12966 language_global_options.
12968 2001-02-23 Juergen Vigna <jug@sad.it>
12970 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12971 which works with LyXText and putted it inside BufferView. Here now we
12972 only call for that part the BufferView::Dispatch() function.
12974 * BufferView.C (Dispatch): added.
12976 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12977 functions which needs to use a LyXText over from LyXFunc.
12978 (MenuInsertLyXFile): added
12979 (getInsetByCode): added
12980 (moveCursorUpdate): added
12981 (static TEXT): added
12983 2001-02-22 Juergen Vigna <jug@sad.it>
12985 * BufferView_pimpl.C (update): call a status update to see if LyXText
12988 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12990 * vc-backend.C (revert): implement for CVS
12991 (getLog): implement for CVS
12993 2001-02-20 Juergen Vigna <jug@sad.it>
12995 * text2.C (ClearSelection): added BufferView param for inset_owner call
12997 * lyxfunc.C (TEXT): added this function and use it instead of
12998 directly owner->view()-text of getLyXText().
13000 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13002 * src/layout_forms.C: out preamble
13003 * src/layout_forms.h: out preamble
13004 * src/lyx_cb.C: out preamble
13005 * src/lyx_cb.h: out preamble
13006 * src/lyx_gui.C: out preamble
13007 * src/lyx_gui_misc.C: out preamble
13008 * src/lyxfunc.C: connect with guii preamble
13010 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13012 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13014 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13016 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13017 whether to run bibtex.
13019 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13021 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13023 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13025 * Makefile.am (lyx_SOURCES): removed bibforms.h
13027 * vspace.h: doxygen
13029 * text.C (GetVisibleRow): make several local vars const
13031 * tabular.C: small cleanup.
13033 * lyxserver.C (callback): use compare instead of strncmp
13035 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13036 inlines to after class or to paragraph.C
13038 * lyxfont.h: remove friend operator!=
13040 * converter.h: move friend bool operator< to non friend and after
13043 * combox.h: small cleanup
13045 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13046 to inlines after class def.
13048 * buffer.C (pop_tag): use string operations instead of strcmp
13050 * bmtable.c: doxygen, small cleanup
13052 * LaTeX.h: remove friend operator==
13054 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13066 * BufferView_pimpl.C:
13067 * BufferView.[Ch]: remove cruft
13069 2001-02-14 Juergen Vigna <jug@sad.it>
13071 * lyxfunc.C: removed #if 0 unused code
13073 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13075 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13077 * text2.C (SetSelection): added a BufferView * parameter
13079 2001-02-13 Juergen Vigna <jug@sad.it>
13081 * lyxfunc.C (Dispatch): fixed protected blank problem.
13082 * BufferView2.C (protectedBlank): added LyxText * parameter.
13084 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13085 (AppendColumn): same as above for column_info.
13087 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13088 (moveCursorUpdate): use a LyXText param for support of InsetText.
13090 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13091 (tripleClick): ditto
13093 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13095 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13097 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13099 * text2.C (SetSelection): set correct update status if inset_owner
13100 (ToggleFree): ditto
13102 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13104 * tabular.C: remove some commented code.
13106 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13108 * BufferView_pimpl.C: call hideSplash()
13110 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13113 * bibforms.h: remove
13116 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13117 add LFUN_CHILD_CREATE
13119 * counters.h: fix tiny typo
13124 * lyx.C: move splash to frontends/xforms/
13126 * lyx_gui_misc.C: move Include and Bibform to frontends
13128 * lyxvc.h: clarify comment
13130 * vspace.C: tiny housekeeping
13132 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13134 * text.C (PrepareToPrint): RTL Fix.
13136 * paragraph.C (GetUChar): New method.
13137 (String): Use GetUChar.
13139 * buffer.C (asciiParagraph): Use GetUChar.
13141 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13143 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13145 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13148 * buffer.C: rename to getLogName(), handle
13149 build log / latex log nicely
13151 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13154 * MenuBackend.h: remove support for reference menuitem type.
13156 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13158 * BufferView_pimpl.C: housekeeping
13159 * BufferView_pimpl.h:
13164 * minibuffer.h: move Timeout GUI-I
13166 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13168 * lyxrc.C (read): Update converters data-structures.
13170 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13172 * LaTeX.h (operator!=): add operator != for Aux_Info
13174 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13176 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13178 * LaTeXLog.C: deleted, useful code moved to Buffer
13181 * buffer.C: new function getLatexLogName()
13187 * lyxfunc.C: use frontends for LaTeX and VC logs
13189 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13191 * LaTeX.h: yet another std:: that Allan forgot.
13193 * Variables.C (set): renamed from isset(), because this clashes
13194 with some HP-UX macros (grr).
13196 2001-02-06 Allan Rae <rae@lyx.org>
13198 * LaTeX.h: Another bug fix. Missing std:: this time.
13200 2001-02-04 Allan Rae <rae@lyx.org>
13202 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13203 floats problem. I've left it commented out because it's not quite
13204 correct. It should also test that the current object is a table or
13205 figure inset. But I haven't gotten around to figuring out how to do
13206 that. I *think* it'll be something like: "table" == inset.type()
13208 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13211 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13213 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13214 all the citation/databases/styles in the auxilary file.
13215 (run): Rerun latex if there was a babel language error.
13217 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13219 * text.C (Backspace): Preserve the font when changing newline char
13221 (BreakParagraph): If the cursor is before a space, delete the space.
13223 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13225 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13227 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13228 new argument (code).
13229 (ChangeCitationsIfUnique): New method.
13231 * paragraph.C (GetPositionOfInset): Handle bibkey.
13233 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13235 * BufferView_pimpl.h: change type of Position::par_pos to
13236 LyXParagraph::size_type.
13238 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13240 * BufferView_pimpl.C (savePosition, restorePosition): Write
13241 messages to minibuffer.
13243 2001-01-28 José Matos <jamatos@fep.up.pt>
13245 * buffer.C (makeDocBookFile): adds support for document language.
13246 A silly restriction on the name of LatexCommand types where removed.
13247 Added support for CDATA sections, allows to chars unescaped, used
13248 among others in code, to avoid escape < and >.
13250 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13252 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13253 saved positions instrad of a stack. Furthermore, a position is
13254 stored using paragraph id/paragraph position.
13256 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13257 Remove LFUN_REF_BACK.
13259 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13261 * converter.C (dvipdfm_options): New method.
13263 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13265 * vspace.C (isValidLength): Fix for empty input string.
13267 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13269 * LyXAction.C (init): change description of LFUN_FIGURE to
13272 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13274 * LaTeX.C: add using directive
13276 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13278 * MenuBackend.C (expand): Fix the sorting of the formats.
13280 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13282 * lyx_main.C: tiny error message fix
13284 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13286 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13287 calling fl_initialize(). This fixes the problem with ',' as
13288 decimal separator in text files.
13290 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13292 * trans.C (process): Fix the keymap bug.
13294 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13296 * LaTeX.C (scanAuxFiles): New method. Provides support for
13297 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13298 (scanLogFile) Scan for "run BibTeX" messages.
13300 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13301 OT1 font encoding. Also, load the aecompl package if the ae
13304 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13306 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13308 * texrow.C (increasePos): turn two error messages into debug
13311 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13313 * LaTeX.C (scanAux): Handle the \@input macro.
13314 (runBibTeX): Use scanAux().
13316 * language.C (latex_options_): New field.
13318 * LaTeXFeatures.C (getMacros): Add language macros.
13320 * buffer.C (makeLaTeXFile): Small fix.
13322 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13324 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13326 * text2.C: add a using directive.
13328 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13333 * lyxfunc.C: kill LyXBell.
13335 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13337 * text.C (IsBoundary): Remove the error message
13339 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13341 * lyxrc.C (setDefaults): Correct initialization value for
13344 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13346 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13349 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13350 and GotoNextNote().
13352 * src/LyXAction.C: Added reference-next.
13354 * text.C (InsertChar): Use contains instead of strchr.
13356 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13358 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13360 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13361 alignment commands (when needed).
13363 * text.C (InsertChar): Add ':' to number separator chars.