1 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4 when woring with stream::pos_type
5 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
7 2003-10-22 André Pönitz <poenitz@gmx.net>
10 * text.C: use Row & instead of RowList::iterator
12 * lyxrow.h: rename end() to endpos()
18 2003-10-22 Angus Leeming <leeming@lyx.org>
20 * buffer.[Ch] (fully_loaded): new member function, returning true
21 only when the file has been loaded fully.
22 Used to prevent the premature generation of previews and by the
23 citation inset to prevent computation of the natbib-style label.
25 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
26 templates are all set up.
28 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
30 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
32 * text.C: fixed an "oops" in the "is a bit silly"
35 2003-10-21 André Pönitz <poenitz@gmx.net>
37 * FuncStatus.[Ch]: small stuff, whitespace
39 * lyxfont.[Ch]: operator<<() for debug reasons
43 * lyxtext.h: whitespace, spelling
45 * paragraph.C: naming of variables
48 * text2.C: small stuff
51 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
53 * text.C: (1) finish off the inset display() work;
54 (2) fix the "is a bit silly" bug (accessing char
57 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
59 * text.C: re-introduce display() for insets, fixing the
60 various bugs (stretch of line above, math inset
63 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * text.C (rightMargin): remove spurious semicolon
67 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
70 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
72 * text3.C: fix one crash due to wrong cursor def
74 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
76 * vc-backend.C (scanMaster): make the regex static
78 * LaTeX.C (scanAuxFile): make the regexs static
80 * text3.C (doInsertInset, dispatch, dispatch):
81 * text2.C (cursorUp, cursorDown):
82 * text.C (selectNextWordToSpellcheck):
83 * BufferView_pimpl.C (dispatch):
84 * lyxfunc.C (dispatch): localDispatch -> dispatch
86 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
88 * lyxsocket.C: include <cerrno>
90 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
92 * lyxfunc.C (dispatch): remove textcache stuff
94 * bufferlist.C (release): remove textcache stuff
97 * TextCache.C: delete file
98 * TextCache.h: delete file
100 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
102 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
103 delete of the bv_->text.
104 (resizeCurrentBuffer): remove texcache stuff
105 (workAreaResize): ditto
107 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
109 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
112 2003-10-16 André Pönitz <poenitz@gmx.net>
119 * text3.C: speed up by storing y positions per paragraph plus per-row
120 offset instead of having a 'full' y position in the row.
122 2003-10-15 André Pönitz <poenitz@gmx.net>
126 * undo.[Ch]: make undo aware of inner insets
128 2003-10-14 Angus Leeming <leeming@lyx.org>
130 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
131 static member functions LyX::ref() and LyX::cref.
132 (lastfiles): new accessor functions for the new lastfiles_ member var.
133 (addLyXView, views_): add a new LyXView to the list of views_.
134 (updateInset): loop over all LyXViews to call their own updateInset
135 member function, returning a pointer to the Buffer owning the inset.
137 * BufferView_pimpl.C (loadLyXFile):
138 * MenuBackend.C (expandLastfiles):
139 * bufferlist.C (MenuWrite, QuitLyX):
140 lastfiles is no longer a global variable.
141 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
143 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
144 static function. Access through LyX::cref().emergencyCleanup().
146 2003-10-14 André Pönitz <poenitz@gmx.net>
148 * iterators.[Ch]: new direct access to innermost LyXText and Inset
150 * undo.[Ch]: restoring part of 'undo in insets'
153 * undo_funcs.[Ch]: merge with undo.[Ch]
155 * tabular.C: small cleansing stuff
157 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
159 * paragraph_funcs.C (readParToken): report unknown insets as error
160 boxes. Use the outer paragraph as location (also for unknown
163 * factory.C (readInset): do not abort on reading an unknown inset.
166 2003-10-13 Angus Leeming <leeming@lyx.org>
168 * lyx_main.C (LyX): remove call to setDisplayTranslator().
170 * lyxrc.C: displayTranslator is now a function,
171 declared in GraphicsTypes.h.
173 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
175 * format.C: new placeholder $$a to pass the socket address.
177 * bufferlist.[Ch]: new function getBufferFromTmp.
179 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
180 files in the temporary dir.
182 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
184 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
186 * Makefile.am: add lyxsocket.[Ch].
188 * lyx_main.C (error_handler): handle SIGPIPE.
190 2003-10-13 André Pönitz <poenitz@gmx.net>
192 * BufferView_pimpl.C:
197 * undo_funcs.[Ch]: use paroffset_type instead of
198 ParagraphList::iterators to prevent multiple conversion
199 (and get a more robust interface)
201 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
203 * lyxfunc.C (dispatch): RESULT -> dispatch_result
205 * text3.C (dispatch): ditto
207 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
209 * LaTeX.C (handleFoundFile): move the static to smaller scope,
210 move the onlyfile, use onlyfile instead of foundfile in a couple
213 * DepTable.C (update): flush the error stream a bit more
215 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
217 * lyxserver.C (callback): adjust
219 * lyxfunc.C (getStatus): add a missing brace in commented code
220 (ensureBufferClean): reindent
221 (dispatch): delete version taking a string
223 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
225 * LaTeX.C (deplog): move found file handlig from here...
226 (handleFoundFile): .. to new function here.
227 (deplog): make sure to discover several files mentioned on the
230 2003-10-10 André Pönitz <poenitz@gmx.net>
237 * text3.C: fix some of the tabular crashes
239 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
241 * MenuBackend.C (binding): put debug message into Debug::KBMAP
243 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
245 2003-10-09 André Pönitz <poenitz@gmx.net>
247 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
250 * BufferView_pimpl.C:
251 * bufferview_funcs.C:
262 * undo_funcs.C: adjust
264 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
266 * text2.C (incrementItemDepth): new function, use a backtracking
267 algorithm to discover the correct item depth.
268 (resetEnumCounterIfNeeded): new function, use a backtracking
269 algorithm to discover if counter reset is needed.
270 (setCounter): use them. Simplify a bit. Add different labels for
271 different item depths for itemize.
273 * paragraph.C (Paragraph): remove initialization of enumdepth
276 * paragraph.h: get rid of enumdepth, and use itemdepth both for
277 enumerate and itemize. Change the type of itemdepth to signed char.
279 2003-10-08 André Pönitz <poenitz@gmx.net>
281 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
286 * tabular.[Ch]: fix crash after 'row-insert'
288 2003-10-08 Angus Leeming <leeming@lyx.org>
290 Fix doxygen warnings.
292 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
293 Remove CutAndPaste:: prefix from header file declaration.
295 * LColor.h (fill): remove LColor:: prefix from declaration.
297 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
298 use lyx::depth_type rather than Paragraph::depth_type so that
299 header file and .C file match.
301 * converter.h (intToFormat): remove Converters:: prefix from declaration.
303 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
304 * aspell.C: \file aspell_local.C -> \file aspell.C
305 * gettext.C: \file gettext.C -> \file src/gettext.C
306 * gettext.h: \file gettext.h -> \file src/gettext.h
307 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
308 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
309 * text.C: \file text.C -> \file src/text.C
311 * toc.C: move comment so that doxygen is not confused.
313 2003-10-07 Angus Leeming <leeming@lyx.org>
315 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
317 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
320 * aspell_local.h: add forgotten std::string's.
322 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
329 * text3.C: The Box patch. Fancybox support, minipage, parbox
331 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
337 * ParagraphParameters.h:
347 * lyxtextclasslist.h:
351 * textcursor.h: add <string> and other small fixes to make Lars'
352 std::string patch compile with STLport.
354 2003-10-06 Angus Leeming <leeming@lyx.org>
356 * LColor.h: Add missing #include <string>.
358 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
360 * All most all file in all subdirs: Make <string> be the prefered
361 way of getting to std::string, add using declarations.
363 2003-10-06 André Pönitz <poenitz@gmx.net>
365 * metricsinfo.C: initialize LyXFont before changing attribute.
366 (fixes the 'math in \emph is upright' bug)
368 2003-10-06 André Pönitz <poenitz@gmx.net>
370 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
372 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
375 * paragraph_pimpl.C: Small fixes to build using STLport
377 2003-10-02 André Pönitz <poenitz@gmx.net>
380 * text3.C: move handling of LFUN_DEPTH *; fix #1360
382 2003-10-01 André Pönitz <poenitz@gmx.net>
384 * factory.C: assert early
386 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
388 * lyx_main.C: remove the global debug object
390 * debug.h: adjust for new debugstream
392 * debug.C: adjust for new debugstream and keep the global debug
395 2003-09-22 Angus Leeming <leeming@lyx.org>
397 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
398 of g++ which otherwise complain that the scoped_ptr destructor can't delete
399 an incomplete class LyXFont.
401 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
403 * factory.C: bug fix in branches
405 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
407 * lyxfunc.C (processKeySym): adjust
409 (dispatch): change arg name from ev to func, adjust
410 (sendDispatchMessage): ditto
412 * lyx_main.C (defaultKeyBindings): adjust keybindings
413 (deadKeyBindings): ditto
415 * kbsequence.C (addkey): return a FuncRequest
417 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
419 * kbmap.C (bind): take a FuncRequest as arg, adjust
422 (defkey): change to take a FuncRequest as arg, adjust
423 (findbinding): take a FuncRequest as arg, adjust.
425 * funcrequest.h (operator=): added
427 * funcrequest.C (FuncRequest): default kb_action changed from
428 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
430 * buffer.C (dispatch): simplify
431 (dispatch): adjust to take a FuncRequest as arg, adjust
433 * boost.C (assertion_failed): change assertion message slightly
435 * ToolbarBackend.C (read): simplify
437 * MenuBackend.C (binding): adjust call to findbinding, add a
438 message if no binding is found.
440 (expandToc): correct by adding a empty FuncRequest
442 * LyXAction.C: include <boost/assert.hpp>
443 (isPseudoAction): delete function
444 (LookupFunc): change name to...
445 (lookupFunc): this. change return type to FuncRequest.
446 (getActionName): take kb_action as arg, simplify
447 (funcHasFlag): add an assert, simplify.
449 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
451 * toc.C (action): return a FuncRequest, simplify
453 * lyxfunc.C (processKeySym): adjust
454 (getStatus): delete version that takes an int.
456 (dispatch): delete version that takes action as int
458 (sendDispatchMessage): simplify and adjust
460 * funcrequest.C (getArg): take unsigned int as arg
462 * ToolbarBackend.C (read): adjust
463 (add): delete version that takes func as a string.
464 (getIton): take a FuncRequest as arg
466 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
469 * MenuBackend.C (MenuItem): add a new construct that only takes a
470 Kind, simplify the constructor use for submenus.
472 (expandLastfiles): adjust
473 (expandDocuments): adjust
474 (expandFormats): adjust
475 (expandFloatListInsert): adjust
476 (expandFloatInsert): adjust
477 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
479 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
480 Remove class variables lyx_pseudo_map and lyx_arg_map
482 * LyXAction.C (searchActionArg): delete function
483 (getPseudoAction): delete function
484 (retrieveActionArg): delete function
485 (LookupFunc): make it return kb_action, simplify.
486 (getActionName): simplify
488 * factory.C (createInset): fix new bug
490 2003-09-19 Angus Leeming <leeming@lyx.org>
492 * CutAndPaste.C (pasteSelection): remove fudge used to set the
493 masterFilename_ parameter in the include inset.
495 * factory.C (createInset): changes due to the changes to InsetInclude.
497 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
499 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
501 2003-09-18 Angus Leeming <leeming@lyx.org>
504 * BufferView.C: pass the buffer when calling Inset::getLabelList,
505 Inset::fillWithBibKeys.
506 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
508 2003-09-18 Angus Leeming <leeming@lyx.org>
510 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
512 (ctor): pass and store a 'Buffer const &'
513 (buffer): new member function.
515 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
516 '*this' to the LaTeXFeatures ctor.
518 2003-09-18 Angus Leeming <leeming@lyx.org>
524 * text.C: rename EnumLColor as LColor_color.
526 2003-09-18 Angus Leeming <leeming@lyx.org>
528 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
529 remove #include "insets/insetbase.h" from cursor.h.
531 2003-09-18 Angus Leeming <leeming@lyx.org>
533 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
534 InsetOld_code to remove #include "inset.h".
536 * iterators.C: add #include "insets/inset.h"
538 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
540 * BufferView.C: remove more locking stuff that apparently doesn't
541 do anything sensible.
543 2003-09-16 André Pönitz <poenitz@gmx.net>
546 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
549 2003-09-16 Angus Leeming <leeming@lyx.org>
551 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
553 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
556 * paragraph.h: remove #include "lyxfont.h". Forward declare
559 2003-09-16 Angus Leeming <leeming@lyx.org>
561 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
562 of support/textutils.h.
563 (isWord): move the contents of support/textutils.h's IsWordChar here.
569 * text2.C: add #include "paragraph.h".
572 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
574 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
580 * LaTeX.C: use namespace alias for lyx::support::os
582 2003-09-16 Angus Leeming <leeming@lyx.org>
585 * bufferview_funcs.C:
590 * text.C: add #include "LColor.h".
592 2003-09-16 Angus Leeming <leeming@lyx.org>
594 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
595 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
597 Store the FontBits::color variable as an int rather than as an
598 LColor::colorso that we can move LColor.h out of the lyxfont.h header
601 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
602 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
603 string calls together.
605 * lyxrc.C: add #include "LColor.h".
607 2003-09-15 Angus Leeming <leeming@lyx.org>
609 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
612 2003-09-15 Angus Leeming <leeming@lyx.org>
614 * LColor.h: add an EnumLColor wrapper for LColor::color.
616 * lyxfont.[Ch] (color, setColor, realColor):
617 * lyxtext.h, text.C (backgroundColor):
618 pass EnumLColor args to/from the functions, rather than LColor::color
622 * lyxtext.h: forward declare EnumLColor.
624 * lyx_main.C: add #include "LColor.h".
626 2003-09-15 Angus Leeming <leeming@lyx.org>
628 * .cvsignore: add lyx-gtk.
630 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
635 * ParagraphParameters.C
649 * vc-backend.C: remove usage of STRCONV
651 2003-09-15 Angus Leeming <leeming@lyx.org>
653 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
654 explicitly define the color passed to the painter.
656 2003-09-15 Angus Leeming <leeming@lyx.org>
658 * bufferparams.C (BufferParams): reorder member initializers to avoid
661 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
663 * CutAndPaste.C (pasteSelection): remove an outdated #warning
664 * text.C (updateRowPositions): remove an unusual nop
666 2003-09-12 André Pönitz <poenitz@gmx.net>
668 * BufferView_pimpl.C:
677 * Counters.[Ch]: finish the 'automatic counters' job
679 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
681 * aspell.C: include <boost/assert.cpp> (compile fix)
683 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
685 * boost.C (assertion_failed): use lyx::support::abort instead of
688 2003-09-10 Angus Leeming <leeming@lyx.org>
690 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
691 with their _fwd progeny.
693 2003-09-09 Angus Leeming <leeming@lyx.org>
695 134 files throughtout the source tree: replace 'using namespace abc;'
696 directives with the appropriate 'using abc::xyz;' declarations.
698 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
700 * boost.C (emergencyCleanup): moved here from LAssert.c
701 (assertion_failed): new function, called by BOOST_ASSERT
703 * several files: change Assert to BOOST_ASSERT
705 2003-09-09 Angus Leeming <leeming@lyx.org>
707 * buffer.[Ch]: Add an Impl class and move Buffer's member
708 variables into it. As a result move several header files out of
711 Add header files to lots of .C files all over the tree as a result.
713 2003-09-09 Angus Leeming <leeming@lyx.org>
715 * buffer.[Ch]: make Buffer's member variables private. Add
718 Lots of changes all over the tree as a result.
720 2003-09-08 Angus Leeming <leeming@lyx.org>
722 * graph.C: #include <config.h>.
724 2003-09-08 Angus Leeming <leeming@lyx.org>
728 * BufferView_pimpl.C:
757 * toc.C: remove redundant using directives.
759 2003-09-07 Angus Leeming <leeming@lyx.org>
761 * LaTeXFeatures.h: remove #include "support/types.h".
762 * ToolbarBackend.h: remove #include <algorithm>.
763 * changes.h: remove #include <ctime>.
764 * debug.h: remove #include <iosfwd>.
765 * graph.h: remove #include "support/std_string.h".
766 * lyx_main.h: remove #include <csignal>.
767 * lyxlex_pimpl.h: remove #include <fstream>.
768 * sgml.h: remove #include <algorithm>, <utility>.
769 * toc.h: remove #include "support/std_ostream.h".
770 Add #include <iosfwd>.
772 2003-09-07 Angus Leeming <leeming@lyx.org>
774 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
776 * converter.h: forward declare LatexRunParams.
777 * encoding.h: remove #include "lyxrc.h".
778 * lyxtext.h: remove #include "LColor.h".
779 * lyxtextclass.h: remove #include "support/types.h".
780 * trans.h: remove #include "tex-accent.h".
781 * trans_mgr.h: remove #include "tex-accent.h".
782 * insets/inset.h: remove #include "support/types.h", <vector>.
783 * insets/insetcollapsable.h: remove #include "LColor.h".
784 * insets/insetinclude.h: remove #include "dimension.h".
785 * insets/insetlatexaccent.h: remove #include "dimension.h".
786 * insets/insetoptarg.h:: remove #include "insettext.h".
787 * insets/insettext.h: remove #include "dimension.h",
788 <boost/shared_ptr.hpp>
790 * insets/renderers.h: add #include "dimension.h".
791 * insets/updatableinset.h: add #include "support/types.h".
793 * many .C files: Associated changes.
795 2003-09-06 Angus Leeming <leeming@lyx.org>
797 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
798 one, inside testInvariant.
800 * PrinterParams.C: new file.
801 * PrinterParams.[Ch]: move the function bodies out of line.
803 2003-09-06 Angus Leeming <leeming@lyx.org>
805 * ParagraphParameters.h: forward declare ParameterStruct rather than
806 including its header file.
807 (depth): moved out-of-line.
809 2003-09-06 Angus Leeming <leeming@lyx.org>
811 * BufferView_pimpl.h:
814 * lyxfunc.h: forward declare LyXKeySym rather than
815 #include "frontends/LyXKeySym.h".
817 * BufferView_pimpl.C:
820 * lyxfunc.C: associated changes.
822 2003-09-06 Angus Leeming <leeming@lyx.org>
824 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
825 As a result, can remove the #include "insets/inset.h" from BufferView.h
827 2003-09-06 Angus Leeming <leeming@lyx.org>
829 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
830 As a result, can remove the #include "insets/inset.h" from BufferView.h
832 2003-09-06 Angus Leeming <leeming@lyx.org>
838 * bufferview_funcs.C:
839 * BufferView_pimpl.C:
844 * ParagraphParameters.C:
849 * frontends/controllers/ControlDocument.C:
850 * insets/insetcaption.C: rearrange the #includes into some sort of
853 * buffer.h: remove #includes ErrorList.h, undo.h
855 2003-09-06 Angus Leeming <leeming@lyx.org>
857 * support/types.h: add a 'depth_type' typedef, used to store the
858 nesting depth of a paragraph.
861 * ParameterStruct.h: use this lyx::depth_type typedef rather than
866 * ParagraphParameters.h:
867 * sgml.h: use lyx::depth_type rather than Paragraph or
868 ParameterStruct's depth_type.
871 * paragraph_funcs.h: no need to #include paragraph.h anymore.
874 * BufferView_pimpl.C:
876 * ParagraphParameters.C:
879 * bufferview_funcs.C:
886 * frontends/LyXView.C:
887 * frontends/controllers/ControlDocument.C:
888 * frontends/controllers/ControlErrorList.C:
889 * insets/insetbibitem.C:
890 * insets/insetbranch.C:
891 * insets/insetcaption.C:
892 * insets/insetcollapsable.C:
895 * insets/insetfloat.C:
896 * insets/insetfoot.C:
897 * insets/insetfootlike.C:
898 * insets/insetnewline.C:
899 * insets/insetquotes.C:
900 * insets/insettabular.C:
901 * insets/insettext.C:
902 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
904 * frontends/controllers/ControlChanges.C: #include "changes.h".
906 2003-09-06 Angus Leeming <leeming@lyx.org>
908 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
909 than #including paragraph.h.
912 * RowList.h: deleted. Superfluous.
922 * insets/insettext.h: use ParagraphList_fwd.h rather than
925 * paragraph.h: don't forward declare ParagraphList.
928 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
929 rather than ParagraphList.h. paragraph.h is still needed for the
930 Paragraph::depth_type parameters.
932 * textcursor.h: enable it to compile stand-alone in light of the
935 * bufferview_funcs.C:
947 * frontends/controllers/ControlParagraph.C:
948 * frontends/controllers/ControlTabular.C:
949 * insets/insetmarginal.C:
950 * insets/insetminipage.C:
951 * insets/insetnote.C:
952 * insets/insetoptarg.C: add header files needed to compile again.
954 2003-09-06 Angus Leeming <leeming@lyx.org>
956 * RowList_fwd.h: new file, forward-declaring Row rather than
962 * insets/insettext.h: use it instead of RowList.h
964 * bufferview_funcs.C:
971 * text3.C: #include "RowList.h".
973 2003-09-05 Angus Leeming <leeming@lyx.org>
975 * factory.C (createInset):
976 * vspace.C (c-tor): replace sscanf call with an istringstream.
977 * ispell.C: re-add missing HP/UX headers.
978 * lyxserver.C: re-add missing os2 headers.
980 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
989 * text3.C: re-add missing system headers, needed for 2.95.2.
991 2003-09-05 Angus Leeming <leeming@lyx.org>
993 Changes most place everywhere due to the removal of using directives
994 from support/std_sstream.h.
996 2003-09-05 Angus Leeming <leeming@lyx.org>
998 Replace LString.h with support/std_string.h,
999 Lsstream.h with support/std_sstream.h,
1000 support/LIstream.h with support/std_istream.h,
1001 support/LOstream.h with support/std_ostream.h.
1003 Changes resulting throughout the tree.
1005 2003-09-05 Angus Leeming <leeming@lyx.org>
1007 * sgml.h: ensure that the header file can be compiled stand-alone.
1008 * *.C: strip out redundant #includes. (320 in total.)
1010 2003-09-04 Angus Leeming <leeming@lyx.org>
1012 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1013 here (from getPackages).
1015 * debug.[Ch]: add a new EXTERNAL tag.
1017 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1019 * text2.C (cursorEnd): simplify
1021 (getColumnNearX): adjust
1023 * text.C (computeBidiTables): adjust
1026 * rowpainter.C (paintChars): adjust
1027 (paintSelection): adjust
1028 (paintChangeBar): adjust
1031 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1033 (numberOfSeparators): adjust
1035 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1041 * text3.C: Restricts the mouse click functionality
1042 of insets like bibtex, include, toc and floatlist to the visible
1043 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1044 up the dialogs. Cursor has to be in front of the inset (i.e.
1045 start of row) for this to function.
1047 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1049 * bufferview_funcs.C (currentState): output row information
1051 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1053 * bufferview_funcs.C (currentState): output paragraph position
1055 2003-09-04 Angus Leeming <leeming@lyx.org>
1057 * FloatList.h: move out #include "Floating.h".
1058 * LaTeX.h: move out #include "DepTable.h".
1059 * LyXAction.h: move out #include "funcrequest.h".
1060 * buffer.h: move out #include "author.h", "iterators.h".
1061 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1062 * lyx_main.h: move out #include "errorlist.h".
1063 * lyxfunc.h: move out #include "FuncStatus.h".
1064 * lyxtext: move out #include "lyxcursor.h".
1065 * paragraph_pimpl.h: move out #include "counters.h".
1067 2003-09-03 Angus Leeming <leeming@lyx.org>
1069 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1070 preamble_snippets list, enabling us to add snippets to the preamble
1071 only if the snippet was not there already.
1073 2003-09-04 Angus Leeming <leeming@lyx.org>
1075 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1077 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1079 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1082 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1084 * BranchList.C: point fix, earlier forgotten
1086 2003-09-02 Angus Leeming <leeming@lyx.org>
1088 * box.C (contains): renamed from 'contained' after a fantastic
1091 2003-09-02 John Levon <levon@movementarian.org>
1097 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1099 2003-09-02 John Levon <levon@movementarian.org>
1101 * text2.C: simplification of cursorEnd(), including partial
1104 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1106 * buffer.C (readFile): add a space
1108 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1110 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1112 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1114 * buffer.C (readFile): new function, take a filename and a
1115 ParagraphList::iterator
1117 (readFile): adjust, make it private. don't use setStream, make
1118 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1119 always contain the filename.
1121 * BufferView.C (insertLyXFile): simplify and make it work for
1124 2003-08-30 John Levon <levon@movementarian.org>
1126 * Makefile.am: fix dist (from Kayvan)
1128 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1130 * most files: change to use const Buffer refs
1132 2003-08-27 André Pönitz <poenitz@gmx.net>
1134 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1135 on top of ownerPar().
1137 2003-08-27 John Levon <levon@movementarian.org>
1139 * funcrequest.C: properly initialise POD members
1141 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1143 * lyxtext.h (top_y): move top_y from here
1148 * BufferView_pimpl.[Ch]: to here
1149 * frontends/screen.C:
1150 * insets/insettabular.C:
1151 * insets/insettext.C: adjust
1152 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1154 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1157 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1159 2003-08-26 André Pönitz <poenitz@gmx.net>
1161 * paragraph_func.[Ch] (outerPar): new function
1164 * paragraph_funcs.C:
1165 * paragraph_funcs.h:
1166 * paragraph_pimpl.C:
1167 * text2.C: remove Inset::par_owner
1169 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1174 * text2.C: eliminates the needFullRow/display() stuff
1175 altogether, putting the logic in metrics/draw in the insets.
1177 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1179 * text2.C (redoParagraphInternal, redoParagraphs):
1180 * text.C (redoParagraph): add a call to updateRowPositions at the
1181 end of each 'metrics-like' call. Remove all others.
1182 (getRow): remove the 'y-computing' version.
1183 (getRowNearY): do not compute nor return the real y. Solve the
1184 'y < 0' problem and simplify.
1186 2003-08-22 Angus Leeming <leeming@lyx.org>
1188 * *.[Ch]: clean-up of licence and author blurbs.
1189 Also move config.h out of a few .h files and into a few .C files.
1191 2003-08-22 André Pönitz <poenitz@gmx.net>
1193 * lyxrow.[Ch]: add x_ and *fill_ members
1198 * text2.C: adjust/remove prepareToPrint() calls
1200 2003-08-22 André Pönitz <poenitz@gmx.net>
1202 * lyxrow.[Ch]: add end_ member
1204 * lyxrow_funcs.C: use LyXRow::end_
1206 * lyxtext.h (singleWidth): add LyXFont parameter
1209 * text2.C: adjust LyXText::singleWidth() calls
1211 * text.C (redoParagraph): simplify row breaking logic
1214 2003-08-19 André Pönitz <poenitz@gmx.net>
1216 * funcrequest.C: initialize button_ member
1219 * rowpainter.[Ch]: interface consolidation
1221 2003-08-18 André Pönitz <poenitz@gmx.net>
1224 * BufferView_pimpl.C:
1226 * paragraph_funcs.C:
1228 * text3.C: remove LyXScreen::draw() and fitCursor calls
1230 * BranchList.h: remove spurious semicolons
1232 * MenuBackend.C: fix branchlist related crash
1234 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1242 * bufferparams.[Ch]:
1246 * text3.C: implements the 'branch inset'
1247 idea. This allows the output of various versions of a document
1248 from a single source version, selectively outputing or suppressing
1249 output of parts of the text.
1250 This implementation contains a 'branch list editor' in a separate
1251 tab of the document settings dialog. Branches are user definable
1252 and have a "display colour" to distinguish them on-screen.
1254 ColorHandler was somewhat cleaned up.
1255 (1) make possible a dynamically growing LColor list by allowing
1256 the graphic context cache to grow along (vector);
1257 (2) eliminate an IMHO unnecessary step in colour allocation.
1259 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1261 * BufferView_pimpl.C: compile fix
1263 2003-08-15 André Pönitz <poenitz@gmx.net>
1265 * rowpainter.C: remove extra metrics calls
1267 * lyxtext.h: merge the two constructors into a single one,
1268 pass reference to owner's par list
1270 * BufferView_pimpl.C:
1274 2003-08-15 André Pönitz <poenitz@gmx.net>
1276 * lyxrow_funcs.[Ch]:
1279 * paragraph_funcs.C:
1284 * text_funcs.C: split LyXText::rowlist_ into individual
1285 Paragraph::rows_ chunks
1288 * BufferView_pimpl.[Ch]:
1291 * text3.C: remove toggleSelection()
1293 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1295 * bufferlist.C: beautify two alerts (shorter text of buttons)
1296 * buffer.C: Remove redundant ' ' from message
1298 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1299 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1300 rename VALIGN_CENTER to VALIGN_MIDDLE
1302 2003-08-11 André Pönitz <poenitz@gmx.net>
1304 * lyxtext.h (getPar):
1305 * text.C: new function
1307 2003-08-11 André Pönitz <poenitz@gmx.net>
1310 * tracer.[Ch]: remove unneeded files
1312 * InsetList.[Ch]: remove resizeInsetsLyXText()
1317 * text3.C: merge insertParagraphs() and appendParagraph()
1318 remove breakAgain(), update()
1320 * BufferView_pimpl.[Ch]:
1321 * bufferview_funcs.[Ch]:
1325 * tabular.C: adjust after text & InsetList changes.
1327 2003-08-08 André Pönitz <poenitz@gmx.net>
1329 * text.C (insertChar, backspace): replace rowlist fiddling
1330 with rebreak of full par
1333 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1334 checkParagraph, updateInset): removed
1336 2003-08-07 André Pönitz <poenitz@gmx.net>
1339 * text3.C: merge some LFUN handlers, remove dead code
1341 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1343 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1345 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1347 * text2.C (DEPM): fix part of bug 1255 and 1256
1349 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1351 * BufferView_pimpl.C (workAreaDispatch): change to use
1352 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1353 that are no mouse related.
1355 2003-08-05 André Pönitz <poenitz@gmx.net>
1358 * BufferView_pimpl.[Ch]:
1359 * bufferview_funcs.C:
1361 * text3.C: rip out "deep update"
1363 * textcursor.[Ch] (last_sel_cursor): remove unused member
1365 2003-08-04 André Pönitz <poenitz@gmx.net>
1368 * BufferView_pimpl.[Ch]:
1369 * ParagraphParameters.C:
1370 * bufferview_funcs.C:
1376 * text3.C: replace "complicated" BufferView::update(...) calls with
1379 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1381 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1383 * Makefile.am (lyx_SOURCES): add paper.h
1385 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1387 * Makefile.am: move things around so that both lyx-qt and
1388 lyx-xforms can be built (according to --with-frontend). Then lyx
1389 is a symbolic link to lyx-[firstfrontend]
1391 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1393 * Always use std::endl with lyxerr
1395 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1397 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1399 2003-08-01 André Pönitz <poenitz@gmx.net>
1402 * BufferView_pimpl.[Ch]:
1404 * text3.C: merge BufferView::repaint() and BufferView::update()
1406 2003-08-01 José Matos <jamatos@lyx.org>
1408 * buffer.[Ch]: file_format is no longer a buffer data element.
1410 2003-08-01 André Pönitz <poenitz@gmx.net>
1415 * text2.C: make redoParagraph more independent of current cursor
1417 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1419 * text2.C: remove unneeded members
1421 2003-07-30 André Pönitz <poenitz@gmx.net>
1423 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1425 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1426 create a single function...
1428 * paragraph_funcs.C (moveItem): ... here.
1431 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1433 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1435 * LColor.[Ch]: Add comment and greyedout logical colors.
1437 2003-07-30 André Pönitz <poenitz@gmx.net>
1439 * tabular.C: don't use Assert too heavily. This crashes where it
1442 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1444 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1445 is disabled (bug 1232)
1447 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1449 * factory.C: limited 'arg' scope
1451 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1453 * factory.C: fixed Note submenu issues
1455 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1457 * factory.C: submenu for Note/Comment/Greyedout
1459 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1462 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1464 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1467 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1468 greyedout. Patch provided by Jürgen Spitzmüller.
1470 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1472 * kbmap.C (read): fix error message when reading bind files
1474 2003-07-29 Angus Leeming <leeming@lyx.org>
1476 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1477 certainly does not do what it purports to do. I am doing it, and
1478 us, a favour by killing it.
1480 2003-07-28 José Matos <jamatos@lyx.org>
1482 * buffer.C (readBody, do_writeFile):
1483 * paragraph.C(readParagraph): \end_document replaces \the_end.
1485 2003-07-29 André Pönitz <poenitz@gmx.net>
1488 * BufferView_pimpl.[Ch]:
1492 * textcursor.[Ch]: remove toggleToggle & Co
1494 2003-07-28 José Matos <jamatos@fep.up.pt>
1496 * buffer.C (readParagraph):
1497 * params_func (readParToken, readParagraph):
1498 * paragraph.C (write): \layout -> \begin_layout.
1500 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1502 * lyxlex_pimpl.C (setFile): clean up slightly.
1504 * bufferparams.h: add compressed var
1506 * buffer_funcs.C (readFile): adjust for LyXLex change
1507 (newFile): ditto + simplify
1509 * buffer.C (writeFile): handle writing of compressed files
1511 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1512 Check if the file is compressed and set a bufferparm if so.
1514 * Makefile.am (lyx_LDADD): remove explicit -lz
1516 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1518 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1519 makeDocBookFile): put the real LyX version in the first line of
1523 * version.C.in: remove lyx_docversion
1525 * tabular.C (write_attribute): add a template-based version to
1526 write enums properly
1528 2003-07-28 André Pönitz <poenitz@gmx.net>
1533 * text3.C: use doubles again for x-coordinates. They are needed.
1535 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1537 * messages.C (getLocaleDir): use lyx_localedir()
1539 * lyxlex_pimpl.C (setFile): compress stuff
1541 * buffer.C (writeFile): add some compression stuff
1542 (do_writeFile): new func, dont call expliti close... will this
1545 * Makefile.am (lyx_LDADD): add -lz
1547 2003-07-28 José Matos <jamatos@fep.up.pt>
1549 * buffer.C: increment file format.
1550 * paragraph_funcs (readParagraph, readParToken):
1551 * paragraph.C (readParagraph): add \end_layout.
1553 2003-07-27 Angus Leeming <leeming@lyx.org>
1555 * Makefile.am: remove special casing for configure-time setting of
1556 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1558 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1559 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1561 2003-07-26 André Pönitz <poenitz@gmx.net>
1563 * paragraph_func.[Ch]:
1564 * paragraph.C (realizeFont): inline it whereever it is used
1569 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1572 2003-07-26 André Pönitz <poenitz@gmx.net>
1576 * text2.C: get rid of LyXText::need_break_row
1578 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1580 * toc.[Ch]: put namespace toc inside namespace lyx
1582 * MenuBackend.C (expandToc2): adjust for lyx::toc
1585 * lyxfunc.C (dispatch): adjust for lyx::find
1587 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1588 lyx::find instead. Reorganize a bit.
1589 (LyXReplace): rename to replace
1590 (LyXFind): rename to find
1592 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1595 2003-07-26 André Pönitz <poenitz@gmx.net>
1597 * text.C (setHeightOfRow): restrict scope of temporary variable
1599 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1600 code (never has been used?)
1602 2003-07-27 Asger Alstrup <alstrup@local>
1604 * text.C (fill): Optimise algorithm to exploit that we can reuse
1605 the LyXFont for many characters.
1606 (setHeightOfRow): Same thing.
1607 (rowBreakPoint): Same thing.
1609 2003-07-26 Asger Alstrup <alstrup@local>
1611 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1613 * text.C (singleWidth): Spurious font copying in hot-spot
1614 singleWidth avoided. Reorder tests for arabic for efficiency.
1616 * text.C (fill): handle empty paragraphs better.
1618 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1621 * encoding.h: add includes
1623 * lyxrc.C: remove reading of bind files
1625 * lyx_main.C (init): setup bindings and menus only if we have a
1628 * kbmap.C (read): new method. Do the actual reading of bind
1631 * converter.C (dvipdfm_options):
1634 (output): adapt PAPER_* enums.
1636 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1638 * bufferparams.h: remove paper-related enums from there
1640 * paper.h: New file. A trivial header file to hold paper-related
1641 enums. It should later expand to contain many paper-related
1644 * lyxrc.C: declare extern displayTranslator
1646 2003-07-27 José Matos <jamatos@fep.up.pt>
1648 * tabular.[Ch] (linuxdoc): add support for tables and figures
1651 2003-07-27 José Matos <jamatos@fep.up.pt>
1653 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1654 consistency in both functions.
1655 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1657 2003-07-26 Asger Alstrup <alstrup@local>
1659 * rowpainter.C (paintRows): Change algorithm to work directly on
1660 the insets rather than asking every character in the document
1661 whether its an inset.
1663 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1665 * buffer.C (openFileWrite): factorize some code
1667 2003-07-26 Angus Leeming <leeming@lyx.org>
1670 * lyx_main.[Ch]: replace occurances of system_tempdir with
1673 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1675 * rename Inset to InsetOld
1677 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1679 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1680 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1681 which I think is a bit clearer. EDIT is gone, since it was
1682 premature optimisation, and broken for mathed anyway.
1683 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1684 with cursor positioning in insets as well (math insets still do not
1685 work, but that's a different story anyway.) It mysteriously
1686 crashes sometimes with undo in the first paragraph, but I'm fairly
1687 confident that this is a compiler bug.
1689 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1691 * paragraph.C (Paragraph): adjust for new clone return type
1693 (copyIntoMinibuffer): ditto
1695 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1697 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1698 by not having a special case, and always doing a full rebreak of
1699 the document after undo.
1701 2003-07-23 Angus Leeming <leeming@lyx.org>
1703 * factory.C (createInset): InsetExternal::setParams now takes a
1706 2003-07-23 Angus Leeming <leeming@lyx.org>
1708 * factory.C (createInset): changed interface to the external and
1709 graphics mailers' string2params functions.
1711 2003-07-23 Angus Leeming <leeming@lyx.org>
1713 * factory.C (createInset): pass a
1714 Buffer const * parameter to InsetExternalMailer's string2params.
1716 2003-07-22 John Levon <levon@movementarian.org>
1718 * Thesaurus.h: include the right aiksaurus header
1720 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1722 * MenuBackend.C (expand): check menu shortcuts unconditionally
1724 2003-07-21 Angus Leeming <leeming@lyx.org>
1726 * factory.C (createInset): pass a
1727 buffer_path parameter to InsetGraphicsMailer's string2params.
1729 2003-07-21 Angus Leeming <leeming@lyx.org>
1731 * BufferView_pimpl.C (buffer):
1734 * lyxfunc.C (dispatch):
1735 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1736 rather than the grfx shortcut.
1738 2003-07-21 André Pönitz <poenitz@gmx.net>
1740 * rowpainter.C: remove unused variables
1743 * tabular_funcs.h: move to tabular.C
1744 * Makefile.am: adjust
1746 * tabular.[Ch]: basic optical cleaning
1748 * author.h: pass references, not values
1750 2003-07-18 André Pönitz <poenitz@gmx.net>
1758 * text3.C: two-phase drawing for InsetText and InsetTabular
1759 some float -> int changes.
1761 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1763 * lyx_main.C: fix the fix
1765 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1767 * lyx_main.C: fix a crash in batch mode if no files specified
1770 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1772 * format.[Ch] (papersize): moved to BufferParams
1773 * converter.[Ch] (dvips_options): moved to BufferParams
1774 (dvipdfm_options): moved to anon namespace
1775 * bufferparams.[Ch]: added above functions.
1777 2003-07-17 André Pönitz <poenitz@gmx.net>
1781 * text2.C: don't call inset->update() anymore
1783 * metricsinfo.[Ch]: add convenience constructor
1785 2003-07-16 André Pönitz <poenitz@gmx.net>
1790 * text2.C: replace the LyXCursor::irow_ member with
1791 on-demand computation of the value
1793 2003-07-16 John Levon <levon@movementarian.org>
1795 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1797 2003-07-15 André Pönitz <poenitz@gmx.net>
1800 * text2.C: remove no more needed refresh_row
1802 2003-07-15 André Pönitz <poenitz@gmx.net>
1807 * text3.C: refresh_status tristate -> need_update bool
1809 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1811 * lyxtext.h (init): remove reinit argument (act as if always true)
1812 * text2.C: adjust to that
1814 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1816 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1817 * text3.C: use it to delete selections in some cases
1818 (bugs 441, 673, 702, 954).
1820 2003-07-14 André Pönitz <poenitz@gmx.net>
1822 * rowpainter.[Ch]: reduce interface
1824 2003-07-14 André Pönitz <poenitz@gmx.net>
1826 * BufferView_pimpl.C:
1827 * text2.C: adjust after removing unused BufferView * argument
1829 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1831 * text2.C (init): fix a crash fired on resize
1833 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1835 * buffer.[Ch]: added new closing signal
1836 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1837 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1838 BufferView::Pimpl via the closing the signal
1840 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1842 * buffer.[Ch]: take out all bv-related from buffer
1844 * BufferView_pimpl.[Ch]: connect to new signals
1845 * CutAndPaste.C: removed useless asserts
1846 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1849 * lyxfunc.C: moved view-related funciontality from vc here
1850 * paragraph.C: removed outdated comments
1853 2003-07-10 André Pönitz <poenitz@gmx.net>
1855 * BufferView_pimpl.C:
1859 * text2.C: remove InsetText::InnerCache, clean up consequences
1861 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1863 * ispell.C: fix two typos in error messages
1865 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1867 * Extend Note inset to other forms of annotation like Comment
1868 and Greyedout. Right button click gives dialog.
1870 Files modified or added (+):
1874 * ControlNote.[Ch] +
1876 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1877 frontends/controllers
1881 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1883 * aspell.C: add missing namespace lyx::support
1885 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1887 * BufferView.[Ch] (newFile): Add
1888 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1889 * LaTeX.[Ch] (message): added this signal and use it
1890 * buffer.[Ch] (busy, message): added these signals and use them
1891 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1895 * importer.C: use buffer signals instead of direct bv calling
1896 * lyx_cb.[Ch] (ShowMessage): removed
1899 * paragraph_funcs.C:
1900 * text2.C: use buffer signals
1902 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1904 * introduce namespace lyx::graphics
1906 2003-07-02 André Pönitz <poenitz@gmx.net>
1908 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1910 2003-07-01 André Pönitz <poenitz@gmx.net>
1917 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1918 text*.C to text_func.C
1920 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1922 * introduce namespace lyx::support
1924 2003-06-30 André Pönitz <poenitz@gmx.net>
1929 * text.C: re-enable --with-included-string
1931 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1933 * textcursor.C: add <config.h>
1935 * text.C (getWord): remove const from word_location arg
1937 * lyxvc.C (getLogFile): fix const type order
1939 * lyxtext.h: remove const from word_location arg, add arg name
1941 * lyxlayout.h: currect type on labeltype.
1943 * importer.C: correct \file
1945 * converter.C (intToFormat): use std:: on ret val, ws changes
1947 * bufferlist.h: correct \file
1949 * buffer.C (makeLinuxDocFile): fix const type order
1950 (makeDocBookFile): ditto
1951 (fillWithBibKeys): use std:: on stdlib args.
1953 * CutAndPaste.C: fix authors.
1954 (availableSelections): use std:: on return vector
1956 2003-06-27 André Pönitz <poenitz@gmx.net>
1958 * BufferView_pimpl.C:
1959 * bufferview_funcs.C:
1967 * text3.C: remove LyXCursor::row_ member
1970 * text.C: rename fullRebreak() to partialRebreak() and implement
1971 a fullRebreak() that really bereks fully
1973 * textcursor.h: new struct for cursor-related data
1975 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1977 * lyx_main.C (LyX): get full path of document loaded on the
1980 2003-06-26 André Pönitz <poenitz@gmx.net>
1982 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1983 remove unused/broken operator>,<,>=.
1985 * text.C: remove only use of broken operator<= in an Assert().
1987 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1989 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1990 moved errorlist_.clear to showErrorList
1992 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1994 * converter.C (scanLog, runLaTeX):
1995 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1996 move the bv->showErrorList call to the callers
1997 * lyxfunc.C: i.e. here...
1999 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2000 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2001 namespace, the second to...
2002 * buffer_funcs (BufferFormat, parseErrors): added
2003 * errorlist.C (ErrorList(TeXErrors const &)): removed
2005 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2007 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2009 2003-06-24 "Garst R. Reese" <reese@isn.net>
2013 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2015 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2017 * version.C.in: change docversion to 1.4
2019 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2021 * buffer.C: fix a bug just introduced
2023 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2025 * buffer.[Ch]: added the parseError signal and use it, removed
2027 * BufferView.[Ch] (addError): moved to ...
2028 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2029 to the Buffer::parseError signal to catch (guess what) parse errors
2030 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2032 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2034 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2035 ability to create a buffer and to return an existing one from
2036 the list. Moved these functions to...
2037 * buffer_funcs.[Ch]: added
2038 * BufferView.[Ch] (loadLyXFile): added
2039 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2040 job removed from bufferlist::loadLyXFile.
2041 * buffer.C (setReadOnly): make it work without view
2042 (i.e added an if (users))
2044 2003-06-19 Angus Leeming <leeming@lyx.org>
2047 * LyXAction.C (init):
2048 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2049 with LFUN_DIALOG_SHOW <name> <data>.
2051 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2053 * CutAndPaste.C (availableSelections): small compilation fix for
2054 ancient (gcc 2.9x) compilers
2056 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2058 * text3.C (cursorNext): add tmp var
2060 * text2.C (updateCounters): for function calling out of for clause
2061 (replaceSelectionWithString): ditto
2062 (insertStringAsParagraphs): ditto
2063 (getColumnNearX): add tmp var
2064 (setCursorFromCoordinates): add tmp var
2065 (cursorDownParagraph): add tmp var
2066 (deleteEmptyParagraphMechanism): add tmp var
2068 * text.C (insertChar): add tmp var
2070 * rowpainter.C (paintDepthBar): add tmp var
2072 * CutAndPaste.C (availableSelections): potentially check all
2073 paragraphs in a cut to fill the shown strings.
2075 2003-06-18 André Pönitz <poenitz@gmx.net>
2077 * kbmap.[Ch]: use vector<> instead of list<>
2079 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2081 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2082 pasteSelection with index
2084 * text2.C (pasteSelection): modify, call pasteSelection with index
2086 * paragraph.C (asString): reimplement version with no interval to
2087 call the one with interval.
2089 * lyxtext.h: add index arg to pasteSelection
2091 * MenuBackend.C (MenuItem): handle PasteRecent
2092 (Menu::read::Menutags): add md_pasterecent
2094 (expandPasteRecent): new function
2097 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2099 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2101 (availableSelections): new function
2103 2003-06-17 Angus Leeming <leeming@lyx.org>
2105 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2107 2003-06-17 Angus Leeming <leeming@lyx.org>
2110 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2112 * lyxfunc.C (dispatch): invoke it.
2114 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2116 * iterators.C (operator++, ParPosition): reintroduce some
2117 const_cast for the benefit of older compilers.
2119 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2121 * text3.C (dispatch): do not modify clipboard when doing
2122 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2123 LFUN_DELETE_SKIP on a selection selection
2125 2003-06-16 André Pönitz <poenitz@gmx.net>
2131 * tabular.[Ch]: IU of clone() and getLabelList();
2133 2003-06-13 André Pönitz <poenitz@gmx.net>
2135 * tabular.h: compactification
2137 2003-06-12 André Pönitz <poenitz@gmx.net>
2141 * tabular_funcs.h: some renaming plus whitespace
2143 2003-06-12 André Pönitz <poenitz@gmx.net>
2146 * BufferView_pimpl.C:
2152 * toc.C: Return a Paragraph & for ParIterator::operator*()
2154 2003-06-11 John Levon <levon@movementarian.org>
2158 * ToolbarBackend.C: add "Toolbars" section and
2161 2003-06-10 Angus Leeming <leeming@lyx.org>
2164 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2166 * lyxfunc.C (dispatch): invoke it.
2168 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * main.C: protect <ios> with HAVE_IOS
2171 (main): protect sync_with_stdio with HAVE_IOS
2173 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2175 * text2.C (cutSelection): adjust
2176 (pasteSelection): adjust
2178 * messages.C: handle get of empty string
2180 * main.C (main): use sync_with_stdio(false)
2182 * lyxfunc.C (dispatch): adjust
2184 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2185 (WriteAs): remove unneeded BufferView arg.
2187 * bufferparams.h: use correct types on papersize, papersize2 and
2190 * bufferparams.C (readToken): adjust for type
2191 (writeLaTeX): add missing cases to switch.
2193 * bufferlist.C (quitWriteBuffer): adjust
2196 * buffer.C (asciiParagraph): remove some commented code.
2198 * CutAndPaste.C: remove current_view extern variable.
2199 (cutSelection): add BufferParams arg.
2200 (eraseSelection): add BufferParams arg.
2201 (pasteSelection): add Buffer const & arg
2203 2003-06-07 John Levon <levon@movementarian.org>
2206 * paragraph_funcs.C:
2207 * paragraph_pimpl.C:
2211 * paragraph.C: allow InsetERT to freely space lines,
2212 and some consolidation of code
2214 2003-06-06 José Matos <jamatos@fep.up.pt>
2216 * buffer.C (makeDocBookFile): fix bug #821
2218 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2220 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2222 2003-06-04 Angus Leeming <leeming@lyx.org>
2224 * buffer.C: bump format to 224.
2226 2003-06-05 André Pönitz <poenitz@gmx.net>
2228 * text2.C (redoParagraphs): remove two const_cast<>
2230 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2232 * ParagraphList.h: remove last remnants of NO_STD_LIST
2234 2003-06-03 Angus Leeming <leeming@lyx.org>
2236 * factory.C (createInset): small change to the way InsetExternal's params
2239 2003-06-04 André Pönitz <poenitz@gmx.net>
2241 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2243 * paragraph_pimpl.h:
2244 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2246 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2248 * undo_funcs.C: make some simple cases of undo work again
2250 2003-06-03 John Levon <levon@movementarian.org>
2252 * ispell.C: HPUX doesn't have sys/select.h
2255 2003-06-03 John Levon <levon@movementarian.org>
2257 * CutAndPaste.C: update tabular and include inset
2262 * paragraph.C: remove owningBuffer(), don't pass Buffer
2265 * factory.C: insetGraphicsParams changed
2267 2003-06-02 John Levon <levon@movementarian.org>
2273 * text3.C: remove insetparent
2275 2003-06-02 John Levon <levon@movementarian.org>
2278 * buffer.C: fix inset_iterator.end(), move out of line
2281 2003-06-01 John Levon <levon@movementarian.org>
2283 * text3.C: use a proper cut/paste when doing inset
2284 insert (from Jürgen Spitzmüller)
2286 2003-06-01 John Levon <levon@movementarian.org>
2288 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2290 2003-05-30 André Pönitz <poenitz@gmx.net>
2292 * rowpainter.C: unify second drawing phase
2294 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2296 * trans_mgr.C: remove one case of current_view
2298 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2300 * paragraph_funcs.h: remove paragraph.h include
2302 * paragraph.h: delete NO_STD_LIST stuff
2304 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2306 * buffer.h: remove paragraph.h include
2308 * ParagraphList.C: delete file
2310 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2312 * toc.C (getTocList): adjust
2314 * paragraph_pimpl.C (validate): adjust
2316 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2318 * paragraph.C (Paragraph): adjust
2319 (getPositionOfInset): use const_iterator, adjust
2320 (bibitem): use const_iterator, adjust
2321 (setInsetOwner): adjust
2323 * iterators.C (operator++): adjust
2325 * InsetList.[Ch]: Replace selfmade iterator with standard
2326 vector::iterator also introduce const_iterator. Remove getPos,
2327 getInset and setInset from InsetTable. Adjust accordingly.
2329 * BufferView.C (lockInset): adjust
2330 (ChangeInsets): adjust
2332 * tabular.[Ch]: delete commented same_id functions
2334 2003-05-28 John Levon <levon@movementarian.org>
2336 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2338 2003-05-28 André Pönitz <poenitz@gmx.net>
2340 * metricsinfo.[Ch]: remove 'fullredraw' member
2342 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2344 * lyxtextclass.C (operator): remove caching.
2346 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2350 * text2.C (cursorBottom): adjust
2351 (setCounter): use ParagraphList::find, adjust
2353 * text.C (workWidth): use ParagraphList::find, adjust
2355 * lyxcursor.C (LyXCursor): adjust
2357 * buffer.C (inset_iterator): adjust
2359 * ParagraphList.h: make iterator(value_type) private, make
2360 ParagraphList a friend of iterator.
2362 * ParagraphList.C (find): new function
2364 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2366 2003-05-27 André Pönitz <poenitz@gmx.net>
2368 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2370 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2372 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2374 2003-05-26 John Levon <levon@movementarian.org>
2376 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2378 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2380 * remove same_id from function signatures, adjust.
2382 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2384 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2386 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2388 * paragraph.C (Paragraph): get rid of same_ids parameter
2390 * ParagraphList.C (insert): adjust
2393 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2395 * paragraph_funcs.C (breakParagraph): adjust
2396 (breakParagraphConservative): adjust
2398 * buffer.C (readParagraph): adjust
2400 * ParagraphList.C (insert): take a reference instead of a pointer
2403 * paragraph.[Ch] (id): new function
2405 * bufferlist.C (newFile): adjust
2407 * ParagraphList.C (ParagraphList): adjust
2409 (push_back): take a reference instead of a pointer.
2411 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2413 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2416 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2417 set else use old code.
2419 * ParagraphList.C: remove all NO_NEXT code and only compile this
2420 code of NO_STD_LIST is set.
2422 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2424 * BufferView_pimpl.C:
2434 * graphics/GraphicsConverter.C:
2435 * graphics/PreviewLoader.C: header adjustment
2437 2003-05-23 Angus Leeming <leeming@lyx.org>
2439 * LaTeXFeatures.[Ch] (useBabel): new method.
2440 * bufferparams.C (writeLaTeX): use it.
2442 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * ParagraphList.h (set): remove unused function.
2446 2003-05-23 André Pönitz <poenitz@gmx.net>
2449 * BufferView_pimpl.C:
2453 * undo_funcs.C: setUndo reworked
2455 * iterators.[Ch]: add access to topmost ParagraphList
2457 * lyxtext.[Ch] (workWidth): add a const
2459 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2461 * texrow.[Ch] (increasePos): remove function
2462 * exporter.C (export): removed unused var and outdated comment
2464 2003-05-23 Angus Leeming <leeming@lyx.org>
2466 * latexrunparams.h: rename fragile as moving_arg.
2467 * paragraph.C (simpleTeXOnePar): ditto.
2468 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2470 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2474 (textUndoOrRedo): comment out a currently unused var.
2476 * paragraph.h (NO_NEXT): enable NO_NEXT
2478 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2480 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2482 * exporter.C (Export): adjust for removeAutoInsets removal.
2484 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2486 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2488 * BufferView.[Ch] (removeAutoInsets): delete function
2490 2003-05-22 Angus Leeming <leeming@lyx.org>
2492 * latexrunparams.h: add a free_spacing variable.
2494 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2495 to pass moving_arg, as the data is stored in runparams.fragile.
2497 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2498 to Inset::latexOptional or to simpleTeXOnePar.
2500 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2501 free_spacing arg to Inset::latexOptional.
2503 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2506 2003-05-22 Angus Leeming <leeming@lyx.org>
2508 * latexrunparams.h: add fragile and use_babel variables.
2510 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2511 * buffer.C (makeLaTeXFile): store this returned value in
2512 runparams.use_babel, thus passing it to the inset::latex methods.
2514 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2515 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2517 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2518 longer has a fragile arg, as it is stored in runparams.fragile.
2520 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2521 moving_arg parameter as the data is stored in runparams.fragile.
2523 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2524 a fragile parameter as the data is stored in runparams.fragile.
2526 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2528 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2530 2003-05-22 Angus Leeming <leeming@lyx.org>
2532 * latexrunparams.h: add a 'bool nice' which defaults to false.
2534 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2535 now encapsulated within runparams.
2537 * bufferlist.C (updateIncludedTeXfiles):
2538 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2540 2003-05-22 Angus Leeming <leeming@lyx.org>
2542 * latexrunparams.h: new file containing struct LatexRunParams.
2543 * Makefile.am: add new file.
2545 * LaTeX.[Ch] (c-tor, run):
2546 * buffer.[Ch] (makeLaTeXFile):
2547 * bufferlist.[Ch] (updateIncludedTeXfiles):
2548 * converter.C (convert, scanLog):
2549 * converter.[Ch] (runLaTeX):
2550 * exporter.C (Export):
2551 * paragraph.[Ch] (simpleTeXOnePar):
2552 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2553 * paragraph_funcs.[Ch] (latexParagraphs):
2554 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2555 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2556 pass around a LatexRunParams parameter.
2558 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2560 * paragraph.[Ch]: remove unused constructor
2562 * ParagraphList.C (erase): new function, taking two iterators
2564 2003-05-22 André Pönitz <poenitz@gmx.net>
2566 * undo_funcs.C: remove duplicated code
2568 * iterator.[Ch]: operator=
2570 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2572 * tabular.C (SetMultiColumn): ws changes
2574 * rowpainter.C (paintFirst): get rid of a ->previous
2576 * lyx_cb.C (getPossibleLabel): parlist simplification
2578 * BufferView.C (ChangeInsets): simplify slightly.
2580 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2582 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2583 * lfuns.h: new LFUN_SPACE
2584 * lyxfunc.C: protected space has a new lfun
2585 * paragraph_funcs.C: read new space insets
2587 * factory.C: handle new space insets
2589 2003-05-22 André Pönitz <poenitz@gmx.net>
2592 * BufferView_pimpl.C:
2595 * undo_funcs.C: return a ParIterator from getParFromID.
2597 * iterators.[Ch]: add two const's
2599 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2601 * toc.C (getTocList): adjust
2603 * iterators.[Ch]: rework for parlist
2605 * buffer.C (par_iterator_begin): adjust
2606 (par_iterator_end): adjust
2608 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2610 * BufferView.C (removeAutoInsets): adjust
2611 (ChangeInsets): adjust
2613 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2615 * text.C (top_y): fix bug 1110
2617 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2619 * errorlist.[Ch]: added
2622 * BufferView_pimpl.C:
2623 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2626 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2628 * Makefile.am: ensure that lyx is relinked upon changes to the
2629 various "convenience" libs.
2631 2003-05-20 Angus Leeming <leeming@lyx.org>
2633 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2634 files are compiled in alphabetical order again.
2636 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2638 2003-05-19 Angus Leeming <leeming@lyx.org>
2640 * gettext.[Ch]: remove "char const * _(char const *)".
2642 2003-05-19 André Pönitz <poenitz@gmx.net>
2644 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2653 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2655 2003-05-19 André Pönitz <poenitz@gmx.net>
2659 * lyxtextclass.[Ch]:
2661 * paragraph_funcs.[Ch]:
2663 * text3.C: more insetenv work
2665 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2667 * ParagraphParameters.C (params2string): small bug fixed
2669 2003-05-16 André Pönitz <poenitz@gmx.net>
2672 * bufferview_funcs.C: patch from Kornel Benko to prevent
2673 crash when _(...) is called twice in a statement
2675 2003-05-16 André Pönitz <poenitz@gmx.net>
2682 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2684 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2686 * lyx_main.C (init): remove spurious static_cast
2688 2003-05-14 André Pönitz <poenitz@gmx.net>
2690 * BufferView.C: fix format string
2692 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2694 * BufferView.[Ch] (insertErrors): removed
2695 * BufferView.[Ch] (showErrorList): added
2696 * buffer.C (runChkTeX):
2697 * converter.C (scanLog): call showErrorList instead of inserterrors
2699 2003-05-13 André Pönitz <poenitz@gmx.net>
2701 * BufferView_pimpl.C:
2703 * bufferview_func.C:
2710 * tabular_funcs.h: tostr() from its own header
2712 * ParagraphParameters.C:
2717 * text3.C: STRCONV()
2719 2003-05-12 André Pönitz <poenitz@gmx.net>
2722 * BufferView_pimpl.C:
2726 * ParagraphParameters.C:
2730 * bufferview_funcs.C:
2743 * paragraph_funcs.C:
2747 * text3.C: boost::format -> bformat all over the place
2750 2003-05-09 André Pönitz <poenitz@gmx.net>
2752 * LColor.[Ch]: Pimpl the #include <map> away
2754 2003-05-09 John Levon <levon@movementarian.org>
2756 * bufferlist.C: never remove emergency saves
2758 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2760 * Makefile.am: better lib building
2762 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2764 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2766 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2767 (simpleTeXSpecialChars): adjust
2768 (simpleTeXSpecialChars): adjust
2769 * paragraph.C (simpleTeXOnePar): adjust
2770 * buffer.C (makeLaTeXFile): adjust
2772 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2774 * text2.C (changeDepth): parlist cleanup
2775 (getColumnNearX): ditto
2777 * rowpainter.C (getLabelFont): parlist cleanup
2779 * bufferlist.C (newFile): parlist cleanup
2781 * CutAndPaste.C (eraseSelection): parlist cleanup
2783 * BufferView_pimpl.C (trackChanges): parlist cleanup
2786 * BufferView.C (lockInset): parlist cleanup.
2787 (ChangeInsets): ditto
2789 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2791 * CutAndPaste.h: Update file header.
2793 * CutAndPaste.C: Update file header.
2794 Store the parts cut out of the Document in a limited_stack.
2795 (copySelection): adjust
2796 (pasteSelection): new function, takes the index in the limited stack.
2797 (nrOfParagraphs): adjust
2798 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2799 simplify error inset insertion.
2800 (checkPastePossible): adjust
2802 2003-05-06 John Levon <levon@movementarian.org>
2804 * text2.C: don't cast wrap inset to float
2806 2003-05-05 André Pönitz <poenitz@gmx.net>
2809 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2811 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2812 few naked Paragraph *.
2814 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2816 * bufferparams.C: Output warning if a document with missing
2817 TeX document class is loaded
2818 * exporter.C: Disable TeX exports if the document class is missing
2821 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2822 isTeXClassAvailable()
2824 2003-05-03 John Levon <levon@movementarian.org>
2827 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2828 explicit cursor show/hide
2830 * BufferView_pimpl.h:
2831 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2832 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2834 * lyxfunc.C: hide cursor before dispatching.
2839 * text3.C: remove explicit cursor hides
2841 2003-05-02 André Pönitz <poenitz@gmx.net>
2843 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2846 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2849 * text2.C: tiny whitespace
2851 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2853 * undo_funcs.C: almost only ws changes.
2855 * ParagraphList.C (splice): just return if pl is empty.
2857 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * ParagraphList.C (splice): new function.
2861 * CutAndPaste.C (pasteSelection): use it
2863 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2865 * CutAndPaste.C (pasteSelection): remove the last next and
2866 previous from this file.
2868 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2870 * CutAndPaste.C (pasteSelection): more clean up, user proper
2871 ParagraphList functions for pasteing.
2873 * ParagraphList.C (insert): new function, three arg insert
2875 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2877 * ParagraphList.C (insert): new function, three arg insert
2879 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2882 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2886 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2888 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2890 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2892 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2893 (copySelection): clean up a bit.
2894 (pasteSelection): use make_pair
2896 * ParagraphList.C (ParagraphList): implement copy constructor
2897 (operator=): implement, base on copy constructor.
2900 * paragraph.C (erase): return a bool
2902 * paragraph_pimpl.C (erasePos): remove function, move contents...
2903 (erase): ... here. Return a bool.
2904 (erase): call erase instead of erasePos.
2906 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2908 * ParagraphList.h: define PitPosPair
2909 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2910 ParagraphList, fix a bug on pasting multiple pars
2911 * text2.C: change interface to C&P
2913 2003-04-30 André Pönitz <poenitz@gmx.net>
2915 * undo_func.C: revert part of yesterday's patch 2
2917 2003-04-30 John Levon <levon@movementarian.org>
2919 * LColor.C: s/tabular/table/
2921 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2923 * text3.C (dispatch): do not convert iterator -> pointer
2924 * undo_funcs.C (setCursorParUndo): ditto
2925 * text_funcs.C (transposeChars): ditto
2927 * text2.C (setLayout): ws changes only
2929 * text.C (breakParagraph): do not convert iterator -> pointer
2931 (acceptChange): ditto
2932 (rejectChange): ditto
2937 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2940 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2942 * text3.C (gotoInset): YABG (yet another bad getChar)
2944 2003-04-29 André Pönitz <poenitz@gmx.net>
2946 * paragraph.h: make operator= private unimplemented as long as
2949 * ParagraphList.C: whitespace
2952 * paragraph_pimpl.[Ch]:
2953 * paragraph_funcs.C:
2955 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2958 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2960 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2962 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2963 * paragraph.[Ch] (erase):
2964 * paragraph_pimpl.[Ch] (erase): change return type and value
2965 * text2.C (cutSelection): some rework
2967 2003-04-28 John Levon <levon@movementarian.org>
2969 * bufferlist.C: changes for unsaved changes dialog
2971 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2973 * bufferlist.C (newFile): set language (messages_) for new
2976 * buffer.C (readFile): ws changes only.
2978 2003-04-28 André Pönitz <poenitz@gmx.net>
2983 * BufferView_pimpl.C:
2984 * BufferView.C: getParFromID related ParagraphList::iterator changes
2986 2003-04-28 André Pönitz <poenitz@gmx.net>
2988 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2991 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * messages.C: remove one more localedir class variable.
2995 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2997 * messages.C (getLocaleDir): singleton generation function
2999 (Messages): add a default constructor.
3001 * main.C (main): do not setup localedir here, do not call
3004 * gettext.C (_): use it.
3005 (gettext_init): delete funciton
3007 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3009 * gettext.C (getLyXMessages): new singleton generating function.
3011 * buffer.C (updateDocLang): adjust
3013 * Makefile.am (messages.o): add target
3014 (main.o): remove target
3016 2003-04-27 John Levon <levon@movementarian.org>
3021 * lyxvc.C: specify cancel button in Alert::prompt
3023 2003-04-26 John Levon <levon@movementarian.org>
3028 * LyXAction.C: add LFUN_INSET_SETTINGS
3030 * lyxfunc.C: don't enable tabular-feature when there's
3031 just any locking inset
3033 2003-04-26 John Levon <levon@movementarian.org>
3035 * bufferlist.C: re-add Cancel to buffer close question
3037 * lyxfunc.C: fix import UI a bit
3039 2003-04-25 John Levon <levon@movementarian.org>
3041 * gettext.C: remove the broken asserts for now
3043 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3045 * messages.C: make case where setlocale cannot comply work better.
3047 * buffer.C (updateDocLang): new function
3048 (changeLanguage): use it
3051 * text2.C (setCounter): use B_ a bit.
3053 * lyxlayout.C (Read): be sure to trim the label strings.
3055 * messages.C (Messages): fix typo in comment
3057 * buffer.C (readFile): set message_ after file is loaded.
3058 (makeDocBookFile): remove double return
3059 (changeLanguage): reset message_ upon language change.
3060 (B_): new func, use this to get translated buffer strings.
3062 * main.C: add myself and Jean Marc as authors.
3064 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3066 * messages.[hC]: pimplify Messages, and three different pimpls to be
3067 used in different circumstances.
3069 * gettext.[Ch]: change for use with new message code.
3071 2003-04-24 André Pönitz <poenitz@gmx.net>
3073 * factory.C: support for eqref
3075 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3077 * messages.[Ch]: add missing char
3079 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3081 * messages.[Ch]: New files
3083 2003-04-18 John Levon <levon@movementarian.org>
3087 * BufferView_pimpl.C:
3091 * text2.C: remove layout-copy/paste (bug 778)
3093 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3095 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3097 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3099 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3100 if they succeed. Act accordingly.
3102 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3104 * text2.C (setCharFont): adjust
3105 (setCounter): adjust
3106 (insertStringAsLines): adjust
3108 * text.C (leftMargin): adjust
3109 (setHeightOfRow): adjust
3111 * rowpainter.C (paintFirst): adjust
3114 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3116 (isFirstInSequence): ditto
3117 (getEndLabel): ditto
3120 * paragraph.C (getParLanguage): comment out some hard stuff.
3122 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3124 (simpleDocBookOnePar): ditto
3125 (makeDocBookFile): use ParagraphList::iterator
3127 * CutAndPaste.C (pasteSelection): adjust
3129 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3131 * text2.C (getFont): adjust
3132 (getLayoutFont): adjust
3133 (getLabelFont): adjust
3135 * paragraph_funcs.C (TeXOnePar): adjust
3137 * buffer.C (simpleLinuxDocOnePar): adjust
3138 (simpleDocBookOnePar): adjust
3140 * CutAndPaste.C (pasteSelection): adjust
3142 * BufferView.C (getEncoding): adjust
3144 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3146 2003-04-16 John Levon <levon@movementarian.org>
3148 * lyxfind.C: use parlist stuff for search/changes
3150 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3152 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3154 * text2.C (deleteEmptyParagraphMechanism): adjust
3156 * text2.[Ch] (ownerParagraph): delete func (both of them
3158 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3160 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3162 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3164 * ParagraphList.C: prepare for NO_NEXT
3166 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3168 * text2.C (getFont): adjust
3169 (getLayoutFont): adjust
3170 (getLabelFont): adjust
3172 * paragraph.C (getFont): adjust
3173 (getLabelFont): adjust
3174 (getLayoutFont): adjust
3176 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3178 2003-04-15 John Levon <levon@movementarian.org>
3182 * lyx_main.C: handle Include in .ui files
3184 2003-04-15 John Levon <levon@movementarian.org>
3186 * MenuBackend.C: make the doc files length shorter
3189 * ToolbarBackend.C: handle toolbar placement flags,
3192 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3197 * paragraph_funcs.C (TeXOnePar): adjust
3199 * paragraph.C (getLabelFont): add outerfont arg, adjust
3200 (getLayoutFont): ditto
3201 (simpleTeXOnePar): adjust
3203 * paragraph_pimpl.C (realizeFont): delete func
3205 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3207 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3208 row argument, constify cur argument.
3210 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3212 * text2.C (getFont): adjust
3213 (getLayoutFont): adjust
3214 (getLabelFont): adjust
3216 * paragraph_funcs.C (TeXOnePar): adjust
3217 (outerFont): new func...
3218 (realizeFont): ...moved out from here, changed this to facilitate
3221 * paragraph.C (getFont): take outerfont as arg, adjust
3222 (simpleTeXOnePar): add outerfont arg, adjust
3224 * buffer.C (simpleLinuxDocOnePar): adjust
3225 (simpleDocBookOnePar): adjust
3227 * CutAndPaste.C (pasteSelection): adjust
3229 * BufferView.C (getEncoding): adjust
3231 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3233 * text2.C (setCharFont): adjust
3234 (setCounter): adjust
3236 * text.C (leftMargin): adjust
3237 (setHeightOfRow): adjust
3239 * rowpainter.C (paintFirst): adjust
3242 * paragraph_pimpl.C (realizeFont): adjust
3244 * paragraph.C (isFirstInSequence): move from here...
3245 * paragraph_funcs.C (isFirstInSequence): ...to here
3247 * paragraph.C (outerHook): move from here...
3248 * paragraph_funcs.C (outerHook): ...to here
3250 * paragraph.C (depthHook): move from here...
3251 * paragraph_funcs.C (depthHook): ...to here
3253 * paragraph.C (getEndLabel): move from here...
3254 * paragraph_funcs.C (getEndLabel): ...to here
3256 * text2.C (realizeFont): move from here...
3257 * paragraph_funcs.C (realizeFont): ...to here
3259 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3263 2003-04-14 Angus Leeming <leeming@lyx.org>
3265 * LColor.[Ch]: scrap LColor mathcursor.
3267 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3269 * lyxlex.[Ch] (text): delete function
3270 * trans.C (Load): adjust
3271 * paragraph_funcs.C (readParToken): adjust
3273 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3275 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3276 vector<char> instead of a char[].
3278 * lyxlex_pimpl.C (getString): adjust
3280 (lex): use getString
3284 * lyxlex.C (text): use pimpl_->getString()
3288 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3290 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3291 (makeFontEntriesLayoutSpecific): temp var for par.size()
3292 (setLayout): temp var for ownerParagraphs().end()
3293 (fullRebreak): temp var for rows().end()
3294 (selectionAsString): temp var for boost::next(startpit), realize
3295 that the while really is a regular for loop.
3296 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3297 setCursor in one place.
3298 (setParagraph): temp vr for ownerParagraphs().end()
3299 (updateCounters): make the while loop a for loop
3300 (cutSelection): temp var for ownerParagraphs().end()
3301 (updateInset): make the do {} while() a regular for loop
3302 (getCursorX): use temp vars
3303 (setCurrentFont): use temp vars
3304 (getColumnNearX): use temp vars
3306 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3308 * text.C (transformChar): use temp var for getChar
3309 (computeBidiTables): use temp var for row->par()
3310 (fill): move temp vars for row->par() and pit->layout() earlier in
3312 (labelFill): use temp var for row->par()
3313 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3314 asc and desc, realize that pit never changes and that firstpit is
3315 just a duplicate and not needed. Exchange rit->par() with pit in a
3317 (breakAgain): use a temp var for boost::next(rit)
3318 (breakAgainOneRow): ditto
3319 (breakParagraph): use a temp var for rows().begin()
3320 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3321 (cursorRightOneWord): use temp var for cursor.par() and
3322 cursor.pos(), remove usage of tmpcursor.
3323 (cursorLeftOneWord): use temp var for cursor.par() and
3324 cursor.pos() only set cur at end of function.
3326 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3328 * text.C, text2.C: exchange all usage of Paragraph::next with
3329 boost::next(ParagraphList::iterator)
3331 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3333 * text2.C (cursorTop): simplify implementation
3334 (cursorBottom): ditto
3335 (setParagraph): use ParagraphList::iterator
3336 (setCurrentFont): adjust
3337 (getColumnNearX): adjust
3338 (cursorRight): adjust
3339 (cursorLeft): remove usage of Paragraph::previous
3340 (cursorUpParagraph): ditto
3341 (deleteEmptyParagraphMechanism): slight cleanup
3343 * text.C (isBoundary): take a Paragraph const & instead of a
3345 (addressBreakPoint): ditto
3346 (leftMargin): remove usage of Paragraph::previous.
3347 (setHeightOfRow): ditto
3348 (cursorLeftOneWord): ditto
3349 (selectNextWordToSpellcheck): ditto
3352 (breakParagraph): remove one usage of Paragraph::next
3353 (redoParagraph): ditto
3354 (acceptChange): ditto
3355 (insertChar): adjust
3356 (rowBreakPoint): adjust
3358 * bufferview_funcs.C (toggleAndShow): adjust
3360 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3362 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3363 methods to access it.
3365 * text.C: Added updateRowPositions to compute all row positions.
3366 Make top_y and getRowNearY() to use the cached y position
3368 2003-04-11 John Levon <levon@movementarian.org>
3370 * text.C (rowBreakPoint): reintroduce the labelEnd
3371 checks, code copied from the row fill stuff. Deep voodoo.
3373 * text.C (fill): add a comment and debugging for the
3376 2003-04-11 John Levon <levon@movementarian.org>
3378 * text.C: make sure fullrow insets get wrapped to the next line,
3379 even when they're in a manual label
3381 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3383 * text2.C (insertParagraph): make it take ParagraphList::iterator
3385 (setLayout): make it return ParagraphList::iterator
3386 (redoParagraphs): ditto
3388 (checkParagraph): ditto
3390 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3392 * text2.C: adjust several funcs.
3393 (realizeFont): take a ParagraphList::iterator as arg.
3394 (getLayoutFont): ditto
3395 (getLabelFont): ditto
3396 (setCharFont): ditto
3398 * text.C: adjust several funcs.
3400 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3402 * text.C (selectNextWordToSpellcheck): don't accidentally
3405 2003-04-10 John Levon <levon@movementarian.org>
3407 * ToolbarBackend.C (getIcon): special handling for
3410 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3412 * text2.C (cursorRight): a getChar assert fixed
3414 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3416 * text2.C (getFont): change to take a ParagraphList::iterator
3417 instead of Paragraph*
3418 Adjust several functions.
3420 * text.C (transformChar): change to take a ParagraphList::iterator
3421 instead of Paragraph*
3422 (singleWidth): ditto
3423 Adjust several functions.
3425 * rowpainter.C: adjust several functions
3426 * rowpainter.h:store a ParagraphList::iterator and not a
3430 2003-04-09 John Levon <levon@movementarian.org>
3435 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3436 and the "help" bits as well
3438 2003-04-09 John Levon <levon@movementarian.org>
3441 * ToolbarBackend.C: allow multiple toolbars
3443 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3445 * undo_funcs.C (setCursorParUndo): adjust
3447 * text_funcs.C (transposeChars): adjust
3449 * text3.C (gotoNextInset): adjust
3452 * text2.C (setLayout): adjust
3453 (changeDepth): adjust
3455 (redoParagraphs): adjust
3456 (selectionAsString): adjust
3457 (setParagraph): adjust
3458 (insertInset): adjust
3459 (cutSelection): adjust
3460 (copySelection): adjust
3461 (pasteSelection): adjust
3462 (insertStringAsLines): adjust
3463 (updateInset): adjust
3464 (setCursor): change to take a ParagraphList::iterator parameter
3465 (setCursorIntern): change to take a ParagraphList::iterator parameter
3466 (setCurrentFont): adjust
3467 (cursorLeft): adjust
3468 (cursorRight): adjust
3469 (deleteEmptyParagraphMechanism): adjust
3471 * text.C (breakParagraph): adjust
3472 (insertChar): adjust
3473 (acceptChange): adjust
3474 (rejectChange): adjust
3475 (selectNextWordToSpellcheck): adjust
3476 (changeCase): adjust
3480 * lyxfind.C (SearchForward): adjust
3481 (SearchBackward): adjust
3482 (nextChange): adjust
3484 * lyxcursor.C (par): adjust
3486 * lyxcursor.h: store a ParagraphList::iterator instead of a
3489 * lyx_cb.C (getPossibleLabel): adjust
3491 * bufferview_funcs.C (toggleAndShow): adjust
3493 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3496 * BufferView.C (removeAutoInsets): adjust
3497 (lockedInsetStoreUndo): adjust
3499 2003-04-09 John Levon <levon@movementarian.org>
3501 * ToolbarBackend.C: try icon without argument
3502 if with argument fails
3504 2003-04-08 John Levon <levon@movementarian.org>
3507 * ToolbarBackend.C: add getIcon(), handle tooltip,
3508 and change from "Icon" to "Item".
3510 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3512 * BufferView.C (lockInset): another bad getchar crunched
3514 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3516 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3519 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3521 * lyxfind.C (searchForward, searchBackwards): bug 782
3523 2003-04-07 John Levon <levon@movementarian.org>
3525 * paragraph.C: remove dead comment
3527 * text.C: remove troublesome depth-fiddling code
3528 in leftMargin() and rightMargin() (bug 1017)
3530 * text.C: fix breaking of rows in nested lists
3533 * text2.C (updateCounters): fix up depth values
3536 2003-04-07 John Levon <levon@movementarian.org>
3538 * BufferView_pimpl.C: clear message when doc finishes resizing,
3539 and after a mouse event
3541 * lyxfunc.C: clear message after exiting inset
3543 2003-04-07 John Levon <levon@movementarian.org>
3545 * bufferview_funcs.C: show math status not outside
3546 status in the statusbar
3548 2003-04-07 John Levon <levon@movementarian.org>
3550 * lyxfunc.C: note status changed after a depth change
3552 2003-04-04 Angus Leeming <leeming@lyx.org>
3554 * LaTeX.h: move AuxInfo operator==, != out of line.
3555 Remove LaTeX virtual destructor; nothing derives from it.
3556 Move operator()() out of public area and rename it startscript().
3557 Change protected for private.
3559 2003-04-04 Angus Leeming <leeming@lyx.org>
3562 * text2.C: remove unneeded #includes.
3564 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3566 * text2.C (dEPM): fix the heigth of the next row
3568 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3570 * text.C: squashed an invalid getChar requester + some ws changes
3572 2003-04-03 John Levon <levon@movementarian.org>
3574 * bufferview_funcs.h:
3575 * bufferview_funcs.C:
3578 * text2.C: make getStatus work for the env depth lfuns
3580 2003-04-03 John Levon <levon@movementarian.org>
3582 * bufferview_funcs.h:
3583 * bufferview_funcs.C:
3586 * text2.C: parlistize decDepth(), by merging it with incDepth()
3588 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * lyxrow.h: store a ParagraphList::iterator instead of a
3591 Paragraph* and adjust other class functions to suit.
3593 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3596 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3598 * text2.C (setCursor): do not anchor to cursor row for the time being
3600 2003-04-02 John Levon <levon@movementarian.org>
3607 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3609 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * paragraph.h: make ParagraphList and ParagraphList::iterator
3612 friends of Paragraph.
3614 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3616 * ParagraphList.C: Use the private next_ and previous_ from
3619 2003-04-01 John Levon <levon@movementarian.org>
3623 * Makefile.am: rename, remove defaults gunk
3626 * MenuBackend.C: remove defaults gunk
3629 * Languages.C: remove defaults gunk
3632 * lyx_main.C: error out if files couldn't be found.
3634 2003-04-02 John Levon <levon@movementarian.org>
3636 * text2.C: make incDepth() use parlist
3638 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3640 * undo_funcs.C (firstUndoParagraph): adjust
3642 * text3.C (gotoInset): adjust
3643 (dispatch): adjust, and rewrite loop.
3645 * text2.C (init): adjust, and rewrite loop.
3646 (redoParagraphs): adjust
3647 (updateInset): adjust, and rewrite loop.
3648 (deleteEmptyParagraphMechanism): adjust
3650 * tabular.C (LyXTabular): adjust
3651 (SetMultiColumn): adjust
3654 * lyxtext.[Ch] (ownerParagraph): delete function
3655 (ownerParagraphs): new function returns a ParagraphList.
3657 * BufferView.C (removeAutoInsets): adjust
3658 (insertErrors): adjust
3659 (setCursorFromRow): adjust
3661 2003-04-01 Angus Leeming <leeming@lyx.org>
3663 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3666 2003-04-02 John Levon <levon@movementarian.org>
3672 * text_funcs.C: make transposeChars a free function
3674 * lyxrow_funcs.C: remove wrong comment
3676 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3679 * rowpainter.C: adjust
3684 * lyxrow_funcs. [Ch]: new files
3686 * lyxrow.[Ch]: remove next and previous pointers
3687 (next,previous): remove accessor functions
3688 (isParEnd): move to lyxrow_funcs
3689 (lastPos): move to lyxrow_funcs
3690 (nextRowIsAllInset): move to lyxrow_funcs
3691 (lastPrintablePos): move to lyxrow_funcs
3692 (numberOfSeparators): move to lyxrow_funcs
3693 (numberOfHfills): move to lyxrow_funcs
3694 (numberOfLabelHfills): move to lyxrow_funcs
3695 (hfillExpansion): move to lyxrow_funcs
3699 * bufferview_funcs.C (toggleAndShow): adjust
3701 * RowList.h: Remove class RowList from file leave just a
3704 * RowList.C: delete file
3706 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3709 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3711 * text3.C (cursorPrevious): adjust
3712 (cursorNext): adjust
3715 * text2.C (redoHeightOfParagraph): adjust
3716 (redoDrawingOfParagraph): adjust
3719 * text.C (breakParagraph): adjust
3720 (insertChar): adjust
3723 * rowpainter.C (RowPainter): adjust
3724 (leftMargin): simplify and adjust
3725 (most rowpainter functions): adjust.
3727 * rowpainter.h: store the row as RowList::iterator not as Row*
3729 * lyxcursor.C (row): taka RowList::iterator as arg
3732 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3735 2003-04-01 Angus Leeming <leeming@lyx.org>
3737 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3738 stuff like bool Bool.
3740 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3742 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3745 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3747 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3750 * lyxtext.h (rows): drop one version and leve a const variant that
3751 returns a RowList::iterator.
3753 2003-03-31 Angus Leeming <leeming@lyx.org>
3755 * text.C (fill): ensure that the signature is the same as that in the
3758 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3760 * text2.C (redoParagraphs): adjust
3761 (updateCounters): adjust
3762 (checkParagraph): adjust
3763 (getColumnNearX): adjust and reformat a bit.
3765 * text.C (top_y): adjust
3767 (leftMargin): adjust
3768 (prepareToPrint): adjust
3770 (getRowNearY): adjust
3772 * lyxtext.h: make rowlist_ mutable.
3774 * RowList.h: add const_iterator
3775 * RowList.C: adjust for RowList::const_iterator.
3777 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3780 2003-03-31 John Levon <levon@movementarian.org>
3783 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3785 * lyx_main.C: set default fonts from using lyx_gui funcs
3787 * exporter.C: pdf_mode moved from lyxrc
3790 * lyxfunc.C: changes from above
3792 2003-03-31 John Levon <levon@movementarian.org>
3794 * lyx_main.C: fix to the last fix
3796 2003-03-31 John Levon <levon@movementarian.org>
3798 * bufferlist.C: "Load original" -> "Load Original"
3804 * format.C: more Alert cleanups
3806 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3808 * text2.C (removeParagraph): make it take a RowList::iterator as
3810 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3811 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3813 * text.C (anchor_row): make it take a RowList::iterator as arg,
3815 (computeBidiTables): make it take a const reference to Row instead
3816 of Row pointer, adjust.
3817 (leftMargin): make it take a RowList::iterator as arg, adjust.
3818 (rowBreakPoint): adjust
3819 (breakAgainOneRow): make it take a RowList::iterator as arg,
3821 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3823 * bufferview_funcs.C (toggleAndShow): adjust
3825 2003-03-30 John Levon <levon@movementarian.org>
3829 * boost-inst.C: moved to support
3831 * several files: changes as a result
3833 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3835 * text2.C (LyXText): adjust.
3837 (removeRow): make it take a RowList::iterator as arg, adjust.
3838 (fullRebreak): adjust
3839 (deleteEmptyParagraphMechanism): adjust
3840 (clearPaint): adjust
3843 * text.C (top_y): adjust
3844 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3845 (breakAgain): make it take a RowList::iterator as arg, adjust.
3846 (breakParagraph): adjust
3847 (insertChar): adjust
3850 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3851 need_break_row, and refresh_row.
3853 * text3.C (dispatch): adjust
3855 * text2.C (checkParagraph): adjust
3857 (setCursorFromCoordinates): adjust
3859 * text.C (top_y): adjust
3861 (getRow): make it return a RowList::iterator, adjust
3862 (getRowNearY): make it return a RowList::iterator, adjust
3864 * text2.C (init): adjust
3865 (insertRow): remove function
3866 (insertParagraph): adjust
3867 (redoParagraphs): adjust
3868 (fullRebreak): adjust
3869 (updateCounters): adjust
3871 * text.C (top_y): rewrite to use RowList iterators.
3873 (setHeightOfRow): rewrite to sue RowList iterators.
3874 (appendParagraph): adjust
3875 (breakAgain): adjust
3876 (breakAgainOneRow): adjust
3877 (breakParagraph): adjust
3879 (getRowNearY): adjust, and remove commented code.
3881 * lyxtext.h (firstRow): delete function
3882 (lastRow): delete function
3883 (rows): new function (const and non-const versions.)
3884 (insertRow): delete function
3886 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3888 2003-03-29 John Levon <levon@movementarian.org>
3890 * BufferView_pimpl.C: always update scrollbar top
3891 because pasting text when we're anchored could mean we
3892 miss an update altogether
3894 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3896 * text2.C (init): use rowlist_.end() and not 0.
3897 (insertRow): change to take a RowList::iterator as arg, adjust
3899 (insertParagraph): change to take a RowList::iterator as arg,
3901 (redoParagraphs): remove some debug msgs.
3903 * text.C (appendParagraph): change to take a RowList::iterator
3904 arg, adjust for this.
3905 (breakAgain): add an assert
3906 (breakAgainOneRow): ditto
3908 2003-03-29 John Levon <levon@movementarian.org>
3910 * text2.C: do not clear selection after inc/decDepth
3913 2003-03-29 John Levon <levon@movementarian.org>
3916 * buffer.C: fix broken strerrors according to Lars
3918 2003-03-29 John Levon <levon@movementarian.org>
3920 * converters.C: more Alert cleanups
3922 2003-03-29 John Levon <levon@movementarian.org>
3924 * bufferview_funcs.C: remove pointless Alert
3926 * buffer.C: fix confusing error message when
3927 a template is chmoded 000
3929 2003-03-29 John Levon <levon@movementarian.org>
3933 * BufferView_pimpl.C: Alert fixes
3937 * tabular-old.C: remove unused table compat reading
3939 2003-03-29 John Levon <levon@movementarian.org>
3944 * lyx_cb.C: more Alert cleanups
3946 * lyxfunc.C: don't allow chktex if not latex document
3948 2003-03-29 John Levon <levon@movementarian.org>
3952 * buffer.C: warnings pushed down from support/,
3955 2003-03-29 John Levon <levon@movementarian.org>
3957 * lyxfunc.C: safety check for C-r (revert)
3959 2003-03-29 John Levon <levon@movementarian.org>
3962 * bufferlist.C: several UI fixes using Alert::prompt.
3963 Fix the pointless looping quit code. Fix stupid revert
3968 * lyx_cb.C: use Alert::prompt
3970 * lyx_main.C: remove a silly question
3972 * lyxfunc.C: remove a couple of silly questions,
3975 2003-03-28 John Levon <levon@movementarian.org>
3977 * text2.C: fix bug 974 (End on empty par)
3979 2003-03-28 John Levon <levon@movementarian.org>
3981 * BufferView_pimpl.C:
3983 * lfuns.h: remove do-nothing math greek lfuns
3985 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3987 * lyxgluelength.h (isValidGlueLength): add default arg on
3988 parameter 2. Remove default arg from friend in class.
3990 * lyxlength.h (isValidLength): add default arg on parameter 2.
3991 Remove default arg from friend in class.
3993 * text2.C (LyXText): adjust, initialize refresh_row.
3997 (insertParagraph): adjst
3998 (redoParagraphs): adjust
3999 (fullRebreak): adjust
4000 (updateCounters): adjust
4001 (deleteEmptyParagraphMechanism): first attempt at fixing a
4004 * text.C (top_y): adjust
4005 (setHeightOfRow): adjust
4007 (getRowNearY): adjust
4009 * lyxtext.h: include RowList.h
4010 (~LyXText): not needed anymore, deleted.
4011 (firstRow): modify for RowList
4012 (lastRow): new function
4013 Delete firstrow and lastrow class variables, add a Rowlist
4014 rowlist_ class variable.
4016 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4019 * RowList.C (insert): fix case where it == begin().
4021 2003-03-26 Angus Leeming <leeming@lyx.org>
4023 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4024 the thesaurus dialog.
4026 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4030 * RowList.[Ch]: new files
4032 * ParagraphList.C (erase): handle the case where it == begin
4035 2003-03-25 John Levon <levon@movementarian.org>
4039 * aspell.C: add new aspell support
4042 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4045 2003-03-25 Angus Leeming <leeming@lyx.org>
4048 * LyXAction.C (init): new LFUN_INSET_INSERT.
4050 * BufferView_pimpl.C (dispatch): split out part of the
4051 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4053 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4056 2003-03-25 Angus Leeming <leeming@lyx.org>
4058 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4060 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4063 * text3.C: remove useless row->height(0)
4065 2003-03-25 John Levon <levon@movementarian.org>
4069 * text3.C: rename the refreshing stuff to better names
4071 2003-03-24 John Levon <levon@movementarian.org>
4073 * BufferView_pimpl.h:
4074 * BufferView_pimpl.C: update layout choice on a mouse
4077 2003-03-23 John Levon <levon@movementarian.org>
4079 * Makefile.am: fix commandtags.h reference
4081 2003-03-22 John Levon <levon@movementarian.org>
4083 * BufferView_pimpl.C:
4088 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4090 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4093 * text.C: take the rtl methods out of line
4095 2003-03-21 André Pönitz <poenitz@gmx.net>
4097 * metricsinfo.[Ch]: new files containing structures to be passed around
4098 during the two-phase-drawing...
4100 2003-03-21 André Pönitz <poenitz@gmx.net>
4102 * lyxtextclass.C: read 'environment' tag.
4104 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4106 * text2.C (removeRow): fix bug 964
4108 2003-03-20 John Levon <levon@movementarian.org>
4112 * text2.C: paint cleanups. Inset::update() dropped font
4115 2003-03-19 John Levon <levon@movementarian.org>
4117 * lyxfunc.C: only fitcursor/markDirty if available()
4119 2003-03-19 John Levon <levon@movementarian.org>
4121 * commandtags.h: rename to ...
4123 * lfuns.h: ... this, and renumber / cleanup
4125 2003-03-19 John Levon <levon@movementarian.org>
4127 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4128 fit the cursor after an lfun
4132 * BufferView_pimpl.h:
4133 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4135 * LyXAction.C: layout-character should have ReadOnly
4137 * ParagraphParameters.C:
4139 * bufferview_funcs.C:
4146 * undo_funcs.C: changes from above
4148 2003-03-18 John Levon <levon@movementarian.org>
4150 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4151 remove it from update()
4153 * lyxfunc.C: update layout choice after an lfun
4155 * text3.C: remove extra updateLayoutChoice()s
4157 2003-03-18 John Levon <levon@movementarian.org>
4159 * text.C: top_y change means full repaint, fix
4160 a drawing bug with cursor movement
4162 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4166 * text2.C: anchor row on setCursor
4168 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4170 * lyxtext.h: remove almost all mutable keywords
4173 * text3.C: remove const keywords accordingly
4175 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4177 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4179 (TeXEnvironment): ditto
4182 2003-03-17 John Levon <levon@movementarian.org>
4184 * text.C (rowBreakPoint): remove attempt to fix displayed
4185 math insets inside a manual label
4187 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4189 * lyxtext.h: remove BufferView* as first arg from almost all class
4191 * other files: adjust.
4193 2003-03-17 John Levon <levon@movementarian.org>
4197 * text2.C: more paint cleanups
4199 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4202 * rowpainter.C: remove "smart" background painting code
4204 2003-03-16 John Levon <levon@movementarian.org>
4209 * text3.C: add helper functions for setting refresh_row/y
4211 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4213 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4214 newline inset which *can* get inserted in the pass_thru layouts.
4215 This is primarily for literate documents.
4217 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4219 * buffer.C: increment LYX_FORMAT to 223
4221 2003-03-14 André Pönitz <poenitz@gmx.net>
4223 * textclass.h: prepare for environment handling, ws changes
4224 * lyxlayout.C: read latexheader and latexfooter tags
4226 2003-03-14 John Levon <levon@movementarian.org>
4228 * text2.C: rewrite ::status() a bit
4230 2003-03-13 John Levon <levon@movementarian.org>
4232 * lyxtext.h: add some docs
4234 2003-03-13 John Levon <levon@movementarian.org>
4239 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4241 2003-03-13 John Levon <levon@movementarian.org>
4243 * text3.C: fix appendix redrawing
4245 2003-03-13 John Levon <levon@movementarian.org>
4247 * text.C (setHeightOfRow):
4249 * rowpainter.C: make appendix mark have the text
4250 "Appendix" so the user knows what it is
4253 * LColor.C: s/appendixline/appendix/ from above
4255 2003-03-13 John Levon <levon@movementarian.org>
4257 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4259 * text.C: fix a getChar(pos) bug properly
4261 2003-03-13 Angus Leeming <leeming@lyx.org>
4264 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4265 Probably only temporary. Let's see how things pan out.
4267 * BufferView.C (unlockInset):
4268 * BufferView_pimpl.C (fitCursor):
4269 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4271 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4272 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4274 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4275 new functions that convert ParagraphParameters to and from a string.
4277 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4278 BufferView::Pimpl's dispatch.
4279 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4281 2003-03-13 André Pönitz <poenitz@gmx.net>
4285 * factory.C: make it aware of InsetEnv
4287 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * text2.C (setCursor): never ask for one past last
4290 (setCursor): add some debugging messages.
4292 * text.C (singleWidth): never ask for one past last
4293 (singleWidth): ditto
4295 (rightMargin): ditto
4296 (rowBreakPoint): ditto
4297 (setHeightOfRow): ditto
4298 (prepareToPrint): ditto
4300 * rowpainter.C (paintBackground): never ask for one past last
4301 (paintText): never ask for one past last
4303 * paragraph_pimpl.C (getChar): make the assert stricter, never
4304 allow the one past last pos to be taken
4306 * paragraph.C (getChar): ws changes only
4308 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4309 (numberOfSeparators): ditto
4310 (numberOfHfills): ditto
4312 2003-03-12 John Levon <levon@movementarian.org>
4318 * paragraph_funcs.C: fix per-buffer authorlists
4320 2003-03-12 John Levon <levon@movementarian.org>
4322 * text.C: fix newline in right address
4324 2003-03-12 Angus Leeming <leeming@lyx.org>
4326 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4327 duplicate those in LyXFunc::dispatch.
4331 * ToolbarDefaults.C:
4332 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4333 Add LFUN_FONTFREE_UPDATE.
4335 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4336 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4338 * bufferview_func.[Ch]: several new functions to facilliate
4339 transfer of data to and from the character dialog.
4341 2003-03-12 John Levon <levon@movementarian.org>
4346 * paragraph_funcs.C:
4347 * paragraph_pimpl.C:
4351 * text3.C: remove META_NEWLINE in favour of an inset
4354 * rowpainter.C: remove paintNewline (done by inset)
4356 2003-03-12 John Levon <levon@movementarian.org>
4358 * paragraph_pimpl.C: complain about bad getChar()s
4359 for a while at least
4361 2003-03-12 John Levon <levon@movementarian.org>
4364 * buffer.C: move paragraph read into a separate function,
4365 a little renaming to reflect that.
4368 * bufferparams.C: remove the author_ids map, not necessary now
4371 * factory.C: moved Buffer::readInset to here
4373 * paragraph_funcs.h:
4374 * paragraph_funcs.C: readParagraph free function moved from
4377 * tabular.C: name change
4379 2003-03-12 John Levon <levon@movementarian.org>
4382 * ParagraphParameters.C: move par params input to
4385 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4386 behave like a normal read from the stream wrt reading
4387 a line vs. a \\token
4389 2003-03-12 John Levon <levon@movementarian.org>
4392 * ParagraphParameters.h:
4393 * ParagraphParameters.C: move output code to a
4396 2003-03-12 John Levon <levon@movementarian.org>
4398 * BufferView.C (insertLyXFile):
4401 * tabular.C: use a parlist iterator for creating the
4404 2003-03-12 John Levon <levon@movementarian.org>
4406 * buffer.C: make current_change static local not
4409 2003-03-12 John Levon <levon@movementarian.org>
4411 * buffer.C: fix insertStringAsLines for change tracking
4413 2003-03-12 John Levon <levon@movementarian.org>
4420 * bufferparams.C: move author list into params. Rename some
4421 functions. Move the header reading into a separate token
4422 loop. Move the header token reading into BufferParams.
4424 2003-03-12 John Levon <levon@movementarian.org>
4426 * changes.C: put debug inside lyxerr.debugging() checks
4428 2003-03-11 André Pönitz <poenitz@gmx.net>
4430 * factory.C: make it aware of InsetHFill
4432 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4434 * buffer.C (latexParagraphs): move function from here...
4435 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4438 2003-03-10 Angus Leeming <leeming@lyx.org>
4440 * LyXAction.C (init): fix bug in poplating array with multiple entries
4441 with the same LFUN (spotted by JMarc).
4443 2003-03-10 John Levon <levon@movementarian.org>
4446 * text2.C: move getColumnNearX() near its
4449 2003-03-10 John Levon <levon@movementarian.org>
4451 * text.C: fix break before a minipage
4453 2003-03-10 John Levon <levon@movementarian.org>
4455 * text.C: fix the last commit
4457 2003-03-09 John Levon <levon@movementarian.org>
4461 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4462 bug 365 (don't break before insets unless needed). Don't
4463 return a value > last under any circumstances.
4465 2003-03-09 Angus Leeming <leeming@lyx.org>
4467 * BufferView_pimpl.C (trackChanges, dispatch): call
4468 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4470 2003-03-09 Angus Leeming <leeming@lyx.org>
4472 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4473 than Dialogs::showAboutlyx().
4475 2003-03-09 Angus Leeming <leeming@lyx.org>
4477 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4478 than Dialogs::showTabularCreate().
4480 2003-03-09 John Levon <levon@movementarian.org>
4484 * text2.C: 3rd arg to nextBreakPoint was always the same.
4487 2003-03-08 John Levon <levon@movementarian.org>
4494 * text2.C: Remove the "main" bit from the "main body"
4497 2003-03-08 John Levon <levon@movementarian.org>
4499 * text.C (leftMargin): The left margin of an empty
4500 manual label paragraph should not include the label width
4503 * text.C (prepareToPrint): don't attempt to measure hfills
4504 for empty manual label paragraphs - the answer should be 0
4506 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * CutAndPaste.C: remove commented code and reindent.
4510 2003-03-08 John Levon <levon@movementarian.org>
4513 * lyxfunc.C: move reloadBuffer()
4516 * BufferView.C: to here
4518 * lyxvc.C: add comment
4521 * vc-backend.C: call bv->reload() to avoid
4522 getStatus() check on MENURELOAD
4524 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4526 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4527 to an old format .dep file.
4529 2003-03-07 Angus Leeming <leeming@lyx.org>
4531 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4532 when the LFUN_MOUSE_RELEASE should have been handled by
4533 inset->localDispatch.
4535 2003-03-07 Angus Leeming <leeming@lyx.org>
4537 * BufferView_pimpl.C (dispatch):
4538 * LyXAction.C (init):
4539 * ToolbarDefaults.C (init):
4541 * lyxfunc.C (getStatus):
4542 remove LFUN_INSET_GRAPHICS.
4544 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4546 2003-03-07 Angus Leeming <leeming@lyx.org>
4549 * LyXAction.C (init):
4550 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4552 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4555 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4557 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4558 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4560 2003-03-07 Angus Leeming <leeming@lyx.org>
4562 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4565 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * ParagraphList.C (front): new function
4570 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4572 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4573 and top_row_offset_. removed var first_y.
4575 * text2.C (LyXText, removeRow):
4577 * BufferView_pimpl.C:
4578 use these methods instead of using first_y
4580 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4582 * text2.C (pasteSelection): adjust for checkPastePossible
4584 * CutAndPaste.C: remove Paragraph * buf and replace with
4585 ParagraphList paragraphs.
4586 (DeleteBuffer): delete
4587 (cutSelection): change the tc type to textclass_type
4588 (copySelection): change the tc type to textclass_type
4589 (copySelection): adjust for ParagraphList
4590 (pasteSelection): change the tc type to textclass_type
4591 (pasteSelection): adjust for Paragraphlist
4592 (nrOfParagraphs): simplify for ParagraphList
4593 (checkPastePossible): simplify for ParagraphList
4594 (checkPastePossible): remove unused arg
4596 * ParagraphList.C (insert): handle the case where there are no
4599 * CutAndPaste.h: make CutAndPaste a namespace.
4601 * text3.C (dispatch): adjust
4603 * text.C (breakParagraph): add a ParagraphList as arg
4605 * paragraph_funcs.C (breakParagraph): change to take a
4606 BufferParams and a ParagraphList as args.
4607 (breakParagraphConservative): ditto
4608 (mergeParagraph): ditto
4609 (TeXDeeper): add a ParagraphList arg
4610 (TeXEnvironment): ditto
4613 * buffer.C (readLyXformat2): adjust
4614 (insertStringAsLines): adjust
4615 (latexParagraphs): adjust
4617 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4618 (cutSelection): adjust
4619 (pasteSelection): adjust
4621 * BufferView_pimpl.C (insertInset): adjust
4623 2003-03-05 Angus Leeming <leeming@lyx.org>
4626 * LyXAction.C (init):
4627 * BufferView_pimpl.C (dispatch):
4628 * lyxfunc.C (getStatus):
4629 remove LFUN_CHILD_INSERT.
4631 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4633 2003-03-05 Angus Leeming <leeming@lyx.org>
4636 * LyXAction.C (init):
4637 * src/factory.C (createInset):
4638 * lyxfunc.C (getStatus):
4639 * text3.C (dispatch):
4640 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4642 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4644 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4646 * ParagraphList.C (insert): handle insert right before end()
4647 (erase): fix cases where it can be first or last paragraph.
4649 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4651 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4652 Paragraph::next and Paragraph::previous
4655 * text.C (breakParagraph): adjust
4657 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4658 BufferParams& as arg.
4659 (breakParagraph): use ParagraphList::insert
4660 (breakParagraphConservative): take a Buffer* instead of a
4661 BufferParams& as arg.
4662 (breakParagraphConservative): use ParagraphList::insert.
4664 * buffer.C (insertStringAsLines): un-const it
4665 (insertStringAsLines): adjust
4667 * ParagraphList.C (insert): new function
4669 * CutAndPaste.C (pasteSelection): adjust
4671 * text.C (backspace): adjust
4673 * tabular.C (SetMultiColumn): adjust
4675 * CutAndPaste.C (cutSelection): adjust
4676 (pasteSelection): adjust
4678 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4679 Buffer const * as arg
4681 * ParagraphList.C (erase): new function
4682 * paragraph_funcs.C (mergeParagraph): use it
4683 (mergeParagraph): make it take a Buffer* instead of a
4684 BufferParams* as arg
4686 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4688 (breakParagraphConservative): ditto
4690 * paragraph.h: remove the breakParagraph friend
4692 * paragraph.C (eraseIntern): new function
4693 (setChange): new function
4695 * paragraph_funcs.C (mergeParagraph): make it take a
4696 ParagraphList::iterator instead of a Paragraph *, adjust
4699 * paragraph.h: move an #endif so that the change tracking stuff
4700 also works in the NO_NEXT case.
4702 2003-03-04 Angus Leeming <leeming@lyx.org>
4705 * LyXAction.C: new LFUN_INSET_MODIFY.
4707 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4708 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4710 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * several files: ws changes only
4714 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4715 (TeXEnvironment): ditto
4718 * buffer.C (makeLaTeXFile): adjust
4719 (latexParagraphs): make it take ParagraphList::iterator as args
4721 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * buffer.C (latexParagraphs): adjust
4725 * paragraph.C (TeXOnePar): move function...
4726 (optArgInset): move function...
4727 (TeXEnvironment): move function...
4728 * paragraph_pimpl.C (TeXDeeper): move function...
4729 * paragraph_funcs.C: ...here
4731 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4733 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4735 * buffer.C (readInset): remove compability code for old Figure and
4738 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * buffer.C: ws changes
4743 * BufferView_pimpl.C: ditto
4746 * bufferlist.h: ditto
4750 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4752 * converter.[Ch]: split into itself +
4755 * Makefile.am: += graph.[Ch] + format.[Ch]
4762 * lyxrc.C: added #include "format.h"
4764 2003-02-27 Angus Leeming <leeming@lyx.org>
4766 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4769 * factory.C (createInset): add "label" to the factory.
4771 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4772 string and do no more.
4774 2003-02-27 Angus Leeming <leeming@lyx.org>
4777 * LyXAction.C (init):
4778 * factory.C (createInset):
4779 * BufferView_pimpl.C (dispatch):
4780 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4782 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4784 * lyxfunc.C (dispatch):
4785 * text3.C (dispatch): pass name to params2string.
4787 2003-02-26 Angus Leeming <leeming@lyx.org>
4789 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4791 Rearrange the ~includes. Strip out the unnecessary ones.
4793 * factory.C (createInset): reformat.
4794 create new insets for the various LFUN_XYZ_APPLY lfuns.
4796 2003-02-26 John Levon <levon@movementarian.org>
4799 * lyxrow.C: add isParStart,isParEnd helpers
4801 * paragraph.h: make isInserted/DeletedText take refs
4803 * paragraph_funcs.h:
4804 * paragraph_funcs.C: remove #if 0'd code
4809 * text.C: use lyxrow helpers above.
4810 Move draw and paint routines to RowPainter.
4811 Make several methods use refs not pointers.
4812 Make backgroundColor() const.
4813 Add markChangeInDraw(), isInInset().
4814 Merge changeRegionCase into changeCase.
4815 Make workWidth() shouldn't-happen code into an Assert.
4818 * rowpainter.C: new class for painting a row.
4821 * vspace.C: make inPixels take a ref
4823 2003-02-26 Angus Leeming <leeming@lyx.org>
4825 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4828 2003-02-25 John Levon <levon@movementarian.org>
4830 * ispell.C: give the forked command a more accurate name
4832 2003-02-22 John Levon <levon@movementarian.org>
4835 * toc.C: make TocItem store an id not a Paragraph *
4838 2003-02-21 Angus Leeming <leeming@lyx.org>
4840 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4841 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4842 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4843 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4844 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4845 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4847 * BufferView_pimpl.C (dispatch):
4848 * LyXAction.C (init):
4849 * factory.C (createInset):
4850 * lyxfunc.C (getStatus, dispatch):
4851 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4853 2003-02-21 Angus Leeming <leeming@lyx.org>
4855 * BufferView_pimpl.C (MenuInsertLyXFile):
4856 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4857 * lyxfunc.C (menuNew, open, doImport):
4858 no longer pass a LyXView & to fileDlg.
4860 2003-02-21 Angus Leeming <leeming@lyx.org>
4862 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4863 * LyXAction.C: change, BIBKEY to BIBITEM.
4864 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4865 Change InsetBibKey to InsetBibitem.
4866 Change BIBKEY_CODE to BIBITEM_CODE.
4867 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4868 * factory.C: replace insetbib.h with insetbibitem.h.
4869 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4870 * paragraph.C: replace insetbib.h with insetbibitem.h.
4871 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4872 Change bibkey() to bibitem().
4873 * text.C: remove insetbib.h.
4874 * text2.C: replace insetbib.h with insetbibitem.h.
4875 change bibkey() to bibitem().
4876 * text3.C: remove insetbib.h.
4877 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4879 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4881 * lyxrc.C (output): enclose user email in quotes (in case there are
4884 2003-02-18 John Levon <levon@movementarian.org>
4886 * buffer.h: add std::
4888 2003-02-17 John Levon <levon@movementarian.org>
4894 * pspell.C: reworking. Especially in ispell, a large
4895 number of clean ups and bug fixes.
4897 * lyxfunc.C: fix revert to behave sensibly
4899 2003-02-17 André Pönitz <poenitz@gmx.net>
4902 * commandtags.h: new LFUN_INSERT_BIBKEY
4912 * paragraph_func.C: remove special bibkey handling
4914 2003-02-17 John Levon <levon@movementarian.org>
4916 * text.C (Delete): fix case where delete at the end of
4917 the very first paragraph would not merge the pars
4919 2003-02-17 John Levon <levon@movementarian.org>
4921 * lyxrow.C: fix lastPrintablePos()
4923 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4925 * bufferparams.C (writeLaTeX): add a std:here
4927 * buffer.C: and remove a using directive there
4929 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4931 * buffer.C (makeLaTeXFile): move the code that generates the
4934 * bufferparams.C (writeLaTeX): ... in this new method
4936 * LaTeXFeatures.C (getEncodingSet): make const
4937 (getLanguages): make const
4939 * MenuBackend.C (binding): returns the binding associated to this
4941 (add): sets the status of each item by calling getStatus. Adds
4943 (read): add support for OptSubMenu
4944 (expand): remove extra separator at the end of expanded menu
4946 2003-02-15 John Levon <levon@movementarian.org>
4949 * BufferView_pimpl.C:
4951 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4952 inset code that had no actual effect. Remove unneeded status
4955 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4957 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4960 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4962 * text.C (drawLengthMarker): also draw an arrow marker for
4963 symbolic lengths (medskip...)
4965 2003-02-14 John Levon <levon@movementarian.org>
4968 * tabular.C: better method names
4970 2003-02-14 John Levon <levon@movementarian.org>
4972 * BufferView_pimpl.C:
4977 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4978 it's a more accurate name. Remove some pointless uses.
4980 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4982 * text2.C (LyXText): change order of initilizers to shut off
4985 2003-02-14 John Levon <levon@movementarian.org>
4987 * buffer.C: use ParIterator for getParFromID()
4991 * paragraph_pimpl.h:
4992 * paragraph_pimpl.C: remove unused getParFromID()
4994 2003-02-14 John Levon <levon@movementarian.org>
4996 * buffer.C: remove some very old #if 0'd parse code
4998 2003-02-13 John Levon <levon@movementarian.org>
5002 * text2.C: move hfillExpansion(), numberOfSeparators(),
5003 rowLast(), rowLastPrintable(), numberofHfills(),
5004 numberOfLabelHfills() ...
5007 * lyxrow.C: ... to member functions here.
5012 * text.C: remove LyXText::beginningOfMainBody(), and call
5013 p->beginningOfMainBody() directly. Move the check for
5014 LABEL_MANUAL into the latter.
5021 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5027 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5028 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5030 2003-02-13 John Levon <levon@movementarian.org>
5032 * CutAndPaste.C: remove debug
5034 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5036 * paragraph.C (asString): remove two unused variables
5038 * lyxtextclass.C (readTitleType):
5040 (LyXTextClass): handle new members titletype_ and titlename_
5042 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5044 2003-02-09 John Levon <levon@movementarian.org>
5047 * buffer.C: replace hand-coded list with a map for the dep clean
5049 2003-02-08 John Levon <levon@movementarian.org>
5051 * LaTeX.C: consolidate code into showRunMessage() helper
5053 2003-02-08 John Levon <levon@movementarian.org>
5058 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5059 and pass the size in explicitly
5061 * BufferView_pimpl.h:
5062 * BufferView_pimpl.C:
5064 * BufferView.C: add getCurrentChange()
5066 * BufferView_pimpl.h:
5067 * BufferView_pimpl.C: handle change lfuns
5069 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5070 for changes. Mark pasted paragraphs as new.
5072 * support/lyxtime.h:
5073 * support/lyxtime.C:
5074 * DepTable.C: abstract time_t as lyx::time_type
5077 * LColor.C: add colours for new text, deleted text, changebars
5079 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5080 package use "usenames" option.
5084 * LyXAction.C: add change lfuns
5088 * author.C: author handling
5091 * buffer.C: add a per-buffer author list, with first entry as
5092 current author. Handle new .lyx tokens for change tracking. Output
5093 author list to .lyx file. Output dvipost stuff to .tex preamble.
5094 Bump lyx format to 222.
5097 * bufferlist.C: add setCurrentAuthor() to reset current author details
5101 * bufferparams.C: add param for tracking
5103 * bufferview_funcs.C: output change info in minibuffer
5107 * changes.C: add change-tracking structure
5110 * debug.C: add CHANGES debug flag
5113 * lyxfind.C: add code for finding the next change piece
5116 * lyxrc.C: add user_name and user_email
5119 * lyxrow.C: add a metric for the top of the text line
5122 * text.C: implement accept/rejectChange()
5125 * text.C: paint changebars. Paint new/deleted text in the chosen
5126 colours. Strike through deleted text.
5130 * paragraph_pimpl.h:
5131 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5132 in the current change to the insert functions. Rework erase to
5133 mark text as deleted, adding an eraseIntern() and a range-based
5134 erase(). Implement per-paragraph change lookup and
5137 * paragraph_funcs.C: Fixup paste for change tracking.
5139 * tabular.C: mark added row/columns as new.
5141 * text.C: fix rowLast() to never return -1. Don't allow
5142 spellchecking of deleted text. Track transpose changes. Don't
5143 allow paragraph break or merge where appropriate.
5145 * text2.C: leave cursor at end of selection after a cut.
5147 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5149 * text.C (getLengthMarkerHeight):
5150 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5151 visible on screen too.
5153 2003-02-07 John Levon <levon@movementarian.org>
5155 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5157 2003-02-05 Angus Leeming <leeming@lyx.org>
5159 * lyxserver.C (read_ready): revert my patch of 11 September last year
5160 as it sends PC cpu through the roof. Presumably this means that
5161 the lyxserver will no longer run on an Alpha...
5163 2003-01-30 Angus Leeming <leeming@lyx.org>
5165 * factory.C (createInset): create an InsetCommandParam of type "index"
5166 and use it to 'do the right thing'.
5168 * text2.C (getStringToIndex): ensure that cursor position is always
5169 reset to the reset_cursor position.
5171 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5173 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5176 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5180 * lyxfunc.C: Output messages with identical spelling, punctuation,
5183 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5185 * MenuBackend.C (expandFormats): List only viewable export formats
5188 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5191 * lyxfunc.C (getStatus): Make sure that formats other than
5192 "fax" can also be disabled
5194 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5196 * text3.C (dispatch): put the lfuns that insert insets in 3
5197 groups, and call doInsertInset with appropriate arguments.
5198 (doInsertInset): new function, that creates an inset and inserts
5199 it according to some boolean parameters.
5201 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5203 * buffer.C (readFile): remember to pass on 'par' when calling
5204 readFile recursively.
5206 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5208 * MenuBackend.C (expandFormats): add "..." to import formats.
5210 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5212 * paragraph.C (asString): Remove XForms RTL hacks.
5214 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5215 * buffer.C: fix typo
5217 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5219 * Makefile.am (LIBS): delete var
5220 (lyx_LDADD): add @LIBS@ here instead.
5222 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5224 * Clarify the meaning of "wheel mouse jump"
5226 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5228 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5231 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5233 * importer.C (Loaders): do not preallocate 3 elements in the
5234 vector, since one ends up with 6 elements otherwise
5236 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5238 * DepTable.C (write): write the file name as last element of the
5239 .dep file (because it may contain spaces)
5240 (read): read info in the right order
5242 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5244 * paragraph_pimpl.C (simpleTeXBlanks):
5245 (simpleTeXSpecialChars):
5246 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5248 * tabular.C (latex): add some missing case statements. Reindent.
5250 * MenuBackend.C (expandToc): remove unused variable.
5252 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5261 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5264 2003-01-05 John Levon <levon@movementarian.org>
5267 * BufferView.C: add getEncoding()
5270 * kbsequence.C: do not store last keypress
5273 * lyxfunc.C: store last keypress here instead. Pass encoding
5276 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5278 * lyx_main.C (init): remove annoying error message when following
5279 symbolic links (bug #780)
5281 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5283 * text.C (insertChar):
5284 * lyxrc.C (getDescription): remove extra spaces
5286 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5288 * lyxrc.C (getDescription): remove extra spaces
5290 2002-12-20 John Levon <levon@movementarian.org>
5292 * text3.C: hack fix for page up/down across tall rows
5294 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5296 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5299 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5301 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5302 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5303 thesaurus is not compiled in
5305 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5307 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5309 2002-12-16 Angus Leeming <leeming@lyx.org>
5312 * lyx_main.C (init): remove override_x_deadkeys stuff.
5314 2002-12-12 John Levon <levon@movementarian.org>
5316 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5317 insert. Only remove shift modifier under strict
5320 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * MenuBackend.C (expandToc): fix crash.
5324 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5326 * MenuBackend.C (expandToc): gettext on float names.
5328 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5330 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5331 implement bool empty() [bug 490]
5333 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5335 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5337 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5339 * several files: ws changes
5341 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5343 * text2.C (setCounter): clean up a bit, use boost.format.
5344 (updateCounters): initialize par upon declaration.
5346 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5347 if the layout exists. We do not just store the layout any more.
5348 (SwitchLayoutsBetweenClasses): use boost.format
5350 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5352 * converter.C (convert): if from and to files are the same, use a
5353 temporary files as intermediary
5355 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5358 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5360 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5362 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5364 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5366 * tabular.C (asciiPrintCell): use string(size, char) instead of
5369 * sgml.C (openTag): fix order of arguments to string constructor
5372 * lyxfunc.C (dispatch): use boost.format
5374 * lots of files: change "c" -> 'c'
5376 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5378 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5380 2002-11-25 Angus Leeming <leeming@lyx.org>
5382 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5384 * lyx_main.C (init): compile fix.
5386 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5388 * lyx_cb.C (start): boost.formatify
5389 do not include <iostream>
5391 * lengthcommon.C: ws only
5393 * boost-inst.C,BoostFormat.h: add more explict instantations
5395 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5397 * lots of files: handle USE_BOOST_FORMAT
5399 2002-11-21 John Levon <levon@movementarian.org>
5401 * pspell.C: fix compile
5403 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5405 * lyxfunc.C (dispatch): use boost::format
5409 * lyxfont.C (stateText): use boost::format
5411 * lyx_main.C (LyX): use boost::format
5413 (queryUserLyXDir): ditto
5416 (typedef boost::function): use the recommened syntax.
5418 * importer.C (Import): use boost::format
5420 * debug.C (showLevel): use boost::format
5422 * converter.C (view): use boost::format
5427 * bufferview_funcs.C (currentState): use boost::format
5429 * bufferlist.C (emergencyWrite): use boost::format
5431 * buffer.C (readLyXformat2): use boost::format
5432 (parseSingleLyXformat2Token): ditto
5434 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5436 * LaTeX.C (run): use boost::format
5438 * Chktex.C (scanLogFile): use boost::format
5440 * BufferView_pimpl.C (savePosition): use boost::format
5441 (restorePosition): ditto
5442 (MenuInsertLyXFile): ditto
5444 * BoostFormat.h: help file for explicit instation.
5446 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5448 * tabular.C (latex): Support for block alignment in fixed width
5451 2002-11-17 John Levon <levon@movementarian.org>
5453 * BufferView_pimpl.C:
5455 * lyxfunc.C: split filedialog into open/save
5457 2002-11-08 Juergen Vigna <jug@sad.it>
5459 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5460 by my last patch (hopefully).
5462 2002-11-08 John Levon <levon@movementarian.org>
5471 * toc.C: ParConstIterator, and use it (from Lars)
5473 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5475 * lyxtextclass.[Ch]: revise and add doxygen comments
5477 2002-11-07 John Levon <levon@movementarian.org>
5479 * text.C: fix progress value for spellchecker
5481 * toc.C: fix navigate menu for insetwrap inside minipage
5483 * paragraph_funcs.C: added FIXME for suspect code
5485 2002-11-07 John Levon <levon@movementarian.org>
5487 * BufferView_pimpl.C: fix redrawing of insets
5490 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5492 * text2.C (updateCounters): fix bug 668
5494 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5496 * text3.C (dispatch): Do not make the buffer dirty when moving the
5499 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5501 * vc-backend.C: STRCONV
5504 * text2.C (setCounter): STRCONV
5506 * paragraph.C (asString): STRCONV
5508 * lyxlength.C (asString): STRCONV
5509 (asLatexString): ditto
5511 * lyxgluelength.C (asString): STRCONV
5512 (asLatexString): ditto
5514 * lyxfunc.C (dispatch): STRCONV
5517 * lyxfont.C (stateText): STRCONV
5519 * importer.C (Import): STRCONV
5521 * counters.C (labelItem): STRCONV
5522 (numberLabel): ditto
5523 (numberLabel): remove unused ostringstream o
5528 * bufferview_funcs.C (currentState): STRCONV
5530 * buffer.C (readFile): STRCONV
5531 (asciiParagraph): ditto
5532 (makeLaTeXFile): ditto
5534 * Spacing.C (writeEnvirBegin): STRCONV
5536 * LaTeXFeatures.C (getLanguages): STRCONV
5537 (getPackages): ditto
5539 (getBabelOptions): ditto
5540 (getTClassPreamble): ditto
5541 (getLyXSGMLEntities): ditto
5542 (getIncludedFiles): ditto
5546 (scanAuxFile): ditto
5549 * LString.h: add the STRCONV macros
5551 * BufferView_pimpl.C (savePosition): STRCONV
5552 (restorePosition): ditto
5553 (MenuInsertLyXFile): ditto
5555 * vc-backend.C (scanMaster): change from submatch[...] to
5558 * funcrequest.C: include config.h
5560 * factory.C: include config.h
5562 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5564 * box.C: include config.h
5566 * LaTeX.C (scanAuxFile): change from submatch[...] to
5570 2002-10-25 Angus Leeming <leeming@lyx.org>
5572 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5574 * ispell.[Ch] (setError): new method.
5575 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5576 Use setError() insetead of goto END.
5578 * lyx_cb.C (AutoSave): move out child process into new class
5581 2002-10-30 John Levon <levon@movementarian.org>
5583 * text3.C: make start appendix undoable
5585 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5587 * lyxlength.C (inPixels): Fix returned value.
5589 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5592 2002-10-24 Angus Leeming <leeming@lyx.org>
5594 * lyxgluelength.h: no need to forward declare BufferParams
5595 or BufferView, so don't.
5597 2002-10-21 John Levon <levon@movementarian.org>
5599 * BufferView.C: menuUndo ->undo, redo
5601 * BufferView.h: document, remove dead, make some methods private
5603 * paragraph_funcs.h:
5604 * paragraph_funcs.C:
5605 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5610 * sgml.C: move sgml open/close tag into sgml.C
5612 * bufferview_funcs.h: unused prototype
5615 * lyxfunc.C: remove unused
5618 * text.C: remove unused
5620 2002-10-21 John Levon <levon@movementarian.org>
5624 * BufferView_pimpl.h:
5625 * BufferView_pimpl.C: fix mouse wheel handling based on
5626 patch from Darren Freeman
5628 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5630 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5632 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5634 * lyxlength.C (inPixels): Fix hanfling of negative length.
5635 Fix LyXLength::MU case.
5637 2002-10-16 John Levon <levon@movementarian.org>
5639 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5641 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5643 * converter.C (view): add support for $$i (file name) and $$p
5644 (file path) for the viewer command. If $$i is not specified, then
5645 it is appended to the command (for compatibility with old syntax)
5647 2002-10-14 Juergen Vigna <jug@sad.it>
5649 * undo_funcs.C (textHandleUndo): alter the order in which the
5650 new undopar is added to the LyXText, as we have to set first
5651 the right prev/next and then add it as otherwise the rebuild of
5652 LyXText is not correct. Also reset the cursor to the right paragraph,
5653 with this IMO we could remove the hack in "redoParagraphs()".
5655 2002-10-09 Angus Leeming <leeming@lyx.org>
5657 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5658 to turn off an optimisation if a new inset is to be inserted.
5660 2002-10-11 André Pönitz <poenitz@gmx.net>
5662 * lyxtext.h: make some functions public to allow access
5663 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5665 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5667 * text3.C (dispatch): when changing layout, avoid an infinite loop
5670 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5672 * lyxrc.C (read): treat a viewer or converter command of "none" as
5675 * MenuBackend.C (expandFormats): for an update, also allow the
5676 formats that are not viewable
5678 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5679 script if it is newer than the lyxrc.defaults in user directory
5681 2002-10-07 André Pönitz <poenitz@gmx.net>
5683 * text.C: Vitaly Lipatov's small i18n fix
5685 2002-09-25 Angus Leeming <leeming@lyx.org>
5687 * ispell.h: doxygen fix.
5689 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5691 * buffer.h (readFile): Add a new argument to the method, to allow
5692 reading of old-format templates.
5694 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5696 * toc.C (getTocList): Get TOC from InsetWrap.
5698 2002-09-16 John Levon <levon@movementarian.org>
5700 * lyxfunc.C: check tabular for cut/copy too
5702 2002-09-12 John Levon <levon@movementarian.org>
5707 * factory.C: add header
5709 * paragraph_funcs.h:
5710 * paragraph_funcs.C: cleanup
5712 2002-09-11 John Levon <levon@movementarian.org>
5714 * PrinterParams.h: odd/even default to true
5716 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5718 * PrinterParams.h: update printer parameters for new xforms dialog
5720 2002-09-11 Angus Leeming <leeming@lyx.org>
5722 * lyxserver.C (read_ready): re-write to make it more transparent
5723 and to make it work in coherent fashion under Tru64 Unix.
5725 2002-09-11 André Pönitz <poenitz@gmx.net>
5729 * text3.C: implement LFUN_WORDSEL
5731 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5733 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5734 make floatlist_ a boost::shared_ptr<FloatList>
5736 * lyxtextclass.C: include FloatList.h
5737 (LyXTextClass): initialize floatlist_
5738 (TextClassTags): add TC_NOFLOAT
5739 (Read): match "nofloat" to TC_NOFLOAT and use it.
5740 (readFloat): modify call to floatlist_
5744 * FloatList.[Ch] (FloatList): remove commented out float
5746 (erase): new function
5748 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5750 * MenuBackend.C (expandToc): fix crash when there is no document
5753 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5755 * many files: Add insetwrap.
5757 2002-09-09 John Levon <levon@movementarian.org>
5759 * text2.C: remove confusing and awkward depth wraparound
5761 2002-09-09 John Levon <levon@movementarian.org>
5763 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5766 * buffer.C: remove getIncludeonlyList()
5769 * lyxfunc.C: remove headers
5771 2002-09-09 Juergen Vigna <jug@sad.it>
5773 * text.C (getColumnNearX): fix form Michael this is most
5774 probably a cut&paste bug.
5776 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5778 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5780 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5781 references, ws changes.
5783 * text2.C (init): update counters after init
5784 (insertParagraph): no need to set counter on idividual paragraphs.
5785 (setCounter): access the counters object in the textclass object
5786 on in the buffer object.
5787 (updateCounters): ditto
5789 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5790 shared_ptr<Counters> to avoid loading counters.h in all
5792 (LyXTextClass): initialize ctrs_
5793 (TextClassTags): add TC_COUNTER, and ...
5794 (Read): use it here.
5795 (CounterTags): new tags
5796 (readCounter): new function
5797 (counters): new funtion
5798 (defaultLayoutName): return a const reference
5800 * counters.C (Counters): remove contructor
5801 (newCounter): remove a couple of unneeded statements.
5802 (newCounter): simplify a bit.
5803 (numberLabel): some small formatting changes.
5805 * buffer.[Ch]: remove all traces of counters, move the Counters
5806 object to the LyXTextClass.
5808 2002-09-06 Alain Castera <castera@in2p3.fr>
5810 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5811 package to set the horizontal alignment on fixed width columns.
5814 * lyx_sty.h: added tabularnewline macro def.
5816 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5818 2002-09-06 John Levon <levon@movementarian.org>
5820 * LyXAction.C: tooltips for sub/superscript
5822 * MenuBackend.C: a bit more verbose
5824 * lyxfunc.C: tiny clean
5826 * undo_funcs.C: document undo_frozen
5828 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5830 * counters.C (Counters): add missing algorithm counter.
5832 * text2.C (setCounter): lookup the counter with layouts latexname
5833 instead of by section number.
5834 (setCounter): use a hackish way to lookup the correct enum
5836 a float name->type change
5837 reset enum couners with counter name directly instead of depth value.
5839 * counters.C (Counters): remove the push_backs, change to use the
5840 float type not the float name.
5841 (labelItem): remove unused string, float name->type change
5843 * counters.h: don't include vector, loose the enums and sects vectors
5845 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5847 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5848 (Read): add float->TC_FLOAT to textclassTags
5849 (Read): and handle it in the switch
5850 (readFloat): new function
5852 * FloatList.C (FloatList): comment out the hardcoded float
5855 * lyxlayout.h: ws change.
5857 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5859 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5861 2002-09-03 Angus Leeming <leeming@lyx.org>
5863 * BufferView_pimpl.h: qualified name is not allowed in member
5864 declaration: WorkArea & Pimpl::workarea() const;
5866 * factory.C: added using std::endl directive.
5868 * text3.C: added using std::find and std::vector directives.
5870 2002-08-29 André Pönitz <poenitz@gmx.net>
5873 * text2.C: remove unused member number_of_rows
5876 * BufferView2.C: remove file, move contents to...
5877 * BufferView.C: ... here
5879 * BufferView_pimpl.C:
5880 * factory.C: move more inset creation to factory
5882 * vspace.C: avoid direct usage of LyXText, ws changes
5885 don't provide direct access to WorkArea, use two simple
5886 acessors haveSelction() and workHeight() instead
5889 2002-08-29 John Levon <levon@movementarian.org>
5891 * BufferView_pimpl.C (dispatch): do not continue when
5894 2002-08-28 André Pönitz <poenitz@gmx.net>
5896 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5899 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5901 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5903 * buffer.C: increment LYX_FORMAT to 221
5905 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5906 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5908 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5910 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5912 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5914 * factory.C (createInset): use LyXTextClass::floats
5916 * MenuBackend.C (expandFloatListInsert):
5917 (expandFloatInsert):
5920 * text2.C (setCounter):
5922 * LaTeXFeatures.C (useFloat):
5923 (getFloatDefinitions):
5925 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5927 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5928 floatlist_, with accessor floats().
5930 * FloatList.h: remove global FloatList
5932 2002-08-26 André Pönitz <poenitz@gmx.net>
5934 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5938 * BufferView_pimpl.C:
5939 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5941 2002-08-25 John Levon <levon@movementarian.org>
5943 * LyXAction.C: fix margin note description
5945 2002-08-24 John Levon <levon@movementarian.org>
5949 * bufferview_funcs.C:
5951 * undo_funcs.C: cleanups
5953 * lyxfunc.C: disable CUT/COPY when no selection
5955 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5957 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5958 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5960 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5961 Add backward compatibility to "mono", "gray" and "no".
5963 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5965 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5966 (and file_format >= 200).
5968 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5970 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5972 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5974 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5976 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5978 * BufferView_pimpl.C:
5985 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5986 inset and code to make it work with the paragraph code. The inset
5987 can be anywhere in the paragraph, but will only do the expected
5988 thing in LaTeX if the layout file contains the parameter line
5990 (or more generally, a nonzero value) for that layout.
5992 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5994 * paragraph.h: remove the declaration of undefined counters class
5997 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5999 * text2.C (setCounter): fixed enumeration mis-count as reported by
6000 Dr. Richard Hawkins.
6002 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6004 * paragraph_funcs.h: remove some unneeded includes
6006 * text.C (backspace): pasteParagraph now in global scipe
6008 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6009 (pasteSelection): ditto
6011 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6012 * paragraph_funcs.C (pasteParagraph): ... here
6014 2002-08-20 André Pönitz <poenitz@gmx.net>
6016 * commandtags.h: new LFUNs for swapping/copying table row/colums
6019 * lyxfunc.C: support for new lfuns
6021 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * buffer.[Ch]: remove NO_COMPABILITY stuff
6026 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6028 * boost.C (throw_exception): new file, with helper function for
6029 boost compiled without exceptions.
6034 * ParameterStruct.h:
6035 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6037 * bufferlist.C (emergencyWriteAll): use boost bind
6039 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6041 * text.C: include paragraph_funcs.h
6042 (breakParagraph): breakParagraph is now in global scope
6044 * paragraph_funcs.[Ch]: new files
6046 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6049 * buffer.C: include paragraph_funcs.h
6050 (insertStringAsLines): breakParagraph is now in global scope
6052 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6055 * CutAndPaste.C: include paragraph_funcs.h
6056 (cutSelection): breakParagraphConservative is now in global scope
6057 (pasteSelection): ditto
6059 * buffer.h: declare oprator== and operator!= for
6060 Buffer::inset_iterator
6062 * bufferlist.C (emergencyWrite): don't use fmt(...)
6064 * text3.C: add using std::endl
6066 * BufferView.C (moveCursorUpdate): remove default arg
6068 2002-08-20 André Pönitz <poenitz@gmx.net>
6070 * buffer.[Ch]: move inline functions to .C
6073 * BufferView_pimpl.C:
6075 * buffer.[Ch]: use improved inset_iterator
6078 * paragraph.[Ch]: write one paragraph at a time
6080 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6082 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6083 style if style is not specified.
6085 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6087 * text2.C (setCounter): when searching for right label for a
6088 caption, make sure to recurse to parent insets (so that a caption
6089 in a minipage in a figure float works) (bug #568)
6091 2002-08-20 André Pönitz <poenitz@gmx.net>
6093 * text3.C: new file for LyXText::dispatch() and helpers
6095 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6097 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6099 2002-08-19 André Pönitz <poenitz@gmx.net>
6102 * text.C: new LyXText::dispatch()
6104 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6106 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6108 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6110 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6113 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6115 * Makefile.am: use $(variables) instead of @substitutions@
6117 2002-08-15 André Pönitz <poenitz@gmx.net>
6120 * BufferView_pimpl.C: streamlining mathed <-> outer world
6124 * LyXAction.C: remove unused LFUN_MATH
6126 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6128 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6130 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6132 * paragraph.C (Paragraph): reformat a bit
6133 (cutIntoMinibuffer): use builtin InsetList function instad of
6137 * buffer.C: include boost/bind.hpp, add using std::for_each
6138 (writeFileAscii): use ParagraphList iterators
6139 (validate): use for_each for validate traversal of paragraphs
6140 (getBibkeyList): use ParagraphList iterators
6141 (resizeInsets): use for_each to resizeInsetsLyXText for all
6143 (getParFromID): use ParagraphList iterators
6145 * BufferView2.C (lockInset): use paragraph list and iterators
6147 2002-08-14 John Levon <levon@movementarian.org>
6149 * lyxserver.C: remove spurious xforms include
6151 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6153 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6155 2002-08-13 André Pönitz <poenitz@gmx.net>
6158 * lyxfunc.C: further cleaning
6160 2002-08-13 André Pönitz <poenitz@gmx.net>
6162 * funcrequest.h: new constructor
6164 * funcrequest.C: move stuff here from .h
6167 * BufferView_pimpl.C:
6170 * lyxfunc.C: subsequent changes
6172 * lyxfunc.h: new view() member function
6174 * lyxfunc.C: subsequent changes
6176 2002-08-13 Angus Leeming <leeming@lyx.org>
6179 * BufferView_pimpl.C:
6187 changes due to the changed LyXView interface that now returns references
6188 to member variables not pointers.
6190 2002-08-13 Angus Leeming <leeming@lyx.org>
6192 * WordLangTuple (word, lang_code): return references to strings,
6197 * lyxtext.h: forward-declare WordLangTuple.
6202 * text.C: #include "WordLangTuple.h".
6205 * text.C: (selectNextWordToSpellcheck): constify return type.
6207 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6213 * paragraph_pimpl.h:
6216 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6218 Made updateCounter always count from start of buffer, and removed
6219 second argument (par).
6220 Reverted floats number display to '#'. Perhaps I'll try again when the
6221 code base is sanitized a bit.
6223 2002-08-12 Angus Leeming <leeming@lyx.org>
6225 * buffer.[Ch] (getLabelList): constify.
6227 2002-08-07 André Pönitz <poenitz@gmx.net>
6229 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6231 * funcrequest.h: extension to keep mouse (x,y) position
6233 2002-08-12 Juergen Vigna <jug@sad.it>
6235 * BufferView2.C (insertErrors): forbid undo when inserting error
6238 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6240 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6242 * ParagraphList.[Ch]: new files
6244 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6246 * BufferView2.C (lockInset): ParagraphList changes
6249 * bufferlist.C: ditto
6253 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6255 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6256 unused class variable counter_,
6258 * paragraph.[Ch] (getFirstCounter): delete unused function
6260 * counters.C: include LAssert.h
6261 (reset): add a new function with no arg, change other version to
6262 not have def. arg and to not allow empty arg.
6264 * text2.C (setCounter): remove empty arg from call to Counters::reset
6266 2002-08-11 John Levon <levon@movementarian.org>
6268 * Makefile.am: add WordLangTuple.h
6270 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6273 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6275 * insets/insettext.C: InsetList changes
6277 * graphics/GraphicsSupport.C (operator()): InsetList changes
6279 * toc.C (getTocList): InsetList changes
6281 * paragraph_pimpl.[Ch]: InsetList changes
6283 * paragraph.[Ch]: InsetList changes
6285 * buffer.C (inset_iterator): InsetList changes
6286 (setParagraph): ditto
6287 * buffer.h (inset_iterator): ditto
6288 * iterators.C (operator++): ditto
6289 * iterators.h: ditto
6291 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6293 * InsetList.[Ch]: new files, most InsetList handling moved out of
6296 * BufferView2.C (removeAutoInsets): InsetList changes
6298 (ChangeInsets): ditto
6300 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6302 * paragraph_pimpl.h (empty): new function
6304 * paragraph.[Ch] (empty): new function
6306 * other files: use the new Paragraph::empty function
6308 2002-08-09 John Levon <levon@movementarian.org>
6310 * lyxtext.h: remove unused refresh_height
6312 2002-08-09 John Levon <levon@movementarian.org>
6319 * paragraph.C: move sgml char escaping out of paragraph
6322 * paragraph.C: remove id setter
6326 * paragraph_pimpl.C: remove dead tex_code_break_column
6328 * bufferview_funcs.C: small cleanup
6330 * lyxfunc.C: remove dead proto
6332 * lyxtext.h: make some stuff private. Remove some dead stuff.
6334 * lyxgluelength.C: make as[LyX]String() readable
6336 2002-08-08 John Levon <levon@movementarian.org>
6341 * ToolbarDefaults.C:
6344 * toc.C: lyxaction cleanup
6346 2002-08-08 John Levon <levon@movementarian.org>
6348 * BufferView2.C: small cleanup
6351 * lyxfind.C: move unnecessary header into the .C
6353 2002-08-08 John Levon <levon@movementarian.org>
6355 * funcrequest.h: just tedious nonsense
6358 * lyx_main.C: cleanups
6361 * vspace.C: remove dead header lyx_main.h
6363 2002-08-07 Angus Leeming <leeming@lyx.org>
6366 * paragraph_pimpl.h:
6367 Forward declare class Counters in paragraph.h by moving the ctrs member
6368 variable into Paragraph::Pimpl.
6369 (counters): new method, returning a reference to pimpl_->ctrs.
6371 * text2.C: ensuing changes.
6373 2002-08-07 John Levon <levon@movementarian.org>
6375 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6377 * BufferView_pimpl.C: announce X selection on double/triple
6380 * lyx_main.C: use correct bool in batch dispatch
6382 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6384 2002-08-07 André Pönitz <poenitz@gmx.net>
6386 * funcrequest.h: new class to wrap a kb_action and its argument
6389 * BufferView_pimpl[Ch]:
6393 * lyxrc.C: subsequent changes
6396 2002-08-07 John Levon <levon@movementarian.org>
6398 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6399 document options change.
6401 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6406 * makefile.am: move counters functionality over from
6407 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6409 2002-08-06 John Levon <levon@movementarian.org>
6411 * WordLangTuple.h: new file for word + language code tuple
6422 * BufferView2.C: use WordLangTuple
6425 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6427 2002-08-06 John Levon <levon@movementarian.org>
6429 * lyx_main.C: fix cmdline batch handling
6431 2002-08-06 André Pönitz <poenitz@gmx.net>
6433 * lyxrc.C: set default for show_banner to true
6435 2002-08-06 John Levon <levon@movementarian.org>
6437 * pspell.C: fix a crash, and allow new aspell to work
6439 2002-08-06 John Levon <levon@movementarian.org>
6442 * kbmap.C: small cleanup
6445 * vspace.C: add const
6447 2002-08-05 John Levon <levon@movementarian.org>
6449 * LyXAction.C: back to tabular-insert
6451 2002-08-04 John Levon <levon@movementarian.org>
6454 * BufferView.C: cosmetic change
6456 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6466 * BufferView2.C: purge all "Lyx" not "LyX" strings
6469 * lyxcursor.C: attempt to add some documentation
6474 * ToolbarDefaults.C:
6475 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6476 merge with LFUN_TABULAR_INSERT
6483 * pspell.C: split up i/pspell implementations into separate
6484 files, many cleanups
6486 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6488 * text2.C: some cleanup
6490 * lyxfunc.C: don't check for isp_command == "none" any more, it
6491 didn't make any sense
6493 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6498 * makefile.am: move counters functionality over
6499 from text2.C/paragraph.[Ch] to counters.[Ch], and
6501 2002-08-02 John Levon <levon@movementarian.org>
6503 * buffer.C: s/lyxconvert/lyx2lyx/
6505 2002-08-02 Angus Leeming <leeming@lyx.org>
6507 * lyxlex.C: revert John's change as it breaks reading of the user
6510 2002-08-02 Angus Leeming <leeming@lyx.org>
6512 * importer.C (Import):
6513 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6514 changes due to LyXView::view() now returning a boost::shared_ptr.
6516 2002-08-02 John Levon <levon@movementarian.org>
6518 * lyxlex.C: small cleanup
6520 2002-08-02 John Levon <levon@movementarian.org>
6522 * text2.C (status): small cleanup, no logic change
6524 2002-08-01 John Levon <levon@movementarian.org>
6527 * buffer.C (writeFile): don't output alerts, caller
6531 * lyx_cb.C: from above
6533 * lyxfunc.C: allow to open non-existent files
6535 2002-07-31 John Levon <levon@movementarian.org>
6537 * lyxserver.C: don't let incidental errors get
6540 2002-07-30 John Levon <levon@movementarian.org>
6542 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6544 2002-07-30 John Levon <levon@movementarian.org>
6547 * lyxserver.C: remove I/O callback too
6549 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6551 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6554 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6556 * many files: strip,frontStrip -> trim,ltrim,rtrim
6558 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6560 * PrinterParams.h: remove extern containsOnly, and include
6561 support/lstrings.h instead.
6563 * LaTeX.C (scanAuxFile): modify because of strip changes
6565 * buffer.C (makeLaTeXFile): ditto
6566 * bufferparams.C (writeFile): ditt
6567 * lyxfont.C (stateText): ditto
6568 * lyxserver.C (read_ready): ditto
6569 * vc-backend.C (scanMaster): ditto
6571 * BufferView_pimpl.h: ws changes
6573 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6575 2002-07-26 André Pönitz <poenitz@gmx.net>
6577 * kb_sequence.C: remove unnedred usings
6579 2002-07-26 Juergen Vigna <jug@sad.it>
6581 * lyxfind.C (LyXReplace): we have to check better if the returned
6582 text is not of theLockingInset()->getLockingInset().
6584 2002-07-25 Juergen Vigna <jug@sad.it>
6586 * lyxfind.C (LyXReplace): don't replace if we don't get the
6589 * undo_funcs.C (createUndo): remove debugging code.
6591 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6593 * buffer.C (parseSingleLyXformat2Token): Use default placement
6594 when reading old floats.
6596 * FloatList.C (FloatList): Change the default placement of figure
6597 and tables to "tbp".
6599 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6601 * MenuBackend.C: using std::max
6603 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6605 * MenuBackend.C (expandToc):
6606 (expandToc2): code moved from xforms menu frontend. It is now
6607 generic and TOCs are transparent to menu frontends.
6609 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6611 * toc.C (getTocList): protect against buf=0
6613 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6614 Menu as first parameter. Now, this calls itself recursively to
6615 expand a whole tree (this will be useful for TOC handling)
6616 (expandFloatInsert): remove 'wide' version of floats
6618 * MenuBackend.h (submenuname): returns the name of the submenu.
6619 (submenu): returns the submenu itself, provided it has been
6620 created by MenuBackend::expand
6622 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6624 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6625 insets which have noFontChange == true. (bug #172)
6627 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6629 * BufferView_pimpl.C: add connection objects and use them...
6632 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6634 * MenuBackend.C (expandLastfiles):
6637 (expandFloatListInsert):
6638 (expandFloatInsert):
6639 (expand): split expand in parts
6641 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6643 * lyx_gui.C: use lyx_gui::exit()
6645 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6647 * LyXAction.C: show the failing pseudo action
6649 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6651 * buffer.C (readFile): Run the lyxconvert script in order to read
6654 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6658 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6660 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6664 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6666 2002-07-22 Herbert Voss <voss@lyx.org>
6669 * lyxlength.[Ch]: add support for the vertical lengths
6671 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6673 * toc.[Ch]: std:: fixes
6675 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6677 * lyxrc.C: do not include lyx_main.h
6679 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6685 * BufferView2.C: include "lyxlex.h"
6688 * bufferparams.h: do not #include "lyxlex.h"
6690 * lyxtextclasslist.C (Add): remove method
6691 (classlist): renamed to classlist_
6693 * paragraph_pimpl.C:
6697 * bufferview_funcs.C:
6702 * toc.C (getTocList): use BufferParams::getLyXTextClass
6704 * toc.C (getTocList): use InsetFloat::addToToc
6706 * toc.[Ch]: new files, containing helper functions to handle table
6709 * lyxfunc.C (dispatch): no need to remove spaces around command
6711 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6712 first command of the sequence; it is not very clever, but I do not
6713 have a better idea, actually
6715 * LyXAction.C (LookupFunc): make sure to remove space at the
6716 beginning and end of the command
6718 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6720 * MenuBackend.C (getMenubar): new method: return the menubar of
6722 (read): treat differently reading of menu and menubar (in
6723 particular, the menubar has no name now)
6724 (Menu::menubar): remove
6726 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6729 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6731 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6732 a bibitem inset in a RTL paragraph.
6734 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6736 * paragraph_pimpl.C: constify
6738 * BufferView_pimpl.C:
6740 * lyxfunc.C: fix dispatch in a nicer way
6742 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6744 * lyxfunc.C (dispatch):
6745 * BufferView_pimpl.C:
6746 * BufferView_pimpl.h:
6748 * BufferView.h: rename Dispatch() to dispatch()
6750 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6752 * lyxlayout.C (Read): honor DependsOn tag
6754 * lyxlayout.[Ch] (depends_on): new method
6756 * version.C.in: update lyx_docversion
6758 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6760 * paragraph.C (validate): remove from here...
6761 * paragraph_pimpl.C (validate): ... and move here
6762 (isTextAt): make it const
6764 * buffer.C (getLists): ws cleanup
6766 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6768 * language.C (read): Use iso8859-1 encoding in latex_lang
6769 (this prevents LyX from crashing when using iso10646-1 encoding).
6771 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6773 * text2.C (toggleInset): if cursor is inside an inset, close the
6774 inset and leave cursor _after_ it
6776 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6778 * lyxfunc.C: move minibuffer completion handling out of here
6780 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6782 * BufferView_pimpl.C:
6783 * LaTeX.C: fix dispatch calls
6785 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6787 * text.C (drawChars): Fix Arabic text rendering.
6789 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6793 * lyxfunc.C: remove message-push/pop
6797 * lyxfunc.C: rationalise some code by removing verboseDispatch
6798 in favour of a bool argument to dispatch()
6800 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6802 * lyx_main.C (init): make sure to read symlinks as absolute paths
6804 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6807 * lyxfunc.C: no need for commandshortcut to be a member
6809 2002-07-15 André Pönitz <poenitz@gmx.net>
6811 * converter.C: add support for $$s (scripts from lib/scripts dir)
6812 * lyx_main.C: white space
6814 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6818 * lyxrc.C: remove second exit confirmation
6820 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6825 * BufferView_pimpl.h:
6826 * BufferView_pimpl.C:
6827 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6829 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6831 * MenuBackend.C (expand): add numeric shortcuts to document menu
6833 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6835 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6837 * lyxfont.C (setLyXFamily):
6844 * buffer.C (asciiParagraph): use ascii_lowercase
6846 2002-07-15 Mike Fabian <mfabian@suse.de>
6848 * lyxlex_pimpl.C (search_kw):
6849 * lyxlex.C (getLongString):
6850 * converter.h (operator<):
6851 * converter.C (operator<):
6852 * buffer.C (parseSingleLyXformat2Token):
6854 * ToolbarDefaults.C (read):
6855 * MenuBackend.C (checkShortcuts):
6857 * LColor.C (getFromGUIName):
6858 (getFromLyXName): use the compare_ascii_no_case instead of
6859 compare_no_case, because in turkish, 'i' is not the lowercase
6860 version of 'I', and thus turkish locale breaks parsing of tags.
6862 2002-07-16 Angus Leeming <leeming@lyx.org>
6864 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6865 now takes a Buffer const & argument.
6867 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6869 * BufferView.C (resize): check there's a buffer to resize
6871 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6873 * lyxfunc.C: remove dead code
6876 * lyxserver.C: use lyx_guii::set_read_callback
6878 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6880 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6881 an inset in a RTL paragraph.
6883 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6885 * lyxfunc.C: repaint after a font size update
6887 2002-07-15 André Pönitz <poenitz@gmx.net>
6889 * lyxlength.C: inBP should be able to return negative values
6891 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6893 * lyxfunc.C: use lyx_gui::update_fonts()
6895 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6897 * lyxfunc.C: use lyx_gui::update_color()
6899 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6905 * lyxrc.C: remove file->new asks for name option, and let
6906 buffer-new take an argument
6908 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6910 * BufferView_pimpl.C: remove unneeded extra repaint()
6912 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6914 * LyXAction.C: allow command-sequence with NoBuffer
6916 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6918 2002-07-10 Angus Leeming <leeming@lyx.org>
6920 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6922 2002-07-09 Angus Leeming <leeming@lyx.org>
6924 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6926 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6928 * lengthcommon.h: whitespace
6930 * lyxfunc.C: update scrollbar after goto paragraph
6932 * lyxtext.h: factor out page break drawing, and fix it so
6933 page break/added space paints as selected nicely
6935 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6937 * BufferView_pimpl.C: add FIXMEs, clean up a little
6939 2002-07-09 André Pönitz <poenitz@gmx.net>
6941 * lyxfont.[Ch]: support for wasy symbols
6943 2002-07-08 André Pönitz <poenitz@gmx.net>
6945 * BufferView_pimpl.C: apply John's patch for #93.
6947 2002-07-05 Angus Leeming <leeming@lyx.org>
6949 * BufferView_pimpl.C (buffer): generate previews if desired.
6951 * LColor.h: add "preview" to the color enum.
6953 * LColor.C (LColor): add a corresponding entry to the items array.
6955 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6958 2002-07-05 Angus Leeming <leeming@lyx.org>
6960 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6961 The body of the code is now in the method that is passed an ostream &
6962 rather than a file name.
6963 Pass an additional only_preamble parameter, useful for the forthcoming
6966 2002-07-03 André Pönitz <poenitz@gmx.net>
6968 * lyxfunc.C: simplify getStatus() a bit for math stuff
6970 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6972 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6974 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6976 * text.C (changeRegionCase): do not change case of all the
6977 document when region ends at paragraph end (bug #461)
6979 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6981 * paragraph.C (startTeXParParams):
6982 (endTeXParParams): add \protect when necessary
6984 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6986 * BufferView_pimpl.C (workAreaExpose): remove warning
6988 2002-06-27 Angus Leeming <leeming@lyx.org>
6990 * Makefile.am: add lyxlayout_ptr_fwd.h.
6992 2002-06-26 André Pönitz <poenitz@gmx.net>
6994 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6996 2002-06-25 Angus Leeming <leeming@lyx.org>
6998 * lyxfunc.C (dispatch): Comment out the call to
6999 grfx::GCache::changeDisplay. The method no longer exists now that the
7000 pixmap generation part of the graphics loader has been moved into
7003 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7005 * text2.C: layout as layout
7007 * text.C: layout as layout
7009 * tabular.C (OldFormatRead): layout as layout
7011 * paragraph_pimpl.C (TeXDeeper): layout as layout
7012 (realizeFont): layout as layout
7014 * paragraph.C (writeFile): layout as layout
7015 (validate): layout as layout
7016 (getFont): layout as layout
7017 (getLabelFont): layout as layout
7018 (getLayoutFont): layout as layout
7019 (breakParagraph): layout as layout
7020 (stripLeadingSpaces): layout as layout
7021 (getEndLabel): layout as layout
7022 (getMaxDepthAfter): layout as layout
7023 (applyLayout): layout as layout
7024 (TeXOnePar): layout as layout
7025 (simpleTeXOnePar): layout as layout
7026 (TeXEnvironment): layout as layout
7027 (layout): layout as layout
7028 (layout): layout as layout
7030 * lyxtextclass.C (compare_name): new functor to work with
7031 shared_ptr, layout as layout
7032 (Read): layout as layout
7033 (hasLayout): layout as layout
7034 (operator): layout as layout
7035 (delete_layout): layout as layout
7036 (defaultLayout): layout as layout
7038 * lyxlayout_ptr_fwd.h: new file
7040 * lyxlayout.C (Read): layout as layout
7042 * lyx_cb.C (MenuInsertLabel): layout as layout
7044 * bufferlist.C (newFile): layout as layout
7046 * buffer.C (readLyXformat2): layout as layout
7047 (parseSingleLyXformat2Token): layout as layout
7048 (insertStringAsLines): layout as layout
7049 (asciiParagraph): layout as layout
7050 (latexParagraphs): layout as layout
7051 (makeLinuxDocFile): layout as layout
7052 (simpleLinuxDocOnePar): layout as layout
7053 (makeDocBookFile): layout as layout
7054 (simpleDocBookOnePar): layout as layout
7055 (getLists): layout as layout
7057 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7059 * CutAndPaste.C (cutSelection): layout as layout
7060 (pasteSelection): layout as layout
7061 (SwitchLayoutsBetweenClasses): layout as layout
7063 * BufferView_pimpl.C (Dispatch): layout as layout
7064 (smartQuote): layout as layout
7066 * BufferView2.C (unlockInset): layout as layout
7068 2002-06-24 André Pönitz <poenitz@gmx.net>
7070 * lyxfunc.C: fix #487
7072 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7076 * lyxfunc.C: remove display_shortcuts, show_banner
7078 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7080 * Buffer_pimpl.C: oops, update on resize
7082 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7089 * BufferView.C: use repaint()
7091 * BufferView_pimpl.h:
7092 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7093 as it's a clearer description. Remove superfluous
7096 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7098 * text.C: fix bug 488. Not ideal, but getting
7099 getWord() to work properly for the insets that
7100 matter is more difficult ...
7102 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7104 * BufferView_pimpl.C:
7107 * lyxfunc.C: remove the six million index lyxfuncs to just
7108 one, and DTRT (bug 458)
7110 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7114 * BufferView_pimpl.h:
7115 * BufferView_pimpl.C: clean up resize() stuff,
7116 and unnecessary updateScreen()s
7118 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7122 * BufferView_pimpl.h:
7123 * BufferView_pimpl.C:
7126 * minibuffer.C: remove focus management of workarea,
7127 not needed. Use screen's greyOut()
7129 2002-06-17 Herbert Voss <voss@lyx.org>
7131 * converter.C: (convert) do not post a message, when converting
7132 fails, let the calling function decide what to do in this case
7134 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7136 * lyxfunc.C: tidy up a little
7138 2002-06-16 <alstrup@diku.dk>
7140 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7141 Got rid of FORMS_H_LOCATION include. Now we are
7144 2002-06-15 LyX Development team <lyx@rilke>
7146 * buffer.[Ch] (sgmlOpenTag):
7147 (sgmlCloseTag): Added support for avoiding pernicious mixed
7148 content. Return number of lines written.
7151 (makeDocBookFile): Fixed calls to sgml*Tag.
7152 Simple white space clean.
7154 (simpleDocBookOnePar): Simple white space clean.
7156 * tabular.[Ch] (docBook): Renamed to docbook and got another
7157 argument to related with the pernicious mixed content.
7159 (docbookRow): Fixed calls for docbook inset method.
7161 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7163 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7164 so it's X11 independent.
7168 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7170 2002-06-15 Lyx Development team <lyx@electronia>
7172 * intl.h: Renamed getTrans to getTransManager.
7174 2002-06-14 Angus Leeming <leeming@lyx.org>
7176 * Makefile.am: nuke forgotten stl_string_fwd.h.
7178 2002-06-12 Angus Leeming <leeming@lyx.org>
7180 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7182 2002-06-13 Angus Leeming <leeming@lyx.org>
7185 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7187 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7189 * kbmap.C (getiso): add support for cyrillic and greek
7191 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7195 * BufferView_pimpl.h:
7196 * BufferView_pimpl.C: move bogus scrolling logic
7199 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7202 * BufferView_pimpl.C: view->resize() change
7204 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7206 * BufferView_pimpl.C: topCursorVisible
7209 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7213 * lyx_gui.C: move to frontends/
7217 * lyx_main.C: changes from above
7219 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7226 * lyx_main.C: minor tidy
7228 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7230 * BufferView_pimpl.h:
7231 * BufferView_pimpl.C:
7233 * BufferView.C: make painter() const,
7236 * BufferView2.C: use screen() accessor
7239 * lyx_main.C: some minor cleanup
7241 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7243 * BufferView_pimpl.h:
7244 * BufferView_pimpl.C: remove enter/leaveView,
7247 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7252 * BufferView_pimpl.h:
7253 * BufferView_pimpl.C: only construct screen once,
7256 * lyxrc.C: remove pointless comment
7258 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7261 * BufferView.C: remove active() and belowMouse()
7263 * BufferView_pimpl.h:
7264 * BufferView_pimpl.C: use workarea() not workarea_,
7265 and make it use a scoped_ptr instead
7267 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7269 * lyx_gui.C: add debug message on BadWindow
7271 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7273 * sp_spell.C: fdopen is not part of the C++ standard.
7275 * paragraph.C (InsetIterator): use >= instead of ==
7277 2002-06-07 Angus Leeming <leeming@lyx.org>
7279 Fixes needed to compile with Compaq cxx 6.5.
7280 * BufferView_pimpl.C:
7287 * lyxtextclasslist.C:
7292 all c-library variables have been moved into namespace std. Wrap
7293 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7298 Add a using std::abs declaration.
7300 * kbmap.h (modifier_pair):
7301 * paragraph.h (InsetTable, InsetList):
7302 * lyxfont.h (FontBits):
7303 type definition made public.
7305 * bufferlist.C (emergencyWriteAll): the compiler complains that
7306 there is more than one possible lyx::class_fun template to choose from.
7307 I re-named the void specialisation as lyx::void_class_fun.
7309 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7311 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7312 the compiler is is unable to find tostr in write_attribute.
7314 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7316 * buffer.C (sgmlError): hide #warning
7318 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7320 * xtl/*: get rid of xtl, which is not in use anyway
7322 * LyXAction.C (init):
7323 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7324 were unimplemented xtl experimentation
7326 2002-06-04 André Pönitz <poenitz@gmx.net>
7328 * lyxfunc.C: disable array operation on simple formulae
7330 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7332 * converter.C: constify a bit
7334 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7336 * lyx_gui.C: check xforms version correctly
7338 2002-04-30 Herbert Voss <voss@lyx.org>
7340 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7343 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7345 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7346 attempt to register it with a VCS)
7348 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7350 * lyx_main.C (init): honor variables LYX_DIR_13x and
7353 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7357 * lyx_main.C: fix a crash on bad command line,
7358 and give a useful exit status on error
7360 * lyxfunc.C (doImport): allow -i lyx to work
7362 2002-03-30 André Pönitz <poenitz@gmx.net>
7364 * lyxfunc.C: mathed font changes
7366 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7381 * trans_mgr.h: srcdocs, and some minor cleanups
7383 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7385 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7386 call getFont all the time)
7388 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7390 * switch from SigC signals to boost::signals
7392 2002-05-29 André Pönitz <poenitz@gmx.net>
7394 * paragraph_pimpl.C (getChar): don't call size() too often...
7396 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7398 * paragraph_pimpl.C (insertChar): do not try to update tables when
7399 appending (pos == size())
7401 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7402 in order to reduce drastically the number of comparisons needed to
7403 parse a large document
7405 2002-05-29 André Pönitz <poenitz@gmx.net>
7411 * textclasslist.[Ch]:
7412 * sp_ispell.h: whitespace change
7414 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7416 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7417 lyxaction directly now.
7419 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7423 * lyxvc.C: remove unused headers
7425 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7432 * undo_funcs.C: some cleanups. Use shared_ptr
7433 and a template for the undo stacks.
7435 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7437 * BufferView_pimpl.h:
7438 * BufferView_pimpl.C:
7445 * text2.C: use key_state/mouse_state
7447 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7449 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7452 * chset.C: change include order
7453 (loadFile): use boost regex and get rid of LRegex and LSubstring
7455 * Makefile.am (BOOST_LIBS): new variable
7458 * LaTeX.C: change include order.
7459 (scanAuxFile): use boost regex and get rid of LRegex and
7463 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7468 * FontInfo.C: moved to frontends/xforms/
7471 * FontLoader.C: moved into frontends for GUIIzation
7476 * lyxfunc.C: changes from above
7478 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7480 * LColor.C: remove spurious X include
7482 * BufferView_pimpl.C:
7487 * text2.C: move font metrics to frontends/
7489 2002-05-24 Juergen Vigna <jug@sad.it>
7491 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7492 setting the undo_cursor.
7494 * ParagraphParameters.h: include local includes first.
7496 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7498 * BufferView_pimpl.C:
7499 * BufferView_pimpl.h:
7503 * screen.C: move WorkArea into frontends/
7509 * BufferView2.C: move LyXScreen into frontends/
7513 * lyx_gui.C: move lyxlookup into frontends/xforms/
7515 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7518 * BufferView_pimpl.C:
7528 * bufferview_funcs.C:
7541 * vc-backend.C: move LyX/XFormsView into frontends/
7543 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7555 * text2.C: move Painter to frontends/
7557 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7559 * buffer.C: comment out some some code that depend upon lyx_format
7562 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7563 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7565 * buffer.h (NO_COMPABILITY): turn off compability
7567 * ColorHandler.C: include scoped_array.hpp
7569 * font.C: Use more specific smart_ptr header.
7572 * ShareContainer.h: ditto
7576 * BufferView_pimpl.h: ditto
7577 * ColorHandler.h: ditto
7579 * kbmap.C (defkey): change call to shared_ptr::reset
7581 2002-05-21 Juergen Vigna <jug@sad.it>
7583 * buffer.C (insertErtContents): fix to insert ert asis if it is
7584 non empty. Skip it completely if it contains only whitespaces.
7586 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7588 * BufferView_pimpl.C:
7589 * BufferView2.C: clear selection on paste (bug 393)
7591 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7593 * DepTable.C: include ctime
7595 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7597 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7599 2002-05-14 Juergen Vigna <jug@sad.it>
7601 * text.C (breakParagraph): fixed function to honor the keepempty
7602 layout in the right maner and also to permit the right breaking
7603 algorithm on empty or non empyt keepempty paragraphs.
7605 * paragraph.C (breakParagraph): we have to check also if the par
7606 is really empty (!size()) for isempty otherwise we do the wrong
7609 2002-05-10 Juergen Vigna <jug@sad.it>
7611 * buffer.[Ch] : The following are only changes to the ert
7612 compatibility read reading old LaTeX layout and font stuff and
7613 convert it to ERTInsets.
7615 * buffer.h: added isErtInset().
7617 * buffer.C (struct ErtComp): add a fromlayout bool to check
7618 if we're inside a LaTeX layout.
7619 (isErtInset): new helper function.
7620 (insertErtContents): look for other ert insets before this one
7621 and insert the contents there, so that we don't have subsequent
7622 ERT insets with nothing between them. This way we create only one
7623 inset with multiple paragraphs. Also check if we don't insert only
7624 spaces ' ' as they are ignored anyway afterwards in the .tex file
7625 so if we have only spaces we will ignore this latex part in the
7627 (parseSingleLyXformat2Token \\layout): better compatibility when
7628 reading layout-latex stuff.
7629 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7631 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7632 stuff after reading the inset only get the information back from
7635 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7637 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7639 * LaTeXFeatures.C (getBabelOptions): New method.
7641 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7643 * BufferView_pimpl.C (Dispatch): work around missing argument for
7646 2002-05-08 Juergen Vigna <jug@sad.it>
7648 * text.C (leftMargin): handle paragraph leftindent.
7650 * paragraph.C (writeFile): write the new \\leftindent tag.
7651 (validate): handle leftindent code.
7652 (TeXEnvironment): handle paragraphleftindent code again.
7654 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7656 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7657 for paragrap_extra indent code and new token \\leftindent.
7658 (latexParagraphs): handle the leftindent as environment.
7660 * ParameterStruct.h: added leftindent support.
7662 * ParagraphParameters.C (leftIndent): added support functions for
7663 the paragraph left indent.
7665 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7668 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7670 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7673 * text.C (computeBidiTables): No bidi in insetERT.
7675 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7678 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7680 * version.C.in: pre 5
7682 2002-05-02 José Matos <jamatos@fep.up.pt>
7683 * buffer.C (makeDocBookFile): white space changes, add newline to
7685 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7687 * tabular.C (docBook): fix typo.
7689 2002-05-03 Juergen Vigna <jug@sad.it>
7691 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7692 change in LyXText as we can not be sure it was not freed.
7693 (drawOneRow): remove unused code.
7695 * text.C (drawInset): redo the calculation of the need_break_row as
7696 it could have a row which was already freed.
7697 (draw): look at the return value of drawInset and return false if
7698 it also returned false.
7699 (paintRowText): look at the return value of draw and return false if
7700 it also returned false.
7702 * lyxtext.h: added bool return type to drawInset() and draw() so that
7703 if we have a change in the row so that the rowbreak has to be redone
7704 we abort drawing as it will be called again.
7706 2002-05-02 Juergen Vigna <jug@sad.it>
7708 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7709 a change in the maintext also if we're inside an inset.
7710 (Dispatch): set the cursor again after a break line and after the
7711 screen has been updated as it could be we're in a different row.
7713 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7714 to set the cursor behind the pargraph with > size().
7715 (setCursor): check also for the same paragraph when checking where
7716 to put the cursor if we have a NFR inset.
7718 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7719 parts of layout read further up as it still was in the wrong
7722 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7724 * screen.C (drawFromTo): change sine fullRebreak always return
7727 * buffer.C (parseSingleLyXformat2Token): reindent some
7729 * BufferView_pimpl.C (update): change since fullRebreak always
7731 (Dispatch): git rid of the last hardcoded "Standard"s.
7733 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7735 * text2.[Ch] (fullRebreak): make it return void now that we always
7738 2002-04-30 Juergen Vigna <jug@sad.it>
7740 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7741 ert compatibility check for "latex" layout.
7743 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7745 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7746 minipages: use col% instead of p%, and also use the current font.
7747 (makeLaTeXFile): Fix use babel condition.
7748 (parseSingleLyXformat2Token): Correct font when reading old floats.
7750 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7752 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7753 inserting list of floats.
7755 2002-04-25 Herbert Voss <voss@lyx.org>
7757 * MenuBackend.C (expand): don't add the graphics extensions to the
7760 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7762 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7763 non-existing layout, do not complain if it was the default layout
7764 of the original class (bug #342)
7766 2002-04-24 Juergen Vigna <jug@sad.it>
7768 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7769 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7771 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7773 * buffer.C (getBibkeyList): If using \bibliography, return the
7774 option field with the reference itself. Enables us to provide natbib
7775 support when using \bibliography.
7777 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7779 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7781 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7782 natbib is provided by the LaTeX class.
7784 2002-04-23 Juergen Vigna <jug@sad.it>
7786 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7789 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7791 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7793 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7795 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7796 ensuremath around textordmasculine, textordfeminine and
7799 2002-04-19 Juergen Vigna <jug@sad.it>
7801 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7802 reinitializing the buffer otherwise row-dimensions may be wrong.
7803 (update): reset also the selection cursors if they do exits otherwise
7804 their x/y positions may be wrong.
7806 * text2.C (cursorDown): don't enter the inset if we came from a row
7807 above and are one row over the inset.
7809 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7810 really leaving an inset.
7812 2002-04-18 Juergen Vigna <jug@sad.it>
7814 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7815 of the selected paragraph does not have the selected layout also if
7818 * text2.C (setLayout): fixed bug which did not change last selected
7821 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7822 changed the read and substituted \\end_float with \\end_inset!
7824 * BufferView_pimpl.C (cursorPrevious):
7825 (cursorNext): fixed to make it work with rows heigher than the work
7826 area without moving the cursor only the draw of the row.
7827 (workAreaMotionNotify): fix jumping over high rows.
7829 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7831 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7834 2002-04-16 Juergen Vigna <jug@sad.it>
7836 * text2.C (setCursor): set also the irow().
7837 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7839 (cursorDown): support for locking an inset if the x_fix value goes
7840 inside it. That way I can transverse insets too with cursor up/down.
7842 * lyxrow.h: added irow helper function same as other (i) functions.
7844 * BufferView_pimpl.C (cursorPrevious):
7845 (cursorNext): fixed for insets!
7847 2002-04-15 Juergen Vigna <jug@sad.it>
7849 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7850 position otherwise it is wrong in some cases.
7852 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7853 inside the inset before the call.
7855 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7857 * buffer.[Ch] (getBibkeyList): make it const.
7859 2002-04-12 Juergen Vigna <jug@sad.it>
7861 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7863 * text2.C (getCursorX): new helper function
7864 (setCursor): compute also ix_
7865 (setCursorFromCoordinates): set also ix.
7867 * lyxcursor.h: added ix_ and helper functions.
7869 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7871 * buffer.C (insertStringAsLines): dont break paragraph if the this
7872 paragraph is inside an inset which does not permit it!
7874 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7875 also with no chars on this paragraph.
7876 (paintRowText): only paint stuff if it's inside the workarea!
7878 * paragraph.C (breakParagraph): honor keepempty flag and break the
7879 paragraph always below not above.
7881 * BufferView2.C (unlockInset): update the paragraph layout on inset
7882 unlock as we changed paragraph in such a case.
7884 * lyxfind.C (LyXFind): clear the former selection if not found!
7886 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7887 again called in insertChar().
7889 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7890 an inset which uses the whole row!
7891 (rightMargin): ditto.
7892 (insertChar): force a rebreak if we inserted an inset!
7894 2002-03-28 Herbert Voss <voss@lyx.org>
7896 * lyxlength.[Ch]: add inBP() to get the right PS-point
7897 units (BigPoint). With inPixels we have rounding errors
7899 2002-04-11 Juergen Vigna <jug@sad.it>
7901 * text2.C (setCursorFromCoordinates): set iy to the right value.
7902 (setCursor): add check if row->previous exists!
7904 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7905 an old float_type as this was the case in the old code!
7907 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7909 * BufferView2.C (showLockedInsetCursor): use iy
7910 (fitLockedInsetCursor): ditto
7912 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7913 locked insets as there we have the right value now.
7915 * lyxcursor.C: added iy_ variable and iy functions to set to the
7916 baseline of cursor-y of the locked inset.
7918 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7919 (setCursor): fixed for insets which need a full row.
7921 * text.C (rowLastPrintable): don't ignore the last space when before
7922 an inset which needs a full row.
7923 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7924 as last character of a row when before a inset which needs a full row.
7926 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7928 * version.C.in: update date
7930 * text2.C (fullRebreak): try to always return true and see what
7933 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7935 * MenuBackend.C (expand): use Floating::listName
7937 * FloatList.C (FloatList): add listName argument to the built-in
7940 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7941 text associated with the float.
7943 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7945 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7947 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7949 * ShareContainer.h: add a couple of missing typenames.
7951 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7953 * lyxrc.C (getDescription): use _() correctly rather than N_().
7955 2002-03-28 Herbert Voss <voss@lyx.org>
7957 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7958 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7960 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7962 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7963 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7965 2002-03-29 Juergen Vigna <jug@sad.it>
7967 * lyxfunc.C (dispatch): add a missing fitCursor call.
7969 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7970 it was scrolled by a cursor move, so return the bool status.
7972 * BufferView.C (fitCursor): return the bool flag also to the outside
7973 world as this is needed.
7975 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7977 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7978 call the edit() as it is not needed (and wrong) IMO.
7979 (workAreaButtonPress): set the screen_first variable before evt.
7980 unlock the inset as this may change screen_first and then we have
7981 a wrong y position for the click!
7983 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7985 * MenuBackend.C (expand): another translation that I missed
7987 2002-03-28 Juergen Vigna <jug@sad.it>
7989 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7991 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7993 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7995 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7997 * MenuBackend.C (expand): fix export/view/update when there is no
8000 2002-03-27 Herbert Voss <voss@lyx.org>
8002 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8005 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8007 * bufferview_funcs.C (currentState): only show paragraph number
8008 for is DEVEL_VERSION is set.
8010 * lyxfunc.C (dispatch): put warning in INFO channel
8012 * MenuBackend.C (expand): translate the name of floats
8014 * FloatList.C (FloatList): mark the float names for translation
8016 * converter.C (convert): use LibScriptSearch
8018 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8020 * MenuBackend.C (defaults): fix default menu (we might as well get
8023 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8025 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8028 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8030 * lyxvc.C: reorder includes.
8032 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8034 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8037 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8039 * CutAndPaste.C: change layouts earlier on paste
8040 to avoid crashing when calling getFont()
8042 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8044 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8047 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8049 * WorkArea.C: remove 'Pending' debug message.
8051 * most files: ws cleanup
8053 * buffer.[Ch]: ws changes
8055 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8057 2002-03-21 Juergen Vigna <jug@sad.it>
8059 * tabular.C (SetMultiColumn): collapse also the contents of the
8060 cells and set the last border right. Added a Buffer const * param.
8062 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8064 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8067 2002-03-19 Juergen Vigna <jug@sad.it>
8069 * text2.C (clearSelection): reset also xsel_cache.
8071 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8072 where it needs to be called (John tells us to do so too :)
8073 (selectionLost): reset sel_cache.
8075 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8077 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8079 * text2.C (setCursorIntern): put debuging code in INSETS channel
8081 2002-03-19 André Pönitz <poenitz@gmx.net>
8083 * lyxfunc.C: tiny whitespace change
8085 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8087 * ToolbarDefaults.C (init):
8088 * LyXAction.C (init):
8090 * BufferView_pimpl.C (Dispatch):
8091 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8093 2002-03-19 Allan Rae <rae@lyx.org>
8095 * exporter.C (Export): removeAutoInsets before doing anything else.
8096 While I've just introduced a dependency on BufferView this really is
8097 the best place to clean the buffer otherwise you need to cleanup in
8098 a dozen places before calling export or cleanup in a dozen functions
8101 * converter.C (runLaTeX):
8102 (scanLog): Better handling of removeAutoInsets and screen updates.
8104 * lyxfunc.C (dispatch): small whitespace changes
8106 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8108 * WorkArea.C (C_WorkAreaEvent): return a value.
8109 (event_cb): return 1 if we handled the event, 0 otherwise.
8111 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8113 2002-03-18 Juergen Vigna <jug@sad.it>
8115 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8116 (GetAdditionalWidth): ditto.
8120 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8121 inset if we're there actually (probably not used right now but this
8122 is the direction to go for unifying code).
8123 (paste): disable code to clear the selection.
8125 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8126 inside an InsetText and move the check further up as it is in the
8129 * text2.C (pasteSelection): set a selection over the pasted text.
8131 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8133 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8134 and libgraphics to build on Cygwin.
8136 2002-03-15 Juergen Vigna <jug@sad.it>
8138 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8139 inserting an Inset into the paragraph. I know this is not the best
8140 fix but we already use current_view in CutAndPaste so we will remove
8141 all of it's using at the same time.
8143 * buffer.C (sgmlError): deactivated function till it is rewritten in
8144 the right mode, now it can create problems.
8146 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8147 before accessing it.
8149 2002-03-14 Juergen Vigna <jug@sad.it>
8151 * undo_funcs.C (textHandleUndo): do the right thing when updating
8152 the inset after the undo/redo.
8154 * text2.C (setCursor): just some testcode for #44 not ready yet.
8156 * undo_funcs.C (textHandleUndo): set the next() and previous()
8157 pointers of the paragraph to 0 before deleting otherwise we have
8158 problems with the Paragraph::[destructor].
8160 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8161 on a paragraph insertion.
8163 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8165 * buffer.C (asciiParagraph): use += operator for char append to
8168 * paragraph.C (getFontSettings): compare >= not just >
8169 (highestFontInRange): ditto
8172 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8174 * paragraph.C: change several algorithm to be more appripriate for
8175 the problem domain. This is lookip in FontList and in the InsetList.
8177 2002-03-13 André Pönitz <poenitz@gmx.net>
8180 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8182 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8187 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8189 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8191 * Painter.C (display): anon helper function, adjust code for this
8193 (pixmap): remove function.
8195 * Painter.h: remove private display variable.
8197 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8199 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8201 * WorkArea.[Ch]: remove figinset_canvas cruft.
8203 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8205 * lyxtextclass.C (operator): add one item cache optimization.
8207 * bufferlist.h: doxy changes
8209 * bufferlist.C: ws changes
8211 * DepTable.[Ch] (ext_exist): place const in the right spot.
8213 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8215 (workAreaExpose): call resizeInsets when the with BufferView changes.
8216 (Dispatch): adjust for protectedBlank removal
8217 (specialChar): call updateInset if the insert went ok.
8219 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8220 specialChar instead.
8222 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8224 * BufferView.h: doxy change
8226 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8228 * lyxtextclass.C (operator[]): remove non-const version
8229 (defaultLayout): remove non-const version
8231 2002-03-12 Juergen Vigna <jug@sad.it>
8233 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8234 did resize the LyXText too.
8236 * buffer.C (readLyXformat2): set layout information on newly allocated
8239 * tabular.C (OldFormatRead): set layout information on the paragraph.
8241 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8243 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8245 2002-03-11 Juergen Vigna <jug@sad.it>
8247 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8249 (resizeCurrentBuffer): force also the insets to resize themselfes.
8250 (moveCursorUpdate): fixed up for InsetText.
8252 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8255 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8256 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8257 value of Dialogs::tooltipsEnabled().
8258 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8260 2002-03-08 Juergen Vigna <jug@sad.it>
8262 * BufferView_pimpl.C (updateInset): update inset inside inset also
8263 if it isn't inside theLockingInset().
8265 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8267 * buffer.C (asciiParagraph): redo some of the word and line length
8269 (getLists): look for Caption instead of caption.
8271 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8273 * buffer.C (Buffer): initialize niceFile to true
8276 (makeDocBookFile): make sure niceFile is true on exit
8278 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8280 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8282 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8284 * LyXSendto.C: remove.
8285 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8286 * lyx_gui.C: remove now-redundant comment.
8287 * ColorHandler.h: remove forward declaration of class WorkArea.
8288 * lyxfunc.C: remove #include "WorkArea.h".
8290 2002-03-07 Juergen Vigna <jug@sad.it>
8292 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8293 got moved away with the DEPM and also set the inset_owner always
8294 right which before could have been omitted.
8296 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8298 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8299 wanted layout is not found.
8301 2002-03-07 Juergen Vigna <jug@sad.it>
8303 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8305 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8307 * paragraph.C (breakParagraph): use default layout not layout of
8309 (Paragraph): clear ParagraphParameters.
8311 2002-03-06 Juergen Vigna <jug@sad.it>
8313 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8314 otherwise it would not be a valid lenght. Fixed a special case in
8315 the minipage compatibility read where we end the document with a
8318 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8319 was set as it could be 0 for InsetTexts first entry.
8321 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8323 * paragraph.C (writeFile): if layout is empty write out
8324 defaultLayoutName().
8326 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8327 file without named layout we set layout to defaultLayoutName().
8329 2002-03-06 Juergen Vigna <jug@sad.it>
8331 * CutAndPaste.C (copySelection): set layout for new paragraph.
8333 * text.C (prepareToPrint): leave ERT inset left aligned
8334 (leftMargin): don't indent paragraphs inside ERT insets
8336 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8338 * paragraph.C (breakParagraph): dont call clear do the work manually
8340 * paragraph.[Ch] (clear): remove function
8342 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8344 * paragraph.C (Paragraph): dont call clear, the work has already
8347 * lyxtextclass.C (operator): assert if n is empty
8349 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8350 work manually instead.
8352 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8354 * BufferView_pimpl.C: protect selectionLost against text == 0
8356 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8358 * text.C (breakParagraph): fix a setting layout to '0' problem.
8360 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8362 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8363 final location of file, for the included files, and graphics.
8365 2002-03-05 Juergen Vigna <jug@sad.it>
8367 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8369 2002-03-04 Juergen Vigna <jug@sad.it>
8371 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8373 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8374 last column of multicolumn cells.
8375 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8377 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8379 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8380 file if it doesn't go to a temporary file.
8382 * buffer.C (sgmlOpenTag):
8383 (sgmlCloseTag): remove extra newline insertion.
8385 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8387 * text.C (getRowNearY): comment out debug msg
8389 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8391 * text2.C: first -> first_y
8393 * text.C (getRowNearY): add some attemts at a possible
8394 optimization, not working.
8396 * tabular.[Ch]: add BufferParams to several function so that newly
8397 created paragraph can be initialized to he default layotu for the
8400 * tabular-old.C (ReadOld): add buf->params to call of Init
8402 * screen.C: rename text->first to text->first_y
8404 * paragraph.C (breakParagraph): always set layout in the broken
8407 * lyxtextclass.C (Read): remove lowercase
8410 (delete_layout): ditto
8412 * lyxtext.h: rename first -> first_y
8414 * lyxlayout.C (Read): remove lowercase
8417 (obsoleted_by): ditto
8419 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8421 * buffer.C (insertErtContents): add params are to InsetERT
8422 (parseSingleLyXformat2Token): add code to check if a paragraphs
8423 layout really exist.
8424 (parseSingleLyXformat2Token): add params to several inset
8426 (asciiParagraph): remove lowercase, do the layout comparisons with
8429 * BufferView_pimpl.C (cursorNext): first -> first_y
8430 (resizeCurrentBuffer): first -> first_y
8431 (updateScrollbar): first -> first_y
8432 (scrollCB): first -> first_y
8433 (workAreaMotionNotify): first -> first_y
8434 (workAreaButtonPress): first -> first_y
8435 (checkInsetHit): first -> first_y
8436 (cursorPrevious): first -> first_y
8437 (cursorNext): first -> first_y
8438 (Dispatch): add buffer_->params to severl inset contructors
8440 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8442 * lyxlayout.C (Read): remove some debug info that I forgot.
8444 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8445 clean up the code slightly.
8446 (makeLinuxDocFile): ditto
8447 (makeDocBookFile): ditto
8449 * text2.C: layout as string
8451 * text.C: layout as string
8453 * paragraph_pimpl.C: layout as string
8455 * paragraph.[Ch]: layout as string
8457 * lyxtextclasslist.[Ch]: layout as string
8459 * lyxtextclass.[Ch]: layout as string
8461 * lyxtext.h: layout as string
8463 * lyxlayout.[Ch]: layout as string
8465 * lyx_cb.C: layout as string
8467 * bufferview_funcs.C: layout as string
8469 * bufferparams.C: layout as string
8471 * buffer.C: layout as string
8473 * LyXView.[Ch]: layout as string
8475 * LaTeXFeatures.[Ch]: layout as string
8477 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8479 * BufferView_pimpl.C: change current_layout to string, remove
8484 (workAreaButtonRelease): layout as string
8486 * BufferView2.C (unlockInset): adjust
8488 * vspace.C (asLatexCommand): use an explict temp variable.
8490 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8492 * Makefile.am: use FRONTEND_*
8494 2002-03-01 Juergen Vigna <jug@sad.it>
8496 * tabular.C (SetWidthOfMulticolCell): changed to something better
8497 I hope but still work in progress.
8498 (recalculateMulticolumnsOfColumn): renamed function from
8499 recalculateMulticolCells as it is more appropriate now.
8500 (SetWidthOfCell): calculate multicols better.
8502 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8504 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8506 * lyxfunc.C (processKeySym): print sequence also if it is
8507 `deleted' (complete)
8509 * kbsequence.C (print): print sequence even if it is deleted
8510 (complete would be a better word, actually).
8512 * lyxfunc.C (dispatch): print complete options after a prefix key
8514 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8516 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8518 * text2.C (setCharFont): eliminate setCharFont code duplication.
8520 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8522 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8523 LFUN_TABULAR_FEATURE (bug #177)
8525 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8527 * Makefile.am: remove figure.h
8529 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8531 * Bufferview_pimpl.C:
8543 * text2.C: remove #include "lyx_gui_misc.h".
8545 * LaTeX.C: added #include <cstdio>
8547 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8549 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8550 that the paragraph following this one can have.
8552 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8554 * vspace.C (asLatexCommand): fix bogus gcc warning
8556 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8558 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8560 * text2.C (setLayout): get rid of redundant code
8562 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8564 * text2.C (incDepth): make sure depth cannot be increased beyond
8567 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8569 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8570 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8572 * PainterBase.h (image):
8573 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8576 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8580 * BufferView_pimpl.C:
8581 * BufferView_pimpl.h:
8601 * sp_spell.C: remove fig inset, and the crap house of
8602 cards that follows it
8604 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8610 * nt_defines.h: move .h into support/
8612 * vms_defines.h: remove
8614 * WorkArea.C: add space in debug output
8618 * buffer.C: add WITH_WARNINGS
8622 * bufferlist.C: s/retrive/retrieve/, add docs
8633 * lyxgui.C: add ID to X error handler
8635 * lyxtestclass.c: fix typo
8637 2002-02-26 Juergen Vigna <jug@sad.it>
8639 * tabular_funcs.C (write_attribute): changed so that some default
8640 attributes are not written at all.
8641 (getTokenValue): set default values before trying to read the
8642 value so we have the return value always set as default if we don't
8643 find the token we search for.
8645 * tabular.C (Write): write bools as bools not as strings!
8647 2002-02-22 Juergen Vigna <jug@sad.it>
8649 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8650 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8652 * text.C (leftMargin): don't add an indent for paragraphs inside
8653 tabular cells (fix #208).
8655 2002-02-21 José Matos <jamatos@fep.up.pt>
8657 * tabular.C (docBook): fixed support for long tables.
8659 2002-02-20 Juergen Vigna <jug@sad.it>
8661 * text2.C (getFont): get the drawing font of the Inset if this
8662 paragraph is inside an inset (only important for InsetERT for now).
8664 * buffer.C (insertErtContents): use new lanugage params in ERT
8667 * CutAndPaste.C: commenting out seemingly uneeded code.
8669 2002-02-19 Allan Rae <rae@lyx.org>
8671 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8672 Iterators might be simple to use but they also get invalidated.
8673 (removeAutoInsets): renamed saved cursor tracking variables and added
8674 some comments to clarify what everything does.
8676 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8683 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8684 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8687 * vc-backend.h: remove #include "support/syscall.h"
8691 * converter.C: rearrange #includes in Lars' approved fashion.
8693 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8694 forward declare class Timeout in the header file.
8696 * XFormsView.C: changes due to the above.
8698 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8701 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8702 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8704 2002-02-18 José Matos <jamatos@fep.up.pt>
8706 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8709 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8711 * a lot of small ws changes
8712 * add a lot of using std::XXX
8713 * use std construcs some places where approp.
8714 * use some exisint stuff from lyxfunctional where approp.
8715 * Make file changes to use partial linking (lets test this now...)
8717 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8721 remove #include "support/syscontr.h" as it's redundant. Always has been.
8729 change Systemcalls::System to Systemcalls::Wait and
8730 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8731 No change of functionality, just reflects the stripped down Systemcalls
8734 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8736 * debug.[Ch]: add a GRAPHICS type to the enum.
8738 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8740 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8742 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8745 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8747 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8748 match the changes below.
8750 * text2.C (toggleInset): if there is not editable inset at cursor
8751 position, try to see if cursor is _inside_ a collapsable inset
8754 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8756 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8757 document menu has a nice checkbox
8759 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8761 * lyxlength.C (asLatexString): change PW to output as percent of
8764 * lengthcommon.C: change '%' to 't%'
8766 * lyxfunc.C (dispatch): a few comments from Martin
8768 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8772 * BufferView_pimpl.h:
8773 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8776 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8778 * vspace.C (inPixels): fix compiler warning
8780 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8782 * lyxfunc.C (getStatus): fix status message for disabled commands.
8784 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8786 * BufferView_pimpl.C: fix crash on close buffer
8787 during selection (#227)
8789 2002-01-27 Herbert Voss <voss@lyx.org>
8791 * buffer.C: link old Figure to new graphic inset
8793 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8795 * FontLoader.C (getFontinfo): Change the latex font names in order
8796 to match the names of type1inst.
8798 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8800 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8802 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8805 (remove_files_with_extension): ditto
8806 (remove_file): ditto
8809 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8810 document is smaller than the work area height. Do not initialize
8811 static variables to 0.
8813 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8815 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8817 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8818 LFUN_LAYOUT_PARAGRAPHS.
8820 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8821 tabular. It is possible to provide a possible cell, which will
8822 typically be the actcell from the corresponding insettabular
8824 * lyxfunc.C (getStatus): small cleanup; disable
8825 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8828 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8830 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8832 * paragraph.C (startTeXParParams):
8833 (endTeXParParams): new methods. The LaTeX code to
8834 start/end paragraph formatting
8835 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8836 empty (fixes bug #200)
8838 * vspace.C (inPixels): adapt to the change below
8839 (inPixels): [later] more cleanups (remove unused variables)
8841 * lyxlength.C (inPixels): change to use a width and a height as
8844 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8846 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8847 Replaced with \paperwidth
8849 * DepTable.C (insert): add std:: qualifier
8851 2002-01-18 Allan Rae <rae@lyx.org>
8853 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8856 * text.C (drawInset): Turned out I didn't know enough about how
8857 rebreaking worked. This fixes most of the redraw problems. I see
8858 an occasional cursor trail when a line is broken now and the cursor
8859 placement can seem out by a few pixels also after a rebreak.
8861 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8863 * buffer.C (parseSingleLyXformat2Token): update because minipage
8864 width is now a LyXLength
8866 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8868 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8871 2002-01-17 Juergen Vigna <jug@sad.it>
8873 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8875 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8876 is set correctly and the inset is updated correctly.
8878 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8880 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8881 the beginning of the loop.
8883 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8885 * lyxrc.C: improve help for use_scalable_fonts
8887 2002-01-17 Allan Rae <rae@lyx.org>
8889 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8891 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8893 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8894 make sure to set their inset_owner to the right value (bug #171)
8896 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8899 * DepTable.C: Implement mtime checking to reduce time spent doing
8902 2002-01-16 Juergen Vigna <jug@sad.it>
8904 * tabular.C (GetAdditionalHeight): one of error fixed.
8906 * lyxrc.C (output): small fix in writing use_pspell.
8908 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8910 * sp_base.h: #include LString.h
8912 2002-01-16 Allan Rae <rae@lyx.org>
8914 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8915 Can someone check this please?
8917 * text.C (drawInset): It was possible that p.row would be removed by
8918 breakAgainOneRow upsetting a few other settings. There may be another
8919 small tweak possible by setting need_break_row = 0 when p.row has been
8920 removed but I don't know enough about the logic here.
8922 2002-01-15 Allan Rae <rae@lyx.org>
8924 * text.C (insertChar): removed conditional truism.
8926 * BufferView2.C (removeAutoInsets): More tweaks.
8927 cur_par_prev could be a stray pointer. Check for trailing empty line
8928 in case last line was cur_par and only had an error inset on it.
8930 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8932 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8935 * vc-backend.C (most methods):
8936 * exporter.C (Export):
8937 * converter.C (convert):
8939 * LyXSendto.C (SendtoApplyCB):
8940 * lyxfunc.C (dispatch):
8944 * lyx_cb.C (AutoSave):
8946 * BufferView_pimpl.C (MenuInsertLyXFile):
8947 * buffer.C (runChktex): use Buffer::filePath().
8949 * buffer.h: rename filename to filename_; rename filepath to
8950 filepath_ and make it private
8951 (filePath): new method
8953 * buffer.C (writeFile): use fileName()
8956 * lyx_main.C (init): fix starting of LyX when the binary is a
8957 link from so,ewhere else.
8959 * minibuffer.C: include <cctype> for isprint
8961 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8963 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8964 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8965 name clash with InsetCollapsable's width function.
8967 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8969 * lastfiles.C: include <iterator>
8971 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8973 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8976 * buffer.C (makeLaTeXFile): ditto.
8977 Also make loop operation more transparent.
8979 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8981 * ToolbarDefaults.C: remove trailing comma closing namespace.
8983 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8985 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8988 * trans.C (Load): comment out unused variable, allowed.
8990 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8992 * minibuffer.[Ch] (append_char): new method to recieve input from the
8993 drop-down completion browser. If a key was pressed, then recieve this
8994 char and append it to the existing string.
8995 (peek_event): modify the positioning data passed to the completion
8996 browser so that it can be placed above the minibuffer rather than below.
8997 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8999 * LyXAction.C (init): alloe error-next for readonly documents.
9001 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9004 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9006 * bufferlist.C (readFile): create the buffer _after_ checking that
9009 * lyxfunc.C (verboseDispatch): fix handling of arguments
9011 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9013 * lyxrc.C: use string::erase() instead of initializing to "".
9016 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9018 * BufferView_pimpl.h:
9019 * BufferView_pimpl.C:
9022 * text2.C: tell X when we have made a selection for copying
9024 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9026 * BufferView_pimpl.C (MenuInsertLyXFile):
9027 * lyxfunc.C (menuNew):
9029 (doImport): add shortcuts to directory buttons
9031 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9034 * lyxfunc.C (setStatusMessage):
9035 (getStatusMessage): new methods
9036 (getStatus):use setStatusMessage instead of setErrorMessage
9037 (dispatch): when function is disabled, set error message here
9038 [instead of in getStatus previously]
9040 * BufferView_pimpl.C (workAreaButtonRelease): update
9041 toolbar/menubar here too.
9043 2002-01-13 Allan Rae <rae@lyx.org>
9045 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9046 Now seems indestructible. Remaining task is to audit all other
9047 code affected by deleteEmptyParagraphMechanism. One small quirk
9048 left is that an empty document with an error in the preamble can
9049 be made to report an error but no error box appears. I don't know
9051 (removeAutoInsets): Improved comments.
9053 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9056 * Thesaurus.C: update for Aiksaurus 0.14
9058 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9060 * text2.C (firstParagraph): removed member function, all uses
9061 replaces with ownerParagraph
9062 (redoParagraphs): here
9064 (toggleAppendix): here
9065 * BufferView2.C (insertErrors): here
9066 (setCursorFromRow): here
9068 2002-01-13 Allan Rae <rae@lyx.org>
9070 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9071 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9072 There is still a way to segfault this although you may have to do this
9073 multiple times: Have an InsetERT with an unknown command in it.
9074 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9075 <down-arrow>, <Enter> again, View->DVI, BANG!
9077 * text2.C (setCursor):
9078 (deleteEmptyParagraphMechanism):
9079 * lyxtext.h (setCursor):
9080 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9081 Making use of the return value may help fix other bugs.
9083 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9085 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9087 * LyXView.C (updateMenubar): call MenuBar::update here
9088 (updateToolbar): but not here
9089 (showState): do not update toolbar/menubar
9091 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9092 should need to care about that.
9094 * lyxfunc.C (verboseDispatch): simplify a bit
9095 (getStatus): have a version which takes a pseudoaction, and
9096 another which requires a (kb_action,string).
9098 * LyXAction.C (retrieveActionArg): make it work also when action
9099 is not a pseudo-action.
9100 (getActionName): simplify a bit
9103 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9105 * lyxfunc.C (verboseDispatch): new families of methods with
9106 several ways to specify a command and a bool to indicate whether
9107 the command name and shortcut should be displayed in minibuffer
9108 (eventually, we could extend that to a finer bitmask like
9109 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9110 (dispatch): the pristine dispatch command which just, well,
9111 dispatchs! Note it still sets its result to minibuffer; I'm not
9114 * lyxfunc.h: remove setHintMessage
9116 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9118 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9120 * BufferView_pimpl.C (specialChar): delete new inset if we have
9121 not been able to insert it.
9123 * kbmap.C: revert to using int instead of kb_action, since all we
9124 are dealing with is pseudo-actions.
9126 * LyXAction.C (searchActionArg): change to return int instead of
9127 kb_action, since the result is a pseudoaction.
9129 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9131 * buffer.C (insertErtContents): Fix (partially) the font bug.
9133 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9135 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9136 as the other one is broken on my machine!
9138 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9141 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9143 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9145 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9146 reflect their actual use. Provide compatibility code for older lyxrc
9149 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9151 change names of popup font variables in line with the changes to lyxrc.C
9153 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9155 * buffer.C (asciiParagraph): avoid outputing a word twice after
9158 * lyxrc.C (getDescription): document that document_path and
9159 template_path can be empty.
9161 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9163 * LaTeXFeatures.C (getMacros):
9164 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9166 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9168 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9170 (getPackages): rename feature "floats" to "float". Use an array to
9171 iterate over 'simple' features (i.e. just a \usepackage). Add
9172 handling of "amsmath" (renamed from "amsstyle").
9174 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9176 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9179 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9181 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9182 FuncStaus::FuncStatus & FuncStaus::some_method().
9184 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9186 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9187 of the func_satus stuff. Edited and massaged in various ways by
9190 * lyxfunc.C (getStatus): use FuncStatus
9192 2002-01-08 Juergen Vigna <jug@sad.it>
9194 * text.C (nextBreakPoint): use function Inset::isChar().
9196 * paragraph.C (TeXOnePar): use function
9197 Inset::forceDefaultParagraphs.
9199 * buffer.C (latexParagraphs): use function
9200 Inset::forceDefaultParagraphs.
9202 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9204 * lyx_gui.C (init): set the style of the menu popups to
9205 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9207 2002-01-07 Juergen Vigna <jug@sad.it>
9209 * text.C (setHeightOfRow): small fix
9210 (prepareToPrint): don't look at alignment if we don't have the place
9213 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9215 * box.C: New file. Move the Box methods and functions out of box.h,
9216 following Lars' suggestion.
9218 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9220 * box.h: #include "support/LOstream.h", needed for inlined function.
9223 * lyxtextclasslist.C: added some using std declarations.
9225 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9227 * box.h: make signed dimensions to allow insets wider than
9228 the screen (bug #162)
9230 * BufferView_pimpl.C: add some insetHit debug
9232 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9234 * vc-backend.C: add FIXME
9236 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9238 * lyxfunc.C (getStatus): enable code for showing math font status
9241 2002-01-07 Juergen Vigna <jug@sad.it>
9243 * text.C (nextBreakPoint): removed debug output not needed anymore.
9245 2002-01-06 Juergen Vigna <jug@sad.it>
9247 * text.C (nextBreakPoint): fixed up this function we had this bug
9248 since ever but now hopefully we break row better.
9249 (insertChar): we have to check if an inset is the next char as it
9250 could now happen that a large inset is causing a break.
9252 2002-01-05 Juergen Vigna <jug@sad.it>
9254 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9255 if it doesn't like to be drawed.
9257 2002-01-04 Juergen Vigna <jug@sad.it>
9259 * BufferView2.C (lockInset): forgot to set a cursor.
9261 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9263 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9268 * form_maths_panel.C:
9269 * form_maths_panel.h:
9270 * form_maths_panel.fd: implemented sub- and super- buttons in math
9273 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9274 (or ^ space) to be used as in TeX (req'd by André).
9276 * lyxfunc.C: Allow ^ and _ again to be used both as
9277 super/subscript (mathed) and as themselves (in text).
9279 2002-01-03 Allan Rae <rae@lyx.org>
9281 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9282 "LyX" or the filename of the current buffer if it has one. This is a
9283 modified form of John Levon's patch.
9285 * XFormsView.C (setWindowTitle): also set icon title.
9287 * LyXView.h (setWindowTitle): signature changed.
9288 * XFormsView.h (setWindowTitle): ditto.
9290 2002-01-02 Juergen Vigna <jug@sad.it>
9292 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9294 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9296 * screen.C (topCursorVisible): introduce a temp var for
9297 text->cursor.row(), handle the case where this row is null. (kindo
9300 * text2.C (setCursor): add a couple of asserts.
9302 * paragraph.h (inset_iterator): add -> operator
9304 * paragraph.[Ch] (autoDeleteInsets): remove member function
9306 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9307 cursor pos correctly and handle inset deletion by itself.
9308 (insertErrors): move iterator declaration out of for expression
9310 * lyxtextclass.C: add <algorithm>
9312 * Makefile.am: added the new files to sources, removed layout.C
9314 * layout.C: removed file
9316 * layout.h: remove LYX_DUMMY_LAYOUT
9318 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9322 * lyxtextclass.[Ch]:
9323 * lyxtextclasslist.[Ch]: new files
9325 * include order changes to a lot of files, also changes because of
9328 2001-12-27 Juergen Vigna <jug@sad.it>
9330 * buffer.C (asciiParagraph): more fixes.
9332 * tabular.C (ascii): make ascii export support export of only the
9333 data separated by a column-delimiter.
9334 (ascii): better support for ascii export.
9336 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9338 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9340 * tabular_funcs.C: use a "using std::getline" instead of the
9341 previous fix from Angus (necessary for cxx + lyxstring)
9343 2001-12-24 Juergen Vigna <jug@sad.it>
9345 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9347 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9348 problems. First check a minipage also if we have some ert-contents
9349 (not only on par->size(), second set the right depth of the paragraph
9350 on the relink to the root-paragraph-list!
9352 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9353 which then did not anymore update the main paragraphs on undo/redo!
9355 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9357 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9358 code. Support all font-changing funcs (even those which are not in
9359 menu currently). Support for reporting font settings in
9360 mathed (disabled until Andre provides a function on mathed's side).
9362 * func_status.h (toggle): small helper function to set toggle
9365 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9367 * tabular_funcs.C: getline -> std::getline
9369 2001-12-21 Juergen Vigna <jug@sad.it>
9371 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9372 accessed and could be 0 (I couldn't generate this but it seems
9375 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9377 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9378 * tabular_funcs.h: here and include iosfwd
9380 2001-12-20 Juergen Vigna <jug@sad.it>
9382 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9383 inside inset but undo_par was.
9385 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9387 * Thesaurus.C: always include <config.h> in sources.
9391 * box.h: do not include <config.h> in header files
9393 * text.C (paintLastRow): remove unused variable
9395 * text.C (transformChar):
9397 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9400 * font.C (width): rewrite to use uppercase() instead of
9403 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9405 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9407 * lyxfind.C: clean up of find failure position change
9409 2001-12-20 Juergen Vigna <jug@sad.it>
9411 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9413 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9414 (TeXRow): added to LaTeX a single tabular row.
9415 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9416 (Latex): simplified and finally good LT-h/f support.
9417 (various_functions): just small adaptions for LT-h/f support.
9419 * tabular_funcs.[hC]: added and moved here all not classfunctions
9422 2001-12-19 Juergen Vigna <jug@sad.it>
9424 * tabular.[Ch]: better support for longtabular options (not finished
9427 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9429 * text.C (paintLastRow): use the label font instead of the font of
9430 the last character to compute the size of *_BOX. This makes more
9431 sense and avoids a crash with empty paragraphs.
9432 Use Painter::rectangle to draw EMPTY_BOX.
9434 2001-12-19 Juergen Vigna <jug@sad.it>
9436 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9437 the paragraphs if the replaced paragraph is not the first one!
9438 Tried to delete not used paragraphs but does not work yet so for
9439 now it's inside #ifdef's and by default off!
9441 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9443 * MenuBackend.C: include "lyx_main.h" instead of declaring
9444 lastfiles (actually was declared as LastFiles* instead of a
9447 2001-12-17 Juergen Vigna <jug@sad.it>
9449 * tabular.C (AppendColumn): applied John's fix
9451 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9455 * BufferView_pimpl.h:
9456 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9459 * box.h: new start of class for above
9461 * lyxfunc.C: ignore space-only minibuffer dispatches.
9462 Show the command name when it doesn't exist
9464 * minibuffer.C: don't add empty lines to the history
9466 * minibuffer.C: add a space on dropdown completion
9468 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9470 * text.C: fix line above/below drawing in insets
9472 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9474 * lyxlength.C (LyXLength): Initialize private variables.
9476 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9478 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9479 when inserting error insets.
9481 2001-12-13 Juergen Vigna <jug@sad.it>
9483 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9484 actually sometimes the before-paragraph.
9485 (setUndo): don't clear the redostack if we're not actually undoing!
9487 2001-12-06 Juergen Vigna <jug@sad.it>
9489 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9490 and fixed redoing of main paragraph, so we can use it now ;)
9492 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9494 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9496 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9499 2001-12-13 André Pönitz <poenitz@gmx.net>
9502 * undo_func.C: minor cleanup
9504 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9506 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9507 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9508 font in urw-fonts package which is marked as -urw-fontspecific and
9509 does not work (incidentally, changing the encoding in the
9510 fonts.dir of this package to -adobe-fontspecific fixes the
9513 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9514 is a crash when undoing first paragraph (Juergen, please take a
9515 look). THis does not mean the undo fix is wrong, just that it
9518 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9519 the (Paragraph*) version when needed instead of duplicating the
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-12 Martin Vermeer <martin.vermeer@hut.fi>
9540 * mathed/formulabase.C:
9541 * mathed/math_cursor.[Ch]:
9542 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9545 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9547 * lyxlength.[Ch] (operator!=): new function
9549 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9551 * text.C (workWidth): use Inset::parOwner to find out where the
9552 inset has been inserted. This is a huge performance gain for large
9553 documents with lots of insets. If Inset::parOwner is not set, fall
9554 back on the brute force method
9556 * paragraph_pimpl.C (insertInset):
9557 * paragraph.C (Paragraph):
9558 (cutIntoMinibuffer): set parOwner of insets when
9559 inserting/removing them
9561 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9563 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9565 * tabular-old.C (getTokenValue):
9566 * tabular.C (getTokenValue):
9567 (write_attribute): new versions for LyXLength
9568 (everywhere): adjust the use of widths
9570 * tabular.h: change the type of widths from string to LyXLength
9572 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9574 * paragraph.C: fixed missing line number count when exporting
9575 Environments to LaTeX file
9577 * buffer.C: added informational message for checking line numbers.
9579 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9581 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9582 paragraph, do the 'double space' part, but not the 'empty
9585 * text.C (workWidth): small optimization
9586 (getLengthMarkerHeight): use minimal size for negative lengths.
9588 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9590 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9592 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9594 2001-12-11 André Pönitz <poenitz@gmx.net>
9597 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9599 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9601 * text2.C: keep selection on a setFont()
9603 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9605 * lyx_cb.C: another bv->text misuse, from insert label
9607 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9610 * kbsequence.C: re-instate nmodifier mask
9612 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9614 * lyx_main.h: make lyxGUI private.
9616 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9618 * lyxfind.C: place the cursor correctly on failed search
9620 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9622 * text.C (getLengthMarkerHeight): for small heights, the arrows
9623 are not always on top/bottom of the text
9624 (drawLengthMarker): smaller arrows; take the left margin in
9625 account; draw also vfills.
9627 (paintLastRow): remove special code for vfill and standard spaces,
9628 since everything is handled in drawLengthMarker now.
9630 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9632 * buffer.C (insertErtContents): try to handle font and language
9633 interaction a bit better.g
9635 * ColorHandler.C (updateColor): change the hash to cover the whole
9636 LColor enum, ws cleanup
9637 (getGCLinepars): ditto
9638 (getGCLinepars): only lookup in the linecache once.
9640 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9642 * iterators.C (operator++): Make the iterator more robust
9644 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9646 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9648 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9651 * text.C: better added space drawing
9653 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9656 * BufferView2.C: fix layout combo update on inset unlock
9658 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9660 * Makefile.am: don't compile unused files
9662 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9666 * LyXAction.C: remove old LFUN_LAYOUTNO
9668 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9670 * paragraph_pimpl.h:
9671 * paragraph_pimpl.C: isTextAt() doesn't need font param
9673 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9676 * lyxlex.C: little cleanup
9678 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9680 * BufferView_pimpl.C: fix insertAscii for insets
9682 2001-12-05 Juergen Vigna <jug@sad.it>
9684 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9685 set the right font on the "multi" paragraph paste!
9687 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9693 * lyxlength.C: remove out-commented code.
9709 * vc-backend.C: change "while(" to "while ("
9711 * lyxlength.[Ch]: add zero function to check if length is zero or
9713 * lyxgluelength.C: use it
9715 2001-12-05 Allan Rae <rae@lyx.org>
9717 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9718 Works for 2.95.3, from what I understand of Garst's reports this should
9719 work for other g++ versions. We're screwed if the abs(int) definition
9720 changed between bugfix releases of gcc.
9722 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9724 * text.C: fix chapter label offset !
9726 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9729 * text.C: fix hfill at end of line, clean up
9731 2001-12-04 Juergen Vigna <jug@sad.it>
9733 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9734 that we force an update of the inset and it's owners if neccessary.
9736 2001-12-03 Juergen Vigna <jug@sad.it>
9738 * text.C (rowLast): simplified code
9740 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9742 * lyxfunc.C: fix show options on timeout
9744 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9746 * screen.C (topCursorVisible): scroll half a page when the cursor
9747 reached top of bottom of screen
9749 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9751 * minibuffer.C: deactivate on loss of focus
9753 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9755 * vspace.[Ch] (operator!=): add operator.
9757 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9759 * BufferView_pimpl.C: refuse to open an inset when
9760 there's a selection.
9762 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9764 * BufferView_pimpl.C: allow to click on RHS of full row insets
9766 2001-11-30 Juergen Vigna <jug@sad.it>
9768 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9769 insets for undo reasons.
9771 2001-11-28 André Pönitz <poenitz@gmx.net>
9773 * vspace.[Ch]: cosmetical changes
9775 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9785 * kbsequence.C: part re-write of old kb code
9788 * WorkArea.C: remove Lgb_bug_find_hack
9790 2001-11-30 José Matos <jamatos@fep.up.pt>
9792 * buffer.C (makeDocBookFile): add a comment to point a hack.
9793 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9794 Fixed a double write of labels.
9796 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9799 * LaTeX.h Fixed bug in LaTeX class where it would not
9800 re-run latex if no depfiles were changed, but the .dvi was removed.
9802 2001-11-28 André Pönitz <poenitz@gmx.net>
9804 * all the files from the change on 2001/11/26:
9805 use lyx::layout_type instead of LyXTextClass::size_type
9806 use lyx::textclass_type instead of LyXTextClassList::size_type
9808 2001-11-29 Juergen Vigna <jug@sad.it>
9810 * text.C: added support for paragraph::isFreeSpacing()
9812 * buffer.C: same as above
9814 * paragraph.h: inserted isFreeSpacing() function to enable
9815 FreeSpacing inside InsetERT.
9817 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9818 of the paragraph's in the cut/copy buffer to 0!
9820 * text2.C (removeRow): remove the assert as it can!
9822 * lyxtext.h: added helper function firstRow returning firstrow and
9823 made firstrow private again.
9825 * BufferView2.C (lockInset): don't relock if we're already locked!
9827 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9829 (removeRow): added Assert::(firstrow)
9831 * debug.C: forgot to add INSETTEXT here.
9833 2001-11-28 Juergen Vigna <jug@sad.it>
9835 * sp_spell.C (initialize): changed error text to more general
9836 spellchecker command use (not only ispell!)
9838 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9840 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9842 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9844 * vspace.C: initialise lyxgluelength on failure
9846 2001-11-28 Allan Rae <rae@lyx.org>
9848 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9849 declaration & definition that looks like a function declaration.
9851 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9853 * BufferView2.C (copy):
9854 (copyEnvironment): do not clear the selection when doing a copy.
9856 * text.C (paintFirstRow): compilation fix
9858 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9860 * tabular.C (Latex): correct line count when writing latex.
9862 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9864 * paragraph_pimpl.h:
9865 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9868 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9872 * LColor.C: change vfillline->added_space
9874 * text.C: add markers and text for added space
9876 * vspace.C: fix comment
9878 2001-11-28 André Pönitz <poenitz@gmx.net>
9880 * paragraph.C: whitespace changes
9881 * all the other files from the change on 2001/11/26:
9882 change *::pos_type into lyx::pos_type
9884 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9886 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9887 language of the document when inserting error insets.
9889 2001-11-26 André Pönitz <poenitz@gmx.net>
9891 * BufferView_pimpl.[Ch]:
9899 * paragraph_pimpl.[Ch]:
9902 * text2.C: reduce header dependencies, introduce type for positions
9904 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9906 * <various>: change to use Alert.h
9908 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9910 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9911 when encountering an unknown token.
9912 (readLyXformat2): Show an error message if there were unknown tokens.
9914 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9917 * BufferView_pimpl.C:
9921 * text2.C: use par->isInset()
9923 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9925 * paragraph_pimpl.h:
9926 * paragraph_pimpl.C: cleanup
9928 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9930 * text2.C (removeRow):
9931 * text.C (setHeightOfRow): remove useless (and costly) call to
9934 2001-11-20 Allan Rae <rae@lyx.org>
9936 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9937 Now need Inset*::checkInsertChar() to return true for appropriate
9938 cases so that the characters in the minibuffer will actually be
9941 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9943 * text.C: change the order of the includes.
9944 (workWidth): initialize it at once.
9945 (workWidth): make maxw unsigned
9946 (setHeightOfRow): remove unused variable (inset)
9947 (selectSelectedWord): remove unused variable (inset)
9948 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9950 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9952 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9953 server is not running.
9955 (closeConnection): add debug info when server is disabled.
9957 * ColorHandler.C (getGCForeground): send debug message to GUI
9960 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9962 * kbmap.C (bind): modify because return conventions of
9963 kb_sequence::parse have changed.
9965 * kbsequence.C (parse): only ignore spaces and not any stupid
9966 control character. This avoids tests like s[i] <= ' ', which are
9967 guaranteed to fail with 8bit characters and signed chars.
9968 Change return code to string::npos when there have been no error
9969 (0 was a bad idea when error is at first character)
9971 2001-11-14 José Matos <jamatos@fep.up.pt>
9974 * buffer.C (simpleDocBookOnePar): removed unused argument.
9976 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9978 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9979 insets which are part of a word. Paragraph::isLetter takes care of
9980 that now. Use Paragraph::isInset to identify insets.
9981 (selectSelectedWord): do not test for hyphenation break.
9983 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9984 that protected spaces are considered as spaces.
9986 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9989 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9992 * lyxserver.C: fix it. and small cleanup.
9994 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9996 * BufferView_pimpl.C: use inline helpers
9999 * LaTeXFeatures.C: fix typos
10002 * Spacing.C: move spacing_string into class
10004 * ToolbarDefaults.C: move stuff into namespace anon
10006 * layout.h: update enum
10008 * lyxfunc.C: use better debug
10010 * minibuffer.h: fix typo
10014 * WorkArea.C: add and use Debug::WORKAREA
10018 * text2.C: code re-organisation, inline helpers
10020 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10022 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10023 std::vector.empty().
10025 2001-11-09 Allan Rae <rae@lyx.org>
10027 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10028 '\n's after tables. Tabular and ERT inset work now makes this no
10031 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10034 * minibuffer.C: fix crash, improve drop-down completion
10036 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10039 * lyxserver.C: invalidate fd's when doing endPipe()
10041 2001-11-08 José Matos <jamatos@fep.up.pt>
10043 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10044 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10047 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10049 2001-11-07 José Matos <jamatos@fep.up.pt>
10052 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10055 * buffer.C (sgmlOpenTag):
10056 * buffer.C (sgmlCloseTag): removed debug info.
10058 * buffer.h (sgmlOpenTag):
10059 * buffer.h (sgmlCloseTag): made public.
10061 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10063 * buffer.C (saveParamsAsDefaults):
10064 * lyx_cb.C (MenuLayoutSave): remove
10066 * LyXAction.C (init):
10068 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10070 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10072 * buffer.C (setPaperStuff): removed from here...
10074 * bufferparams.C (setPaperStuff): ... and moved there.
10076 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10080 * XFormsView.C: add support for drop-down completion
10082 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10084 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10087 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10089 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10092 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10094 * lyx_main.C: change ref to known bugs
10096 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10098 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10099 to work around older babel problems.
10101 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10103 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10105 2001-10-24 Juergen Vigna <jug@sad.it>
10107 * tabular-old.C (ReadOld): below variable changes reflected.
10109 * tabular.[Ch]: added ltType struct for longtable header/footer
10110 defines and changed all instances where they are used. Added
10111 future support for double top/bottom rows.
10113 2001-10-24 José Matos <jamatos@fep.up.pt>
10115 * buffer.h (docbookHandleCaption):
10116 * buffer.C (docbookHandleCaption): removed unused function.
10117 (makeDocBookFile): moved docbook supported version to v4.1.
10119 2001-10-24 José Matos <jamatos@fep.up.pt>
10122 * tabular.C (docbookRow): new function to export docbook code of a row.
10123 (DocBook): now honors the longtable flags.
10125 2001-10-23 José Matos <jamatos@fep.up.pt>
10128 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10129 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10131 * buffer.C (makeLinuxDocFile):
10132 (makeDocBookFile): reworked the preamble, more clean, and with
10133 support for lyx defined entities. Changed the document declaration
10134 to be more XML friendly.
10136 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10137 if we need to output XML that should be done with a filter.
10139 2001-10-22 Juergen Vigna <jug@sad.it>
10141 * sp_pspell.h (class PSpell): add alive function needed in the
10142 controller to see if the spellchecker could be started.
10144 2001-10-22 Juergen Vigna <jug@sad.it>
10146 * buffer.C (insertStringAsLines): modify the font for inserting
10147 chars in certain conditions by calling checkInsertChar(font).
10149 2001-10-19 Juergen Vigna <jug@sad.it>
10151 * text.C (workWidth): use getRow instead of wrong algorithm.
10152 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10154 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10159 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10161 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10163 * text.C (workWidth): do not search for the exact row when
10164 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10165 optimization for big documents.
10167 2001-10-18 Juergen Vigna <jug@sad.it>
10169 * text.C (workWidth): new function with added Inset * parameter.
10171 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10173 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10175 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10176 change return type of getColumnNearX.
10179 * text.C (changeRegionCase): use uppercase/lowercase instead of
10182 (rightMargin): simplify code by factoring out the uses of
10187 (appendParagraph): use Paragraph::size_type
10189 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10191 * vspace.C (asLatexString): add a missing break
10193 2001-10-15 Herbert Voss <voss@perce.de>
10195 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10197 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10199 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10202 2001-10-10 André Pönitz <poenitz@gmx.net>
10204 * lyxfunc.C: removed greek_kb_flag.
10206 2001-10-10 Herbert Voss <voss@perce.de>
10208 * lyx_main.C: delete global string help_lyxdir.
10210 2001-10-09 Herbert Voss <voss@perce.de>
10212 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10214 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10216 * lyx_main.C: added global string help_lyxdir.
10218 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10220 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10222 * lyxrc.C (set_font_norm_type): support iso8859-4
10224 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10226 * LaTeX.C (deplog): add another regex for MikTeX
10228 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10230 * lyxrc.C (set_font_norm_type): support iso8859-3
10232 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10234 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10236 * LaTeXFeatures.C: remove special case of french and index
10238 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10239 before \begin{document}). This solves several incompatibilities.
10241 2001-10-03 Garst Reese <reese@isn.net>
10243 * lyx_cb.C: change CheckTex error msg.
10245 2001-10-03 José Matos <jamatos@fep.up.pt>
10247 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10249 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10251 * .cvsignore: update
10253 * lyx_main.C (commandLineVersionInfo): use new style version info.
10255 * buffer.C (writeFile):
10257 (makeLinuxDocFile):
10258 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10260 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10262 * version.h: update to use stuff in version.C
10264 * version.C.in: new file. Contains version information determined
10265 at compile time. This is a merging of version.h and
10268 2001-10-03 Juergen Vigna <jug@sad.it>
10270 * BufferView_pimpl.C (update): don't change "dirty" status in
10273 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10275 * WorkArea.C (c-tor): re-position version string slightly.
10277 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10279 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10280 revert to previous code.
10282 WorkArea.[Ch]: (show, destroySplash): methods removed.
10284 WorkArea.C: rework code so that it's an amalgam of the codes before and
10285 after the splash screen was moved to WorkArea.
10287 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10290 * vspace.C (inPixels):
10293 * buffer.C (insertStringAsLines):
10294 (asciiParagraph): fix types to be large enough
10296 * lyxlex_pimpl.h: change member status from short to int
10298 * layout.h: fix type of endlabeltype
10301 * kbsequence.C (parse): change return type to string::size_type
10303 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10306 * Bullet.C (bulletSize):
10307 (bulletEntry): do not use short ints as parameters
10309 * BufferView2.C (insertLyXFile): change a char to an int.
10311 * WorkArea.C (WorkArea): remove unneeded floats in computation
10313 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10315 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10317 * paragraph.C (asString): Do not ignore newline/hfill chars when
10318 copying to the clipboard.
10320 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10322 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10323 after a multi-line inset.
10325 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10327 * paragraph.C (validate): Set NeedLyXFootnoteCode
10329 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10331 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10332 and decrease-error to decrease.
10334 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10336 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10337 it more readable (should be equivalent)
10339 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10341 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10343 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10345 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10346 of a cursor (row, etc.) after a character has been deleted
10347 (deleteEmptyParagraphMechanism): call the method above on _all_
10348 cursors held by the LyXText when a double space has been
10351 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10353 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10355 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10357 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10358 background. Use greyOut() and the new show() methods to toggle between
10359 the foreground and background. Add code to remove the splash after
10360 its initial showing.
10362 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10363 (create_forms): no longer call Dialogs::showSplash.
10365 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10367 * .cvsignore: add version_info.h
10369 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10371 * version_info.h.in: new file
10373 * Makefile.am: add version_info.h.in
10375 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10376 version_info.h instead of VERSION_INFO
10378 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10380 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10381 The ERT inset now returns string().
10383 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10385 * lyxtext.h, text.C (selectNextWord): renamed as
10386 selectNextWordToSpellcheck.
10388 * text.C (selectNextWordToSpellcheck): Modified to not select
10389 words inside an ERT inset.
10391 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10393 * lyx_cb.C (MenuLayoutSave): change a bit the question
10395 * sp_base.h: include <sys/types.h>
10397 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10399 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10401 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10403 * several files: fix typos in user-visible strings
10405 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10407 * text2.C (pasteSelection): do not set the selection, since it
10408 will be cleared later. Actually, the intent was to fix the way the
10409 selection was set, but I figured rmoving the code was just as good.
10411 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10413 * FontLoader.C (available): Check if font is available without
10416 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10418 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10420 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10422 * lyxrc.[Ch]: added display_graphics variable and associated code.
10424 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10426 * bufferparams.C (hasClassDefaults): new method. Returns true if
10427 the buffer parameters correspond to known class defaults
10429 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10431 * XFormsView.C (show): set minimum size to the main window.
10433 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10435 * text2.C (copySelection):
10437 * lyxfind.C (LyXReplace):
10438 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10439 LyXText::selectionAsString.
10441 * paragraph.C (asString): add "label" argument to the second form
10443 * text2.C (selectionAsString): add "label" argument and pass it to
10444 Paragraph::asString.
10446 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10448 * lyx_main.C (commandLineHelp): remove version information
10450 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10452 * lyx_main.C: add -version commandline option
10454 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10456 * paragraph.h: make the optional constructor arg required instead.
10457 some modifications to other files because of this.
10459 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10461 * lyxserver.C (C_LyXComm_callback): make it static
10463 * lyx_main.C (error_handler): make it static
10465 * lyx_gui.C (LyX_XErrHandler): make it static
10467 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10469 * WorkArea.C: make the extern "C" methods static.
10471 * Makefile.am (lyx_LDADD): simplify
10473 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10475 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10476 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10478 * LyXAction.C (init):
10479 * lyxfunc.C (dispatch): associated code removal.
10481 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10483 * lyxfont.h (isSymbolFont): shut off warning
10485 * text.C (setHeightOfRow):
10486 (getVisibleRow): fix crash with empty paragraphs which have a
10489 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10491 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10494 2001-09-04 José Matos <jamatos@fep.up.pt>
10497 * tabular.C (docbook): rename docBook method to docbook.
10499 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10501 * Makefile.am: add dependencies to main.o.
10503 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10505 * FontLoader.C (available): Return false if !lyxrc.use_gui
10507 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10509 * FontInfo.C (query):
10510 * converter.C (view):
10511 * importer.C (Import):
10512 * exporter.C (Export): Can not -> cannot.
10514 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10516 * BufferView_pimpl.C: allow to create index inset even if
10519 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10521 * buffer.C (getLists): replace boost::tie code with an explicit pair
10522 as boost::tie can break some compilers.
10524 * iterators.h: Added a std:: declaration to the return type of
10527 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10529 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10532 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10534 * iterators.[Ch]: New files. Provide paragraph iterators.
10536 * buffer.C (changeLanguage): Use paragraph iterators.
10537 (isMultiLingual): ditto
10539 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10541 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10543 * FontLoader.C: Support for cmr font.
10545 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10547 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10548 (available): New method.
10550 * FontInfo.C (getFontname): Use scalable fonts even when
10551 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10554 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10556 * converter.C (Formats::view): reverted! Incorrect fix.
10558 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10560 * converter.C (Formats::view): only output the -paper option
10561 if the dvi viewer is xdvi, thereby fixing bug #233429.
10563 2001-08-23 Herbert Voss <voss@perce>
10565 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10567 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10569 * Spacing.h (Spacing): Set space to Default on in the default
10572 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10574 * vc-backend.h (RCS::versionString): add RCS to version
10575 (CVS::versionString): add CVS to version
10577 * vc-backend.C (scanMaster): do not add CVS to version.
10578 (scanMaster): do not add RCS to version
10580 * lyxvc.C (versionString): new method
10582 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10584 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10586 * Spacing.C (set): initialize fval
10588 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10590 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10593 2001-08-16 Juergen Vigna <jug@sad.it>
10595 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10597 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10599 * BufferView_pimpl.C:
10602 * text2.C: setParagraph takes linespacing now
10604 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10606 * LyxAction.C: add internal LFUN_CITATION_INSERT
10608 * LyXView.C: actually apply fix
10610 * bufferlist.C: fix open non-existent file
10612 * lyxfind.C: fix indentation
10614 * lyxfunc.C: remove unneeded assert, fix typo
10616 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10618 * MenuBackend.C: use "Floatname List"
10620 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10622 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10623 when converting LaTeX layout to insetERT.
10624 Generate a non-collapsed float when reading old float
10626 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10628 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10631 2001-08-13 Juergen Vigna <jug@sad.it>
10633 * text.C (fill): return 0 instead of 20 as this seems to be the more
10636 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10638 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10641 2001-08-13 Juergen Vigna <jug@sad.it>
10643 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10645 (SearchBackward): comment out the unlocking of the inset_owner this
10646 should not be needed!
10648 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10650 * Many files: Remove inherit_language, and add latex_language
10652 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10653 collapsible insets.
10655 2001-08-10 Juergen Vigna <jug@sad.it>
10657 * text.C (prepareToPrint): fixed hfill-width in draw!
10659 * BufferView2.C (selectLastWord): save the selection cursor as this
10660 now is cleared in the function LyXText::clearSelection!
10662 2001-08-08 Juergen Vigna <jug@sad.it>
10664 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10665 BACKSPACE type functions.
10667 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10668 is only cutted from the document but not put in the cut-buffer, where
10669 still the old stuff should be.
10671 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10673 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10675 * tabular.C (SetWidthOfCell): fixed special case where the width
10677 (LeftLine): handle '|' in align_special.
10679 (LeftAlreadyDrawed): ditto
10680 (SetWidthOfCell): ditto
10682 2001-08-07 Juergen Vigna <jug@sad.it>
10684 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10686 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10688 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10689 * lyxlex.[hC]: ditto
10691 2001-08-06 Juergen Vigna <jug@sad.it>
10693 * text.C (getVisibleRow): fix up row clearing a bit.
10695 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10697 * minibuffer.C: make sure the X server sees the changes in the input.
10699 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10701 * paragraph.C (getFont): split into...
10702 (getLabelFont): this
10703 (getLayoutFont): and this
10704 * paragraph_pimpl.C (realizeFont): calling this
10706 * text2.C (getFont): split into...
10707 (getLayoutFont): this
10708 (getLabelFont): and this
10709 (realizeFont): all three calling this
10711 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10714 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10716 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10718 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10720 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10721 layouts from the Quote inset insertion.
10723 2001-08-03 Juergen Vigna <jug@sad.it>
10725 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10727 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10728 only if status not is already CHANGED_IN_DRAW (second level).
10730 * text.C (draw): don't set the need_break_row when inside an
10733 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10735 * buffer.C (parseSingleLyXformat2Token): handle more latex
10738 * bufferview_funcs.[hC]: change function names to
10739 begin with small char, adjust other files.
10741 2001-08-02 André Pönitz <poenitz@gmx.net>
10744 BufferView_pimpl.C: remove broken special code for math-greek
10746 2001-08-02 Juergen Vigna <jug@sad.it>
10748 * BufferView_pimpl.C (update): redone this function so that we
10749 update the text again if there was a CHANGE_IN_DRAW.
10751 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10752 (drawFromTo): added a new internal bool which is used by draw() and
10754 (general): some cursor drawing problems fixed.
10756 2001-08-01 Juergen Vigna <jug@sad.it>
10758 * lyxfind.C (LyXFind): fixed
10759 (SearchForward): ditto
10760 (SearchBackward): ditto
10762 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10763 spurius drawing of the cursor in the main area.
10765 * text2.C (status): small fix which could lead to a segfault!
10766 (clearSelection): remove unneeded BufferView param.
10768 2001-08-01 André Pönitz <poenitz@gmx.net>
10770 * lyxfunc.C: small change due to changed mathed interface
10772 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10774 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10776 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10778 * lyxfunc.c: fail gracefully if file doesn't exist
10783 * BufferView_pimpl.C: IsDirWriteable() proto changed
10785 * LyXView.C: fix updateWindowTitle() to store the last title
10787 2001-07-31 Juergen Vigna <jug@sad.it>
10789 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10790 the font (wrong since using of Paragraph::highestFontInRange).
10792 * paragraph.C (highestFontInRange): added a default_size parameter.
10794 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10795 (setHeightOfRow): reformat
10797 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10799 * converter.[hC] + affected files: move to (inital-char)lowercase
10802 * ParagraphParameters.C (ParagraphParameters): remove commented code
10804 * PainterBase.[Ch]: remove commented code
10806 * LaTeXFeatures.h: add "bool floats" for float.sty
10808 * LaTeXFeatures.C (LaTeXFeatures): init floats
10809 (require): handle float
10810 (getPackages): do it with floats
10812 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10814 * BufferView_pimpl.C (Dispatch): improve handling of
10815 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10817 * commandtags.h: #include lyxfont.h here temporarily to avoid
10820 * bufferlist.h: include LString.h here.
10822 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10824 * text2.C (getStringToIndex): new method.
10826 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10828 * *: Reduced header file dependencies all over.
10830 2001-07-30 Baruch Even <baruch@lyx.org>
10832 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10834 2001-07-29 Baruch Even <baruch@lyx.org>
10836 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10838 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10840 * ParameterStruct.h (endif): add a default constructor to make
10841 sure that all variables is initialized.
10843 * ParagraphParameters.C (ParagraphParameters): adjust
10845 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10847 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10848 index; also, check that there is something to index, and that it
10849 does not span over several paragraphs.
10850 (doubleClick): use WHOLE_WORD_STRICT for double click.
10852 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10854 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10857 2001-07-26 Baruch Even <baruch@lyx.org>
10859 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10860 an InsetFig figure, backwards compatible reading of old figure code.
10862 2001-07-27 Juergen Vigna <jug@sad.it>
10864 * text2.C: font.realize function adaption.
10866 * text.C (draw): add a warnings lyxerr text if needed.
10868 * layout.C: font.realize function adaption.
10870 * language.C: add inherit_language and implement it's handlings
10872 * bufferview_funcs.C (StyleReset): remove language parameter from
10873 font creation (should be language_inherit now).
10875 * bufferparams.C (writeFile): handle ignore_language.
10877 * paragraph.C (getFontSettings): the language has to be resolved
10878 otherwise we have problems in LyXFont!
10880 * lyxfont.C (lyxWriteChanges): added document_language parameter
10881 (update): removed unneeded language parameter
10883 * paragraph.C (validate): fixed wrong output of color-package when
10884 using interface colors for certain fonts in certain environments,
10885 which should not seen as that on the final output.
10887 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10889 * BufferView_pimpl.C:
10894 * LyXAction.C: add thesaurus support
10897 * lyxfind.C: add "once" parameter, for thesaurus, to not
10898 move to the next match
10900 2001-07-26 Juergen Vigna <jug@sad.it>
10902 * lyxfont.C (realize): honor ignore_language too!
10905 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10907 * text.C (draw): one place more for ignore_language to not draw
10910 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10912 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10914 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10916 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10917 the minipage conversion problem.
10919 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10921 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10924 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10926 * BufferView.h: don't forward declare WorkArea
10928 * BufferView.C: don't include WorkArea.h
10930 2001-07-25 André Pönitz <poenitz@gmx.net>
10934 * lyxfunc.C: new LFUN 'math-space'
10936 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10938 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10940 * text2.C (toggleInset): call open/close
10942 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10944 * lyxfunc.C (dispatch): add debug for the disabled case
10946 * font.C (buttonText): make similar to rectText
10948 * buffer.C (readInset): comment out parsing of insetlist and
10951 * PainterBase.C (rectText): small correction
10953 * BufferView_pimpl.C: comment out insettheorem and insetlist
10954 * LyXAction.C: ditto
10955 * commandtags.h: ditto
10957 2001-07-24 Juergen Vigna <jug@sad.it>
10959 * text.C (draw): honor the ignore_language.
10961 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10963 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10965 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10968 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10970 * lyxtext.h: remove unused (and unimplemented) methods
10972 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10974 * text.C (getVisibleRow): honor background color
10977 * Painter.h: remove default color argument for fillRectangle
10979 * text.C (backgroundColor): new method
10981 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10983 * text.C (getVisibleRow): adjust
10985 * font.[Ch] (rectText): new method, metrics
10986 (buttonText): new method, metrics
10988 * PainterBase.[hC]: make rectText and buttonText always draw and take
10991 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10993 * ToolbarDefaults.C (read):
10994 * MenuBackend.C (read): allow escaping in all strings
10996 * BufferView_pimpl.C (insertAndEditInset): new method.
10997 (Dispatch): use insertAndEditInset whenever appropriate.
10999 * BufferView_pimpl.C (insertNote): removed
11001 * BufferView_pimpl.C (smartQuote): new method, moved from
11002 BufferView; if an insetquote cannot be inserted, insert a '"'
11005 * BufferView2.C: remove insertCorrectQuote();
11007 * lyxfunc.C (getStatus): Add support for all remaingin
11008 inset-insert lfuns.
11010 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11012 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11013 command (necessary to pass " as parameter of self-insert.
11015 * text.C (selectWordWhenUnderCursor):
11016 (selectWord): add word_location parameter
11017 (selectWordWhenUnderCursor): same + remove special code for word
11019 (selectNextWord): use kind() to guess type of insetspecialchar,
11022 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11023 (insertErtContents): create ert insets as collapsed.
11024 (readInset): better compatibility code for Info inset.
11026 2001-07-20 Juergen Vigna <jug@sad.it>
11028 * lyxfunc.C (dispatch): use always LyXFind now!
11030 * text2.C (init): add a reinit flag so that the LyXText can be
11031 reinited instead of deleted and reallocated (used in InsetText).
11033 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11039 2001-07-18 Juergen Vigna <jug@sad.it>
11041 * text.C (selectNextWord): handle insets inside inset by calling
11042 always the bv->text functions so that we can go up the_locking_inset!
11044 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11045 in strange locations when inside an inset!
11047 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11048 handling to include insets.
11050 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11052 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11054 * LyXAction.C (init):
11056 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11057 LIGATURE_BREAK, since the name is so stupid.
11059 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11061 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11064 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11066 * sp_form.[Ch]: remove.
11068 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11070 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11073 * src/buffer.C (readInset): ditto.
11075 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11077 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11078 menuSeparator(), endOfSentenceDot(), ldots() and
11079 hyphenationPoint(), which are therefore removed.
11080 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11082 * LyXAction.C (init):
11083 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11085 * paragraph.C (getWord): removed.
11087 * BufferView_pimpl.C (Dispatch): use last word or selection for
11088 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11090 * lyx_main.C (queryUserLyXDir): do not ask before creating
11091 user_dir, except if it has been named explicitely.
11093 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11095 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11096 a document of zero size.
11098 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11100 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11101 approriately in the c-tor and in require().
11102 (getPackages): output the appropriate LaTeX for natbib support.
11104 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11105 variables "use_natbib" and "use_numerical_citations" when reading the
11107 (readInset): read the various natbib cite commands.
11108 (validate): white-space change.
11110 * bufferparams.[Ch]: new variables "bool use_natbib" and
11111 "bool use_numerical_citations".
11112 (writeFile): output them in the LyX file.
11114 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11116 * lyxfunc.C (getStatus): add support for all the inset insertion
11119 * text2.C (insertInset):
11120 * paragraph.C (insetAllowed):
11121 * BufferView_pimpl.C (insertInset): update to take in account the
11122 renaming of insertInsetAllowed
11124 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11126 * text2.C (getInset): new method. returns inset at cursor position.
11128 * BufferView_pimpl.C (Dispatch): changes because of this.
11130 * LyXAction.C (init): rename open-stuff to inset-toggle.
11132 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11134 * text2.C (toggleInset): renamed from openStuff; use
11137 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11139 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11141 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11143 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11145 * buffer.C (readLyXformat2): Add filename to the error dialog
11147 2001-07-18 Juergen Vigna <jug@sad.it>
11149 * tabular.C (GetCellNumber): put an assert here instead of the check!
11151 2001-07-17 Juergen Vigna <jug@sad.it>
11153 * BufferView_pimpl.C (toggleSelection): adapted too.
11155 * text.C (selectNextWord): adapted for use with insets.
11156 (selectSelectedWord): ditto
11158 2001-07-17 Juergen Vigna <jug@sad.it>
11160 * sp_spell.C (PSpell): fix initialitation order.
11162 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11164 * paragraph.C: spacing
11166 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11168 * sp_spell.C: repair language selection for pspell
11170 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11172 * lyxfunc.h: change more methods to begin with lower char.
11174 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11176 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11177 for unknown layouts.
11179 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11181 * buffer.C (readLyXformat2): Generate an error dialog if there are
11184 2001-07-16 Juergen Vigna <jug@sad.it>
11186 * sp_spell.C: always compile ISpell part.
11188 * lyxrc.C: added use_pspell entry and it's handling.
11190 2001-07-13 Juergen Vigna <jug@sad.it>
11192 * sp_spell.C: removed double includes.
11194 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11196 Consistent use of Lsstream.h:
11197 * Lsstream.h: added using std::stringstream for consistencies sake.
11199 * buffer.C: removed using std::stringstream
11201 * lyxfont.C (stateText):
11202 * paragraph.C (asString):
11203 * text.C (selectNextWord, selectSelectedWord):
11204 * text2.C (setCounter):
11205 * vspace.C (asString, asLatexString):
11206 std::ostringstream -> ostringstream.
11208 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11210 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11211 * commandtags.h: add LFUN_HELP_ABOUTLYX
11212 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11214 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11216 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11218 * lyx_gui_misc.C: remove spellchecker
11219 * lyxfunc.C: showSpellchecker
11221 * sp_ispell.h: added
11222 * sp_pspell.h: added
11223 * sp_spell.C: added
11224 * sp_form.[Ch]: removed
11225 * spellchecker.[Ch]: removed
11227 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11229 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11231 (simpleTeXSpecialChars): Simply print the input character without
11232 any special translation if pass_thru is set.
11234 * layout.h: Added bool pass_thru to layout class for being able to
11235 implement pass through of a paragraph for Literate Programming.
11237 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11238 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11239 * layout.C (Read): add "passthru" to list of layout tags and add
11240 code to set the pass_thru boolean when it is read.
11242 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11244 * trans_decl.h: remove allowed from KmodInfo
11246 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11247 remove allowed code
11250 * paragraph_pimpl.C (erase): use boost::prior
11252 * Painter.C (text): use data() instead of c_str() when length is
11254 * WorkArea.C (putClipboard): ditto
11255 * font.h (width): ditto
11257 * BufferView2.C: use it-> instead of (*it). for iterators
11259 * paragraph_pimpl.C: ditto
11260 * paragraph.C: ditto
11261 * minibuffer.C: ditto
11262 * language.C: ditto
11264 * encoding.C: ditto
11265 * counters.C: ditto
11266 * converter.C: ditto
11268 * Variables.C: ditto
11269 * TextCache.C: ditto
11270 * MenuBackend.C: ditto
11271 * LyXAction.C: ditto
11273 * FloatList.C: ditto
11274 * DepTable.C: ditto
11275 * ColorHandler.C (LyXColorHandler): ditto
11277 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11279 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11281 * text2.C (openStuff): reintroduce this method (which had been
11282 nuked in NEW_INSETS frenzy).
11284 * lyxfunc.C (Dispatch): when an action has not been handled, use
11285 its name in the error message, not its number.
11287 * paragraph.C (inInset): change method name to begin with lowercase.
11290 * text2.C: updates because of this.
11292 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11294 * ToolbarDefaults.C (add): add spaces in error message
11296 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11298 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11299 (readLyXformat2): rename return_par to first_par, use lyxlex's
11300 pushToken and remove the manual push handling.
11301 (parseSingleLyXformat2Token): add another ert comp. variable:
11302 in_tabular, rename return_par to first_par. handle newlines better
11304 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11306 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11308 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11310 * text2.C (getParFromID): removed
11312 * buffer.C (getParFromID): new method moved form lyxtext.
11313 * BufferView2.C (insertErrors): adjust
11314 (setCursorFromRow): adjust
11315 * BufferView_pimpl.C (restorePosition): adjust
11316 * lyxfunc.C (Dispatch): adjust
11317 * undo_funcs.C (textUndo): adjust
11319 (textHandleUndo): adjust
11320 (textHandleUndo): adjust
11322 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11324 * buffer.C: up' the LYX_FORMAT
11326 * lyxfont.h: turn NO_LATEX on as default
11328 * buffer.C (insertErtContents): new methods of tex style compability.
11329 (parseSingleLyXformat2Token): use it several places.
11330 * tabular.C (OldFormatRead): and here
11332 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11334 * text2.C: remove some commented code.
11337 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11338 * trans.C: changes because of the above.
11340 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11342 * text2.C (setCounter): Fix counters bug with bibliography layout.
11344 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11346 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11347 own member functions
11348 (simpleTeXSpecialChars): ditto
11350 2001-07-06 Juergen Vigna <jug@sad.it>
11352 * a lot of files: changed the access to LyXText::status and the
11353 call of undo-functions.
11355 * undo.[Ch]: added a inset_id to the undo informations.
11357 * undo_funcs.[Ch]: added and moved here all undo functions.
11359 * lyxtext.h: give the status enum a weight, made status_ a private
11360 variable and made accessor functions for it, removed the whole bunch
11361 of undo-functions as they are now in their own file, make some
11362 functions publically available. Added function ownerParagraph with
11365 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11366 made InInset() a const function, added getParFromID() function.
11368 * buffer.[Ch]: added const version for inset_iterator functions,
11369 added getInsetFromID() function.
11371 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11372 changed undo functions for new version.
11374 2001-07-05 Juergen Vigna <jug@sad.it>
11376 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11377 unknow mechanism does not call the proper constructor but only this
11378 one also if I request the other!?
11380 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11382 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11384 * text2.C (LyXText): use initialization lists.
11386 * lyxtext.h (Selection): initialize set_ and mark_
11387 (init): remove method
11389 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11391 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11393 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11395 * screen.[Ch]: change method names to begin with lowercase
11397 * BufferView_pimpl.C (updateScrollbar): simplify further and
11398 hopefully make it a bit faster.
11400 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11402 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11403 calling directly xforms functions.
11405 * Painter.C (Painter):
11406 * lyx_cb.C (MenuWrite):
11407 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11410 * lyx_gui.C: remove bogus guiruntime extern declaration.
11412 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11414 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11416 (redoDrawingOfParagraph): ditto
11417 (redoParagraphs): ditto
11418 (cutSelection): don't create a object for CutAndPaste use the
11419 static method directly
11420 (pasteSelection): ditto
11422 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11425 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11427 * modifications to some other files because of this.
11429 * Makefile.am (lyx_SOURCES): add XFormsView
11431 * XFormsView.[Ch]: new files
11433 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11434 the main window. Move the gui dependent stuff to XFormsView
11436 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11438 * tabular.C (GetCellInset): update cur_cell also in the row/col
11439 version of this function.
11441 * lyxfunc.C: no need to include figure_form.h here.
11447 * lyxvc.C: no need to include forms.h here.
11449 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11451 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11453 * lyxfunc.C (Dispatch):
11455 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11456 constructor argument.
11458 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11460 * paragraph.C (Paragraph): dont't clear, and just set layout.
11461 (makeSameLayout): use params's copy contructor.
11463 * ParagraphParameters.[Ch] (makeSame): delete method
11465 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11467 * Variables.[Ch]: fix indentation, rename set to isSet
11469 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11471 * lyxfunc.C (Dispatch): fix typo
11473 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11475 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11478 * bufferlist.C: include assert.h for emergencyWrite().
11480 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11482 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11483 give up at last (bug #425202) !
11485 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11491 * spellchecker.C: strip spellchecker options and bring up
11492 preferences tab instead
11494 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11496 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11497 the istringstream constructor
11499 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11501 * paragraph.C (getLayout): fix return value
11503 * paragraph.h: do not declare getLayout as inline.
11505 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11507 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11509 * lyxcursor.h (operator<): new func
11510 (operator>): new func
11511 (operator>=): new func
11512 (operator<=): new func
11514 * text.C (changeCase): use selection.start and selection.end
11515 (changeRegionCase): require from to be <= to. Require par to be a
11518 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11520 2001-06-27 Juergen Vigna <jug@sad.it>
11522 * text.C (cursorLeftOneWord): changed to return the cursor and added
11523 overlay with BufferView * parameter which calls this one.
11525 (selectWord): use new getWord function.
11526 (changeCase): renamed from changeWordCase as and extended to work
11527 also on selections.
11529 * lyxtext.h: added enum word_location
11531 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11532 changeCase as this operates now also on selections.
11534 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11536 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11538 * many files: send debug output to Debug::INFO instead of
11541 * converter.C (View):
11543 (Move): send debug output to Debug::FILES instead of console.
11545 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11547 * lyxfunc.C (getStatus): use func_status
11549 * func_status.h: new header, describing the results of
11550 LyXFunc::getStatus;
11552 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11555 2001-06-25 The LyX Project <jug@sad.it>
11557 * buffer.C (sgmlOpenTag):
11559 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11561 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11563 * text2.C: remove some dead code
11565 * tabular.C (GetCellInset): store the last cell checked (gotten)
11567 * tabular.h: add the helper for the speedup
11569 * lyxtext.h: remove some dead code
11571 2001-06-26 The LyX Project <Asger>
11573 * paragraph.C: Change export to LaTeX of alignment to
11574 \begin{center} and family for better roundtrip work with reLyX.
11576 * Tune the math drawing a bit.
11578 2001-06-25 The LyX Project <Asger>
11580 * LColor.C (LColor): New color for math background. New color
11583 2001-06-25 The LyX Project <jug@sad.it>
11585 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11587 * lyxfunc.C (Open):
11588 * bufferlist.C (newFile): do not restrict to files ending with
11591 * BufferView_pimpl.C (MenuInsertLyXFile):
11593 2001-06-24 The LyX Project <jug@sad.it>
11595 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11598 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11600 * lyxtext.h: rename most methods to begin with a small char.
11601 Lots of changes because of this.
11603 * paragraph.C (Paragraph): do not call fitToSize
11604 (erase): call Pimpl::erase
11605 (insertChar): call Pimpl::insertChar
11606 (insertInset): call Pipl::insertInset
11607 (breakParagraph): do not call fitToSize
11608 (breakParagraphConservative): do not call fitToSize
11609 (fitToSize): remove method
11611 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11613 2001-06-24 The LyX Project <Asger>
11615 * Fix Qt compilation^2
11617 2001-06-24 The LyX Project <jug@sad.it>
11619 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11620 depthHook(getDepth()-1).
11623 * ParagraphParameters.h:
11624 * ParameterStruct.h: change type of depth to unsigned int ==
11625 depth_type. Many adaptations to other files before of that.
11627 2001-06-24 The LyX Project <Asger>
11629 * Fix Qt compilation.
11631 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11633 * paragraph.h: renamed several methods to begin with small letter.
11634 several changes to many parts of the code because of this.
11636 2001-06-23 The LyX Project <jug@sad.it>
11638 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11639 rewritten to discard all double spaces when KeepEmpty is off
11640 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11641 to only handle newlines but not fiddle with spaces and friends.
11643 * lyxfunc.C (MenuNew): when doing 'new from template', use
11644 template_path as default directory
11646 2001-06-23 The LyX Project <Asger>
11648 * Clean-up of header file includes all over
11649 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11651 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11653 * paragraph.h: renamed from lyxparagraph.h
11655 2001-06-23 Asger <lyx@violet.home.sad.it>
11657 * Buffer.h: Removed Buffer::resize
11658 * BufferList.h: Removed BufferList::resize
11659 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11660 the document lazily when we change the width, or the font settings.
11662 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11664 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11666 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11668 * buffer.h: remove out of date comment
11670 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11673 * screen.C: fix "theoretical" GC leak
11675 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11677 * LaTeX.C (scanAuxFile):
11678 (deplog): remove trailing \r when reading stream (useful under
11681 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11683 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11684 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11685 and BufferView::theLockingInset(Inset*), so should use them and not
11686 access bv_->text->the_locking_inset directly.
11688 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11690 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11693 * tex-defs.h: remove old unused file
11695 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11697 * BufferView_pimpl.C: fix typo, remove minibuffer message
11698 when buffer has loaded
11700 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11702 * lyxfunc.C (Dispatch): use stringstream
11703 (MenuNew): use stringstream
11704 (Open): use stringstream
11706 * importer.C (Import): use stringstream
11708 * bufferview_funcs.C (CurrentState): use stringstream
11710 * LaTeX.C (run): use stringstream
11712 * BufferView_pimpl.C (savePosition): use stringstream
11713 (restorePosition): use stringstream
11714 (MenuInsertLyXFile): use stringstream
11716 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11729 * vspace.C: removed // -*- C++ -*- as first line.
11732 * version.h: added // -*- C++ -*- as first line.
11734 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11736 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11738 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11741 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11743 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11746 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11748 * gettext.C: include LString.h even when --disable-nls is on.
11750 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11752 * converter.h (Get): changed argument type from int to
11753 FormatList::size_type to avoid unnecessary conversion.
11755 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11758 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11760 * gettext.h: include LString.h even when --disable-nls is on.
11762 2001-06-07 Juergen Vigna <jug@sad.it>
11764 * text.C (BreakAgain): subst spaces with tabs.
11766 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11767 (resizeInsetsLyXText): set force on resizeLyXText.
11769 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11771 * gettext.h (gettext_init):
11772 (locale_init): use a real definition instead of a macro
11774 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11776 * Bufferview_pimpl.C:
11778 * LColor.C: further lcolor tidies
11780 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11782 * BufferView_pimpl.C (updateScrollbar): simplify.
11784 * BufferView2.C: don't include insets/insetinfo.h, change
11785 prototype for insertInset and call the Pimpl version. let
11786 updateInset call Pimpl version.
11788 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11789 gotoInset to BufferView::Pimpl
11791 2001-06-01 Juergen Vigna <jug@sad.it>
11793 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11794 inside a LockingInset (is the update needed at all?).
11796 2001-05-31 Juergen Vigna <jug@sad.it>
11798 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11799 here not the old one otherwise how should we compare it afterwards
11802 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11807 * FontInfo.C: bring C functions into global namespace when
11810 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11812 * LString.h: make sure config.h has been loaded before LString.h.
11814 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11815 (one for each char read by EatLine!).
11817 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11820 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11822 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11823 to the same as the par we break from
11825 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11827 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11829 * MenuBackend.C (expand): also create menu entries for wide
11830 versions of the floats.
11832 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11834 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11836 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11837 frontends/Makefile.am
11843 * tabular.C (getTokenValue): add std::
11845 * tabular-old.C (getTokenValue): add std::
11846 (getTokenValue): ditto
11847 (getTokenValue): ditto
11849 * screen.C (ToggleSelection): adjust
11851 * lyxtext.h: put selection cursors inside a Selection struct.
11853 * lyxfunc.C (moveCursorUpdate): adjust
11855 * lyxfont.C (latexWriteStartChanges): add std::
11857 * lyxfind.C: adjust
11859 * font.h: delete with(char const *, LyXFont const &)
11861 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11863 * FontInfo.C (getFontname): add std::
11865 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11866 (workAreaButtonPress): adjust
11867 (tripleClick): adjust
11869 (moveCursorUpdate): adjust
11872 * BufferView2.C (gotoInset): adjust
11874 2001-05-30 Juergen Vigna <jug@sad.it>
11876 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11877 to check pspell I add this as default as I now have new pspell
11878 libraries and they seem to use this.
11880 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11882 * text2.C (CutSelection): make the cursor valid before the call to
11885 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11887 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11888 relied on 0 terminated strings and other horrors. Bug found due to
11889 the new assert in lyxstring!
11891 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11894 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11896 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11899 * lyxfunc.C (processKeySym): change method of getting to the
11902 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11903 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11904 * BufferView_pimpl.[Ch]: here as private methods.
11906 2001-05-28 Juergen Vigna <jug@sad.it>
11908 * text.C (SetHeightOfRow): added the update() call again as it is
11909 needed to initialize inset dimensions!
11911 2001-05-16 Juergen Vigna <jug@sad.it>
11913 * text2.C (SetCharFont): Add new function with BufferView * and
11914 bool toggleall parameters for setting insets internal fonts.
11915 (SetFont): Freeze the undo as we may change fonts in Insets and
11916 all this change should be inside only one Undo!
11918 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11919 setting font's in insets as for them we have the SetFont function!
11921 2001-05-15 Juergen Vigna <jug@sad.it>
11923 * text2.C (ClearSelection): to be sure we REALLY don't have any
11926 * tabular.C (TeXCellPreamble): fixed the left border problem for
11929 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11931 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11934 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11936 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11937 LFUN_BREAKPARAGRAPH.
11939 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11940 help test to "internal only", similar for LFUN_INSERT_URL
11942 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11943 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11944 auto_region_delete and deadkeys.
11946 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11949 * LColor.C: remove some dead entries, tidy a little
11951 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11953 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11955 (Dispatch): implement LFUN_ESCAPE
11957 * commandtags.h: add LFUN_ESCAPE
11959 * LyXAction.C (init): add entry for LFUN_ESCAPE
11961 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11962 Remove commented code.
11963 (insertNote): moved here
11964 (open_new_inset): moved here
11966 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11969 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11971 * kbmap.C (findbinding): clean it up and make it work correctly.
11973 * lyx_main.C (init): do not pass argc and argv as parameters
11975 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11977 * buffer.C: fix path for OS/2 & Win32
11981 * lyx_main.C: Added os:: class.
11983 * os2_defines.h: update
11985 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11987 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11988 better by trying again with reduced state.
11990 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11992 * lyxrc.C (read): print error about invalid key sequence only when
11993 debugging (because not all latinX keysyms are known to some X
11996 * kbsequence.C (getiso): add a few std:: qualifiers
11997 (getiso): comment out extra return statement.
11999 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12001 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12003 (Dispatch): enhance the accent inset a bit. (not perfect)
12005 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12007 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12009 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12011 * bufferlist.C (emergencyWrite): fix assert() call
12013 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12015 * text.C (InsertChar): Added trivial patch to only send the "you
12016 can not do multiple spaces this way" message once during a
12019 2001-05-08 Baruch Even <baruch@lyx.org>
12021 * Makefile.am: Changed order of libraries to get LyX to link properly
12022 with the gnome frontend.
12024 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12026 * LaTeXFeatures.h: add a std:: qualifier
12028 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12030 * paragraph.C (String): use stringstream
12032 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12034 * paragraph.C (writeFile): remove footflag arg
12036 * buffer.C (makeLaTeXFile): use stringstream
12037 (latexParagraphs): remove footnot gurba
12039 * LaTeXFeatures.C (getPackages): use stringstream
12040 (getMacros): likewise
12041 (getTClassPreamble): likewise
12042 (getFloatDefinitions): new method
12044 * paragraph.C (writeFile): reindent
12047 * WorkArea.h: revert the xpos + etc changes.
12049 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12051 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12053 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12054 (pasteSelection): likewise
12055 * text2.C (CreateUndo): likewise
12057 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12059 * minibuffer.C (peek_event): temporarily reduce the functionality
12060 of the minibuffer (to allow args on lfuns)
12062 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12063 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12065 * buffer.C (readInset): add compability reading of old float
12066 lists, add reading of new style float list.
12067 (readInset): avoid reevaluation of inscmd.getCmdName()
12068 (getLists): reindent
12070 * MenuBackend.C (MenuItem): implement parsing of
12071 md_floatlistinsert and md_floatinsert.
12072 (expand::LastFiles): move initalizaton of iterators out of loop,
12073 avoid reevaluation.
12074 (expand::Documents): introduce typdedef vector<string> Strings,
12076 (expand::ExportFormats): introduce typedef vector<Format const *>
12077 Formats, and use it.
12078 (expand): implement FloatListInsert and FloatInsert.
12080 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12081 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12082 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12084 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12086 (Dispatch::LFUN_FLOAT_LIST): implement
12088 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12090 * LaTeX.C (run): Fix problem with --export code.
12092 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12094 * BufferView.[Ch] (workarea): removed.
12095 (getClipboard) new method; wrapper for workarea()->getClipboard()
12097 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12100 * WorkArea.h (width, height, xpos, ypos): These methods all
12101 returned the dimensions of the work_area sub-area of WorkArea,
12102 resulting in a position error if the WorkArea were resized. Now
12103 return the dimensions of the entire WorkArea.
12105 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12107 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12109 * LaTeX.C (deplog): correct the syntax of regex reg1
12111 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * undo.C: remove !NEW_INSETS cruft
12115 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12117 * text2.C: remove !NEW_INSETS cruft
12119 * text.C: remove !NEW_INSETS cruft
12121 * tabular.C: remove !NEW_INSETS cruft
12123 * spellchecker.C: remove !NEW_INSETS cruft
12125 * lyxtext.h: remove !NEW_INSETS cruft
12127 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12129 * lyxfunc.C: remove !NEW_INSETS cruft
12131 * lyxfind.C: remove !NEW_INSETS cruft
12133 * lyx_cb.C: remove !NEW_INSETS cruft
12135 * figureForm.C: remove !NEW_INSETS cruft
12137 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12139 * buffer.[Ch]: remove !NEW_INSETS cruft
12141 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12143 * CutAndPaste.C: remove !NEW_INSETS cruft
12145 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12147 * BufferView2.C: remove !NEW_INSETS cruft
12149 * BufferView.h: remove !NEW_INSETS cruft
12151 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12153 * Lsstream.h: include LString.h before the sstream headers to
12154 fix problem with gcc 2.95.3 and lyxstring
12156 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12158 * lyx_main.C: add using directives when needed for C functions
12159 declared in std:: namespace.
12161 2001-04-27 Juergen Vigna <jug@sad.it>
12163 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12164 (SetHeightOfRow): comment out the update call should not be needed!
12166 2001-04-13 Juergen Vigna <jug@sad.it>
12168 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12169 (LyXTabular): tried to minimize operator= operations (and realized
12170 hopfully Lars wish).
12172 2001-04-27 Juergen Vigna <jug@sad.it>
12174 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12176 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12178 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12180 * buffer.C (readInset): hack to make listof algorithm work
12182 * BufferView_pimpl.C: hack to make listof algorithm work
12184 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12186 * LyXAction.C: removed all !NEW_INSETS cruft
12187 (init): moved lfun_item in method
12189 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12191 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12193 * BufferView2.C (theLockingInset): white space.
12195 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12197 * minibuffer.C: include <iostream>
12199 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12201 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12203 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12205 * text.[Ch] (TransposeChars): new method
12207 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12209 * call message directly through LyXView instead of through LyXFunc
12210 * BufferView2.C: adjust
12211 * BufferView_pimpl.C: adjust
12212 * FontLoader.C: adjust
12214 * bufferview_funcs.C: adjust
12215 * converter.C: adjust
12216 * figureForm.C: adjust
12217 * importer.C: adjust
12219 * lyx_gui_misc.C: adjust
12220 * lyxfunc.C: adjust
12223 + more files in subdirs
12225 * lyxparagraph.h (size): move up int file
12228 * adjust all uses of Assert to lyx::Assert.
12230 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12231 lyxfunctional in namespace lyx
12232 * layout.C (hasLayout): ditto
12235 (delete_layout): ditto
12236 (NumberOfClass): ditto
12237 * converter.C (GetFormat): ditto
12242 * bufferlist.C (getFileNames): ditto
12243 (emergencyWriteAll): ditto
12246 * MenuBackend.C (hasSubmenu): ditto
12249 * BufferView_pimpl.C (getInsetByCode): ditto
12251 2001-04-18 Juergen Vigna <jug@sad.it>
12253 * vspace.C (asLatexString): fixed the 100% problem.
12255 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12257 * lyxfunc.C (Dispatch):
12259 * minibuffer.h: add a few std:: qualifiers
12261 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12263 * minibuffer.[Ch]: reimplement so that commands is initiated and
12264 run from lyxfunc, simplified som handling, and made the completion
12265 and history code for complete. wip.
12267 * lyxfunc.C (processKeySym): call message
12268 (miniDispatch): new temporary method
12269 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12270 (LFUN_MESSAGE): implement
12271 (LFUN_MESSAGE_PUSH): implement
12272 (LFUN_MESSAGE_POP): implement
12273 (initMiniBuffer): the initial/defualt minibuffer message.
12275 * lyxfont.[Ch]: inline some more getters
12277 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12279 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12281 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12282 (AutoSave): use LFUN_MESSAGE
12283 (Reconfigure): ditto
12285 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12287 * figureForm.C: use LFUN_MESSAGE
12289 * converter.C (runLaTeX): use LFUN_MESSAGE
12291 * bufferview_funcs.C: use LFUN_MESSAGE
12293 (changeDepth): ditto
12295 * bufferparams.h: use boost::
12297 * bufferlist.h: inherit privately from noncopyable
12299 * bufferlist.C (loadLyXFile): remove some commented code.
12301 * buffer.C (runChktex): use LFUN_MESSAGE
12303 * ShareContainer.h: inherit privately from noncopyable
12305 * ParagraphParameters.[hC] (depth): inline it.
12307 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12309 (message): new method
12310 (messagePush): ditto
12311 (messagePop): ditto
12312 (show): init minibuffer
12313 (showState): direct call
12315 * LaTeX.[Ch]: inherit privately from noncopyable
12316 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12317 instead of WriteStatus.
12319 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12321 * BufferView_pimpl.C (buffer): don't init minibuffer
12322 (workAreaButtonPress): use LFUN_MESSAGE
12323 (workAreaButtonRelease): ditto
12324 (savePosition): ditto
12325 (restorePosition): ditto
12326 (MenuInsertLyXFile): ditto
12327 (workAreaExpose): don't init minibuffer
12328 (update): remove commented code, simplify
12330 * BufferView2.C (openStuff): use LFUN_MESSAGE
12331 (toggleFloat): ditto
12334 (copyEnvironment): ditto
12335 (pasteEnvironment): ditto
12340 (updateInset): remove some commented code
12342 * lastfiles.h: inherit privately from noncopyable
12345 * lyx_main.h: ditto
12347 * lyxlex_pimpl.h: ditto
12349 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12350 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12351 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12353 * LyXAction.h: inherit privately from noncopyable, add methods
12354 func_begin, func_end, returning iterators to the func map.
12356 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12357 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12358 (func_begin): new method
12359 (func_end): new method
12361 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12363 (copySelection): ditto
12364 (pasteSelection): ditto
12366 * BufferView.C: whitespace change
12367 * BufferView.h: inherit privately from noncopyable
12369 2001-04-16 Allan Rae <rae@lyx.org>
12371 * tabular-old.C (l_getline):
12372 * spellchecker.C (sc_check_word):
12373 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12374 an unrecognised preprocessor directive. So ensure they're wrapped.
12376 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12378 * src/exporter.C (Export): Give an error message when path to file
12381 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12383 * LaTeX.C (deplog): Always check that foundfile exists.
12385 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12388 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12390 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12392 * tabular.[Ch] (getLabelList): implement new method
12394 * minibuffer.h: comment ouf setTiimer
12396 * minibuffer.C (ExecutingCB): constify res
12397 (peek_event): constify s
12398 (Set): constify ntext
12399 (Init): constify nicename
12401 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12403 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12404 (savePosition): use two params to Minibuffer::Set
12405 (restorePosition): ditto
12407 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12409 * lyx_main.C: include language.h
12411 * Makefile.am (lyx_main.o): add language.h
12413 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12419 * CutAndPaste.C: include gettext.h
12421 * lyxfont.h: remove old hack with ON and OFF.
12424 * lyxfont.h: do not include language.h...
12429 * bufferview_funcs.C:
12435 * paragraph.C: ... but do it here instead
12437 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12439 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12441 * tabular.C: small reformat
12443 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12446 (BreakParagraph): ditto
12447 (SetOnlyLayout): ditto
12450 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12453 * lastfiles.C: removed most using decl, add std:: where needed
12455 * buffer.C: ws changes
12457 * MenuBackend.C (class compare_format): put into anon namespace
12458 (expand): constify label, names, action, action2
12461 * text.C (SingleWidth): constify font
12462 (IsBoundary): constify rtl2
12463 (GetVisibleRow): constify ww
12465 * LaTeX.C (deplog): constify logfile
12467 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12469 (workAreaExpose): constify widthChange, heightChange
12471 * lyxrow.C (par): moved
12474 * lyxrow.h: as inlines here
12476 * lyxfont.h (shape): moved from lyxfont.C
12477 (emph): moved from lyxfont.C
12479 * lyxfont.C (LyXFont): use initialization list for all
12481 (shape): move to lyxfont.h as inline
12482 (emph): move to lyxfont.h as inline
12485 2001-04-04 Juergen Vigna <jug@sad.it>
12487 * vspace.C: had to include stdio.h for use of sscanf
12489 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12492 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12493 independent of xforms.
12495 2001-04-02 Juergen Vigna <jug@sad.it>
12497 * spellchecker.C: fixed namespace placing!
12499 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12501 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12502 the LyXParagraph * is 0.
12504 2001-03-29 Juergen Vigna <jug@sad.it>
12506 * vspace.C: added support for %, c%, p%, l%.
12507 (stringFromUnit): added helper function.
12508 (asLatexString): changed to give right results for the %-values.
12510 * buffer.C: convert the widthp in a width%.
12512 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12514 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12517 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12518 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12520 * lyx_cb.[Ch]: see above.
12522 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12526 * lyx.[Ch]: replaced by figure_form.[Ch].
12530 * lyxfunc.C: changed headers associated with above changes.
12532 2001-03-27 Juergen Vigna <jug@sad.it>
12534 * BufferView_pimpl.C: set the temporary cursor right!
12536 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12538 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12540 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12542 * LString.h: removed "using std::getline"!
12544 * BufferView_pimpl.C (Dispatch): changes due to changes in
12545 InsetInclude::Params.
12547 * buffer.C (tag_name): removed redundant break statements as they were
12548 producing lots of warnings with my compiler.
12550 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12552 * LString.h: add "using std::getline" when using the real <string>.
12554 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12556 * buffer.C: removed bitset usage.
12557 PAR_TAG moved to an anonymous name space.
12558 (tag_name): new funtion, also in the anonymous namespace.
12559 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12560 (makeDocBookFile): clean code. Completed transition from string arrays
12562 (SimpleDocBookOnePar): code clean.
12564 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12566 * tabular.C: add some comments.
12568 2001-03-22 Juergen Vigna <jug@sad.it>
12570 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12571 compatibility read a bit and fixed bug with minipage in different
12574 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12576 * buffer.C (pop_tag): removed.
12577 (push_tag): removed.
12578 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12579 array replaced with vector. Added support for CDATA sections.
12580 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12582 (makeDocBookFile): XML conformant declaration of CDATA section,
12583 fixed bug related to <emphasis> in the first paragraph char.
12584 (sgmlOpenTag): exclude empty tags.
12585 (sgmlCloseTag): ditto.
12587 * buffer.h (pop_tag): removed.
12588 (push_tag): removed.
12590 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12592 * language.h (Languages): added size_type and size().
12594 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12596 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12597 response on compability reading of minipages. One probliem is that
12598 the old usage of minipages was «flertydig»
12600 * several files here and in subdirs: don't use static at file
12601 scope use anon namespaces instead.
12603 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12605 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12606 LaTeX output. This is necessary for Literate document
12609 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12611 * buffer.C: insert hfill when needed.
12613 * tabular.C (l_getline): use string::erase, small whitespace change.
12615 * BufferView_pimpl.C: try the anon namespace.
12616 * WorkArea.C: ditto
12618 2001-03-16 Juergen Vigna <jug@sad.it>
12620 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12621 otherwise it won't open options-dialogs.
12623 * buffer.C: honor pextraWidth(p) on converting minipages.
12625 * tabular.C (l_getline): changed the functions to strip trailing \r.
12627 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12629 * BufferView_pimpl.C:
12630 * minibuffer..C: added "using SigC::slot" declaration.
12632 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12634 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12640 * paragraph.C: ditto
12642 * lyxtext.h: NO_PEXTRA
12644 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12646 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12647 * ParameterStruct.h: ditto
12648 * ParagraphParameters.h: ditto
12649 * lyxparagraph.h: ditto
12651 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12653 * buffer.C: add compability for minipage alignment.
12654 (latexParagraphs): remove unwanted pextra check.
12656 * several files: remove CXX_WORKING_NAMESPACES
12658 * buffer.C (pop_tag): tie is in namespace boost
12660 * BufferView.h: noncopyable is in namespace boost
12662 * lyx_main.h: ditto
12665 * lastfiles.h: ditto
12666 * bufferlist.h: ditto
12667 * ShareContainer.h: ditto
12669 * LyXAction.h: ditto
12672 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12674 * Merging changes from BRANCH_MVC back into HEAD.
12676 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12678 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12680 * BufferView_pimpl.C: change from intl.C
12684 * Makefile.am: move combox.*
12690 * intl.C: remove dialog (covered by prefs)
12692 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12694 * lyxfunc.C (Dispatch): removed redundant break statement.
12696 2001-03-14 Juergen Vigna <jug@sad.it>
12698 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12700 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12702 * buffer.C: add hack to fix compability reading of minipages.
12704 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12706 * buffer.C (getLists): Cleanup.
12708 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12710 * lyxfont.C (update): don't honor toggleall on font size.
12712 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12716 * Makefile.am: moved to frontends/xforms/
12720 * BufferView_pimpl.C: changes for moved mathpanel
12722 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12724 * gettext.h: fix gettext_init() in --disable-nls
12726 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12728 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12730 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12733 * lyx.h: strip external form
12735 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12737 * BufferView_pimpl.C: add comment, destroySplash()
12739 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12741 * BufferView_pimpl.C:
12745 * lyxfunc.C: use re-worked insetinclude
12747 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12749 * buffer.C: add using std::stringstream.
12751 * lyx_cb.C: readd using std::ios.
12753 * buffer.C: add using std::map.
12755 * BufferView_pimpl.C: add using std::vector.
12757 * ShareContainer.h: add std:: to swap.
12759 * buffer.h: add some typedefs
12760 * buffer.C (getLists): use them
12761 (getLists): renamed from getTocList.
12762 add a counter for the different float types and use it in the
12764 (getLists): use the same counter for the NEW_INSETS and the "non"
12767 * lyx_cb.h: remove unused items, includes, using etc.
12769 * ShareContainer.h: remove some commented code, add more comments
12770 and "documentation".
12772 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12774 * buffer.C (getTocList): make the list also when NEW_INSETS is
12777 * buffer.h: remove TocType
12779 * buffer.C (getTocList): change to return a map<string,
12780 vector<TocItem> >, implement for dynamic number of list.
12782 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12783 * text2.C (PasteSelection): adjust
12784 * CutAndPaste.C (pasteSelection): adjust
12786 * FloatList.C (FloatList): update from the new_insets branch.
12787 * Floating.[Ch]: ditto
12788 * LaTeXFeatures.C: ditto
12790 * lyxlex_pimpl.C: ditto
12792 * paragraph.C (Last): remove when NEW_INSETS is defined.
12794 * other file: changes because of the above.
12796 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12798 * lyxparagraph.h: rename next to next_, previous to previous_,
12799 make them private for NEW_INSETS. Rename Next() to next(),
12800 Previous() to previous().
12802 * other files: changes because of the above.
12804 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12807 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12810 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12812 * main.C (main): pass lyx_localedir to gettext_init().
12814 * gettext.h: remove locale_init and gettext_init macros
12816 * gettext.C (locale_init): new function
12817 (gettext_init): new function
12819 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12822 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12824 * Moved credits to frontends:
12825 * credits.[Ch]: removed
12826 * credits_form.[Ch]: removed
12827 * lyx_gui_misc.C: remove credits stuff
12830 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12832 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12834 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12835 unneeded destructor.
12837 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12838 a standalone pointer again.
12840 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12842 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12848 * ToolbarDefaults.C:
12857 * BufferView_pimpl.C: use new file dialog in GUII
12860 * lyx_cb.C: remove LayoutsCB to Toolbar
12862 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12864 * ShareContainer.h (get): add std:: qualifier
12866 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12868 * ShareContainer.h: define a proper ShareContainer::value_type
12869 type (and use typename to please compaq cxx)
12871 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12873 * lyxparagraph.h: move serveral local vars to
12874 ParameterStruct/ParagraphParameters., use ShareContainer in
12875 FontTable., make vars in FontTable private and add getter and
12878 * paragraph.C: changes because of the above.
12880 * lyxfont.h: remove copy constructor and copy assignment. (the
12881 default ones is ok), move number inside FontBits. move inlines to
12884 * lyxfont.C: add number to initializaton of statics, move several
12885 inlines here. constify several local vars. some whitespace
12886 cleanup. Dont hide outerscope variables.
12888 * Spacing.h: add two new constructors to match the set methods.
12890 * ShareContainer.h: new file, will perhaps be moved to support
12892 * ParameterStruct.h: new file
12894 * ParagraphParameters.h: new file
12896 * ParagraphParameters.C: new file
12898 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12899 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12901 * BufferView_pimpl.C: ParagraphParameter changes.
12902 * buffer.C: Likewise.
12903 * bufferview_funcs.C: Likewise.
12904 * text.C: Likewise.
12905 * text2.C: Likewise.
12907 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12909 * lyxfind.C (LyXReplace): do not redefine default argument in
12911 (IsStringInText): ditto
12912 (SearchForward): ditto
12913 (SearchBackward): ditto
12915 2001-03-06 Juergen Vigna <jug@sad.it>
12917 * lyxfind.C (IsStringInText): put parentes around expressions.
12919 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12921 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12923 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12925 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12927 * stl_string_fwd.h: add comment
12929 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12932 * tabular.C: remove unused DocBook methods
12938 killed DO_USE_DEFAULT_LANGUAGE
12940 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12942 * lyx_gui.C: do not include language.h.
12944 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12945 arguments in function implementation.
12947 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12949 * BufferView_pimpl.C: add <ctime>
12951 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12953 * BufferView_pimpl.C: add using std::find_if
12955 2001-02-27 José Matos <jamatos@fep.up.pt>
12957 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12960 2001-02-11 José Matos <jamatos@fep.up.pt>
12962 * buffer.C (makeDocBookFile): command styles now have a parameter as
12963 "title" by default.
12965 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12967 * layout_forms.[Ch]: removed
12968 * lyx_cb.[Ch]: out character
12969 * lyx_gui.C: out character
12970 * lyx_gui_misc.C: out character
12971 * bufferview_funcs.C: : out character,
12972 added toggleall as parameter in ToggleAndShow
12974 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12976 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12978 * text2.C (SetCurrentFont): Disable number property at boundary.
12980 2001-02-26 Juergen Vigna <jug@sad.it>
12982 * lyxfunc.C (getStatus): added a string argument override function so
12983 that this is correctly called from LyXFunc::Dispatch if it contains a
12984 do_not_use_argument which is used!
12985 (Dispatch): added check for "custom" export and call appropriate func.
12987 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12989 * lyxrc.C: Add language_command_local, language_use_babel and
12990 language_global_options.
12992 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12994 * buffer.C (makeLaTeXFile): Use language_use_babel and
12995 language_global_options.
12997 2001-02-23 Juergen Vigna <jug@sad.it>
12999 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13000 which works with LyXText and putted it inside BufferView. Here now we
13001 only call for that part the BufferView::Dispatch() function.
13003 * BufferView.C (Dispatch): added.
13005 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13006 functions which needs to use a LyXText over from LyXFunc.
13007 (MenuInsertLyXFile): added
13008 (getInsetByCode): added
13009 (moveCursorUpdate): added
13010 (static TEXT): added
13012 2001-02-22 Juergen Vigna <jug@sad.it>
13014 * BufferView_pimpl.C (update): call a status update to see if LyXText
13017 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13019 * vc-backend.C (revert): implement for CVS
13020 (getLog): implement for CVS
13022 2001-02-20 Juergen Vigna <jug@sad.it>
13024 * text2.C (ClearSelection): added BufferView param for inset_owner call
13026 * lyxfunc.C (TEXT): added this function and use it instead of
13027 directly owner->view()-text of getLyXText().
13029 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13031 * src/layout_forms.C: out preamble
13032 * src/layout_forms.h: out preamble
13033 * src/lyx_cb.C: out preamble
13034 * src/lyx_cb.h: out preamble
13035 * src/lyx_gui.C: out preamble
13036 * src/lyx_gui_misc.C: out preamble
13037 * src/lyxfunc.C: connect with guii preamble
13039 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13041 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13043 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13045 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13046 whether to run bibtex.
13048 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13050 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13052 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13054 * Makefile.am (lyx_SOURCES): removed bibforms.h
13056 * vspace.h: doxygen
13058 * text.C (GetVisibleRow): make several local vars const
13060 * tabular.C: small cleanup.
13062 * lyxserver.C (callback): use compare instead of strncmp
13064 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13065 inlines to after class or to paragraph.C
13067 * lyxfont.h: remove friend operator!=
13069 * converter.h: move friend bool operator< to non friend and after
13072 * combox.h: small cleanup
13074 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13075 to inlines after class def.
13077 * buffer.C (pop_tag): use string operations instead of strcmp
13079 * bmtable.c: doxygen, small cleanup
13081 * LaTeX.h: remove friend operator==
13083 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13095 * BufferView_pimpl.C:
13096 * BufferView.[Ch]: remove cruft
13098 2001-02-14 Juergen Vigna <jug@sad.it>
13100 * lyxfunc.C: removed #if 0 unused code
13102 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13104 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13106 * text2.C (SetSelection): added a BufferView * parameter
13108 2001-02-13 Juergen Vigna <jug@sad.it>
13110 * lyxfunc.C (Dispatch): fixed protected blank problem.
13111 * BufferView2.C (protectedBlank): added LyxText * parameter.
13113 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13114 (AppendColumn): same as above for column_info.
13116 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13117 (moveCursorUpdate): use a LyXText param for support of InsetText.
13119 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13120 (tripleClick): ditto
13122 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13124 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13126 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13128 * text2.C (SetSelection): set correct update status if inset_owner
13129 (ToggleFree): ditto
13131 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13133 * tabular.C: remove some commented code.
13135 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13137 * BufferView_pimpl.C: call hideSplash()
13139 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13142 * bibforms.h: remove
13145 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13146 add LFUN_CHILD_CREATE
13148 * counters.h: fix tiny typo
13153 * lyx.C: move splash to frontends/xforms/
13155 * lyx_gui_misc.C: move Include and Bibform to frontends
13157 * lyxvc.h: clarify comment
13159 * vspace.C: tiny housekeeping
13161 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13163 * text.C (PrepareToPrint): RTL Fix.
13165 * paragraph.C (GetUChar): New method.
13166 (String): Use GetUChar.
13168 * buffer.C (asciiParagraph): Use GetUChar.
13170 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13172 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13174 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13177 * buffer.C: rename to getLogName(), handle
13178 build log / latex log nicely
13180 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13183 * MenuBackend.h: remove support for reference menuitem type.
13185 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13187 * BufferView_pimpl.C: housekeeping
13188 * BufferView_pimpl.h:
13193 * minibuffer.h: move Timeout GUI-I
13195 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13197 * lyxrc.C (read): Update converters data-structures.
13199 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13201 * LaTeX.h (operator!=): add operator != for Aux_Info
13203 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13205 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13207 * LaTeXLog.C: deleted, useful code moved to Buffer
13210 * buffer.C: new function getLatexLogName()
13216 * lyxfunc.C: use frontends for LaTeX and VC logs
13218 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13220 * LaTeX.h: yet another std:: that Allan forgot.
13222 * Variables.C (set): renamed from isset(), because this clashes
13223 with some HP-UX macros (grr).
13225 2001-02-06 Allan Rae <rae@lyx.org>
13227 * LaTeX.h: Another bug fix. Missing std:: this time.
13229 2001-02-04 Allan Rae <rae@lyx.org>
13231 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13232 floats problem. I've left it commented out because it's not quite
13233 correct. It should also test that the current object is a table or
13234 figure inset. But I haven't gotten around to figuring out how to do
13235 that. I *think* it'll be something like: "table" == inset.type()
13237 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13240 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13242 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13243 all the citation/databases/styles in the auxilary file.
13244 (run): Rerun latex if there was a babel language error.
13246 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13248 * text.C (Backspace): Preserve the font when changing newline char
13250 (BreakParagraph): If the cursor is before a space, delete the space.
13252 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13254 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13256 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13257 new argument (code).
13258 (ChangeCitationsIfUnique): New method.
13260 * paragraph.C (GetPositionOfInset): Handle bibkey.
13262 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13264 * BufferView_pimpl.h: change type of Position::par_pos to
13265 LyXParagraph::size_type.
13267 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13269 * BufferView_pimpl.C (savePosition, restorePosition): Write
13270 messages to minibuffer.
13272 2001-01-28 José Matos <jamatos@fep.up.pt>
13274 * buffer.C (makeDocBookFile): adds support for document language.
13275 A silly restriction on the name of LatexCommand types where removed.
13276 Added support for CDATA sections, allows to chars unescaped, used
13277 among others in code, to avoid escape < and >.
13279 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13281 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13282 saved positions instrad of a stack. Furthermore, a position is
13283 stored using paragraph id/paragraph position.
13285 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13286 Remove LFUN_REF_BACK.
13288 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13290 * converter.C (dvipdfm_options): New method.
13292 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13294 * vspace.C (isValidLength): Fix for empty input string.
13296 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13298 * LyXAction.C (init): change description of LFUN_FIGURE to
13301 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13303 * LaTeX.C: add using directive
13305 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13307 * MenuBackend.C (expand): Fix the sorting of the formats.
13309 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13311 * lyx_main.C: tiny error message fix
13313 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13315 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13316 calling fl_initialize(). This fixes the problem with ',' as
13317 decimal separator in text files.
13319 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13321 * trans.C (process): Fix the keymap bug.
13323 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13325 * LaTeX.C (scanAuxFiles): New method. Provides support for
13326 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13327 (scanLogFile) Scan for "run BibTeX" messages.
13329 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13330 OT1 font encoding. Also, load the aecompl package if the ae
13333 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13335 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13337 * texrow.C (increasePos): turn two error messages into debug
13340 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13342 * LaTeX.C (scanAux): Handle the \@input macro.
13343 (runBibTeX): Use scanAux().
13345 * language.C (latex_options_): New field.
13347 * LaTeXFeatures.C (getMacros): Add language macros.
13349 * buffer.C (makeLaTeXFile): Small fix.
13351 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13353 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13355 * text2.C: add a using directive.
13357 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13362 * lyxfunc.C: kill LyXBell.
13364 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13366 * text.C (IsBoundary): Remove the error message
13368 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13370 * lyxrc.C (setDefaults): Correct initialization value for
13373 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13375 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13378 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13379 and GotoNextNote().
13381 * src/LyXAction.C: Added reference-next.
13383 * text.C (InsertChar): Use contains instead of strchr.
13385 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13387 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13389 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13390 alignment commands (when needed).
13392 * text.C (InsertChar): Add ':' to number separator chars.