1 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * vc-backend.C (scanMaster): make the regex static
5 * LaTeX.C (scanAuxFile): make the regexs static
7 * text3.C (doInsertInset, dispatch, dispatch):
8 * text2.C (cursorUp, cursorDown):
9 * text.C (selectNextWordToSpellcheck):
10 * BufferView_pimpl.C (dispatch):
11 * lyxfunc.C (dispatch): localDispatch -> dispatch
13 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15 * lyxsocket.C: include <cerrno>
17 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
19 * lyxfunc.C (dispatch): remove textcache stuff
21 * bufferlist.C (release): remove textcache stuff
24 * TextCache.C: delete file
25 * TextCache.h: delete file
27 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
29 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
30 delete of the bv_->text.
31 (resizeCurrentBuffer): remove texcache stuff
32 (workAreaResize): ditto
34 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
36 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
39 2003-10-16 André Pönitz <poenitz@gmx.net>
46 * text3.C: speed up by storing y positions per paragraph plus per-row
47 offset instead of having a 'full' y position in the row.
49 2003-10-15 André Pönitz <poenitz@gmx.net>
53 * undo.[Ch]: make undo aware of inner insets
55 2003-10-14 Angus Leeming <leeming@lyx.org>
57 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
58 static member functions LyX::ref() and LyX::cref.
59 (lastfiles): new accessor functions for the new lastfiles_ member var.
60 (addLyXView, views_): add a new LyXView to the list of views_.
61 (updateInset): loop over all LyXViews to call their own updateInset
62 member function, returning a pointer to the Buffer owning the inset.
64 * BufferView_pimpl.C (loadLyXFile):
65 * MenuBackend.C (expandLastfiles):
66 * bufferlist.C (MenuWrite, QuitLyX):
67 lastfiles is no longer a global variable.
68 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
70 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
71 static function. Access through LyX::cref().emergencyCleanup().
73 2003-10-14 André Pönitz <poenitz@gmx.net>
75 * iterators.[Ch]: new direct access to innermost LyXText and Inset
77 * undo.[Ch]: restoring part of 'undo in insets'
80 * undo_funcs.[Ch]: merge with undo.[Ch]
82 * tabular.C: small cleansing stuff
84 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
86 * paragraph_funcs.C (readParToken): report unknown insets as error
87 boxes. Use the outer paragraph as location (also for unknown
90 * factory.C (readInset): do not abort on reading an unknown inset.
93 2003-10-13 Angus Leeming <leeming@lyx.org>
95 * lyx_main.C (LyX): remove call to setDisplayTranslator().
97 * lyxrc.C: displayTranslator is now a function,
98 declared in GraphicsTypes.h.
100 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
102 * format.C: new placeholder $$a to pass the socket address.
104 * bufferlist.[Ch]: new function getBufferFromTmp.
106 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
107 files in the temporary dir.
109 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
111 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
113 * Makefile.am: add lyxsocket.[Ch].
115 * lyx_main.C (error_handler): handle SIGPIPE.
117 2003-10-13 André Pönitz <poenitz@gmx.net>
119 * BufferView_pimpl.C:
124 * undo_funcs.[Ch]: use paroffset_type instead of
125 ParagraphList::iterators to prevent multiple conversion
126 (and get a more robust interface)
128 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
130 * lyxfunc.C (dispatch): RESULT -> dispatch_result
132 * text3.C (dispatch): ditto
134 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
136 * LaTeX.C (handleFoundFile): move the static to smaller scope,
137 move the onlyfile, use onlyfile instead of foundfile in a couple
140 * DepTable.C (update): flush the error stream a bit more
142 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
144 * lyxserver.C (callback): adjust
146 * lyxfunc.C (getStatus): add a missing brace in commented code
147 (ensureBufferClean): reindent
148 (dispatch): delete version taking a string
150 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
152 * LaTeX.C (deplog): move found file handlig from here...
153 (handleFoundFile): .. to new function here.
154 (deplog): make sure to discover several files mentioned on the
157 2003-10-10 André Pönitz <poenitz@gmx.net>
164 * text3.C: fix some of the tabular crashes
166 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
168 * MenuBackend.C (binding): put debug message into Debug::KBMAP
170 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
172 2003-10-09 André Pönitz <poenitz@gmx.net>
174 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
177 * BufferView_pimpl.C:
178 * bufferview_funcs.C:
189 * undo_funcs.C: adjust
191 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
193 * text2.C (incrementItemDepth): new function, use a backtracking
194 algorithm to discover the correct item depth.
195 (resetEnumCounterIfNeeded): new function, use a backtracking
196 algorithm to discover if counter reset is needed.
197 (setCounter): use them. Simplify a bit. Add different labels for
198 different item depths for itemize.
200 * paragraph.C (Paragraph): remove initialization of enumdepth
203 * paragraph.h: get rid of enumdepth, and use itemdepth both for
204 enumerate and itemize. Change the type of itemdepth to signed char.
206 2003-10-08 André Pönitz <poenitz@gmx.net>
208 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
213 * tabular.[Ch]: fix crash after 'row-insert'
215 2003-10-08 Angus Leeming <leeming@lyx.org>
217 Fix doxygen warnings.
219 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
220 Remove CutAndPaste:: prefix from header file declaration.
222 * LColor.h (fill): remove LColor:: prefix from declaration.
224 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
225 use lyx::depth_type rather than Paragraph::depth_type so that
226 header file and .C file match.
228 * converter.h (intToFormat): remove Converters:: prefix from declaration.
230 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
231 * aspell.C: \file aspell_local.C -> \file aspell.C
232 * gettext.C: \file gettext.C -> \file src/gettext.C
233 * gettext.h: \file gettext.h -> \file src/gettext.h
234 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
235 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
236 * text.C: \file text.C -> \file src/text.C
238 * toc.C: move comment so that doxygen is not confused.
240 2003-10-07 Angus Leeming <leeming@lyx.org>
242 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
244 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
247 * aspell_local.h: add forgotten std::string's.
249 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
256 * text3.C: The Box patch. Fancybox support, minipage, parbox
258 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
264 * ParagraphParameters.h:
274 * lyxtextclasslist.h:
278 * textcursor.h: add <string> and other small fixes to make Lars'
279 std::string patch compile with STLport.
281 2003-10-06 Angus Leeming <leeming@lyx.org>
283 * LColor.h: Add missing #include <string>.
285 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
287 * All most all file in all subdirs: Make <string> be the prefered
288 way of getting to std::string, add using declarations.
290 2003-10-06 André Pönitz <poenitz@gmx.net>
292 * metricsinfo.C: initialize LyXFont before changing attribute.
293 (fixes the 'math in \emph is upright' bug)
295 2003-10-06 André Pönitz <poenitz@gmx.net>
297 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
299 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
302 * paragraph_pimpl.C: Small fixes to build using STLport
304 2003-10-02 André Pönitz <poenitz@gmx.net>
307 * text3.C: move handling of LFUN_DEPTH *; fix #1360
309 2003-10-01 André Pönitz <poenitz@gmx.net>
311 * factory.C: assert early
313 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
315 * lyx_main.C: remove the global debug object
317 * debug.h: adjust for new debugstream
319 * debug.C: adjust for new debugstream and keep the global debug
322 2003-09-22 Angus Leeming <leeming@lyx.org>
324 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
325 of g++ which otherwise complain that the scoped_ptr destructor can't delete
326 an incomplete class LyXFont.
328 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
330 * factory.C: bug fix in branches
332 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
334 * lyxfunc.C (processKeySym): adjust
336 (dispatch): change arg name from ev to func, adjust
337 (sendDispatchMessage): ditto
339 * lyx_main.C (defaultKeyBindings): adjust keybindings
340 (deadKeyBindings): ditto
342 * kbsequence.C (addkey): return a FuncRequest
344 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
346 * kbmap.C (bind): take a FuncRequest as arg, adjust
349 (defkey): change to take a FuncRequest as arg, adjust
350 (findbinding): take a FuncRequest as arg, adjust.
352 * funcrequest.h (operator=): added
354 * funcrequest.C (FuncRequest): default kb_action changed from
355 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
357 * buffer.C (dispatch): simplify
358 (dispatch): adjust to take a FuncRequest as arg, adjust
360 * boost.C (assertion_failed): change assertion message slightly
362 * ToolbarBackend.C (read): simplify
364 * MenuBackend.C (binding): adjust call to findbinding, add a
365 message if no binding is found.
367 (expandToc): correct by adding a empty FuncRequest
369 * LyXAction.C: include <boost/assert.hpp>
370 (isPseudoAction): delete function
371 (LookupFunc): change name to...
372 (lookupFunc): this. change return type to FuncRequest.
373 (getActionName): take kb_action as arg, simplify
374 (funcHasFlag): add an assert, simplify.
376 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
378 * toc.C (action): return a FuncRequest, simplify
380 * lyxfunc.C (processKeySym): adjust
381 (getStatus): delete version that takes an int.
383 (dispatch): delete version that takes action as int
385 (sendDispatchMessage): simplify and adjust
387 * funcrequest.C (getArg): take unsigned int as arg
389 * ToolbarBackend.C (read): adjust
390 (add): delete version that takes func as a string.
391 (getIton): take a FuncRequest as arg
393 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
396 * MenuBackend.C (MenuItem): add a new construct that only takes a
397 Kind, simplify the constructor use for submenus.
399 (expandLastfiles): adjust
400 (expandDocuments): adjust
401 (expandFormats): adjust
402 (expandFloatListInsert): adjust
403 (expandFloatInsert): adjust
404 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
406 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
407 Remove class variables lyx_pseudo_map and lyx_arg_map
409 * LyXAction.C (searchActionArg): delete function
410 (getPseudoAction): delete function
411 (retrieveActionArg): delete function
412 (LookupFunc): make it return kb_action, simplify.
413 (getActionName): simplify
415 * factory.C (createInset): fix new bug
417 2003-09-19 Angus Leeming <leeming@lyx.org>
419 * CutAndPaste.C (pasteSelection): remove fudge used to set the
420 masterFilename_ parameter in the include inset.
422 * factory.C (createInset): changes due to the changes to InsetInclude.
424 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
426 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
428 2003-09-18 Angus Leeming <leeming@lyx.org>
431 * BufferView.C: pass the buffer when calling Inset::getLabelList,
432 Inset::fillWithBibKeys.
433 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
435 2003-09-18 Angus Leeming <leeming@lyx.org>
437 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
439 (ctor): pass and store a 'Buffer const &'
440 (buffer): new member function.
442 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
443 '*this' to the LaTeXFeatures ctor.
445 2003-09-18 Angus Leeming <leeming@lyx.org>
451 * text.C: rename EnumLColor as LColor_color.
453 2003-09-18 Angus Leeming <leeming@lyx.org>
455 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
456 remove #include "insets/insetbase.h" from cursor.h.
458 2003-09-18 Angus Leeming <leeming@lyx.org>
460 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
461 InsetOld_code to remove #include "inset.h".
463 * iterators.C: add #include "insets/inset.h"
465 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
467 * BufferView.C: remove more locking stuff that apparently doesn't
468 do anything sensible.
470 2003-09-16 André Pönitz <poenitz@gmx.net>
473 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
476 2003-09-16 Angus Leeming <leeming@lyx.org>
478 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
480 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
483 * paragraph.h: remove #include "lyxfont.h". Forward declare
486 2003-09-16 Angus Leeming <leeming@lyx.org>
488 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
489 of support/textutils.h.
490 (isWord): move the contents of support/textutils.h's IsWordChar here.
496 * text2.C: add #include "paragraph.h".
499 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
501 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
507 * LaTeX.C: use namespace alias for lyx::support::os
509 2003-09-16 Angus Leeming <leeming@lyx.org>
512 * bufferview_funcs.C:
517 * text.C: add #include "LColor.h".
519 2003-09-16 Angus Leeming <leeming@lyx.org>
521 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
522 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
524 Store the FontBits::color variable as an int rather than as an
525 LColor::colorso that we can move LColor.h out of the lyxfont.h header
528 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
529 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
530 string calls together.
532 * lyxrc.C: add #include "LColor.h".
534 2003-09-15 Angus Leeming <leeming@lyx.org>
536 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
539 2003-09-15 Angus Leeming <leeming@lyx.org>
541 * LColor.h: add an EnumLColor wrapper for LColor::color.
543 * lyxfont.[Ch] (color, setColor, realColor):
544 * lyxtext.h, text.C (backgroundColor):
545 pass EnumLColor args to/from the functions, rather than LColor::color
549 * lyxtext.h: forward declare EnumLColor.
551 * lyx_main.C: add #include "LColor.h".
553 2003-09-15 Angus Leeming <leeming@lyx.org>
555 * .cvsignore: add lyx-gtk.
557 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
562 * ParagraphParameters.C
576 * vc-backend.C: remove usage of STRCONV
578 2003-09-15 Angus Leeming <leeming@lyx.org>
580 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
581 explicitly define the color passed to the painter.
583 2003-09-15 Angus Leeming <leeming@lyx.org>
585 * bufferparams.C (BufferParams): reorder member initializers to avoid
588 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
590 * CutAndPaste.C (pasteSelection): remove an outdated #warning
591 * text.C (updateRowPositions): remove an unusual nop
593 2003-09-12 André Pönitz <poenitz@gmx.net>
595 * BufferView_pimpl.C:
604 * Counters.[Ch]: finish the 'automatic counters' job
606 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
608 * aspell.C: include <boost/assert.cpp> (compile fix)
610 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
612 * boost.C (assertion_failed): use lyx::support::abort instead of
615 2003-09-10 Angus Leeming <leeming@lyx.org>
617 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
618 with their _fwd progeny.
620 2003-09-09 Angus Leeming <leeming@lyx.org>
622 134 files throughtout the source tree: replace 'using namespace abc;'
623 directives with the appropriate 'using abc::xyz;' declarations.
625 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
627 * boost.C (emergencyCleanup): moved here from LAssert.c
628 (assertion_failed): new function, called by BOOST_ASSERT
630 * several files: change Assert to BOOST_ASSERT
632 2003-09-09 Angus Leeming <leeming@lyx.org>
634 * buffer.[Ch]: Add an Impl class and move Buffer's member
635 variables into it. As a result move several header files out of
638 Add header files to lots of .C files all over the tree as a result.
640 2003-09-09 Angus Leeming <leeming@lyx.org>
642 * buffer.[Ch]: make Buffer's member variables private. Add
645 Lots of changes all over the tree as a result.
647 2003-09-08 Angus Leeming <leeming@lyx.org>
649 * graph.C: #include <config.h>.
651 2003-09-08 Angus Leeming <leeming@lyx.org>
655 * BufferView_pimpl.C:
684 * toc.C: remove redundant using directives.
686 2003-09-07 Angus Leeming <leeming@lyx.org>
688 * LaTeXFeatures.h: remove #include "support/types.h".
689 * ToolbarBackend.h: remove #include <algorithm>.
690 * changes.h: remove #include <ctime>.
691 * debug.h: remove #include <iosfwd>.
692 * graph.h: remove #include "support/std_string.h".
693 * lyx_main.h: remove #include <csignal>.
694 * lyxlex_pimpl.h: remove #include <fstream>.
695 * sgml.h: remove #include <algorithm>, <utility>.
696 * toc.h: remove #include "support/std_ostream.h".
697 Add #include <iosfwd>.
699 2003-09-07 Angus Leeming <leeming@lyx.org>
701 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
703 * converter.h: forward declare LatexRunParams.
704 * encoding.h: remove #include "lyxrc.h".
705 * lyxtext.h: remove #include "LColor.h".
706 * lyxtextclass.h: remove #include "support/types.h".
707 * trans.h: remove #include "tex-accent.h".
708 * trans_mgr.h: remove #include "tex-accent.h".
709 * insets/inset.h: remove #include "support/types.h", <vector>.
710 * insets/insetcollapsable.h: remove #include "LColor.h".
711 * insets/insetinclude.h: remove #include "dimension.h".
712 * insets/insetlatexaccent.h: remove #include "dimension.h".
713 * insets/insetoptarg.h:: remove #include "insettext.h".
714 * insets/insettext.h: remove #include "dimension.h",
715 <boost/shared_ptr.hpp>
717 * insets/renderers.h: add #include "dimension.h".
718 * insets/updatableinset.h: add #include "support/types.h".
720 * many .C files: Associated changes.
722 2003-09-06 Angus Leeming <leeming@lyx.org>
724 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
725 one, inside testInvariant.
727 * PrinterParams.C: new file.
728 * PrinterParams.[Ch]: move the function bodies out of line.
730 2003-09-06 Angus Leeming <leeming@lyx.org>
732 * ParagraphParameters.h: forward declare ParameterStruct rather than
733 including its header file.
734 (depth): moved out-of-line.
736 2003-09-06 Angus Leeming <leeming@lyx.org>
738 * BufferView_pimpl.h:
741 * lyxfunc.h: forward declare LyXKeySym rather than
742 #include "frontends/LyXKeySym.h".
744 * BufferView_pimpl.C:
747 * lyxfunc.C: associated changes.
749 2003-09-06 Angus Leeming <leeming@lyx.org>
751 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
752 As a result, can remove the #include "insets/inset.h" from BufferView.h
754 2003-09-06 Angus Leeming <leeming@lyx.org>
756 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
757 As a result, can remove the #include "insets/inset.h" from BufferView.h
759 2003-09-06 Angus Leeming <leeming@lyx.org>
765 * bufferview_funcs.C:
766 * BufferView_pimpl.C:
771 * ParagraphParameters.C:
776 * frontends/controllers/ControlDocument.C:
777 * insets/insetcaption.C: rearrange the #includes into some sort of
780 * buffer.h: remove #includes ErrorList.h, undo.h
782 2003-09-06 Angus Leeming <leeming@lyx.org>
784 * support/types.h: add a 'depth_type' typedef, used to store the
785 nesting depth of a paragraph.
788 * ParameterStruct.h: use this lyx::depth_type typedef rather than
793 * ParagraphParameters.h:
794 * sgml.h: use lyx::depth_type rather than Paragraph or
795 ParameterStruct's depth_type.
798 * paragraph_funcs.h: no need to #include paragraph.h anymore.
801 * BufferView_pimpl.C:
803 * ParagraphParameters.C:
806 * bufferview_funcs.C:
813 * frontends/LyXView.C:
814 * frontends/controllers/ControlDocument.C:
815 * frontends/controllers/ControlErrorList.C:
816 * insets/insetbibitem.C:
817 * insets/insetbranch.C:
818 * insets/insetcaption.C:
819 * insets/insetcollapsable.C:
822 * insets/insetfloat.C:
823 * insets/insetfoot.C:
824 * insets/insetfootlike.C:
825 * insets/insetnewline.C:
826 * insets/insetquotes.C:
827 * insets/insettabular.C:
828 * insets/insettext.C:
829 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
831 * frontends/controllers/ControlChanges.C: #include "changes.h".
833 2003-09-06 Angus Leeming <leeming@lyx.org>
835 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
836 than #including paragraph.h.
839 * RowList.h: deleted. Superfluous.
849 * insets/insettext.h: use ParagraphList_fwd.h rather than
852 * paragraph.h: don't forward declare ParagraphList.
855 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
856 rather than ParagraphList.h. paragraph.h is still needed for the
857 Paragraph::depth_type parameters.
859 * textcursor.h: enable it to compile stand-alone in light of the
862 * bufferview_funcs.C:
874 * frontends/controllers/ControlParagraph.C:
875 * frontends/controllers/ControlTabular.C:
876 * insets/insetmarginal.C:
877 * insets/insetminipage.C:
878 * insets/insetnote.C:
879 * insets/insetoptarg.C: add header files needed to compile again.
881 2003-09-06 Angus Leeming <leeming@lyx.org>
883 * RowList_fwd.h: new file, forward-declaring Row rather than
889 * insets/insettext.h: use it instead of RowList.h
891 * bufferview_funcs.C:
898 * text3.C: #include "RowList.h".
900 2003-09-05 Angus Leeming <leeming@lyx.org>
902 * factory.C (createInset):
903 * vspace.C (c-tor): replace sscanf call with an istringstream.
904 * ispell.C: re-add missing HP/UX headers.
905 * lyxserver.C: re-add missing os2 headers.
907 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
916 * text3.C: re-add missing system headers, needed for 2.95.2.
918 2003-09-05 Angus Leeming <leeming@lyx.org>
920 Changes most place everywhere due to the removal of using directives
921 from support/std_sstream.h.
923 2003-09-05 Angus Leeming <leeming@lyx.org>
925 Replace LString.h with support/std_string.h,
926 Lsstream.h with support/std_sstream.h,
927 support/LIstream.h with support/std_istream.h,
928 support/LOstream.h with support/std_ostream.h.
930 Changes resulting throughout the tree.
932 2003-09-05 Angus Leeming <leeming@lyx.org>
934 * sgml.h: ensure that the header file can be compiled stand-alone.
935 * *.C: strip out redundant #includes. (320 in total.)
937 2003-09-04 Angus Leeming <leeming@lyx.org>
939 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
940 here (from getPackages).
942 * debug.[Ch]: add a new EXTERNAL tag.
944 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
946 * text2.C (cursorEnd): simplify
948 (getColumnNearX): adjust
950 * text.C (computeBidiTables): adjust
953 * rowpainter.C (paintChars): adjust
954 (paintSelection): adjust
955 (paintChangeBar): adjust
958 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
960 (numberOfSeparators): adjust
962 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
968 * text3.C: Restricts the mouse click functionality
969 of insets like bibtex, include, toc and floatlist to the visible
970 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
971 up the dialogs. Cursor has to be in front of the inset (i.e.
972 start of row) for this to function.
974 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
976 * bufferview_funcs.C (currentState): output row information
978 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
980 * bufferview_funcs.C (currentState): output paragraph position
982 2003-09-04 Angus Leeming <leeming@lyx.org>
984 * FloatList.h: move out #include "Floating.h".
985 * LaTeX.h: move out #include "DepTable.h".
986 * LyXAction.h: move out #include "funcrequest.h".
987 * buffer.h: move out #include "author.h", "iterators.h".
988 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
989 * lyx_main.h: move out #include "errorlist.h".
990 * lyxfunc.h: move out #include "FuncStatus.h".
991 * lyxtext: move out #include "lyxcursor.h".
992 * paragraph_pimpl.h: move out #include "counters.h".
994 2003-09-03 Angus Leeming <leeming@lyx.org>
996 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
997 preamble_snippets list, enabling us to add snippets to the preamble
998 only if the snippet was not there already.
1000 2003-09-04 Angus Leeming <leeming@lyx.org>
1002 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1004 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1006 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1009 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1011 * BranchList.C: point fix, earlier forgotten
1013 2003-09-02 Angus Leeming <leeming@lyx.org>
1015 * box.C (contains): renamed from 'contained' after a fantastic
1018 2003-09-02 John Levon <levon@movementarian.org>
1024 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1026 2003-09-02 John Levon <levon@movementarian.org>
1028 * text2.C: simplification of cursorEnd(), including partial
1031 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1033 * buffer.C (readFile): add a space
1035 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1037 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1039 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1041 * buffer.C (readFile): new function, take a filename and a
1042 ParagraphList::iterator
1044 (readFile): adjust, make it private. don't use setStream, make
1045 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1046 always contain the filename.
1048 * BufferView.C (insertLyXFile): simplify and make it work for
1051 2003-08-30 John Levon <levon@movementarian.org>
1053 * Makefile.am: fix dist (from Kayvan)
1055 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1057 * most files: change to use const Buffer refs
1059 2003-08-27 André Pönitz <poenitz@gmx.net>
1061 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1062 on top of ownerPar().
1064 2003-08-27 John Levon <levon@movementarian.org>
1066 * funcrequest.C: properly initialise POD members
1068 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1070 * lyxtext.h (top_y): move top_y from here
1075 * BufferView_pimpl.[Ch]: to here
1076 * frontends/screen.C:
1077 * insets/insettabular.C:
1078 * insets/insettext.C: adjust
1079 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1081 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1084 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1086 2003-08-26 André Pönitz <poenitz@gmx.net>
1088 * paragraph_func.[Ch] (outerPar): new function
1091 * paragraph_funcs.C:
1092 * paragraph_funcs.h:
1093 * paragraph_pimpl.C:
1094 * text2.C: remove Inset::par_owner
1096 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1101 * text2.C: eliminates the needFullRow/display() stuff
1102 altogether, putting the logic in metrics/draw in the insets.
1104 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1106 * text2.C (redoParagraphInternal, redoParagraphs):
1107 * text.C (redoParagraph): add a call to updateRowPositions at the
1108 end of each 'metrics-like' call. Remove all others.
1109 (getRow): remove the 'y-computing' version.
1110 (getRowNearY): do not compute nor return the real y. Solve the
1111 'y < 0' problem and simplify.
1113 2003-08-22 Angus Leeming <leeming@lyx.org>
1115 * *.[Ch]: clean-up of licence and author blurbs.
1116 Also move config.h out of a few .h files and into a few .C files.
1118 2003-08-22 André Pönitz <poenitz@gmx.net>
1120 * lyxrow.[Ch]: add x_ and *fill_ members
1125 * text2.C: adjust/remove prepareToPrint() calls
1127 2003-08-22 André Pönitz <poenitz@gmx.net>
1129 * lyxrow.[Ch]: add end_ member
1131 * lyxrow_funcs.C: use LyXRow::end_
1133 * lyxtext.h (singleWidth): add LyXFont parameter
1136 * text2.C: adjust LyXText::singleWidth() calls
1138 * text.C (redoParagraph): simplify row breaking logic
1141 2003-08-19 André Pönitz <poenitz@gmx.net>
1143 * funcrequest.C: initialize button_ member
1146 * rowpainter.[Ch]: interface consolidation
1148 2003-08-18 André Pönitz <poenitz@gmx.net>
1151 * BufferView_pimpl.C:
1153 * paragraph_funcs.C:
1155 * text3.C: remove LyXScreen::draw() and fitCursor calls
1157 * BranchList.h: remove spurious semicolons
1159 * MenuBackend.C: fix branchlist related crash
1161 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1169 * bufferparams.[Ch]:
1173 * text3.C: implements the 'branch inset'
1174 idea. This allows the output of various versions of a document
1175 from a single source version, selectively outputing or suppressing
1176 output of parts of the text.
1177 This implementation contains a 'branch list editor' in a separate
1178 tab of the document settings dialog. Branches are user definable
1179 and have a "display colour" to distinguish them on-screen.
1181 ColorHandler was somewhat cleaned up.
1182 (1) make possible a dynamically growing LColor list by allowing
1183 the graphic context cache to grow along (vector);
1184 (2) eliminate an IMHO unnecessary step in colour allocation.
1186 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1188 * BufferView_pimpl.C: compile fix
1190 2003-08-15 André Pönitz <poenitz@gmx.net>
1192 * rowpainter.C: remove extra metrics calls
1194 * lyxtext.h: merge the two constructors into a single one,
1195 pass reference to owner's par list
1197 * BufferView_pimpl.C:
1201 2003-08-15 André Pönitz <poenitz@gmx.net>
1203 * lyxrow_funcs.[Ch]:
1206 * paragraph_funcs.C:
1211 * text_funcs.C: split LyXText::rowlist_ into individual
1212 Paragraph::rows_ chunks
1215 * BufferView_pimpl.[Ch]:
1218 * text3.C: remove toggleSelection()
1220 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1222 * bufferlist.C: beautify two alerts (shorter text of buttons)
1223 * buffer.C: Remove redundant ' ' from message
1225 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1226 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1227 rename VALIGN_CENTER to VALIGN_MIDDLE
1229 2003-08-11 André Pönitz <poenitz@gmx.net>
1231 * lyxtext.h (getPar):
1232 * text.C: new function
1234 2003-08-11 André Pönitz <poenitz@gmx.net>
1237 * tracer.[Ch]: remove unneeded files
1239 * InsetList.[Ch]: remove resizeInsetsLyXText()
1244 * text3.C: merge insertParagraphs() and appendParagraph()
1245 remove breakAgain(), update()
1247 * BufferView_pimpl.[Ch]:
1248 * bufferview_funcs.[Ch]:
1252 * tabular.C: adjust after text & InsetList changes.
1254 2003-08-08 André Pönitz <poenitz@gmx.net>
1256 * text.C (insertChar, backspace): replace rowlist fiddling
1257 with rebreak of full par
1260 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1261 checkParagraph, updateInset): removed
1263 2003-08-07 André Pönitz <poenitz@gmx.net>
1266 * text3.C: merge some LFUN handlers, remove dead code
1268 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1270 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1272 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1274 * text2.C (DEPM): fix part of bug 1255 and 1256
1276 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1278 * BufferView_pimpl.C (workAreaDispatch): change to use
1279 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1280 that are no mouse related.
1282 2003-08-05 André Pönitz <poenitz@gmx.net>
1285 * BufferView_pimpl.[Ch]:
1286 * bufferview_funcs.C:
1288 * text3.C: rip out "deep update"
1290 * textcursor.[Ch] (last_sel_cursor): remove unused member
1292 2003-08-04 André Pönitz <poenitz@gmx.net>
1295 * BufferView_pimpl.[Ch]:
1296 * ParagraphParameters.C:
1297 * bufferview_funcs.C:
1303 * text3.C: replace "complicated" BufferView::update(...) calls with
1306 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1308 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1310 * Makefile.am (lyx_SOURCES): add paper.h
1312 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1314 * Makefile.am: move things around so that both lyx-qt and
1315 lyx-xforms can be built (according to --with-frontend). Then lyx
1316 is a symbolic link to lyx-[firstfrontend]
1318 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1320 * Always use std::endl with lyxerr
1322 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1324 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1326 2003-08-01 André Pönitz <poenitz@gmx.net>
1329 * BufferView_pimpl.[Ch]:
1331 * text3.C: merge BufferView::repaint() and BufferView::update()
1333 2003-08-01 José Matos <jamatos@lyx.org>
1335 * buffer.[Ch]: file_format is no longer a buffer data element.
1337 2003-08-01 André Pönitz <poenitz@gmx.net>
1342 * text2.C: make redoParagraph more independent of current cursor
1344 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1346 * text2.C: remove unneeded members
1348 2003-07-30 André Pönitz <poenitz@gmx.net>
1350 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1352 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1353 create a single function...
1355 * paragraph_funcs.C (moveItem): ... here.
1358 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1360 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1362 * LColor.[Ch]: Add comment and greyedout logical colors.
1364 2003-07-30 André Pönitz <poenitz@gmx.net>
1366 * tabular.C: don't use Assert too heavily. This crashes where it
1369 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1371 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1372 is disabled (bug 1232)
1374 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1376 * factory.C: limited 'arg' scope
1378 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1380 * factory.C: fixed Note submenu issues
1382 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1384 * factory.C: submenu for Note/Comment/Greyedout
1386 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1389 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1391 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1394 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1395 greyedout. Patch provided by Jürgen Spitzmüller.
1397 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1399 * kbmap.C (read): fix error message when reading bind files
1401 2003-07-29 Angus Leeming <leeming@lyx.org>
1403 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1404 certainly does not do what it purports to do. I am doing it, and
1405 us, a favour by killing it.
1407 2003-07-28 José Matos <jamatos@lyx.org>
1409 * buffer.C (readBody, do_writeFile):
1410 * paragraph.C(readParagraph): \end_document replaces \the_end.
1412 2003-07-29 André Pönitz <poenitz@gmx.net>
1415 * BufferView_pimpl.[Ch]:
1419 * textcursor.[Ch]: remove toggleToggle & Co
1421 2003-07-28 José Matos <jamatos@fep.up.pt>
1423 * buffer.C (readParagraph):
1424 * params_func (readParToken, readParagraph):
1425 * paragraph.C (write): \layout -> \begin_layout.
1427 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1429 * lyxlex_pimpl.C (setFile): clean up slightly.
1431 * bufferparams.h: add compressed var
1433 * buffer_funcs.C (readFile): adjust for LyXLex change
1434 (newFile): ditto + simplify
1436 * buffer.C (writeFile): handle writing of compressed files
1438 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1439 Check if the file is compressed and set a bufferparm if so.
1441 * Makefile.am (lyx_LDADD): remove explicit -lz
1443 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1445 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1446 makeDocBookFile): put the real LyX version in the first line of
1450 * version.C.in: remove lyx_docversion
1452 * tabular.C (write_attribute): add a template-based version to
1453 write enums properly
1455 2003-07-28 André Pönitz <poenitz@gmx.net>
1460 * text3.C: use doubles again for x-coordinates. They are needed.
1462 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1464 * messages.C (getLocaleDir): use lyx_localedir()
1466 * lyxlex_pimpl.C (setFile): compress stuff
1468 * buffer.C (writeFile): add some compression stuff
1469 (do_writeFile): new func, dont call expliti close... will this
1472 * Makefile.am (lyx_LDADD): add -lz
1474 2003-07-28 José Matos <jamatos@fep.up.pt>
1476 * buffer.C: increment file format.
1477 * paragraph_funcs (readParagraph, readParToken):
1478 * paragraph.C (readParagraph): add \end_layout.
1480 2003-07-27 Angus Leeming <leeming@lyx.org>
1482 * Makefile.am: remove special casing for configure-time setting of
1483 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1485 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1486 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1488 2003-07-26 André Pönitz <poenitz@gmx.net>
1490 * paragraph_func.[Ch]:
1491 * paragraph.C (realizeFont): inline it whereever it is used
1496 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1499 2003-07-26 André Pönitz <poenitz@gmx.net>
1503 * text2.C: get rid of LyXText::need_break_row
1505 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1507 * toc.[Ch]: put namespace toc inside namespace lyx
1509 * MenuBackend.C (expandToc2): adjust for lyx::toc
1512 * lyxfunc.C (dispatch): adjust for lyx::find
1514 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1515 lyx::find instead. Reorganize a bit.
1516 (LyXReplace): rename to replace
1517 (LyXFind): rename to find
1519 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1522 2003-07-26 André Pönitz <poenitz@gmx.net>
1524 * text.C (setHeightOfRow): restrict scope of temporary variable
1526 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1527 code (never has been used?)
1529 2003-07-27 Asger Alstrup <alstrup@local>
1531 * text.C (fill): Optimise algorithm to exploit that we can reuse
1532 the LyXFont for many characters.
1533 (setHeightOfRow): Same thing.
1534 (rowBreakPoint): Same thing.
1536 2003-07-26 Asger Alstrup <alstrup@local>
1538 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1540 * text.C (singleWidth): Spurious font copying in hot-spot
1541 singleWidth avoided. Reorder tests for arabic for efficiency.
1543 * text.C (fill): handle empty paragraphs better.
1545 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1548 * encoding.h: add includes
1550 * lyxrc.C: remove reading of bind files
1552 * lyx_main.C (init): setup bindings and menus only if we have a
1555 * kbmap.C (read): new method. Do the actual reading of bind
1558 * converter.C (dvipdfm_options):
1561 (output): adapt PAPER_* enums.
1563 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1565 * bufferparams.h: remove paper-related enums from there
1567 * paper.h: New file. A trivial header file to hold paper-related
1568 enums. It should later expand to contain many paper-related
1571 * lyxrc.C: declare extern displayTranslator
1573 2003-07-27 José Matos <jamatos@fep.up.pt>
1575 * tabular.[Ch] (linuxdoc): add support for tables and figures
1578 2003-07-27 José Matos <jamatos@fep.up.pt>
1580 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1581 consistency in both functions.
1582 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1584 2003-07-26 Asger Alstrup <alstrup@local>
1586 * rowpainter.C (paintRows): Change algorithm to work directly on
1587 the insets rather than asking every character in the document
1588 whether its an inset.
1590 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1592 * buffer.C (openFileWrite): factorize some code
1594 2003-07-26 Angus Leeming <leeming@lyx.org>
1597 * lyx_main.[Ch]: replace occurances of system_tempdir with
1600 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1602 * rename Inset to InsetOld
1604 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1606 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1607 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1608 which I think is a bit clearer. EDIT is gone, since it was
1609 premature optimisation, and broken for mathed anyway.
1610 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1611 with cursor positioning in insets as well (math insets still do not
1612 work, but that's a different story anyway.) It mysteriously
1613 crashes sometimes with undo in the first paragraph, but I'm fairly
1614 confident that this is a compiler bug.
1616 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1618 * paragraph.C (Paragraph): adjust for new clone return type
1620 (copyIntoMinibuffer): ditto
1622 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1624 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1625 by not having a special case, and always doing a full rebreak of
1626 the document after undo.
1628 2003-07-23 Angus Leeming <leeming@lyx.org>
1630 * factory.C (createInset): InsetExternal::setParams now takes a
1633 2003-07-23 Angus Leeming <leeming@lyx.org>
1635 * factory.C (createInset): changed interface to the external and
1636 graphics mailers' string2params functions.
1638 2003-07-23 Angus Leeming <leeming@lyx.org>
1640 * factory.C (createInset): pass a
1641 Buffer const * parameter to InsetExternalMailer's string2params.
1643 2003-07-22 John Levon <levon@movementarian.org>
1645 * Thesaurus.h: include the right aiksaurus header
1647 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1649 * MenuBackend.C (expand): check menu shortcuts unconditionally
1651 2003-07-21 Angus Leeming <leeming@lyx.org>
1653 * factory.C (createInset): pass a
1654 buffer_path parameter to InsetGraphicsMailer's string2params.
1656 2003-07-21 Angus Leeming <leeming@lyx.org>
1658 * BufferView_pimpl.C (buffer):
1661 * lyxfunc.C (dispatch):
1662 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1663 rather than the grfx shortcut.
1665 2003-07-21 André Pönitz <poenitz@gmx.net>
1667 * rowpainter.C: remove unused variables
1670 * tabular_funcs.h: move to tabular.C
1671 * Makefile.am: adjust
1673 * tabular.[Ch]: basic optical cleaning
1675 * author.h: pass references, not values
1677 2003-07-18 André Pönitz <poenitz@gmx.net>
1685 * text3.C: two-phase drawing for InsetText and InsetTabular
1686 some float -> int changes.
1688 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1690 * lyx_main.C: fix the fix
1692 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1694 * lyx_main.C: fix a crash in batch mode if no files specified
1697 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1699 * format.[Ch] (papersize): moved to BufferParams
1700 * converter.[Ch] (dvips_options): moved to BufferParams
1701 (dvipdfm_options): moved to anon namespace
1702 * bufferparams.[Ch]: added above functions.
1704 2003-07-17 André Pönitz <poenitz@gmx.net>
1708 * text2.C: don't call inset->update() anymore
1710 * metricsinfo.[Ch]: add convenience constructor
1712 2003-07-16 André Pönitz <poenitz@gmx.net>
1717 * text2.C: replace the LyXCursor::irow_ member with
1718 on-demand computation of the value
1720 2003-07-16 John Levon <levon@movementarian.org>
1722 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1724 2003-07-15 André Pönitz <poenitz@gmx.net>
1727 * text2.C: remove no more needed refresh_row
1729 2003-07-15 André Pönitz <poenitz@gmx.net>
1734 * text3.C: refresh_status tristate -> need_update bool
1736 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1738 * lyxtext.h (init): remove reinit argument (act as if always true)
1739 * text2.C: adjust to that
1741 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1743 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1744 * text3.C: use it to delete selections in some cases
1745 (bugs 441, 673, 702, 954).
1747 2003-07-14 André Pönitz <poenitz@gmx.net>
1749 * rowpainter.[Ch]: reduce interface
1751 2003-07-14 André Pönitz <poenitz@gmx.net>
1753 * BufferView_pimpl.C:
1754 * text2.C: adjust after removing unused BufferView * argument
1756 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1758 * text2.C (init): fix a crash fired on resize
1760 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1762 * buffer.[Ch]: added new closing signal
1763 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1764 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1765 BufferView::Pimpl via the closing the signal
1767 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1769 * buffer.[Ch]: take out all bv-related from buffer
1771 * BufferView_pimpl.[Ch]: connect to new signals
1772 * CutAndPaste.C: removed useless asserts
1773 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1776 * lyxfunc.C: moved view-related funciontality from vc here
1777 * paragraph.C: removed outdated comments
1780 2003-07-10 André Pönitz <poenitz@gmx.net>
1782 * BufferView_pimpl.C:
1786 * text2.C: remove InsetText::InnerCache, clean up consequences
1788 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1790 * ispell.C: fix two typos in error messages
1792 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1794 * Extend Note inset to other forms of annotation like Comment
1795 and Greyedout. Right button click gives dialog.
1797 Files modified or added (+):
1801 * ControlNote.[Ch] +
1803 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1804 frontends/controllers
1808 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1810 * aspell.C: add missing namespace lyx::support
1812 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1814 * BufferView.[Ch] (newFile): Add
1815 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1816 * LaTeX.[Ch] (message): added this signal and use it
1817 * buffer.[Ch] (busy, message): added these signals and use them
1818 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1822 * importer.C: use buffer signals instead of direct bv calling
1823 * lyx_cb.[Ch] (ShowMessage): removed
1826 * paragraph_funcs.C:
1827 * text2.C: use buffer signals
1829 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1831 * introduce namespace lyx::graphics
1833 2003-07-02 André Pönitz <poenitz@gmx.net>
1835 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1837 2003-07-01 André Pönitz <poenitz@gmx.net>
1844 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1845 text*.C to text_func.C
1847 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1849 * introduce namespace lyx::support
1851 2003-06-30 André Pönitz <poenitz@gmx.net>
1856 * text.C: re-enable --with-included-string
1858 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1860 * textcursor.C: add <config.h>
1862 * text.C (getWord): remove const from word_location arg
1864 * lyxvc.C (getLogFile): fix const type order
1866 * lyxtext.h: remove const from word_location arg, add arg name
1868 * lyxlayout.h: currect type on labeltype.
1870 * importer.C: correct \file
1872 * converter.C (intToFormat): use std:: on ret val, ws changes
1874 * bufferlist.h: correct \file
1876 * buffer.C (makeLinuxDocFile): fix const type order
1877 (makeDocBookFile): ditto
1878 (fillWithBibKeys): use std:: on stdlib args.
1880 * CutAndPaste.C: fix authors.
1881 (availableSelections): use std:: on return vector
1883 2003-06-27 André Pönitz <poenitz@gmx.net>
1885 * BufferView_pimpl.C:
1886 * bufferview_funcs.C:
1894 * text3.C: remove LyXCursor::row_ member
1897 * text.C: rename fullRebreak() to partialRebreak() and implement
1898 a fullRebreak() that really bereks fully
1900 * textcursor.h: new struct for cursor-related data
1902 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1904 * lyx_main.C (LyX): get full path of document loaded on the
1907 2003-06-26 André Pönitz <poenitz@gmx.net>
1909 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1910 remove unused/broken operator>,<,>=.
1912 * text.C: remove only use of broken operator<= in an Assert().
1914 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1916 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1917 moved errorlist_.clear to showErrorList
1919 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1921 * converter.C (scanLog, runLaTeX):
1922 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1923 move the bv->showErrorList call to the callers
1924 * lyxfunc.C: i.e. here...
1926 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1927 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1928 namespace, the second to...
1929 * buffer_funcs (BufferFormat, parseErrors): added
1930 * errorlist.C (ErrorList(TeXErrors const &)): removed
1932 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1934 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1936 2003-06-24 "Garst R. Reese" <reese@isn.net>
1940 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1942 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1944 * version.C.in: change docversion to 1.4
1946 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1948 * buffer.C: fix a bug just introduced
1950 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1952 * buffer.[Ch]: added the parseError signal and use it, removed
1954 * BufferView.[Ch] (addError): moved to ...
1955 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1956 to the Buffer::parseError signal to catch (guess what) parse errors
1957 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1959 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1961 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1962 ability to create a buffer and to return an existing one from
1963 the list. Moved these functions to...
1964 * buffer_funcs.[Ch]: added
1965 * BufferView.[Ch] (loadLyXFile): added
1966 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1967 job removed from bufferlist::loadLyXFile.
1968 * buffer.C (setReadOnly): make it work without view
1969 (i.e added an if (users))
1971 2003-06-19 Angus Leeming <leeming@lyx.org>
1974 * LyXAction.C (init):
1975 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1976 with LFUN_DIALOG_SHOW <name> <data>.
1978 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1980 * CutAndPaste.C (availableSelections): small compilation fix for
1981 ancient (gcc 2.9x) compilers
1983 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1985 * text3.C (cursorNext): add tmp var
1987 * text2.C (updateCounters): for function calling out of for clause
1988 (replaceSelectionWithString): ditto
1989 (insertStringAsParagraphs): ditto
1990 (getColumnNearX): add tmp var
1991 (setCursorFromCoordinates): add tmp var
1992 (cursorDownParagraph): add tmp var
1993 (deleteEmptyParagraphMechanism): add tmp var
1995 * text.C (insertChar): add tmp var
1997 * rowpainter.C (paintDepthBar): add tmp var
1999 * CutAndPaste.C (availableSelections): potentially check all
2000 paragraphs in a cut to fill the shown strings.
2002 2003-06-18 André Pönitz <poenitz@gmx.net>
2004 * kbmap.[Ch]: use vector<> instead of list<>
2006 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2008 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2009 pasteSelection with index
2011 * text2.C (pasteSelection): modify, call pasteSelection with index
2013 * paragraph.C (asString): reimplement version with no interval to
2014 call the one with interval.
2016 * lyxtext.h: add index arg to pasteSelection
2018 * MenuBackend.C (MenuItem): handle PasteRecent
2019 (Menu::read::Menutags): add md_pasterecent
2021 (expandPasteRecent): new function
2024 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2026 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2028 (availableSelections): new function
2030 2003-06-17 Angus Leeming <leeming@lyx.org>
2032 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2034 2003-06-17 Angus Leeming <leeming@lyx.org>
2037 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2039 * lyxfunc.C (dispatch): invoke it.
2041 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2043 * iterators.C (operator++, ParPosition): reintroduce some
2044 const_cast for the benefit of older compilers.
2046 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2048 * text3.C (dispatch): do not modify clipboard when doing
2049 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2050 LFUN_DELETE_SKIP on a selection selection
2052 2003-06-16 André Pönitz <poenitz@gmx.net>
2058 * tabular.[Ch]: IU of clone() and getLabelList();
2060 2003-06-13 André Pönitz <poenitz@gmx.net>
2062 * tabular.h: compactification
2064 2003-06-12 André Pönitz <poenitz@gmx.net>
2068 * tabular_funcs.h: some renaming plus whitespace
2070 2003-06-12 André Pönitz <poenitz@gmx.net>
2073 * BufferView_pimpl.C:
2079 * toc.C: Return a Paragraph & for ParIterator::operator*()
2081 2003-06-11 John Levon <levon@movementarian.org>
2085 * ToolbarBackend.C: add "Toolbars" section and
2088 2003-06-10 Angus Leeming <leeming@lyx.org>
2091 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2093 * lyxfunc.C (dispatch): invoke it.
2095 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * main.C: protect <ios> with HAVE_IOS
2098 (main): protect sync_with_stdio with HAVE_IOS
2100 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2102 * text2.C (cutSelection): adjust
2103 (pasteSelection): adjust
2105 * messages.C: handle get of empty string
2107 * main.C (main): use sync_with_stdio(false)
2109 * lyxfunc.C (dispatch): adjust
2111 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2112 (WriteAs): remove unneeded BufferView arg.
2114 * bufferparams.h: use correct types on papersize, papersize2 and
2117 * bufferparams.C (readToken): adjust for type
2118 (writeLaTeX): add missing cases to switch.
2120 * bufferlist.C (quitWriteBuffer): adjust
2123 * buffer.C (asciiParagraph): remove some commented code.
2125 * CutAndPaste.C: remove current_view extern variable.
2126 (cutSelection): add BufferParams arg.
2127 (eraseSelection): add BufferParams arg.
2128 (pasteSelection): add Buffer const & arg
2130 2003-06-07 John Levon <levon@movementarian.org>
2133 * paragraph_funcs.C:
2134 * paragraph_pimpl.C:
2138 * paragraph.C: allow InsetERT to freely space lines,
2139 and some consolidation of code
2141 2003-06-06 José Matos <jamatos@fep.up.pt>
2143 * buffer.C (makeDocBookFile): fix bug #821
2145 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2147 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2149 2003-06-04 Angus Leeming <leeming@lyx.org>
2151 * buffer.C: bump format to 224.
2153 2003-06-05 André Pönitz <poenitz@gmx.net>
2155 * text2.C (redoParagraphs): remove two const_cast<>
2157 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2159 * ParagraphList.h: remove last remnants of NO_STD_LIST
2161 2003-06-03 Angus Leeming <leeming@lyx.org>
2163 * factory.C (createInset): small change to the way InsetExternal's params
2166 2003-06-04 André Pönitz <poenitz@gmx.net>
2168 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2170 * paragraph_pimpl.h:
2171 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2173 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2175 * undo_funcs.C: make some simple cases of undo work again
2177 2003-06-03 John Levon <levon@movementarian.org>
2179 * ispell.C: HPUX doesn't have sys/select.h
2182 2003-06-03 John Levon <levon@movementarian.org>
2184 * CutAndPaste.C: update tabular and include inset
2189 * paragraph.C: remove owningBuffer(), don't pass Buffer
2192 * factory.C: insetGraphicsParams changed
2194 2003-06-02 John Levon <levon@movementarian.org>
2200 * text3.C: remove insetparent
2202 2003-06-02 John Levon <levon@movementarian.org>
2205 * buffer.C: fix inset_iterator.end(), move out of line
2208 2003-06-01 John Levon <levon@movementarian.org>
2210 * text3.C: use a proper cut/paste when doing inset
2211 insert (from Jürgen Spitzmüller)
2213 2003-06-01 John Levon <levon@movementarian.org>
2215 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2217 2003-05-30 André Pönitz <poenitz@gmx.net>
2219 * rowpainter.C: unify second drawing phase
2221 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2223 * trans_mgr.C: remove one case of current_view
2225 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2227 * paragraph_funcs.h: remove paragraph.h include
2229 * paragraph.h: delete NO_STD_LIST stuff
2231 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2233 * buffer.h: remove paragraph.h include
2235 * ParagraphList.C: delete file
2237 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2239 * toc.C (getTocList): adjust
2241 * paragraph_pimpl.C (validate): adjust
2243 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2245 * paragraph.C (Paragraph): adjust
2246 (getPositionOfInset): use const_iterator, adjust
2247 (bibitem): use const_iterator, adjust
2248 (setInsetOwner): adjust
2250 * iterators.C (operator++): adjust
2252 * InsetList.[Ch]: Replace selfmade iterator with standard
2253 vector::iterator also introduce const_iterator. Remove getPos,
2254 getInset and setInset from InsetTable. Adjust accordingly.
2256 * BufferView.C (lockInset): adjust
2257 (ChangeInsets): adjust
2259 * tabular.[Ch]: delete commented same_id functions
2261 2003-05-28 John Levon <levon@movementarian.org>
2263 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2265 2003-05-28 André Pönitz <poenitz@gmx.net>
2267 * metricsinfo.[Ch]: remove 'fullredraw' member
2269 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2271 * lyxtextclass.C (operator): remove caching.
2273 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2277 * text2.C (cursorBottom): adjust
2278 (setCounter): use ParagraphList::find, adjust
2280 * text.C (workWidth): use ParagraphList::find, adjust
2282 * lyxcursor.C (LyXCursor): adjust
2284 * buffer.C (inset_iterator): adjust
2286 * ParagraphList.h: make iterator(value_type) private, make
2287 ParagraphList a friend of iterator.
2289 * ParagraphList.C (find): new function
2291 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2293 2003-05-27 André Pönitz <poenitz@gmx.net>
2295 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2297 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2299 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2301 2003-05-26 John Levon <levon@movementarian.org>
2303 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2305 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2307 * remove same_id from function signatures, adjust.
2309 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2311 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2313 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2315 * paragraph.C (Paragraph): get rid of same_ids parameter
2317 * ParagraphList.C (insert): adjust
2320 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2322 * paragraph_funcs.C (breakParagraph): adjust
2323 (breakParagraphConservative): adjust
2325 * buffer.C (readParagraph): adjust
2327 * ParagraphList.C (insert): take a reference instead of a pointer
2330 * paragraph.[Ch] (id): new function
2332 * bufferlist.C (newFile): adjust
2334 * ParagraphList.C (ParagraphList): adjust
2336 (push_back): take a reference instead of a pointer.
2338 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2340 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2343 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2344 set else use old code.
2346 * ParagraphList.C: remove all NO_NEXT code and only compile this
2347 code of NO_STD_LIST is set.
2349 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2351 * BufferView_pimpl.C:
2361 * graphics/GraphicsConverter.C:
2362 * graphics/PreviewLoader.C: header adjustment
2364 2003-05-23 Angus Leeming <leeming@lyx.org>
2366 * LaTeXFeatures.[Ch] (useBabel): new method.
2367 * bufferparams.C (writeLaTeX): use it.
2369 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2371 * ParagraphList.h (set): remove unused function.
2373 2003-05-23 André Pönitz <poenitz@gmx.net>
2376 * BufferView_pimpl.C:
2380 * undo_funcs.C: setUndo reworked
2382 * iterators.[Ch]: add access to topmost ParagraphList
2384 * lyxtext.[Ch] (workWidth): add a const
2386 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2388 * texrow.[Ch] (increasePos): remove function
2389 * exporter.C (export): removed unused var and outdated comment
2391 2003-05-23 Angus Leeming <leeming@lyx.org>
2393 * latexrunparams.h: rename fragile as moving_arg.
2394 * paragraph.C (simpleTeXOnePar): ditto.
2395 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2397 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2401 (textUndoOrRedo): comment out a currently unused var.
2403 * paragraph.h (NO_NEXT): enable NO_NEXT
2405 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2407 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2409 * exporter.C (Export): adjust for removeAutoInsets removal.
2411 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2413 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2415 * BufferView.[Ch] (removeAutoInsets): delete function
2417 2003-05-22 Angus Leeming <leeming@lyx.org>
2419 * latexrunparams.h: add a free_spacing variable.
2421 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2422 to pass moving_arg, as the data is stored in runparams.fragile.
2424 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2425 to Inset::latexOptional or to simpleTeXOnePar.
2427 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2428 free_spacing arg to Inset::latexOptional.
2430 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2433 2003-05-22 Angus Leeming <leeming@lyx.org>
2435 * latexrunparams.h: add fragile and use_babel variables.
2437 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2438 * buffer.C (makeLaTeXFile): store this returned value in
2439 runparams.use_babel, thus passing it to the inset::latex methods.
2441 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2442 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2444 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2445 longer has a fragile arg, as it is stored in runparams.fragile.
2447 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2448 moving_arg parameter as the data is stored in runparams.fragile.
2450 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2451 a fragile parameter as the data is stored in runparams.fragile.
2453 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2457 2003-05-22 Angus Leeming <leeming@lyx.org>
2459 * latexrunparams.h: add a 'bool nice' which defaults to false.
2461 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2462 now encapsulated within runparams.
2464 * bufferlist.C (updateIncludedTeXfiles):
2465 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2467 2003-05-22 Angus Leeming <leeming@lyx.org>
2469 * latexrunparams.h: new file containing struct LatexRunParams.
2470 * Makefile.am: add new file.
2472 * LaTeX.[Ch] (c-tor, run):
2473 * buffer.[Ch] (makeLaTeXFile):
2474 * bufferlist.[Ch] (updateIncludedTeXfiles):
2475 * converter.C (convert, scanLog):
2476 * converter.[Ch] (runLaTeX):
2477 * exporter.C (Export):
2478 * paragraph.[Ch] (simpleTeXOnePar):
2479 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2480 * paragraph_funcs.[Ch] (latexParagraphs):
2481 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2482 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2483 pass around a LatexRunParams parameter.
2485 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2487 * paragraph.[Ch]: remove unused constructor
2489 * ParagraphList.C (erase): new function, taking two iterators
2491 2003-05-22 André Pönitz <poenitz@gmx.net>
2493 * undo_funcs.C: remove duplicated code
2495 * iterator.[Ch]: operator=
2497 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2499 * tabular.C (SetMultiColumn): ws changes
2501 * rowpainter.C (paintFirst): get rid of a ->previous
2503 * lyx_cb.C (getPossibleLabel): parlist simplification
2505 * BufferView.C (ChangeInsets): simplify slightly.
2507 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2509 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2510 * lfuns.h: new LFUN_SPACE
2511 * lyxfunc.C: protected space has a new lfun
2512 * paragraph_funcs.C: read new space insets
2514 * factory.C: handle new space insets
2516 2003-05-22 André Pönitz <poenitz@gmx.net>
2519 * BufferView_pimpl.C:
2522 * undo_funcs.C: return a ParIterator from getParFromID.
2524 * iterators.[Ch]: add two const's
2526 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2528 * toc.C (getTocList): adjust
2530 * iterators.[Ch]: rework for parlist
2532 * buffer.C (par_iterator_begin): adjust
2533 (par_iterator_end): adjust
2535 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2537 * BufferView.C (removeAutoInsets): adjust
2538 (ChangeInsets): adjust
2540 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2542 * text.C (top_y): fix bug 1110
2544 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2546 * errorlist.[Ch]: added
2549 * BufferView_pimpl.C:
2550 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2553 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2555 * Makefile.am: ensure that lyx is relinked upon changes to the
2556 various "convenience" libs.
2558 2003-05-20 Angus Leeming <leeming@lyx.org>
2560 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2561 files are compiled in alphabetical order again.
2563 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2565 2003-05-19 Angus Leeming <leeming@lyx.org>
2567 * gettext.[Ch]: remove "char const * _(char const *)".
2569 2003-05-19 André Pönitz <poenitz@gmx.net>
2571 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2580 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2582 2003-05-19 André Pönitz <poenitz@gmx.net>
2586 * lyxtextclass.[Ch]:
2588 * paragraph_funcs.[Ch]:
2590 * text3.C: more insetenv work
2592 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2594 * ParagraphParameters.C (params2string): small bug fixed
2596 2003-05-16 André Pönitz <poenitz@gmx.net>
2599 * bufferview_funcs.C: patch from Kornel Benko to prevent
2600 crash when _(...) is called twice in a statement
2602 2003-05-16 André Pönitz <poenitz@gmx.net>
2609 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2611 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2613 * lyx_main.C (init): remove spurious static_cast
2615 2003-05-14 André Pönitz <poenitz@gmx.net>
2617 * BufferView.C: fix format string
2619 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2621 * BufferView.[Ch] (insertErrors): removed
2622 * BufferView.[Ch] (showErrorList): added
2623 * buffer.C (runChkTeX):
2624 * converter.C (scanLog): call showErrorList instead of inserterrors
2626 2003-05-13 André Pönitz <poenitz@gmx.net>
2628 * BufferView_pimpl.C:
2630 * bufferview_func.C:
2637 * tabular_funcs.h: tostr() from its own header
2639 * ParagraphParameters.C:
2644 * text3.C: STRCONV()
2646 2003-05-12 André Pönitz <poenitz@gmx.net>
2649 * BufferView_pimpl.C:
2653 * ParagraphParameters.C:
2657 * bufferview_funcs.C:
2670 * paragraph_funcs.C:
2674 * text3.C: boost::format -> bformat all over the place
2677 2003-05-09 André Pönitz <poenitz@gmx.net>
2679 * LColor.[Ch]: Pimpl the #include <map> away
2681 2003-05-09 John Levon <levon@movementarian.org>
2683 * bufferlist.C: never remove emergency saves
2685 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2687 * Makefile.am: better lib building
2689 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2691 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2693 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2694 (simpleTeXSpecialChars): adjust
2695 (simpleTeXSpecialChars): adjust
2696 * paragraph.C (simpleTeXOnePar): adjust
2697 * buffer.C (makeLaTeXFile): adjust
2699 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2701 * text2.C (changeDepth): parlist cleanup
2702 (getColumnNearX): ditto
2704 * rowpainter.C (getLabelFont): parlist cleanup
2706 * bufferlist.C (newFile): parlist cleanup
2708 * CutAndPaste.C (eraseSelection): parlist cleanup
2710 * BufferView_pimpl.C (trackChanges): parlist cleanup
2713 * BufferView.C (lockInset): parlist cleanup.
2714 (ChangeInsets): ditto
2716 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2718 * CutAndPaste.h: Update file header.
2720 * CutAndPaste.C: Update file header.
2721 Store the parts cut out of the Document in a limited_stack.
2722 (copySelection): adjust
2723 (pasteSelection): new function, takes the index in the limited stack.
2724 (nrOfParagraphs): adjust
2725 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2726 simplify error inset insertion.
2727 (checkPastePossible): adjust
2729 2003-05-06 John Levon <levon@movementarian.org>
2731 * text2.C: don't cast wrap inset to float
2733 2003-05-05 André Pönitz <poenitz@gmx.net>
2736 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2738 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2739 few naked Paragraph *.
2741 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2743 * bufferparams.C: Output warning if a document with missing
2744 TeX document class is loaded
2745 * exporter.C: Disable TeX exports if the document class is missing
2748 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2749 isTeXClassAvailable()
2751 2003-05-03 John Levon <levon@movementarian.org>
2754 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2755 explicit cursor show/hide
2757 * BufferView_pimpl.h:
2758 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2759 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2761 * lyxfunc.C: hide cursor before dispatching.
2766 * text3.C: remove explicit cursor hides
2768 2003-05-02 André Pönitz <poenitz@gmx.net>
2770 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2773 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2776 * text2.C: tiny whitespace
2778 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * undo_funcs.C: almost only ws changes.
2782 * ParagraphList.C (splice): just return if pl is empty.
2784 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2786 * ParagraphList.C (splice): new function.
2788 * CutAndPaste.C (pasteSelection): use it
2790 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2792 * CutAndPaste.C (pasteSelection): remove the last next and
2793 previous from this file.
2795 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2797 * CutAndPaste.C (pasteSelection): more clean up, user proper
2798 ParagraphList functions for pasteing.
2800 * ParagraphList.C (insert): new function, three arg insert
2802 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2804 * ParagraphList.C (insert): new function, three arg insert
2806 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2809 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2811 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2813 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2815 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2817 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2819 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2820 (copySelection): clean up a bit.
2821 (pasteSelection): use make_pair
2823 * ParagraphList.C (ParagraphList): implement copy constructor
2824 (operator=): implement, base on copy constructor.
2827 * paragraph.C (erase): return a bool
2829 * paragraph_pimpl.C (erasePos): remove function, move contents...
2830 (erase): ... here. Return a bool.
2831 (erase): call erase instead of erasePos.
2833 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2835 * ParagraphList.h: define PitPosPair
2836 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2837 ParagraphList, fix a bug on pasting multiple pars
2838 * text2.C: change interface to C&P
2840 2003-04-30 André Pönitz <poenitz@gmx.net>
2842 * undo_func.C: revert part of yesterday's patch 2
2844 2003-04-30 John Levon <levon@movementarian.org>
2846 * LColor.C: s/tabular/table/
2848 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2850 * text3.C (dispatch): do not convert iterator -> pointer
2851 * undo_funcs.C (setCursorParUndo): ditto
2852 * text_funcs.C (transposeChars): ditto
2854 * text2.C (setLayout): ws changes only
2856 * text.C (breakParagraph): do not convert iterator -> pointer
2858 (acceptChange): ditto
2859 (rejectChange): ditto
2864 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2867 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2869 * text3.C (gotoInset): YABG (yet another bad getChar)
2871 2003-04-29 André Pönitz <poenitz@gmx.net>
2873 * paragraph.h: make operator= private unimplemented as long as
2876 * ParagraphList.C: whitespace
2879 * paragraph_pimpl.[Ch]:
2880 * paragraph_funcs.C:
2882 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2885 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2887 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2889 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2890 * paragraph.[Ch] (erase):
2891 * paragraph_pimpl.[Ch] (erase): change return type and value
2892 * text2.C (cutSelection): some rework
2894 2003-04-28 John Levon <levon@movementarian.org>
2896 * bufferlist.C: changes for unsaved changes dialog
2898 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2900 * bufferlist.C (newFile): set language (messages_) for new
2903 * buffer.C (readFile): ws changes only.
2905 2003-04-28 André Pönitz <poenitz@gmx.net>
2910 * BufferView_pimpl.C:
2911 * BufferView.C: getParFromID related ParagraphList::iterator changes
2913 2003-04-28 André Pönitz <poenitz@gmx.net>
2915 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2918 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2920 * messages.C: remove one more localedir class variable.
2922 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2924 * messages.C (getLocaleDir): singleton generation function
2926 (Messages): add a default constructor.
2928 * main.C (main): do not setup localedir here, do not call
2931 * gettext.C (_): use it.
2932 (gettext_init): delete funciton
2934 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2936 * gettext.C (getLyXMessages): new singleton generating function.
2938 * buffer.C (updateDocLang): adjust
2940 * Makefile.am (messages.o): add target
2941 (main.o): remove target
2943 2003-04-27 John Levon <levon@movementarian.org>
2948 * lyxvc.C: specify cancel button in Alert::prompt
2950 2003-04-26 John Levon <levon@movementarian.org>
2955 * LyXAction.C: add LFUN_INSET_SETTINGS
2957 * lyxfunc.C: don't enable tabular-feature when there's
2958 just any locking inset
2960 2003-04-26 John Levon <levon@movementarian.org>
2962 * bufferlist.C: re-add Cancel to buffer close question
2964 * lyxfunc.C: fix import UI a bit
2966 2003-04-25 John Levon <levon@movementarian.org>
2968 * gettext.C: remove the broken asserts for now
2970 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2972 * messages.C: make case where setlocale cannot comply work better.
2974 * buffer.C (updateDocLang): new function
2975 (changeLanguage): use it
2978 * text2.C (setCounter): use B_ a bit.
2980 * lyxlayout.C (Read): be sure to trim the label strings.
2982 * messages.C (Messages): fix typo in comment
2984 * buffer.C (readFile): set message_ after file is loaded.
2985 (makeDocBookFile): remove double return
2986 (changeLanguage): reset message_ upon language change.
2987 (B_): new func, use this to get translated buffer strings.
2989 * main.C: add myself and Jean Marc as authors.
2991 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * messages.[hC]: pimplify Messages, and three different pimpls to be
2994 used in different circumstances.
2996 * gettext.[Ch]: change for use with new message code.
2998 2003-04-24 André Pönitz <poenitz@gmx.net>
3000 * factory.C: support for eqref
3002 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * messages.[Ch]: add missing char
3006 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3008 * messages.[Ch]: New files
3010 2003-04-18 John Levon <levon@movementarian.org>
3014 * BufferView_pimpl.C:
3018 * text2.C: remove layout-copy/paste (bug 778)
3020 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3022 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3024 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3026 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3027 if they succeed. Act accordingly.
3029 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3031 * text2.C (setCharFont): adjust
3032 (setCounter): adjust
3033 (insertStringAsLines): adjust
3035 * text.C (leftMargin): adjust
3036 (setHeightOfRow): adjust
3038 * rowpainter.C (paintFirst): adjust
3041 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3043 (isFirstInSequence): ditto
3044 (getEndLabel): ditto
3047 * paragraph.C (getParLanguage): comment out some hard stuff.
3049 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3051 (simpleDocBookOnePar): ditto
3052 (makeDocBookFile): use ParagraphList::iterator
3054 * CutAndPaste.C (pasteSelection): adjust
3056 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3058 * text2.C (getFont): adjust
3059 (getLayoutFont): adjust
3060 (getLabelFont): adjust
3062 * paragraph_funcs.C (TeXOnePar): adjust
3064 * buffer.C (simpleLinuxDocOnePar): adjust
3065 (simpleDocBookOnePar): adjust
3067 * CutAndPaste.C (pasteSelection): adjust
3069 * BufferView.C (getEncoding): adjust
3071 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3073 2003-04-16 John Levon <levon@movementarian.org>
3075 * lyxfind.C: use parlist stuff for search/changes
3077 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3079 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3081 * text2.C (deleteEmptyParagraphMechanism): adjust
3083 * text2.[Ch] (ownerParagraph): delete func (both of them
3085 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3087 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3089 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3091 * ParagraphList.C: prepare for NO_NEXT
3093 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3095 * text2.C (getFont): adjust
3096 (getLayoutFont): adjust
3097 (getLabelFont): adjust
3099 * paragraph.C (getFont): adjust
3100 (getLabelFont): adjust
3101 (getLayoutFont): adjust
3103 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3105 2003-04-15 John Levon <levon@movementarian.org>
3109 * lyx_main.C: handle Include in .ui files
3111 2003-04-15 John Levon <levon@movementarian.org>
3113 * MenuBackend.C: make the doc files length shorter
3116 * ToolbarBackend.C: handle toolbar placement flags,
3119 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3121 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3124 * paragraph_funcs.C (TeXOnePar): adjust
3126 * paragraph.C (getLabelFont): add outerfont arg, adjust
3127 (getLayoutFont): ditto
3128 (simpleTeXOnePar): adjust
3130 * paragraph_pimpl.C (realizeFont): delete func
3132 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3134 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3135 row argument, constify cur argument.
3137 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * text2.C (getFont): adjust
3140 (getLayoutFont): adjust
3141 (getLabelFont): adjust
3143 * paragraph_funcs.C (TeXOnePar): adjust
3144 (outerFont): new func...
3145 (realizeFont): ...moved out from here, changed this to facilitate
3148 * paragraph.C (getFont): take outerfont as arg, adjust
3149 (simpleTeXOnePar): add outerfont arg, adjust
3151 * buffer.C (simpleLinuxDocOnePar): adjust
3152 (simpleDocBookOnePar): adjust
3154 * CutAndPaste.C (pasteSelection): adjust
3156 * BufferView.C (getEncoding): adjust
3158 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3160 * text2.C (setCharFont): adjust
3161 (setCounter): adjust
3163 * text.C (leftMargin): adjust
3164 (setHeightOfRow): adjust
3166 * rowpainter.C (paintFirst): adjust
3169 * paragraph_pimpl.C (realizeFont): adjust
3171 * paragraph.C (isFirstInSequence): move from here...
3172 * paragraph_funcs.C (isFirstInSequence): ...to here
3174 * paragraph.C (outerHook): move from here...
3175 * paragraph_funcs.C (outerHook): ...to here
3177 * paragraph.C (depthHook): move from here...
3178 * paragraph_funcs.C (depthHook): ...to here
3180 * paragraph.C (getEndLabel): move from here...
3181 * paragraph_funcs.C (getEndLabel): ...to here
3183 * text2.C (realizeFont): move from here...
3184 * paragraph_funcs.C (realizeFont): ...to here
3186 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3188 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3190 2003-04-14 Angus Leeming <leeming@lyx.org>
3192 * LColor.[Ch]: scrap LColor mathcursor.
3194 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3196 * lyxlex.[Ch] (text): delete function
3197 * trans.C (Load): adjust
3198 * paragraph_funcs.C (readParToken): adjust
3200 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3202 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3203 vector<char> instead of a char[].
3205 * lyxlex_pimpl.C (getString): adjust
3207 (lex): use getString
3211 * lyxlex.C (text): use pimpl_->getString()
3215 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3217 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3218 (makeFontEntriesLayoutSpecific): temp var for par.size()
3219 (setLayout): temp var for ownerParagraphs().end()
3220 (fullRebreak): temp var for rows().end()
3221 (selectionAsString): temp var for boost::next(startpit), realize
3222 that the while really is a regular for loop.
3223 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3224 setCursor in one place.
3225 (setParagraph): temp vr for ownerParagraphs().end()
3226 (updateCounters): make the while loop a for loop
3227 (cutSelection): temp var for ownerParagraphs().end()
3228 (updateInset): make the do {} while() a regular for loop
3229 (getCursorX): use temp vars
3230 (setCurrentFont): use temp vars
3231 (getColumnNearX): use temp vars
3233 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3235 * text.C (transformChar): use temp var for getChar
3236 (computeBidiTables): use temp var for row->par()
3237 (fill): move temp vars for row->par() and pit->layout() earlier in
3239 (labelFill): use temp var for row->par()
3240 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3241 asc and desc, realize that pit never changes and that firstpit is
3242 just a duplicate and not needed. Exchange rit->par() with pit in a
3244 (breakAgain): use a temp var for boost::next(rit)
3245 (breakAgainOneRow): ditto
3246 (breakParagraph): use a temp var for rows().begin()
3247 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3248 (cursorRightOneWord): use temp var for cursor.par() and
3249 cursor.pos(), remove usage of tmpcursor.
3250 (cursorLeftOneWord): use temp var for cursor.par() and
3251 cursor.pos() only set cur at end of function.
3253 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3255 * text.C, text2.C: exchange all usage of Paragraph::next with
3256 boost::next(ParagraphList::iterator)
3258 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3260 * text2.C (cursorTop): simplify implementation
3261 (cursorBottom): ditto
3262 (setParagraph): use ParagraphList::iterator
3263 (setCurrentFont): adjust
3264 (getColumnNearX): adjust
3265 (cursorRight): adjust
3266 (cursorLeft): remove usage of Paragraph::previous
3267 (cursorUpParagraph): ditto
3268 (deleteEmptyParagraphMechanism): slight cleanup
3270 * text.C (isBoundary): take a Paragraph const & instead of a
3272 (addressBreakPoint): ditto
3273 (leftMargin): remove usage of Paragraph::previous.
3274 (setHeightOfRow): ditto
3275 (cursorLeftOneWord): ditto
3276 (selectNextWordToSpellcheck): ditto
3279 (breakParagraph): remove one usage of Paragraph::next
3280 (redoParagraph): ditto
3281 (acceptChange): ditto
3282 (insertChar): adjust
3283 (rowBreakPoint): adjust
3285 * bufferview_funcs.C (toggleAndShow): adjust
3287 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3289 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3290 methods to access it.
3292 * text.C: Added updateRowPositions to compute all row positions.
3293 Make top_y and getRowNearY() to use the cached y position
3295 2003-04-11 John Levon <levon@movementarian.org>
3297 * text.C (rowBreakPoint): reintroduce the labelEnd
3298 checks, code copied from the row fill stuff. Deep voodoo.
3300 * text.C (fill): add a comment and debugging for the
3303 2003-04-11 John Levon <levon@movementarian.org>
3305 * text.C: make sure fullrow insets get wrapped to the next line,
3306 even when they're in a manual label
3308 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * text2.C (insertParagraph): make it take ParagraphList::iterator
3312 (setLayout): make it return ParagraphList::iterator
3313 (redoParagraphs): ditto
3315 (checkParagraph): ditto
3317 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3319 * text2.C: adjust several funcs.
3320 (realizeFont): take a ParagraphList::iterator as arg.
3321 (getLayoutFont): ditto
3322 (getLabelFont): ditto
3323 (setCharFont): ditto
3325 * text.C: adjust several funcs.
3327 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3329 * text.C (selectNextWordToSpellcheck): don't accidentally
3332 2003-04-10 John Levon <levon@movementarian.org>
3334 * ToolbarBackend.C (getIcon): special handling for
3337 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3339 * text2.C (cursorRight): a getChar assert fixed
3341 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3343 * text2.C (getFont): change to take a ParagraphList::iterator
3344 instead of Paragraph*
3345 Adjust several functions.
3347 * text.C (transformChar): change to take a ParagraphList::iterator
3348 instead of Paragraph*
3349 (singleWidth): ditto
3350 Adjust several functions.
3352 * rowpainter.C: adjust several functions
3353 * rowpainter.h:store a ParagraphList::iterator and not a
3357 2003-04-09 John Levon <levon@movementarian.org>
3362 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3363 and the "help" bits as well
3365 2003-04-09 John Levon <levon@movementarian.org>
3368 * ToolbarBackend.C: allow multiple toolbars
3370 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3372 * undo_funcs.C (setCursorParUndo): adjust
3374 * text_funcs.C (transposeChars): adjust
3376 * text3.C (gotoNextInset): adjust
3379 * text2.C (setLayout): adjust
3380 (changeDepth): adjust
3382 (redoParagraphs): adjust
3383 (selectionAsString): adjust
3384 (setParagraph): adjust
3385 (insertInset): adjust
3386 (cutSelection): adjust
3387 (copySelection): adjust
3388 (pasteSelection): adjust
3389 (insertStringAsLines): adjust
3390 (updateInset): adjust
3391 (setCursor): change to take a ParagraphList::iterator parameter
3392 (setCursorIntern): change to take a ParagraphList::iterator parameter
3393 (setCurrentFont): adjust
3394 (cursorLeft): adjust
3395 (cursorRight): adjust
3396 (deleteEmptyParagraphMechanism): adjust
3398 * text.C (breakParagraph): adjust
3399 (insertChar): adjust
3400 (acceptChange): adjust
3401 (rejectChange): adjust
3402 (selectNextWordToSpellcheck): adjust
3403 (changeCase): adjust
3407 * lyxfind.C (SearchForward): adjust
3408 (SearchBackward): adjust
3409 (nextChange): adjust
3411 * lyxcursor.C (par): adjust
3413 * lyxcursor.h: store a ParagraphList::iterator instead of a
3416 * lyx_cb.C (getPossibleLabel): adjust
3418 * bufferview_funcs.C (toggleAndShow): adjust
3420 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3423 * BufferView.C (removeAutoInsets): adjust
3424 (lockedInsetStoreUndo): adjust
3426 2003-04-09 John Levon <levon@movementarian.org>
3428 * ToolbarBackend.C: try icon without argument
3429 if with argument fails
3431 2003-04-08 John Levon <levon@movementarian.org>
3434 * ToolbarBackend.C: add getIcon(), handle tooltip,
3435 and change from "Icon" to "Item".
3437 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3439 * BufferView.C (lockInset): another bad getchar crunched
3441 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3443 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3446 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3448 * lyxfind.C (searchForward, searchBackwards): bug 782
3450 2003-04-07 John Levon <levon@movementarian.org>
3452 * paragraph.C: remove dead comment
3454 * text.C: remove troublesome depth-fiddling code
3455 in leftMargin() and rightMargin() (bug 1017)
3457 * text.C: fix breaking of rows in nested lists
3460 * text2.C (updateCounters): fix up depth values
3463 2003-04-07 John Levon <levon@movementarian.org>
3465 * BufferView_pimpl.C: clear message when doc finishes resizing,
3466 and after a mouse event
3468 * lyxfunc.C: clear message after exiting inset
3470 2003-04-07 John Levon <levon@movementarian.org>
3472 * bufferview_funcs.C: show math status not outside
3473 status in the statusbar
3475 2003-04-07 John Levon <levon@movementarian.org>
3477 * lyxfunc.C: note status changed after a depth change
3479 2003-04-04 Angus Leeming <leeming@lyx.org>
3481 * LaTeX.h: move AuxInfo operator==, != out of line.
3482 Remove LaTeX virtual destructor; nothing derives from it.
3483 Move operator()() out of public area and rename it startscript().
3484 Change protected for private.
3486 2003-04-04 Angus Leeming <leeming@lyx.org>
3489 * text2.C: remove unneeded #includes.
3491 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3493 * text2.C (dEPM): fix the heigth of the next row
3495 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3497 * text.C: squashed an invalid getChar requester + some ws changes
3499 2003-04-03 John Levon <levon@movementarian.org>
3501 * bufferview_funcs.h:
3502 * bufferview_funcs.C:
3505 * text2.C: make getStatus work for the env depth lfuns
3507 2003-04-03 John Levon <levon@movementarian.org>
3509 * bufferview_funcs.h:
3510 * bufferview_funcs.C:
3513 * text2.C: parlistize decDepth(), by merging it with incDepth()
3515 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3517 * lyxrow.h: store a ParagraphList::iterator instead of a
3518 Paragraph* and adjust other class functions to suit.
3520 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3523 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3525 * text2.C (setCursor): do not anchor to cursor row for the time being
3527 2003-04-02 John Levon <levon@movementarian.org>
3534 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3536 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * paragraph.h: make ParagraphList and ParagraphList::iterator
3539 friends of Paragraph.
3541 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3543 * ParagraphList.C: Use the private next_ and previous_ from
3546 2003-04-01 John Levon <levon@movementarian.org>
3550 * Makefile.am: rename, remove defaults gunk
3553 * MenuBackend.C: remove defaults gunk
3556 * Languages.C: remove defaults gunk
3559 * lyx_main.C: error out if files couldn't be found.
3561 2003-04-02 John Levon <levon@movementarian.org>
3563 * text2.C: make incDepth() use parlist
3565 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3567 * undo_funcs.C (firstUndoParagraph): adjust
3569 * text3.C (gotoInset): adjust
3570 (dispatch): adjust, and rewrite loop.
3572 * text2.C (init): adjust, and rewrite loop.
3573 (redoParagraphs): adjust
3574 (updateInset): adjust, and rewrite loop.
3575 (deleteEmptyParagraphMechanism): adjust
3577 * tabular.C (LyXTabular): adjust
3578 (SetMultiColumn): adjust
3581 * lyxtext.[Ch] (ownerParagraph): delete function
3582 (ownerParagraphs): new function returns a ParagraphList.
3584 * BufferView.C (removeAutoInsets): adjust
3585 (insertErrors): adjust
3586 (setCursorFromRow): adjust
3588 2003-04-01 Angus Leeming <leeming@lyx.org>
3590 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3593 2003-04-02 John Levon <levon@movementarian.org>
3599 * text_funcs.C: make transposeChars a free function
3601 * lyxrow_funcs.C: remove wrong comment
3603 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3606 * rowpainter.C: adjust
3611 * lyxrow_funcs. [Ch]: new files
3613 * lyxrow.[Ch]: remove next and previous pointers
3614 (next,previous): remove accessor functions
3615 (isParEnd): move to lyxrow_funcs
3616 (lastPos): move to lyxrow_funcs
3617 (nextRowIsAllInset): move to lyxrow_funcs
3618 (lastPrintablePos): move to lyxrow_funcs
3619 (numberOfSeparators): move to lyxrow_funcs
3620 (numberOfHfills): move to lyxrow_funcs
3621 (numberOfLabelHfills): move to lyxrow_funcs
3622 (hfillExpansion): move to lyxrow_funcs
3626 * bufferview_funcs.C (toggleAndShow): adjust
3628 * RowList.h: Remove class RowList from file leave just a
3631 * RowList.C: delete file
3633 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3636 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * text3.C (cursorPrevious): adjust
3639 (cursorNext): adjust
3642 * text2.C (redoHeightOfParagraph): adjust
3643 (redoDrawingOfParagraph): adjust
3646 * text.C (breakParagraph): adjust
3647 (insertChar): adjust
3650 * rowpainter.C (RowPainter): adjust
3651 (leftMargin): simplify and adjust
3652 (most rowpainter functions): adjust.
3654 * rowpainter.h: store the row as RowList::iterator not as Row*
3656 * lyxcursor.C (row): taka RowList::iterator as arg
3659 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3662 2003-04-01 Angus Leeming <leeming@lyx.org>
3664 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3665 stuff like bool Bool.
3667 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3669 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3672 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3674 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3677 * lyxtext.h (rows): drop one version and leve a const variant that
3678 returns a RowList::iterator.
3680 2003-03-31 Angus Leeming <leeming@lyx.org>
3682 * text.C (fill): ensure that the signature is the same as that in the
3685 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3687 * text2.C (redoParagraphs): adjust
3688 (updateCounters): adjust
3689 (checkParagraph): adjust
3690 (getColumnNearX): adjust and reformat a bit.
3692 * text.C (top_y): adjust
3694 (leftMargin): adjust
3695 (prepareToPrint): adjust
3697 (getRowNearY): adjust
3699 * lyxtext.h: make rowlist_ mutable.
3701 * RowList.h: add const_iterator
3702 * RowList.C: adjust for RowList::const_iterator.
3704 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3707 2003-03-31 John Levon <levon@movementarian.org>
3710 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3712 * lyx_main.C: set default fonts from using lyx_gui funcs
3714 * exporter.C: pdf_mode moved from lyxrc
3717 * lyxfunc.C: changes from above
3719 2003-03-31 John Levon <levon@movementarian.org>
3721 * lyx_main.C: fix to the last fix
3723 2003-03-31 John Levon <levon@movementarian.org>
3725 * bufferlist.C: "Load original" -> "Load Original"
3731 * format.C: more Alert cleanups
3733 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3735 * text2.C (removeParagraph): make it take a RowList::iterator as
3737 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3738 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3740 * text.C (anchor_row): make it take a RowList::iterator as arg,
3742 (computeBidiTables): make it take a const reference to Row instead
3743 of Row pointer, adjust.
3744 (leftMargin): make it take a RowList::iterator as arg, adjust.
3745 (rowBreakPoint): adjust
3746 (breakAgainOneRow): make it take a RowList::iterator as arg,
3748 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3750 * bufferview_funcs.C (toggleAndShow): adjust
3752 2003-03-30 John Levon <levon@movementarian.org>
3756 * boost-inst.C: moved to support
3758 * several files: changes as a result
3760 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * text2.C (LyXText): adjust.
3764 (removeRow): make it take a RowList::iterator as arg, adjust.
3765 (fullRebreak): adjust
3766 (deleteEmptyParagraphMechanism): adjust
3767 (clearPaint): adjust
3770 * text.C (top_y): adjust
3771 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3772 (breakAgain): make it take a RowList::iterator as arg, adjust.
3773 (breakParagraph): adjust
3774 (insertChar): adjust
3777 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3778 need_break_row, and refresh_row.
3780 * text3.C (dispatch): adjust
3782 * text2.C (checkParagraph): adjust
3784 (setCursorFromCoordinates): adjust
3786 * text.C (top_y): adjust
3788 (getRow): make it return a RowList::iterator, adjust
3789 (getRowNearY): make it return a RowList::iterator, adjust
3791 * text2.C (init): adjust
3792 (insertRow): remove function
3793 (insertParagraph): adjust
3794 (redoParagraphs): adjust
3795 (fullRebreak): adjust
3796 (updateCounters): adjust
3798 * text.C (top_y): rewrite to use RowList iterators.
3800 (setHeightOfRow): rewrite to sue RowList iterators.
3801 (appendParagraph): adjust
3802 (breakAgain): adjust
3803 (breakAgainOneRow): adjust
3804 (breakParagraph): adjust
3806 (getRowNearY): adjust, and remove commented code.
3808 * lyxtext.h (firstRow): delete function
3809 (lastRow): delete function
3810 (rows): new function (const and non-const versions.)
3811 (insertRow): delete function
3813 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3815 2003-03-29 John Levon <levon@movementarian.org>
3817 * BufferView_pimpl.C: always update scrollbar top
3818 because pasting text when we're anchored could mean we
3819 miss an update altogether
3821 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3823 * text2.C (init): use rowlist_.end() and not 0.
3824 (insertRow): change to take a RowList::iterator as arg, adjust
3826 (insertParagraph): change to take a RowList::iterator as arg,
3828 (redoParagraphs): remove some debug msgs.
3830 * text.C (appendParagraph): change to take a RowList::iterator
3831 arg, adjust for this.
3832 (breakAgain): add an assert
3833 (breakAgainOneRow): ditto
3835 2003-03-29 John Levon <levon@movementarian.org>
3837 * text2.C: do not clear selection after inc/decDepth
3840 2003-03-29 John Levon <levon@movementarian.org>
3843 * buffer.C: fix broken strerrors according to Lars
3845 2003-03-29 John Levon <levon@movementarian.org>
3847 * converters.C: more Alert cleanups
3849 2003-03-29 John Levon <levon@movementarian.org>
3851 * bufferview_funcs.C: remove pointless Alert
3853 * buffer.C: fix confusing error message when
3854 a template is chmoded 000
3856 2003-03-29 John Levon <levon@movementarian.org>
3860 * BufferView_pimpl.C: Alert fixes
3864 * tabular-old.C: remove unused table compat reading
3866 2003-03-29 John Levon <levon@movementarian.org>
3871 * lyx_cb.C: more Alert cleanups
3873 * lyxfunc.C: don't allow chktex if not latex document
3875 2003-03-29 John Levon <levon@movementarian.org>
3879 * buffer.C: warnings pushed down from support/,
3882 2003-03-29 John Levon <levon@movementarian.org>
3884 * lyxfunc.C: safety check for C-r (revert)
3886 2003-03-29 John Levon <levon@movementarian.org>
3889 * bufferlist.C: several UI fixes using Alert::prompt.
3890 Fix the pointless looping quit code. Fix stupid revert
3895 * lyx_cb.C: use Alert::prompt
3897 * lyx_main.C: remove a silly question
3899 * lyxfunc.C: remove a couple of silly questions,
3902 2003-03-28 John Levon <levon@movementarian.org>
3904 * text2.C: fix bug 974 (End on empty par)
3906 2003-03-28 John Levon <levon@movementarian.org>
3908 * BufferView_pimpl.C:
3910 * lfuns.h: remove do-nothing math greek lfuns
3912 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3914 * lyxgluelength.h (isValidGlueLength): add default arg on
3915 parameter 2. Remove default arg from friend in class.
3917 * lyxlength.h (isValidLength): add default arg on parameter 2.
3918 Remove default arg from friend in class.
3920 * text2.C (LyXText): adjust, initialize refresh_row.
3924 (insertParagraph): adjst
3925 (redoParagraphs): adjust
3926 (fullRebreak): adjust
3927 (updateCounters): adjust
3928 (deleteEmptyParagraphMechanism): first attempt at fixing a
3931 * text.C (top_y): adjust
3932 (setHeightOfRow): adjust
3934 (getRowNearY): adjust
3936 * lyxtext.h: include RowList.h
3937 (~LyXText): not needed anymore, deleted.
3938 (firstRow): modify for RowList
3939 (lastRow): new function
3940 Delete firstrow and lastrow class variables, add a Rowlist
3941 rowlist_ class variable.
3943 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3946 * RowList.C (insert): fix case where it == begin().
3948 2003-03-26 Angus Leeming <leeming@lyx.org>
3950 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3951 the thesaurus dialog.
3953 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3955 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3957 * RowList.[Ch]: new files
3959 * ParagraphList.C (erase): handle the case where it == begin
3962 2003-03-25 John Levon <levon@movementarian.org>
3966 * aspell.C: add new aspell support
3969 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3972 2003-03-25 Angus Leeming <leeming@lyx.org>
3975 * LyXAction.C (init): new LFUN_INSET_INSERT.
3977 * BufferView_pimpl.C (dispatch): split out part of the
3978 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3980 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3983 2003-03-25 Angus Leeming <leeming@lyx.org>
3985 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3987 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3990 * text3.C: remove useless row->height(0)
3992 2003-03-25 John Levon <levon@movementarian.org>
3996 * text3.C: rename the refreshing stuff to better names
3998 2003-03-24 John Levon <levon@movementarian.org>
4000 * BufferView_pimpl.h:
4001 * BufferView_pimpl.C: update layout choice on a mouse
4004 2003-03-23 John Levon <levon@movementarian.org>
4006 * Makefile.am: fix commandtags.h reference
4008 2003-03-22 John Levon <levon@movementarian.org>
4010 * BufferView_pimpl.C:
4015 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4017 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4020 * text.C: take the rtl methods out of line
4022 2003-03-21 André Pönitz <poenitz@gmx.net>
4024 * metricsinfo.[Ch]: new files containing structures to be passed around
4025 during the two-phase-drawing...
4027 2003-03-21 André Pönitz <poenitz@gmx.net>
4029 * lyxtextclass.C: read 'environment' tag.
4031 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4033 * text2.C (removeRow): fix bug 964
4035 2003-03-20 John Levon <levon@movementarian.org>
4039 * text2.C: paint cleanups. Inset::update() dropped font
4042 2003-03-19 John Levon <levon@movementarian.org>
4044 * lyxfunc.C: only fitcursor/markDirty if available()
4046 2003-03-19 John Levon <levon@movementarian.org>
4048 * commandtags.h: rename to ...
4050 * lfuns.h: ... this, and renumber / cleanup
4052 2003-03-19 John Levon <levon@movementarian.org>
4054 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4055 fit the cursor after an lfun
4059 * BufferView_pimpl.h:
4060 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4062 * LyXAction.C: layout-character should have ReadOnly
4064 * ParagraphParameters.C:
4066 * bufferview_funcs.C:
4073 * undo_funcs.C: changes from above
4075 2003-03-18 John Levon <levon@movementarian.org>
4077 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4078 remove it from update()
4080 * lyxfunc.C: update layout choice after an lfun
4082 * text3.C: remove extra updateLayoutChoice()s
4084 2003-03-18 John Levon <levon@movementarian.org>
4086 * text.C: top_y change means full repaint, fix
4087 a drawing bug with cursor movement
4089 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4093 * text2.C: anchor row on setCursor
4095 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4097 * lyxtext.h: remove almost all mutable keywords
4100 * text3.C: remove const keywords accordingly
4102 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4104 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4106 (TeXEnvironment): ditto
4109 2003-03-17 John Levon <levon@movementarian.org>
4111 * text.C (rowBreakPoint): remove attempt to fix displayed
4112 math insets inside a manual label
4114 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * lyxtext.h: remove BufferView* as first arg from almost all class
4118 * other files: adjust.
4120 2003-03-17 John Levon <levon@movementarian.org>
4124 * text2.C: more paint cleanups
4126 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4129 * rowpainter.C: remove "smart" background painting code
4131 2003-03-16 John Levon <levon@movementarian.org>
4136 * text3.C: add helper functions for setting refresh_row/y
4138 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4140 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4141 newline inset which *can* get inserted in the pass_thru layouts.
4142 This is primarily for literate documents.
4144 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4146 * buffer.C: increment LYX_FORMAT to 223
4148 2003-03-14 André Pönitz <poenitz@gmx.net>
4150 * textclass.h: prepare for environment handling, ws changes
4151 * lyxlayout.C: read latexheader and latexfooter tags
4153 2003-03-14 John Levon <levon@movementarian.org>
4155 * text2.C: rewrite ::status() a bit
4157 2003-03-13 John Levon <levon@movementarian.org>
4159 * lyxtext.h: add some docs
4161 2003-03-13 John Levon <levon@movementarian.org>
4166 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4168 2003-03-13 John Levon <levon@movementarian.org>
4170 * text3.C: fix appendix redrawing
4172 2003-03-13 John Levon <levon@movementarian.org>
4174 * text.C (setHeightOfRow):
4176 * rowpainter.C: make appendix mark have the text
4177 "Appendix" so the user knows what it is
4180 * LColor.C: s/appendixline/appendix/ from above
4182 2003-03-13 John Levon <levon@movementarian.org>
4184 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4186 * text.C: fix a getChar(pos) bug properly
4188 2003-03-13 Angus Leeming <leeming@lyx.org>
4191 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4192 Probably only temporary. Let's see how things pan out.
4194 * BufferView.C (unlockInset):
4195 * BufferView_pimpl.C (fitCursor):
4196 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4198 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4199 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4201 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4202 new functions that convert ParagraphParameters to and from a string.
4204 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4205 BufferView::Pimpl's dispatch.
4206 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4208 2003-03-13 André Pönitz <poenitz@gmx.net>
4212 * factory.C: make it aware of InsetEnv
4214 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * text2.C (setCursor): never ask for one past last
4217 (setCursor): add some debugging messages.
4219 * text.C (singleWidth): never ask for one past last
4220 (singleWidth): ditto
4222 (rightMargin): ditto
4223 (rowBreakPoint): ditto
4224 (setHeightOfRow): ditto
4225 (prepareToPrint): ditto
4227 * rowpainter.C (paintBackground): never ask for one past last
4228 (paintText): never ask for one past last
4230 * paragraph_pimpl.C (getChar): make the assert stricter, never
4231 allow the one past last pos to be taken
4233 * paragraph.C (getChar): ws changes only
4235 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4236 (numberOfSeparators): ditto
4237 (numberOfHfills): ditto
4239 2003-03-12 John Levon <levon@movementarian.org>
4245 * paragraph_funcs.C: fix per-buffer authorlists
4247 2003-03-12 John Levon <levon@movementarian.org>
4249 * text.C: fix newline in right address
4251 2003-03-12 Angus Leeming <leeming@lyx.org>
4253 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4254 duplicate those in LyXFunc::dispatch.
4258 * ToolbarDefaults.C:
4259 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4260 Add LFUN_FONTFREE_UPDATE.
4262 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4263 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4265 * bufferview_func.[Ch]: several new functions to facilliate
4266 transfer of data to and from the character dialog.
4268 2003-03-12 John Levon <levon@movementarian.org>
4273 * paragraph_funcs.C:
4274 * paragraph_pimpl.C:
4278 * text3.C: remove META_NEWLINE in favour of an inset
4281 * rowpainter.C: remove paintNewline (done by inset)
4283 2003-03-12 John Levon <levon@movementarian.org>
4285 * paragraph_pimpl.C: complain about bad getChar()s
4286 for a while at least
4288 2003-03-12 John Levon <levon@movementarian.org>
4291 * buffer.C: move paragraph read into a separate function,
4292 a little renaming to reflect that.
4295 * bufferparams.C: remove the author_ids map, not necessary now
4298 * factory.C: moved Buffer::readInset to here
4300 * paragraph_funcs.h:
4301 * paragraph_funcs.C: readParagraph free function moved from
4304 * tabular.C: name change
4306 2003-03-12 John Levon <levon@movementarian.org>
4309 * ParagraphParameters.C: move par params input to
4312 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4313 behave like a normal read from the stream wrt reading
4314 a line vs. a \\token
4316 2003-03-12 John Levon <levon@movementarian.org>
4319 * ParagraphParameters.h:
4320 * ParagraphParameters.C: move output code to a
4323 2003-03-12 John Levon <levon@movementarian.org>
4325 * BufferView.C (insertLyXFile):
4328 * tabular.C: use a parlist iterator for creating the
4331 2003-03-12 John Levon <levon@movementarian.org>
4333 * buffer.C: make current_change static local not
4336 2003-03-12 John Levon <levon@movementarian.org>
4338 * buffer.C: fix insertStringAsLines for change tracking
4340 2003-03-12 John Levon <levon@movementarian.org>
4347 * bufferparams.C: move author list into params. Rename some
4348 functions. Move the header reading into a separate token
4349 loop. Move the header token reading into BufferParams.
4351 2003-03-12 John Levon <levon@movementarian.org>
4353 * changes.C: put debug inside lyxerr.debugging() checks
4355 2003-03-11 André Pönitz <poenitz@gmx.net>
4357 * factory.C: make it aware of InsetHFill
4359 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4361 * buffer.C (latexParagraphs): move function from here...
4362 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4365 2003-03-10 Angus Leeming <leeming@lyx.org>
4367 * LyXAction.C (init): fix bug in poplating array with multiple entries
4368 with the same LFUN (spotted by JMarc).
4370 2003-03-10 John Levon <levon@movementarian.org>
4373 * text2.C: move getColumnNearX() near its
4376 2003-03-10 John Levon <levon@movementarian.org>
4378 * text.C: fix break before a minipage
4380 2003-03-10 John Levon <levon@movementarian.org>
4382 * text.C: fix the last commit
4384 2003-03-09 John Levon <levon@movementarian.org>
4388 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4389 bug 365 (don't break before insets unless needed). Don't
4390 return a value > last under any circumstances.
4392 2003-03-09 Angus Leeming <leeming@lyx.org>
4394 * BufferView_pimpl.C (trackChanges, dispatch): call
4395 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4397 2003-03-09 Angus Leeming <leeming@lyx.org>
4399 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4400 than Dialogs::showAboutlyx().
4402 2003-03-09 Angus Leeming <leeming@lyx.org>
4404 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4405 than Dialogs::showTabularCreate().
4407 2003-03-09 John Levon <levon@movementarian.org>
4411 * text2.C: 3rd arg to nextBreakPoint was always the same.
4414 2003-03-08 John Levon <levon@movementarian.org>
4421 * text2.C: Remove the "main" bit from the "main body"
4424 2003-03-08 John Levon <levon@movementarian.org>
4426 * text.C (leftMargin): The left margin of an empty
4427 manual label paragraph should not include the label width
4430 * text.C (prepareToPrint): don't attempt to measure hfills
4431 for empty manual label paragraphs - the answer should be 0
4433 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4435 * CutAndPaste.C: remove commented code and reindent.
4437 2003-03-08 John Levon <levon@movementarian.org>
4440 * lyxfunc.C: move reloadBuffer()
4443 * BufferView.C: to here
4445 * lyxvc.C: add comment
4448 * vc-backend.C: call bv->reload() to avoid
4449 getStatus() check on MENURELOAD
4451 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4453 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4454 to an old format .dep file.
4456 2003-03-07 Angus Leeming <leeming@lyx.org>
4458 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4459 when the LFUN_MOUSE_RELEASE should have been handled by
4460 inset->localDispatch.
4462 2003-03-07 Angus Leeming <leeming@lyx.org>
4464 * BufferView_pimpl.C (dispatch):
4465 * LyXAction.C (init):
4466 * ToolbarDefaults.C (init):
4468 * lyxfunc.C (getStatus):
4469 remove LFUN_INSET_GRAPHICS.
4471 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4473 2003-03-07 Angus Leeming <leeming@lyx.org>
4476 * LyXAction.C (init):
4477 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4479 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4482 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4484 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4485 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4487 2003-03-07 Angus Leeming <leeming@lyx.org>
4489 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4492 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4494 * ParagraphList.C (front): new function
4497 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4499 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4500 and top_row_offset_. removed var first_y.
4502 * text2.C (LyXText, removeRow):
4504 * BufferView_pimpl.C:
4505 use these methods instead of using first_y
4507 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4509 * text2.C (pasteSelection): adjust for checkPastePossible
4511 * CutAndPaste.C: remove Paragraph * buf and replace with
4512 ParagraphList paragraphs.
4513 (DeleteBuffer): delete
4514 (cutSelection): change the tc type to textclass_type
4515 (copySelection): change the tc type to textclass_type
4516 (copySelection): adjust for ParagraphList
4517 (pasteSelection): change the tc type to textclass_type
4518 (pasteSelection): adjust for Paragraphlist
4519 (nrOfParagraphs): simplify for ParagraphList
4520 (checkPastePossible): simplify for ParagraphList
4521 (checkPastePossible): remove unused arg
4523 * ParagraphList.C (insert): handle the case where there are no
4526 * CutAndPaste.h: make CutAndPaste a namespace.
4528 * text3.C (dispatch): adjust
4530 * text.C (breakParagraph): add a ParagraphList as arg
4532 * paragraph_funcs.C (breakParagraph): change to take a
4533 BufferParams and a ParagraphList as args.
4534 (breakParagraphConservative): ditto
4535 (mergeParagraph): ditto
4536 (TeXDeeper): add a ParagraphList arg
4537 (TeXEnvironment): ditto
4540 * buffer.C (readLyXformat2): adjust
4541 (insertStringAsLines): adjust
4542 (latexParagraphs): adjust
4544 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4545 (cutSelection): adjust
4546 (pasteSelection): adjust
4548 * BufferView_pimpl.C (insertInset): adjust
4550 2003-03-05 Angus Leeming <leeming@lyx.org>
4553 * LyXAction.C (init):
4554 * BufferView_pimpl.C (dispatch):
4555 * lyxfunc.C (getStatus):
4556 remove LFUN_CHILD_INSERT.
4558 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4560 2003-03-05 Angus Leeming <leeming@lyx.org>
4563 * LyXAction.C (init):
4564 * src/factory.C (createInset):
4565 * lyxfunc.C (getStatus):
4566 * text3.C (dispatch):
4567 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4569 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4571 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4573 * ParagraphList.C (insert): handle insert right before end()
4574 (erase): fix cases where it can be first or last paragraph.
4576 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4579 Paragraph::next and Paragraph::previous
4582 * text.C (breakParagraph): adjust
4584 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4585 BufferParams& as arg.
4586 (breakParagraph): use ParagraphList::insert
4587 (breakParagraphConservative): take a Buffer* instead of a
4588 BufferParams& as arg.
4589 (breakParagraphConservative): use ParagraphList::insert.
4591 * buffer.C (insertStringAsLines): un-const it
4592 (insertStringAsLines): adjust
4594 * ParagraphList.C (insert): new function
4596 * CutAndPaste.C (pasteSelection): adjust
4598 * text.C (backspace): adjust
4600 * tabular.C (SetMultiColumn): adjust
4602 * CutAndPaste.C (cutSelection): adjust
4603 (pasteSelection): adjust
4605 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4606 Buffer const * as arg
4608 * ParagraphList.C (erase): new function
4609 * paragraph_funcs.C (mergeParagraph): use it
4610 (mergeParagraph): make it take a Buffer* instead of a
4611 BufferParams* as arg
4613 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4615 (breakParagraphConservative): ditto
4617 * paragraph.h: remove the breakParagraph friend
4619 * paragraph.C (eraseIntern): new function
4620 (setChange): new function
4622 * paragraph_funcs.C (mergeParagraph): make it take a
4623 ParagraphList::iterator instead of a Paragraph *, adjust
4626 * paragraph.h: move an #endif so that the change tracking stuff
4627 also works in the NO_NEXT case.
4629 2003-03-04 Angus Leeming <leeming@lyx.org>
4632 * LyXAction.C: new LFUN_INSET_MODIFY.
4634 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4635 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4637 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4639 * several files: ws changes only
4641 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4642 (TeXEnvironment): ditto
4645 * buffer.C (makeLaTeXFile): adjust
4646 (latexParagraphs): make it take ParagraphList::iterator as args
4648 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4650 * buffer.C (latexParagraphs): adjust
4652 * paragraph.C (TeXOnePar): move function...
4653 (optArgInset): move function...
4654 (TeXEnvironment): move function...
4655 * paragraph_pimpl.C (TeXDeeper): move function...
4656 * paragraph_funcs.C: ...here
4658 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4660 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * buffer.C (readInset): remove compability code for old Figure and
4665 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4667 * buffer.C: ws changes
4670 * BufferView_pimpl.C: ditto
4673 * bufferlist.h: ditto
4677 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4679 * converter.[Ch]: split into itself +
4682 * Makefile.am: += graph.[Ch] + format.[Ch]
4689 * lyxrc.C: added #include "format.h"
4691 2003-02-27 Angus Leeming <leeming@lyx.org>
4693 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4696 * factory.C (createInset): add "label" to the factory.
4698 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4699 string and do no more.
4701 2003-02-27 Angus Leeming <leeming@lyx.org>
4704 * LyXAction.C (init):
4705 * factory.C (createInset):
4706 * BufferView_pimpl.C (dispatch):
4707 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4709 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4711 * lyxfunc.C (dispatch):
4712 * text3.C (dispatch): pass name to params2string.
4714 2003-02-26 Angus Leeming <leeming@lyx.org>
4716 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4718 Rearrange the ~includes. Strip out the unnecessary ones.
4720 * factory.C (createInset): reformat.
4721 create new insets for the various LFUN_XYZ_APPLY lfuns.
4723 2003-02-26 John Levon <levon@movementarian.org>
4726 * lyxrow.C: add isParStart,isParEnd helpers
4728 * paragraph.h: make isInserted/DeletedText take refs
4730 * paragraph_funcs.h:
4731 * paragraph_funcs.C: remove #if 0'd code
4736 * text.C: use lyxrow helpers above.
4737 Move draw and paint routines to RowPainter.
4738 Make several methods use refs not pointers.
4739 Make backgroundColor() const.
4740 Add markChangeInDraw(), isInInset().
4741 Merge changeRegionCase into changeCase.
4742 Make workWidth() shouldn't-happen code into an Assert.
4745 * rowpainter.C: new class for painting a row.
4748 * vspace.C: make inPixels take a ref
4750 2003-02-26 Angus Leeming <leeming@lyx.org>
4752 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4755 2003-02-25 John Levon <levon@movementarian.org>
4757 * ispell.C: give the forked command a more accurate name
4759 2003-02-22 John Levon <levon@movementarian.org>
4762 * toc.C: make TocItem store an id not a Paragraph *
4765 2003-02-21 Angus Leeming <leeming@lyx.org>
4767 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4768 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4769 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4770 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4771 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4772 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4774 * BufferView_pimpl.C (dispatch):
4775 * LyXAction.C (init):
4776 * factory.C (createInset):
4777 * lyxfunc.C (getStatus, dispatch):
4778 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4780 2003-02-21 Angus Leeming <leeming@lyx.org>
4782 * BufferView_pimpl.C (MenuInsertLyXFile):
4783 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4784 * lyxfunc.C (menuNew, open, doImport):
4785 no longer pass a LyXView & to fileDlg.
4787 2003-02-21 Angus Leeming <leeming@lyx.org>
4789 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4790 * LyXAction.C: change, BIBKEY to BIBITEM.
4791 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4792 Change InsetBibKey to InsetBibitem.
4793 Change BIBKEY_CODE to BIBITEM_CODE.
4794 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4795 * factory.C: replace insetbib.h with insetbibitem.h.
4796 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4797 * paragraph.C: replace insetbib.h with insetbibitem.h.
4798 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4799 Change bibkey() to bibitem().
4800 * text.C: remove insetbib.h.
4801 * text2.C: replace insetbib.h with insetbibitem.h.
4802 change bibkey() to bibitem().
4803 * text3.C: remove insetbib.h.
4804 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4806 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4808 * lyxrc.C (output): enclose user email in quotes (in case there are
4811 2003-02-18 John Levon <levon@movementarian.org>
4813 * buffer.h: add std::
4815 2003-02-17 John Levon <levon@movementarian.org>
4821 * pspell.C: reworking. Especially in ispell, a large
4822 number of clean ups and bug fixes.
4824 * lyxfunc.C: fix revert to behave sensibly
4826 2003-02-17 André Pönitz <poenitz@gmx.net>
4829 * commandtags.h: new LFUN_INSERT_BIBKEY
4839 * paragraph_func.C: remove special bibkey handling
4841 2003-02-17 John Levon <levon@movementarian.org>
4843 * text.C (Delete): fix case where delete at the end of
4844 the very first paragraph would not merge the pars
4846 2003-02-17 John Levon <levon@movementarian.org>
4848 * lyxrow.C: fix lastPrintablePos()
4850 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4852 * bufferparams.C (writeLaTeX): add a std:here
4854 * buffer.C: and remove a using directive there
4856 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4858 * buffer.C (makeLaTeXFile): move the code that generates the
4861 * bufferparams.C (writeLaTeX): ... in this new method
4863 * LaTeXFeatures.C (getEncodingSet): make const
4864 (getLanguages): make const
4866 * MenuBackend.C (binding): returns the binding associated to this
4868 (add): sets the status of each item by calling getStatus. Adds
4870 (read): add support for OptSubMenu
4871 (expand): remove extra separator at the end of expanded menu
4873 2003-02-15 John Levon <levon@movementarian.org>
4876 * BufferView_pimpl.C:
4878 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4879 inset code that had no actual effect. Remove unneeded status
4882 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4884 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4887 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4889 * text.C (drawLengthMarker): also draw an arrow marker for
4890 symbolic lengths (medskip...)
4892 2003-02-14 John Levon <levon@movementarian.org>
4895 * tabular.C: better method names
4897 2003-02-14 John Levon <levon@movementarian.org>
4899 * BufferView_pimpl.C:
4904 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4905 it's a more accurate name. Remove some pointless uses.
4907 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4909 * text2.C (LyXText): change order of initilizers to shut off
4912 2003-02-14 John Levon <levon@movementarian.org>
4914 * buffer.C: use ParIterator for getParFromID()
4918 * paragraph_pimpl.h:
4919 * paragraph_pimpl.C: remove unused getParFromID()
4921 2003-02-14 John Levon <levon@movementarian.org>
4923 * buffer.C: remove some very old #if 0'd parse code
4925 2003-02-13 John Levon <levon@movementarian.org>
4929 * text2.C: move hfillExpansion(), numberOfSeparators(),
4930 rowLast(), rowLastPrintable(), numberofHfills(),
4931 numberOfLabelHfills() ...
4934 * lyxrow.C: ... to member functions here.
4939 * text.C: remove LyXText::beginningOfMainBody(), and call
4940 p->beginningOfMainBody() directly. Move the check for
4941 LABEL_MANUAL into the latter.
4948 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4954 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4955 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4957 2003-02-13 John Levon <levon@movementarian.org>
4959 * CutAndPaste.C: remove debug
4961 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4963 * paragraph.C (asString): remove two unused variables
4965 * lyxtextclass.C (readTitleType):
4967 (LyXTextClass): handle new members titletype_ and titlename_
4969 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4971 2003-02-09 John Levon <levon@movementarian.org>
4974 * buffer.C: replace hand-coded list with a map for the dep clean
4976 2003-02-08 John Levon <levon@movementarian.org>
4978 * LaTeX.C: consolidate code into showRunMessage() helper
4980 2003-02-08 John Levon <levon@movementarian.org>
4985 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4986 and pass the size in explicitly
4988 * BufferView_pimpl.h:
4989 * BufferView_pimpl.C:
4991 * BufferView.C: add getCurrentChange()
4993 * BufferView_pimpl.h:
4994 * BufferView_pimpl.C: handle change lfuns
4996 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4997 for changes. Mark pasted paragraphs as new.
4999 * support/lyxtime.h:
5000 * support/lyxtime.C:
5001 * DepTable.C: abstract time_t as lyx::time_type
5004 * LColor.C: add colours for new text, deleted text, changebars
5006 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5007 package use "usenames" option.
5011 * LyXAction.C: add change lfuns
5015 * author.C: author handling
5018 * buffer.C: add a per-buffer author list, with first entry as
5019 current author. Handle new .lyx tokens for change tracking. Output
5020 author list to .lyx file. Output dvipost stuff to .tex preamble.
5021 Bump lyx format to 222.
5024 * bufferlist.C: add setCurrentAuthor() to reset current author details
5028 * bufferparams.C: add param for tracking
5030 * bufferview_funcs.C: output change info in minibuffer
5034 * changes.C: add change-tracking structure
5037 * debug.C: add CHANGES debug flag
5040 * lyxfind.C: add code for finding the next change piece
5043 * lyxrc.C: add user_name and user_email
5046 * lyxrow.C: add a metric for the top of the text line
5049 * text.C: implement accept/rejectChange()
5052 * text.C: paint changebars. Paint new/deleted text in the chosen
5053 colours. Strike through deleted text.
5057 * paragraph_pimpl.h:
5058 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5059 in the current change to the insert functions. Rework erase to
5060 mark text as deleted, adding an eraseIntern() and a range-based
5061 erase(). Implement per-paragraph change lookup and
5064 * paragraph_funcs.C: Fixup paste for change tracking.
5066 * tabular.C: mark added row/columns as new.
5068 * text.C: fix rowLast() to never return -1. Don't allow
5069 spellchecking of deleted text. Track transpose changes. Don't
5070 allow paragraph break or merge where appropriate.
5072 * text2.C: leave cursor at end of selection after a cut.
5074 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5076 * text.C (getLengthMarkerHeight):
5077 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5078 visible on screen too.
5080 2003-02-07 John Levon <levon@movementarian.org>
5082 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5084 2003-02-05 Angus Leeming <leeming@lyx.org>
5086 * lyxserver.C (read_ready): revert my patch of 11 September last year
5087 as it sends PC cpu through the roof. Presumably this means that
5088 the lyxserver will no longer run on an Alpha...
5090 2003-01-30 Angus Leeming <leeming@lyx.org>
5092 * factory.C (createInset): create an InsetCommandParam of type "index"
5093 and use it to 'do the right thing'.
5095 * text2.C (getStringToIndex): ensure that cursor position is always
5096 reset to the reset_cursor position.
5098 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5100 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5103 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5107 * lyxfunc.C: Output messages with identical spelling, punctuation,
5110 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5112 * MenuBackend.C (expandFormats): List only viewable export formats
5115 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5118 * lyxfunc.C (getStatus): Make sure that formats other than
5119 "fax" can also be disabled
5121 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5123 * text3.C (dispatch): put the lfuns that insert insets in 3
5124 groups, and call doInsertInset with appropriate arguments.
5125 (doInsertInset): new function, that creates an inset and inserts
5126 it according to some boolean parameters.
5128 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5130 * buffer.C (readFile): remember to pass on 'par' when calling
5131 readFile recursively.
5133 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5135 * MenuBackend.C (expandFormats): add "..." to import formats.
5137 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5139 * paragraph.C (asString): Remove XForms RTL hacks.
5141 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5142 * buffer.C: fix typo
5144 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5146 * Makefile.am (LIBS): delete var
5147 (lyx_LDADD): add @LIBS@ here instead.
5149 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5151 * Clarify the meaning of "wheel mouse jump"
5153 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5155 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5158 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5160 * importer.C (Loaders): do not preallocate 3 elements in the
5161 vector, since one ends up with 6 elements otherwise
5163 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5165 * DepTable.C (write): write the file name as last element of the
5166 .dep file (because it may contain spaces)
5167 (read): read info in the right order
5169 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5171 * paragraph_pimpl.C (simpleTeXBlanks):
5172 (simpleTeXSpecialChars):
5173 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5175 * tabular.C (latex): add some missing case statements. Reindent.
5177 * MenuBackend.C (expandToc): remove unused variable.
5179 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5188 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5191 2003-01-05 John Levon <levon@movementarian.org>
5194 * BufferView.C: add getEncoding()
5197 * kbsequence.C: do not store last keypress
5200 * lyxfunc.C: store last keypress here instead. Pass encoding
5203 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5205 * lyx_main.C (init): remove annoying error message when following
5206 symbolic links (bug #780)
5208 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5210 * text.C (insertChar):
5211 * lyxrc.C (getDescription): remove extra spaces
5213 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5215 * lyxrc.C (getDescription): remove extra spaces
5217 2002-12-20 John Levon <levon@movementarian.org>
5219 * text3.C: hack fix for page up/down across tall rows
5221 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5223 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5226 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5228 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5229 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5230 thesaurus is not compiled in
5232 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5234 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5236 2002-12-16 Angus Leeming <leeming@lyx.org>
5239 * lyx_main.C (init): remove override_x_deadkeys stuff.
5241 2002-12-12 John Levon <levon@movementarian.org>
5243 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5244 insert. Only remove shift modifier under strict
5247 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5249 * MenuBackend.C (expandToc): fix crash.
5251 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5253 * MenuBackend.C (expandToc): gettext on float names.
5255 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5257 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5258 implement bool empty() [bug 490]
5260 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5262 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5264 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * several files: ws changes
5268 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5270 * text2.C (setCounter): clean up a bit, use boost.format.
5271 (updateCounters): initialize par upon declaration.
5273 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5274 if the layout exists. We do not just store the layout any more.
5275 (SwitchLayoutsBetweenClasses): use boost.format
5277 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5279 * converter.C (convert): if from and to files are the same, use a
5280 temporary files as intermediary
5282 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5285 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5287 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5289 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5291 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * tabular.C (asciiPrintCell): use string(size, char) instead of
5296 * sgml.C (openTag): fix order of arguments to string constructor
5299 * lyxfunc.C (dispatch): use boost.format
5301 * lots of files: change "c" -> 'c'
5303 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5305 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5307 2002-11-25 Angus Leeming <leeming@lyx.org>
5309 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5311 * lyx_main.C (init): compile fix.
5313 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5315 * lyx_cb.C (start): boost.formatify
5316 do not include <iostream>
5318 * lengthcommon.C: ws only
5320 * boost-inst.C,BoostFormat.h: add more explict instantations
5322 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5324 * lots of files: handle USE_BOOST_FORMAT
5326 2002-11-21 John Levon <levon@movementarian.org>
5328 * pspell.C: fix compile
5330 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5332 * lyxfunc.C (dispatch): use boost::format
5336 * lyxfont.C (stateText): use boost::format
5338 * lyx_main.C (LyX): use boost::format
5340 (queryUserLyXDir): ditto
5343 (typedef boost::function): use the recommened syntax.
5345 * importer.C (Import): use boost::format
5347 * debug.C (showLevel): use boost::format
5349 * converter.C (view): use boost::format
5354 * bufferview_funcs.C (currentState): use boost::format
5356 * bufferlist.C (emergencyWrite): use boost::format
5358 * buffer.C (readLyXformat2): use boost::format
5359 (parseSingleLyXformat2Token): ditto
5361 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5363 * LaTeX.C (run): use boost::format
5365 * Chktex.C (scanLogFile): use boost::format
5367 * BufferView_pimpl.C (savePosition): use boost::format
5368 (restorePosition): ditto
5369 (MenuInsertLyXFile): ditto
5371 * BoostFormat.h: help file for explicit instation.
5373 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5375 * tabular.C (latex): Support for block alignment in fixed width
5378 2002-11-17 John Levon <levon@movementarian.org>
5380 * BufferView_pimpl.C:
5382 * lyxfunc.C: split filedialog into open/save
5384 2002-11-08 Juergen Vigna <jug@sad.it>
5386 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5387 by my last patch (hopefully).
5389 2002-11-08 John Levon <levon@movementarian.org>
5398 * toc.C: ParConstIterator, and use it (from Lars)
5400 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5402 * lyxtextclass.[Ch]: revise and add doxygen comments
5404 2002-11-07 John Levon <levon@movementarian.org>
5406 * text.C: fix progress value for spellchecker
5408 * toc.C: fix navigate menu for insetwrap inside minipage
5410 * paragraph_funcs.C: added FIXME for suspect code
5412 2002-11-07 John Levon <levon@movementarian.org>
5414 * BufferView_pimpl.C: fix redrawing of insets
5417 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5419 * text2.C (updateCounters): fix bug 668
5421 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5423 * text3.C (dispatch): Do not make the buffer dirty when moving the
5426 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5428 * vc-backend.C: STRCONV
5431 * text2.C (setCounter): STRCONV
5433 * paragraph.C (asString): STRCONV
5435 * lyxlength.C (asString): STRCONV
5436 (asLatexString): ditto
5438 * lyxgluelength.C (asString): STRCONV
5439 (asLatexString): ditto
5441 * lyxfunc.C (dispatch): STRCONV
5444 * lyxfont.C (stateText): STRCONV
5446 * importer.C (Import): STRCONV
5448 * counters.C (labelItem): STRCONV
5449 (numberLabel): ditto
5450 (numberLabel): remove unused ostringstream o
5455 * bufferview_funcs.C (currentState): STRCONV
5457 * buffer.C (readFile): STRCONV
5458 (asciiParagraph): ditto
5459 (makeLaTeXFile): ditto
5461 * Spacing.C (writeEnvirBegin): STRCONV
5463 * LaTeXFeatures.C (getLanguages): STRCONV
5464 (getPackages): ditto
5466 (getBabelOptions): ditto
5467 (getTClassPreamble): ditto
5468 (getLyXSGMLEntities): ditto
5469 (getIncludedFiles): ditto
5473 (scanAuxFile): ditto
5476 * LString.h: add the STRCONV macros
5478 * BufferView_pimpl.C (savePosition): STRCONV
5479 (restorePosition): ditto
5480 (MenuInsertLyXFile): ditto
5482 * vc-backend.C (scanMaster): change from submatch[...] to
5485 * funcrequest.C: include config.h
5487 * factory.C: include config.h
5489 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5491 * box.C: include config.h
5493 * LaTeX.C (scanAuxFile): change from submatch[...] to
5497 2002-10-25 Angus Leeming <leeming@lyx.org>
5499 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5501 * ispell.[Ch] (setError): new method.
5502 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5503 Use setError() insetead of goto END.
5505 * lyx_cb.C (AutoSave): move out child process into new class
5508 2002-10-30 John Levon <levon@movementarian.org>
5510 * text3.C: make start appendix undoable
5512 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5514 * lyxlength.C (inPixels): Fix returned value.
5516 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5519 2002-10-24 Angus Leeming <leeming@lyx.org>
5521 * lyxgluelength.h: no need to forward declare BufferParams
5522 or BufferView, so don't.
5524 2002-10-21 John Levon <levon@movementarian.org>
5526 * BufferView.C: menuUndo ->undo, redo
5528 * BufferView.h: document, remove dead, make some methods private
5530 * paragraph_funcs.h:
5531 * paragraph_funcs.C:
5532 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5537 * sgml.C: move sgml open/close tag into sgml.C
5539 * bufferview_funcs.h: unused prototype
5542 * lyxfunc.C: remove unused
5545 * text.C: remove unused
5547 2002-10-21 John Levon <levon@movementarian.org>
5551 * BufferView_pimpl.h:
5552 * BufferView_pimpl.C: fix mouse wheel handling based on
5553 patch from Darren Freeman
5555 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5557 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5559 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5561 * lyxlength.C (inPixels): Fix hanfling of negative length.
5562 Fix LyXLength::MU case.
5564 2002-10-16 John Levon <levon@movementarian.org>
5566 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5568 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5570 * converter.C (view): add support for $$i (file name) and $$p
5571 (file path) for the viewer command. If $$i is not specified, then
5572 it is appended to the command (for compatibility with old syntax)
5574 2002-10-14 Juergen Vigna <jug@sad.it>
5576 * undo_funcs.C (textHandleUndo): alter the order in which the
5577 new undopar is added to the LyXText, as we have to set first
5578 the right prev/next and then add it as otherwise the rebuild of
5579 LyXText is not correct. Also reset the cursor to the right paragraph,
5580 with this IMO we could remove the hack in "redoParagraphs()".
5582 2002-10-09 Angus Leeming <leeming@lyx.org>
5584 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5585 to turn off an optimisation if a new inset is to be inserted.
5587 2002-10-11 André Pönitz <poenitz@gmx.net>
5589 * lyxtext.h: make some functions public to allow access
5590 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5592 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5594 * text3.C (dispatch): when changing layout, avoid an infinite loop
5597 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5599 * lyxrc.C (read): treat a viewer or converter command of "none" as
5602 * MenuBackend.C (expandFormats): for an update, also allow the
5603 formats that are not viewable
5605 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5606 script if it is newer than the lyxrc.defaults in user directory
5608 2002-10-07 André Pönitz <poenitz@gmx.net>
5610 * text.C: Vitaly Lipatov's small i18n fix
5612 2002-09-25 Angus Leeming <leeming@lyx.org>
5614 * ispell.h: doxygen fix.
5616 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5618 * buffer.h (readFile): Add a new argument to the method, to allow
5619 reading of old-format templates.
5621 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5623 * toc.C (getTocList): Get TOC from InsetWrap.
5625 2002-09-16 John Levon <levon@movementarian.org>
5627 * lyxfunc.C: check tabular for cut/copy too
5629 2002-09-12 John Levon <levon@movementarian.org>
5634 * factory.C: add header
5636 * paragraph_funcs.h:
5637 * paragraph_funcs.C: cleanup
5639 2002-09-11 John Levon <levon@movementarian.org>
5641 * PrinterParams.h: odd/even default to true
5643 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5645 * PrinterParams.h: update printer parameters for new xforms dialog
5647 2002-09-11 Angus Leeming <leeming@lyx.org>
5649 * lyxserver.C (read_ready): re-write to make it more transparent
5650 and to make it work in coherent fashion under Tru64 Unix.
5652 2002-09-11 André Pönitz <poenitz@gmx.net>
5656 * text3.C: implement LFUN_WORDSEL
5658 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5660 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5661 make floatlist_ a boost::shared_ptr<FloatList>
5663 * lyxtextclass.C: include FloatList.h
5664 (LyXTextClass): initialize floatlist_
5665 (TextClassTags): add TC_NOFLOAT
5666 (Read): match "nofloat" to TC_NOFLOAT and use it.
5667 (readFloat): modify call to floatlist_
5671 * FloatList.[Ch] (FloatList): remove commented out float
5673 (erase): new function
5675 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5677 * MenuBackend.C (expandToc): fix crash when there is no document
5680 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5682 * many files: Add insetwrap.
5684 2002-09-09 John Levon <levon@movementarian.org>
5686 * text2.C: remove confusing and awkward depth wraparound
5688 2002-09-09 John Levon <levon@movementarian.org>
5690 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5693 * buffer.C: remove getIncludeonlyList()
5696 * lyxfunc.C: remove headers
5698 2002-09-09 Juergen Vigna <jug@sad.it>
5700 * text.C (getColumnNearX): fix form Michael this is most
5701 probably a cut&paste bug.
5703 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5705 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5707 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5708 references, ws changes.
5710 * text2.C (init): update counters after init
5711 (insertParagraph): no need to set counter on idividual paragraphs.
5712 (setCounter): access the counters object in the textclass object
5713 on in the buffer object.
5714 (updateCounters): ditto
5716 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5717 shared_ptr<Counters> to avoid loading counters.h in all
5719 (LyXTextClass): initialize ctrs_
5720 (TextClassTags): add TC_COUNTER, and ...
5721 (Read): use it here.
5722 (CounterTags): new tags
5723 (readCounter): new function
5724 (counters): new funtion
5725 (defaultLayoutName): return a const reference
5727 * counters.C (Counters): remove contructor
5728 (newCounter): remove a couple of unneeded statements.
5729 (newCounter): simplify a bit.
5730 (numberLabel): some small formatting changes.
5732 * buffer.[Ch]: remove all traces of counters, move the Counters
5733 object to the LyXTextClass.
5735 2002-09-06 Alain Castera <castera@in2p3.fr>
5737 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5738 package to set the horizontal alignment on fixed width columns.
5741 * lyx_sty.h: added tabularnewline macro def.
5743 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5745 2002-09-06 John Levon <levon@movementarian.org>
5747 * LyXAction.C: tooltips for sub/superscript
5749 * MenuBackend.C: a bit more verbose
5751 * lyxfunc.C: tiny clean
5753 * undo_funcs.C: document undo_frozen
5755 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5757 * counters.C (Counters): add missing algorithm counter.
5759 * text2.C (setCounter): lookup the counter with layouts latexname
5760 instead of by section number.
5761 (setCounter): use a hackish way to lookup the correct enum
5763 a float name->type change
5764 reset enum couners with counter name directly instead of depth value.
5766 * counters.C (Counters): remove the push_backs, change to use the
5767 float type not the float name.
5768 (labelItem): remove unused string, float name->type change
5770 * counters.h: don't include vector, loose the enums and sects vectors
5772 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5774 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5775 (Read): add float->TC_FLOAT to textclassTags
5776 (Read): and handle it in the switch
5777 (readFloat): new function
5779 * FloatList.C (FloatList): comment out the hardcoded float
5782 * lyxlayout.h: ws change.
5784 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5786 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5788 2002-09-03 Angus Leeming <leeming@lyx.org>
5790 * BufferView_pimpl.h: qualified name is not allowed in member
5791 declaration: WorkArea & Pimpl::workarea() const;
5793 * factory.C: added using std::endl directive.
5795 * text3.C: added using std::find and std::vector directives.
5797 2002-08-29 André Pönitz <poenitz@gmx.net>
5800 * text2.C: remove unused member number_of_rows
5803 * BufferView2.C: remove file, move contents to...
5804 * BufferView.C: ... here
5806 * BufferView_pimpl.C:
5807 * factory.C: move more inset creation to factory
5809 * vspace.C: avoid direct usage of LyXText, ws changes
5812 don't provide direct access to WorkArea, use two simple
5813 acessors haveSelction() and workHeight() instead
5816 2002-08-29 John Levon <levon@movementarian.org>
5818 * BufferView_pimpl.C (dispatch): do not continue when
5821 2002-08-28 André Pönitz <poenitz@gmx.net>
5823 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5826 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5828 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5830 * buffer.C: increment LYX_FORMAT to 221
5832 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5833 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5835 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5837 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5839 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5841 * factory.C (createInset): use LyXTextClass::floats
5843 * MenuBackend.C (expandFloatListInsert):
5844 (expandFloatInsert):
5847 * text2.C (setCounter):
5849 * LaTeXFeatures.C (useFloat):
5850 (getFloatDefinitions):
5852 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5854 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5855 floatlist_, with accessor floats().
5857 * FloatList.h: remove global FloatList
5859 2002-08-26 André Pönitz <poenitz@gmx.net>
5861 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5865 * BufferView_pimpl.C:
5866 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5868 2002-08-25 John Levon <levon@movementarian.org>
5870 * LyXAction.C: fix margin note description
5872 2002-08-24 John Levon <levon@movementarian.org>
5876 * bufferview_funcs.C:
5878 * undo_funcs.C: cleanups
5880 * lyxfunc.C: disable CUT/COPY when no selection
5882 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5884 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5885 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5887 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5888 Add backward compatibility to "mono", "gray" and "no".
5890 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5892 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5893 (and file_format >= 200).
5895 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5897 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5899 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5901 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5903 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5905 * BufferView_pimpl.C:
5912 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5913 inset and code to make it work with the paragraph code. The inset
5914 can be anywhere in the paragraph, but will only do the expected
5915 thing in LaTeX if the layout file contains the parameter line
5917 (or more generally, a nonzero value) for that layout.
5919 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5921 * paragraph.h: remove the declaration of undefined counters class
5924 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5926 * text2.C (setCounter): fixed enumeration mis-count as reported by
5927 Dr. Richard Hawkins.
5929 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5931 * paragraph_funcs.h: remove some unneeded includes
5933 * text.C (backspace): pasteParagraph now in global scipe
5935 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5936 (pasteSelection): ditto
5938 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5939 * paragraph_funcs.C (pasteParagraph): ... here
5941 2002-08-20 André Pönitz <poenitz@gmx.net>
5943 * commandtags.h: new LFUNs for swapping/copying table row/colums
5946 * lyxfunc.C: support for new lfuns
5948 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5951 * buffer.[Ch]: remove NO_COMPABILITY stuff
5953 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5955 * boost.C (throw_exception): new file, with helper function for
5956 boost compiled without exceptions.
5961 * ParameterStruct.h:
5962 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5964 * bufferlist.C (emergencyWriteAll): use boost bind
5966 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5968 * text.C: include paragraph_funcs.h
5969 (breakParagraph): breakParagraph is now in global scope
5971 * paragraph_funcs.[Ch]: new files
5973 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5976 * buffer.C: include paragraph_funcs.h
5977 (insertStringAsLines): breakParagraph is now in global scope
5979 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5982 * CutAndPaste.C: include paragraph_funcs.h
5983 (cutSelection): breakParagraphConservative is now in global scope
5984 (pasteSelection): ditto
5986 * buffer.h: declare oprator== and operator!= for
5987 Buffer::inset_iterator
5989 * bufferlist.C (emergencyWrite): don't use fmt(...)
5991 * text3.C: add using std::endl
5993 * BufferView.C (moveCursorUpdate): remove default arg
5995 2002-08-20 André Pönitz <poenitz@gmx.net>
5997 * buffer.[Ch]: move inline functions to .C
6000 * BufferView_pimpl.C:
6002 * buffer.[Ch]: use improved inset_iterator
6005 * paragraph.[Ch]: write one paragraph at a time
6007 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6009 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6010 style if style is not specified.
6012 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6014 * text2.C (setCounter): when searching for right label for a
6015 caption, make sure to recurse to parent insets (so that a caption
6016 in a minipage in a figure float works) (bug #568)
6018 2002-08-20 André Pönitz <poenitz@gmx.net>
6020 * text3.C: new file for LyXText::dispatch() and helpers
6022 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6024 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6026 2002-08-19 André Pönitz <poenitz@gmx.net>
6029 * text.C: new LyXText::dispatch()
6031 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6033 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6035 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6037 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6040 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6042 * Makefile.am: use $(variables) instead of @substitutions@
6044 2002-08-15 André Pönitz <poenitz@gmx.net>
6047 * BufferView_pimpl.C: streamlining mathed <-> outer world
6051 * LyXAction.C: remove unused LFUN_MATH
6053 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6055 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6057 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6059 * paragraph.C (Paragraph): reformat a bit
6060 (cutIntoMinibuffer): use builtin InsetList function instad of
6064 * buffer.C: include boost/bind.hpp, add using std::for_each
6065 (writeFileAscii): use ParagraphList iterators
6066 (validate): use for_each for validate traversal of paragraphs
6067 (getBibkeyList): use ParagraphList iterators
6068 (resizeInsets): use for_each to resizeInsetsLyXText for all
6070 (getParFromID): use ParagraphList iterators
6072 * BufferView2.C (lockInset): use paragraph list and iterators
6074 2002-08-14 John Levon <levon@movementarian.org>
6076 * lyxserver.C: remove spurious xforms include
6078 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6080 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6082 2002-08-13 André Pönitz <poenitz@gmx.net>
6085 * lyxfunc.C: further cleaning
6087 2002-08-13 André Pönitz <poenitz@gmx.net>
6089 * funcrequest.h: new constructor
6091 * funcrequest.C: move stuff here from .h
6094 * BufferView_pimpl.C:
6097 * lyxfunc.C: subsequent changes
6099 * lyxfunc.h: new view() member function
6101 * lyxfunc.C: subsequent changes
6103 2002-08-13 Angus Leeming <leeming@lyx.org>
6106 * BufferView_pimpl.C:
6114 changes due to the changed LyXView interface that now returns references
6115 to member variables not pointers.
6117 2002-08-13 Angus Leeming <leeming@lyx.org>
6119 * WordLangTuple (word, lang_code): return references to strings,
6124 * lyxtext.h: forward-declare WordLangTuple.
6129 * text.C: #include "WordLangTuple.h".
6132 * text.C: (selectNextWordToSpellcheck): constify return type.
6134 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6140 * paragraph_pimpl.h:
6143 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6145 Made updateCounter always count from start of buffer, and removed
6146 second argument (par).
6147 Reverted floats number display to '#'. Perhaps I'll try again when the
6148 code base is sanitized a bit.
6150 2002-08-12 Angus Leeming <leeming@lyx.org>
6152 * buffer.[Ch] (getLabelList): constify.
6154 2002-08-07 André Pönitz <poenitz@gmx.net>
6156 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6158 * funcrequest.h: extension to keep mouse (x,y) position
6160 2002-08-12 Juergen Vigna <jug@sad.it>
6162 * BufferView2.C (insertErrors): forbid undo when inserting error
6165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6167 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6169 * ParagraphList.[Ch]: new files
6171 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6173 * BufferView2.C (lockInset): ParagraphList changes
6176 * bufferlist.C: ditto
6180 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6182 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6183 unused class variable counter_,
6185 * paragraph.[Ch] (getFirstCounter): delete unused function
6187 * counters.C: include LAssert.h
6188 (reset): add a new function with no arg, change other version to
6189 not have def. arg and to not allow empty arg.
6191 * text2.C (setCounter): remove empty arg from call to Counters::reset
6193 2002-08-11 John Levon <levon@movementarian.org>
6195 * Makefile.am: add WordLangTuple.h
6197 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6199 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6200 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6202 * insets/insettext.C: InsetList changes
6204 * graphics/GraphicsSupport.C (operator()): InsetList changes
6206 * toc.C (getTocList): InsetList changes
6208 * paragraph_pimpl.[Ch]: InsetList changes
6210 * paragraph.[Ch]: InsetList changes
6212 * buffer.C (inset_iterator): InsetList changes
6213 (setParagraph): ditto
6214 * buffer.h (inset_iterator): ditto
6215 * iterators.C (operator++): ditto
6216 * iterators.h: ditto
6218 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6220 * InsetList.[Ch]: new files, most InsetList handling moved out of
6223 * BufferView2.C (removeAutoInsets): InsetList changes
6225 (ChangeInsets): ditto
6227 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6229 * paragraph_pimpl.h (empty): new function
6231 * paragraph.[Ch] (empty): new function
6233 * other files: use the new Paragraph::empty function
6235 2002-08-09 John Levon <levon@movementarian.org>
6237 * lyxtext.h: remove unused refresh_height
6239 2002-08-09 John Levon <levon@movementarian.org>
6246 * paragraph.C: move sgml char escaping out of paragraph
6249 * paragraph.C: remove id setter
6253 * paragraph_pimpl.C: remove dead tex_code_break_column
6255 * bufferview_funcs.C: small cleanup
6257 * lyxfunc.C: remove dead proto
6259 * lyxtext.h: make some stuff private. Remove some dead stuff.
6261 * lyxgluelength.C: make as[LyX]String() readable
6263 2002-08-08 John Levon <levon@movementarian.org>
6268 * ToolbarDefaults.C:
6271 * toc.C: lyxaction cleanup
6273 2002-08-08 John Levon <levon@movementarian.org>
6275 * BufferView2.C: small cleanup
6278 * lyxfind.C: move unnecessary header into the .C
6280 2002-08-08 John Levon <levon@movementarian.org>
6282 * funcrequest.h: just tedious nonsense
6285 * lyx_main.C: cleanups
6288 * vspace.C: remove dead header lyx_main.h
6290 2002-08-07 Angus Leeming <leeming@lyx.org>
6293 * paragraph_pimpl.h:
6294 Forward declare class Counters in paragraph.h by moving the ctrs member
6295 variable into Paragraph::Pimpl.
6296 (counters): new method, returning a reference to pimpl_->ctrs.
6298 * text2.C: ensuing changes.
6300 2002-08-07 John Levon <levon@movementarian.org>
6302 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6304 * BufferView_pimpl.C: announce X selection on double/triple
6307 * lyx_main.C: use correct bool in batch dispatch
6309 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6311 2002-08-07 André Pönitz <poenitz@gmx.net>
6313 * funcrequest.h: new class to wrap a kb_action and its argument
6316 * BufferView_pimpl[Ch]:
6320 * lyxrc.C: subsequent changes
6323 2002-08-07 John Levon <levon@movementarian.org>
6325 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6326 document options change.
6328 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6333 * makefile.am: move counters functionality over from
6334 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6336 2002-08-06 John Levon <levon@movementarian.org>
6338 * WordLangTuple.h: new file for word + language code tuple
6349 * BufferView2.C: use WordLangTuple
6352 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6354 2002-08-06 John Levon <levon@movementarian.org>
6356 * lyx_main.C: fix cmdline batch handling
6358 2002-08-06 André Pönitz <poenitz@gmx.net>
6360 * lyxrc.C: set default for show_banner to true
6362 2002-08-06 John Levon <levon@movementarian.org>
6364 * pspell.C: fix a crash, and allow new aspell to work
6366 2002-08-06 John Levon <levon@movementarian.org>
6369 * kbmap.C: small cleanup
6372 * vspace.C: add const
6374 2002-08-05 John Levon <levon@movementarian.org>
6376 * LyXAction.C: back to tabular-insert
6378 2002-08-04 John Levon <levon@movementarian.org>
6381 * BufferView.C: cosmetic change
6383 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6393 * BufferView2.C: purge all "Lyx" not "LyX" strings
6396 * lyxcursor.C: attempt to add some documentation
6401 * ToolbarDefaults.C:
6402 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6403 merge with LFUN_TABULAR_INSERT
6410 * pspell.C: split up i/pspell implementations into separate
6411 files, many cleanups
6413 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6415 * text2.C: some cleanup
6417 * lyxfunc.C: don't check for isp_command == "none" any more, it
6418 didn't make any sense
6420 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6425 * makefile.am: move counters functionality over
6426 from text2.C/paragraph.[Ch] to counters.[Ch], and
6428 2002-08-02 John Levon <levon@movementarian.org>
6430 * buffer.C: s/lyxconvert/lyx2lyx/
6432 2002-08-02 Angus Leeming <leeming@lyx.org>
6434 * lyxlex.C: revert John's change as it breaks reading of the user
6437 2002-08-02 Angus Leeming <leeming@lyx.org>
6439 * importer.C (Import):
6440 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6441 changes due to LyXView::view() now returning a boost::shared_ptr.
6443 2002-08-02 John Levon <levon@movementarian.org>
6445 * lyxlex.C: small cleanup
6447 2002-08-02 John Levon <levon@movementarian.org>
6449 * text2.C (status): small cleanup, no logic change
6451 2002-08-01 John Levon <levon@movementarian.org>
6454 * buffer.C (writeFile): don't output alerts, caller
6458 * lyx_cb.C: from above
6460 * lyxfunc.C: allow to open non-existent files
6462 2002-07-31 John Levon <levon@movementarian.org>
6464 * lyxserver.C: don't let incidental errors get
6467 2002-07-30 John Levon <levon@movementarian.org>
6469 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6471 2002-07-30 John Levon <levon@movementarian.org>
6474 * lyxserver.C: remove I/O callback too
6476 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6478 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6481 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * many files: strip,frontStrip -> trim,ltrim,rtrim
6485 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6487 * PrinterParams.h: remove extern containsOnly, and include
6488 support/lstrings.h instead.
6490 * LaTeX.C (scanAuxFile): modify because of strip changes
6492 * buffer.C (makeLaTeXFile): ditto
6493 * bufferparams.C (writeFile): ditt
6494 * lyxfont.C (stateText): ditto
6495 * lyxserver.C (read_ready): ditto
6496 * vc-backend.C (scanMaster): ditto
6498 * BufferView_pimpl.h: ws changes
6500 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6502 2002-07-26 André Pönitz <poenitz@gmx.net>
6504 * kb_sequence.C: remove unnedred usings
6506 2002-07-26 Juergen Vigna <jug@sad.it>
6508 * lyxfind.C (LyXReplace): we have to check better if the returned
6509 text is not of theLockingInset()->getLockingInset().
6511 2002-07-25 Juergen Vigna <jug@sad.it>
6513 * lyxfind.C (LyXReplace): don't replace if we don't get the
6516 * undo_funcs.C (createUndo): remove debugging code.
6518 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6520 * buffer.C (parseSingleLyXformat2Token): Use default placement
6521 when reading old floats.
6523 * FloatList.C (FloatList): Change the default placement of figure
6524 and tables to "tbp".
6526 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6528 * MenuBackend.C: using std::max
6530 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6532 * MenuBackend.C (expandToc):
6533 (expandToc2): code moved from xforms menu frontend. It is now
6534 generic and TOCs are transparent to menu frontends.
6536 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6538 * toc.C (getTocList): protect against buf=0
6540 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6541 Menu as first parameter. Now, this calls itself recursively to
6542 expand a whole tree (this will be useful for TOC handling)
6543 (expandFloatInsert): remove 'wide' version of floats
6545 * MenuBackend.h (submenuname): returns the name of the submenu.
6546 (submenu): returns the submenu itself, provided it has been
6547 created by MenuBackend::expand
6549 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6551 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6552 insets which have noFontChange == true. (bug #172)
6554 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6556 * BufferView_pimpl.C: add connection objects and use them...
6559 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6561 * MenuBackend.C (expandLastfiles):
6564 (expandFloatListInsert):
6565 (expandFloatInsert):
6566 (expand): split expand in parts
6568 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6570 * lyx_gui.C: use lyx_gui::exit()
6572 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6574 * LyXAction.C: show the failing pseudo action
6576 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6578 * buffer.C (readFile): Run the lyxconvert script in order to read
6581 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6585 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6587 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6591 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6593 2002-07-22 Herbert Voss <voss@lyx.org>
6596 * lyxlength.[Ch]: add support for the vertical lengths
6598 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6600 * toc.[Ch]: std:: fixes
6602 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6604 * lyxrc.C: do not include lyx_main.h
6606 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6612 * BufferView2.C: include "lyxlex.h"
6615 * bufferparams.h: do not #include "lyxlex.h"
6617 * lyxtextclasslist.C (Add): remove method
6618 (classlist): renamed to classlist_
6620 * paragraph_pimpl.C:
6624 * bufferview_funcs.C:
6629 * toc.C (getTocList): use BufferParams::getLyXTextClass
6631 * toc.C (getTocList): use InsetFloat::addToToc
6633 * toc.[Ch]: new files, containing helper functions to handle table
6636 * lyxfunc.C (dispatch): no need to remove spaces around command
6638 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6639 first command of the sequence; it is not very clever, but I do not
6640 have a better idea, actually
6642 * LyXAction.C (LookupFunc): make sure to remove space at the
6643 beginning and end of the command
6645 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6647 * MenuBackend.C (getMenubar): new method: return the menubar of
6649 (read): treat differently reading of menu and menubar (in
6650 particular, the menubar has no name now)
6651 (Menu::menubar): remove
6653 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6656 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6658 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6659 a bibitem inset in a RTL paragraph.
6661 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6663 * paragraph_pimpl.C: constify
6665 * BufferView_pimpl.C:
6667 * lyxfunc.C: fix dispatch in a nicer way
6669 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6671 * lyxfunc.C (dispatch):
6672 * BufferView_pimpl.C:
6673 * BufferView_pimpl.h:
6675 * BufferView.h: rename Dispatch() to dispatch()
6677 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6679 * lyxlayout.C (Read): honor DependsOn tag
6681 * lyxlayout.[Ch] (depends_on): new method
6683 * version.C.in: update lyx_docversion
6685 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6687 * paragraph.C (validate): remove from here...
6688 * paragraph_pimpl.C (validate): ... and move here
6689 (isTextAt): make it const
6691 * buffer.C (getLists): ws cleanup
6693 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6695 * language.C (read): Use iso8859-1 encoding in latex_lang
6696 (this prevents LyX from crashing when using iso10646-1 encoding).
6698 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6700 * text2.C (toggleInset): if cursor is inside an inset, close the
6701 inset and leave cursor _after_ it
6703 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6705 * lyxfunc.C: move minibuffer completion handling out of here
6707 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6709 * BufferView_pimpl.C:
6710 * LaTeX.C: fix dispatch calls
6712 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6714 * text.C (drawChars): Fix Arabic text rendering.
6716 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6720 * lyxfunc.C: remove message-push/pop
6724 * lyxfunc.C: rationalise some code by removing verboseDispatch
6725 in favour of a bool argument to dispatch()
6727 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6729 * lyx_main.C (init): make sure to read symlinks as absolute paths
6731 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6734 * lyxfunc.C: no need for commandshortcut to be a member
6736 2002-07-15 André Pönitz <poenitz@gmx.net>
6738 * converter.C: add support for $$s (scripts from lib/scripts dir)
6739 * lyx_main.C: white space
6741 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6745 * lyxrc.C: remove second exit confirmation
6747 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6752 * BufferView_pimpl.h:
6753 * BufferView_pimpl.C:
6754 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6756 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6758 * MenuBackend.C (expand): add numeric shortcuts to document menu
6760 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6762 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6764 * lyxfont.C (setLyXFamily):
6771 * buffer.C (asciiParagraph): use ascii_lowercase
6773 2002-07-15 Mike Fabian <mfabian@suse.de>
6775 * lyxlex_pimpl.C (search_kw):
6776 * lyxlex.C (getLongString):
6777 * converter.h (operator<):
6778 * converter.C (operator<):
6779 * buffer.C (parseSingleLyXformat2Token):
6781 * ToolbarDefaults.C (read):
6782 * MenuBackend.C (checkShortcuts):
6784 * LColor.C (getFromGUIName):
6785 (getFromLyXName): use the compare_ascii_no_case instead of
6786 compare_no_case, because in turkish, 'i' is not the lowercase
6787 version of 'I', and thus turkish locale breaks parsing of tags.
6789 2002-07-16 Angus Leeming <leeming@lyx.org>
6791 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6792 now takes a Buffer const & argument.
6794 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6796 * BufferView.C (resize): check there's a buffer to resize
6798 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6800 * lyxfunc.C: remove dead code
6803 * lyxserver.C: use lyx_guii::set_read_callback
6805 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6807 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6808 an inset in a RTL paragraph.
6810 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6812 * lyxfunc.C: repaint after a font size update
6814 2002-07-15 André Pönitz <poenitz@gmx.net>
6816 * lyxlength.C: inBP should be able to return negative values
6818 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6820 * lyxfunc.C: use lyx_gui::update_fonts()
6822 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6824 * lyxfunc.C: use lyx_gui::update_color()
6826 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6832 * lyxrc.C: remove file->new asks for name option, and let
6833 buffer-new take an argument
6835 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6837 * BufferView_pimpl.C: remove unneeded extra repaint()
6839 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6841 * LyXAction.C: allow command-sequence with NoBuffer
6843 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6845 2002-07-10 Angus Leeming <leeming@lyx.org>
6847 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6849 2002-07-09 Angus Leeming <leeming@lyx.org>
6851 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6853 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6855 * lengthcommon.h: whitespace
6857 * lyxfunc.C: update scrollbar after goto paragraph
6859 * lyxtext.h: factor out page break drawing, and fix it so
6860 page break/added space paints as selected nicely
6862 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6864 * BufferView_pimpl.C: add FIXMEs, clean up a little
6866 2002-07-09 André Pönitz <poenitz@gmx.net>
6868 * lyxfont.[Ch]: support for wasy symbols
6870 2002-07-08 André Pönitz <poenitz@gmx.net>
6872 * BufferView_pimpl.C: apply John's patch for #93.
6874 2002-07-05 Angus Leeming <leeming@lyx.org>
6876 * BufferView_pimpl.C (buffer): generate previews if desired.
6878 * LColor.h: add "preview" to the color enum.
6880 * LColor.C (LColor): add a corresponding entry to the items array.
6882 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6885 2002-07-05 Angus Leeming <leeming@lyx.org>
6887 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6888 The body of the code is now in the method that is passed an ostream &
6889 rather than a file name.
6890 Pass an additional only_preamble parameter, useful for the forthcoming
6893 2002-07-03 André Pönitz <poenitz@gmx.net>
6895 * lyxfunc.C: simplify getStatus() a bit for math stuff
6897 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6899 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6901 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6903 * text.C (changeRegionCase): do not change case of all the
6904 document when region ends at paragraph end (bug #461)
6906 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6908 * paragraph.C (startTeXParParams):
6909 (endTeXParParams): add \protect when necessary
6911 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6913 * BufferView_pimpl.C (workAreaExpose): remove warning
6915 2002-06-27 Angus Leeming <leeming@lyx.org>
6917 * Makefile.am: add lyxlayout_ptr_fwd.h.
6919 2002-06-26 André Pönitz <poenitz@gmx.net>
6921 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6923 2002-06-25 Angus Leeming <leeming@lyx.org>
6925 * lyxfunc.C (dispatch): Comment out the call to
6926 grfx::GCache::changeDisplay. The method no longer exists now that the
6927 pixmap generation part of the graphics loader has been moved into
6930 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6932 * text2.C: layout as layout
6934 * text.C: layout as layout
6936 * tabular.C (OldFormatRead): layout as layout
6938 * paragraph_pimpl.C (TeXDeeper): layout as layout
6939 (realizeFont): layout as layout
6941 * paragraph.C (writeFile): layout as layout
6942 (validate): layout as layout
6943 (getFont): layout as layout
6944 (getLabelFont): layout as layout
6945 (getLayoutFont): layout as layout
6946 (breakParagraph): layout as layout
6947 (stripLeadingSpaces): layout as layout
6948 (getEndLabel): layout as layout
6949 (getMaxDepthAfter): layout as layout
6950 (applyLayout): layout as layout
6951 (TeXOnePar): layout as layout
6952 (simpleTeXOnePar): layout as layout
6953 (TeXEnvironment): layout as layout
6954 (layout): layout as layout
6955 (layout): layout as layout
6957 * lyxtextclass.C (compare_name): new functor to work with
6958 shared_ptr, layout as layout
6959 (Read): layout as layout
6960 (hasLayout): layout as layout
6961 (operator): layout as layout
6962 (delete_layout): layout as layout
6963 (defaultLayout): layout as layout
6965 * lyxlayout_ptr_fwd.h: new file
6967 * lyxlayout.C (Read): layout as layout
6969 * lyx_cb.C (MenuInsertLabel): layout as layout
6971 * bufferlist.C (newFile): layout as layout
6973 * buffer.C (readLyXformat2): layout as layout
6974 (parseSingleLyXformat2Token): layout as layout
6975 (insertStringAsLines): layout as layout
6976 (asciiParagraph): layout as layout
6977 (latexParagraphs): layout as layout
6978 (makeLinuxDocFile): layout as layout
6979 (simpleLinuxDocOnePar): layout as layout
6980 (makeDocBookFile): layout as layout
6981 (simpleDocBookOnePar): layout as layout
6982 (getLists): layout as layout
6984 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6986 * CutAndPaste.C (cutSelection): layout as layout
6987 (pasteSelection): layout as layout
6988 (SwitchLayoutsBetweenClasses): layout as layout
6990 * BufferView_pimpl.C (Dispatch): layout as layout
6991 (smartQuote): layout as layout
6993 * BufferView2.C (unlockInset): layout as layout
6995 2002-06-24 André Pönitz <poenitz@gmx.net>
6997 * lyxfunc.C: fix #487
6999 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7003 * lyxfunc.C: remove display_shortcuts, show_banner
7005 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7007 * Buffer_pimpl.C: oops, update on resize
7009 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7016 * BufferView.C: use repaint()
7018 * BufferView_pimpl.h:
7019 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7020 as it's a clearer description. Remove superfluous
7023 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7025 * text.C: fix bug 488. Not ideal, but getting
7026 getWord() to work properly for the insets that
7027 matter is more difficult ...
7029 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7031 * BufferView_pimpl.C:
7034 * lyxfunc.C: remove the six million index lyxfuncs to just
7035 one, and DTRT (bug 458)
7037 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7041 * BufferView_pimpl.h:
7042 * BufferView_pimpl.C: clean up resize() stuff,
7043 and unnecessary updateScreen()s
7045 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7049 * BufferView_pimpl.h:
7050 * BufferView_pimpl.C:
7053 * minibuffer.C: remove focus management of workarea,
7054 not needed. Use screen's greyOut()
7056 2002-06-17 Herbert Voss <voss@lyx.org>
7058 * converter.C: (convert) do not post a message, when converting
7059 fails, let the calling function decide what to do in this case
7061 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7063 * lyxfunc.C: tidy up a little
7065 2002-06-16 <alstrup@diku.dk>
7067 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7068 Got rid of FORMS_H_LOCATION include. Now we are
7071 2002-06-15 LyX Development team <lyx@rilke>
7073 * buffer.[Ch] (sgmlOpenTag):
7074 (sgmlCloseTag): Added support for avoiding pernicious mixed
7075 content. Return number of lines written.
7078 (makeDocBookFile): Fixed calls to sgml*Tag.
7079 Simple white space clean.
7081 (simpleDocBookOnePar): Simple white space clean.
7083 * tabular.[Ch] (docBook): Renamed to docbook and got another
7084 argument to related with the pernicious mixed content.
7086 (docbookRow): Fixed calls for docbook inset method.
7088 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7090 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7091 so it's X11 independent.
7095 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7097 2002-06-15 Lyx Development team <lyx@electronia>
7099 * intl.h: Renamed getTrans to getTransManager.
7101 2002-06-14 Angus Leeming <leeming@lyx.org>
7103 * Makefile.am: nuke forgotten stl_string_fwd.h.
7105 2002-06-12 Angus Leeming <leeming@lyx.org>
7107 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7109 2002-06-13 Angus Leeming <leeming@lyx.org>
7112 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7114 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7116 * kbmap.C (getiso): add support for cyrillic and greek
7118 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7122 * BufferView_pimpl.h:
7123 * BufferView_pimpl.C: move bogus scrolling logic
7126 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7129 * BufferView_pimpl.C: view->resize() change
7131 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7133 * BufferView_pimpl.C: topCursorVisible
7136 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7140 * lyx_gui.C: move to frontends/
7144 * lyx_main.C: changes from above
7146 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7153 * lyx_main.C: minor tidy
7155 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7157 * BufferView_pimpl.h:
7158 * BufferView_pimpl.C:
7160 * BufferView.C: make painter() const,
7163 * BufferView2.C: use screen() accessor
7166 * lyx_main.C: some minor cleanup
7168 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7170 * BufferView_pimpl.h:
7171 * BufferView_pimpl.C: remove enter/leaveView,
7174 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7179 * BufferView_pimpl.h:
7180 * BufferView_pimpl.C: only construct screen once,
7183 * lyxrc.C: remove pointless comment
7185 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7188 * BufferView.C: remove active() and belowMouse()
7190 * BufferView_pimpl.h:
7191 * BufferView_pimpl.C: use workarea() not workarea_,
7192 and make it use a scoped_ptr instead
7194 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7196 * lyx_gui.C: add debug message on BadWindow
7198 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7200 * sp_spell.C: fdopen is not part of the C++ standard.
7202 * paragraph.C (InsetIterator): use >= instead of ==
7204 2002-06-07 Angus Leeming <leeming@lyx.org>
7206 Fixes needed to compile with Compaq cxx 6.5.
7207 * BufferView_pimpl.C:
7214 * lyxtextclasslist.C:
7219 all c-library variables have been moved into namespace std. Wrap
7220 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7225 Add a using std::abs declaration.
7227 * kbmap.h (modifier_pair):
7228 * paragraph.h (InsetTable, InsetList):
7229 * lyxfont.h (FontBits):
7230 type definition made public.
7232 * bufferlist.C (emergencyWriteAll): the compiler complains that
7233 there is more than one possible lyx::class_fun template to choose from.
7234 I re-named the void specialisation as lyx::void_class_fun.
7236 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7238 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7239 the compiler is is unable to find tostr in write_attribute.
7241 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7243 * buffer.C (sgmlError): hide #warning
7245 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7247 * xtl/*: get rid of xtl, which is not in use anyway
7249 * LyXAction.C (init):
7250 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7251 were unimplemented xtl experimentation
7253 2002-06-04 André Pönitz <poenitz@gmx.net>
7255 * lyxfunc.C: disable array operation on simple formulae
7257 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7259 * converter.C: constify a bit
7261 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7263 * lyx_gui.C: check xforms version correctly
7265 2002-04-30 Herbert Voss <voss@lyx.org>
7267 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7270 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7272 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7273 attempt to register it with a VCS)
7275 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7277 * lyx_main.C (init): honor variables LYX_DIR_13x and
7280 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7284 * lyx_main.C: fix a crash on bad command line,
7285 and give a useful exit status on error
7287 * lyxfunc.C (doImport): allow -i lyx to work
7289 2002-03-30 André Pönitz <poenitz@gmx.net>
7291 * lyxfunc.C: mathed font changes
7293 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7308 * trans_mgr.h: srcdocs, and some minor cleanups
7310 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7312 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7313 call getFont all the time)
7315 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7317 * switch from SigC signals to boost::signals
7319 2002-05-29 André Pönitz <poenitz@gmx.net>
7321 * paragraph_pimpl.C (getChar): don't call size() too often...
7323 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7325 * paragraph_pimpl.C (insertChar): do not try to update tables when
7326 appending (pos == size())
7328 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7329 in order to reduce drastically the number of comparisons needed to
7330 parse a large document
7332 2002-05-29 André Pönitz <poenitz@gmx.net>
7338 * textclasslist.[Ch]:
7339 * sp_ispell.h: whitespace change
7341 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7343 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7344 lyxaction directly now.
7346 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7350 * lyxvc.C: remove unused headers
7352 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7359 * undo_funcs.C: some cleanups. Use shared_ptr
7360 and a template for the undo stacks.
7362 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7364 * BufferView_pimpl.h:
7365 * BufferView_pimpl.C:
7372 * text2.C: use key_state/mouse_state
7374 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7376 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7379 * chset.C: change include order
7380 (loadFile): use boost regex and get rid of LRegex and LSubstring
7382 * Makefile.am (BOOST_LIBS): new variable
7385 * LaTeX.C: change include order.
7386 (scanAuxFile): use boost regex and get rid of LRegex and
7390 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7395 * FontInfo.C: moved to frontends/xforms/
7398 * FontLoader.C: moved into frontends for GUIIzation
7403 * lyxfunc.C: changes from above
7405 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7407 * LColor.C: remove spurious X include
7409 * BufferView_pimpl.C:
7414 * text2.C: move font metrics to frontends/
7416 2002-05-24 Juergen Vigna <jug@sad.it>
7418 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7419 setting the undo_cursor.
7421 * ParagraphParameters.h: include local includes first.
7423 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7425 * BufferView_pimpl.C:
7426 * BufferView_pimpl.h:
7430 * screen.C: move WorkArea into frontends/
7436 * BufferView2.C: move LyXScreen into frontends/
7440 * lyx_gui.C: move lyxlookup into frontends/xforms/
7442 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7445 * BufferView_pimpl.C:
7455 * bufferview_funcs.C:
7468 * vc-backend.C: move LyX/XFormsView into frontends/
7470 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7482 * text2.C: move Painter to frontends/
7484 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7486 * buffer.C: comment out some some code that depend upon lyx_format
7489 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7490 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7492 * buffer.h (NO_COMPABILITY): turn off compability
7494 * ColorHandler.C: include scoped_array.hpp
7496 * font.C: Use more specific smart_ptr header.
7499 * ShareContainer.h: ditto
7503 * BufferView_pimpl.h: ditto
7504 * ColorHandler.h: ditto
7506 * kbmap.C (defkey): change call to shared_ptr::reset
7508 2002-05-21 Juergen Vigna <jug@sad.it>
7510 * buffer.C (insertErtContents): fix to insert ert asis if it is
7511 non empty. Skip it completely if it contains only whitespaces.
7513 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7515 * BufferView_pimpl.C:
7516 * BufferView2.C: clear selection on paste (bug 393)
7518 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7520 * DepTable.C: include ctime
7522 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7524 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7526 2002-05-14 Juergen Vigna <jug@sad.it>
7528 * text.C (breakParagraph): fixed function to honor the keepempty
7529 layout in the right maner and also to permit the right breaking
7530 algorithm on empty or non empyt keepempty paragraphs.
7532 * paragraph.C (breakParagraph): we have to check also if the par
7533 is really empty (!size()) for isempty otherwise we do the wrong
7536 2002-05-10 Juergen Vigna <jug@sad.it>
7538 * buffer.[Ch] : The following are only changes to the ert
7539 compatibility read reading old LaTeX layout and font stuff and
7540 convert it to ERTInsets.
7542 * buffer.h: added isErtInset().
7544 * buffer.C (struct ErtComp): add a fromlayout bool to check
7545 if we're inside a LaTeX layout.
7546 (isErtInset): new helper function.
7547 (insertErtContents): look for other ert insets before this one
7548 and insert the contents there, so that we don't have subsequent
7549 ERT insets with nothing between them. This way we create only one
7550 inset with multiple paragraphs. Also check if we don't insert only
7551 spaces ' ' as they are ignored anyway afterwards in the .tex file
7552 so if we have only spaces we will ignore this latex part in the
7554 (parseSingleLyXformat2Token \\layout): better compatibility when
7555 reading layout-latex stuff.
7556 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7558 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7559 stuff after reading the inset only get the information back from
7562 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7564 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7566 * LaTeXFeatures.C (getBabelOptions): New method.
7568 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7570 * BufferView_pimpl.C (Dispatch): work around missing argument for
7573 2002-05-08 Juergen Vigna <jug@sad.it>
7575 * text.C (leftMargin): handle paragraph leftindent.
7577 * paragraph.C (writeFile): write the new \\leftindent tag.
7578 (validate): handle leftindent code.
7579 (TeXEnvironment): handle paragraphleftindent code again.
7581 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7583 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7584 for paragrap_extra indent code and new token \\leftindent.
7585 (latexParagraphs): handle the leftindent as environment.
7587 * ParameterStruct.h: added leftindent support.
7589 * ParagraphParameters.C (leftIndent): added support functions for
7590 the paragraph left indent.
7592 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7595 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7597 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7600 * text.C (computeBidiTables): No bidi in insetERT.
7602 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7605 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7607 * version.C.in: pre 5
7609 2002-05-02 José Matos <jamatos@fep.up.pt>
7610 * buffer.C (makeDocBookFile): white space changes, add newline to
7612 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7614 * tabular.C (docBook): fix typo.
7616 2002-05-03 Juergen Vigna <jug@sad.it>
7618 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7619 change in LyXText as we can not be sure it was not freed.
7620 (drawOneRow): remove unused code.
7622 * text.C (drawInset): redo the calculation of the need_break_row as
7623 it could have a row which was already freed.
7624 (draw): look at the return value of drawInset and return false if
7625 it also returned false.
7626 (paintRowText): look at the return value of draw and return false if
7627 it also returned false.
7629 * lyxtext.h: added bool return type to drawInset() and draw() so that
7630 if we have a change in the row so that the rowbreak has to be redone
7631 we abort drawing as it will be called again.
7633 2002-05-02 Juergen Vigna <jug@sad.it>
7635 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7636 a change in the maintext also if we're inside an inset.
7637 (Dispatch): set the cursor again after a break line and after the
7638 screen has been updated as it could be we're in a different row.
7640 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7641 to set the cursor behind the pargraph with > size().
7642 (setCursor): check also for the same paragraph when checking where
7643 to put the cursor if we have a NFR inset.
7645 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7646 parts of layout read further up as it still was in the wrong
7649 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7651 * screen.C (drawFromTo): change sine fullRebreak always return
7654 * buffer.C (parseSingleLyXformat2Token): reindent some
7656 * BufferView_pimpl.C (update): change since fullRebreak always
7658 (Dispatch): git rid of the last hardcoded "Standard"s.
7660 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7662 * text2.[Ch] (fullRebreak): make it return void now that we always
7665 2002-04-30 Juergen Vigna <jug@sad.it>
7667 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7668 ert compatibility check for "latex" layout.
7670 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7672 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7673 minipages: use col% instead of p%, and also use the current font.
7674 (makeLaTeXFile): Fix use babel condition.
7675 (parseSingleLyXformat2Token): Correct font when reading old floats.
7677 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7679 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7680 inserting list of floats.
7682 2002-04-25 Herbert Voss <voss@lyx.org>
7684 * MenuBackend.C (expand): don't add the graphics extensions to the
7687 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7689 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7690 non-existing layout, do not complain if it was the default layout
7691 of the original class (bug #342)
7693 2002-04-24 Juergen Vigna <jug@sad.it>
7695 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7696 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7698 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7700 * buffer.C (getBibkeyList): If using \bibliography, return the
7701 option field with the reference itself. Enables us to provide natbib
7702 support when using \bibliography.
7704 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7706 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7708 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7709 natbib is provided by the LaTeX class.
7711 2002-04-23 Juergen Vigna <jug@sad.it>
7713 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7716 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7718 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7720 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7722 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7723 ensuremath around textordmasculine, textordfeminine and
7726 2002-04-19 Juergen Vigna <jug@sad.it>
7728 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7729 reinitializing the buffer otherwise row-dimensions may be wrong.
7730 (update): reset also the selection cursors if they do exits otherwise
7731 their x/y positions may be wrong.
7733 * text2.C (cursorDown): don't enter the inset if we came from a row
7734 above and are one row over the inset.
7736 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7737 really leaving an inset.
7739 2002-04-18 Juergen Vigna <jug@sad.it>
7741 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7742 of the selected paragraph does not have the selected layout also if
7745 * text2.C (setLayout): fixed bug which did not change last selected
7748 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7749 changed the read and substituted \\end_float with \\end_inset!
7751 * BufferView_pimpl.C (cursorPrevious):
7752 (cursorNext): fixed to make it work with rows heigher than the work
7753 area without moving the cursor only the draw of the row.
7754 (workAreaMotionNotify): fix jumping over high rows.
7756 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7758 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7761 2002-04-16 Juergen Vigna <jug@sad.it>
7763 * text2.C (setCursor): set also the irow().
7764 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7766 (cursorDown): support for locking an inset if the x_fix value goes
7767 inside it. That way I can transverse insets too with cursor up/down.
7769 * lyxrow.h: added irow helper function same as other (i) functions.
7771 * BufferView_pimpl.C (cursorPrevious):
7772 (cursorNext): fixed for insets!
7774 2002-04-15 Juergen Vigna <jug@sad.it>
7776 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7777 position otherwise it is wrong in some cases.
7779 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7780 inside the inset before the call.
7782 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7784 * buffer.[Ch] (getBibkeyList): make it const.
7786 2002-04-12 Juergen Vigna <jug@sad.it>
7788 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7790 * text2.C (getCursorX): new helper function
7791 (setCursor): compute also ix_
7792 (setCursorFromCoordinates): set also ix.
7794 * lyxcursor.h: added ix_ and helper functions.
7796 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7798 * buffer.C (insertStringAsLines): dont break paragraph if the this
7799 paragraph is inside an inset which does not permit it!
7801 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7802 also with no chars on this paragraph.
7803 (paintRowText): only paint stuff if it's inside the workarea!
7805 * paragraph.C (breakParagraph): honor keepempty flag and break the
7806 paragraph always below not above.
7808 * BufferView2.C (unlockInset): update the paragraph layout on inset
7809 unlock as we changed paragraph in such a case.
7811 * lyxfind.C (LyXFind): clear the former selection if not found!
7813 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7814 again called in insertChar().
7816 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7817 an inset which uses the whole row!
7818 (rightMargin): ditto.
7819 (insertChar): force a rebreak if we inserted an inset!
7821 2002-03-28 Herbert Voss <voss@lyx.org>
7823 * lyxlength.[Ch]: add inBP() to get the right PS-point
7824 units (BigPoint). With inPixels we have rounding errors
7826 2002-04-11 Juergen Vigna <jug@sad.it>
7828 * text2.C (setCursorFromCoordinates): set iy to the right value.
7829 (setCursor): add check if row->previous exists!
7831 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7832 an old float_type as this was the case in the old code!
7834 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7836 * BufferView2.C (showLockedInsetCursor): use iy
7837 (fitLockedInsetCursor): ditto
7839 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7840 locked insets as there we have the right value now.
7842 * lyxcursor.C: added iy_ variable and iy functions to set to the
7843 baseline of cursor-y of the locked inset.
7845 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7846 (setCursor): fixed for insets which need a full row.
7848 * text.C (rowLastPrintable): don't ignore the last space when before
7849 an inset which needs a full row.
7850 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7851 as last character of a row when before a inset which needs a full row.
7853 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7855 * version.C.in: update date
7857 * text2.C (fullRebreak): try to always return true and see what
7860 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7862 * MenuBackend.C (expand): use Floating::listName
7864 * FloatList.C (FloatList): add listName argument to the built-in
7867 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7868 text associated with the float.
7870 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7872 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7874 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7876 * ShareContainer.h: add a couple of missing typenames.
7878 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7880 * lyxrc.C (getDescription): use _() correctly rather than N_().
7882 2002-03-28 Herbert Voss <voss@lyx.org>
7884 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7885 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7887 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7889 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7890 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7892 2002-03-29 Juergen Vigna <jug@sad.it>
7894 * lyxfunc.C (dispatch): add a missing fitCursor call.
7896 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7897 it was scrolled by a cursor move, so return the bool status.
7899 * BufferView.C (fitCursor): return the bool flag also to the outside
7900 world as this is needed.
7902 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7904 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7905 call the edit() as it is not needed (and wrong) IMO.
7906 (workAreaButtonPress): set the screen_first variable before evt.
7907 unlock the inset as this may change screen_first and then we have
7908 a wrong y position for the click!
7910 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7912 * MenuBackend.C (expand): another translation that I missed
7914 2002-03-28 Juergen Vigna <jug@sad.it>
7916 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7918 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7920 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7922 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7924 * MenuBackend.C (expand): fix export/view/update when there is no
7927 2002-03-27 Herbert Voss <voss@lyx.org>
7929 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7932 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7934 * bufferview_funcs.C (currentState): only show paragraph number
7935 for is DEVEL_VERSION is set.
7937 * lyxfunc.C (dispatch): put warning in INFO channel
7939 * MenuBackend.C (expand): translate the name of floats
7941 * FloatList.C (FloatList): mark the float names for translation
7943 * converter.C (convert): use LibScriptSearch
7945 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7947 * MenuBackend.C (defaults): fix default menu (we might as well get
7950 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7952 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7955 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7957 * lyxvc.C: reorder includes.
7959 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7961 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7964 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7966 * CutAndPaste.C: change layouts earlier on paste
7967 to avoid crashing when calling getFont()
7969 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7971 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7974 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7976 * WorkArea.C: remove 'Pending' debug message.
7978 * most files: ws cleanup
7980 * buffer.[Ch]: ws changes
7982 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7984 2002-03-21 Juergen Vigna <jug@sad.it>
7986 * tabular.C (SetMultiColumn): collapse also the contents of the
7987 cells and set the last border right. Added a Buffer const * param.
7989 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7991 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7994 2002-03-19 Juergen Vigna <jug@sad.it>
7996 * text2.C (clearSelection): reset also xsel_cache.
7998 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7999 where it needs to be called (John tells us to do so too :)
8000 (selectionLost): reset sel_cache.
8002 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8004 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8006 * text2.C (setCursorIntern): put debuging code in INSETS channel
8008 2002-03-19 André Pönitz <poenitz@gmx.net>
8010 * lyxfunc.C: tiny whitespace change
8012 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8014 * ToolbarDefaults.C (init):
8015 * LyXAction.C (init):
8017 * BufferView_pimpl.C (Dispatch):
8018 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8020 2002-03-19 Allan Rae <rae@lyx.org>
8022 * exporter.C (Export): removeAutoInsets before doing anything else.
8023 While I've just introduced a dependency on BufferView this really is
8024 the best place to clean the buffer otherwise you need to cleanup in
8025 a dozen places before calling export or cleanup in a dozen functions
8028 * converter.C (runLaTeX):
8029 (scanLog): Better handling of removeAutoInsets and screen updates.
8031 * lyxfunc.C (dispatch): small whitespace changes
8033 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8035 * WorkArea.C (C_WorkAreaEvent): return a value.
8036 (event_cb): return 1 if we handled the event, 0 otherwise.
8038 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8040 2002-03-18 Juergen Vigna <jug@sad.it>
8042 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8043 (GetAdditionalWidth): ditto.
8047 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8048 inset if we're there actually (probably not used right now but this
8049 is the direction to go for unifying code).
8050 (paste): disable code to clear the selection.
8052 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8053 inside an InsetText and move the check further up as it is in the
8056 * text2.C (pasteSelection): set a selection over the pasted text.
8058 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8060 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8061 and libgraphics to build on Cygwin.
8063 2002-03-15 Juergen Vigna <jug@sad.it>
8065 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8066 inserting an Inset into the paragraph. I know this is not the best
8067 fix but we already use current_view in CutAndPaste so we will remove
8068 all of it's using at the same time.
8070 * buffer.C (sgmlError): deactivated function till it is rewritten in
8071 the right mode, now it can create problems.
8073 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8074 before accessing it.
8076 2002-03-14 Juergen Vigna <jug@sad.it>
8078 * undo_funcs.C (textHandleUndo): do the right thing when updating
8079 the inset after the undo/redo.
8081 * text2.C (setCursor): just some testcode for #44 not ready yet.
8083 * undo_funcs.C (textHandleUndo): set the next() and previous()
8084 pointers of the paragraph to 0 before deleting otherwise we have
8085 problems with the Paragraph::[destructor].
8087 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8088 on a paragraph insertion.
8090 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8092 * buffer.C (asciiParagraph): use += operator for char append to
8095 * paragraph.C (getFontSettings): compare >= not just >
8096 (highestFontInRange): ditto
8099 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8101 * paragraph.C: change several algorithm to be more appripriate for
8102 the problem domain. This is lookip in FontList and in the InsetList.
8104 2002-03-13 André Pönitz <poenitz@gmx.net>
8107 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8109 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8114 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8116 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8118 * Painter.C (display): anon helper function, adjust code for this
8120 (pixmap): remove function.
8122 * Painter.h: remove private display variable.
8124 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8126 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8128 * WorkArea.[Ch]: remove figinset_canvas cruft.
8130 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8132 * lyxtextclass.C (operator): add one item cache optimization.
8134 * bufferlist.h: doxy changes
8136 * bufferlist.C: ws changes
8138 * DepTable.[Ch] (ext_exist): place const in the right spot.
8140 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8142 (workAreaExpose): call resizeInsets when the with BufferView changes.
8143 (Dispatch): adjust for protectedBlank removal
8144 (specialChar): call updateInset if the insert went ok.
8146 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8147 specialChar instead.
8149 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8151 * BufferView.h: doxy change
8153 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8155 * lyxtextclass.C (operator[]): remove non-const version
8156 (defaultLayout): remove non-const version
8158 2002-03-12 Juergen Vigna <jug@sad.it>
8160 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8161 did resize the LyXText too.
8163 * buffer.C (readLyXformat2): set layout information on newly allocated
8166 * tabular.C (OldFormatRead): set layout information on the paragraph.
8168 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8170 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8172 2002-03-11 Juergen Vigna <jug@sad.it>
8174 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8176 (resizeCurrentBuffer): force also the insets to resize themselfes.
8177 (moveCursorUpdate): fixed up for InsetText.
8179 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8182 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8183 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8184 value of Dialogs::tooltipsEnabled().
8185 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8187 2002-03-08 Juergen Vigna <jug@sad.it>
8189 * BufferView_pimpl.C (updateInset): update inset inside inset also
8190 if it isn't inside theLockingInset().
8192 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8194 * buffer.C (asciiParagraph): redo some of the word and line length
8196 (getLists): look for Caption instead of caption.
8198 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8200 * buffer.C (Buffer): initialize niceFile to true
8203 (makeDocBookFile): make sure niceFile is true on exit
8205 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8207 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8209 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8211 * LyXSendto.C: remove.
8212 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8213 * lyx_gui.C: remove now-redundant comment.
8214 * ColorHandler.h: remove forward declaration of class WorkArea.
8215 * lyxfunc.C: remove #include "WorkArea.h".
8217 2002-03-07 Juergen Vigna <jug@sad.it>
8219 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8220 got moved away with the DEPM and also set the inset_owner always
8221 right which before could have been omitted.
8223 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8225 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8226 wanted layout is not found.
8228 2002-03-07 Juergen Vigna <jug@sad.it>
8230 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8232 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8234 * paragraph.C (breakParagraph): use default layout not layout of
8236 (Paragraph): clear ParagraphParameters.
8238 2002-03-06 Juergen Vigna <jug@sad.it>
8240 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8241 otherwise it would not be a valid lenght. Fixed a special case in
8242 the minipage compatibility read where we end the document with a
8245 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8246 was set as it could be 0 for InsetTexts first entry.
8248 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8250 * paragraph.C (writeFile): if layout is empty write out
8251 defaultLayoutName().
8253 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8254 file without named layout we set layout to defaultLayoutName().
8256 2002-03-06 Juergen Vigna <jug@sad.it>
8258 * CutAndPaste.C (copySelection): set layout for new paragraph.
8260 * text.C (prepareToPrint): leave ERT inset left aligned
8261 (leftMargin): don't indent paragraphs inside ERT insets
8263 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8265 * paragraph.C (breakParagraph): dont call clear do the work manually
8267 * paragraph.[Ch] (clear): remove function
8269 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8271 * paragraph.C (Paragraph): dont call clear, the work has already
8274 * lyxtextclass.C (operator): assert if n is empty
8276 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8277 work manually instead.
8279 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8281 * BufferView_pimpl.C: protect selectionLost against text == 0
8283 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8285 * text.C (breakParagraph): fix a setting layout to '0' problem.
8287 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8289 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8290 final location of file, for the included files, and graphics.
8292 2002-03-05 Juergen Vigna <jug@sad.it>
8294 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8296 2002-03-04 Juergen Vigna <jug@sad.it>
8298 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8300 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8301 last column of multicolumn cells.
8302 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8304 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8306 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8307 file if it doesn't go to a temporary file.
8309 * buffer.C (sgmlOpenTag):
8310 (sgmlCloseTag): remove extra newline insertion.
8312 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8314 * text.C (getRowNearY): comment out debug msg
8316 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8318 * text2.C: first -> first_y
8320 * text.C (getRowNearY): add some attemts at a possible
8321 optimization, not working.
8323 * tabular.[Ch]: add BufferParams to several function so that newly
8324 created paragraph can be initialized to he default layotu for the
8327 * tabular-old.C (ReadOld): add buf->params to call of Init
8329 * screen.C: rename text->first to text->first_y
8331 * paragraph.C (breakParagraph): always set layout in the broken
8334 * lyxtextclass.C (Read): remove lowercase
8337 (delete_layout): ditto
8339 * lyxtext.h: rename first -> first_y
8341 * lyxlayout.C (Read): remove lowercase
8344 (obsoleted_by): ditto
8346 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8348 * buffer.C (insertErtContents): add params are to InsetERT
8349 (parseSingleLyXformat2Token): add code to check if a paragraphs
8350 layout really exist.
8351 (parseSingleLyXformat2Token): add params to several inset
8353 (asciiParagraph): remove lowercase, do the layout comparisons with
8356 * BufferView_pimpl.C (cursorNext): first -> first_y
8357 (resizeCurrentBuffer): first -> first_y
8358 (updateScrollbar): first -> first_y
8359 (scrollCB): first -> first_y
8360 (workAreaMotionNotify): first -> first_y
8361 (workAreaButtonPress): first -> first_y
8362 (checkInsetHit): first -> first_y
8363 (cursorPrevious): first -> first_y
8364 (cursorNext): first -> first_y
8365 (Dispatch): add buffer_->params to severl inset contructors
8367 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8369 * lyxlayout.C (Read): remove some debug info that I forgot.
8371 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8372 clean up the code slightly.
8373 (makeLinuxDocFile): ditto
8374 (makeDocBookFile): ditto
8376 * text2.C: layout as string
8378 * text.C: layout as string
8380 * paragraph_pimpl.C: layout as string
8382 * paragraph.[Ch]: layout as string
8384 * lyxtextclasslist.[Ch]: layout as string
8386 * lyxtextclass.[Ch]: layout as string
8388 * lyxtext.h: layout as string
8390 * lyxlayout.[Ch]: layout as string
8392 * lyx_cb.C: layout as string
8394 * bufferview_funcs.C: layout as string
8396 * bufferparams.C: layout as string
8398 * buffer.C: layout as string
8400 * LyXView.[Ch]: layout as string
8402 * LaTeXFeatures.[Ch]: layout as string
8404 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8406 * BufferView_pimpl.C: change current_layout to string, remove
8411 (workAreaButtonRelease): layout as string
8413 * BufferView2.C (unlockInset): adjust
8415 * vspace.C (asLatexCommand): use an explict temp variable.
8417 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8419 * Makefile.am: use FRONTEND_*
8421 2002-03-01 Juergen Vigna <jug@sad.it>
8423 * tabular.C (SetWidthOfMulticolCell): changed to something better
8424 I hope but still work in progress.
8425 (recalculateMulticolumnsOfColumn): renamed function from
8426 recalculateMulticolCells as it is more appropriate now.
8427 (SetWidthOfCell): calculate multicols better.
8429 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8431 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8433 * lyxfunc.C (processKeySym): print sequence also if it is
8434 `deleted' (complete)
8436 * kbsequence.C (print): print sequence even if it is deleted
8437 (complete would be a better word, actually).
8439 * lyxfunc.C (dispatch): print complete options after a prefix key
8441 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8443 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8445 * text2.C (setCharFont): eliminate setCharFont code duplication.
8447 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8449 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8450 LFUN_TABULAR_FEATURE (bug #177)
8452 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8454 * Makefile.am: remove figure.h
8456 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8458 * Bufferview_pimpl.C:
8470 * text2.C: remove #include "lyx_gui_misc.h".
8472 * LaTeX.C: added #include <cstdio>
8474 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8476 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8477 that the paragraph following this one can have.
8479 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8481 * vspace.C (asLatexCommand): fix bogus gcc warning
8483 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8485 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8487 * text2.C (setLayout): get rid of redundant code
8489 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8491 * text2.C (incDepth): make sure depth cannot be increased beyond
8494 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8496 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8497 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8499 * PainterBase.h (image):
8500 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8503 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8507 * BufferView_pimpl.C:
8508 * BufferView_pimpl.h:
8528 * sp_spell.C: remove fig inset, and the crap house of
8529 cards that follows it
8531 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8537 * nt_defines.h: move .h into support/
8539 * vms_defines.h: remove
8541 * WorkArea.C: add space in debug output
8545 * buffer.C: add WITH_WARNINGS
8549 * bufferlist.C: s/retrive/retrieve/, add docs
8560 * lyxgui.C: add ID to X error handler
8562 * lyxtestclass.c: fix typo
8564 2002-02-26 Juergen Vigna <jug@sad.it>
8566 * tabular_funcs.C (write_attribute): changed so that some default
8567 attributes are not written at all.
8568 (getTokenValue): set default values before trying to read the
8569 value so we have the return value always set as default if we don't
8570 find the token we search for.
8572 * tabular.C (Write): write bools as bools not as strings!
8574 2002-02-22 Juergen Vigna <jug@sad.it>
8576 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8577 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8579 * text.C (leftMargin): don't add an indent for paragraphs inside
8580 tabular cells (fix #208).
8582 2002-02-21 José Matos <jamatos@fep.up.pt>
8584 * tabular.C (docBook): fixed support for long tables.
8586 2002-02-20 Juergen Vigna <jug@sad.it>
8588 * text2.C (getFont): get the drawing font of the Inset if this
8589 paragraph is inside an inset (only important for InsetERT for now).
8591 * buffer.C (insertErtContents): use new lanugage params in ERT
8594 * CutAndPaste.C: commenting out seemingly uneeded code.
8596 2002-02-19 Allan Rae <rae@lyx.org>
8598 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8599 Iterators might be simple to use but they also get invalidated.
8600 (removeAutoInsets): renamed saved cursor tracking variables and added
8601 some comments to clarify what everything does.
8603 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8610 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8611 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8614 * vc-backend.h: remove #include "support/syscall.h"
8618 * converter.C: rearrange #includes in Lars' approved fashion.
8620 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8621 forward declare class Timeout in the header file.
8623 * XFormsView.C: changes due to the above.
8625 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8628 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8629 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8631 2002-02-18 José Matos <jamatos@fep.up.pt>
8633 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8636 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8638 * a lot of small ws changes
8639 * add a lot of using std::XXX
8640 * use std construcs some places where approp.
8641 * use some exisint stuff from lyxfunctional where approp.
8642 * Make file changes to use partial linking (lets test this now...)
8644 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8648 remove #include "support/syscontr.h" as it's redundant. Always has been.
8656 change Systemcalls::System to Systemcalls::Wait and
8657 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8658 No change of functionality, just reflects the stripped down Systemcalls
8661 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8663 * debug.[Ch]: add a GRAPHICS type to the enum.
8665 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8667 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8669 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8672 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8674 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8675 match the changes below.
8677 * text2.C (toggleInset): if there is not editable inset at cursor
8678 position, try to see if cursor is _inside_ a collapsable inset
8681 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8683 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8684 document menu has a nice checkbox
8686 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8688 * lyxlength.C (asLatexString): change PW to output as percent of
8691 * lengthcommon.C: change '%' to 't%'
8693 * lyxfunc.C (dispatch): a few comments from Martin
8695 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8699 * BufferView_pimpl.h:
8700 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8703 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8705 * vspace.C (inPixels): fix compiler warning
8707 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8709 * lyxfunc.C (getStatus): fix status message for disabled commands.
8711 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8713 * BufferView_pimpl.C: fix crash on close buffer
8714 during selection (#227)
8716 2002-01-27 Herbert Voss <voss@lyx.org>
8718 * buffer.C: link old Figure to new graphic inset
8720 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8722 * FontLoader.C (getFontinfo): Change the latex font names in order
8723 to match the names of type1inst.
8725 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8727 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8729 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8732 (remove_files_with_extension): ditto
8733 (remove_file): ditto
8736 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8737 document is smaller than the work area height. Do not initialize
8738 static variables to 0.
8740 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8742 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8744 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8745 LFUN_LAYOUT_PARAGRAPHS.
8747 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8748 tabular. It is possible to provide a possible cell, which will
8749 typically be the actcell from the corresponding insettabular
8751 * lyxfunc.C (getStatus): small cleanup; disable
8752 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8755 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8757 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8759 * paragraph.C (startTeXParParams):
8760 (endTeXParParams): new methods. The LaTeX code to
8761 start/end paragraph formatting
8762 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8763 empty (fixes bug #200)
8765 * vspace.C (inPixels): adapt to the change below
8766 (inPixels): [later] more cleanups (remove unused variables)
8768 * lyxlength.C (inPixels): change to use a width and a height as
8771 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8773 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8774 Replaced with \paperwidth
8776 * DepTable.C (insert): add std:: qualifier
8778 2002-01-18 Allan Rae <rae@lyx.org>
8780 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8783 * text.C (drawInset): Turned out I didn't know enough about how
8784 rebreaking worked. This fixes most of the redraw problems. I see
8785 an occasional cursor trail when a line is broken now and the cursor
8786 placement can seem out by a few pixels also after a rebreak.
8788 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8790 * buffer.C (parseSingleLyXformat2Token): update because minipage
8791 width is now a LyXLength
8793 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8795 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8798 2002-01-17 Juergen Vigna <jug@sad.it>
8800 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8802 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8803 is set correctly and the inset is updated correctly.
8805 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8807 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8808 the beginning of the loop.
8810 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8812 * lyxrc.C: improve help for use_scalable_fonts
8814 2002-01-17 Allan Rae <rae@lyx.org>
8816 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8818 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8820 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8821 make sure to set their inset_owner to the right value (bug #171)
8823 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8826 * DepTable.C: Implement mtime checking to reduce time spent doing
8829 2002-01-16 Juergen Vigna <jug@sad.it>
8831 * tabular.C (GetAdditionalHeight): one of error fixed.
8833 * lyxrc.C (output): small fix in writing use_pspell.
8835 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8837 * sp_base.h: #include LString.h
8839 2002-01-16 Allan Rae <rae@lyx.org>
8841 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8842 Can someone check this please?
8844 * text.C (drawInset): It was possible that p.row would be removed by
8845 breakAgainOneRow upsetting a few other settings. There may be another
8846 small tweak possible by setting need_break_row = 0 when p.row has been
8847 removed but I don't know enough about the logic here.
8849 2002-01-15 Allan Rae <rae@lyx.org>
8851 * text.C (insertChar): removed conditional truism.
8853 * BufferView2.C (removeAutoInsets): More tweaks.
8854 cur_par_prev could be a stray pointer. Check for trailing empty line
8855 in case last line was cur_par and only had an error inset on it.
8857 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8859 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8862 * vc-backend.C (most methods):
8863 * exporter.C (Export):
8864 * converter.C (convert):
8866 * LyXSendto.C (SendtoApplyCB):
8867 * lyxfunc.C (dispatch):
8871 * lyx_cb.C (AutoSave):
8873 * BufferView_pimpl.C (MenuInsertLyXFile):
8874 * buffer.C (runChktex): use Buffer::filePath().
8876 * buffer.h: rename filename to filename_; rename filepath to
8877 filepath_ and make it private
8878 (filePath): new method
8880 * buffer.C (writeFile): use fileName()
8883 * lyx_main.C (init): fix starting of LyX when the binary is a
8884 link from so,ewhere else.
8886 * minibuffer.C: include <cctype> for isprint
8888 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8890 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8891 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8892 name clash with InsetCollapsable's width function.
8894 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8896 * lastfiles.C: include <iterator>
8898 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8900 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8903 * buffer.C (makeLaTeXFile): ditto.
8904 Also make loop operation more transparent.
8906 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8908 * ToolbarDefaults.C: remove trailing comma closing namespace.
8910 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8912 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8915 * trans.C (Load): comment out unused variable, allowed.
8917 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8919 * minibuffer.[Ch] (append_char): new method to recieve input from the
8920 drop-down completion browser. If a key was pressed, then recieve this
8921 char and append it to the existing string.
8922 (peek_event): modify the positioning data passed to the completion
8923 browser so that it can be placed above the minibuffer rather than below.
8924 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8926 * LyXAction.C (init): alloe error-next for readonly documents.
8928 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8931 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8933 * bufferlist.C (readFile): create the buffer _after_ checking that
8936 * lyxfunc.C (verboseDispatch): fix handling of arguments
8938 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8940 * lyxrc.C: use string::erase() instead of initializing to "".
8943 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8945 * BufferView_pimpl.h:
8946 * BufferView_pimpl.C:
8949 * text2.C: tell X when we have made a selection for copying
8951 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8953 * BufferView_pimpl.C (MenuInsertLyXFile):
8954 * lyxfunc.C (menuNew):
8956 (doImport): add shortcuts to directory buttons
8958 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8961 * lyxfunc.C (setStatusMessage):
8962 (getStatusMessage): new methods
8963 (getStatus):use setStatusMessage instead of setErrorMessage
8964 (dispatch): when function is disabled, set error message here
8965 [instead of in getStatus previously]
8967 * BufferView_pimpl.C (workAreaButtonRelease): update
8968 toolbar/menubar here too.
8970 2002-01-13 Allan Rae <rae@lyx.org>
8972 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8973 Now seems indestructible. Remaining task is to audit all other
8974 code affected by deleteEmptyParagraphMechanism. One small quirk
8975 left is that an empty document with an error in the preamble can
8976 be made to report an error but no error box appears. I don't know
8978 (removeAutoInsets): Improved comments.
8980 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8983 * Thesaurus.C: update for Aiksaurus 0.14
8985 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8987 * text2.C (firstParagraph): removed member function, all uses
8988 replaces with ownerParagraph
8989 (redoParagraphs): here
8991 (toggleAppendix): here
8992 * BufferView2.C (insertErrors): here
8993 (setCursorFromRow): here
8995 2002-01-13 Allan Rae <rae@lyx.org>
8997 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8998 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8999 There is still a way to segfault this although you may have to do this
9000 multiple times: Have an InsetERT with an unknown command in it.
9001 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9002 <down-arrow>, <Enter> again, View->DVI, BANG!
9004 * text2.C (setCursor):
9005 (deleteEmptyParagraphMechanism):
9006 * lyxtext.h (setCursor):
9007 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9008 Making use of the return value may help fix other bugs.
9010 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9012 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9014 * LyXView.C (updateMenubar): call MenuBar::update here
9015 (updateToolbar): but not here
9016 (showState): do not update toolbar/menubar
9018 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9019 should need to care about that.
9021 * lyxfunc.C (verboseDispatch): simplify a bit
9022 (getStatus): have a version which takes a pseudoaction, and
9023 another which requires a (kb_action,string).
9025 * LyXAction.C (retrieveActionArg): make it work also when action
9026 is not a pseudo-action.
9027 (getActionName): simplify a bit
9030 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9032 * lyxfunc.C (verboseDispatch): new families of methods with
9033 several ways to specify a command and a bool to indicate whether
9034 the command name and shortcut should be displayed in minibuffer
9035 (eventually, we could extend that to a finer bitmask like
9036 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9037 (dispatch): the pristine dispatch command which just, well,
9038 dispatchs! Note it still sets its result to minibuffer; I'm not
9041 * lyxfunc.h: remove setHintMessage
9043 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9045 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9047 * BufferView_pimpl.C (specialChar): delete new inset if we have
9048 not been able to insert it.
9050 * kbmap.C: revert to using int instead of kb_action, since all we
9051 are dealing with is pseudo-actions.
9053 * LyXAction.C (searchActionArg): change to return int instead of
9054 kb_action, since the result is a pseudoaction.
9056 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9058 * buffer.C (insertErtContents): Fix (partially) the font bug.
9060 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9062 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9063 as the other one is broken on my machine!
9065 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9068 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9070 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9072 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9073 reflect their actual use. Provide compatibility code for older lyxrc
9076 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9078 change names of popup font variables in line with the changes to lyxrc.C
9080 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9082 * buffer.C (asciiParagraph): avoid outputing a word twice after
9085 * lyxrc.C (getDescription): document that document_path and
9086 template_path can be empty.
9088 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9090 * LaTeXFeatures.C (getMacros):
9091 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9093 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9095 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9097 (getPackages): rename feature "floats" to "float". Use an array to
9098 iterate over 'simple' features (i.e. just a \usepackage). Add
9099 handling of "amsmath" (renamed from "amsstyle").
9101 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9103 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9106 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9108 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9109 FuncStaus::FuncStatus & FuncStaus::some_method().
9111 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9113 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9114 of the func_satus stuff. Edited and massaged in various ways by
9117 * lyxfunc.C (getStatus): use FuncStatus
9119 2002-01-08 Juergen Vigna <jug@sad.it>
9121 * text.C (nextBreakPoint): use function Inset::isChar().
9123 * paragraph.C (TeXOnePar): use function
9124 Inset::forceDefaultParagraphs.
9126 * buffer.C (latexParagraphs): use function
9127 Inset::forceDefaultParagraphs.
9129 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9131 * lyx_gui.C (init): set the style of the menu popups to
9132 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9134 2002-01-07 Juergen Vigna <jug@sad.it>
9136 * text.C (setHeightOfRow): small fix
9137 (prepareToPrint): don't look at alignment if we don't have the place
9140 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9142 * box.C: New file. Move the Box methods and functions out of box.h,
9143 following Lars' suggestion.
9145 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9147 * box.h: #include "support/LOstream.h", needed for inlined function.
9150 * lyxtextclasslist.C: added some using std declarations.
9152 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9154 * box.h: make signed dimensions to allow insets wider than
9155 the screen (bug #162)
9157 * BufferView_pimpl.C: add some insetHit debug
9159 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9161 * vc-backend.C: add FIXME
9163 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9165 * lyxfunc.C (getStatus): enable code for showing math font status
9168 2002-01-07 Juergen Vigna <jug@sad.it>
9170 * text.C (nextBreakPoint): removed debug output not needed anymore.
9172 2002-01-06 Juergen Vigna <jug@sad.it>
9174 * text.C (nextBreakPoint): fixed up this function we had this bug
9175 since ever but now hopefully we break row better.
9176 (insertChar): we have to check if an inset is the next char as it
9177 could now happen that a large inset is causing a break.
9179 2002-01-05 Juergen Vigna <jug@sad.it>
9181 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9182 if it doesn't like to be drawed.
9184 2002-01-04 Juergen Vigna <jug@sad.it>
9186 * BufferView2.C (lockInset): forgot to set a cursor.
9188 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9190 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9195 * form_maths_panel.C:
9196 * form_maths_panel.h:
9197 * form_maths_panel.fd: implemented sub- and super- buttons in math
9200 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9201 (or ^ space) to be used as in TeX (req'd by André).
9203 * lyxfunc.C: Allow ^ and _ again to be used both as
9204 super/subscript (mathed) and as themselves (in text).
9206 2002-01-03 Allan Rae <rae@lyx.org>
9208 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9209 "LyX" or the filename of the current buffer if it has one. This is a
9210 modified form of John Levon's patch.
9212 * XFormsView.C (setWindowTitle): also set icon title.
9214 * LyXView.h (setWindowTitle): signature changed.
9215 * XFormsView.h (setWindowTitle): ditto.
9217 2002-01-02 Juergen Vigna <jug@sad.it>
9219 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9221 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9223 * screen.C (topCursorVisible): introduce a temp var for
9224 text->cursor.row(), handle the case where this row is null. (kindo
9227 * text2.C (setCursor): add a couple of asserts.
9229 * paragraph.h (inset_iterator): add -> operator
9231 * paragraph.[Ch] (autoDeleteInsets): remove member function
9233 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9234 cursor pos correctly and handle inset deletion by itself.
9235 (insertErrors): move iterator declaration out of for expression
9237 * lyxtextclass.C: add <algorithm>
9239 * Makefile.am: added the new files to sources, removed layout.C
9241 * layout.C: removed file
9243 * layout.h: remove LYX_DUMMY_LAYOUT
9245 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9249 * lyxtextclass.[Ch]:
9250 * lyxtextclasslist.[Ch]: new files
9252 * include order changes to a lot of files, also changes because of
9255 2001-12-27 Juergen Vigna <jug@sad.it>
9257 * buffer.C (asciiParagraph): more fixes.
9259 * tabular.C (ascii): make ascii export support export of only the
9260 data separated by a column-delimiter.
9261 (ascii): better support for ascii export.
9263 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9265 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9267 * tabular_funcs.C: use a "using std::getline" instead of the
9268 previous fix from Angus (necessary for cxx + lyxstring)
9270 2001-12-24 Juergen Vigna <jug@sad.it>
9272 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9274 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9275 problems. First check a minipage also if we have some ert-contents
9276 (not only on par->size(), second set the right depth of the paragraph
9277 on the relink to the root-paragraph-list!
9279 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9280 which then did not anymore update the main paragraphs on undo/redo!
9282 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9284 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9285 code. Support all font-changing funcs (even those which are not in
9286 menu currently). Support for reporting font settings in
9287 mathed (disabled until Andre provides a function on mathed's side).
9289 * func_status.h (toggle): small helper function to set toggle
9292 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9294 * tabular_funcs.C: getline -> std::getline
9296 2001-12-21 Juergen Vigna <jug@sad.it>
9298 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9299 accessed and could be 0 (I couldn't generate this but it seems
9302 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9304 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9305 * tabular_funcs.h: here and include iosfwd
9307 2001-12-20 Juergen Vigna <jug@sad.it>
9309 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9310 inside inset but undo_par was.
9312 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9314 * Thesaurus.C: always include <config.h> in sources.
9318 * box.h: do not include <config.h> in header files
9320 * text.C (paintLastRow): remove unused variable
9322 * text.C (transformChar):
9324 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9327 * font.C (width): rewrite to use uppercase() instead of
9330 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9332 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9334 * lyxfind.C: clean up of find failure position change
9336 2001-12-20 Juergen Vigna <jug@sad.it>
9338 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9340 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9341 (TeXRow): added to LaTeX a single tabular row.
9342 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9343 (Latex): simplified and finally good LT-h/f support.
9344 (various_functions): just small adaptions for LT-h/f support.
9346 * tabular_funcs.[hC]: added and moved here all not classfunctions
9349 2001-12-19 Juergen Vigna <jug@sad.it>
9351 * tabular.[Ch]: better support for longtabular options (not finished
9354 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9356 * text.C (paintLastRow): use the label font instead of the font of
9357 the last character to compute the size of *_BOX. This makes more
9358 sense and avoids a crash with empty paragraphs.
9359 Use Painter::rectangle to draw EMPTY_BOX.
9361 2001-12-19 Juergen Vigna <jug@sad.it>
9363 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9364 the paragraphs if the replaced paragraph is not the first one!
9365 Tried to delete not used paragraphs but does not work yet so for
9366 now it's inside #ifdef's and by default off!
9368 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9370 * MenuBackend.C: include "lyx_main.h" instead of declaring
9371 lastfiles (actually was declared as LastFiles* instead of a
9374 2001-12-17 Juergen Vigna <jug@sad.it>
9376 * tabular.C (AppendColumn): applied John's fix
9378 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9382 * BufferView_pimpl.h:
9383 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9386 * box.h: new start of class for above
9388 * lyxfunc.C: ignore space-only minibuffer dispatches.
9389 Show the command name when it doesn't exist
9391 * minibuffer.C: don't add empty lines to the history
9393 * minibuffer.C: add a space on dropdown completion
9395 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9397 * text.C: fix line above/below drawing in insets
9399 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9401 * lyxlength.C (LyXLength): Initialize private variables.
9403 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9405 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9406 when inserting error insets.
9408 2001-12-13 Juergen Vigna <jug@sad.it>
9410 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9411 actually sometimes the before-paragraph.
9412 (setUndo): don't clear the redostack if we're not actually undoing!
9414 2001-12-06 Juergen Vigna <jug@sad.it>
9416 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9417 and fixed redoing of main paragraph, so we can use it now ;)
9419 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9421 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9423 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9426 2001-12-13 André Pönitz <poenitz@gmx.net>
9429 * undo_func.C: minor cleanup
9431 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9433 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9434 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9435 font in urw-fonts package which is marked as -urw-fontspecific and
9436 does not work (incidentally, changing the encoding in the
9437 fonts.dir of this package to -adobe-fontspecific fixes the
9440 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9441 is a crash when undoing first paragraph (Juergen, please take a
9442 look). THis does not mean the undo fix is wrong, just that it
9445 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9446 the (Paragraph*) version when needed instead of duplicating the
9449 * text.C (workWidth): use Inset::parOwner to find out where the
9450 inset has been inserted. This is a huge performance gain for large
9451 documents with lots of insets. If Inset::parOwner is not set, fall
9452 back on the brute force method
9454 * paragraph_pimpl.C (insertInset):
9455 * paragraph.C (Paragraph):
9456 (cutIntoMinibuffer): set parOwner of insets when
9457 inserting/removing them
9459 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9461 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9467 * mathed/formulabase.C:
9468 * mathed/math_cursor.[Ch]:
9469 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9472 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9474 * lyxlength.[Ch] (operator!=): new function
9476 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9478 * text.C (workWidth): use Inset::parOwner to find out where the
9479 inset has been inserted. This is a huge performance gain for large
9480 documents with lots of insets. If Inset::parOwner is not set, fall
9481 back on the brute force method
9483 * paragraph_pimpl.C (insertInset):
9484 * paragraph.C (Paragraph):
9485 (cutIntoMinibuffer): set parOwner of insets when
9486 inserting/removing them
9488 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9490 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9492 * tabular-old.C (getTokenValue):
9493 * tabular.C (getTokenValue):
9494 (write_attribute): new versions for LyXLength
9495 (everywhere): adjust the use of widths
9497 * tabular.h: change the type of widths from string to LyXLength
9499 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9501 * paragraph.C: fixed missing line number count when exporting
9502 Environments to LaTeX file
9504 * buffer.C: added informational message for checking line numbers.
9506 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9508 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9509 paragraph, do the 'double space' part, but not the 'empty
9512 * text.C (workWidth): small optimization
9513 (getLengthMarkerHeight): use minimal size for negative lengths.
9515 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9517 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9519 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9521 2001-12-11 André Pönitz <poenitz@gmx.net>
9524 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9526 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9528 * text2.C: keep selection on a setFont()
9530 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9532 * lyx_cb.C: another bv->text misuse, from insert label
9534 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9537 * kbsequence.C: re-instate nmodifier mask
9539 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9541 * lyx_main.h: make lyxGUI private.
9543 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9545 * lyxfind.C: place the cursor correctly on failed search
9547 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9549 * text.C (getLengthMarkerHeight): for small heights, the arrows
9550 are not always on top/bottom of the text
9551 (drawLengthMarker): smaller arrows; take the left margin in
9552 account; draw also vfills.
9554 (paintLastRow): remove special code for vfill and standard spaces,
9555 since everything is handled in drawLengthMarker now.
9557 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9559 * buffer.C (insertErtContents): try to handle font and language
9560 interaction a bit better.g
9562 * ColorHandler.C (updateColor): change the hash to cover the whole
9563 LColor enum, ws cleanup
9564 (getGCLinepars): ditto
9565 (getGCLinepars): only lookup in the linecache once.
9567 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9569 * iterators.C (operator++): Make the iterator more robust
9571 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9573 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9575 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9578 * text.C: better added space drawing
9580 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9583 * BufferView2.C: fix layout combo update on inset unlock
9585 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9587 * Makefile.am: don't compile unused files
9589 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9593 * LyXAction.C: remove old LFUN_LAYOUTNO
9595 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9597 * paragraph_pimpl.h:
9598 * paragraph_pimpl.C: isTextAt() doesn't need font param
9600 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9603 * lyxlex.C: little cleanup
9605 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9607 * BufferView_pimpl.C: fix insertAscii for insets
9609 2001-12-05 Juergen Vigna <jug@sad.it>
9611 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9612 set the right font on the "multi" paragraph paste!
9614 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9620 * lyxlength.C: remove out-commented code.
9636 * vc-backend.C: change "while(" to "while ("
9638 * lyxlength.[Ch]: add zero function to check if length is zero or
9640 * lyxgluelength.C: use it
9642 2001-12-05 Allan Rae <rae@lyx.org>
9644 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9645 Works for 2.95.3, from what I understand of Garst's reports this should
9646 work for other g++ versions. We're screwed if the abs(int) definition
9647 changed between bugfix releases of gcc.
9649 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9651 * text.C: fix chapter label offset !
9653 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9656 * text.C: fix hfill at end of line, clean up
9658 2001-12-04 Juergen Vigna <jug@sad.it>
9660 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9661 that we force an update of the inset and it's owners if neccessary.
9663 2001-12-03 Juergen Vigna <jug@sad.it>
9665 * text.C (rowLast): simplified code
9667 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9669 * lyxfunc.C: fix show options on timeout
9671 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9673 * screen.C (topCursorVisible): scroll half a page when the cursor
9674 reached top of bottom of screen
9676 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9678 * minibuffer.C: deactivate on loss of focus
9680 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9682 * vspace.[Ch] (operator!=): add operator.
9684 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9686 * BufferView_pimpl.C: refuse to open an inset when
9687 there's a selection.
9689 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9691 * BufferView_pimpl.C: allow to click on RHS of full row insets
9693 2001-11-30 Juergen Vigna <jug@sad.it>
9695 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9696 insets for undo reasons.
9698 2001-11-28 André Pönitz <poenitz@gmx.net>
9700 * vspace.[Ch]: cosmetical changes
9702 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9712 * kbsequence.C: part re-write of old kb code
9715 * WorkArea.C: remove Lgb_bug_find_hack
9717 2001-11-30 José Matos <jamatos@fep.up.pt>
9719 * buffer.C (makeDocBookFile): add a comment to point a hack.
9720 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9721 Fixed a double write of labels.
9723 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9726 * LaTeX.h Fixed bug in LaTeX class where it would not
9727 re-run latex if no depfiles were changed, but the .dvi was removed.
9729 2001-11-28 André Pönitz <poenitz@gmx.net>
9731 * all the files from the change on 2001/11/26:
9732 use lyx::layout_type instead of LyXTextClass::size_type
9733 use lyx::textclass_type instead of LyXTextClassList::size_type
9735 2001-11-29 Juergen Vigna <jug@sad.it>
9737 * text.C: added support for paragraph::isFreeSpacing()
9739 * buffer.C: same as above
9741 * paragraph.h: inserted isFreeSpacing() function to enable
9742 FreeSpacing inside InsetERT.
9744 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9745 of the paragraph's in the cut/copy buffer to 0!
9747 * text2.C (removeRow): remove the assert as it can!
9749 * lyxtext.h: added helper function firstRow returning firstrow and
9750 made firstrow private again.
9752 * BufferView2.C (lockInset): don't relock if we're already locked!
9754 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9756 (removeRow): added Assert::(firstrow)
9758 * debug.C: forgot to add INSETTEXT here.
9760 2001-11-28 Juergen Vigna <jug@sad.it>
9762 * sp_spell.C (initialize): changed error text to more general
9763 spellchecker command use (not only ispell!)
9765 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9767 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9769 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9771 * vspace.C: initialise lyxgluelength on failure
9773 2001-11-28 Allan Rae <rae@lyx.org>
9775 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9776 declaration & definition that looks like a function declaration.
9778 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9780 * BufferView2.C (copy):
9781 (copyEnvironment): do not clear the selection when doing a copy.
9783 * text.C (paintFirstRow): compilation fix
9785 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9787 * tabular.C (Latex): correct line count when writing latex.
9789 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9791 * paragraph_pimpl.h:
9792 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9795 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9799 * LColor.C: change vfillline->added_space
9801 * text.C: add markers and text for added space
9803 * vspace.C: fix comment
9805 2001-11-28 André Pönitz <poenitz@gmx.net>
9807 * paragraph.C: whitespace changes
9808 * all the other files from the change on 2001/11/26:
9809 change *::pos_type into lyx::pos_type
9811 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9813 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9814 language of the document when inserting error insets.
9816 2001-11-26 André Pönitz <poenitz@gmx.net>
9818 * BufferView_pimpl.[Ch]:
9826 * paragraph_pimpl.[Ch]:
9829 * text2.C: reduce header dependencies, introduce type for positions
9831 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9833 * <various>: change to use Alert.h
9835 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9837 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9838 when encountering an unknown token.
9839 (readLyXformat2): Show an error message if there were unknown tokens.
9841 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9844 * BufferView_pimpl.C:
9848 * text2.C: use par->isInset()
9850 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9852 * paragraph_pimpl.h:
9853 * paragraph_pimpl.C: cleanup
9855 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9857 * text2.C (removeRow):
9858 * text.C (setHeightOfRow): remove useless (and costly) call to
9861 2001-11-20 Allan Rae <rae@lyx.org>
9863 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9864 Now need Inset*::checkInsertChar() to return true for appropriate
9865 cases so that the characters in the minibuffer will actually be
9868 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9870 * text.C: change the order of the includes.
9871 (workWidth): initialize it at once.
9872 (workWidth): make maxw unsigned
9873 (setHeightOfRow): remove unused variable (inset)
9874 (selectSelectedWord): remove unused variable (inset)
9875 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9877 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9879 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9880 server is not running.
9882 (closeConnection): add debug info when server is disabled.
9884 * ColorHandler.C (getGCForeground): send debug message to GUI
9887 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9889 * kbmap.C (bind): modify because return conventions of
9890 kb_sequence::parse have changed.
9892 * kbsequence.C (parse): only ignore spaces and not any stupid
9893 control character. This avoids tests like s[i] <= ' ', which are
9894 guaranteed to fail with 8bit characters and signed chars.
9895 Change return code to string::npos when there have been no error
9896 (0 was a bad idea when error is at first character)
9898 2001-11-14 José Matos <jamatos@fep.up.pt>
9901 * buffer.C (simpleDocBookOnePar): removed unused argument.
9903 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9905 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9906 insets which are part of a word. Paragraph::isLetter takes care of
9907 that now. Use Paragraph::isInset to identify insets.
9908 (selectSelectedWord): do not test for hyphenation break.
9910 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9911 that protected spaces are considered as spaces.
9913 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9916 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9919 * lyxserver.C: fix it. and small cleanup.
9921 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9923 * BufferView_pimpl.C: use inline helpers
9926 * LaTeXFeatures.C: fix typos
9929 * Spacing.C: move spacing_string into class
9931 * ToolbarDefaults.C: move stuff into namespace anon
9933 * layout.h: update enum
9935 * lyxfunc.C: use better debug
9937 * minibuffer.h: fix typo
9941 * WorkArea.C: add and use Debug::WORKAREA
9945 * text2.C: code re-organisation, inline helpers
9947 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9949 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9950 std::vector.empty().
9952 2001-11-09 Allan Rae <rae@lyx.org>
9954 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9955 '\n's after tables. Tabular and ERT inset work now makes this no
9958 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9961 * minibuffer.C: fix crash, improve drop-down completion
9963 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9966 * lyxserver.C: invalidate fd's when doing endPipe()
9968 2001-11-08 José Matos <jamatos@fep.up.pt>
9970 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9971 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9974 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9976 2001-11-07 José Matos <jamatos@fep.up.pt>
9979 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9982 * buffer.C (sgmlOpenTag):
9983 * buffer.C (sgmlCloseTag): removed debug info.
9985 * buffer.h (sgmlOpenTag):
9986 * buffer.h (sgmlCloseTag): made public.
9988 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9990 * buffer.C (saveParamsAsDefaults):
9991 * lyx_cb.C (MenuLayoutSave): remove
9993 * LyXAction.C (init):
9995 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9997 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9999 * buffer.C (setPaperStuff): removed from here...
10001 * bufferparams.C (setPaperStuff): ... and moved there.
10003 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10007 * XFormsView.C: add support for drop-down completion
10009 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10011 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10014 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10016 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10019 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10021 * lyx_main.C: change ref to known bugs
10023 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10025 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10026 to work around older babel problems.
10028 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10030 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10032 2001-10-24 Juergen Vigna <jug@sad.it>
10034 * tabular-old.C (ReadOld): below variable changes reflected.
10036 * tabular.[Ch]: added ltType struct for longtable header/footer
10037 defines and changed all instances where they are used. Added
10038 future support for double top/bottom rows.
10040 2001-10-24 José Matos <jamatos@fep.up.pt>
10042 * buffer.h (docbookHandleCaption):
10043 * buffer.C (docbookHandleCaption): removed unused function.
10044 (makeDocBookFile): moved docbook supported version to v4.1.
10046 2001-10-24 José Matos <jamatos@fep.up.pt>
10049 * tabular.C (docbookRow): new function to export docbook code of a row.
10050 (DocBook): now honors the longtable flags.
10052 2001-10-23 José Matos <jamatos@fep.up.pt>
10055 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10056 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10058 * buffer.C (makeLinuxDocFile):
10059 (makeDocBookFile): reworked the preamble, more clean, and with
10060 support for lyx defined entities. Changed the document declaration
10061 to be more XML friendly.
10063 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10064 if we need to output XML that should be done with a filter.
10066 2001-10-22 Juergen Vigna <jug@sad.it>
10068 * sp_pspell.h (class PSpell): add alive function needed in the
10069 controller to see if the spellchecker could be started.
10071 2001-10-22 Juergen Vigna <jug@sad.it>
10073 * buffer.C (insertStringAsLines): modify the font for inserting
10074 chars in certain conditions by calling checkInsertChar(font).
10076 2001-10-19 Juergen Vigna <jug@sad.it>
10078 * text.C (workWidth): use getRow instead of wrong algorithm.
10079 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10081 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10086 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10088 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10090 * text.C (workWidth): do not search for the exact row when
10091 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10092 optimization for big documents.
10094 2001-10-18 Juergen Vigna <jug@sad.it>
10096 * text.C (workWidth): new function with added Inset * parameter.
10098 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10100 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10102 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10103 change return type of getColumnNearX.
10106 * text.C (changeRegionCase): use uppercase/lowercase instead of
10109 (rightMargin): simplify code by factoring out the uses of
10114 (appendParagraph): use Paragraph::size_type
10116 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10118 * vspace.C (asLatexString): add a missing break
10120 2001-10-15 Herbert Voss <voss@perce.de>
10122 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10124 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10126 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10129 2001-10-10 André Pönitz <poenitz@gmx.net>
10131 * lyxfunc.C: removed greek_kb_flag.
10133 2001-10-10 Herbert Voss <voss@perce.de>
10135 * lyx_main.C: delete global string help_lyxdir.
10137 2001-10-09 Herbert Voss <voss@perce.de>
10139 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10141 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10143 * lyx_main.C: added global string help_lyxdir.
10145 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10147 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10149 * lyxrc.C (set_font_norm_type): support iso8859-4
10151 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10153 * LaTeX.C (deplog): add another regex for MikTeX
10155 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10157 * lyxrc.C (set_font_norm_type): support iso8859-3
10159 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10161 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10163 * LaTeXFeatures.C: remove special case of french and index
10165 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10166 before \begin{document}). This solves several incompatibilities.
10168 2001-10-03 Garst Reese <reese@isn.net>
10170 * lyx_cb.C: change CheckTex error msg.
10172 2001-10-03 José Matos <jamatos@fep.up.pt>
10174 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10176 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10178 * .cvsignore: update
10180 * lyx_main.C (commandLineVersionInfo): use new style version info.
10182 * buffer.C (writeFile):
10184 (makeLinuxDocFile):
10185 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10187 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10189 * version.h: update to use stuff in version.C
10191 * version.C.in: new file. Contains version information determined
10192 at compile time. This is a merging of version.h and
10195 2001-10-03 Juergen Vigna <jug@sad.it>
10197 * BufferView_pimpl.C (update): don't change "dirty" status in
10200 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10202 * WorkArea.C (c-tor): re-position version string slightly.
10204 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10206 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10207 revert to previous code.
10209 WorkArea.[Ch]: (show, destroySplash): methods removed.
10211 WorkArea.C: rework code so that it's an amalgam of the codes before and
10212 after the splash screen was moved to WorkArea.
10214 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10217 * vspace.C (inPixels):
10220 * buffer.C (insertStringAsLines):
10221 (asciiParagraph): fix types to be large enough
10223 * lyxlex_pimpl.h: change member status from short to int
10225 * layout.h: fix type of endlabeltype
10228 * kbsequence.C (parse): change return type to string::size_type
10230 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10233 * Bullet.C (bulletSize):
10234 (bulletEntry): do not use short ints as parameters
10236 * BufferView2.C (insertLyXFile): change a char to an int.
10238 * WorkArea.C (WorkArea): remove unneeded floats in computation
10240 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10242 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10244 * paragraph.C (asString): Do not ignore newline/hfill chars when
10245 copying to the clipboard.
10247 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10249 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10250 after a multi-line inset.
10252 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10254 * paragraph.C (validate): Set NeedLyXFootnoteCode
10256 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10258 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10259 and decrease-error to decrease.
10261 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10263 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10264 it more readable (should be equivalent)
10266 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10268 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10270 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10272 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10273 of a cursor (row, etc.) after a character has been deleted
10274 (deleteEmptyParagraphMechanism): call the method above on _all_
10275 cursors held by the LyXText when a double space has been
10278 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10280 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10282 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10284 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10285 background. Use greyOut() and the new show() methods to toggle between
10286 the foreground and background. Add code to remove the splash after
10287 its initial showing.
10289 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10290 (create_forms): no longer call Dialogs::showSplash.
10292 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10294 * .cvsignore: add version_info.h
10296 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10298 * version_info.h.in: new file
10300 * Makefile.am: add version_info.h.in
10302 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10303 version_info.h instead of VERSION_INFO
10305 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10307 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10308 The ERT inset now returns string().
10310 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10312 * lyxtext.h, text.C (selectNextWord): renamed as
10313 selectNextWordToSpellcheck.
10315 * text.C (selectNextWordToSpellcheck): Modified to not select
10316 words inside an ERT inset.
10318 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10320 * lyx_cb.C (MenuLayoutSave): change a bit the question
10322 * sp_base.h: include <sys/types.h>
10324 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10326 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10328 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10330 * several files: fix typos in user-visible strings
10332 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10334 * text2.C (pasteSelection): do not set the selection, since it
10335 will be cleared later. Actually, the intent was to fix the way the
10336 selection was set, but I figured rmoving the code was just as good.
10338 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10340 * FontLoader.C (available): Check if font is available without
10343 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10345 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10347 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10349 * lyxrc.[Ch]: added display_graphics variable and associated code.
10351 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10353 * bufferparams.C (hasClassDefaults): new method. Returns true if
10354 the buffer parameters correspond to known class defaults
10356 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10358 * XFormsView.C (show): set minimum size to the main window.
10360 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10362 * text2.C (copySelection):
10364 * lyxfind.C (LyXReplace):
10365 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10366 LyXText::selectionAsString.
10368 * paragraph.C (asString): add "label" argument to the second form
10370 * text2.C (selectionAsString): add "label" argument and pass it to
10371 Paragraph::asString.
10373 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10375 * lyx_main.C (commandLineHelp): remove version information
10377 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10379 * lyx_main.C: add -version commandline option
10381 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10383 * paragraph.h: make the optional constructor arg required instead.
10384 some modifications to other files because of this.
10386 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10388 * lyxserver.C (C_LyXComm_callback): make it static
10390 * lyx_main.C (error_handler): make it static
10392 * lyx_gui.C (LyX_XErrHandler): make it static
10394 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10396 * WorkArea.C: make the extern "C" methods static.
10398 * Makefile.am (lyx_LDADD): simplify
10400 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10402 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10403 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10405 * LyXAction.C (init):
10406 * lyxfunc.C (dispatch): associated code removal.
10408 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10410 * lyxfont.h (isSymbolFont): shut off warning
10412 * text.C (setHeightOfRow):
10413 (getVisibleRow): fix crash with empty paragraphs which have a
10416 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10418 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10421 2001-09-04 José Matos <jamatos@fep.up.pt>
10424 * tabular.C (docbook): rename docBook method to docbook.
10426 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10428 * Makefile.am: add dependencies to main.o.
10430 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10432 * FontLoader.C (available): Return false if !lyxrc.use_gui
10434 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10436 * FontInfo.C (query):
10437 * converter.C (view):
10438 * importer.C (Import):
10439 * exporter.C (Export): Can not -> cannot.
10441 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10443 * BufferView_pimpl.C: allow to create index inset even if
10446 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10448 * buffer.C (getLists): replace boost::tie code with an explicit pair
10449 as boost::tie can break some compilers.
10451 * iterators.h: Added a std:: declaration to the return type of
10454 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10456 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10459 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10461 * iterators.[Ch]: New files. Provide paragraph iterators.
10463 * buffer.C (changeLanguage): Use paragraph iterators.
10464 (isMultiLingual): ditto
10466 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10468 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10470 * FontLoader.C: Support for cmr font.
10472 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10474 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10475 (available): New method.
10477 * FontInfo.C (getFontname): Use scalable fonts even when
10478 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10481 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10483 * converter.C (Formats::view): reverted! Incorrect fix.
10485 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10487 * converter.C (Formats::view): only output the -paper option
10488 if the dvi viewer is xdvi, thereby fixing bug #233429.
10490 2001-08-23 Herbert Voss <voss@perce>
10492 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10494 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10496 * Spacing.h (Spacing): Set space to Default on in the default
10499 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10501 * vc-backend.h (RCS::versionString): add RCS to version
10502 (CVS::versionString): add CVS to version
10504 * vc-backend.C (scanMaster): do not add CVS to version.
10505 (scanMaster): do not add RCS to version
10507 * lyxvc.C (versionString): new method
10509 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10511 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10513 * Spacing.C (set): initialize fval
10515 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10517 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10520 2001-08-16 Juergen Vigna <jug@sad.it>
10522 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10524 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10526 * BufferView_pimpl.C:
10529 * text2.C: setParagraph takes linespacing now
10531 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10533 * LyxAction.C: add internal LFUN_CITATION_INSERT
10535 * LyXView.C: actually apply fix
10537 * bufferlist.C: fix open non-existent file
10539 * lyxfind.C: fix indentation
10541 * lyxfunc.C: remove unneeded assert, fix typo
10543 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10545 * MenuBackend.C: use "Floatname List"
10547 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10549 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10550 when converting LaTeX layout to insetERT.
10551 Generate a non-collapsed float when reading old float
10553 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10555 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10558 2001-08-13 Juergen Vigna <jug@sad.it>
10560 * text.C (fill): return 0 instead of 20 as this seems to be the more
10563 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10565 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10568 2001-08-13 Juergen Vigna <jug@sad.it>
10570 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10572 (SearchBackward): comment out the unlocking of the inset_owner this
10573 should not be needed!
10575 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10577 * Many files: Remove inherit_language, and add latex_language
10579 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10580 collapsible insets.
10582 2001-08-10 Juergen Vigna <jug@sad.it>
10584 * text.C (prepareToPrint): fixed hfill-width in draw!
10586 * BufferView2.C (selectLastWord): save the selection cursor as this
10587 now is cleared in the function LyXText::clearSelection!
10589 2001-08-08 Juergen Vigna <jug@sad.it>
10591 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10592 BACKSPACE type functions.
10594 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10595 is only cutted from the document but not put in the cut-buffer, where
10596 still the old stuff should be.
10598 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10600 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10602 * tabular.C (SetWidthOfCell): fixed special case where the width
10604 (LeftLine): handle '|' in align_special.
10606 (LeftAlreadyDrawed): ditto
10607 (SetWidthOfCell): ditto
10609 2001-08-07 Juergen Vigna <jug@sad.it>
10611 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10613 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10615 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10616 * lyxlex.[hC]: ditto
10618 2001-08-06 Juergen Vigna <jug@sad.it>
10620 * text.C (getVisibleRow): fix up row clearing a bit.
10622 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10624 * minibuffer.C: make sure the X server sees the changes in the input.
10626 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10628 * paragraph.C (getFont): split into...
10629 (getLabelFont): this
10630 (getLayoutFont): and this
10631 * paragraph_pimpl.C (realizeFont): calling this
10633 * text2.C (getFont): split into...
10634 (getLayoutFont): this
10635 (getLabelFont): and this
10636 (realizeFont): all three calling this
10638 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10641 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10643 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10645 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10647 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10648 layouts from the Quote inset insertion.
10650 2001-08-03 Juergen Vigna <jug@sad.it>
10652 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10654 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10655 only if status not is already CHANGED_IN_DRAW (second level).
10657 * text.C (draw): don't set the need_break_row when inside an
10660 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10662 * buffer.C (parseSingleLyXformat2Token): handle more latex
10665 * bufferview_funcs.[hC]: change function names to
10666 begin with small char, adjust other files.
10668 2001-08-02 André Pönitz <poenitz@gmx.net>
10671 BufferView_pimpl.C: remove broken special code for math-greek
10673 2001-08-02 Juergen Vigna <jug@sad.it>
10675 * BufferView_pimpl.C (update): redone this function so that we
10676 update the text again if there was a CHANGE_IN_DRAW.
10678 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10679 (drawFromTo): added a new internal bool which is used by draw() and
10681 (general): some cursor drawing problems fixed.
10683 2001-08-01 Juergen Vigna <jug@sad.it>
10685 * lyxfind.C (LyXFind): fixed
10686 (SearchForward): ditto
10687 (SearchBackward): ditto
10689 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10690 spurius drawing of the cursor in the main area.
10692 * text2.C (status): small fix which could lead to a segfault!
10693 (clearSelection): remove unneeded BufferView param.
10695 2001-08-01 André Pönitz <poenitz@gmx.net>
10697 * lyxfunc.C: small change due to changed mathed interface
10699 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10701 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10703 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10705 * lyxfunc.c: fail gracefully if file doesn't exist
10710 * BufferView_pimpl.C: IsDirWriteable() proto changed
10712 * LyXView.C: fix updateWindowTitle() to store the last title
10714 2001-07-31 Juergen Vigna <jug@sad.it>
10716 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10717 the font (wrong since using of Paragraph::highestFontInRange).
10719 * paragraph.C (highestFontInRange): added a default_size parameter.
10721 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10722 (setHeightOfRow): reformat
10724 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10726 * converter.[hC] + affected files: move to (inital-char)lowercase
10729 * ParagraphParameters.C (ParagraphParameters): remove commented code
10731 * PainterBase.[Ch]: remove commented code
10733 * LaTeXFeatures.h: add "bool floats" for float.sty
10735 * LaTeXFeatures.C (LaTeXFeatures): init floats
10736 (require): handle float
10737 (getPackages): do it with floats
10739 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10741 * BufferView_pimpl.C (Dispatch): improve handling of
10742 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10744 * commandtags.h: #include lyxfont.h here temporarily to avoid
10747 * bufferlist.h: include LString.h here.
10749 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10751 * text2.C (getStringToIndex): new method.
10753 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10755 * *: Reduced header file dependencies all over.
10757 2001-07-30 Baruch Even <baruch@lyx.org>
10759 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10761 2001-07-29 Baruch Even <baruch@lyx.org>
10763 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10765 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10767 * ParameterStruct.h (endif): add a default constructor to make
10768 sure that all variables is initialized.
10770 * ParagraphParameters.C (ParagraphParameters): adjust
10772 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10774 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10775 index; also, check that there is something to index, and that it
10776 does not span over several paragraphs.
10777 (doubleClick): use WHOLE_WORD_STRICT for double click.
10779 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10781 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10784 2001-07-26 Baruch Even <baruch@lyx.org>
10786 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10787 an InsetFig figure, backwards compatible reading of old figure code.
10789 2001-07-27 Juergen Vigna <jug@sad.it>
10791 * text2.C: font.realize function adaption.
10793 * text.C (draw): add a warnings lyxerr text if needed.
10795 * layout.C: font.realize function adaption.
10797 * language.C: add inherit_language and implement it's handlings
10799 * bufferview_funcs.C (StyleReset): remove language parameter from
10800 font creation (should be language_inherit now).
10802 * bufferparams.C (writeFile): handle ignore_language.
10804 * paragraph.C (getFontSettings): the language has to be resolved
10805 otherwise we have problems in LyXFont!
10807 * lyxfont.C (lyxWriteChanges): added document_language parameter
10808 (update): removed unneeded language parameter
10810 * paragraph.C (validate): fixed wrong output of color-package when
10811 using interface colors for certain fonts in certain environments,
10812 which should not seen as that on the final output.
10814 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10816 * BufferView_pimpl.C:
10821 * LyXAction.C: add thesaurus support
10824 * lyxfind.C: add "once" parameter, for thesaurus, to not
10825 move to the next match
10827 2001-07-26 Juergen Vigna <jug@sad.it>
10829 * lyxfont.C (realize): honor ignore_language too!
10832 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10834 * text.C (draw): one place more for ignore_language to not draw
10837 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10839 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10841 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10843 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10844 the minipage conversion problem.
10846 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10848 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10851 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10853 * BufferView.h: don't forward declare WorkArea
10855 * BufferView.C: don't include WorkArea.h
10857 2001-07-25 André Pönitz <poenitz@gmx.net>
10861 * lyxfunc.C: new LFUN 'math-space'
10863 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10865 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10867 * text2.C (toggleInset): call open/close
10869 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10871 * lyxfunc.C (dispatch): add debug for the disabled case
10873 * font.C (buttonText): make similar to rectText
10875 * buffer.C (readInset): comment out parsing of insetlist and
10878 * PainterBase.C (rectText): small correction
10880 * BufferView_pimpl.C: comment out insettheorem and insetlist
10881 * LyXAction.C: ditto
10882 * commandtags.h: ditto
10884 2001-07-24 Juergen Vigna <jug@sad.it>
10886 * text.C (draw): honor the ignore_language.
10888 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10890 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10892 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10895 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10897 * lyxtext.h: remove unused (and unimplemented) methods
10899 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10901 * text.C (getVisibleRow): honor background color
10904 * Painter.h: remove default color argument for fillRectangle
10906 * text.C (backgroundColor): new method
10908 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10910 * text.C (getVisibleRow): adjust
10912 * font.[Ch] (rectText): new method, metrics
10913 (buttonText): new method, metrics
10915 * PainterBase.[hC]: make rectText and buttonText always draw and take
10918 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10920 * ToolbarDefaults.C (read):
10921 * MenuBackend.C (read): allow escaping in all strings
10923 * BufferView_pimpl.C (insertAndEditInset): new method.
10924 (Dispatch): use insertAndEditInset whenever appropriate.
10926 * BufferView_pimpl.C (insertNote): removed
10928 * BufferView_pimpl.C (smartQuote): new method, moved from
10929 BufferView; if an insetquote cannot be inserted, insert a '"'
10932 * BufferView2.C: remove insertCorrectQuote();
10934 * lyxfunc.C (getStatus): Add support for all remaingin
10935 inset-insert lfuns.
10937 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10939 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10940 command (necessary to pass " as parameter of self-insert.
10942 * text.C (selectWordWhenUnderCursor):
10943 (selectWord): add word_location parameter
10944 (selectWordWhenUnderCursor): same + remove special code for word
10946 (selectNextWord): use kind() to guess type of insetspecialchar,
10949 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10950 (insertErtContents): create ert insets as collapsed.
10951 (readInset): better compatibility code for Info inset.
10953 2001-07-20 Juergen Vigna <jug@sad.it>
10955 * lyxfunc.C (dispatch): use always LyXFind now!
10957 * text2.C (init): add a reinit flag so that the LyXText can be
10958 reinited instead of deleted and reallocated (used in InsetText).
10960 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10966 2001-07-18 Juergen Vigna <jug@sad.it>
10968 * text.C (selectNextWord): handle insets inside inset by calling
10969 always the bv->text functions so that we can go up the_locking_inset!
10971 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10972 in strange locations when inside an inset!
10974 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10975 handling to include insets.
10977 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10979 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10981 * LyXAction.C (init):
10983 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10984 LIGATURE_BREAK, since the name is so stupid.
10986 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10988 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10991 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10993 * sp_form.[Ch]: remove.
10995 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10997 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11000 * src/buffer.C (readInset): ditto.
11002 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11004 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11005 menuSeparator(), endOfSentenceDot(), ldots() and
11006 hyphenationPoint(), which are therefore removed.
11007 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11009 * LyXAction.C (init):
11010 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11012 * paragraph.C (getWord): removed.
11014 * BufferView_pimpl.C (Dispatch): use last word or selection for
11015 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11017 * lyx_main.C (queryUserLyXDir): do not ask before creating
11018 user_dir, except if it has been named explicitely.
11020 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11022 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11023 a document of zero size.
11025 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11027 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11028 approriately in the c-tor and in require().
11029 (getPackages): output the appropriate LaTeX for natbib support.
11031 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11032 variables "use_natbib" and "use_numerical_citations" when reading the
11034 (readInset): read the various natbib cite commands.
11035 (validate): white-space change.
11037 * bufferparams.[Ch]: new variables "bool use_natbib" and
11038 "bool use_numerical_citations".
11039 (writeFile): output them in the LyX file.
11041 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11043 * lyxfunc.C (getStatus): add support for all the inset insertion
11046 * text2.C (insertInset):
11047 * paragraph.C (insetAllowed):
11048 * BufferView_pimpl.C (insertInset): update to take in account the
11049 renaming of insertInsetAllowed
11051 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11053 * text2.C (getInset): new method. returns inset at cursor position.
11055 * BufferView_pimpl.C (Dispatch): changes because of this.
11057 * LyXAction.C (init): rename open-stuff to inset-toggle.
11059 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11061 * text2.C (toggleInset): renamed from openStuff; use
11064 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11066 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11068 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11070 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11072 * buffer.C (readLyXformat2): Add filename to the error dialog
11074 2001-07-18 Juergen Vigna <jug@sad.it>
11076 * tabular.C (GetCellNumber): put an assert here instead of the check!
11078 2001-07-17 Juergen Vigna <jug@sad.it>
11080 * BufferView_pimpl.C (toggleSelection): adapted too.
11082 * text.C (selectNextWord): adapted for use with insets.
11083 (selectSelectedWord): ditto
11085 2001-07-17 Juergen Vigna <jug@sad.it>
11087 * sp_spell.C (PSpell): fix initialitation order.
11089 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11091 * paragraph.C: spacing
11093 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11095 * sp_spell.C: repair language selection for pspell
11097 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11099 * lyxfunc.h: change more methods to begin with lower char.
11101 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11103 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11104 for unknown layouts.
11106 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11108 * buffer.C (readLyXformat2): Generate an error dialog if there are
11111 2001-07-16 Juergen Vigna <jug@sad.it>
11113 * sp_spell.C: always compile ISpell part.
11115 * lyxrc.C: added use_pspell entry and it's handling.
11117 2001-07-13 Juergen Vigna <jug@sad.it>
11119 * sp_spell.C: removed double includes.
11121 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11123 Consistent use of Lsstream.h:
11124 * Lsstream.h: added using std::stringstream for consistencies sake.
11126 * buffer.C: removed using std::stringstream
11128 * lyxfont.C (stateText):
11129 * paragraph.C (asString):
11130 * text.C (selectNextWord, selectSelectedWord):
11131 * text2.C (setCounter):
11132 * vspace.C (asString, asLatexString):
11133 std::ostringstream -> ostringstream.
11135 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11137 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11138 * commandtags.h: add LFUN_HELP_ABOUTLYX
11139 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11141 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11143 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11145 * lyx_gui_misc.C: remove spellchecker
11146 * lyxfunc.C: showSpellchecker
11148 * sp_ispell.h: added
11149 * sp_pspell.h: added
11150 * sp_spell.C: added
11151 * sp_form.[Ch]: removed
11152 * spellchecker.[Ch]: removed
11154 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11156 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11158 (simpleTeXSpecialChars): Simply print the input character without
11159 any special translation if pass_thru is set.
11161 * layout.h: Added bool pass_thru to layout class for being able to
11162 implement pass through of a paragraph for Literate Programming.
11164 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11165 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11166 * layout.C (Read): add "passthru" to list of layout tags and add
11167 code to set the pass_thru boolean when it is read.
11169 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11171 * trans_decl.h: remove allowed from KmodInfo
11173 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11174 remove allowed code
11177 * paragraph_pimpl.C (erase): use boost::prior
11179 * Painter.C (text): use data() instead of c_str() when length is
11181 * WorkArea.C (putClipboard): ditto
11182 * font.h (width): ditto
11184 * BufferView2.C: use it-> instead of (*it). for iterators
11186 * paragraph_pimpl.C: ditto
11187 * paragraph.C: ditto
11188 * minibuffer.C: ditto
11189 * language.C: ditto
11191 * encoding.C: ditto
11192 * counters.C: ditto
11193 * converter.C: ditto
11195 * Variables.C: ditto
11196 * TextCache.C: ditto
11197 * MenuBackend.C: ditto
11198 * LyXAction.C: ditto
11200 * FloatList.C: ditto
11201 * DepTable.C: ditto
11202 * ColorHandler.C (LyXColorHandler): ditto
11204 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11206 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11208 * text2.C (openStuff): reintroduce this method (which had been
11209 nuked in NEW_INSETS frenzy).
11211 * lyxfunc.C (Dispatch): when an action has not been handled, use
11212 its name in the error message, not its number.
11214 * paragraph.C (inInset): change method name to begin with lowercase.
11217 * text2.C: updates because of this.
11219 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11221 * ToolbarDefaults.C (add): add spaces in error message
11223 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11225 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11226 (readLyXformat2): rename return_par to first_par, use lyxlex's
11227 pushToken and remove the manual push handling.
11228 (parseSingleLyXformat2Token): add another ert comp. variable:
11229 in_tabular, rename return_par to first_par. handle newlines better
11231 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11233 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11235 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11237 * text2.C (getParFromID): removed
11239 * buffer.C (getParFromID): new method moved form lyxtext.
11240 * BufferView2.C (insertErrors): adjust
11241 (setCursorFromRow): adjust
11242 * BufferView_pimpl.C (restorePosition): adjust
11243 * lyxfunc.C (Dispatch): adjust
11244 * undo_funcs.C (textUndo): adjust
11246 (textHandleUndo): adjust
11247 (textHandleUndo): adjust
11249 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11251 * buffer.C: up' the LYX_FORMAT
11253 * lyxfont.h: turn NO_LATEX on as default
11255 * buffer.C (insertErtContents): new methods of tex style compability.
11256 (parseSingleLyXformat2Token): use it several places.
11257 * tabular.C (OldFormatRead): and here
11259 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11261 * text2.C: remove some commented code.
11264 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11265 * trans.C: changes because of the above.
11267 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11269 * text2.C (setCounter): Fix counters bug with bibliography layout.
11271 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11273 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11274 own member functions
11275 (simpleTeXSpecialChars): ditto
11277 2001-07-06 Juergen Vigna <jug@sad.it>
11279 * a lot of files: changed the access to LyXText::status and the
11280 call of undo-functions.
11282 * undo.[Ch]: added a inset_id to the undo informations.
11284 * undo_funcs.[Ch]: added and moved here all undo functions.
11286 * lyxtext.h: give the status enum a weight, made status_ a private
11287 variable and made accessor functions for it, removed the whole bunch
11288 of undo-functions as they are now in their own file, make some
11289 functions publically available. Added function ownerParagraph with
11292 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11293 made InInset() a const function, added getParFromID() function.
11295 * buffer.[Ch]: added const version for inset_iterator functions,
11296 added getInsetFromID() function.
11298 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11299 changed undo functions for new version.
11301 2001-07-05 Juergen Vigna <jug@sad.it>
11303 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11304 unknow mechanism does not call the proper constructor but only this
11305 one also if I request the other!?
11307 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11309 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11311 * text2.C (LyXText): use initialization lists.
11313 * lyxtext.h (Selection): initialize set_ and mark_
11314 (init): remove method
11316 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11318 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11320 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11322 * screen.[Ch]: change method names to begin with lowercase
11324 * BufferView_pimpl.C (updateScrollbar): simplify further and
11325 hopefully make it a bit faster.
11327 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11329 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11330 calling directly xforms functions.
11332 * Painter.C (Painter):
11333 * lyx_cb.C (MenuWrite):
11334 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11337 * lyx_gui.C: remove bogus guiruntime extern declaration.
11339 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11341 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11343 (redoDrawingOfParagraph): ditto
11344 (redoParagraphs): ditto
11345 (cutSelection): don't create a object for CutAndPaste use the
11346 static method directly
11347 (pasteSelection): ditto
11349 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11352 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11354 * modifications to some other files because of this.
11356 * Makefile.am (lyx_SOURCES): add XFormsView
11358 * XFormsView.[Ch]: new files
11360 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11361 the main window. Move the gui dependent stuff to XFormsView
11363 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11365 * tabular.C (GetCellInset): update cur_cell also in the row/col
11366 version of this function.
11368 * lyxfunc.C: no need to include figure_form.h here.
11374 * lyxvc.C: no need to include forms.h here.
11376 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11378 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11380 * lyxfunc.C (Dispatch):
11382 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11383 constructor argument.
11385 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11387 * paragraph.C (Paragraph): dont't clear, and just set layout.
11388 (makeSameLayout): use params's copy contructor.
11390 * ParagraphParameters.[Ch] (makeSame): delete method
11392 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11394 * Variables.[Ch]: fix indentation, rename set to isSet
11396 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11398 * lyxfunc.C (Dispatch): fix typo
11400 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11402 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11405 * bufferlist.C: include assert.h for emergencyWrite().
11407 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11409 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11410 give up at last (bug #425202) !
11412 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11418 * spellchecker.C: strip spellchecker options and bring up
11419 preferences tab instead
11421 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11423 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11424 the istringstream constructor
11426 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11428 * paragraph.C (getLayout): fix return value
11430 * paragraph.h: do not declare getLayout as inline.
11432 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11434 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11436 * lyxcursor.h (operator<): new func
11437 (operator>): new func
11438 (operator>=): new func
11439 (operator<=): new func
11441 * text.C (changeCase): use selection.start and selection.end
11442 (changeRegionCase): require from to be <= to. Require par to be a
11445 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11447 2001-06-27 Juergen Vigna <jug@sad.it>
11449 * text.C (cursorLeftOneWord): changed to return the cursor and added
11450 overlay with BufferView * parameter which calls this one.
11452 (selectWord): use new getWord function.
11453 (changeCase): renamed from changeWordCase as and extended to work
11454 also on selections.
11456 * lyxtext.h: added enum word_location
11458 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11459 changeCase as this operates now also on selections.
11461 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11463 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11465 * many files: send debug output to Debug::INFO instead of
11468 * converter.C (View):
11470 (Move): send debug output to Debug::FILES instead of console.
11472 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11474 * lyxfunc.C (getStatus): use func_status
11476 * func_status.h: new header, describing the results of
11477 LyXFunc::getStatus;
11479 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11482 2001-06-25 The LyX Project <jug@sad.it>
11484 * buffer.C (sgmlOpenTag):
11486 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11488 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11490 * text2.C: remove some dead code
11492 * tabular.C (GetCellInset): store the last cell checked (gotten)
11494 * tabular.h: add the helper for the speedup
11496 * lyxtext.h: remove some dead code
11498 2001-06-26 The LyX Project <Asger>
11500 * paragraph.C: Change export to LaTeX of alignment to
11501 \begin{center} and family for better roundtrip work with reLyX.
11503 * Tune the math drawing a bit.
11505 2001-06-25 The LyX Project <Asger>
11507 * LColor.C (LColor): New color for math background. New color
11510 2001-06-25 The LyX Project <jug@sad.it>
11512 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11514 * lyxfunc.C (Open):
11515 * bufferlist.C (newFile): do not restrict to files ending with
11518 * BufferView_pimpl.C (MenuInsertLyXFile):
11520 2001-06-24 The LyX Project <jug@sad.it>
11522 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11525 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11527 * lyxtext.h: rename most methods to begin with a small char.
11528 Lots of changes because of this.
11530 * paragraph.C (Paragraph): do not call fitToSize
11531 (erase): call Pimpl::erase
11532 (insertChar): call Pimpl::insertChar
11533 (insertInset): call Pipl::insertInset
11534 (breakParagraph): do not call fitToSize
11535 (breakParagraphConservative): do not call fitToSize
11536 (fitToSize): remove method
11538 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11540 2001-06-24 The LyX Project <Asger>
11542 * Fix Qt compilation^2
11544 2001-06-24 The LyX Project <jug@sad.it>
11546 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11547 depthHook(getDepth()-1).
11550 * ParagraphParameters.h:
11551 * ParameterStruct.h: change type of depth to unsigned int ==
11552 depth_type. Many adaptations to other files before of that.
11554 2001-06-24 The LyX Project <Asger>
11556 * Fix Qt compilation.
11558 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11560 * paragraph.h: renamed several methods to begin with small letter.
11561 several changes to many parts of the code because of this.
11563 2001-06-23 The LyX Project <jug@sad.it>
11565 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11566 rewritten to discard all double spaces when KeepEmpty is off
11567 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11568 to only handle newlines but not fiddle with spaces and friends.
11570 * lyxfunc.C (MenuNew): when doing 'new from template', use
11571 template_path as default directory
11573 2001-06-23 The LyX Project <Asger>
11575 * Clean-up of header file includes all over
11576 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11578 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11580 * paragraph.h: renamed from lyxparagraph.h
11582 2001-06-23 Asger <lyx@violet.home.sad.it>
11584 * Buffer.h: Removed Buffer::resize
11585 * BufferList.h: Removed BufferList::resize
11586 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11587 the document lazily when we change the width, or the font settings.
11589 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11591 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11593 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11595 * buffer.h: remove out of date comment
11597 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11600 * screen.C: fix "theoretical" GC leak
11602 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11604 * LaTeX.C (scanAuxFile):
11605 (deplog): remove trailing \r when reading stream (useful under
11608 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11610 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11611 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11612 and BufferView::theLockingInset(Inset*), so should use them and not
11613 access bv_->text->the_locking_inset directly.
11615 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11617 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11620 * tex-defs.h: remove old unused file
11622 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11624 * BufferView_pimpl.C: fix typo, remove minibuffer message
11625 when buffer has loaded
11627 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11629 * lyxfunc.C (Dispatch): use stringstream
11630 (MenuNew): use stringstream
11631 (Open): use stringstream
11633 * importer.C (Import): use stringstream
11635 * bufferview_funcs.C (CurrentState): use stringstream
11637 * LaTeX.C (run): use stringstream
11639 * BufferView_pimpl.C (savePosition): use stringstream
11640 (restorePosition): use stringstream
11641 (MenuInsertLyXFile): use stringstream
11643 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11656 * vspace.C: removed // -*- C++ -*- as first line.
11659 * version.h: added // -*- C++ -*- as first line.
11661 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11663 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11665 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11668 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11670 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11673 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11675 * gettext.C: include LString.h even when --disable-nls is on.
11677 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11679 * converter.h (Get): changed argument type from int to
11680 FormatList::size_type to avoid unnecessary conversion.
11682 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11685 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11687 * gettext.h: include LString.h even when --disable-nls is on.
11689 2001-06-07 Juergen Vigna <jug@sad.it>
11691 * text.C (BreakAgain): subst spaces with tabs.
11693 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11694 (resizeInsetsLyXText): set force on resizeLyXText.
11696 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11698 * gettext.h (gettext_init):
11699 (locale_init): use a real definition instead of a macro
11701 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11703 * Bufferview_pimpl.C:
11705 * LColor.C: further lcolor tidies
11707 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11709 * BufferView_pimpl.C (updateScrollbar): simplify.
11711 * BufferView2.C: don't include insets/insetinfo.h, change
11712 prototype for insertInset and call the Pimpl version. let
11713 updateInset call Pimpl version.
11715 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11716 gotoInset to BufferView::Pimpl
11718 2001-06-01 Juergen Vigna <jug@sad.it>
11720 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11721 inside a LockingInset (is the update needed at all?).
11723 2001-05-31 Juergen Vigna <jug@sad.it>
11725 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11726 here not the old one otherwise how should we compare it afterwards
11729 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11734 * FontInfo.C: bring C functions into global namespace when
11737 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11739 * LString.h: make sure config.h has been loaded before LString.h.
11741 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11742 (one for each char read by EatLine!).
11744 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11747 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11749 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11750 to the same as the par we break from
11752 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11754 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11756 * MenuBackend.C (expand): also create menu entries for wide
11757 versions of the floats.
11759 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11761 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11763 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11764 frontends/Makefile.am
11770 * tabular.C (getTokenValue): add std::
11772 * tabular-old.C (getTokenValue): add std::
11773 (getTokenValue): ditto
11774 (getTokenValue): ditto
11776 * screen.C (ToggleSelection): adjust
11778 * lyxtext.h: put selection cursors inside a Selection struct.
11780 * lyxfunc.C (moveCursorUpdate): adjust
11782 * lyxfont.C (latexWriteStartChanges): add std::
11784 * lyxfind.C: adjust
11786 * font.h: delete with(char const *, LyXFont const &)
11788 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11790 * FontInfo.C (getFontname): add std::
11792 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11793 (workAreaButtonPress): adjust
11794 (tripleClick): adjust
11796 (moveCursorUpdate): adjust
11799 * BufferView2.C (gotoInset): adjust
11801 2001-05-30 Juergen Vigna <jug@sad.it>
11803 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11804 to check pspell I add this as default as I now have new pspell
11805 libraries and they seem to use this.
11807 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11809 * text2.C (CutSelection): make the cursor valid before the call to
11812 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11814 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11815 relied on 0 terminated strings and other horrors. Bug found due to
11816 the new assert in lyxstring!
11818 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11821 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11823 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11826 * lyxfunc.C (processKeySym): change method of getting to the
11829 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11830 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11831 * BufferView_pimpl.[Ch]: here as private methods.
11833 2001-05-28 Juergen Vigna <jug@sad.it>
11835 * text.C (SetHeightOfRow): added the update() call again as it is
11836 needed to initialize inset dimensions!
11838 2001-05-16 Juergen Vigna <jug@sad.it>
11840 * text2.C (SetCharFont): Add new function with BufferView * and
11841 bool toggleall parameters for setting insets internal fonts.
11842 (SetFont): Freeze the undo as we may change fonts in Insets and
11843 all this change should be inside only one Undo!
11845 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11846 setting font's in insets as for them we have the SetFont function!
11848 2001-05-15 Juergen Vigna <jug@sad.it>
11850 * text2.C (ClearSelection): to be sure we REALLY don't have any
11853 * tabular.C (TeXCellPreamble): fixed the left border problem for
11856 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11858 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11861 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11863 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11864 LFUN_BREAKPARAGRAPH.
11866 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11867 help test to "internal only", similar for LFUN_INSERT_URL
11869 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11870 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11871 auto_region_delete and deadkeys.
11873 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11876 * LColor.C: remove some dead entries, tidy a little
11878 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11880 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11882 (Dispatch): implement LFUN_ESCAPE
11884 * commandtags.h: add LFUN_ESCAPE
11886 * LyXAction.C (init): add entry for LFUN_ESCAPE
11888 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11889 Remove commented code.
11890 (insertNote): moved here
11891 (open_new_inset): moved here
11893 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11896 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11898 * kbmap.C (findbinding): clean it up and make it work correctly.
11900 * lyx_main.C (init): do not pass argc and argv as parameters
11902 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11904 * buffer.C: fix path for OS/2 & Win32
11908 * lyx_main.C: Added os:: class.
11910 * os2_defines.h: update
11912 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11914 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11915 better by trying again with reduced state.
11917 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11919 * lyxrc.C (read): print error about invalid key sequence only when
11920 debugging (because not all latinX keysyms are known to some X
11923 * kbsequence.C (getiso): add a few std:: qualifiers
11924 (getiso): comment out extra return statement.
11926 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11928 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11930 (Dispatch): enhance the accent inset a bit. (not perfect)
11932 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11934 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11936 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11938 * bufferlist.C (emergencyWrite): fix assert() call
11940 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11942 * text.C (InsertChar): Added trivial patch to only send the "you
11943 can not do multiple spaces this way" message once during a
11946 2001-05-08 Baruch Even <baruch@lyx.org>
11948 * Makefile.am: Changed order of libraries to get LyX to link properly
11949 with the gnome frontend.
11951 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11953 * LaTeXFeatures.h: add a std:: qualifier
11955 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11957 * paragraph.C (String): use stringstream
11959 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11961 * paragraph.C (writeFile): remove footflag arg
11963 * buffer.C (makeLaTeXFile): use stringstream
11964 (latexParagraphs): remove footnot gurba
11966 * LaTeXFeatures.C (getPackages): use stringstream
11967 (getMacros): likewise
11968 (getTClassPreamble): likewise
11969 (getFloatDefinitions): new method
11971 * paragraph.C (writeFile): reindent
11974 * WorkArea.h: revert the xpos + etc changes.
11976 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11978 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11980 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11981 (pasteSelection): likewise
11982 * text2.C (CreateUndo): likewise
11984 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11986 * minibuffer.C (peek_event): temporarily reduce the functionality
11987 of the minibuffer (to allow args on lfuns)
11989 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11990 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11992 * buffer.C (readInset): add compability reading of old float
11993 lists, add reading of new style float list.
11994 (readInset): avoid reevaluation of inscmd.getCmdName()
11995 (getLists): reindent
11997 * MenuBackend.C (MenuItem): implement parsing of
11998 md_floatlistinsert and md_floatinsert.
11999 (expand::LastFiles): move initalizaton of iterators out of loop,
12000 avoid reevaluation.
12001 (expand::Documents): introduce typdedef vector<string> Strings,
12003 (expand::ExportFormats): introduce typedef vector<Format const *>
12004 Formats, and use it.
12005 (expand): implement FloatListInsert and FloatInsert.
12007 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12008 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12009 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12011 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12013 (Dispatch::LFUN_FLOAT_LIST): implement
12015 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12017 * LaTeX.C (run): Fix problem with --export code.
12019 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12021 * BufferView.[Ch] (workarea): removed.
12022 (getClipboard) new method; wrapper for workarea()->getClipboard()
12024 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12027 * WorkArea.h (width, height, xpos, ypos): These methods all
12028 returned the dimensions of the work_area sub-area of WorkArea,
12029 resulting in a position error if the WorkArea were resized. Now
12030 return the dimensions of the entire WorkArea.
12032 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12034 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12036 * LaTeX.C (deplog): correct the syntax of regex reg1
12038 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12040 * undo.C: remove !NEW_INSETS cruft
12042 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12044 * text2.C: remove !NEW_INSETS cruft
12046 * text.C: remove !NEW_INSETS cruft
12048 * tabular.C: remove !NEW_INSETS cruft
12050 * spellchecker.C: remove !NEW_INSETS cruft
12052 * lyxtext.h: remove !NEW_INSETS cruft
12054 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12056 * lyxfunc.C: remove !NEW_INSETS cruft
12058 * lyxfind.C: remove !NEW_INSETS cruft
12060 * lyx_cb.C: remove !NEW_INSETS cruft
12062 * figureForm.C: remove !NEW_INSETS cruft
12064 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12066 * buffer.[Ch]: remove !NEW_INSETS cruft
12068 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12070 * CutAndPaste.C: remove !NEW_INSETS cruft
12072 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12074 * BufferView2.C: remove !NEW_INSETS cruft
12076 * BufferView.h: remove !NEW_INSETS cruft
12078 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12080 * Lsstream.h: include LString.h before the sstream headers to
12081 fix problem with gcc 2.95.3 and lyxstring
12083 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12085 * lyx_main.C: add using directives when needed for C functions
12086 declared in std:: namespace.
12088 2001-04-27 Juergen Vigna <jug@sad.it>
12090 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12091 (SetHeightOfRow): comment out the update call should not be needed!
12093 2001-04-13 Juergen Vigna <jug@sad.it>
12095 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12096 (LyXTabular): tried to minimize operator= operations (and realized
12097 hopfully Lars wish).
12099 2001-04-27 Juergen Vigna <jug@sad.it>
12101 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12103 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12105 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12107 * buffer.C (readInset): hack to make listof algorithm work
12109 * BufferView_pimpl.C: hack to make listof algorithm work
12111 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * LyXAction.C: removed all !NEW_INSETS cruft
12114 (init): moved lfun_item in method
12116 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12118 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12120 * BufferView2.C (theLockingInset): white space.
12122 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12124 * minibuffer.C: include <iostream>
12126 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12128 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12130 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12132 * text.[Ch] (TransposeChars): new method
12134 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12136 * call message directly through LyXView instead of through LyXFunc
12137 * BufferView2.C: adjust
12138 * BufferView_pimpl.C: adjust
12139 * FontLoader.C: adjust
12141 * bufferview_funcs.C: adjust
12142 * converter.C: adjust
12143 * figureForm.C: adjust
12144 * importer.C: adjust
12146 * lyx_gui_misc.C: adjust
12147 * lyxfunc.C: adjust
12150 + more files in subdirs
12152 * lyxparagraph.h (size): move up int file
12155 * adjust all uses of Assert to lyx::Assert.
12157 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12158 lyxfunctional in namespace lyx
12159 * layout.C (hasLayout): ditto
12162 (delete_layout): ditto
12163 (NumberOfClass): ditto
12164 * converter.C (GetFormat): ditto
12169 * bufferlist.C (getFileNames): ditto
12170 (emergencyWriteAll): ditto
12173 * MenuBackend.C (hasSubmenu): ditto
12176 * BufferView_pimpl.C (getInsetByCode): ditto
12178 2001-04-18 Juergen Vigna <jug@sad.it>
12180 * vspace.C (asLatexString): fixed the 100% problem.
12182 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12184 * lyxfunc.C (Dispatch):
12186 * minibuffer.h: add a few std:: qualifiers
12188 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12190 * minibuffer.[Ch]: reimplement so that commands is initiated and
12191 run from lyxfunc, simplified som handling, and made the completion
12192 and history code for complete. wip.
12194 * lyxfunc.C (processKeySym): call message
12195 (miniDispatch): new temporary method
12196 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12197 (LFUN_MESSAGE): implement
12198 (LFUN_MESSAGE_PUSH): implement
12199 (LFUN_MESSAGE_POP): implement
12200 (initMiniBuffer): the initial/defualt minibuffer message.
12202 * lyxfont.[Ch]: inline some more getters
12204 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12206 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12208 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12209 (AutoSave): use LFUN_MESSAGE
12210 (Reconfigure): ditto
12212 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12214 * figureForm.C: use LFUN_MESSAGE
12216 * converter.C (runLaTeX): use LFUN_MESSAGE
12218 * bufferview_funcs.C: use LFUN_MESSAGE
12220 (changeDepth): ditto
12222 * bufferparams.h: use boost::
12224 * bufferlist.h: inherit privately from noncopyable
12226 * bufferlist.C (loadLyXFile): remove some commented code.
12228 * buffer.C (runChktex): use LFUN_MESSAGE
12230 * ShareContainer.h: inherit privately from noncopyable
12232 * ParagraphParameters.[hC] (depth): inline it.
12234 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12236 (message): new method
12237 (messagePush): ditto
12238 (messagePop): ditto
12239 (show): init minibuffer
12240 (showState): direct call
12242 * LaTeX.[Ch]: inherit privately from noncopyable
12243 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12244 instead of WriteStatus.
12246 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12248 * BufferView_pimpl.C (buffer): don't init minibuffer
12249 (workAreaButtonPress): use LFUN_MESSAGE
12250 (workAreaButtonRelease): ditto
12251 (savePosition): ditto
12252 (restorePosition): ditto
12253 (MenuInsertLyXFile): ditto
12254 (workAreaExpose): don't init minibuffer
12255 (update): remove commented code, simplify
12257 * BufferView2.C (openStuff): use LFUN_MESSAGE
12258 (toggleFloat): ditto
12261 (copyEnvironment): ditto
12262 (pasteEnvironment): ditto
12267 (updateInset): remove some commented code
12269 * lastfiles.h: inherit privately from noncopyable
12272 * lyx_main.h: ditto
12274 * lyxlex_pimpl.h: ditto
12276 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12277 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12278 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12280 * LyXAction.h: inherit privately from noncopyable, add methods
12281 func_begin, func_end, returning iterators to the func map.
12283 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12284 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12285 (func_begin): new method
12286 (func_end): new method
12288 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12290 (copySelection): ditto
12291 (pasteSelection): ditto
12293 * BufferView.C: whitespace change
12294 * BufferView.h: inherit privately from noncopyable
12296 2001-04-16 Allan Rae <rae@lyx.org>
12298 * tabular-old.C (l_getline):
12299 * spellchecker.C (sc_check_word):
12300 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12301 an unrecognised preprocessor directive. So ensure they're wrapped.
12303 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12305 * src/exporter.C (Export): Give an error message when path to file
12308 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12310 * LaTeX.C (deplog): Always check that foundfile exists.
12312 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12315 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12317 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12319 * tabular.[Ch] (getLabelList): implement new method
12321 * minibuffer.h: comment ouf setTiimer
12323 * minibuffer.C (ExecutingCB): constify res
12324 (peek_event): constify s
12325 (Set): constify ntext
12326 (Init): constify nicename
12328 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12330 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12331 (savePosition): use two params to Minibuffer::Set
12332 (restorePosition): ditto
12334 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12336 * lyx_main.C: include language.h
12338 * Makefile.am (lyx_main.o): add language.h
12340 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12346 * CutAndPaste.C: include gettext.h
12348 * lyxfont.h: remove old hack with ON and OFF.
12351 * lyxfont.h: do not include language.h...
12356 * bufferview_funcs.C:
12362 * paragraph.C: ... but do it here instead
12364 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12366 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12368 * tabular.C: small reformat
12370 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12373 (BreakParagraph): ditto
12374 (SetOnlyLayout): ditto
12377 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12380 * lastfiles.C: removed most using decl, add std:: where needed
12382 * buffer.C: ws changes
12384 * MenuBackend.C (class compare_format): put into anon namespace
12385 (expand): constify label, names, action, action2
12388 * text.C (SingleWidth): constify font
12389 (IsBoundary): constify rtl2
12390 (GetVisibleRow): constify ww
12392 * LaTeX.C (deplog): constify logfile
12394 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12396 (workAreaExpose): constify widthChange, heightChange
12398 * lyxrow.C (par): moved
12401 * lyxrow.h: as inlines here
12403 * lyxfont.h (shape): moved from lyxfont.C
12404 (emph): moved from lyxfont.C
12406 * lyxfont.C (LyXFont): use initialization list for all
12408 (shape): move to lyxfont.h as inline
12409 (emph): move to lyxfont.h as inline
12412 2001-04-04 Juergen Vigna <jug@sad.it>
12414 * vspace.C: had to include stdio.h for use of sscanf
12416 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12419 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12420 independent of xforms.
12422 2001-04-02 Juergen Vigna <jug@sad.it>
12424 * spellchecker.C: fixed namespace placing!
12426 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12428 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12429 the LyXParagraph * is 0.
12431 2001-03-29 Juergen Vigna <jug@sad.it>
12433 * vspace.C: added support for %, c%, p%, l%.
12434 (stringFromUnit): added helper function.
12435 (asLatexString): changed to give right results for the %-values.
12437 * buffer.C: convert the widthp in a width%.
12439 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12441 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12444 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12445 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12447 * lyx_cb.[Ch]: see above.
12449 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12453 * lyx.[Ch]: replaced by figure_form.[Ch].
12457 * lyxfunc.C: changed headers associated with above changes.
12459 2001-03-27 Juergen Vigna <jug@sad.it>
12461 * BufferView_pimpl.C: set the temporary cursor right!
12463 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12465 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12467 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12469 * LString.h: removed "using std::getline"!
12471 * BufferView_pimpl.C (Dispatch): changes due to changes in
12472 InsetInclude::Params.
12474 * buffer.C (tag_name): removed redundant break statements as they were
12475 producing lots of warnings with my compiler.
12477 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12479 * LString.h: add "using std::getline" when using the real <string>.
12481 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12483 * buffer.C: removed bitset usage.
12484 PAR_TAG moved to an anonymous name space.
12485 (tag_name): new funtion, also in the anonymous namespace.
12486 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12487 (makeDocBookFile): clean code. Completed transition from string arrays
12489 (SimpleDocBookOnePar): code clean.
12491 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12493 * tabular.C: add some comments.
12495 2001-03-22 Juergen Vigna <jug@sad.it>
12497 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12498 compatibility read a bit and fixed bug with minipage in different
12501 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12503 * buffer.C (pop_tag): removed.
12504 (push_tag): removed.
12505 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12506 array replaced with vector. Added support for CDATA sections.
12507 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12509 (makeDocBookFile): XML conformant declaration of CDATA section,
12510 fixed bug related to <emphasis> in the first paragraph char.
12511 (sgmlOpenTag): exclude empty tags.
12512 (sgmlCloseTag): ditto.
12514 * buffer.h (pop_tag): removed.
12515 (push_tag): removed.
12517 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12519 * language.h (Languages): added size_type and size().
12521 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12523 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12524 response on compability reading of minipages. One probliem is that
12525 the old usage of minipages was «flertydig»
12527 * several files here and in subdirs: don't use static at file
12528 scope use anon namespaces instead.
12530 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12532 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12533 LaTeX output. This is necessary for Literate document
12536 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12538 * buffer.C: insert hfill when needed.
12540 * tabular.C (l_getline): use string::erase, small whitespace change.
12542 * BufferView_pimpl.C: try the anon namespace.
12543 * WorkArea.C: ditto
12545 2001-03-16 Juergen Vigna <jug@sad.it>
12547 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12548 otherwise it won't open options-dialogs.
12550 * buffer.C: honor pextraWidth(p) on converting minipages.
12552 * tabular.C (l_getline): changed the functions to strip trailing \r.
12554 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12556 * BufferView_pimpl.C:
12557 * minibuffer..C: added "using SigC::slot" declaration.
12559 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12561 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12567 * paragraph.C: ditto
12569 * lyxtext.h: NO_PEXTRA
12571 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12573 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12574 * ParameterStruct.h: ditto
12575 * ParagraphParameters.h: ditto
12576 * lyxparagraph.h: ditto
12578 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12580 * buffer.C: add compability for minipage alignment.
12581 (latexParagraphs): remove unwanted pextra check.
12583 * several files: remove CXX_WORKING_NAMESPACES
12585 * buffer.C (pop_tag): tie is in namespace boost
12587 * BufferView.h: noncopyable is in namespace boost
12589 * lyx_main.h: ditto
12592 * lastfiles.h: ditto
12593 * bufferlist.h: ditto
12594 * ShareContainer.h: ditto
12596 * LyXAction.h: ditto
12599 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12601 * Merging changes from BRANCH_MVC back into HEAD.
12603 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12605 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12607 * BufferView_pimpl.C: change from intl.C
12611 * Makefile.am: move combox.*
12617 * intl.C: remove dialog (covered by prefs)
12619 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12621 * lyxfunc.C (Dispatch): removed redundant break statement.
12623 2001-03-14 Juergen Vigna <jug@sad.it>
12625 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12627 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12629 * buffer.C: add hack to fix compability reading of minipages.
12631 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12633 * buffer.C (getLists): Cleanup.
12635 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12637 * lyxfont.C (update): don't honor toggleall on font size.
12639 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12643 * Makefile.am: moved to frontends/xforms/
12647 * BufferView_pimpl.C: changes for moved mathpanel
12649 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12651 * gettext.h: fix gettext_init() in --disable-nls
12653 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12655 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12657 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12660 * lyx.h: strip external form
12662 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12664 * BufferView_pimpl.C: add comment, destroySplash()
12666 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12668 * BufferView_pimpl.C:
12672 * lyxfunc.C: use re-worked insetinclude
12674 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12676 * buffer.C: add using std::stringstream.
12678 * lyx_cb.C: readd using std::ios.
12680 * buffer.C: add using std::map.
12682 * BufferView_pimpl.C: add using std::vector.
12684 * ShareContainer.h: add std:: to swap.
12686 * buffer.h: add some typedefs
12687 * buffer.C (getLists): use them
12688 (getLists): renamed from getTocList.
12689 add a counter for the different float types and use it in the
12691 (getLists): use the same counter for the NEW_INSETS and the "non"
12694 * lyx_cb.h: remove unused items, includes, using etc.
12696 * ShareContainer.h: remove some commented code, add more comments
12697 and "documentation".
12699 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12701 * buffer.C (getTocList): make the list also when NEW_INSETS is
12704 * buffer.h: remove TocType
12706 * buffer.C (getTocList): change to return a map<string,
12707 vector<TocItem> >, implement for dynamic number of list.
12709 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12710 * text2.C (PasteSelection): adjust
12711 * CutAndPaste.C (pasteSelection): adjust
12713 * FloatList.C (FloatList): update from the new_insets branch.
12714 * Floating.[Ch]: ditto
12715 * LaTeXFeatures.C: ditto
12717 * lyxlex_pimpl.C: ditto
12719 * paragraph.C (Last): remove when NEW_INSETS is defined.
12721 * other file: changes because of the above.
12723 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12725 * lyxparagraph.h: rename next to next_, previous to previous_,
12726 make them private for NEW_INSETS. Rename Next() to next(),
12727 Previous() to previous().
12729 * other files: changes because of the above.
12731 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12734 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12737 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12739 * main.C (main): pass lyx_localedir to gettext_init().
12741 * gettext.h: remove locale_init and gettext_init macros
12743 * gettext.C (locale_init): new function
12744 (gettext_init): new function
12746 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12749 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12751 * Moved credits to frontends:
12752 * credits.[Ch]: removed
12753 * credits_form.[Ch]: removed
12754 * lyx_gui_misc.C: remove credits stuff
12757 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12759 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12761 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12762 unneeded destructor.
12764 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12765 a standalone pointer again.
12767 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12769 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12775 * ToolbarDefaults.C:
12784 * BufferView_pimpl.C: use new file dialog in GUII
12787 * lyx_cb.C: remove LayoutsCB to Toolbar
12789 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12791 * ShareContainer.h (get): add std:: qualifier
12793 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12795 * ShareContainer.h: define a proper ShareContainer::value_type
12796 type (and use typename to please compaq cxx)
12798 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12800 * lyxparagraph.h: move serveral local vars to
12801 ParameterStruct/ParagraphParameters., use ShareContainer in
12802 FontTable., make vars in FontTable private and add getter and
12805 * paragraph.C: changes because of the above.
12807 * lyxfont.h: remove copy constructor and copy assignment. (the
12808 default ones is ok), move number inside FontBits. move inlines to
12811 * lyxfont.C: add number to initializaton of statics, move several
12812 inlines here. constify several local vars. some whitespace
12813 cleanup. Dont hide outerscope variables.
12815 * Spacing.h: add two new constructors to match the set methods.
12817 * ShareContainer.h: new file, will perhaps be moved to support
12819 * ParameterStruct.h: new file
12821 * ParagraphParameters.h: new file
12823 * ParagraphParameters.C: new file
12825 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12826 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12828 * BufferView_pimpl.C: ParagraphParameter changes.
12829 * buffer.C: Likewise.
12830 * bufferview_funcs.C: Likewise.
12831 * text.C: Likewise.
12832 * text2.C: Likewise.
12834 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12836 * lyxfind.C (LyXReplace): do not redefine default argument in
12838 (IsStringInText): ditto
12839 (SearchForward): ditto
12840 (SearchBackward): ditto
12842 2001-03-06 Juergen Vigna <jug@sad.it>
12844 * lyxfind.C (IsStringInText): put parentes around expressions.
12846 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12848 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12850 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12852 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12854 * stl_string_fwd.h: add comment
12856 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12859 * tabular.C: remove unused DocBook methods
12865 killed DO_USE_DEFAULT_LANGUAGE
12867 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12869 * lyx_gui.C: do not include language.h.
12871 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12872 arguments in function implementation.
12874 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12876 * BufferView_pimpl.C: add <ctime>
12878 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12880 * BufferView_pimpl.C: add using std::find_if
12882 2001-02-27 José Matos <jamatos@fep.up.pt>
12884 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12887 2001-02-11 José Matos <jamatos@fep.up.pt>
12889 * buffer.C (makeDocBookFile): command styles now have a parameter as
12890 "title" by default.
12892 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12894 * layout_forms.[Ch]: removed
12895 * lyx_cb.[Ch]: out character
12896 * lyx_gui.C: out character
12897 * lyx_gui_misc.C: out character
12898 * bufferview_funcs.C: : out character,
12899 added toggleall as parameter in ToggleAndShow
12901 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12903 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12905 * text2.C (SetCurrentFont): Disable number property at boundary.
12907 2001-02-26 Juergen Vigna <jug@sad.it>
12909 * lyxfunc.C (getStatus): added a string argument override function so
12910 that this is correctly called from LyXFunc::Dispatch if it contains a
12911 do_not_use_argument which is used!
12912 (Dispatch): added check for "custom" export and call appropriate func.
12914 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12916 * lyxrc.C: Add language_command_local, language_use_babel and
12917 language_global_options.
12919 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12921 * buffer.C (makeLaTeXFile): Use language_use_babel and
12922 language_global_options.
12924 2001-02-23 Juergen Vigna <jug@sad.it>
12926 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12927 which works with LyXText and putted it inside BufferView. Here now we
12928 only call for that part the BufferView::Dispatch() function.
12930 * BufferView.C (Dispatch): added.
12932 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12933 functions which needs to use a LyXText over from LyXFunc.
12934 (MenuInsertLyXFile): added
12935 (getInsetByCode): added
12936 (moveCursorUpdate): added
12937 (static TEXT): added
12939 2001-02-22 Juergen Vigna <jug@sad.it>
12941 * BufferView_pimpl.C (update): call a status update to see if LyXText
12944 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12946 * vc-backend.C (revert): implement for CVS
12947 (getLog): implement for CVS
12949 2001-02-20 Juergen Vigna <jug@sad.it>
12951 * text2.C (ClearSelection): added BufferView param for inset_owner call
12953 * lyxfunc.C (TEXT): added this function and use it instead of
12954 directly owner->view()-text of getLyXText().
12956 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12958 * src/layout_forms.C: out preamble
12959 * src/layout_forms.h: out preamble
12960 * src/lyx_cb.C: out preamble
12961 * src/lyx_cb.h: out preamble
12962 * src/lyx_gui.C: out preamble
12963 * src/lyx_gui_misc.C: out preamble
12964 * src/lyxfunc.C: connect with guii preamble
12966 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12968 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12970 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12972 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12973 whether to run bibtex.
12975 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12977 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12979 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12981 * Makefile.am (lyx_SOURCES): removed bibforms.h
12983 * vspace.h: doxygen
12985 * text.C (GetVisibleRow): make several local vars const
12987 * tabular.C: small cleanup.
12989 * lyxserver.C (callback): use compare instead of strncmp
12991 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12992 inlines to after class or to paragraph.C
12994 * lyxfont.h: remove friend operator!=
12996 * converter.h: move friend bool operator< to non friend and after
12999 * combox.h: small cleanup
13001 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13002 to inlines after class def.
13004 * buffer.C (pop_tag): use string operations instead of strcmp
13006 * bmtable.c: doxygen, small cleanup
13008 * LaTeX.h: remove friend operator==
13010 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13022 * BufferView_pimpl.C:
13023 * BufferView.[Ch]: remove cruft
13025 2001-02-14 Juergen Vigna <jug@sad.it>
13027 * lyxfunc.C: removed #if 0 unused code
13029 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13031 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13033 * text2.C (SetSelection): added a BufferView * parameter
13035 2001-02-13 Juergen Vigna <jug@sad.it>
13037 * lyxfunc.C (Dispatch): fixed protected blank problem.
13038 * BufferView2.C (protectedBlank): added LyxText * parameter.
13040 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13041 (AppendColumn): same as above for column_info.
13043 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13044 (moveCursorUpdate): use a LyXText param for support of InsetText.
13046 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13047 (tripleClick): ditto
13049 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13051 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13053 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13055 * text2.C (SetSelection): set correct update status if inset_owner
13056 (ToggleFree): ditto
13058 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13060 * tabular.C: remove some commented code.
13062 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13064 * BufferView_pimpl.C: call hideSplash()
13066 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13069 * bibforms.h: remove
13072 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13073 add LFUN_CHILD_CREATE
13075 * counters.h: fix tiny typo
13080 * lyx.C: move splash to frontends/xforms/
13082 * lyx_gui_misc.C: move Include and Bibform to frontends
13084 * lyxvc.h: clarify comment
13086 * vspace.C: tiny housekeeping
13088 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13090 * text.C (PrepareToPrint): RTL Fix.
13092 * paragraph.C (GetUChar): New method.
13093 (String): Use GetUChar.
13095 * buffer.C (asciiParagraph): Use GetUChar.
13097 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13099 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13101 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13104 * buffer.C: rename to getLogName(), handle
13105 build log / latex log nicely
13107 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13110 * MenuBackend.h: remove support for reference menuitem type.
13112 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13114 * BufferView_pimpl.C: housekeeping
13115 * BufferView_pimpl.h:
13120 * minibuffer.h: move Timeout GUI-I
13122 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13124 * lyxrc.C (read): Update converters data-structures.
13126 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13128 * LaTeX.h (operator!=): add operator != for Aux_Info
13130 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13132 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13134 * LaTeXLog.C: deleted, useful code moved to Buffer
13137 * buffer.C: new function getLatexLogName()
13143 * lyxfunc.C: use frontends for LaTeX and VC logs
13145 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13147 * LaTeX.h: yet another std:: that Allan forgot.
13149 * Variables.C (set): renamed from isset(), because this clashes
13150 with some HP-UX macros (grr).
13152 2001-02-06 Allan Rae <rae@lyx.org>
13154 * LaTeX.h: Another bug fix. Missing std:: this time.
13156 2001-02-04 Allan Rae <rae@lyx.org>
13158 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13159 floats problem. I've left it commented out because it's not quite
13160 correct. It should also test that the current object is a table or
13161 figure inset. But I haven't gotten around to figuring out how to do
13162 that. I *think* it'll be something like: "table" == inset.type()
13164 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13167 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13169 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13170 all the citation/databases/styles in the auxilary file.
13171 (run): Rerun latex if there was a babel language error.
13173 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13175 * text.C (Backspace): Preserve the font when changing newline char
13177 (BreakParagraph): If the cursor is before a space, delete the space.
13179 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13181 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13183 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13184 new argument (code).
13185 (ChangeCitationsIfUnique): New method.
13187 * paragraph.C (GetPositionOfInset): Handle bibkey.
13189 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13191 * BufferView_pimpl.h: change type of Position::par_pos to
13192 LyXParagraph::size_type.
13194 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13196 * BufferView_pimpl.C (savePosition, restorePosition): Write
13197 messages to minibuffer.
13199 2001-01-28 José Matos <jamatos@fep.up.pt>
13201 * buffer.C (makeDocBookFile): adds support for document language.
13202 A silly restriction on the name of LatexCommand types where removed.
13203 Added support for CDATA sections, allows to chars unescaped, used
13204 among others in code, to avoid escape < and >.
13206 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13208 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13209 saved positions instrad of a stack. Furthermore, a position is
13210 stored using paragraph id/paragraph position.
13212 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13213 Remove LFUN_REF_BACK.
13215 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13217 * converter.C (dvipdfm_options): New method.
13219 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13221 * vspace.C (isValidLength): Fix for empty input string.
13223 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13225 * LyXAction.C (init): change description of LFUN_FIGURE to
13228 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13230 * LaTeX.C: add using directive
13232 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13234 * MenuBackend.C (expand): Fix the sorting of the formats.
13236 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13238 * lyx_main.C: tiny error message fix
13240 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13242 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13243 calling fl_initialize(). This fixes the problem with ',' as
13244 decimal separator in text files.
13246 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13248 * trans.C (process): Fix the keymap bug.
13250 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13252 * LaTeX.C (scanAuxFiles): New method. Provides support for
13253 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13254 (scanLogFile) Scan for "run BibTeX" messages.
13256 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13257 OT1 font encoding. Also, load the aecompl package if the ae
13260 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13262 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13264 * texrow.C (increasePos): turn two error messages into debug
13267 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13269 * LaTeX.C (scanAux): Handle the \@input macro.
13270 (runBibTeX): Use scanAux().
13272 * language.C (latex_options_): New field.
13274 * LaTeXFeatures.C (getMacros): Add language macros.
13276 * buffer.C (makeLaTeXFile): Small fix.
13278 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13280 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13282 * text2.C: add a using directive.
13284 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13289 * lyxfunc.C: kill LyXBell.
13291 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13293 * text.C (IsBoundary): Remove the error message
13295 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13297 * lyxrc.C (setDefaults): Correct initialization value for
13300 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13302 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13305 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13306 and GotoNextNote().
13308 * src/LyXAction.C: Added reference-next.
13310 * text.C (InsertChar): Use contains instead of strchr.
13312 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13314 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13316 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13317 alignment commands (when needed).
13319 * text.C (InsertChar): Add ':' to number separator chars.