1 2003-10-30 José Matos <jamatos@lyx.org>
3 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5 factorise code for paragraph output.
7 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
10 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
13 * lyxfunc.C (dispatch):
14 * cursor.C (dispatch):
15 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
17 * dispatchresult.h: make the dispatch_result_t ctor explicit
19 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
22 * buffer.C: small refactoring of docbook stuff
24 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
26 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
29 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
31 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
32 operator dispatch_result_t, and operators for == != and >=
34 * cursor.C (dispatch): adjust for operator dispatch_result_t
35 removal. comment out call to update
37 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
39 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
47 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
50 * dispatchresult.h: new file, DispatchResult broken out of
53 * Makefile.am (lyx_SOURCES): add dispatchresult.h
55 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
57 * text.C (rowBreakPoint): put a hack inside #if 0
59 2003-10-28 André Pönitz <poenitz@gmx.net>
66 * text2.C: general cleanup (lots of small stuff)
68 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
70 * text2.C (cursorEnd): simple fix to the "end key goes to one
71 before the end on last row" bug
73 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
75 * text.C (backspace): fix the "zombie characters"
77 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
79 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
81 2003-10-27 André Pönitz <poenitz@gmx.net>
83 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
85 * factory.C: handle new InsetPagebreak, InsetLine
87 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
88 and move handling into new InsetPagebreak, InsetLine
92 * ParagraphParameters.C:
105 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
114 * text3.C: remove lastPos uses in favour of Row::endpos
116 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
118 * undo.C (performUndoOrRedo): fix two crashes by setting a
119 cursor by hand and reordering some calls. Use bv->lockInset instead
120 of inset->edit because the latter loses cursor information
122 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
124 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
126 (rowBreakPoint): fix width. change point to point + 1.
129 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
132 * lyxfunc.C: fix (at least partly) the problems
133 with the Nav menu and headers inside branch insets
136 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
138 * paragraph.C (getChar): add strong asserts
140 * lyxrow_funcs.C (lastPos): remove hideous hack
142 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
143 (fill): adjust to that (avoid an infinite loop)
145 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
147 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
149 2003-10-23 André Pönitz <poenitz@gmx.net>
151 * RowList_fwd.h: change list<> to vector<> to gain speed
152 after suggestion from Alfredo
154 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
156 * lyxtext.h: move the bidi stuff from here...
159 * Bidi.[Ch]: ... to here
161 2003-10-23 André Pönitz <poenitz@gmx.net>
164 * text.C (isLastRow, isFirstRow): new functions
166 * paragraph.h: new width cache member
168 * rowpainter.C: replace RowList::iterator with Row & where possible
170 * lyxfunc.C: replace several view()->text with a single call
172 * toc.C: fix 'unused' warning
174 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
176 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
177 when woring with stream::pos_type
178 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
180 2003-10-22 André Pönitz <poenitz@gmx.net>
183 * text.C: use Row & instead of RowList::iterator
185 * lyxrow.h: rename end() to endpos()
191 2003-10-22 Angus Leeming <leeming@lyx.org>
193 * buffer.[Ch] (fully_loaded): new member function, returning true
194 only when the file has been loaded fully.
195 Used to prevent the premature generation of previews and by the
196 citation inset to prevent computation of the natbib-style label.
198 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
199 templates are all set up.
201 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
203 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
205 * text.C: fixed an "oops" in the "is a bit silly"
208 2003-10-21 André Pönitz <poenitz@gmx.net>
210 * FuncStatus.[Ch]: small stuff, whitespace
212 * lyxfont.[Ch]: operator<<() for debug reasons
216 * lyxtext.h: whitespace, spelling
218 * paragraph.C: naming of variables
221 * text2.C: small stuff
224 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
226 * text.C: (1) finish off the inset display() work;
227 (2) fix the "is a bit silly" bug (accessing char
230 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
232 * text.C: re-introduce display() for insets, fixing the
233 various bugs (stretch of line above, math inset
236 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
238 * text.C (rightMargin): remove spurious semicolon
240 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
243 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
245 * text3.C: fix one crash due to wrong cursor def
247 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
249 * vc-backend.C (scanMaster): make the regex static
251 * LaTeX.C (scanAuxFile): make the regexs static
253 * text3.C (doInsertInset, dispatch, dispatch):
254 * text2.C (cursorUp, cursorDown):
255 * text.C (selectNextWordToSpellcheck):
256 * BufferView_pimpl.C (dispatch):
257 * lyxfunc.C (dispatch): localDispatch -> dispatch
259 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
261 * lyxsocket.C: include <cerrno>
263 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
265 * lyxfunc.C (dispatch): remove textcache stuff
267 * bufferlist.C (release): remove textcache stuff
270 * TextCache.C: delete file
271 * TextCache.h: delete file
273 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
275 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
276 delete of the bv_->text.
277 (resizeCurrentBuffer): remove texcache stuff
278 (workAreaResize): ditto
280 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
282 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
285 2003-10-16 André Pönitz <poenitz@gmx.net>
292 * text3.C: speed up by storing y positions per paragraph plus per-row
293 offset instead of having a 'full' y position in the row.
295 2003-10-15 André Pönitz <poenitz@gmx.net>
299 * undo.[Ch]: make undo aware of inner insets
301 2003-10-14 Angus Leeming <leeming@lyx.org>
303 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
304 static member functions LyX::ref() and LyX::cref.
305 (lastfiles): new accessor functions for the new lastfiles_ member var.
306 (addLyXView, views_): add a new LyXView to the list of views_.
307 (updateInset): loop over all LyXViews to call their own updateInset
308 member function, returning a pointer to the Buffer owning the inset.
310 * BufferView_pimpl.C (loadLyXFile):
311 * MenuBackend.C (expandLastfiles):
312 * bufferlist.C (MenuWrite, QuitLyX):
313 lastfiles is no longer a global variable.
314 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
316 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
317 static function. Access through LyX::cref().emergencyCleanup().
319 2003-10-14 André Pönitz <poenitz@gmx.net>
321 * iterators.[Ch]: new direct access to innermost LyXText and Inset
323 * undo.[Ch]: restoring part of 'undo in insets'
326 * undo_funcs.[Ch]: merge with undo.[Ch]
328 * tabular.C: small cleansing stuff
330 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
332 * paragraph_funcs.C (readParToken): report unknown insets as error
333 boxes. Use the outer paragraph as location (also for unknown
336 * factory.C (readInset): do not abort on reading an unknown inset.
339 2003-10-13 Angus Leeming <leeming@lyx.org>
341 * lyx_main.C (LyX): remove call to setDisplayTranslator().
343 * lyxrc.C: displayTranslator is now a function,
344 declared in GraphicsTypes.h.
346 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
348 * format.C: new placeholder $$a to pass the socket address.
350 * bufferlist.[Ch]: new function getBufferFromTmp.
352 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
353 files in the temporary dir.
355 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
357 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
359 * Makefile.am: add lyxsocket.[Ch].
361 * lyx_main.C (error_handler): handle SIGPIPE.
363 2003-10-13 André Pönitz <poenitz@gmx.net>
365 * BufferView_pimpl.C:
370 * undo_funcs.[Ch]: use paroffset_type instead of
371 ParagraphList::iterators to prevent multiple conversion
372 (and get a more robust interface)
374 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
376 * lyxfunc.C (dispatch): RESULT -> dispatch_result
378 * text3.C (dispatch): ditto
380 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
382 * LaTeX.C (handleFoundFile): move the static to smaller scope,
383 move the onlyfile, use onlyfile instead of foundfile in a couple
386 * DepTable.C (update): flush the error stream a bit more
388 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
390 * lyxserver.C (callback): adjust
392 * lyxfunc.C (getStatus): add a missing brace in commented code
393 (ensureBufferClean): reindent
394 (dispatch): delete version taking a string
396 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
398 * LaTeX.C (deplog): move found file handlig from here...
399 (handleFoundFile): .. to new function here.
400 (deplog): make sure to discover several files mentioned on the
403 2003-10-10 André Pönitz <poenitz@gmx.net>
410 * text3.C: fix some of the tabular crashes
412 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
414 * MenuBackend.C (binding): put debug message into Debug::KBMAP
416 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
418 2003-10-09 André Pönitz <poenitz@gmx.net>
420 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
423 * BufferView_pimpl.C:
424 * bufferview_funcs.C:
435 * undo_funcs.C: adjust
437 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
439 * text2.C (incrementItemDepth): new function, use a backtracking
440 algorithm to discover the correct item depth.
441 (resetEnumCounterIfNeeded): new function, use a backtracking
442 algorithm to discover if counter reset is needed.
443 (setCounter): use them. Simplify a bit. Add different labels for
444 different item depths for itemize.
446 * paragraph.C (Paragraph): remove initialization of enumdepth
449 * paragraph.h: get rid of enumdepth, and use itemdepth both for
450 enumerate and itemize. Change the type of itemdepth to signed char.
452 2003-10-08 André Pönitz <poenitz@gmx.net>
454 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
459 * tabular.[Ch]: fix crash after 'row-insert'
461 2003-10-08 Angus Leeming <leeming@lyx.org>
463 Fix doxygen warnings.
465 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
466 Remove CutAndPaste:: prefix from header file declaration.
468 * LColor.h (fill): remove LColor:: prefix from declaration.
470 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
471 use lyx::depth_type rather than Paragraph::depth_type so that
472 header file and .C file match.
474 * converter.h (intToFormat): remove Converters:: prefix from declaration.
476 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
477 * aspell.C: \file aspell_local.C -> \file aspell.C
478 * gettext.C: \file gettext.C -> \file src/gettext.C
479 * gettext.h: \file gettext.h -> \file src/gettext.h
480 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
481 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
482 * text.C: \file text.C -> \file src/text.C
484 * toc.C: move comment so that doxygen is not confused.
486 2003-10-07 Angus Leeming <leeming@lyx.org>
488 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
490 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
493 * aspell_local.h: add forgotten std::string's.
495 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
502 * text3.C: The Box patch. Fancybox support, minipage, parbox
504 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
510 * ParagraphParameters.h:
520 * lyxtextclasslist.h:
524 * textcursor.h: add <string> and other small fixes to make Lars'
525 std::string patch compile with STLport.
527 2003-10-06 Angus Leeming <leeming@lyx.org>
529 * LColor.h: Add missing #include <string>.
531 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
533 * All most all file in all subdirs: Make <string> be the prefered
534 way of getting to std::string, add using declarations.
536 2003-10-06 André Pönitz <poenitz@gmx.net>
538 * metricsinfo.C: initialize LyXFont before changing attribute.
539 (fixes the 'math in \emph is upright' bug)
541 2003-10-06 André Pönitz <poenitz@gmx.net>
543 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
545 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
548 * paragraph_pimpl.C: Small fixes to build using STLport
550 2003-10-02 André Pönitz <poenitz@gmx.net>
553 * text3.C: move handling of LFUN_DEPTH *; fix #1360
555 2003-10-01 André Pönitz <poenitz@gmx.net>
557 * factory.C: assert early
559 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
561 * lyx_main.C: remove the global debug object
563 * debug.h: adjust for new debugstream
565 * debug.C: adjust for new debugstream and keep the global debug
568 2003-09-22 Angus Leeming <leeming@lyx.org>
570 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
571 of g++ which otherwise complain that the scoped_ptr destructor can't delete
572 an incomplete class LyXFont.
574 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
576 * factory.C: bug fix in branches
578 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
580 * lyxfunc.C (processKeySym): adjust
582 (dispatch): change arg name from ev to func, adjust
583 (sendDispatchMessage): ditto
585 * lyx_main.C (defaultKeyBindings): adjust keybindings
586 (deadKeyBindings): ditto
588 * kbsequence.C (addkey): return a FuncRequest
590 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
592 * kbmap.C (bind): take a FuncRequest as arg, adjust
595 (defkey): change to take a FuncRequest as arg, adjust
596 (findbinding): take a FuncRequest as arg, adjust.
598 * funcrequest.h (operator=): added
600 * funcrequest.C (FuncRequest): default kb_action changed from
601 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
603 * buffer.C (dispatch): simplify
604 (dispatch): adjust to take a FuncRequest as arg, adjust
606 * boost.C (assertion_failed): change assertion message slightly
608 * ToolbarBackend.C (read): simplify
610 * MenuBackend.C (binding): adjust call to findbinding, add a
611 message if no binding is found.
613 (expandToc): correct by adding a empty FuncRequest
615 * LyXAction.C: include <boost/assert.hpp>
616 (isPseudoAction): delete function
617 (LookupFunc): change name to...
618 (lookupFunc): this. change return type to FuncRequest.
619 (getActionName): take kb_action as arg, simplify
620 (funcHasFlag): add an assert, simplify.
622 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
624 * toc.C (action): return a FuncRequest, simplify
626 * lyxfunc.C (processKeySym): adjust
627 (getStatus): delete version that takes an int.
629 (dispatch): delete version that takes action as int
631 (sendDispatchMessage): simplify and adjust
633 * funcrequest.C (getArg): take unsigned int as arg
635 * ToolbarBackend.C (read): adjust
636 (add): delete version that takes func as a string.
637 (getIton): take a FuncRequest as arg
639 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
642 * MenuBackend.C (MenuItem): add a new construct that only takes a
643 Kind, simplify the constructor use for submenus.
645 (expandLastfiles): adjust
646 (expandDocuments): adjust
647 (expandFormats): adjust
648 (expandFloatListInsert): adjust
649 (expandFloatInsert): adjust
650 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
652 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
653 Remove class variables lyx_pseudo_map and lyx_arg_map
655 * LyXAction.C (searchActionArg): delete function
656 (getPseudoAction): delete function
657 (retrieveActionArg): delete function
658 (LookupFunc): make it return kb_action, simplify.
659 (getActionName): simplify
661 * factory.C (createInset): fix new bug
663 2003-09-19 Angus Leeming <leeming@lyx.org>
665 * CutAndPaste.C (pasteSelection): remove fudge used to set the
666 masterFilename_ parameter in the include inset.
668 * factory.C (createInset): changes due to the changes to InsetInclude.
670 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
672 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
674 2003-09-18 Angus Leeming <leeming@lyx.org>
677 * BufferView.C: pass the buffer when calling Inset::getLabelList,
678 Inset::fillWithBibKeys.
679 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
681 2003-09-18 Angus Leeming <leeming@lyx.org>
683 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
685 (ctor): pass and store a 'Buffer const &'
686 (buffer): new member function.
688 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
689 '*this' to the LaTeXFeatures ctor.
691 2003-09-18 Angus Leeming <leeming@lyx.org>
697 * text.C: rename EnumLColor as LColor_color.
699 2003-09-18 Angus Leeming <leeming@lyx.org>
701 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
702 remove #include "insets/insetbase.h" from cursor.h.
704 2003-09-18 Angus Leeming <leeming@lyx.org>
706 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
707 InsetOld_code to remove #include "inset.h".
709 * iterators.C: add #include "insets/inset.h"
711 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
713 * BufferView.C: remove more locking stuff that apparently doesn't
714 do anything sensible.
716 2003-09-16 André Pönitz <poenitz@gmx.net>
719 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
722 2003-09-16 Angus Leeming <leeming@lyx.org>
724 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
726 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
729 * paragraph.h: remove #include "lyxfont.h". Forward declare
732 2003-09-16 Angus Leeming <leeming@lyx.org>
734 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
735 of support/textutils.h.
736 (isWord): move the contents of support/textutils.h's IsWordChar here.
742 * text2.C: add #include "paragraph.h".
745 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
747 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
753 * LaTeX.C: use namespace alias for lyx::support::os
755 2003-09-16 Angus Leeming <leeming@lyx.org>
758 * bufferview_funcs.C:
763 * text.C: add #include "LColor.h".
765 2003-09-16 Angus Leeming <leeming@lyx.org>
767 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
768 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
770 Store the FontBits::color variable as an int rather than as an
771 LColor::colorso that we can move LColor.h out of the lyxfont.h header
774 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
775 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
776 string calls together.
778 * lyxrc.C: add #include "LColor.h".
780 2003-09-15 Angus Leeming <leeming@lyx.org>
782 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
785 2003-09-15 Angus Leeming <leeming@lyx.org>
787 * LColor.h: add an EnumLColor wrapper for LColor::color.
789 * lyxfont.[Ch] (color, setColor, realColor):
790 * lyxtext.h, text.C (backgroundColor):
791 pass EnumLColor args to/from the functions, rather than LColor::color
795 * lyxtext.h: forward declare EnumLColor.
797 * lyx_main.C: add #include "LColor.h".
799 2003-09-15 Angus Leeming <leeming@lyx.org>
801 * .cvsignore: add lyx-gtk.
803 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
808 * ParagraphParameters.C
822 * vc-backend.C: remove usage of STRCONV
824 2003-09-15 Angus Leeming <leeming@lyx.org>
826 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
827 explicitly define the color passed to the painter.
829 2003-09-15 Angus Leeming <leeming@lyx.org>
831 * bufferparams.C (BufferParams): reorder member initializers to avoid
834 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
836 * CutAndPaste.C (pasteSelection): remove an outdated #warning
837 * text.C (updateRowPositions): remove an unusual nop
839 2003-09-12 André Pönitz <poenitz@gmx.net>
841 * BufferView_pimpl.C:
850 * Counters.[Ch]: finish the 'automatic counters' job
852 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
854 * aspell.C: include <boost/assert.cpp> (compile fix)
856 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
858 * boost.C (assertion_failed): use lyx::support::abort instead of
861 2003-09-10 Angus Leeming <leeming@lyx.org>
863 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
864 with their _fwd progeny.
866 2003-09-09 Angus Leeming <leeming@lyx.org>
868 134 files throughtout the source tree: replace 'using namespace abc;'
869 directives with the appropriate 'using abc::xyz;' declarations.
871 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
873 * boost.C (emergencyCleanup): moved here from LAssert.c
874 (assertion_failed): new function, called by BOOST_ASSERT
876 * several files: change Assert to BOOST_ASSERT
878 2003-09-09 Angus Leeming <leeming@lyx.org>
880 * buffer.[Ch]: Add an Impl class and move Buffer's member
881 variables into it. As a result move several header files out of
884 Add header files to lots of .C files all over the tree as a result.
886 2003-09-09 Angus Leeming <leeming@lyx.org>
888 * buffer.[Ch]: make Buffer's member variables private. Add
891 Lots of changes all over the tree as a result.
893 2003-09-08 Angus Leeming <leeming@lyx.org>
895 * graph.C: #include <config.h>.
897 2003-09-08 Angus Leeming <leeming@lyx.org>
901 * BufferView_pimpl.C:
930 * toc.C: remove redundant using directives.
932 2003-09-07 Angus Leeming <leeming@lyx.org>
934 * LaTeXFeatures.h: remove #include "support/types.h".
935 * ToolbarBackend.h: remove #include <algorithm>.
936 * changes.h: remove #include <ctime>.
937 * debug.h: remove #include <iosfwd>.
938 * graph.h: remove #include "support/std_string.h".
939 * lyx_main.h: remove #include <csignal>.
940 * lyxlex_pimpl.h: remove #include <fstream>.
941 * sgml.h: remove #include <algorithm>, <utility>.
942 * toc.h: remove #include "support/std_ostream.h".
943 Add #include <iosfwd>.
945 2003-09-07 Angus Leeming <leeming@lyx.org>
947 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
949 * converter.h: forward declare LatexRunParams.
950 * encoding.h: remove #include "lyxrc.h".
951 * lyxtext.h: remove #include "LColor.h".
952 * lyxtextclass.h: remove #include "support/types.h".
953 * trans.h: remove #include "tex-accent.h".
954 * trans_mgr.h: remove #include "tex-accent.h".
955 * insets/inset.h: remove #include "support/types.h", <vector>.
956 * insets/insetcollapsable.h: remove #include "LColor.h".
957 * insets/insetinclude.h: remove #include "dimension.h".
958 * insets/insetlatexaccent.h: remove #include "dimension.h".
959 * insets/insetoptarg.h:: remove #include "insettext.h".
960 * insets/insettext.h: remove #include "dimension.h",
961 <boost/shared_ptr.hpp>
963 * insets/renderers.h: add #include "dimension.h".
964 * insets/updatableinset.h: add #include "support/types.h".
966 * many .C files: Associated changes.
968 2003-09-06 Angus Leeming <leeming@lyx.org>
970 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
971 one, inside testInvariant.
973 * PrinterParams.C: new file.
974 * PrinterParams.[Ch]: move the function bodies out of line.
976 2003-09-06 Angus Leeming <leeming@lyx.org>
978 * ParagraphParameters.h: forward declare ParameterStruct rather than
979 including its header file.
980 (depth): moved out-of-line.
982 2003-09-06 Angus Leeming <leeming@lyx.org>
984 * BufferView_pimpl.h:
987 * lyxfunc.h: forward declare LyXKeySym rather than
988 #include "frontends/LyXKeySym.h".
990 * BufferView_pimpl.C:
993 * lyxfunc.C: associated changes.
995 2003-09-06 Angus Leeming <leeming@lyx.org>
997 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
998 As a result, can remove the #include "insets/inset.h" from BufferView.h
1000 2003-09-06 Angus Leeming <leeming@lyx.org>
1002 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1003 As a result, can remove the #include "insets/inset.h" from BufferView.h
1005 2003-09-06 Angus Leeming <leeming@lyx.org>
1011 * bufferview_funcs.C:
1012 * BufferView_pimpl.C:
1017 * ParagraphParameters.C:
1022 * frontends/controllers/ControlDocument.C:
1023 * insets/insetcaption.C: rearrange the #includes into some sort of
1026 * buffer.h: remove #includes ErrorList.h, undo.h
1028 2003-09-06 Angus Leeming <leeming@lyx.org>
1030 * support/types.h: add a 'depth_type' typedef, used to store the
1031 nesting depth of a paragraph.
1034 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1035 defining explicitly.
1038 * paragraph_funcs.h:
1039 * ParagraphParameters.h:
1040 * sgml.h: use lyx::depth_type rather than Paragraph or
1041 ParameterStruct's depth_type.
1044 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1047 * BufferView_pimpl.C:
1049 * ParagraphParameters.C:
1052 * bufferview_funcs.C:
1059 * frontends/LyXView.C:
1060 * frontends/controllers/ControlDocument.C:
1061 * frontends/controllers/ControlErrorList.C:
1062 * insets/insetbibitem.C:
1063 * insets/insetbranch.C:
1064 * insets/insetcaption.C:
1065 * insets/insetcollapsable.C:
1066 * insets/insetenv.C:
1067 * insets/insetert.C:
1068 * insets/insetfloat.C:
1069 * insets/insetfoot.C:
1070 * insets/insetfootlike.C:
1071 * insets/insetnewline.C:
1072 * insets/insetquotes.C:
1073 * insets/insettabular.C:
1074 * insets/insettext.C:
1075 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1077 * frontends/controllers/ControlChanges.C: #include "changes.h".
1079 2003-09-06 Angus Leeming <leeming@lyx.org>
1081 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1082 than #including paragraph.h.
1085 * RowList.h: deleted. Superfluous.
1095 * insets/insettext.h: use ParagraphList_fwd.h rather than
1098 * paragraph.h: don't forward declare ParagraphList.
1101 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1102 rather than ParagraphList.h. paragraph.h is still needed for the
1103 Paragraph::depth_type parameters.
1105 * textcursor.h: enable it to compile stand-alone in light of the
1108 * bufferview_funcs.C:
1120 * frontends/controllers/ControlParagraph.C:
1121 * frontends/controllers/ControlTabular.C:
1122 * insets/insetmarginal.C:
1123 * insets/insetminipage.C:
1124 * insets/insetnote.C:
1125 * insets/insetoptarg.C: add header files needed to compile again.
1127 2003-09-06 Angus Leeming <leeming@lyx.org>
1129 * RowList_fwd.h: new file, forward-declaring Row rather than
1130 #including lyxrow.h.
1135 * insets/insettext.h: use it instead of RowList.h
1137 * bufferview_funcs.C:
1144 * text3.C: #include "RowList.h".
1146 2003-09-05 Angus Leeming <leeming@lyx.org>
1148 * factory.C (createInset):
1149 * vspace.C (c-tor): replace sscanf call with an istringstream.
1150 * ispell.C: re-add missing HP/UX headers.
1151 * lyxserver.C: re-add missing os2 headers.
1153 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1162 * text3.C: re-add missing system headers, needed for 2.95.2.
1164 2003-09-05 Angus Leeming <leeming@lyx.org>
1166 Changes most place everywhere due to the removal of using directives
1167 from support/std_sstream.h.
1169 2003-09-05 Angus Leeming <leeming@lyx.org>
1171 Replace LString.h with support/std_string.h,
1172 Lsstream.h with support/std_sstream.h,
1173 support/LIstream.h with support/std_istream.h,
1174 support/LOstream.h with support/std_ostream.h.
1176 Changes resulting throughout the tree.
1178 2003-09-05 Angus Leeming <leeming@lyx.org>
1180 * sgml.h: ensure that the header file can be compiled stand-alone.
1181 * *.C: strip out redundant #includes. (320 in total.)
1183 2003-09-04 Angus Leeming <leeming@lyx.org>
1185 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1186 here (from getPackages).
1188 * debug.[Ch]: add a new EXTERNAL tag.
1190 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1192 * text2.C (cursorEnd): simplify
1194 (getColumnNearX): adjust
1196 * text.C (computeBidiTables): adjust
1199 * rowpainter.C (paintChars): adjust
1200 (paintSelection): adjust
1201 (paintChangeBar): adjust
1204 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1206 (numberOfSeparators): adjust
1208 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1214 * text3.C: Restricts the mouse click functionality
1215 of insets like bibtex, include, toc and floatlist to the visible
1216 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1217 up the dialogs. Cursor has to be in front of the inset (i.e.
1218 start of row) for this to function.
1220 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1222 * bufferview_funcs.C (currentState): output row information
1224 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1226 * bufferview_funcs.C (currentState): output paragraph position
1228 2003-09-04 Angus Leeming <leeming@lyx.org>
1230 * FloatList.h: move out #include "Floating.h".
1231 * LaTeX.h: move out #include "DepTable.h".
1232 * LyXAction.h: move out #include "funcrequest.h".
1233 * buffer.h: move out #include "author.h", "iterators.h".
1234 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1235 * lyx_main.h: move out #include "errorlist.h".
1236 * lyxfunc.h: move out #include "FuncStatus.h".
1237 * lyxtext: move out #include "lyxcursor.h".
1238 * paragraph_pimpl.h: move out #include "counters.h".
1240 2003-09-03 Angus Leeming <leeming@lyx.org>
1242 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1243 preamble_snippets list, enabling us to add snippets to the preamble
1244 only if the snippet was not there already.
1246 2003-09-04 Angus Leeming <leeming@lyx.org>
1248 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1250 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1252 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1255 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1257 * BranchList.C: point fix, earlier forgotten
1259 2003-09-02 Angus Leeming <leeming@lyx.org>
1261 * box.C (contains): renamed from 'contained' after a fantastic
1264 2003-09-02 John Levon <levon@movementarian.org>
1270 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1272 2003-09-02 John Levon <levon@movementarian.org>
1274 * text2.C: simplification of cursorEnd(), including partial
1277 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1279 * buffer.C (readFile): add a space
1281 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1283 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1285 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1287 * buffer.C (readFile): new function, take a filename and a
1288 ParagraphList::iterator
1290 (readFile): adjust, make it private. don't use setStream, make
1291 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1292 always contain the filename.
1294 * BufferView.C (insertLyXFile): simplify and make it work for
1297 2003-08-30 John Levon <levon@movementarian.org>
1299 * Makefile.am: fix dist (from Kayvan)
1301 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1303 * most files: change to use const Buffer refs
1305 2003-08-27 André Pönitz <poenitz@gmx.net>
1307 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1308 on top of ownerPar().
1310 2003-08-27 John Levon <levon@movementarian.org>
1312 * funcrequest.C: properly initialise POD members
1314 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1316 * lyxtext.h (top_y): move top_y from here
1321 * BufferView_pimpl.[Ch]: to here
1322 * frontends/screen.C:
1323 * insets/insettabular.C:
1324 * insets/insettext.C: adjust
1325 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1327 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1330 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1332 2003-08-26 André Pönitz <poenitz@gmx.net>
1334 * paragraph_func.[Ch] (outerPar): new function
1337 * paragraph_funcs.C:
1338 * paragraph_funcs.h:
1339 * paragraph_pimpl.C:
1340 * text2.C: remove Inset::par_owner
1342 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1347 * text2.C: eliminates the needFullRow/display() stuff
1348 altogether, putting the logic in metrics/draw in the insets.
1350 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1352 * text2.C (redoParagraphInternal, redoParagraphs):
1353 * text.C (redoParagraph): add a call to updateRowPositions at the
1354 end of each 'metrics-like' call. Remove all others.
1355 (getRow): remove the 'y-computing' version.
1356 (getRowNearY): do not compute nor return the real y. Solve the
1357 'y < 0' problem and simplify.
1359 2003-08-22 Angus Leeming <leeming@lyx.org>
1361 * *.[Ch]: clean-up of licence and author blurbs.
1362 Also move config.h out of a few .h files and into a few .C files.
1364 2003-08-22 André Pönitz <poenitz@gmx.net>
1366 * lyxrow.[Ch]: add x_ and *fill_ members
1371 * text2.C: adjust/remove prepareToPrint() calls
1373 2003-08-22 André Pönitz <poenitz@gmx.net>
1375 * lyxrow.[Ch]: add end_ member
1377 * lyxrow_funcs.C: use LyXRow::end_
1379 * lyxtext.h (singleWidth): add LyXFont parameter
1382 * text2.C: adjust LyXText::singleWidth() calls
1384 * text.C (redoParagraph): simplify row breaking logic
1387 2003-08-19 André Pönitz <poenitz@gmx.net>
1389 * funcrequest.C: initialize button_ member
1392 * rowpainter.[Ch]: interface consolidation
1394 2003-08-18 André Pönitz <poenitz@gmx.net>
1397 * BufferView_pimpl.C:
1399 * paragraph_funcs.C:
1401 * text3.C: remove LyXScreen::draw() and fitCursor calls
1403 * BranchList.h: remove spurious semicolons
1405 * MenuBackend.C: fix branchlist related crash
1407 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1415 * bufferparams.[Ch]:
1419 * text3.C: implements the 'branch inset'
1420 idea. This allows the output of various versions of a document
1421 from a single source version, selectively outputing or suppressing
1422 output of parts of the text.
1423 This implementation contains a 'branch list editor' in a separate
1424 tab of the document settings dialog. Branches are user definable
1425 and have a "display colour" to distinguish them on-screen.
1427 ColorHandler was somewhat cleaned up.
1428 (1) make possible a dynamically growing LColor list by allowing
1429 the graphic context cache to grow along (vector);
1430 (2) eliminate an IMHO unnecessary step in colour allocation.
1432 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1434 * BufferView_pimpl.C: compile fix
1436 2003-08-15 André Pönitz <poenitz@gmx.net>
1438 * rowpainter.C: remove extra metrics calls
1440 * lyxtext.h: merge the two constructors into a single one,
1441 pass reference to owner's par list
1443 * BufferView_pimpl.C:
1447 2003-08-15 André Pönitz <poenitz@gmx.net>
1449 * lyxrow_funcs.[Ch]:
1452 * paragraph_funcs.C:
1457 * text_funcs.C: split LyXText::rowlist_ into individual
1458 Paragraph::rows_ chunks
1461 * BufferView_pimpl.[Ch]:
1464 * text3.C: remove toggleSelection()
1466 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1468 * bufferlist.C: beautify two alerts (shorter text of buttons)
1469 * buffer.C: Remove redundant ' ' from message
1471 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1472 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1473 rename VALIGN_CENTER to VALIGN_MIDDLE
1475 2003-08-11 André Pönitz <poenitz@gmx.net>
1477 * lyxtext.h (getPar):
1478 * text.C: new function
1480 2003-08-11 André Pönitz <poenitz@gmx.net>
1483 * tracer.[Ch]: remove unneeded files
1485 * InsetList.[Ch]: remove resizeInsetsLyXText()
1490 * text3.C: merge insertParagraphs() and appendParagraph()
1491 remove breakAgain(), update()
1493 * BufferView_pimpl.[Ch]:
1494 * bufferview_funcs.[Ch]:
1498 * tabular.C: adjust after text & InsetList changes.
1500 2003-08-08 André Pönitz <poenitz@gmx.net>
1502 * text.C (insertChar, backspace): replace rowlist fiddling
1503 with rebreak of full par
1506 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1507 checkParagraph, updateInset): removed
1509 2003-08-07 André Pönitz <poenitz@gmx.net>
1512 * text3.C: merge some LFUN handlers, remove dead code
1514 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1516 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1518 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1520 * text2.C (DEPM): fix part of bug 1255 and 1256
1522 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1524 * BufferView_pimpl.C (workAreaDispatch): change to use
1525 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1526 that are no mouse related.
1528 2003-08-05 André Pönitz <poenitz@gmx.net>
1531 * BufferView_pimpl.[Ch]:
1532 * bufferview_funcs.C:
1534 * text3.C: rip out "deep update"
1536 * textcursor.[Ch] (last_sel_cursor): remove unused member
1538 2003-08-04 André Pönitz <poenitz@gmx.net>
1541 * BufferView_pimpl.[Ch]:
1542 * ParagraphParameters.C:
1543 * bufferview_funcs.C:
1549 * text3.C: replace "complicated" BufferView::update(...) calls with
1552 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1554 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1556 * Makefile.am (lyx_SOURCES): add paper.h
1558 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1560 * Makefile.am: move things around so that both lyx-qt and
1561 lyx-xforms can be built (according to --with-frontend). Then lyx
1562 is a symbolic link to lyx-[firstfrontend]
1564 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1566 * Always use std::endl with lyxerr
1568 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1570 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1572 2003-08-01 André Pönitz <poenitz@gmx.net>
1575 * BufferView_pimpl.[Ch]:
1577 * text3.C: merge BufferView::repaint() and BufferView::update()
1579 2003-08-01 José Matos <jamatos@lyx.org>
1581 * buffer.[Ch]: file_format is no longer a buffer data element.
1583 2003-08-01 André Pönitz <poenitz@gmx.net>
1588 * text2.C: make redoParagraph more independent of current cursor
1590 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1592 * text2.C: remove unneeded members
1594 2003-07-30 André Pönitz <poenitz@gmx.net>
1596 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1598 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1599 create a single function...
1601 * paragraph_funcs.C (moveItem): ... here.
1604 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1606 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1608 * LColor.[Ch]: Add comment and greyedout logical colors.
1610 2003-07-30 André Pönitz <poenitz@gmx.net>
1612 * tabular.C: don't use Assert too heavily. This crashes where it
1615 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1617 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1618 is disabled (bug 1232)
1620 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1622 * factory.C: limited 'arg' scope
1624 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1626 * factory.C: fixed Note submenu issues
1628 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1630 * factory.C: submenu for Note/Comment/Greyedout
1632 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1635 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1637 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1640 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1641 greyedout. Patch provided by Jürgen Spitzmüller.
1643 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1645 * kbmap.C (read): fix error message when reading bind files
1647 2003-07-29 Angus Leeming <leeming@lyx.org>
1649 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1650 certainly does not do what it purports to do. I am doing it, and
1651 us, a favour by killing it.
1653 2003-07-28 José Matos <jamatos@lyx.org>
1655 * buffer.C (readBody, do_writeFile):
1656 * paragraph.C(readParagraph): \end_document replaces \the_end.
1658 2003-07-29 André Pönitz <poenitz@gmx.net>
1661 * BufferView_pimpl.[Ch]:
1665 * textcursor.[Ch]: remove toggleToggle & Co
1667 2003-07-28 José Matos <jamatos@fep.up.pt>
1669 * buffer.C (readParagraph):
1670 * params_func (readParToken, readParagraph):
1671 * paragraph.C (write): \layout -> \begin_layout.
1673 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1675 * lyxlex_pimpl.C (setFile): clean up slightly.
1677 * bufferparams.h: add compressed var
1679 * buffer_funcs.C (readFile): adjust for LyXLex change
1680 (newFile): ditto + simplify
1682 * buffer.C (writeFile): handle writing of compressed files
1684 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1685 Check if the file is compressed and set a bufferparm if so.
1687 * Makefile.am (lyx_LDADD): remove explicit -lz
1689 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1691 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1692 makeDocBookFile): put the real LyX version in the first line of
1696 * version.C.in: remove lyx_docversion
1698 * tabular.C (write_attribute): add a template-based version to
1699 write enums properly
1701 2003-07-28 André Pönitz <poenitz@gmx.net>
1706 * text3.C: use doubles again for x-coordinates. They are needed.
1708 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1710 * messages.C (getLocaleDir): use lyx_localedir()
1712 * lyxlex_pimpl.C (setFile): compress stuff
1714 * buffer.C (writeFile): add some compression stuff
1715 (do_writeFile): new func, dont call expliti close... will this
1718 * Makefile.am (lyx_LDADD): add -lz
1720 2003-07-28 José Matos <jamatos@fep.up.pt>
1722 * buffer.C: increment file format.
1723 * paragraph_funcs (readParagraph, readParToken):
1724 * paragraph.C (readParagraph): add \end_layout.
1726 2003-07-27 Angus Leeming <leeming@lyx.org>
1728 * Makefile.am: remove special casing for configure-time setting of
1729 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1731 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1732 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1734 2003-07-26 André Pönitz <poenitz@gmx.net>
1736 * paragraph_func.[Ch]:
1737 * paragraph.C (realizeFont): inline it whereever it is used
1742 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1745 2003-07-26 André Pönitz <poenitz@gmx.net>
1749 * text2.C: get rid of LyXText::need_break_row
1751 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1753 * toc.[Ch]: put namespace toc inside namespace lyx
1755 * MenuBackend.C (expandToc2): adjust for lyx::toc
1758 * lyxfunc.C (dispatch): adjust for lyx::find
1760 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1761 lyx::find instead. Reorganize a bit.
1762 (LyXReplace): rename to replace
1763 (LyXFind): rename to find
1765 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1768 2003-07-26 André Pönitz <poenitz@gmx.net>
1770 * text.C (setHeightOfRow): restrict scope of temporary variable
1772 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1773 code (never has been used?)
1775 2003-07-27 Asger Alstrup <alstrup@local>
1777 * text.C (fill): Optimise algorithm to exploit that we can reuse
1778 the LyXFont for many characters.
1779 (setHeightOfRow): Same thing.
1780 (rowBreakPoint): Same thing.
1782 2003-07-26 Asger Alstrup <alstrup@local>
1784 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1786 * text.C (singleWidth): Spurious font copying in hot-spot
1787 singleWidth avoided. Reorder tests for arabic for efficiency.
1789 * text.C (fill): handle empty paragraphs better.
1791 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1794 * encoding.h: add includes
1796 * lyxrc.C: remove reading of bind files
1798 * lyx_main.C (init): setup bindings and menus only if we have a
1801 * kbmap.C (read): new method. Do the actual reading of bind
1804 * converter.C (dvipdfm_options):
1807 (output): adapt PAPER_* enums.
1809 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1811 * bufferparams.h: remove paper-related enums from there
1813 * paper.h: New file. A trivial header file to hold paper-related
1814 enums. It should later expand to contain many paper-related
1817 * lyxrc.C: declare extern displayTranslator
1819 2003-07-27 José Matos <jamatos@fep.up.pt>
1821 * tabular.[Ch] (linuxdoc): add support for tables and figures
1824 2003-07-27 José Matos <jamatos@fep.up.pt>
1826 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1827 consistency in both functions.
1828 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1830 2003-07-26 Asger Alstrup <alstrup@local>
1832 * rowpainter.C (paintRows): Change algorithm to work directly on
1833 the insets rather than asking every character in the document
1834 whether its an inset.
1836 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1838 * buffer.C (openFileWrite): factorize some code
1840 2003-07-26 Angus Leeming <leeming@lyx.org>
1843 * lyx_main.[Ch]: replace occurances of system_tempdir with
1846 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1848 * rename Inset to InsetOld
1850 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1852 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1853 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1854 which I think is a bit clearer. EDIT is gone, since it was
1855 premature optimisation, and broken for mathed anyway.
1856 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1857 with cursor positioning in insets as well (math insets still do not
1858 work, but that's a different story anyway.) It mysteriously
1859 crashes sometimes with undo in the first paragraph, but I'm fairly
1860 confident that this is a compiler bug.
1862 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * paragraph.C (Paragraph): adjust for new clone return type
1866 (copyIntoMinibuffer): ditto
1868 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1870 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1871 by not having a special case, and always doing a full rebreak of
1872 the document after undo.
1874 2003-07-23 Angus Leeming <leeming@lyx.org>
1876 * factory.C (createInset): InsetExternal::setParams now takes a
1879 2003-07-23 Angus Leeming <leeming@lyx.org>
1881 * factory.C (createInset): changed interface to the external and
1882 graphics mailers' string2params functions.
1884 2003-07-23 Angus Leeming <leeming@lyx.org>
1886 * factory.C (createInset): pass a
1887 Buffer const * parameter to InsetExternalMailer's string2params.
1889 2003-07-22 John Levon <levon@movementarian.org>
1891 * Thesaurus.h: include the right aiksaurus header
1893 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1895 * MenuBackend.C (expand): check menu shortcuts unconditionally
1897 2003-07-21 Angus Leeming <leeming@lyx.org>
1899 * factory.C (createInset): pass a
1900 buffer_path parameter to InsetGraphicsMailer's string2params.
1902 2003-07-21 Angus Leeming <leeming@lyx.org>
1904 * BufferView_pimpl.C (buffer):
1907 * lyxfunc.C (dispatch):
1908 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1909 rather than the grfx shortcut.
1911 2003-07-21 André Pönitz <poenitz@gmx.net>
1913 * rowpainter.C: remove unused variables
1916 * tabular_funcs.h: move to tabular.C
1917 * Makefile.am: adjust
1919 * tabular.[Ch]: basic optical cleaning
1921 * author.h: pass references, not values
1923 2003-07-18 André Pönitz <poenitz@gmx.net>
1931 * text3.C: two-phase drawing for InsetText and InsetTabular
1932 some float -> int changes.
1934 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1936 * lyx_main.C: fix the fix
1938 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1940 * lyx_main.C: fix a crash in batch mode if no files specified
1943 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1945 * format.[Ch] (papersize): moved to BufferParams
1946 * converter.[Ch] (dvips_options): moved to BufferParams
1947 (dvipdfm_options): moved to anon namespace
1948 * bufferparams.[Ch]: added above functions.
1950 2003-07-17 André Pönitz <poenitz@gmx.net>
1954 * text2.C: don't call inset->update() anymore
1956 * metricsinfo.[Ch]: add convenience constructor
1958 2003-07-16 André Pönitz <poenitz@gmx.net>
1963 * text2.C: replace the LyXCursor::irow_ member with
1964 on-demand computation of the value
1966 2003-07-16 John Levon <levon@movementarian.org>
1968 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1970 2003-07-15 André Pönitz <poenitz@gmx.net>
1973 * text2.C: remove no more needed refresh_row
1975 2003-07-15 André Pönitz <poenitz@gmx.net>
1980 * text3.C: refresh_status tristate -> need_update bool
1982 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1984 * lyxtext.h (init): remove reinit argument (act as if always true)
1985 * text2.C: adjust to that
1987 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1989 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1990 * text3.C: use it to delete selections in some cases
1991 (bugs 441, 673, 702, 954).
1993 2003-07-14 André Pönitz <poenitz@gmx.net>
1995 * rowpainter.[Ch]: reduce interface
1997 2003-07-14 André Pönitz <poenitz@gmx.net>
1999 * BufferView_pimpl.C:
2000 * text2.C: adjust after removing unused BufferView * argument
2002 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2004 * text2.C (init): fix a crash fired on resize
2006 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2008 * buffer.[Ch]: added new closing signal
2009 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2010 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2011 BufferView::Pimpl via the closing the signal
2013 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2015 * buffer.[Ch]: take out all bv-related from buffer
2017 * BufferView_pimpl.[Ch]: connect to new signals
2018 * CutAndPaste.C: removed useless asserts
2019 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2022 * lyxfunc.C: moved view-related funciontality from vc here
2023 * paragraph.C: removed outdated comments
2026 2003-07-10 André Pönitz <poenitz@gmx.net>
2028 * BufferView_pimpl.C:
2032 * text2.C: remove InsetText::InnerCache, clean up consequences
2034 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2036 * ispell.C: fix two typos in error messages
2038 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2040 * Extend Note inset to other forms of annotation like Comment
2041 and Greyedout. Right button click gives dialog.
2043 Files modified or added (+):
2047 * ControlNote.[Ch] +
2049 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2050 frontends/controllers
2054 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2056 * aspell.C: add missing namespace lyx::support
2058 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2060 * BufferView.[Ch] (newFile): Add
2061 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2062 * LaTeX.[Ch] (message): added this signal and use it
2063 * buffer.[Ch] (busy, message): added these signals and use them
2064 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2068 * importer.C: use buffer signals instead of direct bv calling
2069 * lyx_cb.[Ch] (ShowMessage): removed
2072 * paragraph_funcs.C:
2073 * text2.C: use buffer signals
2075 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2077 * introduce namespace lyx::graphics
2079 2003-07-02 André Pönitz <poenitz@gmx.net>
2081 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2083 2003-07-01 André Pönitz <poenitz@gmx.net>
2090 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2091 text*.C to text_func.C
2093 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2095 * introduce namespace lyx::support
2097 2003-06-30 André Pönitz <poenitz@gmx.net>
2102 * text.C: re-enable --with-included-string
2104 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2106 * textcursor.C: add <config.h>
2108 * text.C (getWord): remove const from word_location arg
2110 * lyxvc.C (getLogFile): fix const type order
2112 * lyxtext.h: remove const from word_location arg, add arg name
2114 * lyxlayout.h: currect type on labeltype.
2116 * importer.C: correct \file
2118 * converter.C (intToFormat): use std:: on ret val, ws changes
2120 * bufferlist.h: correct \file
2122 * buffer.C (makeLinuxDocFile): fix const type order
2123 (makeDocBookFile): ditto
2124 (fillWithBibKeys): use std:: on stdlib args.
2126 * CutAndPaste.C: fix authors.
2127 (availableSelections): use std:: on return vector
2129 2003-06-27 André Pönitz <poenitz@gmx.net>
2131 * BufferView_pimpl.C:
2132 * bufferview_funcs.C:
2140 * text3.C: remove LyXCursor::row_ member
2143 * text.C: rename fullRebreak() to partialRebreak() and implement
2144 a fullRebreak() that really bereks fully
2146 * textcursor.h: new struct for cursor-related data
2148 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2150 * lyx_main.C (LyX): get full path of document loaded on the
2153 2003-06-26 André Pönitz <poenitz@gmx.net>
2155 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2156 remove unused/broken operator>,<,>=.
2158 * text.C: remove only use of broken operator<= in an Assert().
2160 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2162 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2163 moved errorlist_.clear to showErrorList
2165 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2167 * converter.C (scanLog, runLaTeX):
2168 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2169 move the bv->showErrorList call to the callers
2170 * lyxfunc.C: i.e. here...
2172 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2173 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2174 namespace, the second to...
2175 * buffer_funcs (BufferFormat, parseErrors): added
2176 * errorlist.C (ErrorList(TeXErrors const &)): removed
2178 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2180 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2182 2003-06-24 "Garst R. Reese" <reese@isn.net>
2186 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2188 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2190 * version.C.in: change docversion to 1.4
2192 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2194 * buffer.C: fix a bug just introduced
2196 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2198 * buffer.[Ch]: added the parseError signal and use it, removed
2200 * BufferView.[Ch] (addError): moved to ...
2201 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2202 to the Buffer::parseError signal to catch (guess what) parse errors
2203 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2205 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2207 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2208 ability to create a buffer and to return an existing one from
2209 the list. Moved these functions to...
2210 * buffer_funcs.[Ch]: added
2211 * BufferView.[Ch] (loadLyXFile): added
2212 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2213 job removed from bufferlist::loadLyXFile.
2214 * buffer.C (setReadOnly): make it work without view
2215 (i.e added an if (users))
2217 2003-06-19 Angus Leeming <leeming@lyx.org>
2220 * LyXAction.C (init):
2221 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2222 with LFUN_DIALOG_SHOW <name> <data>.
2224 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2226 * CutAndPaste.C (availableSelections): small compilation fix for
2227 ancient (gcc 2.9x) compilers
2229 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2231 * text3.C (cursorNext): add tmp var
2233 * text2.C (updateCounters): for function calling out of for clause
2234 (replaceSelectionWithString): ditto
2235 (insertStringAsParagraphs): ditto
2236 (getColumnNearX): add tmp var
2237 (setCursorFromCoordinates): add tmp var
2238 (cursorDownParagraph): add tmp var
2239 (deleteEmptyParagraphMechanism): add tmp var
2241 * text.C (insertChar): add tmp var
2243 * rowpainter.C (paintDepthBar): add tmp var
2245 * CutAndPaste.C (availableSelections): potentially check all
2246 paragraphs in a cut to fill the shown strings.
2248 2003-06-18 André Pönitz <poenitz@gmx.net>
2250 * kbmap.[Ch]: use vector<> instead of list<>
2252 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2254 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2255 pasteSelection with index
2257 * text2.C (pasteSelection): modify, call pasteSelection with index
2259 * paragraph.C (asString): reimplement version with no interval to
2260 call the one with interval.
2262 * lyxtext.h: add index arg to pasteSelection
2264 * MenuBackend.C (MenuItem): handle PasteRecent
2265 (Menu::read::Menutags): add md_pasterecent
2267 (expandPasteRecent): new function
2270 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2272 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2274 (availableSelections): new function
2276 2003-06-17 Angus Leeming <leeming@lyx.org>
2278 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2280 2003-06-17 Angus Leeming <leeming@lyx.org>
2283 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2285 * lyxfunc.C (dispatch): invoke it.
2287 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2289 * iterators.C (operator++, ParPosition): reintroduce some
2290 const_cast for the benefit of older compilers.
2292 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2294 * text3.C (dispatch): do not modify clipboard when doing
2295 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2296 LFUN_DELETE_SKIP on a selection selection
2298 2003-06-16 André Pönitz <poenitz@gmx.net>
2304 * tabular.[Ch]: IU of clone() and getLabelList();
2306 2003-06-13 André Pönitz <poenitz@gmx.net>
2308 * tabular.h: compactification
2310 2003-06-12 André Pönitz <poenitz@gmx.net>
2314 * tabular_funcs.h: some renaming plus whitespace
2316 2003-06-12 André Pönitz <poenitz@gmx.net>
2319 * BufferView_pimpl.C:
2325 * toc.C: Return a Paragraph & for ParIterator::operator*()
2327 2003-06-11 John Levon <levon@movementarian.org>
2331 * ToolbarBackend.C: add "Toolbars" section and
2334 2003-06-10 Angus Leeming <leeming@lyx.org>
2337 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2339 * lyxfunc.C (dispatch): invoke it.
2341 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2343 * main.C: protect <ios> with HAVE_IOS
2344 (main): protect sync_with_stdio with HAVE_IOS
2346 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2348 * text2.C (cutSelection): adjust
2349 (pasteSelection): adjust
2351 * messages.C: handle get of empty string
2353 * main.C (main): use sync_with_stdio(false)
2355 * lyxfunc.C (dispatch): adjust
2357 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2358 (WriteAs): remove unneeded BufferView arg.
2360 * bufferparams.h: use correct types on papersize, papersize2 and
2363 * bufferparams.C (readToken): adjust for type
2364 (writeLaTeX): add missing cases to switch.
2366 * bufferlist.C (quitWriteBuffer): adjust
2369 * buffer.C (asciiParagraph): remove some commented code.
2371 * CutAndPaste.C: remove current_view extern variable.
2372 (cutSelection): add BufferParams arg.
2373 (eraseSelection): add BufferParams arg.
2374 (pasteSelection): add Buffer const & arg
2376 2003-06-07 John Levon <levon@movementarian.org>
2379 * paragraph_funcs.C:
2380 * paragraph_pimpl.C:
2384 * paragraph.C: allow InsetERT to freely space lines,
2385 and some consolidation of code
2387 2003-06-06 José Matos <jamatos@fep.up.pt>
2389 * buffer.C (makeDocBookFile): fix bug #821
2391 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2393 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2395 2003-06-04 Angus Leeming <leeming@lyx.org>
2397 * buffer.C: bump format to 224.
2399 2003-06-05 André Pönitz <poenitz@gmx.net>
2401 * text2.C (redoParagraphs): remove two const_cast<>
2403 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2405 * ParagraphList.h: remove last remnants of NO_STD_LIST
2407 2003-06-03 Angus Leeming <leeming@lyx.org>
2409 * factory.C (createInset): small change to the way InsetExternal's params
2412 2003-06-04 André Pönitz <poenitz@gmx.net>
2414 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2416 * paragraph_pimpl.h:
2417 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2419 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2421 * undo_funcs.C: make some simple cases of undo work again
2423 2003-06-03 John Levon <levon@movementarian.org>
2425 * ispell.C: HPUX doesn't have sys/select.h
2428 2003-06-03 John Levon <levon@movementarian.org>
2430 * CutAndPaste.C: update tabular and include inset
2435 * paragraph.C: remove owningBuffer(), don't pass Buffer
2438 * factory.C: insetGraphicsParams changed
2440 2003-06-02 John Levon <levon@movementarian.org>
2446 * text3.C: remove insetparent
2448 2003-06-02 John Levon <levon@movementarian.org>
2451 * buffer.C: fix inset_iterator.end(), move out of line
2454 2003-06-01 John Levon <levon@movementarian.org>
2456 * text3.C: use a proper cut/paste when doing inset
2457 insert (from Jürgen Spitzmüller)
2459 2003-06-01 John Levon <levon@movementarian.org>
2461 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2463 2003-05-30 André Pönitz <poenitz@gmx.net>
2465 * rowpainter.C: unify second drawing phase
2467 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2469 * trans_mgr.C: remove one case of current_view
2471 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2473 * paragraph_funcs.h: remove paragraph.h include
2475 * paragraph.h: delete NO_STD_LIST stuff
2477 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2479 * buffer.h: remove paragraph.h include
2481 * ParagraphList.C: delete file
2483 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2485 * toc.C (getTocList): adjust
2487 * paragraph_pimpl.C (validate): adjust
2489 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2491 * paragraph.C (Paragraph): adjust
2492 (getPositionOfInset): use const_iterator, adjust
2493 (bibitem): use const_iterator, adjust
2494 (setInsetOwner): adjust
2496 * iterators.C (operator++): adjust
2498 * InsetList.[Ch]: Replace selfmade iterator with standard
2499 vector::iterator also introduce const_iterator. Remove getPos,
2500 getInset and setInset from InsetTable. Adjust accordingly.
2502 * BufferView.C (lockInset): adjust
2503 (ChangeInsets): adjust
2505 * tabular.[Ch]: delete commented same_id functions
2507 2003-05-28 John Levon <levon@movementarian.org>
2509 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2511 2003-05-28 André Pönitz <poenitz@gmx.net>
2513 * metricsinfo.[Ch]: remove 'fullredraw' member
2515 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2517 * lyxtextclass.C (operator): remove caching.
2519 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2523 * text2.C (cursorBottom): adjust
2524 (setCounter): use ParagraphList::find, adjust
2526 * text.C (workWidth): use ParagraphList::find, adjust
2528 * lyxcursor.C (LyXCursor): adjust
2530 * buffer.C (inset_iterator): adjust
2532 * ParagraphList.h: make iterator(value_type) private, make
2533 ParagraphList a friend of iterator.
2535 * ParagraphList.C (find): new function
2537 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2539 2003-05-27 André Pönitz <poenitz@gmx.net>
2541 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2543 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2545 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2547 2003-05-26 John Levon <levon@movementarian.org>
2549 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2551 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2553 * remove same_id from function signatures, adjust.
2555 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2557 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2559 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2561 * paragraph.C (Paragraph): get rid of same_ids parameter
2563 * ParagraphList.C (insert): adjust
2566 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2568 * paragraph_funcs.C (breakParagraph): adjust
2569 (breakParagraphConservative): adjust
2571 * buffer.C (readParagraph): adjust
2573 * ParagraphList.C (insert): take a reference instead of a pointer
2576 * paragraph.[Ch] (id): new function
2578 * bufferlist.C (newFile): adjust
2580 * ParagraphList.C (ParagraphList): adjust
2582 (push_back): take a reference instead of a pointer.
2584 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2586 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2589 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2590 set else use old code.
2592 * ParagraphList.C: remove all NO_NEXT code and only compile this
2593 code of NO_STD_LIST is set.
2595 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2597 * BufferView_pimpl.C:
2607 * graphics/GraphicsConverter.C:
2608 * graphics/PreviewLoader.C: header adjustment
2610 2003-05-23 Angus Leeming <leeming@lyx.org>
2612 * LaTeXFeatures.[Ch] (useBabel): new method.
2613 * bufferparams.C (writeLaTeX): use it.
2615 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2617 * ParagraphList.h (set): remove unused function.
2619 2003-05-23 André Pönitz <poenitz@gmx.net>
2622 * BufferView_pimpl.C:
2626 * undo_funcs.C: setUndo reworked
2628 * iterators.[Ch]: add access to topmost ParagraphList
2630 * lyxtext.[Ch] (workWidth): add a const
2632 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2634 * texrow.[Ch] (increasePos): remove function
2635 * exporter.C (export): removed unused var and outdated comment
2637 2003-05-23 Angus Leeming <leeming@lyx.org>
2639 * latexrunparams.h: rename fragile as moving_arg.
2640 * paragraph.C (simpleTeXOnePar): ditto.
2641 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2643 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2647 (textUndoOrRedo): comment out a currently unused var.
2649 * paragraph.h (NO_NEXT): enable NO_NEXT
2651 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2653 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2655 * exporter.C (Export): adjust for removeAutoInsets removal.
2657 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2659 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2661 * BufferView.[Ch] (removeAutoInsets): delete function
2663 2003-05-22 Angus Leeming <leeming@lyx.org>
2665 * latexrunparams.h: add a free_spacing variable.
2667 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2668 to pass moving_arg, as the data is stored in runparams.fragile.
2670 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2671 to Inset::latexOptional or to simpleTeXOnePar.
2673 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2674 free_spacing arg to Inset::latexOptional.
2676 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2679 2003-05-22 Angus Leeming <leeming@lyx.org>
2681 * latexrunparams.h: add fragile and use_babel variables.
2683 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2684 * buffer.C (makeLaTeXFile): store this returned value in
2685 runparams.use_babel, thus passing it to the inset::latex methods.
2687 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2688 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2690 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2691 longer has a fragile arg, as it is stored in runparams.fragile.
2693 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2694 moving_arg parameter as the data is stored in runparams.fragile.
2696 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2697 a fragile parameter as the data is stored in runparams.fragile.
2699 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2701 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2703 2003-05-22 Angus Leeming <leeming@lyx.org>
2705 * latexrunparams.h: add a 'bool nice' which defaults to false.
2707 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2708 now encapsulated within runparams.
2710 * bufferlist.C (updateIncludedTeXfiles):
2711 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2713 2003-05-22 Angus Leeming <leeming@lyx.org>
2715 * latexrunparams.h: new file containing struct LatexRunParams.
2716 * Makefile.am: add new file.
2718 * LaTeX.[Ch] (c-tor, run):
2719 * buffer.[Ch] (makeLaTeXFile):
2720 * bufferlist.[Ch] (updateIncludedTeXfiles):
2721 * converter.C (convert, scanLog):
2722 * converter.[Ch] (runLaTeX):
2723 * exporter.C (Export):
2724 * paragraph.[Ch] (simpleTeXOnePar):
2725 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2726 * paragraph_funcs.[Ch] (latexParagraphs):
2727 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2728 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2729 pass around a LatexRunParams parameter.
2731 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2733 * paragraph.[Ch]: remove unused constructor
2735 * ParagraphList.C (erase): new function, taking two iterators
2737 2003-05-22 André Pönitz <poenitz@gmx.net>
2739 * undo_funcs.C: remove duplicated code
2741 * iterator.[Ch]: operator=
2743 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2745 * tabular.C (SetMultiColumn): ws changes
2747 * rowpainter.C (paintFirst): get rid of a ->previous
2749 * lyx_cb.C (getPossibleLabel): parlist simplification
2751 * BufferView.C (ChangeInsets): simplify slightly.
2753 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2755 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2756 * lfuns.h: new LFUN_SPACE
2757 * lyxfunc.C: protected space has a new lfun
2758 * paragraph_funcs.C: read new space insets
2760 * factory.C: handle new space insets
2762 2003-05-22 André Pönitz <poenitz@gmx.net>
2765 * BufferView_pimpl.C:
2768 * undo_funcs.C: return a ParIterator from getParFromID.
2770 * iterators.[Ch]: add two const's
2772 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2774 * toc.C (getTocList): adjust
2776 * iterators.[Ch]: rework for parlist
2778 * buffer.C (par_iterator_begin): adjust
2779 (par_iterator_end): adjust
2781 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2783 * BufferView.C (removeAutoInsets): adjust
2784 (ChangeInsets): adjust
2786 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2788 * text.C (top_y): fix bug 1110
2790 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2792 * errorlist.[Ch]: added
2795 * BufferView_pimpl.C:
2796 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2799 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2801 * Makefile.am: ensure that lyx is relinked upon changes to the
2802 various "convenience" libs.
2804 2003-05-20 Angus Leeming <leeming@lyx.org>
2806 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2807 files are compiled in alphabetical order again.
2809 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2811 2003-05-19 Angus Leeming <leeming@lyx.org>
2813 * gettext.[Ch]: remove "char const * _(char const *)".
2815 2003-05-19 André Pönitz <poenitz@gmx.net>
2817 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2826 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2828 2003-05-19 André Pönitz <poenitz@gmx.net>
2832 * lyxtextclass.[Ch]:
2834 * paragraph_funcs.[Ch]:
2836 * text3.C: more insetenv work
2838 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2840 * ParagraphParameters.C (params2string): small bug fixed
2842 2003-05-16 André Pönitz <poenitz@gmx.net>
2845 * bufferview_funcs.C: patch from Kornel Benko to prevent
2846 crash when _(...) is called twice in a statement
2848 2003-05-16 André Pönitz <poenitz@gmx.net>
2855 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2857 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2859 * lyx_main.C (init): remove spurious static_cast
2861 2003-05-14 André Pönitz <poenitz@gmx.net>
2863 * BufferView.C: fix format string
2865 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2867 * BufferView.[Ch] (insertErrors): removed
2868 * BufferView.[Ch] (showErrorList): added
2869 * buffer.C (runChkTeX):
2870 * converter.C (scanLog): call showErrorList instead of inserterrors
2872 2003-05-13 André Pönitz <poenitz@gmx.net>
2874 * BufferView_pimpl.C:
2876 * bufferview_func.C:
2883 * tabular_funcs.h: tostr() from its own header
2885 * ParagraphParameters.C:
2890 * text3.C: STRCONV()
2892 2003-05-12 André Pönitz <poenitz@gmx.net>
2895 * BufferView_pimpl.C:
2899 * ParagraphParameters.C:
2903 * bufferview_funcs.C:
2916 * paragraph_funcs.C:
2920 * text3.C: boost::format -> bformat all over the place
2923 2003-05-09 André Pönitz <poenitz@gmx.net>
2925 * LColor.[Ch]: Pimpl the #include <map> away
2927 2003-05-09 John Levon <levon@movementarian.org>
2929 * bufferlist.C: never remove emergency saves
2931 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2933 * Makefile.am: better lib building
2935 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2937 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2939 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2940 (simpleTeXSpecialChars): adjust
2941 (simpleTeXSpecialChars): adjust
2942 * paragraph.C (simpleTeXOnePar): adjust
2943 * buffer.C (makeLaTeXFile): adjust
2945 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2947 * text2.C (changeDepth): parlist cleanup
2948 (getColumnNearX): ditto
2950 * rowpainter.C (getLabelFont): parlist cleanup
2952 * bufferlist.C (newFile): parlist cleanup
2954 * CutAndPaste.C (eraseSelection): parlist cleanup
2956 * BufferView_pimpl.C (trackChanges): parlist cleanup
2959 * BufferView.C (lockInset): parlist cleanup.
2960 (ChangeInsets): ditto
2962 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2964 * CutAndPaste.h: Update file header.
2966 * CutAndPaste.C: Update file header.
2967 Store the parts cut out of the Document in a limited_stack.
2968 (copySelection): adjust
2969 (pasteSelection): new function, takes the index in the limited stack.
2970 (nrOfParagraphs): adjust
2971 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2972 simplify error inset insertion.
2973 (checkPastePossible): adjust
2975 2003-05-06 John Levon <levon@movementarian.org>
2977 * text2.C: don't cast wrap inset to float
2979 2003-05-05 André Pönitz <poenitz@gmx.net>
2982 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2984 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2985 few naked Paragraph *.
2987 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2989 * bufferparams.C: Output warning if a document with missing
2990 TeX document class is loaded
2991 * exporter.C: Disable TeX exports if the document class is missing
2994 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2995 isTeXClassAvailable()
2997 2003-05-03 John Levon <levon@movementarian.org>
3000 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3001 explicit cursor show/hide
3003 * BufferView_pimpl.h:
3004 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3005 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3007 * lyxfunc.C: hide cursor before dispatching.
3012 * text3.C: remove explicit cursor hides
3014 2003-05-02 André Pönitz <poenitz@gmx.net>
3016 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3019 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3022 * text2.C: tiny whitespace
3024 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3026 * undo_funcs.C: almost only ws changes.
3028 * ParagraphList.C (splice): just return if pl is empty.
3030 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3032 * ParagraphList.C (splice): new function.
3034 * CutAndPaste.C (pasteSelection): use it
3036 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * CutAndPaste.C (pasteSelection): remove the last next and
3039 previous from this file.
3041 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3043 * CutAndPaste.C (pasteSelection): more clean up, user proper
3044 ParagraphList functions for pasteing.
3046 * ParagraphList.C (insert): new function, three arg insert
3048 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3050 * ParagraphList.C (insert): new function, three arg insert
3052 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3055 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3057 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3059 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3061 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3063 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3065 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3066 (copySelection): clean up a bit.
3067 (pasteSelection): use make_pair
3069 * ParagraphList.C (ParagraphList): implement copy constructor
3070 (operator=): implement, base on copy constructor.
3073 * paragraph.C (erase): return a bool
3075 * paragraph_pimpl.C (erasePos): remove function, move contents...
3076 (erase): ... here. Return a bool.
3077 (erase): call erase instead of erasePos.
3079 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3081 * ParagraphList.h: define PitPosPair
3082 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3083 ParagraphList, fix a bug on pasting multiple pars
3084 * text2.C: change interface to C&P
3086 2003-04-30 André Pönitz <poenitz@gmx.net>
3088 * undo_func.C: revert part of yesterday's patch 2
3090 2003-04-30 John Levon <levon@movementarian.org>
3092 * LColor.C: s/tabular/table/
3094 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * text3.C (dispatch): do not convert iterator -> pointer
3097 * undo_funcs.C (setCursorParUndo): ditto
3098 * text_funcs.C (transposeChars): ditto
3100 * text2.C (setLayout): ws changes only
3102 * text.C (breakParagraph): do not convert iterator -> pointer
3104 (acceptChange): ditto
3105 (rejectChange): ditto
3110 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3113 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3115 * text3.C (gotoInset): YABG (yet another bad getChar)
3117 2003-04-29 André Pönitz <poenitz@gmx.net>
3119 * paragraph.h: make operator= private unimplemented as long as
3122 * ParagraphList.C: whitespace
3125 * paragraph_pimpl.[Ch]:
3126 * paragraph_funcs.C:
3128 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3131 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3133 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3135 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3136 * paragraph.[Ch] (erase):
3137 * paragraph_pimpl.[Ch] (erase): change return type and value
3138 * text2.C (cutSelection): some rework
3140 2003-04-28 John Levon <levon@movementarian.org>
3142 * bufferlist.C: changes for unsaved changes dialog
3144 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * bufferlist.C (newFile): set language (messages_) for new
3149 * buffer.C (readFile): ws changes only.
3151 2003-04-28 André Pönitz <poenitz@gmx.net>
3156 * BufferView_pimpl.C:
3157 * BufferView.C: getParFromID related ParagraphList::iterator changes
3159 2003-04-28 André Pönitz <poenitz@gmx.net>
3161 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3164 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3166 * messages.C: remove one more localedir class variable.
3168 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3170 * messages.C (getLocaleDir): singleton generation function
3172 (Messages): add a default constructor.
3174 * main.C (main): do not setup localedir here, do not call
3177 * gettext.C (_): use it.
3178 (gettext_init): delete funciton
3180 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * gettext.C (getLyXMessages): new singleton generating function.
3184 * buffer.C (updateDocLang): adjust
3186 * Makefile.am (messages.o): add target
3187 (main.o): remove target
3189 2003-04-27 John Levon <levon@movementarian.org>
3194 * lyxvc.C: specify cancel button in Alert::prompt
3196 2003-04-26 John Levon <levon@movementarian.org>
3201 * LyXAction.C: add LFUN_INSET_SETTINGS
3203 * lyxfunc.C: don't enable tabular-feature when there's
3204 just any locking inset
3206 2003-04-26 John Levon <levon@movementarian.org>
3208 * bufferlist.C: re-add Cancel to buffer close question
3210 * lyxfunc.C: fix import UI a bit
3212 2003-04-25 John Levon <levon@movementarian.org>
3214 * gettext.C: remove the broken asserts for now
3216 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3218 * messages.C: make case where setlocale cannot comply work better.
3220 * buffer.C (updateDocLang): new function
3221 (changeLanguage): use it
3224 * text2.C (setCounter): use B_ a bit.
3226 * lyxlayout.C (Read): be sure to trim the label strings.
3228 * messages.C (Messages): fix typo in comment
3230 * buffer.C (readFile): set message_ after file is loaded.
3231 (makeDocBookFile): remove double return
3232 (changeLanguage): reset message_ upon language change.
3233 (B_): new func, use this to get translated buffer strings.
3235 * main.C: add myself and Jean Marc as authors.
3237 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3239 * messages.[hC]: pimplify Messages, and three different pimpls to be
3240 used in different circumstances.
3242 * gettext.[Ch]: change for use with new message code.
3244 2003-04-24 André Pönitz <poenitz@gmx.net>
3246 * factory.C: support for eqref
3248 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3250 * messages.[Ch]: add missing char
3252 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3254 * messages.[Ch]: New files
3256 2003-04-18 John Levon <levon@movementarian.org>
3260 * BufferView_pimpl.C:
3264 * text2.C: remove layout-copy/paste (bug 778)
3266 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3268 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3270 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3272 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3273 if they succeed. Act accordingly.
3275 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3277 * text2.C (setCharFont): adjust
3278 (setCounter): adjust
3279 (insertStringAsLines): adjust
3281 * text.C (leftMargin): adjust
3282 (setHeightOfRow): adjust
3284 * rowpainter.C (paintFirst): adjust
3287 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3289 (isFirstInSequence): ditto
3290 (getEndLabel): ditto
3293 * paragraph.C (getParLanguage): comment out some hard stuff.
3295 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3297 (simpleDocBookOnePar): ditto
3298 (makeDocBookFile): use ParagraphList::iterator
3300 * CutAndPaste.C (pasteSelection): adjust
3302 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3304 * text2.C (getFont): adjust
3305 (getLayoutFont): adjust
3306 (getLabelFont): adjust
3308 * paragraph_funcs.C (TeXOnePar): adjust
3310 * buffer.C (simpleLinuxDocOnePar): adjust
3311 (simpleDocBookOnePar): adjust
3313 * CutAndPaste.C (pasteSelection): adjust
3315 * BufferView.C (getEncoding): adjust
3317 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3319 2003-04-16 John Levon <levon@movementarian.org>
3321 * lyxfind.C: use parlist stuff for search/changes
3323 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3325 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3327 * text2.C (deleteEmptyParagraphMechanism): adjust
3329 * text2.[Ch] (ownerParagraph): delete func (both of them
3331 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3333 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3335 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3337 * ParagraphList.C: prepare for NO_NEXT
3339 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3341 * text2.C (getFont): adjust
3342 (getLayoutFont): adjust
3343 (getLabelFont): adjust
3345 * paragraph.C (getFont): adjust
3346 (getLabelFont): adjust
3347 (getLayoutFont): adjust
3349 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3351 2003-04-15 John Levon <levon@movementarian.org>
3355 * lyx_main.C: handle Include in .ui files
3357 2003-04-15 John Levon <levon@movementarian.org>
3359 * MenuBackend.C: make the doc files length shorter
3362 * ToolbarBackend.C: handle toolbar placement flags,
3365 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3370 * paragraph_funcs.C (TeXOnePar): adjust
3372 * paragraph.C (getLabelFont): add outerfont arg, adjust
3373 (getLayoutFont): ditto
3374 (simpleTeXOnePar): adjust
3376 * paragraph_pimpl.C (realizeFont): delete func
3378 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3380 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3381 row argument, constify cur argument.
3383 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * text2.C (getFont): adjust
3386 (getLayoutFont): adjust
3387 (getLabelFont): adjust
3389 * paragraph_funcs.C (TeXOnePar): adjust
3390 (outerFont): new func...
3391 (realizeFont): ...moved out from here, changed this to facilitate
3394 * paragraph.C (getFont): take outerfont as arg, adjust
3395 (simpleTeXOnePar): add outerfont arg, adjust
3397 * buffer.C (simpleLinuxDocOnePar): adjust
3398 (simpleDocBookOnePar): adjust
3400 * CutAndPaste.C (pasteSelection): adjust
3402 * BufferView.C (getEncoding): adjust
3404 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3406 * text2.C (setCharFont): adjust
3407 (setCounter): adjust
3409 * text.C (leftMargin): adjust
3410 (setHeightOfRow): adjust
3412 * rowpainter.C (paintFirst): adjust
3415 * paragraph_pimpl.C (realizeFont): adjust
3417 * paragraph.C (isFirstInSequence): move from here...
3418 * paragraph_funcs.C (isFirstInSequence): ...to here
3420 * paragraph.C (outerHook): move from here...
3421 * paragraph_funcs.C (outerHook): ...to here
3423 * paragraph.C (depthHook): move from here...
3424 * paragraph_funcs.C (depthHook): ...to here
3426 * paragraph.C (getEndLabel): move from here...
3427 * paragraph_funcs.C (getEndLabel): ...to here
3429 * text2.C (realizeFont): move from here...
3430 * paragraph_funcs.C (realizeFont): ...to here
3432 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3434 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3436 2003-04-14 Angus Leeming <leeming@lyx.org>
3438 * LColor.[Ch]: scrap LColor mathcursor.
3440 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3442 * lyxlex.[Ch] (text): delete function
3443 * trans.C (Load): adjust
3444 * paragraph_funcs.C (readParToken): adjust
3446 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3448 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3449 vector<char> instead of a char[].
3451 * lyxlex_pimpl.C (getString): adjust
3453 (lex): use getString
3457 * lyxlex.C (text): use pimpl_->getString()
3461 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3463 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3464 (makeFontEntriesLayoutSpecific): temp var for par.size()
3465 (setLayout): temp var for ownerParagraphs().end()
3466 (fullRebreak): temp var for rows().end()
3467 (selectionAsString): temp var for boost::next(startpit), realize
3468 that the while really is a regular for loop.
3469 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3470 setCursor in one place.
3471 (setParagraph): temp vr for ownerParagraphs().end()
3472 (updateCounters): make the while loop a for loop
3473 (cutSelection): temp var for ownerParagraphs().end()
3474 (updateInset): make the do {} while() a regular for loop
3475 (getCursorX): use temp vars
3476 (setCurrentFont): use temp vars
3477 (getColumnNearX): use temp vars
3479 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3481 * text.C (transformChar): use temp var for getChar
3482 (computeBidiTables): use temp var for row->par()
3483 (fill): move temp vars for row->par() and pit->layout() earlier in
3485 (labelFill): use temp var for row->par()
3486 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3487 asc and desc, realize that pit never changes and that firstpit is
3488 just a duplicate and not needed. Exchange rit->par() with pit in a
3490 (breakAgain): use a temp var for boost::next(rit)
3491 (breakAgainOneRow): ditto
3492 (breakParagraph): use a temp var for rows().begin()
3493 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3494 (cursorRightOneWord): use temp var for cursor.par() and
3495 cursor.pos(), remove usage of tmpcursor.
3496 (cursorLeftOneWord): use temp var for cursor.par() and
3497 cursor.pos() only set cur at end of function.
3499 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3501 * text.C, text2.C: exchange all usage of Paragraph::next with
3502 boost::next(ParagraphList::iterator)
3504 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3506 * text2.C (cursorTop): simplify implementation
3507 (cursorBottom): ditto
3508 (setParagraph): use ParagraphList::iterator
3509 (setCurrentFont): adjust
3510 (getColumnNearX): adjust
3511 (cursorRight): adjust
3512 (cursorLeft): remove usage of Paragraph::previous
3513 (cursorUpParagraph): ditto
3514 (deleteEmptyParagraphMechanism): slight cleanup
3516 * text.C (isBoundary): take a Paragraph const & instead of a
3518 (addressBreakPoint): ditto
3519 (leftMargin): remove usage of Paragraph::previous.
3520 (setHeightOfRow): ditto
3521 (cursorLeftOneWord): ditto
3522 (selectNextWordToSpellcheck): ditto
3525 (breakParagraph): remove one usage of Paragraph::next
3526 (redoParagraph): ditto
3527 (acceptChange): ditto
3528 (insertChar): adjust
3529 (rowBreakPoint): adjust
3531 * bufferview_funcs.C (toggleAndShow): adjust
3533 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3535 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3536 methods to access it.
3538 * text.C: Added updateRowPositions to compute all row positions.
3539 Make top_y and getRowNearY() to use the cached y position
3541 2003-04-11 John Levon <levon@movementarian.org>
3543 * text.C (rowBreakPoint): reintroduce the labelEnd
3544 checks, code copied from the row fill stuff. Deep voodoo.
3546 * text.C (fill): add a comment and debugging for the
3549 2003-04-11 John Levon <levon@movementarian.org>
3551 * text.C: make sure fullrow insets get wrapped to the next line,
3552 even when they're in a manual label
3554 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3556 * text2.C (insertParagraph): make it take ParagraphList::iterator
3558 (setLayout): make it return ParagraphList::iterator
3559 (redoParagraphs): ditto
3561 (checkParagraph): ditto
3563 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3565 * text2.C: adjust several funcs.
3566 (realizeFont): take a ParagraphList::iterator as arg.
3567 (getLayoutFont): ditto
3568 (getLabelFont): ditto
3569 (setCharFont): ditto
3571 * text.C: adjust several funcs.
3573 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3575 * text.C (selectNextWordToSpellcheck): don't accidentally
3578 2003-04-10 John Levon <levon@movementarian.org>
3580 * ToolbarBackend.C (getIcon): special handling for
3583 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3585 * text2.C (cursorRight): a getChar assert fixed
3587 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3589 * text2.C (getFont): change to take a ParagraphList::iterator
3590 instead of Paragraph*
3591 Adjust several functions.
3593 * text.C (transformChar): change to take a ParagraphList::iterator
3594 instead of Paragraph*
3595 (singleWidth): ditto
3596 Adjust several functions.
3598 * rowpainter.C: adjust several functions
3599 * rowpainter.h:store a ParagraphList::iterator and not a
3603 2003-04-09 John Levon <levon@movementarian.org>
3608 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3609 and the "help" bits as well
3611 2003-04-09 John Levon <levon@movementarian.org>
3614 * ToolbarBackend.C: allow multiple toolbars
3616 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3618 * undo_funcs.C (setCursorParUndo): adjust
3620 * text_funcs.C (transposeChars): adjust
3622 * text3.C (gotoNextInset): adjust
3625 * text2.C (setLayout): adjust
3626 (changeDepth): adjust
3628 (redoParagraphs): adjust
3629 (selectionAsString): adjust
3630 (setParagraph): adjust
3631 (insertInset): adjust
3632 (cutSelection): adjust
3633 (copySelection): adjust
3634 (pasteSelection): adjust
3635 (insertStringAsLines): adjust
3636 (updateInset): adjust
3637 (setCursor): change to take a ParagraphList::iterator parameter
3638 (setCursorIntern): change to take a ParagraphList::iterator parameter
3639 (setCurrentFont): adjust
3640 (cursorLeft): adjust
3641 (cursorRight): adjust
3642 (deleteEmptyParagraphMechanism): adjust
3644 * text.C (breakParagraph): adjust
3645 (insertChar): adjust
3646 (acceptChange): adjust
3647 (rejectChange): adjust
3648 (selectNextWordToSpellcheck): adjust
3649 (changeCase): adjust
3653 * lyxfind.C (SearchForward): adjust
3654 (SearchBackward): adjust
3655 (nextChange): adjust
3657 * lyxcursor.C (par): adjust
3659 * lyxcursor.h: store a ParagraphList::iterator instead of a
3662 * lyx_cb.C (getPossibleLabel): adjust
3664 * bufferview_funcs.C (toggleAndShow): adjust
3666 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3669 * BufferView.C (removeAutoInsets): adjust
3670 (lockedInsetStoreUndo): adjust
3672 2003-04-09 John Levon <levon@movementarian.org>
3674 * ToolbarBackend.C: try icon without argument
3675 if with argument fails
3677 2003-04-08 John Levon <levon@movementarian.org>
3680 * ToolbarBackend.C: add getIcon(), handle tooltip,
3681 and change from "Icon" to "Item".
3683 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3685 * BufferView.C (lockInset): another bad getchar crunched
3687 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3689 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3692 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3694 * lyxfind.C (searchForward, searchBackwards): bug 782
3696 2003-04-07 John Levon <levon@movementarian.org>
3698 * paragraph.C: remove dead comment
3700 * text.C: remove troublesome depth-fiddling code
3701 in leftMargin() and rightMargin() (bug 1017)
3703 * text.C: fix breaking of rows in nested lists
3706 * text2.C (updateCounters): fix up depth values
3709 2003-04-07 John Levon <levon@movementarian.org>
3711 * BufferView_pimpl.C: clear message when doc finishes resizing,
3712 and after a mouse event
3714 * lyxfunc.C: clear message after exiting inset
3716 2003-04-07 John Levon <levon@movementarian.org>
3718 * bufferview_funcs.C: show math status not outside
3719 status in the statusbar
3721 2003-04-07 John Levon <levon@movementarian.org>
3723 * lyxfunc.C: note status changed after a depth change
3725 2003-04-04 Angus Leeming <leeming@lyx.org>
3727 * LaTeX.h: move AuxInfo operator==, != out of line.
3728 Remove LaTeX virtual destructor; nothing derives from it.
3729 Move operator()() out of public area and rename it startscript().
3730 Change protected for private.
3732 2003-04-04 Angus Leeming <leeming@lyx.org>
3735 * text2.C: remove unneeded #includes.
3737 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3739 * text2.C (dEPM): fix the heigth of the next row
3741 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3743 * text.C: squashed an invalid getChar requester + some ws changes
3745 2003-04-03 John Levon <levon@movementarian.org>
3747 * bufferview_funcs.h:
3748 * bufferview_funcs.C:
3751 * text2.C: make getStatus work for the env depth lfuns
3753 2003-04-03 John Levon <levon@movementarian.org>
3755 * bufferview_funcs.h:
3756 * bufferview_funcs.C:
3759 * text2.C: parlistize decDepth(), by merging it with incDepth()
3761 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3763 * lyxrow.h: store a ParagraphList::iterator instead of a
3764 Paragraph* and adjust other class functions to suit.
3766 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3769 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3771 * text2.C (setCursor): do not anchor to cursor row for the time being
3773 2003-04-02 John Levon <levon@movementarian.org>
3780 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3782 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3784 * paragraph.h: make ParagraphList and ParagraphList::iterator
3785 friends of Paragraph.
3787 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3789 * ParagraphList.C: Use the private next_ and previous_ from
3792 2003-04-01 John Levon <levon@movementarian.org>
3796 * Makefile.am: rename, remove defaults gunk
3799 * MenuBackend.C: remove defaults gunk
3802 * Languages.C: remove defaults gunk
3805 * lyx_main.C: error out if files couldn't be found.
3807 2003-04-02 John Levon <levon@movementarian.org>
3809 * text2.C: make incDepth() use parlist
3811 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3813 * undo_funcs.C (firstUndoParagraph): adjust
3815 * text3.C (gotoInset): adjust
3816 (dispatch): adjust, and rewrite loop.
3818 * text2.C (init): adjust, and rewrite loop.
3819 (redoParagraphs): adjust
3820 (updateInset): adjust, and rewrite loop.
3821 (deleteEmptyParagraphMechanism): adjust
3823 * tabular.C (LyXTabular): adjust
3824 (SetMultiColumn): adjust
3827 * lyxtext.[Ch] (ownerParagraph): delete function
3828 (ownerParagraphs): new function returns a ParagraphList.
3830 * BufferView.C (removeAutoInsets): adjust
3831 (insertErrors): adjust
3832 (setCursorFromRow): adjust
3834 2003-04-01 Angus Leeming <leeming@lyx.org>
3836 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3839 2003-04-02 John Levon <levon@movementarian.org>
3845 * text_funcs.C: make transposeChars a free function
3847 * lyxrow_funcs.C: remove wrong comment
3849 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3852 * rowpainter.C: adjust
3857 * lyxrow_funcs. [Ch]: new files
3859 * lyxrow.[Ch]: remove next and previous pointers
3860 (next,previous): remove accessor functions
3861 (isParEnd): move to lyxrow_funcs
3862 (lastPos): move to lyxrow_funcs
3863 (nextRowIsAllInset): move to lyxrow_funcs
3864 (lastPrintablePos): move to lyxrow_funcs
3865 (numberOfSeparators): move to lyxrow_funcs
3866 (numberOfHfills): move to lyxrow_funcs
3867 (numberOfLabelHfills): move to lyxrow_funcs
3868 (hfillExpansion): move to lyxrow_funcs
3872 * bufferview_funcs.C (toggleAndShow): adjust
3874 * RowList.h: Remove class RowList from file leave just a
3877 * RowList.C: delete file
3879 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3882 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3884 * text3.C (cursorPrevious): adjust
3885 (cursorNext): adjust
3888 * text2.C (redoHeightOfParagraph): adjust
3889 (redoDrawingOfParagraph): adjust
3892 * text.C (breakParagraph): adjust
3893 (insertChar): adjust
3896 * rowpainter.C (RowPainter): adjust
3897 (leftMargin): simplify and adjust
3898 (most rowpainter functions): adjust.
3900 * rowpainter.h: store the row as RowList::iterator not as Row*
3902 * lyxcursor.C (row): taka RowList::iterator as arg
3905 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3908 2003-04-01 Angus Leeming <leeming@lyx.org>
3910 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3911 stuff like bool Bool.
3913 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3915 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3918 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3920 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3923 * lyxtext.h (rows): drop one version and leve a const variant that
3924 returns a RowList::iterator.
3926 2003-03-31 Angus Leeming <leeming@lyx.org>
3928 * text.C (fill): ensure that the signature is the same as that in the
3931 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3933 * text2.C (redoParagraphs): adjust
3934 (updateCounters): adjust
3935 (checkParagraph): adjust
3936 (getColumnNearX): adjust and reformat a bit.
3938 * text.C (top_y): adjust
3940 (leftMargin): adjust
3941 (prepareToPrint): adjust
3943 (getRowNearY): adjust
3945 * lyxtext.h: make rowlist_ mutable.
3947 * RowList.h: add const_iterator
3948 * RowList.C: adjust for RowList::const_iterator.
3950 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3953 2003-03-31 John Levon <levon@movementarian.org>
3956 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3958 * lyx_main.C: set default fonts from using lyx_gui funcs
3960 * exporter.C: pdf_mode moved from lyxrc
3963 * lyxfunc.C: changes from above
3965 2003-03-31 John Levon <levon@movementarian.org>
3967 * lyx_main.C: fix to the last fix
3969 2003-03-31 John Levon <levon@movementarian.org>
3971 * bufferlist.C: "Load original" -> "Load Original"
3977 * format.C: more Alert cleanups
3979 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3981 * text2.C (removeParagraph): make it take a RowList::iterator as
3983 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3984 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3986 * text.C (anchor_row): make it take a RowList::iterator as arg,
3988 (computeBidiTables): make it take a const reference to Row instead
3989 of Row pointer, adjust.
3990 (leftMargin): make it take a RowList::iterator as arg, adjust.
3991 (rowBreakPoint): adjust
3992 (breakAgainOneRow): make it take a RowList::iterator as arg,
3994 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3996 * bufferview_funcs.C (toggleAndShow): adjust
3998 2003-03-30 John Levon <levon@movementarian.org>
4002 * boost-inst.C: moved to support
4004 * several files: changes as a result
4006 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * text2.C (LyXText): adjust.
4010 (removeRow): make it take a RowList::iterator as arg, adjust.
4011 (fullRebreak): adjust
4012 (deleteEmptyParagraphMechanism): adjust
4013 (clearPaint): adjust
4016 * text.C (top_y): adjust
4017 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4018 (breakAgain): make it take a RowList::iterator as arg, adjust.
4019 (breakParagraph): adjust
4020 (insertChar): adjust
4023 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4024 need_break_row, and refresh_row.
4026 * text3.C (dispatch): adjust
4028 * text2.C (checkParagraph): adjust
4030 (setCursorFromCoordinates): adjust
4032 * text.C (top_y): adjust
4034 (getRow): make it return a RowList::iterator, adjust
4035 (getRowNearY): make it return a RowList::iterator, adjust
4037 * text2.C (init): adjust
4038 (insertRow): remove function
4039 (insertParagraph): adjust
4040 (redoParagraphs): adjust
4041 (fullRebreak): adjust
4042 (updateCounters): adjust
4044 * text.C (top_y): rewrite to use RowList iterators.
4046 (setHeightOfRow): rewrite to sue RowList iterators.
4047 (appendParagraph): adjust
4048 (breakAgain): adjust
4049 (breakAgainOneRow): adjust
4050 (breakParagraph): adjust
4052 (getRowNearY): adjust, and remove commented code.
4054 * lyxtext.h (firstRow): delete function
4055 (lastRow): delete function
4056 (rows): new function (const and non-const versions.)
4057 (insertRow): delete function
4059 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4061 2003-03-29 John Levon <levon@movementarian.org>
4063 * BufferView_pimpl.C: always update scrollbar top
4064 because pasting text when we're anchored could mean we
4065 miss an update altogether
4067 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4069 * text2.C (init): use rowlist_.end() and not 0.
4070 (insertRow): change to take a RowList::iterator as arg, adjust
4072 (insertParagraph): change to take a RowList::iterator as arg,
4074 (redoParagraphs): remove some debug msgs.
4076 * text.C (appendParagraph): change to take a RowList::iterator
4077 arg, adjust for this.
4078 (breakAgain): add an assert
4079 (breakAgainOneRow): ditto
4081 2003-03-29 John Levon <levon@movementarian.org>
4083 * text2.C: do not clear selection after inc/decDepth
4086 2003-03-29 John Levon <levon@movementarian.org>
4089 * buffer.C: fix broken strerrors according to Lars
4091 2003-03-29 John Levon <levon@movementarian.org>
4093 * converters.C: more Alert cleanups
4095 2003-03-29 John Levon <levon@movementarian.org>
4097 * bufferview_funcs.C: remove pointless Alert
4099 * buffer.C: fix confusing error message when
4100 a template is chmoded 000
4102 2003-03-29 John Levon <levon@movementarian.org>
4106 * BufferView_pimpl.C: Alert fixes
4110 * tabular-old.C: remove unused table compat reading
4112 2003-03-29 John Levon <levon@movementarian.org>
4117 * lyx_cb.C: more Alert cleanups
4119 * lyxfunc.C: don't allow chktex if not latex document
4121 2003-03-29 John Levon <levon@movementarian.org>
4125 * buffer.C: warnings pushed down from support/,
4128 2003-03-29 John Levon <levon@movementarian.org>
4130 * lyxfunc.C: safety check for C-r (revert)
4132 2003-03-29 John Levon <levon@movementarian.org>
4135 * bufferlist.C: several UI fixes using Alert::prompt.
4136 Fix the pointless looping quit code. Fix stupid revert
4141 * lyx_cb.C: use Alert::prompt
4143 * lyx_main.C: remove a silly question
4145 * lyxfunc.C: remove a couple of silly questions,
4148 2003-03-28 John Levon <levon@movementarian.org>
4150 * text2.C: fix bug 974 (End on empty par)
4152 2003-03-28 John Levon <levon@movementarian.org>
4154 * BufferView_pimpl.C:
4156 * lfuns.h: remove do-nothing math greek lfuns
4158 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4160 * lyxgluelength.h (isValidGlueLength): add default arg on
4161 parameter 2. Remove default arg from friend in class.
4163 * lyxlength.h (isValidLength): add default arg on parameter 2.
4164 Remove default arg from friend in class.
4166 * text2.C (LyXText): adjust, initialize refresh_row.
4170 (insertParagraph): adjst
4171 (redoParagraphs): adjust
4172 (fullRebreak): adjust
4173 (updateCounters): adjust
4174 (deleteEmptyParagraphMechanism): first attempt at fixing a
4177 * text.C (top_y): adjust
4178 (setHeightOfRow): adjust
4180 (getRowNearY): adjust
4182 * lyxtext.h: include RowList.h
4183 (~LyXText): not needed anymore, deleted.
4184 (firstRow): modify for RowList
4185 (lastRow): new function
4186 Delete firstrow and lastrow class variables, add a Rowlist
4187 rowlist_ class variable.
4189 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4192 * RowList.C (insert): fix case where it == begin().
4194 2003-03-26 Angus Leeming <leeming@lyx.org>
4196 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4197 the thesaurus dialog.
4199 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4201 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4203 * RowList.[Ch]: new files
4205 * ParagraphList.C (erase): handle the case where it == begin
4208 2003-03-25 John Levon <levon@movementarian.org>
4212 * aspell.C: add new aspell support
4215 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4218 2003-03-25 Angus Leeming <leeming@lyx.org>
4221 * LyXAction.C (init): new LFUN_INSET_INSERT.
4223 * BufferView_pimpl.C (dispatch): split out part of the
4224 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4226 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4229 2003-03-25 Angus Leeming <leeming@lyx.org>
4231 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4233 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4236 * text3.C: remove useless row->height(0)
4238 2003-03-25 John Levon <levon@movementarian.org>
4242 * text3.C: rename the refreshing stuff to better names
4244 2003-03-24 John Levon <levon@movementarian.org>
4246 * BufferView_pimpl.h:
4247 * BufferView_pimpl.C: update layout choice on a mouse
4250 2003-03-23 John Levon <levon@movementarian.org>
4252 * Makefile.am: fix commandtags.h reference
4254 2003-03-22 John Levon <levon@movementarian.org>
4256 * BufferView_pimpl.C:
4261 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4263 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4266 * text.C: take the rtl methods out of line
4268 2003-03-21 André Pönitz <poenitz@gmx.net>
4270 * metricsinfo.[Ch]: new files containing structures to be passed around
4271 during the two-phase-drawing...
4273 2003-03-21 André Pönitz <poenitz@gmx.net>
4275 * lyxtextclass.C: read 'environment' tag.
4277 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4279 * text2.C (removeRow): fix bug 964
4281 2003-03-20 John Levon <levon@movementarian.org>
4285 * text2.C: paint cleanups. Inset::update() dropped font
4288 2003-03-19 John Levon <levon@movementarian.org>
4290 * lyxfunc.C: only fitcursor/markDirty if available()
4292 2003-03-19 John Levon <levon@movementarian.org>
4294 * commandtags.h: rename to ...
4296 * lfuns.h: ... this, and renumber / cleanup
4298 2003-03-19 John Levon <levon@movementarian.org>
4300 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4301 fit the cursor after an lfun
4305 * BufferView_pimpl.h:
4306 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4308 * LyXAction.C: layout-character should have ReadOnly
4310 * ParagraphParameters.C:
4312 * bufferview_funcs.C:
4319 * undo_funcs.C: changes from above
4321 2003-03-18 John Levon <levon@movementarian.org>
4323 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4324 remove it from update()
4326 * lyxfunc.C: update layout choice after an lfun
4328 * text3.C: remove extra updateLayoutChoice()s
4330 2003-03-18 John Levon <levon@movementarian.org>
4332 * text.C: top_y change means full repaint, fix
4333 a drawing bug with cursor movement
4335 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4339 * text2.C: anchor row on setCursor
4341 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4343 * lyxtext.h: remove almost all mutable keywords
4346 * text3.C: remove const keywords accordingly
4348 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4350 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4352 (TeXEnvironment): ditto
4355 2003-03-17 John Levon <levon@movementarian.org>
4357 * text.C (rowBreakPoint): remove attempt to fix displayed
4358 math insets inside a manual label
4360 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4362 * lyxtext.h: remove BufferView* as first arg from almost all class
4364 * other files: adjust.
4366 2003-03-17 John Levon <levon@movementarian.org>
4370 * text2.C: more paint cleanups
4372 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4375 * rowpainter.C: remove "smart" background painting code
4377 2003-03-16 John Levon <levon@movementarian.org>
4382 * text3.C: add helper functions for setting refresh_row/y
4384 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4386 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4387 newline inset which *can* get inserted in the pass_thru layouts.
4388 This is primarily for literate documents.
4390 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4392 * buffer.C: increment LYX_FORMAT to 223
4394 2003-03-14 André Pönitz <poenitz@gmx.net>
4396 * textclass.h: prepare for environment handling, ws changes
4397 * lyxlayout.C: read latexheader and latexfooter tags
4399 2003-03-14 John Levon <levon@movementarian.org>
4401 * text2.C: rewrite ::status() a bit
4403 2003-03-13 John Levon <levon@movementarian.org>
4405 * lyxtext.h: add some docs
4407 2003-03-13 John Levon <levon@movementarian.org>
4412 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4414 2003-03-13 John Levon <levon@movementarian.org>
4416 * text3.C: fix appendix redrawing
4418 2003-03-13 John Levon <levon@movementarian.org>
4420 * text.C (setHeightOfRow):
4422 * rowpainter.C: make appendix mark have the text
4423 "Appendix" so the user knows what it is
4426 * LColor.C: s/appendixline/appendix/ from above
4428 2003-03-13 John Levon <levon@movementarian.org>
4430 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4432 * text.C: fix a getChar(pos) bug properly
4434 2003-03-13 Angus Leeming <leeming@lyx.org>
4437 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4438 Probably only temporary. Let's see how things pan out.
4440 * BufferView.C (unlockInset):
4441 * BufferView_pimpl.C (fitCursor):
4442 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4444 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4445 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4447 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4448 new functions that convert ParagraphParameters to and from a string.
4450 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4451 BufferView::Pimpl's dispatch.
4452 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4454 2003-03-13 André Pönitz <poenitz@gmx.net>
4458 * factory.C: make it aware of InsetEnv
4460 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4462 * text2.C (setCursor): never ask for one past last
4463 (setCursor): add some debugging messages.
4465 * text.C (singleWidth): never ask for one past last
4466 (singleWidth): ditto
4468 (rightMargin): ditto
4469 (rowBreakPoint): ditto
4470 (setHeightOfRow): ditto
4471 (prepareToPrint): ditto
4473 * rowpainter.C (paintBackground): never ask for one past last
4474 (paintText): never ask for one past last
4476 * paragraph_pimpl.C (getChar): make the assert stricter, never
4477 allow the one past last pos to be taken
4479 * paragraph.C (getChar): ws changes only
4481 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4482 (numberOfSeparators): ditto
4483 (numberOfHfills): ditto
4485 2003-03-12 John Levon <levon@movementarian.org>
4491 * paragraph_funcs.C: fix per-buffer authorlists
4493 2003-03-12 John Levon <levon@movementarian.org>
4495 * text.C: fix newline in right address
4497 2003-03-12 Angus Leeming <leeming@lyx.org>
4499 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4500 duplicate those in LyXFunc::dispatch.
4504 * ToolbarDefaults.C:
4505 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4506 Add LFUN_FONTFREE_UPDATE.
4508 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4509 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4511 * bufferview_func.[Ch]: several new functions to facilliate
4512 transfer of data to and from the character dialog.
4514 2003-03-12 John Levon <levon@movementarian.org>
4519 * paragraph_funcs.C:
4520 * paragraph_pimpl.C:
4524 * text3.C: remove META_NEWLINE in favour of an inset
4527 * rowpainter.C: remove paintNewline (done by inset)
4529 2003-03-12 John Levon <levon@movementarian.org>
4531 * paragraph_pimpl.C: complain about bad getChar()s
4532 for a while at least
4534 2003-03-12 John Levon <levon@movementarian.org>
4537 * buffer.C: move paragraph read into a separate function,
4538 a little renaming to reflect that.
4541 * bufferparams.C: remove the author_ids map, not necessary now
4544 * factory.C: moved Buffer::readInset to here
4546 * paragraph_funcs.h:
4547 * paragraph_funcs.C: readParagraph free function moved from
4550 * tabular.C: name change
4552 2003-03-12 John Levon <levon@movementarian.org>
4555 * ParagraphParameters.C: move par params input to
4558 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4559 behave like a normal read from the stream wrt reading
4560 a line vs. a \\token
4562 2003-03-12 John Levon <levon@movementarian.org>
4565 * ParagraphParameters.h:
4566 * ParagraphParameters.C: move output code to a
4569 2003-03-12 John Levon <levon@movementarian.org>
4571 * BufferView.C (insertLyXFile):
4574 * tabular.C: use a parlist iterator for creating the
4577 2003-03-12 John Levon <levon@movementarian.org>
4579 * buffer.C: make current_change static local not
4582 2003-03-12 John Levon <levon@movementarian.org>
4584 * buffer.C: fix insertStringAsLines for change tracking
4586 2003-03-12 John Levon <levon@movementarian.org>
4593 * bufferparams.C: move author list into params. Rename some
4594 functions. Move the header reading into a separate token
4595 loop. Move the header token reading into BufferParams.
4597 2003-03-12 John Levon <levon@movementarian.org>
4599 * changes.C: put debug inside lyxerr.debugging() checks
4601 2003-03-11 André Pönitz <poenitz@gmx.net>
4603 * factory.C: make it aware of InsetHFill
4605 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4607 * buffer.C (latexParagraphs): move function from here...
4608 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4611 2003-03-10 Angus Leeming <leeming@lyx.org>
4613 * LyXAction.C (init): fix bug in poplating array with multiple entries
4614 with the same LFUN (spotted by JMarc).
4616 2003-03-10 John Levon <levon@movementarian.org>
4619 * text2.C: move getColumnNearX() near its
4622 2003-03-10 John Levon <levon@movementarian.org>
4624 * text.C: fix break before a minipage
4626 2003-03-10 John Levon <levon@movementarian.org>
4628 * text.C: fix the last commit
4630 2003-03-09 John Levon <levon@movementarian.org>
4634 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4635 bug 365 (don't break before insets unless needed). Don't
4636 return a value > last under any circumstances.
4638 2003-03-09 Angus Leeming <leeming@lyx.org>
4640 * BufferView_pimpl.C (trackChanges, dispatch): call
4641 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4643 2003-03-09 Angus Leeming <leeming@lyx.org>
4645 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4646 than Dialogs::showAboutlyx().
4648 2003-03-09 Angus Leeming <leeming@lyx.org>
4650 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4651 than Dialogs::showTabularCreate().
4653 2003-03-09 John Levon <levon@movementarian.org>
4657 * text2.C: 3rd arg to nextBreakPoint was always the same.
4660 2003-03-08 John Levon <levon@movementarian.org>
4667 * text2.C: Remove the "main" bit from the "main body"
4670 2003-03-08 John Levon <levon@movementarian.org>
4672 * text.C (leftMargin): The left margin of an empty
4673 manual label paragraph should not include the label width
4676 * text.C (prepareToPrint): don't attempt to measure hfills
4677 for empty manual label paragraphs - the answer should be 0
4679 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4681 * CutAndPaste.C: remove commented code and reindent.
4683 2003-03-08 John Levon <levon@movementarian.org>
4686 * lyxfunc.C: move reloadBuffer()
4689 * BufferView.C: to here
4691 * lyxvc.C: add comment
4694 * vc-backend.C: call bv->reload() to avoid
4695 getStatus() check on MENURELOAD
4697 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4699 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4700 to an old format .dep file.
4702 2003-03-07 Angus Leeming <leeming@lyx.org>
4704 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4705 when the LFUN_MOUSE_RELEASE should have been handled by
4706 inset->localDispatch.
4708 2003-03-07 Angus Leeming <leeming@lyx.org>
4710 * BufferView_pimpl.C (dispatch):
4711 * LyXAction.C (init):
4712 * ToolbarDefaults.C (init):
4714 * lyxfunc.C (getStatus):
4715 remove LFUN_INSET_GRAPHICS.
4717 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4719 2003-03-07 Angus Leeming <leeming@lyx.org>
4722 * LyXAction.C (init):
4723 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4725 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4728 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4730 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4731 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4733 2003-03-07 Angus Leeming <leeming@lyx.org>
4735 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4738 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * ParagraphList.C (front): new function
4743 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4745 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4746 and top_row_offset_. removed var first_y.
4748 * text2.C (LyXText, removeRow):
4750 * BufferView_pimpl.C:
4751 use these methods instead of using first_y
4753 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4755 * text2.C (pasteSelection): adjust for checkPastePossible
4757 * CutAndPaste.C: remove Paragraph * buf and replace with
4758 ParagraphList paragraphs.
4759 (DeleteBuffer): delete
4760 (cutSelection): change the tc type to textclass_type
4761 (copySelection): change the tc type to textclass_type
4762 (copySelection): adjust for ParagraphList
4763 (pasteSelection): change the tc type to textclass_type
4764 (pasteSelection): adjust for Paragraphlist
4765 (nrOfParagraphs): simplify for ParagraphList
4766 (checkPastePossible): simplify for ParagraphList
4767 (checkPastePossible): remove unused arg
4769 * ParagraphList.C (insert): handle the case where there are no
4772 * CutAndPaste.h: make CutAndPaste a namespace.
4774 * text3.C (dispatch): adjust
4776 * text.C (breakParagraph): add a ParagraphList as arg
4778 * paragraph_funcs.C (breakParagraph): change to take a
4779 BufferParams and a ParagraphList as args.
4780 (breakParagraphConservative): ditto
4781 (mergeParagraph): ditto
4782 (TeXDeeper): add a ParagraphList arg
4783 (TeXEnvironment): ditto
4786 * buffer.C (readLyXformat2): adjust
4787 (insertStringAsLines): adjust
4788 (latexParagraphs): adjust
4790 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4791 (cutSelection): adjust
4792 (pasteSelection): adjust
4794 * BufferView_pimpl.C (insertInset): adjust
4796 2003-03-05 Angus Leeming <leeming@lyx.org>
4799 * LyXAction.C (init):
4800 * BufferView_pimpl.C (dispatch):
4801 * lyxfunc.C (getStatus):
4802 remove LFUN_CHILD_INSERT.
4804 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4806 2003-03-05 Angus Leeming <leeming@lyx.org>
4809 * LyXAction.C (init):
4810 * src/factory.C (createInset):
4811 * lyxfunc.C (getStatus):
4812 * text3.C (dispatch):
4813 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4815 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4817 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4819 * ParagraphList.C (insert): handle insert right before end()
4820 (erase): fix cases where it can be first or last paragraph.
4822 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4824 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4825 Paragraph::next and Paragraph::previous
4828 * text.C (breakParagraph): adjust
4830 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4831 BufferParams& as arg.
4832 (breakParagraph): use ParagraphList::insert
4833 (breakParagraphConservative): take a Buffer* instead of a
4834 BufferParams& as arg.
4835 (breakParagraphConservative): use ParagraphList::insert.
4837 * buffer.C (insertStringAsLines): un-const it
4838 (insertStringAsLines): adjust
4840 * ParagraphList.C (insert): new function
4842 * CutAndPaste.C (pasteSelection): adjust
4844 * text.C (backspace): adjust
4846 * tabular.C (SetMultiColumn): adjust
4848 * CutAndPaste.C (cutSelection): adjust
4849 (pasteSelection): adjust
4851 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4852 Buffer const * as arg
4854 * ParagraphList.C (erase): new function
4855 * paragraph_funcs.C (mergeParagraph): use it
4856 (mergeParagraph): make it take a Buffer* instead of a
4857 BufferParams* as arg
4859 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4861 (breakParagraphConservative): ditto
4863 * paragraph.h: remove the breakParagraph friend
4865 * paragraph.C (eraseIntern): new function
4866 (setChange): new function
4868 * paragraph_funcs.C (mergeParagraph): make it take a
4869 ParagraphList::iterator instead of a Paragraph *, adjust
4872 * paragraph.h: move an #endif so that the change tracking stuff
4873 also works in the NO_NEXT case.
4875 2003-03-04 Angus Leeming <leeming@lyx.org>
4878 * LyXAction.C: new LFUN_INSET_MODIFY.
4880 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4881 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4883 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * several files: ws changes only
4887 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4888 (TeXEnvironment): ditto
4891 * buffer.C (makeLaTeXFile): adjust
4892 (latexParagraphs): make it take ParagraphList::iterator as args
4894 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4896 * buffer.C (latexParagraphs): adjust
4898 * paragraph.C (TeXOnePar): move function...
4899 (optArgInset): move function...
4900 (TeXEnvironment): move function...
4901 * paragraph_pimpl.C (TeXDeeper): move function...
4902 * paragraph_funcs.C: ...here
4904 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4906 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4908 * buffer.C (readInset): remove compability code for old Figure and
4911 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * buffer.C: ws changes
4916 * BufferView_pimpl.C: ditto
4919 * bufferlist.h: ditto
4923 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4925 * converter.[Ch]: split into itself +
4928 * Makefile.am: += graph.[Ch] + format.[Ch]
4935 * lyxrc.C: added #include "format.h"
4937 2003-02-27 Angus Leeming <leeming@lyx.org>
4939 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4942 * factory.C (createInset): add "label" to the factory.
4944 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4945 string and do no more.
4947 2003-02-27 Angus Leeming <leeming@lyx.org>
4950 * LyXAction.C (init):
4951 * factory.C (createInset):
4952 * BufferView_pimpl.C (dispatch):
4953 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4955 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4957 * lyxfunc.C (dispatch):
4958 * text3.C (dispatch): pass name to params2string.
4960 2003-02-26 Angus Leeming <leeming@lyx.org>
4962 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4964 Rearrange the ~includes. Strip out the unnecessary ones.
4966 * factory.C (createInset): reformat.
4967 create new insets for the various LFUN_XYZ_APPLY lfuns.
4969 2003-02-26 John Levon <levon@movementarian.org>
4972 * lyxrow.C: add isParStart,isParEnd helpers
4974 * paragraph.h: make isInserted/DeletedText take refs
4976 * paragraph_funcs.h:
4977 * paragraph_funcs.C: remove #if 0'd code
4982 * text.C: use lyxrow helpers above.
4983 Move draw and paint routines to RowPainter.
4984 Make several methods use refs not pointers.
4985 Make backgroundColor() const.
4986 Add markChangeInDraw(), isInInset().
4987 Merge changeRegionCase into changeCase.
4988 Make workWidth() shouldn't-happen code into an Assert.
4991 * rowpainter.C: new class for painting a row.
4994 * vspace.C: make inPixels take a ref
4996 2003-02-26 Angus Leeming <leeming@lyx.org>
4998 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5001 2003-02-25 John Levon <levon@movementarian.org>
5003 * ispell.C: give the forked command a more accurate name
5005 2003-02-22 John Levon <levon@movementarian.org>
5008 * toc.C: make TocItem store an id not a Paragraph *
5011 2003-02-21 Angus Leeming <leeming@lyx.org>
5013 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5014 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5015 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5016 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5017 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5018 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5020 * BufferView_pimpl.C (dispatch):
5021 * LyXAction.C (init):
5022 * factory.C (createInset):
5023 * lyxfunc.C (getStatus, dispatch):
5024 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5026 2003-02-21 Angus Leeming <leeming@lyx.org>
5028 * BufferView_pimpl.C (MenuInsertLyXFile):
5029 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5030 * lyxfunc.C (menuNew, open, doImport):
5031 no longer pass a LyXView & to fileDlg.
5033 2003-02-21 Angus Leeming <leeming@lyx.org>
5035 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5036 * LyXAction.C: change, BIBKEY to BIBITEM.
5037 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5038 Change InsetBibKey to InsetBibitem.
5039 Change BIBKEY_CODE to BIBITEM_CODE.
5040 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5041 * factory.C: replace insetbib.h with insetbibitem.h.
5042 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5043 * paragraph.C: replace insetbib.h with insetbibitem.h.
5044 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5045 Change bibkey() to bibitem().
5046 * text.C: remove insetbib.h.
5047 * text2.C: replace insetbib.h with insetbibitem.h.
5048 change bibkey() to bibitem().
5049 * text3.C: remove insetbib.h.
5050 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5052 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5054 * lyxrc.C (output): enclose user email in quotes (in case there are
5057 2003-02-18 John Levon <levon@movementarian.org>
5059 * buffer.h: add std::
5061 2003-02-17 John Levon <levon@movementarian.org>
5067 * pspell.C: reworking. Especially in ispell, a large
5068 number of clean ups and bug fixes.
5070 * lyxfunc.C: fix revert to behave sensibly
5072 2003-02-17 André Pönitz <poenitz@gmx.net>
5075 * commandtags.h: new LFUN_INSERT_BIBKEY
5085 * paragraph_func.C: remove special bibkey handling
5087 2003-02-17 John Levon <levon@movementarian.org>
5089 * text.C (Delete): fix case where delete at the end of
5090 the very first paragraph would not merge the pars
5092 2003-02-17 John Levon <levon@movementarian.org>
5094 * lyxrow.C: fix lastPrintablePos()
5096 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5098 * bufferparams.C (writeLaTeX): add a std:here
5100 * buffer.C: and remove a using directive there
5102 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5104 * buffer.C (makeLaTeXFile): move the code that generates the
5107 * bufferparams.C (writeLaTeX): ... in this new method
5109 * LaTeXFeatures.C (getEncodingSet): make const
5110 (getLanguages): make const
5112 * MenuBackend.C (binding): returns the binding associated to this
5114 (add): sets the status of each item by calling getStatus. Adds
5116 (read): add support for OptSubMenu
5117 (expand): remove extra separator at the end of expanded menu
5119 2003-02-15 John Levon <levon@movementarian.org>
5122 * BufferView_pimpl.C:
5124 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5125 inset code that had no actual effect. Remove unneeded status
5128 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5130 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5133 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5135 * text.C (drawLengthMarker): also draw an arrow marker for
5136 symbolic lengths (medskip...)
5138 2003-02-14 John Levon <levon@movementarian.org>
5141 * tabular.C: better method names
5143 2003-02-14 John Levon <levon@movementarian.org>
5145 * BufferView_pimpl.C:
5150 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5151 it's a more accurate name. Remove some pointless uses.
5153 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5155 * text2.C (LyXText): change order of initilizers to shut off
5158 2003-02-14 John Levon <levon@movementarian.org>
5160 * buffer.C: use ParIterator for getParFromID()
5164 * paragraph_pimpl.h:
5165 * paragraph_pimpl.C: remove unused getParFromID()
5167 2003-02-14 John Levon <levon@movementarian.org>
5169 * buffer.C: remove some very old #if 0'd parse code
5171 2003-02-13 John Levon <levon@movementarian.org>
5175 * text2.C: move hfillExpansion(), numberOfSeparators(),
5176 rowLast(), rowLastPrintable(), numberofHfills(),
5177 numberOfLabelHfills() ...
5180 * lyxrow.C: ... to member functions here.
5185 * text.C: remove LyXText::beginningOfMainBody(), and call
5186 p->beginningOfMainBody() directly. Move the check for
5187 LABEL_MANUAL into the latter.
5194 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5200 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5201 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5203 2003-02-13 John Levon <levon@movementarian.org>
5205 * CutAndPaste.C: remove debug
5207 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5209 * paragraph.C (asString): remove two unused variables
5211 * lyxtextclass.C (readTitleType):
5213 (LyXTextClass): handle new members titletype_ and titlename_
5215 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5217 2003-02-09 John Levon <levon@movementarian.org>
5220 * buffer.C: replace hand-coded list with a map for the dep clean
5222 2003-02-08 John Levon <levon@movementarian.org>
5224 * LaTeX.C: consolidate code into showRunMessage() helper
5226 2003-02-08 John Levon <levon@movementarian.org>
5231 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5232 and pass the size in explicitly
5234 * BufferView_pimpl.h:
5235 * BufferView_pimpl.C:
5237 * BufferView.C: add getCurrentChange()
5239 * BufferView_pimpl.h:
5240 * BufferView_pimpl.C: handle change lfuns
5242 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5243 for changes. Mark pasted paragraphs as new.
5245 * support/lyxtime.h:
5246 * support/lyxtime.C:
5247 * DepTable.C: abstract time_t as lyx::time_type
5250 * LColor.C: add colours for new text, deleted text, changebars
5252 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5253 package use "usenames" option.
5257 * LyXAction.C: add change lfuns
5261 * author.C: author handling
5264 * buffer.C: add a per-buffer author list, with first entry as
5265 current author. Handle new .lyx tokens for change tracking. Output
5266 author list to .lyx file. Output dvipost stuff to .tex preamble.
5267 Bump lyx format to 222.
5270 * bufferlist.C: add setCurrentAuthor() to reset current author details
5274 * bufferparams.C: add param for tracking
5276 * bufferview_funcs.C: output change info in minibuffer
5280 * changes.C: add change-tracking structure
5283 * debug.C: add CHANGES debug flag
5286 * lyxfind.C: add code for finding the next change piece
5289 * lyxrc.C: add user_name and user_email
5292 * lyxrow.C: add a metric for the top of the text line
5295 * text.C: implement accept/rejectChange()
5298 * text.C: paint changebars. Paint new/deleted text in the chosen
5299 colours. Strike through deleted text.
5303 * paragraph_pimpl.h:
5304 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5305 in the current change to the insert functions. Rework erase to
5306 mark text as deleted, adding an eraseIntern() and a range-based
5307 erase(). Implement per-paragraph change lookup and
5310 * paragraph_funcs.C: Fixup paste for change tracking.
5312 * tabular.C: mark added row/columns as new.
5314 * text.C: fix rowLast() to never return -1. Don't allow
5315 spellchecking of deleted text. Track transpose changes. Don't
5316 allow paragraph break or merge where appropriate.
5318 * text2.C: leave cursor at end of selection after a cut.
5320 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5322 * text.C (getLengthMarkerHeight):
5323 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5324 visible on screen too.
5326 2003-02-07 John Levon <levon@movementarian.org>
5328 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5330 2003-02-05 Angus Leeming <leeming@lyx.org>
5332 * lyxserver.C (read_ready): revert my patch of 11 September last year
5333 as it sends PC cpu through the roof. Presumably this means that
5334 the lyxserver will no longer run on an Alpha...
5336 2003-01-30 Angus Leeming <leeming@lyx.org>
5338 * factory.C (createInset): create an InsetCommandParam of type "index"
5339 and use it to 'do the right thing'.
5341 * text2.C (getStringToIndex): ensure that cursor position is always
5342 reset to the reset_cursor position.
5344 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5346 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5349 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5353 * lyxfunc.C: Output messages with identical spelling, punctuation,
5356 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5358 * MenuBackend.C (expandFormats): List only viewable export formats
5361 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5364 * lyxfunc.C (getStatus): Make sure that formats other than
5365 "fax" can also be disabled
5367 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5369 * text3.C (dispatch): put the lfuns that insert insets in 3
5370 groups, and call doInsertInset with appropriate arguments.
5371 (doInsertInset): new function, that creates an inset and inserts
5372 it according to some boolean parameters.
5374 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5376 * buffer.C (readFile): remember to pass on 'par' when calling
5377 readFile recursively.
5379 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5381 * MenuBackend.C (expandFormats): add "..." to import formats.
5383 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5385 * paragraph.C (asString): Remove XForms RTL hacks.
5387 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5388 * buffer.C: fix typo
5390 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5392 * Makefile.am (LIBS): delete var
5393 (lyx_LDADD): add @LIBS@ here instead.
5395 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5397 * Clarify the meaning of "wheel mouse jump"
5399 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5401 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5404 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5406 * importer.C (Loaders): do not preallocate 3 elements in the
5407 vector, since one ends up with 6 elements otherwise
5409 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5411 * DepTable.C (write): write the file name as last element of the
5412 .dep file (because it may contain spaces)
5413 (read): read info in the right order
5415 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5417 * paragraph_pimpl.C (simpleTeXBlanks):
5418 (simpleTeXSpecialChars):
5419 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5421 * tabular.C (latex): add some missing case statements. Reindent.
5423 * MenuBackend.C (expandToc): remove unused variable.
5425 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5434 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5437 2003-01-05 John Levon <levon@movementarian.org>
5440 * BufferView.C: add getEncoding()
5443 * kbsequence.C: do not store last keypress
5446 * lyxfunc.C: store last keypress here instead. Pass encoding
5449 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5451 * lyx_main.C (init): remove annoying error message when following
5452 symbolic links (bug #780)
5454 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5456 * text.C (insertChar):
5457 * lyxrc.C (getDescription): remove extra spaces
5459 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5461 * lyxrc.C (getDescription): remove extra spaces
5463 2002-12-20 John Levon <levon@movementarian.org>
5465 * text3.C: hack fix for page up/down across tall rows
5467 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5469 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5472 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5474 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5475 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5476 thesaurus is not compiled in
5478 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5480 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5482 2002-12-16 Angus Leeming <leeming@lyx.org>
5485 * lyx_main.C (init): remove override_x_deadkeys stuff.
5487 2002-12-12 John Levon <levon@movementarian.org>
5489 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5490 insert. Only remove shift modifier under strict
5493 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5495 * MenuBackend.C (expandToc): fix crash.
5497 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5499 * MenuBackend.C (expandToc): gettext on float names.
5501 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5503 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5504 implement bool empty() [bug 490]
5506 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5508 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5510 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5512 * several files: ws changes
5514 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5516 * text2.C (setCounter): clean up a bit, use boost.format.
5517 (updateCounters): initialize par upon declaration.
5519 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5520 if the layout exists. We do not just store the layout any more.
5521 (SwitchLayoutsBetweenClasses): use boost.format
5523 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5525 * converter.C (convert): if from and to files are the same, use a
5526 temporary files as intermediary
5528 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5531 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5533 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5535 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5537 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * tabular.C (asciiPrintCell): use string(size, char) instead of
5542 * sgml.C (openTag): fix order of arguments to string constructor
5545 * lyxfunc.C (dispatch): use boost.format
5547 * lots of files: change "c" -> 'c'
5549 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5551 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5553 2002-11-25 Angus Leeming <leeming@lyx.org>
5555 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5557 * lyx_main.C (init): compile fix.
5559 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * lyx_cb.C (start): boost.formatify
5562 do not include <iostream>
5564 * lengthcommon.C: ws only
5566 * boost-inst.C,BoostFormat.h: add more explict instantations
5568 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * lots of files: handle USE_BOOST_FORMAT
5572 2002-11-21 John Levon <levon@movementarian.org>
5574 * pspell.C: fix compile
5576 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5578 * lyxfunc.C (dispatch): use boost::format
5582 * lyxfont.C (stateText): use boost::format
5584 * lyx_main.C (LyX): use boost::format
5586 (queryUserLyXDir): ditto
5589 (typedef boost::function): use the recommened syntax.
5591 * importer.C (Import): use boost::format
5593 * debug.C (showLevel): use boost::format
5595 * converter.C (view): use boost::format
5600 * bufferview_funcs.C (currentState): use boost::format
5602 * bufferlist.C (emergencyWrite): use boost::format
5604 * buffer.C (readLyXformat2): use boost::format
5605 (parseSingleLyXformat2Token): ditto
5607 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5609 * LaTeX.C (run): use boost::format
5611 * Chktex.C (scanLogFile): use boost::format
5613 * BufferView_pimpl.C (savePosition): use boost::format
5614 (restorePosition): ditto
5615 (MenuInsertLyXFile): ditto
5617 * BoostFormat.h: help file for explicit instation.
5619 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5621 * tabular.C (latex): Support for block alignment in fixed width
5624 2002-11-17 John Levon <levon@movementarian.org>
5626 * BufferView_pimpl.C:
5628 * lyxfunc.C: split filedialog into open/save
5630 2002-11-08 Juergen Vigna <jug@sad.it>
5632 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5633 by my last patch (hopefully).
5635 2002-11-08 John Levon <levon@movementarian.org>
5644 * toc.C: ParConstIterator, and use it (from Lars)
5646 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5648 * lyxtextclass.[Ch]: revise and add doxygen comments
5650 2002-11-07 John Levon <levon@movementarian.org>
5652 * text.C: fix progress value for spellchecker
5654 * toc.C: fix navigate menu for insetwrap inside minipage
5656 * paragraph_funcs.C: added FIXME for suspect code
5658 2002-11-07 John Levon <levon@movementarian.org>
5660 * BufferView_pimpl.C: fix redrawing of insets
5663 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5665 * text2.C (updateCounters): fix bug 668
5667 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5669 * text3.C (dispatch): Do not make the buffer dirty when moving the
5672 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5674 * vc-backend.C: STRCONV
5677 * text2.C (setCounter): STRCONV
5679 * paragraph.C (asString): STRCONV
5681 * lyxlength.C (asString): STRCONV
5682 (asLatexString): ditto
5684 * lyxgluelength.C (asString): STRCONV
5685 (asLatexString): ditto
5687 * lyxfunc.C (dispatch): STRCONV
5690 * lyxfont.C (stateText): STRCONV
5692 * importer.C (Import): STRCONV
5694 * counters.C (labelItem): STRCONV
5695 (numberLabel): ditto
5696 (numberLabel): remove unused ostringstream o
5701 * bufferview_funcs.C (currentState): STRCONV
5703 * buffer.C (readFile): STRCONV
5704 (asciiParagraph): ditto
5705 (makeLaTeXFile): ditto
5707 * Spacing.C (writeEnvirBegin): STRCONV
5709 * LaTeXFeatures.C (getLanguages): STRCONV
5710 (getPackages): ditto
5712 (getBabelOptions): ditto
5713 (getTClassPreamble): ditto
5714 (getLyXSGMLEntities): ditto
5715 (getIncludedFiles): ditto
5719 (scanAuxFile): ditto
5722 * LString.h: add the STRCONV macros
5724 * BufferView_pimpl.C (savePosition): STRCONV
5725 (restorePosition): ditto
5726 (MenuInsertLyXFile): ditto
5728 * vc-backend.C (scanMaster): change from submatch[...] to
5731 * funcrequest.C: include config.h
5733 * factory.C: include config.h
5735 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5737 * box.C: include config.h
5739 * LaTeX.C (scanAuxFile): change from submatch[...] to
5743 2002-10-25 Angus Leeming <leeming@lyx.org>
5745 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5747 * ispell.[Ch] (setError): new method.
5748 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5749 Use setError() insetead of goto END.
5751 * lyx_cb.C (AutoSave): move out child process into new class
5754 2002-10-30 John Levon <levon@movementarian.org>
5756 * text3.C: make start appendix undoable
5758 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5760 * lyxlength.C (inPixels): Fix returned value.
5762 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5765 2002-10-24 Angus Leeming <leeming@lyx.org>
5767 * lyxgluelength.h: no need to forward declare BufferParams
5768 or BufferView, so don't.
5770 2002-10-21 John Levon <levon@movementarian.org>
5772 * BufferView.C: menuUndo ->undo, redo
5774 * BufferView.h: document, remove dead, make some methods private
5776 * paragraph_funcs.h:
5777 * paragraph_funcs.C:
5778 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5783 * sgml.C: move sgml open/close tag into sgml.C
5785 * bufferview_funcs.h: unused prototype
5788 * lyxfunc.C: remove unused
5791 * text.C: remove unused
5793 2002-10-21 John Levon <levon@movementarian.org>
5797 * BufferView_pimpl.h:
5798 * BufferView_pimpl.C: fix mouse wheel handling based on
5799 patch from Darren Freeman
5801 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5803 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5805 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5807 * lyxlength.C (inPixels): Fix hanfling of negative length.
5808 Fix LyXLength::MU case.
5810 2002-10-16 John Levon <levon@movementarian.org>
5812 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5814 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5816 * converter.C (view): add support for $$i (file name) and $$p
5817 (file path) for the viewer command. If $$i is not specified, then
5818 it is appended to the command (for compatibility with old syntax)
5820 2002-10-14 Juergen Vigna <jug@sad.it>
5822 * undo_funcs.C (textHandleUndo): alter the order in which the
5823 new undopar is added to the LyXText, as we have to set first
5824 the right prev/next and then add it as otherwise the rebuild of
5825 LyXText is not correct. Also reset the cursor to the right paragraph,
5826 with this IMO we could remove the hack in "redoParagraphs()".
5828 2002-10-09 Angus Leeming <leeming@lyx.org>
5830 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5831 to turn off an optimisation if a new inset is to be inserted.
5833 2002-10-11 André Pönitz <poenitz@gmx.net>
5835 * lyxtext.h: make some functions public to allow access
5836 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5838 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5840 * text3.C (dispatch): when changing layout, avoid an infinite loop
5843 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5845 * lyxrc.C (read): treat a viewer or converter command of "none" as
5848 * MenuBackend.C (expandFormats): for an update, also allow the
5849 formats that are not viewable
5851 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5852 script if it is newer than the lyxrc.defaults in user directory
5854 2002-10-07 André Pönitz <poenitz@gmx.net>
5856 * text.C: Vitaly Lipatov's small i18n fix
5858 2002-09-25 Angus Leeming <leeming@lyx.org>
5860 * ispell.h: doxygen fix.
5862 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5864 * buffer.h (readFile): Add a new argument to the method, to allow
5865 reading of old-format templates.
5867 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5869 * toc.C (getTocList): Get TOC from InsetWrap.
5871 2002-09-16 John Levon <levon@movementarian.org>
5873 * lyxfunc.C: check tabular for cut/copy too
5875 2002-09-12 John Levon <levon@movementarian.org>
5880 * factory.C: add header
5882 * paragraph_funcs.h:
5883 * paragraph_funcs.C: cleanup
5885 2002-09-11 John Levon <levon@movementarian.org>
5887 * PrinterParams.h: odd/even default to true
5889 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5891 * PrinterParams.h: update printer parameters for new xforms dialog
5893 2002-09-11 Angus Leeming <leeming@lyx.org>
5895 * lyxserver.C (read_ready): re-write to make it more transparent
5896 and to make it work in coherent fashion under Tru64 Unix.
5898 2002-09-11 André Pönitz <poenitz@gmx.net>
5902 * text3.C: implement LFUN_WORDSEL
5904 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5906 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5907 make floatlist_ a boost::shared_ptr<FloatList>
5909 * lyxtextclass.C: include FloatList.h
5910 (LyXTextClass): initialize floatlist_
5911 (TextClassTags): add TC_NOFLOAT
5912 (Read): match "nofloat" to TC_NOFLOAT and use it.
5913 (readFloat): modify call to floatlist_
5917 * FloatList.[Ch] (FloatList): remove commented out float
5919 (erase): new function
5921 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5923 * MenuBackend.C (expandToc): fix crash when there is no document
5926 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5928 * many files: Add insetwrap.
5930 2002-09-09 John Levon <levon@movementarian.org>
5932 * text2.C: remove confusing and awkward depth wraparound
5934 2002-09-09 John Levon <levon@movementarian.org>
5936 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5939 * buffer.C: remove getIncludeonlyList()
5942 * lyxfunc.C: remove headers
5944 2002-09-09 Juergen Vigna <jug@sad.it>
5946 * text.C (getColumnNearX): fix form Michael this is most
5947 probably a cut&paste bug.
5949 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5951 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5953 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5954 references, ws changes.
5956 * text2.C (init): update counters after init
5957 (insertParagraph): no need to set counter on idividual paragraphs.
5958 (setCounter): access the counters object in the textclass object
5959 on in the buffer object.
5960 (updateCounters): ditto
5962 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5963 shared_ptr<Counters> to avoid loading counters.h in all
5965 (LyXTextClass): initialize ctrs_
5966 (TextClassTags): add TC_COUNTER, and ...
5967 (Read): use it here.
5968 (CounterTags): new tags
5969 (readCounter): new function
5970 (counters): new funtion
5971 (defaultLayoutName): return a const reference
5973 * counters.C (Counters): remove contructor
5974 (newCounter): remove a couple of unneeded statements.
5975 (newCounter): simplify a bit.
5976 (numberLabel): some small formatting changes.
5978 * buffer.[Ch]: remove all traces of counters, move the Counters
5979 object to the LyXTextClass.
5981 2002-09-06 Alain Castera <castera@in2p3.fr>
5983 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5984 package to set the horizontal alignment on fixed width columns.
5987 * lyx_sty.h: added tabularnewline macro def.
5989 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5991 2002-09-06 John Levon <levon@movementarian.org>
5993 * LyXAction.C: tooltips for sub/superscript
5995 * MenuBackend.C: a bit more verbose
5997 * lyxfunc.C: tiny clean
5999 * undo_funcs.C: document undo_frozen
6001 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6003 * counters.C (Counters): add missing algorithm counter.
6005 * text2.C (setCounter): lookup the counter with layouts latexname
6006 instead of by section number.
6007 (setCounter): use a hackish way to lookup the correct enum
6009 a float name->type change
6010 reset enum couners with counter name directly instead of depth value.
6012 * counters.C (Counters): remove the push_backs, change to use the
6013 float type not the float name.
6014 (labelItem): remove unused string, float name->type change
6016 * counters.h: don't include vector, loose the enums and sects vectors
6018 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6020 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6021 (Read): add float->TC_FLOAT to textclassTags
6022 (Read): and handle it in the switch
6023 (readFloat): new function
6025 * FloatList.C (FloatList): comment out the hardcoded float
6028 * lyxlayout.h: ws change.
6030 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6032 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6034 2002-09-03 Angus Leeming <leeming@lyx.org>
6036 * BufferView_pimpl.h: qualified name is not allowed in member
6037 declaration: WorkArea & Pimpl::workarea() const;
6039 * factory.C: added using std::endl directive.
6041 * text3.C: added using std::find and std::vector directives.
6043 2002-08-29 André Pönitz <poenitz@gmx.net>
6046 * text2.C: remove unused member number_of_rows
6049 * BufferView2.C: remove file, move contents to...
6050 * BufferView.C: ... here
6052 * BufferView_pimpl.C:
6053 * factory.C: move more inset creation to factory
6055 * vspace.C: avoid direct usage of LyXText, ws changes
6058 don't provide direct access to WorkArea, use two simple
6059 acessors haveSelction() and workHeight() instead
6062 2002-08-29 John Levon <levon@movementarian.org>
6064 * BufferView_pimpl.C (dispatch): do not continue when
6067 2002-08-28 André Pönitz <poenitz@gmx.net>
6069 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6072 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6074 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6076 * buffer.C: increment LYX_FORMAT to 221
6078 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6079 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6081 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6083 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6085 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6087 * factory.C (createInset): use LyXTextClass::floats
6089 * MenuBackend.C (expandFloatListInsert):
6090 (expandFloatInsert):
6093 * text2.C (setCounter):
6095 * LaTeXFeatures.C (useFloat):
6096 (getFloatDefinitions):
6098 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6100 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6101 floatlist_, with accessor floats().
6103 * FloatList.h: remove global FloatList
6105 2002-08-26 André Pönitz <poenitz@gmx.net>
6107 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6111 * BufferView_pimpl.C:
6112 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6114 2002-08-25 John Levon <levon@movementarian.org>
6116 * LyXAction.C: fix margin note description
6118 2002-08-24 John Levon <levon@movementarian.org>
6122 * bufferview_funcs.C:
6124 * undo_funcs.C: cleanups
6126 * lyxfunc.C: disable CUT/COPY when no selection
6128 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6130 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6131 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6133 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6134 Add backward compatibility to "mono", "gray" and "no".
6136 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6138 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6139 (and file_format >= 200).
6141 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6143 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6145 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6147 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6149 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6151 * BufferView_pimpl.C:
6158 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6159 inset and code to make it work with the paragraph code. The inset
6160 can be anywhere in the paragraph, but will only do the expected
6161 thing in LaTeX if the layout file contains the parameter line
6163 (or more generally, a nonzero value) for that layout.
6165 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6167 * paragraph.h: remove the declaration of undefined counters class
6170 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6172 * text2.C (setCounter): fixed enumeration mis-count as reported by
6173 Dr. Richard Hawkins.
6175 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6177 * paragraph_funcs.h: remove some unneeded includes
6179 * text.C (backspace): pasteParagraph now in global scipe
6181 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6182 (pasteSelection): ditto
6184 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6185 * paragraph_funcs.C (pasteParagraph): ... here
6187 2002-08-20 André Pönitz <poenitz@gmx.net>
6189 * commandtags.h: new LFUNs for swapping/copying table row/colums
6192 * lyxfunc.C: support for new lfuns
6194 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6197 * buffer.[Ch]: remove NO_COMPABILITY stuff
6199 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6201 * boost.C (throw_exception): new file, with helper function for
6202 boost compiled without exceptions.
6207 * ParameterStruct.h:
6208 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6210 * bufferlist.C (emergencyWriteAll): use boost bind
6212 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6214 * text.C: include paragraph_funcs.h
6215 (breakParagraph): breakParagraph is now in global scope
6217 * paragraph_funcs.[Ch]: new files
6219 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6222 * buffer.C: include paragraph_funcs.h
6223 (insertStringAsLines): breakParagraph is now in global scope
6225 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6228 * CutAndPaste.C: include paragraph_funcs.h
6229 (cutSelection): breakParagraphConservative is now in global scope
6230 (pasteSelection): ditto
6232 * buffer.h: declare oprator== and operator!= for
6233 Buffer::inset_iterator
6235 * bufferlist.C (emergencyWrite): don't use fmt(...)
6237 * text3.C: add using std::endl
6239 * BufferView.C (moveCursorUpdate): remove default arg
6241 2002-08-20 André Pönitz <poenitz@gmx.net>
6243 * buffer.[Ch]: move inline functions to .C
6246 * BufferView_pimpl.C:
6248 * buffer.[Ch]: use improved inset_iterator
6251 * paragraph.[Ch]: write one paragraph at a time
6253 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6255 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6256 style if style is not specified.
6258 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6260 * text2.C (setCounter): when searching for right label for a
6261 caption, make sure to recurse to parent insets (so that a caption
6262 in a minipage in a figure float works) (bug #568)
6264 2002-08-20 André Pönitz <poenitz@gmx.net>
6266 * text3.C: new file for LyXText::dispatch() and helpers
6268 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6270 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6272 2002-08-19 André Pönitz <poenitz@gmx.net>
6275 * text.C: new LyXText::dispatch()
6277 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6279 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6281 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6283 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6286 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6288 * Makefile.am: use $(variables) instead of @substitutions@
6290 2002-08-15 André Pönitz <poenitz@gmx.net>
6293 * BufferView_pimpl.C: streamlining mathed <-> outer world
6297 * LyXAction.C: remove unused LFUN_MATH
6299 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6301 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6303 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6305 * paragraph.C (Paragraph): reformat a bit
6306 (cutIntoMinibuffer): use builtin InsetList function instad of
6310 * buffer.C: include boost/bind.hpp, add using std::for_each
6311 (writeFileAscii): use ParagraphList iterators
6312 (validate): use for_each for validate traversal of paragraphs
6313 (getBibkeyList): use ParagraphList iterators
6314 (resizeInsets): use for_each to resizeInsetsLyXText for all
6316 (getParFromID): use ParagraphList iterators
6318 * BufferView2.C (lockInset): use paragraph list and iterators
6320 2002-08-14 John Levon <levon@movementarian.org>
6322 * lyxserver.C: remove spurious xforms include
6324 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6326 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6328 2002-08-13 André Pönitz <poenitz@gmx.net>
6331 * lyxfunc.C: further cleaning
6333 2002-08-13 André Pönitz <poenitz@gmx.net>
6335 * funcrequest.h: new constructor
6337 * funcrequest.C: move stuff here from .h
6340 * BufferView_pimpl.C:
6343 * lyxfunc.C: subsequent changes
6345 * lyxfunc.h: new view() member function
6347 * lyxfunc.C: subsequent changes
6349 2002-08-13 Angus Leeming <leeming@lyx.org>
6352 * BufferView_pimpl.C:
6360 changes due to the changed LyXView interface that now returns references
6361 to member variables not pointers.
6363 2002-08-13 Angus Leeming <leeming@lyx.org>
6365 * WordLangTuple (word, lang_code): return references to strings,
6370 * lyxtext.h: forward-declare WordLangTuple.
6375 * text.C: #include "WordLangTuple.h".
6378 * text.C: (selectNextWordToSpellcheck): constify return type.
6380 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6386 * paragraph_pimpl.h:
6389 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6391 Made updateCounter always count from start of buffer, and removed
6392 second argument (par).
6393 Reverted floats number display to '#'. Perhaps I'll try again when the
6394 code base is sanitized a bit.
6396 2002-08-12 Angus Leeming <leeming@lyx.org>
6398 * buffer.[Ch] (getLabelList): constify.
6400 2002-08-07 André Pönitz <poenitz@gmx.net>
6402 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6404 * funcrequest.h: extension to keep mouse (x,y) position
6406 2002-08-12 Juergen Vigna <jug@sad.it>
6408 * BufferView2.C (insertErrors): forbid undo when inserting error
6411 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6413 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6415 * ParagraphList.[Ch]: new files
6417 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6419 * BufferView2.C (lockInset): ParagraphList changes
6422 * bufferlist.C: ditto
6426 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6429 unused class variable counter_,
6431 * paragraph.[Ch] (getFirstCounter): delete unused function
6433 * counters.C: include LAssert.h
6434 (reset): add a new function with no arg, change other version to
6435 not have def. arg and to not allow empty arg.
6437 * text2.C (setCounter): remove empty arg from call to Counters::reset
6439 2002-08-11 John Levon <levon@movementarian.org>
6441 * Makefile.am: add WordLangTuple.h
6443 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6445 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6446 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6448 * insets/insettext.C: InsetList changes
6450 * graphics/GraphicsSupport.C (operator()): InsetList changes
6452 * toc.C (getTocList): InsetList changes
6454 * paragraph_pimpl.[Ch]: InsetList changes
6456 * paragraph.[Ch]: InsetList changes
6458 * buffer.C (inset_iterator): InsetList changes
6459 (setParagraph): ditto
6460 * buffer.h (inset_iterator): ditto
6461 * iterators.C (operator++): ditto
6462 * iterators.h: ditto
6464 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6466 * InsetList.[Ch]: new files, most InsetList handling moved out of
6469 * BufferView2.C (removeAutoInsets): InsetList changes
6471 (ChangeInsets): ditto
6473 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6475 * paragraph_pimpl.h (empty): new function
6477 * paragraph.[Ch] (empty): new function
6479 * other files: use the new Paragraph::empty function
6481 2002-08-09 John Levon <levon@movementarian.org>
6483 * lyxtext.h: remove unused refresh_height
6485 2002-08-09 John Levon <levon@movementarian.org>
6492 * paragraph.C: move sgml char escaping out of paragraph
6495 * paragraph.C: remove id setter
6499 * paragraph_pimpl.C: remove dead tex_code_break_column
6501 * bufferview_funcs.C: small cleanup
6503 * lyxfunc.C: remove dead proto
6505 * lyxtext.h: make some stuff private. Remove some dead stuff.
6507 * lyxgluelength.C: make as[LyX]String() readable
6509 2002-08-08 John Levon <levon@movementarian.org>
6514 * ToolbarDefaults.C:
6517 * toc.C: lyxaction cleanup
6519 2002-08-08 John Levon <levon@movementarian.org>
6521 * BufferView2.C: small cleanup
6524 * lyxfind.C: move unnecessary header into the .C
6526 2002-08-08 John Levon <levon@movementarian.org>
6528 * funcrequest.h: just tedious nonsense
6531 * lyx_main.C: cleanups
6534 * vspace.C: remove dead header lyx_main.h
6536 2002-08-07 Angus Leeming <leeming@lyx.org>
6539 * paragraph_pimpl.h:
6540 Forward declare class Counters in paragraph.h by moving the ctrs member
6541 variable into Paragraph::Pimpl.
6542 (counters): new method, returning a reference to pimpl_->ctrs.
6544 * text2.C: ensuing changes.
6546 2002-08-07 John Levon <levon@movementarian.org>
6548 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6550 * BufferView_pimpl.C: announce X selection on double/triple
6553 * lyx_main.C: use correct bool in batch dispatch
6555 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6557 2002-08-07 André Pönitz <poenitz@gmx.net>
6559 * funcrequest.h: new class to wrap a kb_action and its argument
6562 * BufferView_pimpl[Ch]:
6566 * lyxrc.C: subsequent changes
6569 2002-08-07 John Levon <levon@movementarian.org>
6571 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6572 document options change.
6574 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6579 * makefile.am: move counters functionality over from
6580 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6582 2002-08-06 John Levon <levon@movementarian.org>
6584 * WordLangTuple.h: new file for word + language code tuple
6595 * BufferView2.C: use WordLangTuple
6598 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6600 2002-08-06 John Levon <levon@movementarian.org>
6602 * lyx_main.C: fix cmdline batch handling
6604 2002-08-06 André Pönitz <poenitz@gmx.net>
6606 * lyxrc.C: set default for show_banner to true
6608 2002-08-06 John Levon <levon@movementarian.org>
6610 * pspell.C: fix a crash, and allow new aspell to work
6612 2002-08-06 John Levon <levon@movementarian.org>
6615 * kbmap.C: small cleanup
6618 * vspace.C: add const
6620 2002-08-05 John Levon <levon@movementarian.org>
6622 * LyXAction.C: back to tabular-insert
6624 2002-08-04 John Levon <levon@movementarian.org>
6627 * BufferView.C: cosmetic change
6629 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6639 * BufferView2.C: purge all "Lyx" not "LyX" strings
6642 * lyxcursor.C: attempt to add some documentation
6647 * ToolbarDefaults.C:
6648 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6649 merge with LFUN_TABULAR_INSERT
6656 * pspell.C: split up i/pspell implementations into separate
6657 files, many cleanups
6659 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6661 * text2.C: some cleanup
6663 * lyxfunc.C: don't check for isp_command == "none" any more, it
6664 didn't make any sense
6666 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6671 * makefile.am: move counters functionality over
6672 from text2.C/paragraph.[Ch] to counters.[Ch], and
6674 2002-08-02 John Levon <levon@movementarian.org>
6676 * buffer.C: s/lyxconvert/lyx2lyx/
6678 2002-08-02 Angus Leeming <leeming@lyx.org>
6680 * lyxlex.C: revert John's change as it breaks reading of the user
6683 2002-08-02 Angus Leeming <leeming@lyx.org>
6685 * importer.C (Import):
6686 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6687 changes due to LyXView::view() now returning a boost::shared_ptr.
6689 2002-08-02 John Levon <levon@movementarian.org>
6691 * lyxlex.C: small cleanup
6693 2002-08-02 John Levon <levon@movementarian.org>
6695 * text2.C (status): small cleanup, no logic change
6697 2002-08-01 John Levon <levon@movementarian.org>
6700 * buffer.C (writeFile): don't output alerts, caller
6704 * lyx_cb.C: from above
6706 * lyxfunc.C: allow to open non-existent files
6708 2002-07-31 John Levon <levon@movementarian.org>
6710 * lyxserver.C: don't let incidental errors get
6713 2002-07-30 John Levon <levon@movementarian.org>
6715 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6717 2002-07-30 John Levon <levon@movementarian.org>
6720 * lyxserver.C: remove I/O callback too
6722 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6724 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6727 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6729 * many files: strip,frontStrip -> trim,ltrim,rtrim
6731 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6733 * PrinterParams.h: remove extern containsOnly, and include
6734 support/lstrings.h instead.
6736 * LaTeX.C (scanAuxFile): modify because of strip changes
6738 * buffer.C (makeLaTeXFile): ditto
6739 * bufferparams.C (writeFile): ditt
6740 * lyxfont.C (stateText): ditto
6741 * lyxserver.C (read_ready): ditto
6742 * vc-backend.C (scanMaster): ditto
6744 * BufferView_pimpl.h: ws changes
6746 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6748 2002-07-26 André Pönitz <poenitz@gmx.net>
6750 * kb_sequence.C: remove unnedred usings
6752 2002-07-26 Juergen Vigna <jug@sad.it>
6754 * lyxfind.C (LyXReplace): we have to check better if the returned
6755 text is not of theLockingInset()->getLockingInset().
6757 2002-07-25 Juergen Vigna <jug@sad.it>
6759 * lyxfind.C (LyXReplace): don't replace if we don't get the
6762 * undo_funcs.C (createUndo): remove debugging code.
6764 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6766 * buffer.C (parseSingleLyXformat2Token): Use default placement
6767 when reading old floats.
6769 * FloatList.C (FloatList): Change the default placement of figure
6770 and tables to "tbp".
6772 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6774 * MenuBackend.C: using std::max
6776 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6778 * MenuBackend.C (expandToc):
6779 (expandToc2): code moved from xforms menu frontend. It is now
6780 generic and TOCs are transparent to menu frontends.
6782 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6784 * toc.C (getTocList): protect against buf=0
6786 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6787 Menu as first parameter. Now, this calls itself recursively to
6788 expand a whole tree (this will be useful for TOC handling)
6789 (expandFloatInsert): remove 'wide' version of floats
6791 * MenuBackend.h (submenuname): returns the name of the submenu.
6792 (submenu): returns the submenu itself, provided it has been
6793 created by MenuBackend::expand
6795 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6797 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6798 insets which have noFontChange == true. (bug #172)
6800 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6802 * BufferView_pimpl.C: add connection objects and use them...
6805 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6807 * MenuBackend.C (expandLastfiles):
6810 (expandFloatListInsert):
6811 (expandFloatInsert):
6812 (expand): split expand in parts
6814 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6816 * lyx_gui.C: use lyx_gui::exit()
6818 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6820 * LyXAction.C: show the failing pseudo action
6822 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6824 * buffer.C (readFile): Run the lyxconvert script in order to read
6827 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6831 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6833 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6837 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6839 2002-07-22 Herbert Voss <voss@lyx.org>
6842 * lyxlength.[Ch]: add support for the vertical lengths
6844 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6846 * toc.[Ch]: std:: fixes
6848 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6850 * lyxrc.C: do not include lyx_main.h
6852 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6858 * BufferView2.C: include "lyxlex.h"
6861 * bufferparams.h: do not #include "lyxlex.h"
6863 * lyxtextclasslist.C (Add): remove method
6864 (classlist): renamed to classlist_
6866 * paragraph_pimpl.C:
6870 * bufferview_funcs.C:
6875 * toc.C (getTocList): use BufferParams::getLyXTextClass
6877 * toc.C (getTocList): use InsetFloat::addToToc
6879 * toc.[Ch]: new files, containing helper functions to handle table
6882 * lyxfunc.C (dispatch): no need to remove spaces around command
6884 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6885 first command of the sequence; it is not very clever, but I do not
6886 have a better idea, actually
6888 * LyXAction.C (LookupFunc): make sure to remove space at the
6889 beginning and end of the command
6891 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6893 * MenuBackend.C (getMenubar): new method: return the menubar of
6895 (read): treat differently reading of menu and menubar (in
6896 particular, the menubar has no name now)
6897 (Menu::menubar): remove
6899 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6902 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6904 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6905 a bibitem inset in a RTL paragraph.
6907 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6909 * paragraph_pimpl.C: constify
6911 * BufferView_pimpl.C:
6913 * lyxfunc.C: fix dispatch in a nicer way
6915 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6917 * lyxfunc.C (dispatch):
6918 * BufferView_pimpl.C:
6919 * BufferView_pimpl.h:
6921 * BufferView.h: rename Dispatch() to dispatch()
6923 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6925 * lyxlayout.C (Read): honor DependsOn tag
6927 * lyxlayout.[Ch] (depends_on): new method
6929 * version.C.in: update lyx_docversion
6931 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6933 * paragraph.C (validate): remove from here...
6934 * paragraph_pimpl.C (validate): ... and move here
6935 (isTextAt): make it const
6937 * buffer.C (getLists): ws cleanup
6939 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6941 * language.C (read): Use iso8859-1 encoding in latex_lang
6942 (this prevents LyX from crashing when using iso10646-1 encoding).
6944 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6946 * text2.C (toggleInset): if cursor is inside an inset, close the
6947 inset and leave cursor _after_ it
6949 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6951 * lyxfunc.C: move minibuffer completion handling out of here
6953 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6955 * BufferView_pimpl.C:
6956 * LaTeX.C: fix dispatch calls
6958 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6960 * text.C (drawChars): Fix Arabic text rendering.
6962 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6966 * lyxfunc.C: remove message-push/pop
6970 * lyxfunc.C: rationalise some code by removing verboseDispatch
6971 in favour of a bool argument to dispatch()
6973 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6975 * lyx_main.C (init): make sure to read symlinks as absolute paths
6977 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6980 * lyxfunc.C: no need for commandshortcut to be a member
6982 2002-07-15 André Pönitz <poenitz@gmx.net>
6984 * converter.C: add support for $$s (scripts from lib/scripts dir)
6985 * lyx_main.C: white space
6987 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6991 * lyxrc.C: remove second exit confirmation
6993 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6998 * BufferView_pimpl.h:
6999 * BufferView_pimpl.C:
7000 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7002 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7004 * MenuBackend.C (expand): add numeric shortcuts to document menu
7006 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7008 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7010 * lyxfont.C (setLyXFamily):
7017 * buffer.C (asciiParagraph): use ascii_lowercase
7019 2002-07-15 Mike Fabian <mfabian@suse.de>
7021 * lyxlex_pimpl.C (search_kw):
7022 * lyxlex.C (getLongString):
7023 * converter.h (operator<):
7024 * converter.C (operator<):
7025 * buffer.C (parseSingleLyXformat2Token):
7027 * ToolbarDefaults.C (read):
7028 * MenuBackend.C (checkShortcuts):
7030 * LColor.C (getFromGUIName):
7031 (getFromLyXName): use the compare_ascii_no_case instead of
7032 compare_no_case, because in turkish, 'i' is not the lowercase
7033 version of 'I', and thus turkish locale breaks parsing of tags.
7035 2002-07-16 Angus Leeming <leeming@lyx.org>
7037 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7038 now takes a Buffer const & argument.
7040 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7042 * BufferView.C (resize): check there's a buffer to resize
7044 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7046 * lyxfunc.C: remove dead code
7049 * lyxserver.C: use lyx_guii::set_read_callback
7051 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7053 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7054 an inset in a RTL paragraph.
7056 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7058 * lyxfunc.C: repaint after a font size update
7060 2002-07-15 André Pönitz <poenitz@gmx.net>
7062 * lyxlength.C: inBP should be able to return negative values
7064 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7066 * lyxfunc.C: use lyx_gui::update_fonts()
7068 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7070 * lyxfunc.C: use lyx_gui::update_color()
7072 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7078 * lyxrc.C: remove file->new asks for name option, and let
7079 buffer-new take an argument
7081 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7083 * BufferView_pimpl.C: remove unneeded extra repaint()
7085 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7087 * LyXAction.C: allow command-sequence with NoBuffer
7089 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7091 2002-07-10 Angus Leeming <leeming@lyx.org>
7093 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7095 2002-07-09 Angus Leeming <leeming@lyx.org>
7097 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7099 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7101 * lengthcommon.h: whitespace
7103 * lyxfunc.C: update scrollbar after goto paragraph
7105 * lyxtext.h: factor out page break drawing, and fix it so
7106 page break/added space paints as selected nicely
7108 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7110 * BufferView_pimpl.C: add FIXMEs, clean up a little
7112 2002-07-09 André Pönitz <poenitz@gmx.net>
7114 * lyxfont.[Ch]: support for wasy symbols
7116 2002-07-08 André Pönitz <poenitz@gmx.net>
7118 * BufferView_pimpl.C: apply John's patch for #93.
7120 2002-07-05 Angus Leeming <leeming@lyx.org>
7122 * BufferView_pimpl.C (buffer): generate previews if desired.
7124 * LColor.h: add "preview" to the color enum.
7126 * LColor.C (LColor): add a corresponding entry to the items array.
7128 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7131 2002-07-05 Angus Leeming <leeming@lyx.org>
7133 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7134 The body of the code is now in the method that is passed an ostream &
7135 rather than a file name.
7136 Pass an additional only_preamble parameter, useful for the forthcoming
7139 2002-07-03 André Pönitz <poenitz@gmx.net>
7141 * lyxfunc.C: simplify getStatus() a bit for math stuff
7143 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7145 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7147 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7149 * text.C (changeRegionCase): do not change case of all the
7150 document when region ends at paragraph end (bug #461)
7152 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7154 * paragraph.C (startTeXParParams):
7155 (endTeXParParams): add \protect when necessary
7157 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7159 * BufferView_pimpl.C (workAreaExpose): remove warning
7161 2002-06-27 Angus Leeming <leeming@lyx.org>
7163 * Makefile.am: add lyxlayout_ptr_fwd.h.
7165 2002-06-26 André Pönitz <poenitz@gmx.net>
7167 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7169 2002-06-25 Angus Leeming <leeming@lyx.org>
7171 * lyxfunc.C (dispatch): Comment out the call to
7172 grfx::GCache::changeDisplay. The method no longer exists now that the
7173 pixmap generation part of the graphics loader has been moved into
7176 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7178 * text2.C: layout as layout
7180 * text.C: layout as layout
7182 * tabular.C (OldFormatRead): layout as layout
7184 * paragraph_pimpl.C (TeXDeeper): layout as layout
7185 (realizeFont): layout as layout
7187 * paragraph.C (writeFile): layout as layout
7188 (validate): layout as layout
7189 (getFont): layout as layout
7190 (getLabelFont): layout as layout
7191 (getLayoutFont): layout as layout
7192 (breakParagraph): layout as layout
7193 (stripLeadingSpaces): layout as layout
7194 (getEndLabel): layout as layout
7195 (getMaxDepthAfter): layout as layout
7196 (applyLayout): layout as layout
7197 (TeXOnePar): layout as layout
7198 (simpleTeXOnePar): layout as layout
7199 (TeXEnvironment): layout as layout
7200 (layout): layout as layout
7201 (layout): layout as layout
7203 * lyxtextclass.C (compare_name): new functor to work with
7204 shared_ptr, layout as layout
7205 (Read): layout as layout
7206 (hasLayout): layout as layout
7207 (operator): layout as layout
7208 (delete_layout): layout as layout
7209 (defaultLayout): layout as layout
7211 * lyxlayout_ptr_fwd.h: new file
7213 * lyxlayout.C (Read): layout as layout
7215 * lyx_cb.C (MenuInsertLabel): layout as layout
7217 * bufferlist.C (newFile): layout as layout
7219 * buffer.C (readLyXformat2): layout as layout
7220 (parseSingleLyXformat2Token): layout as layout
7221 (insertStringAsLines): layout as layout
7222 (asciiParagraph): layout as layout
7223 (latexParagraphs): layout as layout
7224 (makeLinuxDocFile): layout as layout
7225 (simpleLinuxDocOnePar): layout as layout
7226 (makeDocBookFile): layout as layout
7227 (simpleDocBookOnePar): layout as layout
7228 (getLists): layout as layout
7230 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7232 * CutAndPaste.C (cutSelection): layout as layout
7233 (pasteSelection): layout as layout
7234 (SwitchLayoutsBetweenClasses): layout as layout
7236 * BufferView_pimpl.C (Dispatch): layout as layout
7237 (smartQuote): layout as layout
7239 * BufferView2.C (unlockInset): layout as layout
7241 2002-06-24 André Pönitz <poenitz@gmx.net>
7243 * lyxfunc.C: fix #487
7245 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7249 * lyxfunc.C: remove display_shortcuts, show_banner
7251 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7253 * Buffer_pimpl.C: oops, update on resize
7255 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7262 * BufferView.C: use repaint()
7264 * BufferView_pimpl.h:
7265 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7266 as it's a clearer description. Remove superfluous
7269 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7271 * text.C: fix bug 488. Not ideal, but getting
7272 getWord() to work properly for the insets that
7273 matter is more difficult ...
7275 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7277 * BufferView_pimpl.C:
7280 * lyxfunc.C: remove the six million index lyxfuncs to just
7281 one, and DTRT (bug 458)
7283 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7287 * BufferView_pimpl.h:
7288 * BufferView_pimpl.C: clean up resize() stuff,
7289 and unnecessary updateScreen()s
7291 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7295 * BufferView_pimpl.h:
7296 * BufferView_pimpl.C:
7299 * minibuffer.C: remove focus management of workarea,
7300 not needed. Use screen's greyOut()
7302 2002-06-17 Herbert Voss <voss@lyx.org>
7304 * converter.C: (convert) do not post a message, when converting
7305 fails, let the calling function decide what to do in this case
7307 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7309 * lyxfunc.C: tidy up a little
7311 2002-06-16 <alstrup@diku.dk>
7313 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7314 Got rid of FORMS_H_LOCATION include. Now we are
7317 2002-06-15 LyX Development team <lyx@rilke>
7319 * buffer.[Ch] (sgmlOpenTag):
7320 (sgmlCloseTag): Added support for avoiding pernicious mixed
7321 content. Return number of lines written.
7324 (makeDocBookFile): Fixed calls to sgml*Tag.
7325 Simple white space clean.
7327 (simpleDocBookOnePar): Simple white space clean.
7329 * tabular.[Ch] (docBook): Renamed to docbook and got another
7330 argument to related with the pernicious mixed content.
7332 (docbookRow): Fixed calls for docbook inset method.
7334 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7336 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7337 so it's X11 independent.
7341 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7343 2002-06-15 Lyx Development team <lyx@electronia>
7345 * intl.h: Renamed getTrans to getTransManager.
7347 2002-06-14 Angus Leeming <leeming@lyx.org>
7349 * Makefile.am: nuke forgotten stl_string_fwd.h.
7351 2002-06-12 Angus Leeming <leeming@lyx.org>
7353 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7355 2002-06-13 Angus Leeming <leeming@lyx.org>
7358 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7360 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7362 * kbmap.C (getiso): add support for cyrillic and greek
7364 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7368 * BufferView_pimpl.h:
7369 * BufferView_pimpl.C: move bogus scrolling logic
7372 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7375 * BufferView_pimpl.C: view->resize() change
7377 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7379 * BufferView_pimpl.C: topCursorVisible
7382 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7386 * lyx_gui.C: move to frontends/
7390 * lyx_main.C: changes from above
7392 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7399 * lyx_main.C: minor tidy
7401 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7403 * BufferView_pimpl.h:
7404 * BufferView_pimpl.C:
7406 * BufferView.C: make painter() const,
7409 * BufferView2.C: use screen() accessor
7412 * lyx_main.C: some minor cleanup
7414 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7416 * BufferView_pimpl.h:
7417 * BufferView_pimpl.C: remove enter/leaveView,
7420 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7425 * BufferView_pimpl.h:
7426 * BufferView_pimpl.C: only construct screen once,
7429 * lyxrc.C: remove pointless comment
7431 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7434 * BufferView.C: remove active() and belowMouse()
7436 * BufferView_pimpl.h:
7437 * BufferView_pimpl.C: use workarea() not workarea_,
7438 and make it use a scoped_ptr instead
7440 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7442 * lyx_gui.C: add debug message on BadWindow
7444 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7446 * sp_spell.C: fdopen is not part of the C++ standard.
7448 * paragraph.C (InsetIterator): use >= instead of ==
7450 2002-06-07 Angus Leeming <leeming@lyx.org>
7452 Fixes needed to compile with Compaq cxx 6.5.
7453 * BufferView_pimpl.C:
7460 * lyxtextclasslist.C:
7465 all c-library variables have been moved into namespace std. Wrap
7466 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7471 Add a using std::abs declaration.
7473 * kbmap.h (modifier_pair):
7474 * paragraph.h (InsetTable, InsetList):
7475 * lyxfont.h (FontBits):
7476 type definition made public.
7478 * bufferlist.C (emergencyWriteAll): the compiler complains that
7479 there is more than one possible lyx::class_fun template to choose from.
7480 I re-named the void specialisation as lyx::void_class_fun.
7482 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7484 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7485 the compiler is is unable to find tostr in write_attribute.
7487 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7489 * buffer.C (sgmlError): hide #warning
7491 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7493 * xtl/*: get rid of xtl, which is not in use anyway
7495 * LyXAction.C (init):
7496 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7497 were unimplemented xtl experimentation
7499 2002-06-04 André Pönitz <poenitz@gmx.net>
7501 * lyxfunc.C: disable array operation on simple formulae
7503 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7505 * converter.C: constify a bit
7507 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7509 * lyx_gui.C: check xforms version correctly
7511 2002-04-30 Herbert Voss <voss@lyx.org>
7513 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7516 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7518 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7519 attempt to register it with a VCS)
7521 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7523 * lyx_main.C (init): honor variables LYX_DIR_13x and
7526 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7530 * lyx_main.C: fix a crash on bad command line,
7531 and give a useful exit status on error
7533 * lyxfunc.C (doImport): allow -i lyx to work
7535 2002-03-30 André Pönitz <poenitz@gmx.net>
7537 * lyxfunc.C: mathed font changes
7539 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7554 * trans_mgr.h: srcdocs, and some minor cleanups
7556 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7558 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7559 call getFont all the time)
7561 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7563 * switch from SigC signals to boost::signals
7565 2002-05-29 André Pönitz <poenitz@gmx.net>
7567 * paragraph_pimpl.C (getChar): don't call size() too often...
7569 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7571 * paragraph_pimpl.C (insertChar): do not try to update tables when
7572 appending (pos == size())
7574 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7575 in order to reduce drastically the number of comparisons needed to
7576 parse a large document
7578 2002-05-29 André Pönitz <poenitz@gmx.net>
7584 * textclasslist.[Ch]:
7585 * sp_ispell.h: whitespace change
7587 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7589 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7590 lyxaction directly now.
7592 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7596 * lyxvc.C: remove unused headers
7598 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7605 * undo_funcs.C: some cleanups. Use shared_ptr
7606 and a template for the undo stacks.
7608 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7610 * BufferView_pimpl.h:
7611 * BufferView_pimpl.C:
7618 * text2.C: use key_state/mouse_state
7620 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7622 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7625 * chset.C: change include order
7626 (loadFile): use boost regex and get rid of LRegex and LSubstring
7628 * Makefile.am (BOOST_LIBS): new variable
7631 * LaTeX.C: change include order.
7632 (scanAuxFile): use boost regex and get rid of LRegex and
7636 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7641 * FontInfo.C: moved to frontends/xforms/
7644 * FontLoader.C: moved into frontends for GUIIzation
7649 * lyxfunc.C: changes from above
7651 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7653 * LColor.C: remove spurious X include
7655 * BufferView_pimpl.C:
7660 * text2.C: move font metrics to frontends/
7662 2002-05-24 Juergen Vigna <jug@sad.it>
7664 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7665 setting the undo_cursor.
7667 * ParagraphParameters.h: include local includes first.
7669 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7671 * BufferView_pimpl.C:
7672 * BufferView_pimpl.h:
7676 * screen.C: move WorkArea into frontends/
7682 * BufferView2.C: move LyXScreen into frontends/
7686 * lyx_gui.C: move lyxlookup into frontends/xforms/
7688 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7691 * BufferView_pimpl.C:
7701 * bufferview_funcs.C:
7714 * vc-backend.C: move LyX/XFormsView into frontends/
7716 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7728 * text2.C: move Painter to frontends/
7730 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7732 * buffer.C: comment out some some code that depend upon lyx_format
7735 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7736 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7738 * buffer.h (NO_COMPABILITY): turn off compability
7740 * ColorHandler.C: include scoped_array.hpp
7742 * font.C: Use more specific smart_ptr header.
7745 * ShareContainer.h: ditto
7749 * BufferView_pimpl.h: ditto
7750 * ColorHandler.h: ditto
7752 * kbmap.C (defkey): change call to shared_ptr::reset
7754 2002-05-21 Juergen Vigna <jug@sad.it>
7756 * buffer.C (insertErtContents): fix to insert ert asis if it is
7757 non empty. Skip it completely if it contains only whitespaces.
7759 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7761 * BufferView_pimpl.C:
7762 * BufferView2.C: clear selection on paste (bug 393)
7764 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7766 * DepTable.C: include ctime
7768 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7770 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7772 2002-05-14 Juergen Vigna <jug@sad.it>
7774 * text.C (breakParagraph): fixed function to honor the keepempty
7775 layout in the right maner and also to permit the right breaking
7776 algorithm on empty or non empyt keepempty paragraphs.
7778 * paragraph.C (breakParagraph): we have to check also if the par
7779 is really empty (!size()) for isempty otherwise we do the wrong
7782 2002-05-10 Juergen Vigna <jug@sad.it>
7784 * buffer.[Ch] : The following are only changes to the ert
7785 compatibility read reading old LaTeX layout and font stuff and
7786 convert it to ERTInsets.
7788 * buffer.h: added isErtInset().
7790 * buffer.C (struct ErtComp): add a fromlayout bool to check
7791 if we're inside a LaTeX layout.
7792 (isErtInset): new helper function.
7793 (insertErtContents): look for other ert insets before this one
7794 and insert the contents there, so that we don't have subsequent
7795 ERT insets with nothing between them. This way we create only one
7796 inset with multiple paragraphs. Also check if we don't insert only
7797 spaces ' ' as they are ignored anyway afterwards in the .tex file
7798 so if we have only spaces we will ignore this latex part in the
7800 (parseSingleLyXformat2Token \\layout): better compatibility when
7801 reading layout-latex stuff.
7802 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7804 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7805 stuff after reading the inset only get the information back from
7808 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7810 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7812 * LaTeXFeatures.C (getBabelOptions): New method.
7814 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7816 * BufferView_pimpl.C (Dispatch): work around missing argument for
7819 2002-05-08 Juergen Vigna <jug@sad.it>
7821 * text.C (leftMargin): handle paragraph leftindent.
7823 * paragraph.C (writeFile): write the new \\leftindent tag.
7824 (validate): handle leftindent code.
7825 (TeXEnvironment): handle paragraphleftindent code again.
7827 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7829 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7830 for paragrap_extra indent code and new token \\leftindent.
7831 (latexParagraphs): handle the leftindent as environment.
7833 * ParameterStruct.h: added leftindent support.
7835 * ParagraphParameters.C (leftIndent): added support functions for
7836 the paragraph left indent.
7838 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7841 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7843 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7846 * text.C (computeBidiTables): No bidi in insetERT.
7848 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7851 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7853 * version.C.in: pre 5
7855 2002-05-02 José Matos <jamatos@fep.up.pt>
7856 * buffer.C (makeDocBookFile): white space changes, add newline to
7858 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7860 * tabular.C (docBook): fix typo.
7862 2002-05-03 Juergen Vigna <jug@sad.it>
7864 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7865 change in LyXText as we can not be sure it was not freed.
7866 (drawOneRow): remove unused code.
7868 * text.C (drawInset): redo the calculation of the need_break_row as
7869 it could have a row which was already freed.
7870 (draw): look at the return value of drawInset and return false if
7871 it also returned false.
7872 (paintRowText): look at the return value of draw and return false if
7873 it also returned false.
7875 * lyxtext.h: added bool return type to drawInset() and draw() so that
7876 if we have a change in the row so that the rowbreak has to be redone
7877 we abort drawing as it will be called again.
7879 2002-05-02 Juergen Vigna <jug@sad.it>
7881 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7882 a change in the maintext also if we're inside an inset.
7883 (Dispatch): set the cursor again after a break line and after the
7884 screen has been updated as it could be we're in a different row.
7886 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7887 to set the cursor behind the pargraph with > size().
7888 (setCursor): check also for the same paragraph when checking where
7889 to put the cursor if we have a NFR inset.
7891 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7892 parts of layout read further up as it still was in the wrong
7895 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7897 * screen.C (drawFromTo): change sine fullRebreak always return
7900 * buffer.C (parseSingleLyXformat2Token): reindent some
7902 * BufferView_pimpl.C (update): change since fullRebreak always
7904 (Dispatch): git rid of the last hardcoded "Standard"s.
7906 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7908 * text2.[Ch] (fullRebreak): make it return void now that we always
7911 2002-04-30 Juergen Vigna <jug@sad.it>
7913 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7914 ert compatibility check for "latex" layout.
7916 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7918 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7919 minipages: use col% instead of p%, and also use the current font.
7920 (makeLaTeXFile): Fix use babel condition.
7921 (parseSingleLyXformat2Token): Correct font when reading old floats.
7923 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7925 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7926 inserting list of floats.
7928 2002-04-25 Herbert Voss <voss@lyx.org>
7930 * MenuBackend.C (expand): don't add the graphics extensions to the
7933 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7935 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7936 non-existing layout, do not complain if it was the default layout
7937 of the original class (bug #342)
7939 2002-04-24 Juergen Vigna <jug@sad.it>
7941 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7942 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7944 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7946 * buffer.C (getBibkeyList): If using \bibliography, return the
7947 option field with the reference itself. Enables us to provide natbib
7948 support when using \bibliography.
7950 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7952 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7954 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7955 natbib is provided by the LaTeX class.
7957 2002-04-23 Juergen Vigna <jug@sad.it>
7959 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7962 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7964 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7966 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7968 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7969 ensuremath around textordmasculine, textordfeminine and
7972 2002-04-19 Juergen Vigna <jug@sad.it>
7974 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7975 reinitializing the buffer otherwise row-dimensions may be wrong.
7976 (update): reset also the selection cursors if they do exits otherwise
7977 their x/y positions may be wrong.
7979 * text2.C (cursorDown): don't enter the inset if we came from a row
7980 above and are one row over the inset.
7982 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7983 really leaving an inset.
7985 2002-04-18 Juergen Vigna <jug@sad.it>
7987 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7988 of the selected paragraph does not have the selected layout also if
7991 * text2.C (setLayout): fixed bug which did not change last selected
7994 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7995 changed the read and substituted \\end_float with \\end_inset!
7997 * BufferView_pimpl.C (cursorPrevious):
7998 (cursorNext): fixed to make it work with rows heigher than the work
7999 area without moving the cursor only the draw of the row.
8000 (workAreaMotionNotify): fix jumping over high rows.
8002 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8004 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8007 2002-04-16 Juergen Vigna <jug@sad.it>
8009 * text2.C (setCursor): set also the irow().
8010 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8012 (cursorDown): support for locking an inset if the x_fix value goes
8013 inside it. That way I can transverse insets too with cursor up/down.
8015 * lyxrow.h: added irow helper function same as other (i) functions.
8017 * BufferView_pimpl.C (cursorPrevious):
8018 (cursorNext): fixed for insets!
8020 2002-04-15 Juergen Vigna <jug@sad.it>
8022 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8023 position otherwise it is wrong in some cases.
8025 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8026 inside the inset before the call.
8028 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8030 * buffer.[Ch] (getBibkeyList): make it const.
8032 2002-04-12 Juergen Vigna <jug@sad.it>
8034 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8036 * text2.C (getCursorX): new helper function
8037 (setCursor): compute also ix_
8038 (setCursorFromCoordinates): set also ix.
8040 * lyxcursor.h: added ix_ and helper functions.
8042 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8044 * buffer.C (insertStringAsLines): dont break paragraph if the this
8045 paragraph is inside an inset which does not permit it!
8047 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8048 also with no chars on this paragraph.
8049 (paintRowText): only paint stuff if it's inside the workarea!
8051 * paragraph.C (breakParagraph): honor keepempty flag and break the
8052 paragraph always below not above.
8054 * BufferView2.C (unlockInset): update the paragraph layout on inset
8055 unlock as we changed paragraph in such a case.
8057 * lyxfind.C (LyXFind): clear the former selection if not found!
8059 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8060 again called in insertChar().
8062 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8063 an inset which uses the whole row!
8064 (rightMargin): ditto.
8065 (insertChar): force a rebreak if we inserted an inset!
8067 2002-03-28 Herbert Voss <voss@lyx.org>
8069 * lyxlength.[Ch]: add inBP() to get the right PS-point
8070 units (BigPoint). With inPixels we have rounding errors
8072 2002-04-11 Juergen Vigna <jug@sad.it>
8074 * text2.C (setCursorFromCoordinates): set iy to the right value.
8075 (setCursor): add check if row->previous exists!
8077 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8078 an old float_type as this was the case in the old code!
8080 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8082 * BufferView2.C (showLockedInsetCursor): use iy
8083 (fitLockedInsetCursor): ditto
8085 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8086 locked insets as there we have the right value now.
8088 * lyxcursor.C: added iy_ variable and iy functions to set to the
8089 baseline of cursor-y of the locked inset.
8091 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8092 (setCursor): fixed for insets which need a full row.
8094 * text.C (rowLastPrintable): don't ignore the last space when before
8095 an inset which needs a full row.
8096 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8097 as last character of a row when before a inset which needs a full row.
8099 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8101 * version.C.in: update date
8103 * text2.C (fullRebreak): try to always return true and see what
8106 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8108 * MenuBackend.C (expand): use Floating::listName
8110 * FloatList.C (FloatList): add listName argument to the built-in
8113 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8114 text associated with the float.
8116 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8118 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8120 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8122 * ShareContainer.h: add a couple of missing typenames.
8124 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8126 * lyxrc.C (getDescription): use _() correctly rather than N_().
8128 2002-03-28 Herbert Voss <voss@lyx.org>
8130 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8131 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8133 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8135 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8136 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8138 2002-03-29 Juergen Vigna <jug@sad.it>
8140 * lyxfunc.C (dispatch): add a missing fitCursor call.
8142 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8143 it was scrolled by a cursor move, so return the bool status.
8145 * BufferView.C (fitCursor): return the bool flag also to the outside
8146 world as this is needed.
8148 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8150 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8151 call the edit() as it is not needed (and wrong) IMO.
8152 (workAreaButtonPress): set the screen_first variable before evt.
8153 unlock the inset as this may change screen_first and then we have
8154 a wrong y position for the click!
8156 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8158 * MenuBackend.C (expand): another translation that I missed
8160 2002-03-28 Juergen Vigna <jug@sad.it>
8162 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8164 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8166 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8168 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8170 * MenuBackend.C (expand): fix export/view/update when there is no
8173 2002-03-27 Herbert Voss <voss@lyx.org>
8175 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8178 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8180 * bufferview_funcs.C (currentState): only show paragraph number
8181 for is DEVEL_VERSION is set.
8183 * lyxfunc.C (dispatch): put warning in INFO channel
8185 * MenuBackend.C (expand): translate the name of floats
8187 * FloatList.C (FloatList): mark the float names for translation
8189 * converter.C (convert): use LibScriptSearch
8191 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8193 * MenuBackend.C (defaults): fix default menu (we might as well get
8196 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8198 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8201 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8203 * lyxvc.C: reorder includes.
8205 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8207 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8210 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8212 * CutAndPaste.C: change layouts earlier on paste
8213 to avoid crashing when calling getFont()
8215 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8217 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8220 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8222 * WorkArea.C: remove 'Pending' debug message.
8224 * most files: ws cleanup
8226 * buffer.[Ch]: ws changes
8228 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8230 2002-03-21 Juergen Vigna <jug@sad.it>
8232 * tabular.C (SetMultiColumn): collapse also the contents of the
8233 cells and set the last border right. Added a Buffer const * param.
8235 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8237 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8240 2002-03-19 Juergen Vigna <jug@sad.it>
8242 * text2.C (clearSelection): reset also xsel_cache.
8244 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8245 where it needs to be called (John tells us to do so too :)
8246 (selectionLost): reset sel_cache.
8248 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8250 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8252 * text2.C (setCursorIntern): put debuging code in INSETS channel
8254 2002-03-19 André Pönitz <poenitz@gmx.net>
8256 * lyxfunc.C: tiny whitespace change
8258 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8260 * ToolbarDefaults.C (init):
8261 * LyXAction.C (init):
8263 * BufferView_pimpl.C (Dispatch):
8264 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8266 2002-03-19 Allan Rae <rae@lyx.org>
8268 * exporter.C (Export): removeAutoInsets before doing anything else.
8269 While I've just introduced a dependency on BufferView this really is
8270 the best place to clean the buffer otherwise you need to cleanup in
8271 a dozen places before calling export or cleanup in a dozen functions
8274 * converter.C (runLaTeX):
8275 (scanLog): Better handling of removeAutoInsets and screen updates.
8277 * lyxfunc.C (dispatch): small whitespace changes
8279 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8281 * WorkArea.C (C_WorkAreaEvent): return a value.
8282 (event_cb): return 1 if we handled the event, 0 otherwise.
8284 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8286 2002-03-18 Juergen Vigna <jug@sad.it>
8288 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8289 (GetAdditionalWidth): ditto.
8293 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8294 inset if we're there actually (probably not used right now but this
8295 is the direction to go for unifying code).
8296 (paste): disable code to clear the selection.
8298 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8299 inside an InsetText and move the check further up as it is in the
8302 * text2.C (pasteSelection): set a selection over the pasted text.
8304 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8306 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8307 and libgraphics to build on Cygwin.
8309 2002-03-15 Juergen Vigna <jug@sad.it>
8311 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8312 inserting an Inset into the paragraph. I know this is not the best
8313 fix but we already use current_view in CutAndPaste so we will remove
8314 all of it's using at the same time.
8316 * buffer.C (sgmlError): deactivated function till it is rewritten in
8317 the right mode, now it can create problems.
8319 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8320 before accessing it.
8322 2002-03-14 Juergen Vigna <jug@sad.it>
8324 * undo_funcs.C (textHandleUndo): do the right thing when updating
8325 the inset after the undo/redo.
8327 * text2.C (setCursor): just some testcode for #44 not ready yet.
8329 * undo_funcs.C (textHandleUndo): set the next() and previous()
8330 pointers of the paragraph to 0 before deleting otherwise we have
8331 problems with the Paragraph::[destructor].
8333 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8334 on a paragraph insertion.
8336 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8338 * buffer.C (asciiParagraph): use += operator for char append to
8341 * paragraph.C (getFontSettings): compare >= not just >
8342 (highestFontInRange): ditto
8345 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8347 * paragraph.C: change several algorithm to be more appripriate for
8348 the problem domain. This is lookip in FontList and in the InsetList.
8350 2002-03-13 André Pönitz <poenitz@gmx.net>
8353 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8355 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8360 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8362 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8364 * Painter.C (display): anon helper function, adjust code for this
8366 (pixmap): remove function.
8368 * Painter.h: remove private display variable.
8370 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8372 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8374 * WorkArea.[Ch]: remove figinset_canvas cruft.
8376 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8378 * lyxtextclass.C (operator): add one item cache optimization.
8380 * bufferlist.h: doxy changes
8382 * bufferlist.C: ws changes
8384 * DepTable.[Ch] (ext_exist): place const in the right spot.
8386 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8388 (workAreaExpose): call resizeInsets when the with BufferView changes.
8389 (Dispatch): adjust for protectedBlank removal
8390 (specialChar): call updateInset if the insert went ok.
8392 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8393 specialChar instead.
8395 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8397 * BufferView.h: doxy change
8399 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8401 * lyxtextclass.C (operator[]): remove non-const version
8402 (defaultLayout): remove non-const version
8404 2002-03-12 Juergen Vigna <jug@sad.it>
8406 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8407 did resize the LyXText too.
8409 * buffer.C (readLyXformat2): set layout information on newly allocated
8412 * tabular.C (OldFormatRead): set layout information on the paragraph.
8414 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8416 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8418 2002-03-11 Juergen Vigna <jug@sad.it>
8420 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8422 (resizeCurrentBuffer): force also the insets to resize themselfes.
8423 (moveCursorUpdate): fixed up for InsetText.
8425 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8428 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8429 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8430 value of Dialogs::tooltipsEnabled().
8431 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8433 2002-03-08 Juergen Vigna <jug@sad.it>
8435 * BufferView_pimpl.C (updateInset): update inset inside inset also
8436 if it isn't inside theLockingInset().
8438 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8440 * buffer.C (asciiParagraph): redo some of the word and line length
8442 (getLists): look for Caption instead of caption.
8444 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8446 * buffer.C (Buffer): initialize niceFile to true
8449 (makeDocBookFile): make sure niceFile is true on exit
8451 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8453 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8455 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8457 * LyXSendto.C: remove.
8458 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8459 * lyx_gui.C: remove now-redundant comment.
8460 * ColorHandler.h: remove forward declaration of class WorkArea.
8461 * lyxfunc.C: remove #include "WorkArea.h".
8463 2002-03-07 Juergen Vigna <jug@sad.it>
8465 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8466 got moved away with the DEPM and also set the inset_owner always
8467 right which before could have been omitted.
8469 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8471 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8472 wanted layout is not found.
8474 2002-03-07 Juergen Vigna <jug@sad.it>
8476 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8478 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8480 * paragraph.C (breakParagraph): use default layout not layout of
8482 (Paragraph): clear ParagraphParameters.
8484 2002-03-06 Juergen Vigna <jug@sad.it>
8486 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8487 otherwise it would not be a valid lenght. Fixed a special case in
8488 the minipage compatibility read where we end the document with a
8491 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8492 was set as it could be 0 for InsetTexts first entry.
8494 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8496 * paragraph.C (writeFile): if layout is empty write out
8497 defaultLayoutName().
8499 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8500 file without named layout we set layout to defaultLayoutName().
8502 2002-03-06 Juergen Vigna <jug@sad.it>
8504 * CutAndPaste.C (copySelection): set layout for new paragraph.
8506 * text.C (prepareToPrint): leave ERT inset left aligned
8507 (leftMargin): don't indent paragraphs inside ERT insets
8509 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8511 * paragraph.C (breakParagraph): dont call clear do the work manually
8513 * paragraph.[Ch] (clear): remove function
8515 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8517 * paragraph.C (Paragraph): dont call clear, the work has already
8520 * lyxtextclass.C (operator): assert if n is empty
8522 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8523 work manually instead.
8525 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8527 * BufferView_pimpl.C: protect selectionLost against text == 0
8529 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8531 * text.C (breakParagraph): fix a setting layout to '0' problem.
8533 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8535 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8536 final location of file, for the included files, and graphics.
8538 2002-03-05 Juergen Vigna <jug@sad.it>
8540 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8542 2002-03-04 Juergen Vigna <jug@sad.it>
8544 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8546 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8547 last column of multicolumn cells.
8548 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8550 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8552 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8553 file if it doesn't go to a temporary file.
8555 * buffer.C (sgmlOpenTag):
8556 (sgmlCloseTag): remove extra newline insertion.
8558 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8560 * text.C (getRowNearY): comment out debug msg
8562 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8564 * text2.C: first -> first_y
8566 * text.C (getRowNearY): add some attemts at a possible
8567 optimization, not working.
8569 * tabular.[Ch]: add BufferParams to several function so that newly
8570 created paragraph can be initialized to he default layotu for the
8573 * tabular-old.C (ReadOld): add buf->params to call of Init
8575 * screen.C: rename text->first to text->first_y
8577 * paragraph.C (breakParagraph): always set layout in the broken
8580 * lyxtextclass.C (Read): remove lowercase
8583 (delete_layout): ditto
8585 * lyxtext.h: rename first -> first_y
8587 * lyxlayout.C (Read): remove lowercase
8590 (obsoleted_by): ditto
8592 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8594 * buffer.C (insertErtContents): add params are to InsetERT
8595 (parseSingleLyXformat2Token): add code to check if a paragraphs
8596 layout really exist.
8597 (parseSingleLyXformat2Token): add params to several inset
8599 (asciiParagraph): remove lowercase, do the layout comparisons with
8602 * BufferView_pimpl.C (cursorNext): first -> first_y
8603 (resizeCurrentBuffer): first -> first_y
8604 (updateScrollbar): first -> first_y
8605 (scrollCB): first -> first_y
8606 (workAreaMotionNotify): first -> first_y
8607 (workAreaButtonPress): first -> first_y
8608 (checkInsetHit): first -> first_y
8609 (cursorPrevious): first -> first_y
8610 (cursorNext): first -> first_y
8611 (Dispatch): add buffer_->params to severl inset contructors
8613 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8615 * lyxlayout.C (Read): remove some debug info that I forgot.
8617 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8618 clean up the code slightly.
8619 (makeLinuxDocFile): ditto
8620 (makeDocBookFile): ditto
8622 * text2.C: layout as string
8624 * text.C: layout as string
8626 * paragraph_pimpl.C: layout as string
8628 * paragraph.[Ch]: layout as string
8630 * lyxtextclasslist.[Ch]: layout as string
8632 * lyxtextclass.[Ch]: layout as string
8634 * lyxtext.h: layout as string
8636 * lyxlayout.[Ch]: layout as string
8638 * lyx_cb.C: layout as string
8640 * bufferview_funcs.C: layout as string
8642 * bufferparams.C: layout as string
8644 * buffer.C: layout as string
8646 * LyXView.[Ch]: layout as string
8648 * LaTeXFeatures.[Ch]: layout as string
8650 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8652 * BufferView_pimpl.C: change current_layout to string, remove
8657 (workAreaButtonRelease): layout as string
8659 * BufferView2.C (unlockInset): adjust
8661 * vspace.C (asLatexCommand): use an explict temp variable.
8663 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8665 * Makefile.am: use FRONTEND_*
8667 2002-03-01 Juergen Vigna <jug@sad.it>
8669 * tabular.C (SetWidthOfMulticolCell): changed to something better
8670 I hope but still work in progress.
8671 (recalculateMulticolumnsOfColumn): renamed function from
8672 recalculateMulticolCells as it is more appropriate now.
8673 (SetWidthOfCell): calculate multicols better.
8675 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8677 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8679 * lyxfunc.C (processKeySym): print sequence also if it is
8680 `deleted' (complete)
8682 * kbsequence.C (print): print sequence even if it is deleted
8683 (complete would be a better word, actually).
8685 * lyxfunc.C (dispatch): print complete options after a prefix key
8687 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8689 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8691 * text2.C (setCharFont): eliminate setCharFont code duplication.
8693 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8695 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8696 LFUN_TABULAR_FEATURE (bug #177)
8698 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8700 * Makefile.am: remove figure.h
8702 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8704 * Bufferview_pimpl.C:
8716 * text2.C: remove #include "lyx_gui_misc.h".
8718 * LaTeX.C: added #include <cstdio>
8720 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8722 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8723 that the paragraph following this one can have.
8725 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8727 * vspace.C (asLatexCommand): fix bogus gcc warning
8729 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8731 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8733 * text2.C (setLayout): get rid of redundant code
8735 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8737 * text2.C (incDepth): make sure depth cannot be increased beyond
8740 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8742 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8743 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8745 * PainterBase.h (image):
8746 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8749 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8753 * BufferView_pimpl.C:
8754 * BufferView_pimpl.h:
8774 * sp_spell.C: remove fig inset, and the crap house of
8775 cards that follows it
8777 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8783 * nt_defines.h: move .h into support/
8785 * vms_defines.h: remove
8787 * WorkArea.C: add space in debug output
8791 * buffer.C: add WITH_WARNINGS
8795 * bufferlist.C: s/retrive/retrieve/, add docs
8806 * lyxgui.C: add ID to X error handler
8808 * lyxtestclass.c: fix typo
8810 2002-02-26 Juergen Vigna <jug@sad.it>
8812 * tabular_funcs.C (write_attribute): changed so that some default
8813 attributes are not written at all.
8814 (getTokenValue): set default values before trying to read the
8815 value so we have the return value always set as default if we don't
8816 find the token we search for.
8818 * tabular.C (Write): write bools as bools not as strings!
8820 2002-02-22 Juergen Vigna <jug@sad.it>
8822 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8823 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8825 * text.C (leftMargin): don't add an indent for paragraphs inside
8826 tabular cells (fix #208).
8828 2002-02-21 José Matos <jamatos@fep.up.pt>
8830 * tabular.C (docBook): fixed support for long tables.
8832 2002-02-20 Juergen Vigna <jug@sad.it>
8834 * text2.C (getFont): get the drawing font of the Inset if this
8835 paragraph is inside an inset (only important for InsetERT for now).
8837 * buffer.C (insertErtContents): use new lanugage params in ERT
8840 * CutAndPaste.C: commenting out seemingly uneeded code.
8842 2002-02-19 Allan Rae <rae@lyx.org>
8844 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8845 Iterators might be simple to use but they also get invalidated.
8846 (removeAutoInsets): renamed saved cursor tracking variables and added
8847 some comments to clarify what everything does.
8849 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8856 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8857 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8860 * vc-backend.h: remove #include "support/syscall.h"
8864 * converter.C: rearrange #includes in Lars' approved fashion.
8866 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8867 forward declare class Timeout in the header file.
8869 * XFormsView.C: changes due to the above.
8871 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8874 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8875 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8877 2002-02-18 José Matos <jamatos@fep.up.pt>
8879 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8882 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8884 * a lot of small ws changes
8885 * add a lot of using std::XXX
8886 * use std construcs some places where approp.
8887 * use some exisint stuff from lyxfunctional where approp.
8888 * Make file changes to use partial linking (lets test this now...)
8890 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8894 remove #include "support/syscontr.h" as it's redundant. Always has been.
8902 change Systemcalls::System to Systemcalls::Wait and
8903 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8904 No change of functionality, just reflects the stripped down Systemcalls
8907 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8909 * debug.[Ch]: add a GRAPHICS type to the enum.
8911 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8913 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8915 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8918 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8920 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8921 match the changes below.
8923 * text2.C (toggleInset): if there is not editable inset at cursor
8924 position, try to see if cursor is _inside_ a collapsable inset
8927 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8929 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8930 document menu has a nice checkbox
8932 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8934 * lyxlength.C (asLatexString): change PW to output as percent of
8937 * lengthcommon.C: change '%' to 't%'
8939 * lyxfunc.C (dispatch): a few comments from Martin
8941 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8945 * BufferView_pimpl.h:
8946 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8949 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8951 * vspace.C (inPixels): fix compiler warning
8953 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8955 * lyxfunc.C (getStatus): fix status message for disabled commands.
8957 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8959 * BufferView_pimpl.C: fix crash on close buffer
8960 during selection (#227)
8962 2002-01-27 Herbert Voss <voss@lyx.org>
8964 * buffer.C: link old Figure to new graphic inset
8966 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8968 * FontLoader.C (getFontinfo): Change the latex font names in order
8969 to match the names of type1inst.
8971 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8973 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8975 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8978 (remove_files_with_extension): ditto
8979 (remove_file): ditto
8982 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8983 document is smaller than the work area height. Do not initialize
8984 static variables to 0.
8986 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8988 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8990 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8991 LFUN_LAYOUT_PARAGRAPHS.
8993 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8994 tabular. It is possible to provide a possible cell, which will
8995 typically be the actcell from the corresponding insettabular
8997 * lyxfunc.C (getStatus): small cleanup; disable
8998 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9001 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9003 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9005 * paragraph.C (startTeXParParams):
9006 (endTeXParParams): new methods. The LaTeX code to
9007 start/end paragraph formatting
9008 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9009 empty (fixes bug #200)
9011 * vspace.C (inPixels): adapt to the change below
9012 (inPixels): [later] more cleanups (remove unused variables)
9014 * lyxlength.C (inPixels): change to use a width and a height as
9017 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9019 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9020 Replaced with \paperwidth
9022 * DepTable.C (insert): add std:: qualifier
9024 2002-01-18 Allan Rae <rae@lyx.org>
9026 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9029 * text.C (drawInset): Turned out I didn't know enough about how
9030 rebreaking worked. This fixes most of the redraw problems. I see
9031 an occasional cursor trail when a line is broken now and the cursor
9032 placement can seem out by a few pixels also after a rebreak.
9034 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9036 * buffer.C (parseSingleLyXformat2Token): update because minipage
9037 width is now a LyXLength
9039 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9041 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9044 2002-01-17 Juergen Vigna <jug@sad.it>
9046 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9048 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9049 is set correctly and the inset is updated correctly.
9051 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9053 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9054 the beginning of the loop.
9056 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9058 * lyxrc.C: improve help for use_scalable_fonts
9060 2002-01-17 Allan Rae <rae@lyx.org>
9062 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9064 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9066 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9067 make sure to set their inset_owner to the right value (bug #171)
9069 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9072 * DepTable.C: Implement mtime checking to reduce time spent doing
9075 2002-01-16 Juergen Vigna <jug@sad.it>
9077 * tabular.C (GetAdditionalHeight): one of error fixed.
9079 * lyxrc.C (output): small fix in writing use_pspell.
9081 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9083 * sp_base.h: #include LString.h
9085 2002-01-16 Allan Rae <rae@lyx.org>
9087 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9088 Can someone check this please?
9090 * text.C (drawInset): It was possible that p.row would be removed by
9091 breakAgainOneRow upsetting a few other settings. There may be another
9092 small tweak possible by setting need_break_row = 0 when p.row has been
9093 removed but I don't know enough about the logic here.
9095 2002-01-15 Allan Rae <rae@lyx.org>
9097 * text.C (insertChar): removed conditional truism.
9099 * BufferView2.C (removeAutoInsets): More tweaks.
9100 cur_par_prev could be a stray pointer. Check for trailing empty line
9101 in case last line was cur_par and only had an error inset on it.
9103 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9105 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9108 * vc-backend.C (most methods):
9109 * exporter.C (Export):
9110 * converter.C (convert):
9112 * LyXSendto.C (SendtoApplyCB):
9113 * lyxfunc.C (dispatch):
9117 * lyx_cb.C (AutoSave):
9119 * BufferView_pimpl.C (MenuInsertLyXFile):
9120 * buffer.C (runChktex): use Buffer::filePath().
9122 * buffer.h: rename filename to filename_; rename filepath to
9123 filepath_ and make it private
9124 (filePath): new method
9126 * buffer.C (writeFile): use fileName()
9129 * lyx_main.C (init): fix starting of LyX when the binary is a
9130 link from so,ewhere else.
9132 * minibuffer.C: include <cctype> for isprint
9134 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9136 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9137 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9138 name clash with InsetCollapsable's width function.
9140 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9142 * lastfiles.C: include <iterator>
9144 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9146 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9149 * buffer.C (makeLaTeXFile): ditto.
9150 Also make loop operation more transparent.
9152 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9154 * ToolbarDefaults.C: remove trailing comma closing namespace.
9156 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9158 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9161 * trans.C (Load): comment out unused variable, allowed.
9163 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9165 * minibuffer.[Ch] (append_char): new method to recieve input from the
9166 drop-down completion browser. If a key was pressed, then recieve this
9167 char and append it to the existing string.
9168 (peek_event): modify the positioning data passed to the completion
9169 browser so that it can be placed above the minibuffer rather than below.
9170 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9172 * LyXAction.C (init): alloe error-next for readonly documents.
9174 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9177 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9179 * bufferlist.C (readFile): create the buffer _after_ checking that
9182 * lyxfunc.C (verboseDispatch): fix handling of arguments
9184 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9186 * lyxrc.C: use string::erase() instead of initializing to "".
9189 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9191 * BufferView_pimpl.h:
9192 * BufferView_pimpl.C:
9195 * text2.C: tell X when we have made a selection for copying
9197 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9199 * BufferView_pimpl.C (MenuInsertLyXFile):
9200 * lyxfunc.C (menuNew):
9202 (doImport): add shortcuts to directory buttons
9204 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9207 * lyxfunc.C (setStatusMessage):
9208 (getStatusMessage): new methods
9209 (getStatus):use setStatusMessage instead of setErrorMessage
9210 (dispatch): when function is disabled, set error message here
9211 [instead of in getStatus previously]
9213 * BufferView_pimpl.C (workAreaButtonRelease): update
9214 toolbar/menubar here too.
9216 2002-01-13 Allan Rae <rae@lyx.org>
9218 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9219 Now seems indestructible. Remaining task is to audit all other
9220 code affected by deleteEmptyParagraphMechanism. One small quirk
9221 left is that an empty document with an error in the preamble can
9222 be made to report an error but no error box appears. I don't know
9224 (removeAutoInsets): Improved comments.
9226 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9229 * Thesaurus.C: update for Aiksaurus 0.14
9231 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9233 * text2.C (firstParagraph): removed member function, all uses
9234 replaces with ownerParagraph
9235 (redoParagraphs): here
9237 (toggleAppendix): here
9238 * BufferView2.C (insertErrors): here
9239 (setCursorFromRow): here
9241 2002-01-13 Allan Rae <rae@lyx.org>
9243 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9244 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9245 There is still a way to segfault this although you may have to do this
9246 multiple times: Have an InsetERT with an unknown command in it.
9247 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9248 <down-arrow>, <Enter> again, View->DVI, BANG!
9250 * text2.C (setCursor):
9251 (deleteEmptyParagraphMechanism):
9252 * lyxtext.h (setCursor):
9253 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9254 Making use of the return value may help fix other bugs.
9256 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9258 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9260 * LyXView.C (updateMenubar): call MenuBar::update here
9261 (updateToolbar): but not here
9262 (showState): do not update toolbar/menubar
9264 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9265 should need to care about that.
9267 * lyxfunc.C (verboseDispatch): simplify a bit
9268 (getStatus): have a version which takes a pseudoaction, and
9269 another which requires a (kb_action,string).
9271 * LyXAction.C (retrieveActionArg): make it work also when action
9272 is not a pseudo-action.
9273 (getActionName): simplify a bit
9276 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9278 * lyxfunc.C (verboseDispatch): new families of methods with
9279 several ways to specify a command and a bool to indicate whether
9280 the command name and shortcut should be displayed in minibuffer
9281 (eventually, we could extend that to a finer bitmask like
9282 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9283 (dispatch): the pristine dispatch command which just, well,
9284 dispatchs! Note it still sets its result to minibuffer; I'm not
9287 * lyxfunc.h: remove setHintMessage
9289 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9291 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9293 * BufferView_pimpl.C (specialChar): delete new inset if we have
9294 not been able to insert it.
9296 * kbmap.C: revert to using int instead of kb_action, since all we
9297 are dealing with is pseudo-actions.
9299 * LyXAction.C (searchActionArg): change to return int instead of
9300 kb_action, since the result is a pseudoaction.
9302 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9304 * buffer.C (insertErtContents): Fix (partially) the font bug.
9306 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9308 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9309 as the other one is broken on my machine!
9311 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9314 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9316 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9318 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9319 reflect their actual use. Provide compatibility code for older lyxrc
9322 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9324 change names of popup font variables in line with the changes to lyxrc.C
9326 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9328 * buffer.C (asciiParagraph): avoid outputing a word twice after
9331 * lyxrc.C (getDescription): document that document_path and
9332 template_path can be empty.
9334 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9336 * LaTeXFeatures.C (getMacros):
9337 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9339 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9341 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9343 (getPackages): rename feature "floats" to "float". Use an array to
9344 iterate over 'simple' features (i.e. just a \usepackage). Add
9345 handling of "amsmath" (renamed from "amsstyle").
9347 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9349 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9352 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9354 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9355 FuncStaus::FuncStatus & FuncStaus::some_method().
9357 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9359 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9360 of the func_satus stuff. Edited and massaged in various ways by
9363 * lyxfunc.C (getStatus): use FuncStatus
9365 2002-01-08 Juergen Vigna <jug@sad.it>
9367 * text.C (nextBreakPoint): use function Inset::isChar().
9369 * paragraph.C (TeXOnePar): use function
9370 Inset::forceDefaultParagraphs.
9372 * buffer.C (latexParagraphs): use function
9373 Inset::forceDefaultParagraphs.
9375 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9377 * lyx_gui.C (init): set the style of the menu popups to
9378 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9380 2002-01-07 Juergen Vigna <jug@sad.it>
9382 * text.C (setHeightOfRow): small fix
9383 (prepareToPrint): don't look at alignment if we don't have the place
9386 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9388 * box.C: New file. Move the Box methods and functions out of box.h,
9389 following Lars' suggestion.
9391 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9393 * box.h: #include "support/LOstream.h", needed for inlined function.
9396 * lyxtextclasslist.C: added some using std declarations.
9398 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9400 * box.h: make signed dimensions to allow insets wider than
9401 the screen (bug #162)
9403 * BufferView_pimpl.C: add some insetHit debug
9405 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9407 * vc-backend.C: add FIXME
9409 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9411 * lyxfunc.C (getStatus): enable code for showing math font status
9414 2002-01-07 Juergen Vigna <jug@sad.it>
9416 * text.C (nextBreakPoint): removed debug output not needed anymore.
9418 2002-01-06 Juergen Vigna <jug@sad.it>
9420 * text.C (nextBreakPoint): fixed up this function we had this bug
9421 since ever but now hopefully we break row better.
9422 (insertChar): we have to check if an inset is the next char as it
9423 could now happen that a large inset is causing a break.
9425 2002-01-05 Juergen Vigna <jug@sad.it>
9427 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9428 if it doesn't like to be drawed.
9430 2002-01-04 Juergen Vigna <jug@sad.it>
9432 * BufferView2.C (lockInset): forgot to set a cursor.
9434 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9436 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9441 * form_maths_panel.C:
9442 * form_maths_panel.h:
9443 * form_maths_panel.fd: implemented sub- and super- buttons in math
9446 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9447 (or ^ space) to be used as in TeX (req'd by André).
9449 * lyxfunc.C: Allow ^ and _ again to be used both as
9450 super/subscript (mathed) and as themselves (in text).
9452 2002-01-03 Allan Rae <rae@lyx.org>
9454 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9455 "LyX" or the filename of the current buffer if it has one. This is a
9456 modified form of John Levon's patch.
9458 * XFormsView.C (setWindowTitle): also set icon title.
9460 * LyXView.h (setWindowTitle): signature changed.
9461 * XFormsView.h (setWindowTitle): ditto.
9463 2002-01-02 Juergen Vigna <jug@sad.it>
9465 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9467 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9469 * screen.C (topCursorVisible): introduce a temp var for
9470 text->cursor.row(), handle the case where this row is null. (kindo
9473 * text2.C (setCursor): add a couple of asserts.
9475 * paragraph.h (inset_iterator): add -> operator
9477 * paragraph.[Ch] (autoDeleteInsets): remove member function
9479 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9480 cursor pos correctly and handle inset deletion by itself.
9481 (insertErrors): move iterator declaration out of for expression
9483 * lyxtextclass.C: add <algorithm>
9485 * Makefile.am: added the new files to sources, removed layout.C
9487 * layout.C: removed file
9489 * layout.h: remove LYX_DUMMY_LAYOUT
9491 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9495 * lyxtextclass.[Ch]:
9496 * lyxtextclasslist.[Ch]: new files
9498 * include order changes to a lot of files, also changes because of
9501 2001-12-27 Juergen Vigna <jug@sad.it>
9503 * buffer.C (asciiParagraph): more fixes.
9505 * tabular.C (ascii): make ascii export support export of only the
9506 data separated by a column-delimiter.
9507 (ascii): better support for ascii export.
9509 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9511 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9513 * tabular_funcs.C: use a "using std::getline" instead of the
9514 previous fix from Angus (necessary for cxx + lyxstring)
9516 2001-12-24 Juergen Vigna <jug@sad.it>
9518 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9520 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9521 problems. First check a minipage also if we have some ert-contents
9522 (not only on par->size(), second set the right depth of the paragraph
9523 on the relink to the root-paragraph-list!
9525 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9526 which then did not anymore update the main paragraphs on undo/redo!
9528 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9530 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9531 code. Support all font-changing funcs (even those which are not in
9532 menu currently). Support for reporting font settings in
9533 mathed (disabled until Andre provides a function on mathed's side).
9535 * func_status.h (toggle): small helper function to set toggle
9538 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9540 * tabular_funcs.C: getline -> std::getline
9542 2001-12-21 Juergen Vigna <jug@sad.it>
9544 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9545 accessed and could be 0 (I couldn't generate this but it seems
9548 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9550 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9551 * tabular_funcs.h: here and include iosfwd
9553 2001-12-20 Juergen Vigna <jug@sad.it>
9555 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9556 inside inset but undo_par was.
9558 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9560 * Thesaurus.C: always include <config.h> in sources.
9564 * box.h: do not include <config.h> in header files
9566 * text.C (paintLastRow): remove unused variable
9568 * text.C (transformChar):
9570 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9573 * font.C (width): rewrite to use uppercase() instead of
9576 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9578 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9580 * lyxfind.C: clean up of find failure position change
9582 2001-12-20 Juergen Vigna <jug@sad.it>
9584 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9586 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9587 (TeXRow): added to LaTeX a single tabular row.
9588 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9589 (Latex): simplified and finally good LT-h/f support.
9590 (various_functions): just small adaptions for LT-h/f support.
9592 * tabular_funcs.[hC]: added and moved here all not classfunctions
9595 2001-12-19 Juergen Vigna <jug@sad.it>
9597 * tabular.[Ch]: better support for longtabular options (not finished
9600 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9602 * text.C (paintLastRow): use the label font instead of the font of
9603 the last character to compute the size of *_BOX. This makes more
9604 sense and avoids a crash with empty paragraphs.
9605 Use Painter::rectangle to draw EMPTY_BOX.
9607 2001-12-19 Juergen Vigna <jug@sad.it>
9609 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9610 the paragraphs if the replaced paragraph is not the first one!
9611 Tried to delete not used paragraphs but does not work yet so for
9612 now it's inside #ifdef's and by default off!
9614 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9616 * MenuBackend.C: include "lyx_main.h" instead of declaring
9617 lastfiles (actually was declared as LastFiles* instead of a
9620 2001-12-17 Juergen Vigna <jug@sad.it>
9622 * tabular.C (AppendColumn): applied John's fix
9624 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9628 * BufferView_pimpl.h:
9629 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9632 * box.h: new start of class for above
9634 * lyxfunc.C: ignore space-only minibuffer dispatches.
9635 Show the command name when it doesn't exist
9637 * minibuffer.C: don't add empty lines to the history
9639 * minibuffer.C: add a space on dropdown completion
9641 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9643 * text.C: fix line above/below drawing in insets
9645 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9647 * lyxlength.C (LyXLength): Initialize private variables.
9649 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9651 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9652 when inserting error insets.
9654 2001-12-13 Juergen Vigna <jug@sad.it>
9656 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9657 actually sometimes the before-paragraph.
9658 (setUndo): don't clear the redostack if we're not actually undoing!
9660 2001-12-06 Juergen Vigna <jug@sad.it>
9662 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9663 and fixed redoing of main paragraph, so we can use it now ;)
9665 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9667 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9669 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9672 2001-12-13 André Pönitz <poenitz@gmx.net>
9675 * undo_func.C: minor cleanup
9677 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9679 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9680 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9681 font in urw-fonts package which is marked as -urw-fontspecific and
9682 does not work (incidentally, changing the encoding in the
9683 fonts.dir of this package to -adobe-fontspecific fixes the
9686 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9687 is a crash when undoing first paragraph (Juergen, please take a
9688 look). THis does not mean the undo fix is wrong, just that it
9691 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9692 the (Paragraph*) version when needed instead of duplicating the
9695 * text.C (workWidth): use Inset::parOwner to find out where the
9696 inset has been inserted. This is a huge performance gain for large
9697 documents with lots of insets. If Inset::parOwner is not set, fall
9698 back on the brute force method
9700 * paragraph_pimpl.C (insertInset):
9701 * paragraph.C (Paragraph):
9702 (cutIntoMinibuffer): set parOwner of insets when
9703 inserting/removing them
9705 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9707 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9713 * mathed/formulabase.C:
9714 * mathed/math_cursor.[Ch]:
9715 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9718 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9720 * lyxlength.[Ch] (operator!=): new function
9722 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9724 * text.C (workWidth): use Inset::parOwner to find out where the
9725 inset has been inserted. This is a huge performance gain for large
9726 documents with lots of insets. If Inset::parOwner is not set, fall
9727 back on the brute force method
9729 * paragraph_pimpl.C (insertInset):
9730 * paragraph.C (Paragraph):
9731 (cutIntoMinibuffer): set parOwner of insets when
9732 inserting/removing them
9734 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9736 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9738 * tabular-old.C (getTokenValue):
9739 * tabular.C (getTokenValue):
9740 (write_attribute): new versions for LyXLength
9741 (everywhere): adjust the use of widths
9743 * tabular.h: change the type of widths from string to LyXLength
9745 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9747 * paragraph.C: fixed missing line number count when exporting
9748 Environments to LaTeX file
9750 * buffer.C: added informational message for checking line numbers.
9752 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9754 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9755 paragraph, do the 'double space' part, but not the 'empty
9758 * text.C (workWidth): small optimization
9759 (getLengthMarkerHeight): use minimal size for negative lengths.
9761 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9763 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9765 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9767 2001-12-11 André Pönitz <poenitz@gmx.net>
9770 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9772 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9774 * text2.C: keep selection on a setFont()
9776 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9778 * lyx_cb.C: another bv->text misuse, from insert label
9780 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9783 * kbsequence.C: re-instate nmodifier mask
9785 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9787 * lyx_main.h: make lyxGUI private.
9789 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9791 * lyxfind.C: place the cursor correctly on failed search
9793 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9795 * text.C (getLengthMarkerHeight): for small heights, the arrows
9796 are not always on top/bottom of the text
9797 (drawLengthMarker): smaller arrows; take the left margin in
9798 account; draw also vfills.
9800 (paintLastRow): remove special code for vfill and standard spaces,
9801 since everything is handled in drawLengthMarker now.
9803 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9805 * buffer.C (insertErtContents): try to handle font and language
9806 interaction a bit better.g
9808 * ColorHandler.C (updateColor): change the hash to cover the whole
9809 LColor enum, ws cleanup
9810 (getGCLinepars): ditto
9811 (getGCLinepars): only lookup in the linecache once.
9813 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9815 * iterators.C (operator++): Make the iterator more robust
9817 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9819 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9821 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9824 * text.C: better added space drawing
9826 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9829 * BufferView2.C: fix layout combo update on inset unlock
9831 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9833 * Makefile.am: don't compile unused files
9835 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9839 * LyXAction.C: remove old LFUN_LAYOUTNO
9841 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9843 * paragraph_pimpl.h:
9844 * paragraph_pimpl.C: isTextAt() doesn't need font param
9846 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9849 * lyxlex.C: little cleanup
9851 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9853 * BufferView_pimpl.C: fix insertAscii for insets
9855 2001-12-05 Juergen Vigna <jug@sad.it>
9857 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9858 set the right font on the "multi" paragraph paste!
9860 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9866 * lyxlength.C: remove out-commented code.
9882 * vc-backend.C: change "while(" to "while ("
9884 * lyxlength.[Ch]: add zero function to check if length is zero or
9886 * lyxgluelength.C: use it
9888 2001-12-05 Allan Rae <rae@lyx.org>
9890 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9891 Works for 2.95.3, from what I understand of Garst's reports this should
9892 work for other g++ versions. We're screwed if the abs(int) definition
9893 changed between bugfix releases of gcc.
9895 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9897 * text.C: fix chapter label offset !
9899 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9902 * text.C: fix hfill at end of line, clean up
9904 2001-12-04 Juergen Vigna <jug@sad.it>
9906 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9907 that we force an update of the inset and it's owners if neccessary.
9909 2001-12-03 Juergen Vigna <jug@sad.it>
9911 * text.C (rowLast): simplified code
9913 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9915 * lyxfunc.C: fix show options on timeout
9917 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9919 * screen.C (topCursorVisible): scroll half a page when the cursor
9920 reached top of bottom of screen
9922 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9924 * minibuffer.C: deactivate on loss of focus
9926 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9928 * vspace.[Ch] (operator!=): add operator.
9930 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9932 * BufferView_pimpl.C: refuse to open an inset when
9933 there's a selection.
9935 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9937 * BufferView_pimpl.C: allow to click on RHS of full row insets
9939 2001-11-30 Juergen Vigna <jug@sad.it>
9941 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9942 insets for undo reasons.
9944 2001-11-28 André Pönitz <poenitz@gmx.net>
9946 * vspace.[Ch]: cosmetical changes
9948 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9958 * kbsequence.C: part re-write of old kb code
9961 * WorkArea.C: remove Lgb_bug_find_hack
9963 2001-11-30 José Matos <jamatos@fep.up.pt>
9965 * buffer.C (makeDocBookFile): add a comment to point a hack.
9966 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9967 Fixed a double write of labels.
9969 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9972 * LaTeX.h Fixed bug in LaTeX class where it would not
9973 re-run latex if no depfiles were changed, but the .dvi was removed.
9975 2001-11-28 André Pönitz <poenitz@gmx.net>
9977 * all the files from the change on 2001/11/26:
9978 use lyx::layout_type instead of LyXTextClass::size_type
9979 use lyx::textclass_type instead of LyXTextClassList::size_type
9981 2001-11-29 Juergen Vigna <jug@sad.it>
9983 * text.C: added support for paragraph::isFreeSpacing()
9985 * buffer.C: same as above
9987 * paragraph.h: inserted isFreeSpacing() function to enable
9988 FreeSpacing inside InsetERT.
9990 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9991 of the paragraph's in the cut/copy buffer to 0!
9993 * text2.C (removeRow): remove the assert as it can!
9995 * lyxtext.h: added helper function firstRow returning firstrow and
9996 made firstrow private again.
9998 * BufferView2.C (lockInset): don't relock if we're already locked!
10000 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10001 the only paragraph.
10002 (removeRow): added Assert::(firstrow)
10004 * debug.C: forgot to add INSETTEXT here.
10006 2001-11-28 Juergen Vigna <jug@sad.it>
10008 * sp_spell.C (initialize): changed error text to more general
10009 spellchecker command use (not only ispell!)
10011 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10013 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10015 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10017 * vspace.C: initialise lyxgluelength on failure
10019 2001-11-28 Allan Rae <rae@lyx.org>
10021 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10022 declaration & definition that looks like a function declaration.
10024 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10026 * BufferView2.C (copy):
10027 (copyEnvironment): do not clear the selection when doing a copy.
10029 * text.C (paintFirstRow): compilation fix
10031 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10033 * tabular.C (Latex): correct line count when writing latex.
10035 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10037 * paragraph_pimpl.h:
10038 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10041 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10045 * LColor.C: change vfillline->added_space
10047 * text.C: add markers and text for added space
10049 * vspace.C: fix comment
10051 2001-11-28 André Pönitz <poenitz@gmx.net>
10053 * paragraph.C: whitespace changes
10054 * all the other files from the change on 2001/11/26:
10055 change *::pos_type into lyx::pos_type
10057 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10059 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10060 language of the document when inserting error insets.
10062 2001-11-26 André Pönitz <poenitz@gmx.net>
10064 * BufferView_pimpl.[Ch]:
10072 * paragraph_pimpl.[Ch]:
10075 * text2.C: reduce header dependencies, introduce type for positions
10077 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10079 * <various>: change to use Alert.h
10081 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10083 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10084 when encountering an unknown token.
10085 (readLyXformat2): Show an error message if there were unknown tokens.
10087 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10090 * BufferView_pimpl.C:
10094 * text2.C: use par->isInset()
10096 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10098 * paragraph_pimpl.h:
10099 * paragraph_pimpl.C: cleanup
10101 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10103 * text2.C (removeRow):
10104 * text.C (setHeightOfRow): remove useless (and costly) call to
10107 2001-11-20 Allan Rae <rae@lyx.org>
10109 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10110 Now need Inset*::checkInsertChar() to return true for appropriate
10111 cases so that the characters in the minibuffer will actually be
10114 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10116 * text.C: change the order of the includes.
10117 (workWidth): initialize it at once.
10118 (workWidth): make maxw unsigned
10119 (setHeightOfRow): remove unused variable (inset)
10120 (selectSelectedWord): remove unused variable (inset)
10121 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10123 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10125 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10126 server is not running.
10128 (closeConnection): add debug info when server is disabled.
10130 * ColorHandler.C (getGCForeground): send debug message to GUI
10133 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10135 * kbmap.C (bind): modify because return conventions of
10136 kb_sequence::parse have changed.
10138 * kbsequence.C (parse): only ignore spaces and not any stupid
10139 control character. This avoids tests like s[i] <= ' ', which are
10140 guaranteed to fail with 8bit characters and signed chars.
10141 Change return code to string::npos when there have been no error
10142 (0 was a bad idea when error is at first character)
10144 2001-11-14 José Matos <jamatos@fep.up.pt>
10147 * buffer.C (simpleDocBookOnePar): removed unused argument.
10149 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10151 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10152 insets which are part of a word. Paragraph::isLetter takes care of
10153 that now. Use Paragraph::isInset to identify insets.
10154 (selectSelectedWord): do not test for hyphenation break.
10156 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10157 that protected spaces are considered as spaces.
10159 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10162 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10165 * lyxserver.C: fix it. and small cleanup.
10167 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10169 * BufferView_pimpl.C: use inline helpers
10172 * LaTeXFeatures.C: fix typos
10175 * Spacing.C: move spacing_string into class
10177 * ToolbarDefaults.C: move stuff into namespace anon
10179 * layout.h: update enum
10181 * lyxfunc.C: use better debug
10183 * minibuffer.h: fix typo
10187 * WorkArea.C: add and use Debug::WORKAREA
10191 * text2.C: code re-organisation, inline helpers
10193 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10195 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10196 std::vector.empty().
10198 2001-11-09 Allan Rae <rae@lyx.org>
10200 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10201 '\n's after tables. Tabular and ERT inset work now makes this no
10204 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10207 * minibuffer.C: fix crash, improve drop-down completion
10209 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10212 * lyxserver.C: invalidate fd's when doing endPipe()
10214 2001-11-08 José Matos <jamatos@fep.up.pt>
10216 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10217 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10220 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10222 2001-11-07 José Matos <jamatos@fep.up.pt>
10225 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10228 * buffer.C (sgmlOpenTag):
10229 * buffer.C (sgmlCloseTag): removed debug info.
10231 * buffer.h (sgmlOpenTag):
10232 * buffer.h (sgmlCloseTag): made public.
10234 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10236 * buffer.C (saveParamsAsDefaults):
10237 * lyx_cb.C (MenuLayoutSave): remove
10239 * LyXAction.C (init):
10241 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10243 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10245 * buffer.C (setPaperStuff): removed from here...
10247 * bufferparams.C (setPaperStuff): ... and moved there.
10249 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10253 * XFormsView.C: add support for drop-down completion
10255 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10257 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10260 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10262 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10265 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10267 * lyx_main.C: change ref to known bugs
10269 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10271 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10272 to work around older babel problems.
10274 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10276 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10278 2001-10-24 Juergen Vigna <jug@sad.it>
10280 * tabular-old.C (ReadOld): below variable changes reflected.
10282 * tabular.[Ch]: added ltType struct for longtable header/footer
10283 defines and changed all instances where they are used. Added
10284 future support for double top/bottom rows.
10286 2001-10-24 José Matos <jamatos@fep.up.pt>
10288 * buffer.h (docbookHandleCaption):
10289 * buffer.C (docbookHandleCaption): removed unused function.
10290 (makeDocBookFile): moved docbook supported version to v4.1.
10292 2001-10-24 José Matos <jamatos@fep.up.pt>
10295 * tabular.C (docbookRow): new function to export docbook code of a row.
10296 (DocBook): now honors the longtable flags.
10298 2001-10-23 José Matos <jamatos@fep.up.pt>
10301 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10302 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10304 * buffer.C (makeLinuxDocFile):
10305 (makeDocBookFile): reworked the preamble, more clean, and with
10306 support for lyx defined entities. Changed the document declaration
10307 to be more XML friendly.
10309 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10310 if we need to output XML that should be done with a filter.
10312 2001-10-22 Juergen Vigna <jug@sad.it>
10314 * sp_pspell.h (class PSpell): add alive function needed in the
10315 controller to see if the spellchecker could be started.
10317 2001-10-22 Juergen Vigna <jug@sad.it>
10319 * buffer.C (insertStringAsLines): modify the font for inserting
10320 chars in certain conditions by calling checkInsertChar(font).
10322 2001-10-19 Juergen Vigna <jug@sad.it>
10324 * text.C (workWidth): use getRow instead of wrong algorithm.
10325 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10327 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10332 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10334 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10336 * text.C (workWidth): do not search for the exact row when
10337 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10338 optimization for big documents.
10340 2001-10-18 Juergen Vigna <jug@sad.it>
10342 * text.C (workWidth): new function with added Inset * parameter.
10344 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10346 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10348 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10349 change return type of getColumnNearX.
10352 * text.C (changeRegionCase): use uppercase/lowercase instead of
10355 (rightMargin): simplify code by factoring out the uses of
10360 (appendParagraph): use Paragraph::size_type
10362 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10364 * vspace.C (asLatexString): add a missing break
10366 2001-10-15 Herbert Voss <voss@perce.de>
10368 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10370 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10372 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10375 2001-10-10 André Pönitz <poenitz@gmx.net>
10377 * lyxfunc.C: removed greek_kb_flag.
10379 2001-10-10 Herbert Voss <voss@perce.de>
10381 * lyx_main.C: delete global string help_lyxdir.
10383 2001-10-09 Herbert Voss <voss@perce.de>
10385 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10387 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10389 * lyx_main.C: added global string help_lyxdir.
10391 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10393 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10395 * lyxrc.C (set_font_norm_type): support iso8859-4
10397 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10399 * LaTeX.C (deplog): add another regex for MikTeX
10401 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10403 * lyxrc.C (set_font_norm_type): support iso8859-3
10405 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10407 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10409 * LaTeXFeatures.C: remove special case of french and index
10411 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10412 before \begin{document}). This solves several incompatibilities.
10414 2001-10-03 Garst Reese <reese@isn.net>
10416 * lyx_cb.C: change CheckTex error msg.
10418 2001-10-03 José Matos <jamatos@fep.up.pt>
10420 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10422 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10424 * .cvsignore: update
10426 * lyx_main.C (commandLineVersionInfo): use new style version info.
10428 * buffer.C (writeFile):
10430 (makeLinuxDocFile):
10431 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10433 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10435 * version.h: update to use stuff in version.C
10437 * version.C.in: new file. Contains version information determined
10438 at compile time. This is a merging of version.h and
10441 2001-10-03 Juergen Vigna <jug@sad.it>
10443 * BufferView_pimpl.C (update): don't change "dirty" status in
10446 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10448 * WorkArea.C (c-tor): re-position version string slightly.
10450 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10452 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10453 revert to previous code.
10455 WorkArea.[Ch]: (show, destroySplash): methods removed.
10457 WorkArea.C: rework code so that it's an amalgam of the codes before and
10458 after the splash screen was moved to WorkArea.
10460 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10463 * vspace.C (inPixels):
10466 * buffer.C (insertStringAsLines):
10467 (asciiParagraph): fix types to be large enough
10469 * lyxlex_pimpl.h: change member status from short to int
10471 * layout.h: fix type of endlabeltype
10474 * kbsequence.C (parse): change return type to string::size_type
10476 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10479 * Bullet.C (bulletSize):
10480 (bulletEntry): do not use short ints as parameters
10482 * BufferView2.C (insertLyXFile): change a char to an int.
10484 * WorkArea.C (WorkArea): remove unneeded floats in computation
10486 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10488 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10490 * paragraph.C (asString): Do not ignore newline/hfill chars when
10491 copying to the clipboard.
10493 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10495 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10496 after a multi-line inset.
10498 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10500 * paragraph.C (validate): Set NeedLyXFootnoteCode
10502 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10504 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10505 and decrease-error to decrease.
10507 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10509 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10510 it more readable (should be equivalent)
10512 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10514 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10516 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10518 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10519 of a cursor (row, etc.) after a character has been deleted
10520 (deleteEmptyParagraphMechanism): call the method above on _all_
10521 cursors held by the LyXText when a double space has been
10524 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10526 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10528 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10530 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10531 background. Use greyOut() and the new show() methods to toggle between
10532 the foreground and background. Add code to remove the splash after
10533 its initial showing.
10535 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10536 (create_forms): no longer call Dialogs::showSplash.
10538 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10540 * .cvsignore: add version_info.h
10542 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10544 * version_info.h.in: new file
10546 * Makefile.am: add version_info.h.in
10548 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10549 version_info.h instead of VERSION_INFO
10551 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10553 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10554 The ERT inset now returns string().
10556 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10558 * lyxtext.h, text.C (selectNextWord): renamed as
10559 selectNextWordToSpellcheck.
10561 * text.C (selectNextWordToSpellcheck): Modified to not select
10562 words inside an ERT inset.
10564 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10566 * lyx_cb.C (MenuLayoutSave): change a bit the question
10568 * sp_base.h: include <sys/types.h>
10570 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10572 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10574 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10576 * several files: fix typos in user-visible strings
10578 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10580 * text2.C (pasteSelection): do not set the selection, since it
10581 will be cleared later. Actually, the intent was to fix the way the
10582 selection was set, but I figured rmoving the code was just as good.
10584 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10586 * FontLoader.C (available): Check if font is available without
10589 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10591 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10593 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10595 * lyxrc.[Ch]: added display_graphics variable and associated code.
10597 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10599 * bufferparams.C (hasClassDefaults): new method. Returns true if
10600 the buffer parameters correspond to known class defaults
10602 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10604 * XFormsView.C (show): set minimum size to the main window.
10606 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10608 * text2.C (copySelection):
10610 * lyxfind.C (LyXReplace):
10611 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10612 LyXText::selectionAsString.
10614 * paragraph.C (asString): add "label" argument to the second form
10616 * text2.C (selectionAsString): add "label" argument and pass it to
10617 Paragraph::asString.
10619 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10621 * lyx_main.C (commandLineHelp): remove version information
10623 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10625 * lyx_main.C: add -version commandline option
10627 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10629 * paragraph.h: make the optional constructor arg required instead.
10630 some modifications to other files because of this.
10632 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10634 * lyxserver.C (C_LyXComm_callback): make it static
10636 * lyx_main.C (error_handler): make it static
10638 * lyx_gui.C (LyX_XErrHandler): make it static
10640 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10642 * WorkArea.C: make the extern "C" methods static.
10644 * Makefile.am (lyx_LDADD): simplify
10646 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10648 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10649 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10651 * LyXAction.C (init):
10652 * lyxfunc.C (dispatch): associated code removal.
10654 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10656 * lyxfont.h (isSymbolFont): shut off warning
10658 * text.C (setHeightOfRow):
10659 (getVisibleRow): fix crash with empty paragraphs which have a
10662 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10664 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10667 2001-09-04 José Matos <jamatos@fep.up.pt>
10670 * tabular.C (docbook): rename docBook method to docbook.
10672 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10674 * Makefile.am: add dependencies to main.o.
10676 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10678 * FontLoader.C (available): Return false if !lyxrc.use_gui
10680 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10682 * FontInfo.C (query):
10683 * converter.C (view):
10684 * importer.C (Import):
10685 * exporter.C (Export): Can not -> cannot.
10687 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10689 * BufferView_pimpl.C: allow to create index inset even if
10692 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10694 * buffer.C (getLists): replace boost::tie code with an explicit pair
10695 as boost::tie can break some compilers.
10697 * iterators.h: Added a std:: declaration to the return type of
10700 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10702 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10705 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10707 * iterators.[Ch]: New files. Provide paragraph iterators.
10709 * buffer.C (changeLanguage): Use paragraph iterators.
10710 (isMultiLingual): ditto
10712 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10714 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10716 * FontLoader.C: Support for cmr font.
10718 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10720 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10721 (available): New method.
10723 * FontInfo.C (getFontname): Use scalable fonts even when
10724 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10727 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10729 * converter.C (Formats::view): reverted! Incorrect fix.
10731 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10733 * converter.C (Formats::view): only output the -paper option
10734 if the dvi viewer is xdvi, thereby fixing bug #233429.
10736 2001-08-23 Herbert Voss <voss@perce>
10738 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10740 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10742 * Spacing.h (Spacing): Set space to Default on in the default
10745 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10747 * vc-backend.h (RCS::versionString): add RCS to version
10748 (CVS::versionString): add CVS to version
10750 * vc-backend.C (scanMaster): do not add CVS to version.
10751 (scanMaster): do not add RCS to version
10753 * lyxvc.C (versionString): new method
10755 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10757 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10759 * Spacing.C (set): initialize fval
10761 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10763 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10766 2001-08-16 Juergen Vigna <jug@sad.it>
10768 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10770 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10772 * BufferView_pimpl.C:
10775 * text2.C: setParagraph takes linespacing now
10777 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10779 * LyxAction.C: add internal LFUN_CITATION_INSERT
10781 * LyXView.C: actually apply fix
10783 * bufferlist.C: fix open non-existent file
10785 * lyxfind.C: fix indentation
10787 * lyxfunc.C: remove unneeded assert, fix typo
10789 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10791 * MenuBackend.C: use "Floatname List"
10793 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10795 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10796 when converting LaTeX layout to insetERT.
10797 Generate a non-collapsed float when reading old float
10799 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10801 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10804 2001-08-13 Juergen Vigna <jug@sad.it>
10806 * text.C (fill): return 0 instead of 20 as this seems to be the more
10809 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10811 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10814 2001-08-13 Juergen Vigna <jug@sad.it>
10816 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10818 (SearchBackward): comment out the unlocking of the inset_owner this
10819 should not be needed!
10821 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10823 * Many files: Remove inherit_language, and add latex_language
10825 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10826 collapsible insets.
10828 2001-08-10 Juergen Vigna <jug@sad.it>
10830 * text.C (prepareToPrint): fixed hfill-width in draw!
10832 * BufferView2.C (selectLastWord): save the selection cursor as this
10833 now is cleared in the function LyXText::clearSelection!
10835 2001-08-08 Juergen Vigna <jug@sad.it>
10837 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10838 BACKSPACE type functions.
10840 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10841 is only cutted from the document but not put in the cut-buffer, where
10842 still the old stuff should be.
10844 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10846 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10848 * tabular.C (SetWidthOfCell): fixed special case where the width
10850 (LeftLine): handle '|' in align_special.
10852 (LeftAlreadyDrawed): ditto
10853 (SetWidthOfCell): ditto
10855 2001-08-07 Juergen Vigna <jug@sad.it>
10857 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10859 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10861 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10862 * lyxlex.[hC]: ditto
10864 2001-08-06 Juergen Vigna <jug@sad.it>
10866 * text.C (getVisibleRow): fix up row clearing a bit.
10868 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10870 * minibuffer.C: make sure the X server sees the changes in the input.
10872 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10874 * paragraph.C (getFont): split into...
10875 (getLabelFont): this
10876 (getLayoutFont): and this
10877 * paragraph_pimpl.C (realizeFont): calling this
10879 * text2.C (getFont): split into...
10880 (getLayoutFont): this
10881 (getLabelFont): and this
10882 (realizeFont): all three calling this
10884 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10887 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10889 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10891 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10893 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10894 layouts from the Quote inset insertion.
10896 2001-08-03 Juergen Vigna <jug@sad.it>
10898 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10900 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10901 only if status not is already CHANGED_IN_DRAW (second level).
10903 * text.C (draw): don't set the need_break_row when inside an
10906 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10908 * buffer.C (parseSingleLyXformat2Token): handle more latex
10911 * bufferview_funcs.[hC]: change function names to
10912 begin with small char, adjust other files.
10914 2001-08-02 André Pönitz <poenitz@gmx.net>
10917 BufferView_pimpl.C: remove broken special code for math-greek
10919 2001-08-02 Juergen Vigna <jug@sad.it>
10921 * BufferView_pimpl.C (update): redone this function so that we
10922 update the text again if there was a CHANGE_IN_DRAW.
10924 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10925 (drawFromTo): added a new internal bool which is used by draw() and
10927 (general): some cursor drawing problems fixed.
10929 2001-08-01 Juergen Vigna <jug@sad.it>
10931 * lyxfind.C (LyXFind): fixed
10932 (SearchForward): ditto
10933 (SearchBackward): ditto
10935 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10936 spurius drawing of the cursor in the main area.
10938 * text2.C (status): small fix which could lead to a segfault!
10939 (clearSelection): remove unneeded BufferView param.
10941 2001-08-01 André Pönitz <poenitz@gmx.net>
10943 * lyxfunc.C: small change due to changed mathed interface
10945 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10947 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10949 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10951 * lyxfunc.c: fail gracefully if file doesn't exist
10956 * BufferView_pimpl.C: IsDirWriteable() proto changed
10958 * LyXView.C: fix updateWindowTitle() to store the last title
10960 2001-07-31 Juergen Vigna <jug@sad.it>
10962 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10963 the font (wrong since using of Paragraph::highestFontInRange).
10965 * paragraph.C (highestFontInRange): added a default_size parameter.
10967 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10968 (setHeightOfRow): reformat
10970 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10972 * converter.[hC] + affected files: move to (inital-char)lowercase
10975 * ParagraphParameters.C (ParagraphParameters): remove commented code
10977 * PainterBase.[Ch]: remove commented code
10979 * LaTeXFeatures.h: add "bool floats" for float.sty
10981 * LaTeXFeatures.C (LaTeXFeatures): init floats
10982 (require): handle float
10983 (getPackages): do it with floats
10985 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10987 * BufferView_pimpl.C (Dispatch): improve handling of
10988 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10990 * commandtags.h: #include lyxfont.h here temporarily to avoid
10993 * bufferlist.h: include LString.h here.
10995 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10997 * text2.C (getStringToIndex): new method.
10999 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11001 * *: Reduced header file dependencies all over.
11003 2001-07-30 Baruch Even <baruch@lyx.org>
11005 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11007 2001-07-29 Baruch Even <baruch@lyx.org>
11009 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11011 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11013 * ParameterStruct.h (endif): add a default constructor to make
11014 sure that all variables is initialized.
11016 * ParagraphParameters.C (ParagraphParameters): adjust
11018 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11020 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11021 index; also, check that there is something to index, and that it
11022 does not span over several paragraphs.
11023 (doubleClick): use WHOLE_WORD_STRICT for double click.
11025 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11027 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11030 2001-07-26 Baruch Even <baruch@lyx.org>
11032 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11033 an InsetFig figure, backwards compatible reading of old figure code.
11035 2001-07-27 Juergen Vigna <jug@sad.it>
11037 * text2.C: font.realize function adaption.
11039 * text.C (draw): add a warnings lyxerr text if needed.
11041 * layout.C: font.realize function adaption.
11043 * language.C: add inherit_language and implement it's handlings
11045 * bufferview_funcs.C (StyleReset): remove language parameter from
11046 font creation (should be language_inherit now).
11048 * bufferparams.C (writeFile): handle ignore_language.
11050 * paragraph.C (getFontSettings): the language has to be resolved
11051 otherwise we have problems in LyXFont!
11053 * lyxfont.C (lyxWriteChanges): added document_language parameter
11054 (update): removed unneeded language parameter
11056 * paragraph.C (validate): fixed wrong output of color-package when
11057 using interface colors for certain fonts in certain environments,
11058 which should not seen as that on the final output.
11060 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11062 * BufferView_pimpl.C:
11067 * LyXAction.C: add thesaurus support
11070 * lyxfind.C: add "once" parameter, for thesaurus, to not
11071 move to the next match
11073 2001-07-26 Juergen Vigna <jug@sad.it>
11075 * lyxfont.C (realize): honor ignore_language too!
11078 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11080 * text.C (draw): one place more for ignore_language to not draw
11083 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11085 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11087 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11089 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11090 the minipage conversion problem.
11092 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11094 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11097 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11099 * BufferView.h: don't forward declare WorkArea
11101 * BufferView.C: don't include WorkArea.h
11103 2001-07-25 André Pönitz <poenitz@gmx.net>
11107 * lyxfunc.C: new LFUN 'math-space'
11109 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11111 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11113 * text2.C (toggleInset): call open/close
11115 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11117 * lyxfunc.C (dispatch): add debug for the disabled case
11119 * font.C (buttonText): make similar to rectText
11121 * buffer.C (readInset): comment out parsing of insetlist and
11124 * PainterBase.C (rectText): small correction
11126 * BufferView_pimpl.C: comment out insettheorem and insetlist
11127 * LyXAction.C: ditto
11128 * commandtags.h: ditto
11130 2001-07-24 Juergen Vigna <jug@sad.it>
11132 * text.C (draw): honor the ignore_language.
11134 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11136 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11138 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11141 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11143 * lyxtext.h: remove unused (and unimplemented) methods
11145 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11147 * text.C (getVisibleRow): honor background color
11150 * Painter.h: remove default color argument for fillRectangle
11152 * text.C (backgroundColor): new method
11154 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11156 * text.C (getVisibleRow): adjust
11158 * font.[Ch] (rectText): new method, metrics
11159 (buttonText): new method, metrics
11161 * PainterBase.[hC]: make rectText and buttonText always draw and take
11164 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11166 * ToolbarDefaults.C (read):
11167 * MenuBackend.C (read): allow escaping in all strings
11169 * BufferView_pimpl.C (insertAndEditInset): new method.
11170 (Dispatch): use insertAndEditInset whenever appropriate.
11172 * BufferView_pimpl.C (insertNote): removed
11174 * BufferView_pimpl.C (smartQuote): new method, moved from
11175 BufferView; if an insetquote cannot be inserted, insert a '"'
11178 * BufferView2.C: remove insertCorrectQuote();
11180 * lyxfunc.C (getStatus): Add support for all remaingin
11181 inset-insert lfuns.
11183 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11185 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11186 command (necessary to pass " as parameter of self-insert.
11188 * text.C (selectWordWhenUnderCursor):
11189 (selectWord): add word_location parameter
11190 (selectWordWhenUnderCursor): same + remove special code for word
11192 (selectNextWord): use kind() to guess type of insetspecialchar,
11195 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11196 (insertErtContents): create ert insets as collapsed.
11197 (readInset): better compatibility code for Info inset.
11199 2001-07-20 Juergen Vigna <jug@sad.it>
11201 * lyxfunc.C (dispatch): use always LyXFind now!
11203 * text2.C (init): add a reinit flag so that the LyXText can be
11204 reinited instead of deleted and reallocated (used in InsetText).
11206 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11212 2001-07-18 Juergen Vigna <jug@sad.it>
11214 * text.C (selectNextWord): handle insets inside inset by calling
11215 always the bv->text functions so that we can go up the_locking_inset!
11217 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11218 in strange locations when inside an inset!
11220 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11221 handling to include insets.
11223 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11225 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11227 * LyXAction.C (init):
11229 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11230 LIGATURE_BREAK, since the name is so stupid.
11232 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11234 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11237 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11239 * sp_form.[Ch]: remove.
11241 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11243 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11246 * src/buffer.C (readInset): ditto.
11248 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11250 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11251 menuSeparator(), endOfSentenceDot(), ldots() and
11252 hyphenationPoint(), which are therefore removed.
11253 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11255 * LyXAction.C (init):
11256 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11258 * paragraph.C (getWord): removed.
11260 * BufferView_pimpl.C (Dispatch): use last word or selection for
11261 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11263 * lyx_main.C (queryUserLyXDir): do not ask before creating
11264 user_dir, except if it has been named explicitely.
11266 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11268 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11269 a document of zero size.
11271 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11273 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11274 approriately in the c-tor and in require().
11275 (getPackages): output the appropriate LaTeX for natbib support.
11277 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11278 variables "use_natbib" and "use_numerical_citations" when reading the
11280 (readInset): read the various natbib cite commands.
11281 (validate): white-space change.
11283 * bufferparams.[Ch]: new variables "bool use_natbib" and
11284 "bool use_numerical_citations".
11285 (writeFile): output them in the LyX file.
11287 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11289 * lyxfunc.C (getStatus): add support for all the inset insertion
11292 * text2.C (insertInset):
11293 * paragraph.C (insetAllowed):
11294 * BufferView_pimpl.C (insertInset): update to take in account the
11295 renaming of insertInsetAllowed
11297 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11299 * text2.C (getInset): new method. returns inset at cursor position.
11301 * BufferView_pimpl.C (Dispatch): changes because of this.
11303 * LyXAction.C (init): rename open-stuff to inset-toggle.
11305 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11307 * text2.C (toggleInset): renamed from openStuff; use
11310 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11312 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11314 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11316 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11318 * buffer.C (readLyXformat2): Add filename to the error dialog
11320 2001-07-18 Juergen Vigna <jug@sad.it>
11322 * tabular.C (GetCellNumber): put an assert here instead of the check!
11324 2001-07-17 Juergen Vigna <jug@sad.it>
11326 * BufferView_pimpl.C (toggleSelection): adapted too.
11328 * text.C (selectNextWord): adapted for use with insets.
11329 (selectSelectedWord): ditto
11331 2001-07-17 Juergen Vigna <jug@sad.it>
11333 * sp_spell.C (PSpell): fix initialitation order.
11335 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11337 * paragraph.C: spacing
11339 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11341 * sp_spell.C: repair language selection for pspell
11343 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11345 * lyxfunc.h: change more methods to begin with lower char.
11347 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11349 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11350 for unknown layouts.
11352 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11354 * buffer.C (readLyXformat2): Generate an error dialog if there are
11357 2001-07-16 Juergen Vigna <jug@sad.it>
11359 * sp_spell.C: always compile ISpell part.
11361 * lyxrc.C: added use_pspell entry and it's handling.
11363 2001-07-13 Juergen Vigna <jug@sad.it>
11365 * sp_spell.C: removed double includes.
11367 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11369 Consistent use of Lsstream.h:
11370 * Lsstream.h: added using std::stringstream for consistencies sake.
11372 * buffer.C: removed using std::stringstream
11374 * lyxfont.C (stateText):
11375 * paragraph.C (asString):
11376 * text.C (selectNextWord, selectSelectedWord):
11377 * text2.C (setCounter):
11378 * vspace.C (asString, asLatexString):
11379 std::ostringstream -> ostringstream.
11381 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11383 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11384 * commandtags.h: add LFUN_HELP_ABOUTLYX
11385 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11387 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11389 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11391 * lyx_gui_misc.C: remove spellchecker
11392 * lyxfunc.C: showSpellchecker
11394 * sp_ispell.h: added
11395 * sp_pspell.h: added
11396 * sp_spell.C: added
11397 * sp_form.[Ch]: removed
11398 * spellchecker.[Ch]: removed
11400 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11402 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11404 (simpleTeXSpecialChars): Simply print the input character without
11405 any special translation if pass_thru is set.
11407 * layout.h: Added bool pass_thru to layout class for being able to
11408 implement pass through of a paragraph for Literate Programming.
11410 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11411 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11412 * layout.C (Read): add "passthru" to list of layout tags and add
11413 code to set the pass_thru boolean when it is read.
11415 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11417 * trans_decl.h: remove allowed from KmodInfo
11419 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11420 remove allowed code
11423 * paragraph_pimpl.C (erase): use boost::prior
11425 * Painter.C (text): use data() instead of c_str() when length is
11427 * WorkArea.C (putClipboard): ditto
11428 * font.h (width): ditto
11430 * BufferView2.C: use it-> instead of (*it). for iterators
11432 * paragraph_pimpl.C: ditto
11433 * paragraph.C: ditto
11434 * minibuffer.C: ditto
11435 * language.C: ditto
11437 * encoding.C: ditto
11438 * counters.C: ditto
11439 * converter.C: ditto
11441 * Variables.C: ditto
11442 * TextCache.C: ditto
11443 * MenuBackend.C: ditto
11444 * LyXAction.C: ditto
11446 * FloatList.C: ditto
11447 * DepTable.C: ditto
11448 * ColorHandler.C (LyXColorHandler): ditto
11450 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11452 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11454 * text2.C (openStuff): reintroduce this method (which had been
11455 nuked in NEW_INSETS frenzy).
11457 * lyxfunc.C (Dispatch): when an action has not been handled, use
11458 its name in the error message, not its number.
11460 * paragraph.C (inInset): change method name to begin with lowercase.
11463 * text2.C: updates because of this.
11465 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11467 * ToolbarDefaults.C (add): add spaces in error message
11469 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11471 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11472 (readLyXformat2): rename return_par to first_par, use lyxlex's
11473 pushToken and remove the manual push handling.
11474 (parseSingleLyXformat2Token): add another ert comp. variable:
11475 in_tabular, rename return_par to first_par. handle newlines better
11477 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11479 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11481 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11483 * text2.C (getParFromID): removed
11485 * buffer.C (getParFromID): new method moved form lyxtext.
11486 * BufferView2.C (insertErrors): adjust
11487 (setCursorFromRow): adjust
11488 * BufferView_pimpl.C (restorePosition): adjust
11489 * lyxfunc.C (Dispatch): adjust
11490 * undo_funcs.C (textUndo): adjust
11492 (textHandleUndo): adjust
11493 (textHandleUndo): adjust
11495 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11497 * buffer.C: up' the LYX_FORMAT
11499 * lyxfont.h: turn NO_LATEX on as default
11501 * buffer.C (insertErtContents): new methods of tex style compability.
11502 (parseSingleLyXformat2Token): use it several places.
11503 * tabular.C (OldFormatRead): and here
11505 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11507 * text2.C: remove some commented code.
11510 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11511 * trans.C: changes because of the above.
11513 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11515 * text2.C (setCounter): Fix counters bug with bibliography layout.
11517 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11519 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11520 own member functions
11521 (simpleTeXSpecialChars): ditto
11523 2001-07-06 Juergen Vigna <jug@sad.it>
11525 * a lot of files: changed the access to LyXText::status and the
11526 call of undo-functions.
11528 * undo.[Ch]: added a inset_id to the undo informations.
11530 * undo_funcs.[Ch]: added and moved here all undo functions.
11532 * lyxtext.h: give the status enum a weight, made status_ a private
11533 variable and made accessor functions for it, removed the whole bunch
11534 of undo-functions as they are now in their own file, make some
11535 functions publically available. Added function ownerParagraph with
11538 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11539 made InInset() a const function, added getParFromID() function.
11541 * buffer.[Ch]: added const version for inset_iterator functions,
11542 added getInsetFromID() function.
11544 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11545 changed undo functions for new version.
11547 2001-07-05 Juergen Vigna <jug@sad.it>
11549 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11550 unknow mechanism does not call the proper constructor but only this
11551 one also if I request the other!?
11553 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11555 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11557 * text2.C (LyXText): use initialization lists.
11559 * lyxtext.h (Selection): initialize set_ and mark_
11560 (init): remove method
11562 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11564 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11566 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11568 * screen.[Ch]: change method names to begin with lowercase
11570 * BufferView_pimpl.C (updateScrollbar): simplify further and
11571 hopefully make it a bit faster.
11573 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11575 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11576 calling directly xforms functions.
11578 * Painter.C (Painter):
11579 * lyx_cb.C (MenuWrite):
11580 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11583 * lyx_gui.C: remove bogus guiruntime extern declaration.
11585 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11587 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11589 (redoDrawingOfParagraph): ditto
11590 (redoParagraphs): ditto
11591 (cutSelection): don't create a object for CutAndPaste use the
11592 static method directly
11593 (pasteSelection): ditto
11595 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11598 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11600 * modifications to some other files because of this.
11602 * Makefile.am (lyx_SOURCES): add XFormsView
11604 * XFormsView.[Ch]: new files
11606 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11607 the main window. Move the gui dependent stuff to XFormsView
11609 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11611 * tabular.C (GetCellInset): update cur_cell also in the row/col
11612 version of this function.
11614 * lyxfunc.C: no need to include figure_form.h here.
11620 * lyxvc.C: no need to include forms.h here.
11622 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11624 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11626 * lyxfunc.C (Dispatch):
11628 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11629 constructor argument.
11631 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11633 * paragraph.C (Paragraph): dont't clear, and just set layout.
11634 (makeSameLayout): use params's copy contructor.
11636 * ParagraphParameters.[Ch] (makeSame): delete method
11638 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11640 * Variables.[Ch]: fix indentation, rename set to isSet
11642 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11644 * lyxfunc.C (Dispatch): fix typo
11646 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11648 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11651 * bufferlist.C: include assert.h for emergencyWrite().
11653 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11655 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11656 give up at last (bug #425202) !
11658 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11664 * spellchecker.C: strip spellchecker options and bring up
11665 preferences tab instead
11667 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11669 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11670 the istringstream constructor
11672 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11674 * paragraph.C (getLayout): fix return value
11676 * paragraph.h: do not declare getLayout as inline.
11678 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11680 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11682 * lyxcursor.h (operator<): new func
11683 (operator>): new func
11684 (operator>=): new func
11685 (operator<=): new func
11687 * text.C (changeCase): use selection.start and selection.end
11688 (changeRegionCase): require from to be <= to. Require par to be a
11691 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11693 2001-06-27 Juergen Vigna <jug@sad.it>
11695 * text.C (cursorLeftOneWord): changed to return the cursor and added
11696 overlay with BufferView * parameter which calls this one.
11698 (selectWord): use new getWord function.
11699 (changeCase): renamed from changeWordCase as and extended to work
11700 also on selections.
11702 * lyxtext.h: added enum word_location
11704 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11705 changeCase as this operates now also on selections.
11707 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11709 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11711 * many files: send debug output to Debug::INFO instead of
11714 * converter.C (View):
11716 (Move): send debug output to Debug::FILES instead of console.
11718 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11720 * lyxfunc.C (getStatus): use func_status
11722 * func_status.h: new header, describing the results of
11723 LyXFunc::getStatus;
11725 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11728 2001-06-25 The LyX Project <jug@sad.it>
11730 * buffer.C (sgmlOpenTag):
11732 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11734 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11736 * text2.C: remove some dead code
11738 * tabular.C (GetCellInset): store the last cell checked (gotten)
11740 * tabular.h: add the helper for the speedup
11742 * lyxtext.h: remove some dead code
11744 2001-06-26 The LyX Project <Asger>
11746 * paragraph.C: Change export to LaTeX of alignment to
11747 \begin{center} and family for better roundtrip work with reLyX.
11749 * Tune the math drawing a bit.
11751 2001-06-25 The LyX Project <Asger>
11753 * LColor.C (LColor): New color for math background. New color
11756 2001-06-25 The LyX Project <jug@sad.it>
11758 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11760 * lyxfunc.C (Open):
11761 * bufferlist.C (newFile): do not restrict to files ending with
11764 * BufferView_pimpl.C (MenuInsertLyXFile):
11766 2001-06-24 The LyX Project <jug@sad.it>
11768 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11771 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11773 * lyxtext.h: rename most methods to begin with a small char.
11774 Lots of changes because of this.
11776 * paragraph.C (Paragraph): do not call fitToSize
11777 (erase): call Pimpl::erase
11778 (insertChar): call Pimpl::insertChar
11779 (insertInset): call Pipl::insertInset
11780 (breakParagraph): do not call fitToSize
11781 (breakParagraphConservative): do not call fitToSize
11782 (fitToSize): remove method
11784 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11786 2001-06-24 The LyX Project <Asger>
11788 * Fix Qt compilation^2
11790 2001-06-24 The LyX Project <jug@sad.it>
11792 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11793 depthHook(getDepth()-1).
11796 * ParagraphParameters.h:
11797 * ParameterStruct.h: change type of depth to unsigned int ==
11798 depth_type. Many adaptations to other files before of that.
11800 2001-06-24 The LyX Project <Asger>
11802 * Fix Qt compilation.
11804 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11806 * paragraph.h: renamed several methods to begin with small letter.
11807 several changes to many parts of the code because of this.
11809 2001-06-23 The LyX Project <jug@sad.it>
11811 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11812 rewritten to discard all double spaces when KeepEmpty is off
11813 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11814 to only handle newlines but not fiddle with spaces and friends.
11816 * lyxfunc.C (MenuNew): when doing 'new from template', use
11817 template_path as default directory
11819 2001-06-23 The LyX Project <Asger>
11821 * Clean-up of header file includes all over
11822 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11824 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11826 * paragraph.h: renamed from lyxparagraph.h
11828 2001-06-23 Asger <lyx@violet.home.sad.it>
11830 * Buffer.h: Removed Buffer::resize
11831 * BufferList.h: Removed BufferList::resize
11832 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11833 the document lazily when we change the width, or the font settings.
11835 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11837 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11839 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11841 * buffer.h: remove out of date comment
11843 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11846 * screen.C: fix "theoretical" GC leak
11848 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11850 * LaTeX.C (scanAuxFile):
11851 (deplog): remove trailing \r when reading stream (useful under
11854 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11856 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11857 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11858 and BufferView::theLockingInset(Inset*), so should use them and not
11859 access bv_->text->the_locking_inset directly.
11861 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11863 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11866 * tex-defs.h: remove old unused file
11868 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11870 * BufferView_pimpl.C: fix typo, remove minibuffer message
11871 when buffer has loaded
11873 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11875 * lyxfunc.C (Dispatch): use stringstream
11876 (MenuNew): use stringstream
11877 (Open): use stringstream
11879 * importer.C (Import): use stringstream
11881 * bufferview_funcs.C (CurrentState): use stringstream
11883 * LaTeX.C (run): use stringstream
11885 * BufferView_pimpl.C (savePosition): use stringstream
11886 (restorePosition): use stringstream
11887 (MenuInsertLyXFile): use stringstream
11889 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11902 * vspace.C: removed // -*- C++ -*- as first line.
11905 * version.h: added // -*- C++ -*- as first line.
11907 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11909 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11911 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11914 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11916 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11919 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11921 * gettext.C: include LString.h even when --disable-nls is on.
11923 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11925 * converter.h (Get): changed argument type from int to
11926 FormatList::size_type to avoid unnecessary conversion.
11928 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11931 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11933 * gettext.h: include LString.h even when --disable-nls is on.
11935 2001-06-07 Juergen Vigna <jug@sad.it>
11937 * text.C (BreakAgain): subst spaces with tabs.
11939 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11940 (resizeInsetsLyXText): set force on resizeLyXText.
11942 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11944 * gettext.h (gettext_init):
11945 (locale_init): use a real definition instead of a macro
11947 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11949 * Bufferview_pimpl.C:
11951 * LColor.C: further lcolor tidies
11953 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11955 * BufferView_pimpl.C (updateScrollbar): simplify.
11957 * BufferView2.C: don't include insets/insetinfo.h, change
11958 prototype for insertInset and call the Pimpl version. let
11959 updateInset call Pimpl version.
11961 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11962 gotoInset to BufferView::Pimpl
11964 2001-06-01 Juergen Vigna <jug@sad.it>
11966 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11967 inside a LockingInset (is the update needed at all?).
11969 2001-05-31 Juergen Vigna <jug@sad.it>
11971 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11972 here not the old one otherwise how should we compare it afterwards
11975 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11980 * FontInfo.C: bring C functions into global namespace when
11983 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11985 * LString.h: make sure config.h has been loaded before LString.h.
11987 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11988 (one for each char read by EatLine!).
11990 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11993 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11995 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11996 to the same as the par we break from
11998 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12000 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12002 * MenuBackend.C (expand): also create menu entries for wide
12003 versions of the floats.
12005 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12007 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12009 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12010 frontends/Makefile.am
12016 * tabular.C (getTokenValue): add std::
12018 * tabular-old.C (getTokenValue): add std::
12019 (getTokenValue): ditto
12020 (getTokenValue): ditto
12022 * screen.C (ToggleSelection): adjust
12024 * lyxtext.h: put selection cursors inside a Selection struct.
12026 * lyxfunc.C (moveCursorUpdate): adjust
12028 * lyxfont.C (latexWriteStartChanges): add std::
12030 * lyxfind.C: adjust
12032 * font.h: delete with(char const *, LyXFont const &)
12034 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12036 * FontInfo.C (getFontname): add std::
12038 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12039 (workAreaButtonPress): adjust
12040 (tripleClick): adjust
12042 (moveCursorUpdate): adjust
12045 * BufferView2.C (gotoInset): adjust
12047 2001-05-30 Juergen Vigna <jug@sad.it>
12049 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12050 to check pspell I add this as default as I now have new pspell
12051 libraries and they seem to use this.
12053 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12055 * text2.C (CutSelection): make the cursor valid before the call to
12058 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12060 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12061 relied on 0 terminated strings and other horrors. Bug found due to
12062 the new assert in lyxstring!
12064 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12067 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12069 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12072 * lyxfunc.C (processKeySym): change method of getting to the
12075 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12076 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12077 * BufferView_pimpl.[Ch]: here as private methods.
12079 2001-05-28 Juergen Vigna <jug@sad.it>
12081 * text.C (SetHeightOfRow): added the update() call again as it is
12082 needed to initialize inset dimensions!
12084 2001-05-16 Juergen Vigna <jug@sad.it>
12086 * text2.C (SetCharFont): Add new function with BufferView * and
12087 bool toggleall parameters for setting insets internal fonts.
12088 (SetFont): Freeze the undo as we may change fonts in Insets and
12089 all this change should be inside only one Undo!
12091 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12092 setting font's in insets as for them we have the SetFont function!
12094 2001-05-15 Juergen Vigna <jug@sad.it>
12096 * text2.C (ClearSelection): to be sure we REALLY don't have any
12099 * tabular.C (TeXCellPreamble): fixed the left border problem for
12102 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12104 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12107 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12109 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12110 LFUN_BREAKPARAGRAPH.
12112 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12113 help test to "internal only", similar for LFUN_INSERT_URL
12115 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12116 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12117 auto_region_delete and deadkeys.
12119 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12122 * LColor.C: remove some dead entries, tidy a little
12124 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12126 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12128 (Dispatch): implement LFUN_ESCAPE
12130 * commandtags.h: add LFUN_ESCAPE
12132 * LyXAction.C (init): add entry for LFUN_ESCAPE
12134 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12135 Remove commented code.
12136 (insertNote): moved here
12137 (open_new_inset): moved here
12139 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12142 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12144 * kbmap.C (findbinding): clean it up and make it work correctly.
12146 * lyx_main.C (init): do not pass argc and argv as parameters
12148 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12150 * buffer.C: fix path for OS/2 & Win32
12154 * lyx_main.C: Added os:: class.
12156 * os2_defines.h: update
12158 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12160 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12161 better by trying again with reduced state.
12163 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12165 * lyxrc.C (read): print error about invalid key sequence only when
12166 debugging (because not all latinX keysyms are known to some X
12169 * kbsequence.C (getiso): add a few std:: qualifiers
12170 (getiso): comment out extra return statement.
12172 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12174 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12176 (Dispatch): enhance the accent inset a bit. (not perfect)
12178 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12180 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12182 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12184 * bufferlist.C (emergencyWrite): fix assert() call
12186 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12188 * text.C (InsertChar): Added trivial patch to only send the "you
12189 can not do multiple spaces this way" message once during a
12192 2001-05-08 Baruch Even <baruch@lyx.org>
12194 * Makefile.am: Changed order of libraries to get LyX to link properly
12195 with the gnome frontend.
12197 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12199 * LaTeXFeatures.h: add a std:: qualifier
12201 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12203 * paragraph.C (String): use stringstream
12205 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12207 * paragraph.C (writeFile): remove footflag arg
12209 * buffer.C (makeLaTeXFile): use stringstream
12210 (latexParagraphs): remove footnot gurba
12212 * LaTeXFeatures.C (getPackages): use stringstream
12213 (getMacros): likewise
12214 (getTClassPreamble): likewise
12215 (getFloatDefinitions): new method
12217 * paragraph.C (writeFile): reindent
12220 * WorkArea.h: revert the xpos + etc changes.
12222 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12224 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12226 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12227 (pasteSelection): likewise
12228 * text2.C (CreateUndo): likewise
12230 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12232 * minibuffer.C (peek_event): temporarily reduce the functionality
12233 of the minibuffer (to allow args on lfuns)
12235 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12236 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12238 * buffer.C (readInset): add compability reading of old float
12239 lists, add reading of new style float list.
12240 (readInset): avoid reevaluation of inscmd.getCmdName()
12241 (getLists): reindent
12243 * MenuBackend.C (MenuItem): implement parsing of
12244 md_floatlistinsert and md_floatinsert.
12245 (expand::LastFiles): move initalizaton of iterators out of loop,
12246 avoid reevaluation.
12247 (expand::Documents): introduce typdedef vector<string> Strings,
12249 (expand::ExportFormats): introduce typedef vector<Format const *>
12250 Formats, and use it.
12251 (expand): implement FloatListInsert and FloatInsert.
12253 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12254 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12255 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12257 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12259 (Dispatch::LFUN_FLOAT_LIST): implement
12261 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12263 * LaTeX.C (run): Fix problem with --export code.
12265 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12267 * BufferView.[Ch] (workarea): removed.
12268 (getClipboard) new method; wrapper for workarea()->getClipboard()
12270 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12273 * WorkArea.h (width, height, xpos, ypos): These methods all
12274 returned the dimensions of the work_area sub-area of WorkArea,
12275 resulting in a position error if the WorkArea were resized. Now
12276 return the dimensions of the entire WorkArea.
12278 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12280 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12282 * LaTeX.C (deplog): correct the syntax of regex reg1
12284 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12286 * undo.C: remove !NEW_INSETS cruft
12288 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12290 * text2.C: remove !NEW_INSETS cruft
12292 * text.C: remove !NEW_INSETS cruft
12294 * tabular.C: remove !NEW_INSETS cruft
12296 * spellchecker.C: remove !NEW_INSETS cruft
12298 * lyxtext.h: remove !NEW_INSETS cruft
12300 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12302 * lyxfunc.C: remove !NEW_INSETS cruft
12304 * lyxfind.C: remove !NEW_INSETS cruft
12306 * lyx_cb.C: remove !NEW_INSETS cruft
12308 * figureForm.C: remove !NEW_INSETS cruft
12310 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12312 * buffer.[Ch]: remove !NEW_INSETS cruft
12314 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12316 * CutAndPaste.C: remove !NEW_INSETS cruft
12318 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12320 * BufferView2.C: remove !NEW_INSETS cruft
12322 * BufferView.h: remove !NEW_INSETS cruft
12324 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12326 * Lsstream.h: include LString.h before the sstream headers to
12327 fix problem with gcc 2.95.3 and lyxstring
12329 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12331 * lyx_main.C: add using directives when needed for C functions
12332 declared in std:: namespace.
12334 2001-04-27 Juergen Vigna <jug@sad.it>
12336 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12337 (SetHeightOfRow): comment out the update call should not be needed!
12339 2001-04-13 Juergen Vigna <jug@sad.it>
12341 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12342 (LyXTabular): tried to minimize operator= operations (and realized
12343 hopfully Lars wish).
12345 2001-04-27 Juergen Vigna <jug@sad.it>
12347 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12349 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12351 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12353 * buffer.C (readInset): hack to make listof algorithm work
12355 * BufferView_pimpl.C: hack to make listof algorithm work
12357 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12359 * LyXAction.C: removed all !NEW_INSETS cruft
12360 (init): moved lfun_item in method
12362 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12364 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12366 * BufferView2.C (theLockingInset): white space.
12368 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12370 * minibuffer.C: include <iostream>
12372 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12374 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12376 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12378 * text.[Ch] (TransposeChars): new method
12380 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12382 * call message directly through LyXView instead of through LyXFunc
12383 * BufferView2.C: adjust
12384 * BufferView_pimpl.C: adjust
12385 * FontLoader.C: adjust
12387 * bufferview_funcs.C: adjust
12388 * converter.C: adjust
12389 * figureForm.C: adjust
12390 * importer.C: adjust
12392 * lyx_gui_misc.C: adjust
12393 * lyxfunc.C: adjust
12396 + more files in subdirs
12398 * lyxparagraph.h (size): move up int file
12401 * adjust all uses of Assert to lyx::Assert.
12403 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12404 lyxfunctional in namespace lyx
12405 * layout.C (hasLayout): ditto
12408 (delete_layout): ditto
12409 (NumberOfClass): ditto
12410 * converter.C (GetFormat): ditto
12415 * bufferlist.C (getFileNames): ditto
12416 (emergencyWriteAll): ditto
12419 * MenuBackend.C (hasSubmenu): ditto
12422 * BufferView_pimpl.C (getInsetByCode): ditto
12424 2001-04-18 Juergen Vigna <jug@sad.it>
12426 * vspace.C (asLatexString): fixed the 100% problem.
12428 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12430 * lyxfunc.C (Dispatch):
12432 * minibuffer.h: add a few std:: qualifiers
12434 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12436 * minibuffer.[Ch]: reimplement so that commands is initiated and
12437 run from lyxfunc, simplified som handling, and made the completion
12438 and history code for complete. wip.
12440 * lyxfunc.C (processKeySym): call message
12441 (miniDispatch): new temporary method
12442 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12443 (LFUN_MESSAGE): implement
12444 (LFUN_MESSAGE_PUSH): implement
12445 (LFUN_MESSAGE_POP): implement
12446 (initMiniBuffer): the initial/defualt minibuffer message.
12448 * lyxfont.[Ch]: inline some more getters
12450 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12452 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12454 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12455 (AutoSave): use LFUN_MESSAGE
12456 (Reconfigure): ditto
12458 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12460 * figureForm.C: use LFUN_MESSAGE
12462 * converter.C (runLaTeX): use LFUN_MESSAGE
12464 * bufferview_funcs.C: use LFUN_MESSAGE
12466 (changeDepth): ditto
12468 * bufferparams.h: use boost::
12470 * bufferlist.h: inherit privately from noncopyable
12472 * bufferlist.C (loadLyXFile): remove some commented code.
12474 * buffer.C (runChktex): use LFUN_MESSAGE
12476 * ShareContainer.h: inherit privately from noncopyable
12478 * ParagraphParameters.[hC] (depth): inline it.
12480 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12482 (message): new method
12483 (messagePush): ditto
12484 (messagePop): ditto
12485 (show): init minibuffer
12486 (showState): direct call
12488 * LaTeX.[Ch]: inherit privately from noncopyable
12489 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12490 instead of WriteStatus.
12492 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12494 * BufferView_pimpl.C (buffer): don't init minibuffer
12495 (workAreaButtonPress): use LFUN_MESSAGE
12496 (workAreaButtonRelease): ditto
12497 (savePosition): ditto
12498 (restorePosition): ditto
12499 (MenuInsertLyXFile): ditto
12500 (workAreaExpose): don't init minibuffer
12501 (update): remove commented code, simplify
12503 * BufferView2.C (openStuff): use LFUN_MESSAGE
12504 (toggleFloat): ditto
12507 (copyEnvironment): ditto
12508 (pasteEnvironment): ditto
12513 (updateInset): remove some commented code
12515 * lastfiles.h: inherit privately from noncopyable
12518 * lyx_main.h: ditto
12520 * lyxlex_pimpl.h: ditto
12522 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12523 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12524 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12526 * LyXAction.h: inherit privately from noncopyable, add methods
12527 func_begin, func_end, returning iterators to the func map.
12529 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12530 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12531 (func_begin): new method
12532 (func_end): new method
12534 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12536 (copySelection): ditto
12537 (pasteSelection): ditto
12539 * BufferView.C: whitespace change
12540 * BufferView.h: inherit privately from noncopyable
12542 2001-04-16 Allan Rae <rae@lyx.org>
12544 * tabular-old.C (l_getline):
12545 * spellchecker.C (sc_check_word):
12546 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12547 an unrecognised preprocessor directive. So ensure they're wrapped.
12549 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12551 * src/exporter.C (Export): Give an error message when path to file
12554 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12556 * LaTeX.C (deplog): Always check that foundfile exists.
12558 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12561 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12563 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12565 * tabular.[Ch] (getLabelList): implement new method
12567 * minibuffer.h: comment ouf setTiimer
12569 * minibuffer.C (ExecutingCB): constify res
12570 (peek_event): constify s
12571 (Set): constify ntext
12572 (Init): constify nicename
12574 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12576 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12577 (savePosition): use two params to Minibuffer::Set
12578 (restorePosition): ditto
12580 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12582 * lyx_main.C: include language.h
12584 * Makefile.am (lyx_main.o): add language.h
12586 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12592 * CutAndPaste.C: include gettext.h
12594 * lyxfont.h: remove old hack with ON and OFF.
12597 * lyxfont.h: do not include language.h...
12602 * bufferview_funcs.C:
12608 * paragraph.C: ... but do it here instead
12610 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12612 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12614 * tabular.C: small reformat
12616 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12619 (BreakParagraph): ditto
12620 (SetOnlyLayout): ditto
12623 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12626 * lastfiles.C: removed most using decl, add std:: where needed
12628 * buffer.C: ws changes
12630 * MenuBackend.C (class compare_format): put into anon namespace
12631 (expand): constify label, names, action, action2
12634 * text.C (SingleWidth): constify font
12635 (IsBoundary): constify rtl2
12636 (GetVisibleRow): constify ww
12638 * LaTeX.C (deplog): constify logfile
12640 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12642 (workAreaExpose): constify widthChange, heightChange
12644 * lyxrow.C (par): moved
12647 * lyxrow.h: as inlines here
12649 * lyxfont.h (shape): moved from lyxfont.C
12650 (emph): moved from lyxfont.C
12652 * lyxfont.C (LyXFont): use initialization list for all
12654 (shape): move to lyxfont.h as inline
12655 (emph): move to lyxfont.h as inline
12658 2001-04-04 Juergen Vigna <jug@sad.it>
12660 * vspace.C: had to include stdio.h for use of sscanf
12662 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12665 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12666 independent of xforms.
12668 2001-04-02 Juergen Vigna <jug@sad.it>
12670 * spellchecker.C: fixed namespace placing!
12672 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12674 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12675 the LyXParagraph * is 0.
12677 2001-03-29 Juergen Vigna <jug@sad.it>
12679 * vspace.C: added support for %, c%, p%, l%.
12680 (stringFromUnit): added helper function.
12681 (asLatexString): changed to give right results for the %-values.
12683 * buffer.C: convert the widthp in a width%.
12685 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12687 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12690 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12691 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12693 * lyx_cb.[Ch]: see above.
12695 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12699 * lyx.[Ch]: replaced by figure_form.[Ch].
12703 * lyxfunc.C: changed headers associated with above changes.
12705 2001-03-27 Juergen Vigna <jug@sad.it>
12707 * BufferView_pimpl.C: set the temporary cursor right!
12709 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12711 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12713 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12715 * LString.h: removed "using std::getline"!
12717 * BufferView_pimpl.C (Dispatch): changes due to changes in
12718 InsetInclude::Params.
12720 * buffer.C (tag_name): removed redundant break statements as they were
12721 producing lots of warnings with my compiler.
12723 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12725 * LString.h: add "using std::getline" when using the real <string>.
12727 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12729 * buffer.C: removed bitset usage.
12730 PAR_TAG moved to an anonymous name space.
12731 (tag_name): new funtion, also in the anonymous namespace.
12732 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12733 (makeDocBookFile): clean code. Completed transition from string arrays
12735 (SimpleDocBookOnePar): code clean.
12737 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12739 * tabular.C: add some comments.
12741 2001-03-22 Juergen Vigna <jug@sad.it>
12743 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12744 compatibility read a bit and fixed bug with minipage in different
12747 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12749 * buffer.C (pop_tag): removed.
12750 (push_tag): removed.
12751 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12752 array replaced with vector. Added support for CDATA sections.
12753 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12755 (makeDocBookFile): XML conformant declaration of CDATA section,
12756 fixed bug related to <emphasis> in the first paragraph char.
12757 (sgmlOpenTag): exclude empty tags.
12758 (sgmlCloseTag): ditto.
12760 * buffer.h (pop_tag): removed.
12761 (push_tag): removed.
12763 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12765 * language.h (Languages): added size_type and size().
12767 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12769 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12770 response on compability reading of minipages. One probliem is that
12771 the old usage of minipages was «flertydig»
12773 * several files here and in subdirs: don't use static at file
12774 scope use anon namespaces instead.
12776 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12778 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12779 LaTeX output. This is necessary for Literate document
12782 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12784 * buffer.C: insert hfill when needed.
12786 * tabular.C (l_getline): use string::erase, small whitespace change.
12788 * BufferView_pimpl.C: try the anon namespace.
12789 * WorkArea.C: ditto
12791 2001-03-16 Juergen Vigna <jug@sad.it>
12793 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12794 otherwise it won't open options-dialogs.
12796 * buffer.C: honor pextraWidth(p) on converting minipages.
12798 * tabular.C (l_getline): changed the functions to strip trailing \r.
12800 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12802 * BufferView_pimpl.C:
12803 * minibuffer..C: added "using SigC::slot" declaration.
12805 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12807 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12813 * paragraph.C: ditto
12815 * lyxtext.h: NO_PEXTRA
12817 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12819 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12820 * ParameterStruct.h: ditto
12821 * ParagraphParameters.h: ditto
12822 * lyxparagraph.h: ditto
12824 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12826 * buffer.C: add compability for minipage alignment.
12827 (latexParagraphs): remove unwanted pextra check.
12829 * several files: remove CXX_WORKING_NAMESPACES
12831 * buffer.C (pop_tag): tie is in namespace boost
12833 * BufferView.h: noncopyable is in namespace boost
12835 * lyx_main.h: ditto
12838 * lastfiles.h: ditto
12839 * bufferlist.h: ditto
12840 * ShareContainer.h: ditto
12842 * LyXAction.h: ditto
12845 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12847 * Merging changes from BRANCH_MVC back into HEAD.
12849 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12851 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12853 * BufferView_pimpl.C: change from intl.C
12857 * Makefile.am: move combox.*
12863 * intl.C: remove dialog (covered by prefs)
12865 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12867 * lyxfunc.C (Dispatch): removed redundant break statement.
12869 2001-03-14 Juergen Vigna <jug@sad.it>
12871 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12873 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12875 * buffer.C: add hack to fix compability reading of minipages.
12877 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12879 * buffer.C (getLists): Cleanup.
12881 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12883 * lyxfont.C (update): don't honor toggleall on font size.
12885 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12889 * Makefile.am: moved to frontends/xforms/
12893 * BufferView_pimpl.C: changes for moved mathpanel
12895 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12897 * gettext.h: fix gettext_init() in --disable-nls
12899 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12901 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12903 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12906 * lyx.h: strip external form
12908 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12910 * BufferView_pimpl.C: add comment, destroySplash()
12912 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12914 * BufferView_pimpl.C:
12918 * lyxfunc.C: use re-worked insetinclude
12920 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12922 * buffer.C: add using std::stringstream.
12924 * lyx_cb.C: readd using std::ios.
12926 * buffer.C: add using std::map.
12928 * BufferView_pimpl.C: add using std::vector.
12930 * ShareContainer.h: add std:: to swap.
12932 * buffer.h: add some typedefs
12933 * buffer.C (getLists): use them
12934 (getLists): renamed from getTocList.
12935 add a counter for the different float types and use it in the
12937 (getLists): use the same counter for the NEW_INSETS and the "non"
12940 * lyx_cb.h: remove unused items, includes, using etc.
12942 * ShareContainer.h: remove some commented code, add more comments
12943 and "documentation".
12945 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12947 * buffer.C (getTocList): make the list also when NEW_INSETS is
12950 * buffer.h: remove TocType
12952 * buffer.C (getTocList): change to return a map<string,
12953 vector<TocItem> >, implement for dynamic number of list.
12955 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12956 * text2.C (PasteSelection): adjust
12957 * CutAndPaste.C (pasteSelection): adjust
12959 * FloatList.C (FloatList): update from the new_insets branch.
12960 * Floating.[Ch]: ditto
12961 * LaTeXFeatures.C: ditto
12963 * lyxlex_pimpl.C: ditto
12965 * paragraph.C (Last): remove when NEW_INSETS is defined.
12967 * other file: changes because of the above.
12969 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12971 * lyxparagraph.h: rename next to next_, previous to previous_,
12972 make them private for NEW_INSETS. Rename Next() to next(),
12973 Previous() to previous().
12975 * other files: changes because of the above.
12977 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12980 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12983 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12985 * main.C (main): pass lyx_localedir to gettext_init().
12987 * gettext.h: remove locale_init and gettext_init macros
12989 * gettext.C (locale_init): new function
12990 (gettext_init): new function
12992 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12995 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12997 * Moved credits to frontends:
12998 * credits.[Ch]: removed
12999 * credits_form.[Ch]: removed
13000 * lyx_gui_misc.C: remove credits stuff
13003 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13005 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13007 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13008 unneeded destructor.
13010 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13011 a standalone pointer again.
13013 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13015 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13021 * ToolbarDefaults.C:
13030 * BufferView_pimpl.C: use new file dialog in GUII
13033 * lyx_cb.C: remove LayoutsCB to Toolbar
13035 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13037 * ShareContainer.h (get): add std:: qualifier
13039 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13041 * ShareContainer.h: define a proper ShareContainer::value_type
13042 type (and use typename to please compaq cxx)
13044 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13046 * lyxparagraph.h: move serveral local vars to
13047 ParameterStruct/ParagraphParameters., use ShareContainer in
13048 FontTable., make vars in FontTable private and add getter and
13051 * paragraph.C: changes because of the above.
13053 * lyxfont.h: remove copy constructor and copy assignment. (the
13054 default ones is ok), move number inside FontBits. move inlines to
13057 * lyxfont.C: add number to initializaton of statics, move several
13058 inlines here. constify several local vars. some whitespace
13059 cleanup. Dont hide outerscope variables.
13061 * Spacing.h: add two new constructors to match the set methods.
13063 * ShareContainer.h: new file, will perhaps be moved to support
13065 * ParameterStruct.h: new file
13067 * ParagraphParameters.h: new file
13069 * ParagraphParameters.C: new file
13071 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13072 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13074 * BufferView_pimpl.C: ParagraphParameter changes.
13075 * buffer.C: Likewise.
13076 * bufferview_funcs.C: Likewise.
13077 * text.C: Likewise.
13078 * text2.C: Likewise.
13080 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13082 * lyxfind.C (LyXReplace): do not redefine default argument in
13084 (IsStringInText): ditto
13085 (SearchForward): ditto
13086 (SearchBackward): ditto
13088 2001-03-06 Juergen Vigna <jug@sad.it>
13090 * lyxfind.C (IsStringInText): put parentes around expressions.
13092 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13094 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13096 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13098 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13100 * stl_string_fwd.h: add comment
13102 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13105 * tabular.C: remove unused DocBook methods
13111 killed DO_USE_DEFAULT_LANGUAGE
13113 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13115 * lyx_gui.C: do not include language.h.
13117 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13118 arguments in function implementation.
13120 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13122 * BufferView_pimpl.C: add <ctime>
13124 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13126 * BufferView_pimpl.C: add using std::find_if
13128 2001-02-27 José Matos <jamatos@fep.up.pt>
13130 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13133 2001-02-11 José Matos <jamatos@fep.up.pt>
13135 * buffer.C (makeDocBookFile): command styles now have a parameter as
13136 "title" by default.
13138 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13140 * layout_forms.[Ch]: removed
13141 * lyx_cb.[Ch]: out character
13142 * lyx_gui.C: out character
13143 * lyx_gui_misc.C: out character
13144 * bufferview_funcs.C: : out character,
13145 added toggleall as parameter in ToggleAndShow
13147 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13149 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13151 * text2.C (SetCurrentFont): Disable number property at boundary.
13153 2001-02-26 Juergen Vigna <jug@sad.it>
13155 * lyxfunc.C (getStatus): added a string argument override function so
13156 that this is correctly called from LyXFunc::Dispatch if it contains a
13157 do_not_use_argument which is used!
13158 (Dispatch): added check for "custom" export and call appropriate func.
13160 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13162 * lyxrc.C: Add language_command_local, language_use_babel and
13163 language_global_options.
13165 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13167 * buffer.C (makeLaTeXFile): Use language_use_babel and
13168 language_global_options.
13170 2001-02-23 Juergen Vigna <jug@sad.it>
13172 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13173 which works with LyXText and putted it inside BufferView. Here now we
13174 only call for that part the BufferView::Dispatch() function.
13176 * BufferView.C (Dispatch): added.
13178 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13179 functions which needs to use a LyXText over from LyXFunc.
13180 (MenuInsertLyXFile): added
13181 (getInsetByCode): added
13182 (moveCursorUpdate): added
13183 (static TEXT): added
13185 2001-02-22 Juergen Vigna <jug@sad.it>
13187 * BufferView_pimpl.C (update): call a status update to see if LyXText
13190 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13192 * vc-backend.C (revert): implement for CVS
13193 (getLog): implement for CVS
13195 2001-02-20 Juergen Vigna <jug@sad.it>
13197 * text2.C (ClearSelection): added BufferView param for inset_owner call
13199 * lyxfunc.C (TEXT): added this function and use it instead of
13200 directly owner->view()-text of getLyXText().
13202 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13204 * src/layout_forms.C: out preamble
13205 * src/layout_forms.h: out preamble
13206 * src/lyx_cb.C: out preamble
13207 * src/lyx_cb.h: out preamble
13208 * src/lyx_gui.C: out preamble
13209 * src/lyx_gui_misc.C: out preamble
13210 * src/lyxfunc.C: connect with guii preamble
13212 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13214 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13216 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13218 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13219 whether to run bibtex.
13221 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13223 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13225 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13227 * Makefile.am (lyx_SOURCES): removed bibforms.h
13229 * vspace.h: doxygen
13231 * text.C (GetVisibleRow): make several local vars const
13233 * tabular.C: small cleanup.
13235 * lyxserver.C (callback): use compare instead of strncmp
13237 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13238 inlines to after class or to paragraph.C
13240 * lyxfont.h: remove friend operator!=
13242 * converter.h: move friend bool operator< to non friend and after
13245 * combox.h: small cleanup
13247 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13248 to inlines after class def.
13250 * buffer.C (pop_tag): use string operations instead of strcmp
13252 * bmtable.c: doxygen, small cleanup
13254 * LaTeX.h: remove friend operator==
13256 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13268 * BufferView_pimpl.C:
13269 * BufferView.[Ch]: remove cruft
13271 2001-02-14 Juergen Vigna <jug@sad.it>
13273 * lyxfunc.C: removed #if 0 unused code
13275 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13277 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13279 * text2.C (SetSelection): added a BufferView * parameter
13281 2001-02-13 Juergen Vigna <jug@sad.it>
13283 * lyxfunc.C (Dispatch): fixed protected blank problem.
13284 * BufferView2.C (protectedBlank): added LyxText * parameter.
13286 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13287 (AppendColumn): same as above for column_info.
13289 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13290 (moveCursorUpdate): use a LyXText param for support of InsetText.
13292 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13293 (tripleClick): ditto
13295 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13297 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13299 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13301 * text2.C (SetSelection): set correct update status if inset_owner
13302 (ToggleFree): ditto
13304 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13306 * tabular.C: remove some commented code.
13308 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13310 * BufferView_pimpl.C: call hideSplash()
13312 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13315 * bibforms.h: remove
13318 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13319 add LFUN_CHILD_CREATE
13321 * counters.h: fix tiny typo
13326 * lyx.C: move splash to frontends/xforms/
13328 * lyx_gui_misc.C: move Include and Bibform to frontends
13330 * lyxvc.h: clarify comment
13332 * vspace.C: tiny housekeeping
13334 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13336 * text.C (PrepareToPrint): RTL Fix.
13338 * paragraph.C (GetUChar): New method.
13339 (String): Use GetUChar.
13341 * buffer.C (asciiParagraph): Use GetUChar.
13343 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13345 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13347 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13350 * buffer.C: rename to getLogName(), handle
13351 build log / latex log nicely
13353 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13356 * MenuBackend.h: remove support for reference menuitem type.
13358 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13360 * BufferView_pimpl.C: housekeeping
13361 * BufferView_pimpl.h:
13366 * minibuffer.h: move Timeout GUI-I
13368 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13370 * lyxrc.C (read): Update converters data-structures.
13372 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13374 * LaTeX.h (operator!=): add operator != for Aux_Info
13376 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13378 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13380 * LaTeXLog.C: deleted, useful code moved to Buffer
13383 * buffer.C: new function getLatexLogName()
13389 * lyxfunc.C: use frontends for LaTeX and VC logs
13391 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13393 * LaTeX.h: yet another std:: that Allan forgot.
13395 * Variables.C (set): renamed from isset(), because this clashes
13396 with some HP-UX macros (grr).
13398 2001-02-06 Allan Rae <rae@lyx.org>
13400 * LaTeX.h: Another bug fix. Missing std:: this time.
13402 2001-02-04 Allan Rae <rae@lyx.org>
13404 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13405 floats problem. I've left it commented out because it's not quite
13406 correct. It should also test that the current object is a table or
13407 figure inset. But I haven't gotten around to figuring out how to do
13408 that. I *think* it'll be something like: "table" == inset.type()
13410 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13413 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13415 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13416 all the citation/databases/styles in the auxilary file.
13417 (run): Rerun latex if there was a babel language error.
13419 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13421 * text.C (Backspace): Preserve the font when changing newline char
13423 (BreakParagraph): If the cursor is before a space, delete the space.
13425 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13427 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13429 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13430 new argument (code).
13431 (ChangeCitationsIfUnique): New method.
13433 * paragraph.C (GetPositionOfInset): Handle bibkey.
13435 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13437 * BufferView_pimpl.h: change type of Position::par_pos to
13438 LyXParagraph::size_type.
13440 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13442 * BufferView_pimpl.C (savePosition, restorePosition): Write
13443 messages to minibuffer.
13445 2001-01-28 José Matos <jamatos@fep.up.pt>
13447 * buffer.C (makeDocBookFile): adds support for document language.
13448 A silly restriction on the name of LatexCommand types where removed.
13449 Added support for CDATA sections, allows to chars unescaped, used
13450 among others in code, to avoid escape < and >.
13452 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13454 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13455 saved positions instrad of a stack. Furthermore, a position is
13456 stored using paragraph id/paragraph position.
13458 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13459 Remove LFUN_REF_BACK.
13461 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13463 * converter.C (dvipdfm_options): New method.
13465 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13467 * vspace.C (isValidLength): Fix for empty input string.
13469 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13471 * LyXAction.C (init): change description of LFUN_FIGURE to
13474 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13476 * LaTeX.C: add using directive
13478 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13480 * MenuBackend.C (expand): Fix the sorting of the formats.
13482 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13484 * lyx_main.C: tiny error message fix
13486 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13488 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13489 calling fl_initialize(). This fixes the problem with ',' as
13490 decimal separator in text files.
13492 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13494 * trans.C (process): Fix the keymap bug.
13496 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13498 * LaTeX.C (scanAuxFiles): New method. Provides support for
13499 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13500 (scanLogFile) Scan for "run BibTeX" messages.
13502 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13503 OT1 font encoding. Also, load the aecompl package if the ae
13506 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13508 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13510 * texrow.C (increasePos): turn two error messages into debug
13513 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13515 * LaTeX.C (scanAux): Handle the \@input macro.
13516 (runBibTeX): Use scanAux().
13518 * language.C (latex_options_): New field.
13520 * LaTeXFeatures.C (getMacros): Add language macros.
13522 * buffer.C (makeLaTeXFile): Small fix.
13524 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13526 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13528 * text2.C: add a using directive.
13530 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13535 * lyxfunc.C: kill LyXBell.
13537 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13539 * text.C (IsBoundary): Remove the error message
13541 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13543 * lyxrc.C (setDefaults): Correct initialization value for
13546 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13548 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13551 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13552 and GotoNextNote().
13554 * src/LyXAction.C: Added reference-next.
13556 * text.C (InsertChar): Use contains instead of strchr.
13558 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13560 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13562 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13563 alignment commands (when needed).
13565 * text.C (InsertChar): Add ':' to number separator chars.