1 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * debug.C: only use the default constructor for debugstream
6 * main.C (main): include debug.h and setup the lyxerr streambuf
9 2003-10-31 José Matos <jamatos@lyx.org>
11 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
13 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
14 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
15 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
16 * paragraph_pimpl.C (simpleTeXSpecialC):
17 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
18 add LatexRunParams argument.
20 * exporter.C (Export): change call accordingly.
22 * latexrunparams.h: add new member to take care of the other backends.
23 2003-10-30 José Matos <jamatos@lyx.org>
25 * buffer.C (makeLinuxDocFile, makeDocBookFile):
26 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
27 factorise code for paragraph output.
29 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
32 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
35 * lyxfunc.C (dispatch):
36 * cursor.C (dispatch):
37 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
39 * dispatchresult.h: make the dispatch_result_t ctor explicit
41 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
44 * buffer.C: small refactoring of docbook stuff
46 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
48 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
51 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
53 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
54 operator dispatch_result_t, and operators for == != and >=
56 * cursor.C (dispatch): adjust for operator dispatch_result_t
57 removal. comment out call to update
59 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
61 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
69 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
72 * dispatchresult.h: new file, DispatchResult broken out of
75 * Makefile.am (lyx_SOURCES): add dispatchresult.h
77 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
79 * text.C (rowBreakPoint): put a hack inside #if 0
81 2003-10-28 André Pönitz <poenitz@gmx.net>
88 * text2.C: general cleanup (lots of small stuff)
90 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
92 * text2.C (cursorEnd): simple fix to the "end key goes to one
93 before the end on last row" bug
95 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
97 * text.C (backspace): fix the "zombie characters"
99 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
101 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
103 2003-10-27 André Pönitz <poenitz@gmx.net>
105 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
107 * factory.C: handle new InsetPagebreak, InsetLine
109 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
110 and move handling into new InsetPagebreak, InsetLine
112 * BufferView_pimpl.C:
114 * ParagraphParameters.C:
127 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
136 * text3.C: remove lastPos uses in favour of Row::endpos
138 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
140 * undo.C (performUndoOrRedo): fix two crashes by setting a
141 cursor by hand and reordering some calls. Use bv->lockInset instead
142 of inset->edit because the latter loses cursor information
144 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
146 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
148 (rowBreakPoint): fix width. change point to point + 1.
151 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
154 * lyxfunc.C: fix (at least partly) the problems
155 with the Nav menu and headers inside branch insets
158 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
160 * paragraph.C (getChar): add strong asserts
162 * lyxrow_funcs.C (lastPos): remove hideous hack
164 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
165 (fill): adjust to that (avoid an infinite loop)
167 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
169 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
171 2003-10-23 André Pönitz <poenitz@gmx.net>
173 * RowList_fwd.h: change list<> to vector<> to gain speed
174 after suggestion from Alfredo
176 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
178 * lyxtext.h: move the bidi stuff from here...
181 * Bidi.[Ch]: ... to here
183 2003-10-23 André Pönitz <poenitz@gmx.net>
186 * text.C (isLastRow, isFirstRow): new functions
188 * paragraph.h: new width cache member
190 * rowpainter.C: replace RowList::iterator with Row & where possible
192 * lyxfunc.C: replace several view()->text with a single call
194 * toc.C: fix 'unused' warning
196 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
198 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
199 when woring with stream::pos_type
200 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
202 2003-10-22 André Pönitz <poenitz@gmx.net>
205 * text.C: use Row & instead of RowList::iterator
207 * lyxrow.h: rename end() to endpos()
213 2003-10-22 Angus Leeming <leeming@lyx.org>
215 * buffer.[Ch] (fully_loaded): new member function, returning true
216 only when the file has been loaded fully.
217 Used to prevent the premature generation of previews and by the
218 citation inset to prevent computation of the natbib-style label.
220 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
221 templates are all set up.
223 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
225 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
227 * text.C: fixed an "oops" in the "is a bit silly"
230 2003-10-21 André Pönitz <poenitz@gmx.net>
232 * FuncStatus.[Ch]: small stuff, whitespace
234 * lyxfont.[Ch]: operator<<() for debug reasons
238 * lyxtext.h: whitespace, spelling
240 * paragraph.C: naming of variables
243 * text2.C: small stuff
246 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
248 * text.C: (1) finish off the inset display() work;
249 (2) fix the "is a bit silly" bug (accessing char
252 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
254 * text.C: re-introduce display() for insets, fixing the
255 various bugs (stretch of line above, math inset
258 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
260 * text.C (rightMargin): remove spurious semicolon
262 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
265 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
267 * text3.C: fix one crash due to wrong cursor def
269 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
271 * vc-backend.C (scanMaster): make the regex static
273 * LaTeX.C (scanAuxFile): make the regexs static
275 * text3.C (doInsertInset, dispatch, dispatch):
276 * text2.C (cursorUp, cursorDown):
277 * text.C (selectNextWordToSpellcheck):
278 * BufferView_pimpl.C (dispatch):
279 * lyxfunc.C (dispatch): localDispatch -> dispatch
281 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
283 * lyxsocket.C: include <cerrno>
285 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
287 * lyxfunc.C (dispatch): remove textcache stuff
289 * bufferlist.C (release): remove textcache stuff
292 * TextCache.C: delete file
293 * TextCache.h: delete file
295 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
297 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
298 delete of the bv_->text.
299 (resizeCurrentBuffer): remove texcache stuff
300 (workAreaResize): ditto
302 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
304 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
307 2003-10-16 André Pönitz <poenitz@gmx.net>
314 * text3.C: speed up by storing y positions per paragraph plus per-row
315 offset instead of having a 'full' y position in the row.
317 2003-10-15 André Pönitz <poenitz@gmx.net>
321 * undo.[Ch]: make undo aware of inner insets
323 2003-10-14 Angus Leeming <leeming@lyx.org>
325 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
326 static member functions LyX::ref() and LyX::cref.
327 (lastfiles): new accessor functions for the new lastfiles_ member var.
328 (addLyXView, views_): add a new LyXView to the list of views_.
329 (updateInset): loop over all LyXViews to call their own updateInset
330 member function, returning a pointer to the Buffer owning the inset.
332 * BufferView_pimpl.C (loadLyXFile):
333 * MenuBackend.C (expandLastfiles):
334 * bufferlist.C (MenuWrite, QuitLyX):
335 lastfiles is no longer a global variable.
336 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
338 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
339 static function. Access through LyX::cref().emergencyCleanup().
341 2003-10-14 André Pönitz <poenitz@gmx.net>
343 * iterators.[Ch]: new direct access to innermost LyXText and Inset
345 * undo.[Ch]: restoring part of 'undo in insets'
348 * undo_funcs.[Ch]: merge with undo.[Ch]
350 * tabular.C: small cleansing stuff
352 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
354 * paragraph_funcs.C (readParToken): report unknown insets as error
355 boxes. Use the outer paragraph as location (also for unknown
358 * factory.C (readInset): do not abort on reading an unknown inset.
361 2003-10-13 Angus Leeming <leeming@lyx.org>
363 * lyx_main.C (LyX): remove call to setDisplayTranslator().
365 * lyxrc.C: displayTranslator is now a function,
366 declared in GraphicsTypes.h.
368 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
370 * format.C: new placeholder $$a to pass the socket address.
372 * bufferlist.[Ch]: new function getBufferFromTmp.
374 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
375 files in the temporary dir.
377 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
379 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
381 * Makefile.am: add lyxsocket.[Ch].
383 * lyx_main.C (error_handler): handle SIGPIPE.
385 2003-10-13 André Pönitz <poenitz@gmx.net>
387 * BufferView_pimpl.C:
392 * undo_funcs.[Ch]: use paroffset_type instead of
393 ParagraphList::iterators to prevent multiple conversion
394 (and get a more robust interface)
396 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
398 * lyxfunc.C (dispatch): RESULT -> dispatch_result
400 * text3.C (dispatch): ditto
402 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
404 * LaTeX.C (handleFoundFile): move the static to smaller scope,
405 move the onlyfile, use onlyfile instead of foundfile in a couple
408 * DepTable.C (update): flush the error stream a bit more
410 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
412 * lyxserver.C (callback): adjust
414 * lyxfunc.C (getStatus): add a missing brace in commented code
415 (ensureBufferClean): reindent
416 (dispatch): delete version taking a string
418 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
420 * LaTeX.C (deplog): move found file handlig from here...
421 (handleFoundFile): .. to new function here.
422 (deplog): make sure to discover several files mentioned on the
425 2003-10-10 André Pönitz <poenitz@gmx.net>
432 * text3.C: fix some of the tabular crashes
434 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
436 * MenuBackend.C (binding): put debug message into Debug::KBMAP
438 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
440 2003-10-09 André Pönitz <poenitz@gmx.net>
442 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
445 * BufferView_pimpl.C:
446 * bufferview_funcs.C:
457 * undo_funcs.C: adjust
459 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
461 * text2.C (incrementItemDepth): new function, use a backtracking
462 algorithm to discover the correct item depth.
463 (resetEnumCounterIfNeeded): new function, use a backtracking
464 algorithm to discover if counter reset is needed.
465 (setCounter): use them. Simplify a bit. Add different labels for
466 different item depths for itemize.
468 * paragraph.C (Paragraph): remove initialization of enumdepth
471 * paragraph.h: get rid of enumdepth, and use itemdepth both for
472 enumerate and itemize. Change the type of itemdepth to signed char.
474 2003-10-08 André Pönitz <poenitz@gmx.net>
476 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
481 * tabular.[Ch]: fix crash after 'row-insert'
483 2003-10-08 Angus Leeming <leeming@lyx.org>
485 Fix doxygen warnings.
487 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
488 Remove CutAndPaste:: prefix from header file declaration.
490 * LColor.h (fill): remove LColor:: prefix from declaration.
492 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
493 use lyx::depth_type rather than Paragraph::depth_type so that
494 header file and .C file match.
496 * converter.h (intToFormat): remove Converters:: prefix from declaration.
498 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
499 * aspell.C: \file aspell_local.C -> \file aspell.C
500 * gettext.C: \file gettext.C -> \file src/gettext.C
501 * gettext.h: \file gettext.h -> \file src/gettext.h
502 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
503 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
504 * text.C: \file text.C -> \file src/text.C
506 * toc.C: move comment so that doxygen is not confused.
508 2003-10-07 Angus Leeming <leeming@lyx.org>
510 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
512 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
515 * aspell_local.h: add forgotten std::string's.
517 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
524 * text3.C: The Box patch. Fancybox support, minipage, parbox
526 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
532 * ParagraphParameters.h:
542 * lyxtextclasslist.h:
546 * textcursor.h: add <string> and other small fixes to make Lars'
547 std::string patch compile with STLport.
549 2003-10-06 Angus Leeming <leeming@lyx.org>
551 * LColor.h: Add missing #include <string>.
553 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
555 * All most all file in all subdirs: Make <string> be the prefered
556 way of getting to std::string, add using declarations.
558 2003-10-06 André Pönitz <poenitz@gmx.net>
560 * metricsinfo.C: initialize LyXFont before changing attribute.
561 (fixes the 'math in \emph is upright' bug)
563 2003-10-06 André Pönitz <poenitz@gmx.net>
565 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
567 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
570 * paragraph_pimpl.C: Small fixes to build using STLport
572 2003-10-02 André Pönitz <poenitz@gmx.net>
575 * text3.C: move handling of LFUN_DEPTH *; fix #1360
577 2003-10-01 André Pönitz <poenitz@gmx.net>
579 * factory.C: assert early
581 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
583 * lyx_main.C: remove the global debug object
585 * debug.h: adjust for new debugstream
587 * debug.C: adjust for new debugstream and keep the global debug
590 2003-09-22 Angus Leeming <leeming@lyx.org>
592 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
593 of g++ which otherwise complain that the scoped_ptr destructor can't delete
594 an incomplete class LyXFont.
596 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
598 * factory.C: bug fix in branches
600 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
602 * lyxfunc.C (processKeySym): adjust
604 (dispatch): change arg name from ev to func, adjust
605 (sendDispatchMessage): ditto
607 * lyx_main.C (defaultKeyBindings): adjust keybindings
608 (deadKeyBindings): ditto
610 * kbsequence.C (addkey): return a FuncRequest
612 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
614 * kbmap.C (bind): take a FuncRequest as arg, adjust
617 (defkey): change to take a FuncRequest as arg, adjust
618 (findbinding): take a FuncRequest as arg, adjust.
620 * funcrequest.h (operator=): added
622 * funcrequest.C (FuncRequest): default kb_action changed from
623 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
625 * buffer.C (dispatch): simplify
626 (dispatch): adjust to take a FuncRequest as arg, adjust
628 * boost.C (assertion_failed): change assertion message slightly
630 * ToolbarBackend.C (read): simplify
632 * MenuBackend.C (binding): adjust call to findbinding, add a
633 message if no binding is found.
635 (expandToc): correct by adding a empty FuncRequest
637 * LyXAction.C: include <boost/assert.hpp>
638 (isPseudoAction): delete function
639 (LookupFunc): change name to...
640 (lookupFunc): this. change return type to FuncRequest.
641 (getActionName): take kb_action as arg, simplify
642 (funcHasFlag): add an assert, simplify.
644 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
646 * toc.C (action): return a FuncRequest, simplify
648 * lyxfunc.C (processKeySym): adjust
649 (getStatus): delete version that takes an int.
651 (dispatch): delete version that takes action as int
653 (sendDispatchMessage): simplify and adjust
655 * funcrequest.C (getArg): take unsigned int as arg
657 * ToolbarBackend.C (read): adjust
658 (add): delete version that takes func as a string.
659 (getIton): take a FuncRequest as arg
661 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
664 * MenuBackend.C (MenuItem): add a new construct that only takes a
665 Kind, simplify the constructor use for submenus.
667 (expandLastfiles): adjust
668 (expandDocuments): adjust
669 (expandFormats): adjust
670 (expandFloatListInsert): adjust
671 (expandFloatInsert): adjust
672 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
674 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
675 Remove class variables lyx_pseudo_map and lyx_arg_map
677 * LyXAction.C (searchActionArg): delete function
678 (getPseudoAction): delete function
679 (retrieveActionArg): delete function
680 (LookupFunc): make it return kb_action, simplify.
681 (getActionName): simplify
683 * factory.C (createInset): fix new bug
685 2003-09-19 Angus Leeming <leeming@lyx.org>
687 * CutAndPaste.C (pasteSelection): remove fudge used to set the
688 masterFilename_ parameter in the include inset.
690 * factory.C (createInset): changes due to the changes to InsetInclude.
692 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
694 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
696 2003-09-18 Angus Leeming <leeming@lyx.org>
699 * BufferView.C: pass the buffer when calling Inset::getLabelList,
700 Inset::fillWithBibKeys.
701 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
703 2003-09-18 Angus Leeming <leeming@lyx.org>
705 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
707 (ctor): pass and store a 'Buffer const &'
708 (buffer): new member function.
710 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
711 '*this' to the LaTeXFeatures ctor.
713 2003-09-18 Angus Leeming <leeming@lyx.org>
719 * text.C: rename EnumLColor as LColor_color.
721 2003-09-18 Angus Leeming <leeming@lyx.org>
723 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
724 remove #include "insets/insetbase.h" from cursor.h.
726 2003-09-18 Angus Leeming <leeming@lyx.org>
728 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
729 InsetOld_code to remove #include "inset.h".
731 * iterators.C: add #include "insets/inset.h"
733 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
735 * BufferView.C: remove more locking stuff that apparently doesn't
736 do anything sensible.
738 2003-09-16 André Pönitz <poenitz@gmx.net>
741 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
744 2003-09-16 Angus Leeming <leeming@lyx.org>
746 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
748 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
751 * paragraph.h: remove #include "lyxfont.h". Forward declare
754 2003-09-16 Angus Leeming <leeming@lyx.org>
756 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
757 of support/textutils.h.
758 (isWord): move the contents of support/textutils.h's IsWordChar here.
764 * text2.C: add #include "paragraph.h".
767 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
769 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
775 * LaTeX.C: use namespace alias for lyx::support::os
777 2003-09-16 Angus Leeming <leeming@lyx.org>
780 * bufferview_funcs.C:
785 * text.C: add #include "LColor.h".
787 2003-09-16 Angus Leeming <leeming@lyx.org>
789 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
790 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
792 Store the FontBits::color variable as an int rather than as an
793 LColor::colorso that we can move LColor.h out of the lyxfont.h header
796 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
797 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
798 string calls together.
800 * lyxrc.C: add #include "LColor.h".
802 2003-09-15 Angus Leeming <leeming@lyx.org>
804 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
807 2003-09-15 Angus Leeming <leeming@lyx.org>
809 * LColor.h: add an EnumLColor wrapper for LColor::color.
811 * lyxfont.[Ch] (color, setColor, realColor):
812 * lyxtext.h, text.C (backgroundColor):
813 pass EnumLColor args to/from the functions, rather than LColor::color
817 * lyxtext.h: forward declare EnumLColor.
819 * lyx_main.C: add #include "LColor.h".
821 2003-09-15 Angus Leeming <leeming@lyx.org>
823 * .cvsignore: add lyx-gtk.
825 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
830 * ParagraphParameters.C
844 * vc-backend.C: remove usage of STRCONV
846 2003-09-15 Angus Leeming <leeming@lyx.org>
848 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
849 explicitly define the color passed to the painter.
851 2003-09-15 Angus Leeming <leeming@lyx.org>
853 * bufferparams.C (BufferParams): reorder member initializers to avoid
856 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
858 * CutAndPaste.C (pasteSelection): remove an outdated #warning
859 * text.C (updateRowPositions): remove an unusual nop
861 2003-09-12 André Pönitz <poenitz@gmx.net>
863 * BufferView_pimpl.C:
872 * Counters.[Ch]: finish the 'automatic counters' job
874 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
876 * aspell.C: include <boost/assert.cpp> (compile fix)
878 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
880 * boost.C (assertion_failed): use lyx::support::abort instead of
883 2003-09-10 Angus Leeming <leeming@lyx.org>
885 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
886 with their _fwd progeny.
888 2003-09-09 Angus Leeming <leeming@lyx.org>
890 134 files throughtout the source tree: replace 'using namespace abc;'
891 directives with the appropriate 'using abc::xyz;' declarations.
893 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
895 * boost.C (emergencyCleanup): moved here from LAssert.c
896 (assertion_failed): new function, called by BOOST_ASSERT
898 * several files: change Assert to BOOST_ASSERT
900 2003-09-09 Angus Leeming <leeming@lyx.org>
902 * buffer.[Ch]: Add an Impl class and move Buffer's member
903 variables into it. As a result move several header files out of
906 Add header files to lots of .C files all over the tree as a result.
908 2003-09-09 Angus Leeming <leeming@lyx.org>
910 * buffer.[Ch]: make Buffer's member variables private. Add
913 Lots of changes all over the tree as a result.
915 2003-09-08 Angus Leeming <leeming@lyx.org>
917 * graph.C: #include <config.h>.
919 2003-09-08 Angus Leeming <leeming@lyx.org>
923 * BufferView_pimpl.C:
952 * toc.C: remove redundant using directives.
954 2003-09-07 Angus Leeming <leeming@lyx.org>
956 * LaTeXFeatures.h: remove #include "support/types.h".
957 * ToolbarBackend.h: remove #include <algorithm>.
958 * changes.h: remove #include <ctime>.
959 * debug.h: remove #include <iosfwd>.
960 * graph.h: remove #include "support/std_string.h".
961 * lyx_main.h: remove #include <csignal>.
962 * lyxlex_pimpl.h: remove #include <fstream>.
963 * sgml.h: remove #include <algorithm>, <utility>.
964 * toc.h: remove #include "support/std_ostream.h".
965 Add #include <iosfwd>.
967 2003-09-07 Angus Leeming <leeming@lyx.org>
969 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
971 * converter.h: forward declare LatexRunParams.
972 * encoding.h: remove #include "lyxrc.h".
973 * lyxtext.h: remove #include "LColor.h".
974 * lyxtextclass.h: remove #include "support/types.h".
975 * trans.h: remove #include "tex-accent.h".
976 * trans_mgr.h: remove #include "tex-accent.h".
977 * insets/inset.h: remove #include "support/types.h", <vector>.
978 * insets/insetcollapsable.h: remove #include "LColor.h".
979 * insets/insetinclude.h: remove #include "dimension.h".
980 * insets/insetlatexaccent.h: remove #include "dimension.h".
981 * insets/insetoptarg.h:: remove #include "insettext.h".
982 * insets/insettext.h: remove #include "dimension.h",
983 <boost/shared_ptr.hpp>
985 * insets/renderers.h: add #include "dimension.h".
986 * insets/updatableinset.h: add #include "support/types.h".
988 * many .C files: Associated changes.
990 2003-09-06 Angus Leeming <leeming@lyx.org>
992 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
993 one, inside testInvariant.
995 * PrinterParams.C: new file.
996 * PrinterParams.[Ch]: move the function bodies out of line.
998 2003-09-06 Angus Leeming <leeming@lyx.org>
1000 * ParagraphParameters.h: forward declare ParameterStruct rather than
1001 including its header file.
1002 (depth): moved out-of-line.
1004 2003-09-06 Angus Leeming <leeming@lyx.org>
1006 * BufferView_pimpl.h:
1009 * lyxfunc.h: forward declare LyXKeySym rather than
1010 #include "frontends/LyXKeySym.h".
1012 * BufferView_pimpl.C:
1015 * lyxfunc.C: associated changes.
1017 2003-09-06 Angus Leeming <leeming@lyx.org>
1019 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1020 As a result, can remove the #include "insets/inset.h" from BufferView.h
1022 2003-09-06 Angus Leeming <leeming@lyx.org>
1024 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1025 As a result, can remove the #include "insets/inset.h" from BufferView.h
1027 2003-09-06 Angus Leeming <leeming@lyx.org>
1033 * bufferview_funcs.C:
1034 * BufferView_pimpl.C:
1039 * ParagraphParameters.C:
1044 * frontends/controllers/ControlDocument.C:
1045 * insets/insetcaption.C: rearrange the #includes into some sort of
1048 * buffer.h: remove #includes ErrorList.h, undo.h
1050 2003-09-06 Angus Leeming <leeming@lyx.org>
1052 * support/types.h: add a 'depth_type' typedef, used to store the
1053 nesting depth of a paragraph.
1056 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1057 defining explicitly.
1060 * paragraph_funcs.h:
1061 * ParagraphParameters.h:
1062 * sgml.h: use lyx::depth_type rather than Paragraph or
1063 ParameterStruct's depth_type.
1066 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1069 * BufferView_pimpl.C:
1071 * ParagraphParameters.C:
1074 * bufferview_funcs.C:
1081 * frontends/LyXView.C:
1082 * frontends/controllers/ControlDocument.C:
1083 * frontends/controllers/ControlErrorList.C:
1084 * insets/insetbibitem.C:
1085 * insets/insetbranch.C:
1086 * insets/insetcaption.C:
1087 * insets/insetcollapsable.C:
1088 * insets/insetenv.C:
1089 * insets/insetert.C:
1090 * insets/insetfloat.C:
1091 * insets/insetfoot.C:
1092 * insets/insetfootlike.C:
1093 * insets/insetnewline.C:
1094 * insets/insetquotes.C:
1095 * insets/insettabular.C:
1096 * insets/insettext.C:
1097 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1099 * frontends/controllers/ControlChanges.C: #include "changes.h".
1101 2003-09-06 Angus Leeming <leeming@lyx.org>
1103 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1104 than #including paragraph.h.
1107 * RowList.h: deleted. Superfluous.
1117 * insets/insettext.h: use ParagraphList_fwd.h rather than
1120 * paragraph.h: don't forward declare ParagraphList.
1123 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1124 rather than ParagraphList.h. paragraph.h is still needed for the
1125 Paragraph::depth_type parameters.
1127 * textcursor.h: enable it to compile stand-alone in light of the
1130 * bufferview_funcs.C:
1142 * frontends/controllers/ControlParagraph.C:
1143 * frontends/controllers/ControlTabular.C:
1144 * insets/insetmarginal.C:
1145 * insets/insetminipage.C:
1146 * insets/insetnote.C:
1147 * insets/insetoptarg.C: add header files needed to compile again.
1149 2003-09-06 Angus Leeming <leeming@lyx.org>
1151 * RowList_fwd.h: new file, forward-declaring Row rather than
1152 #including lyxrow.h.
1157 * insets/insettext.h: use it instead of RowList.h
1159 * bufferview_funcs.C:
1166 * text3.C: #include "RowList.h".
1168 2003-09-05 Angus Leeming <leeming@lyx.org>
1170 * factory.C (createInset):
1171 * vspace.C (c-tor): replace sscanf call with an istringstream.
1172 * ispell.C: re-add missing HP/UX headers.
1173 * lyxserver.C: re-add missing os2 headers.
1175 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1184 * text3.C: re-add missing system headers, needed for 2.95.2.
1186 2003-09-05 Angus Leeming <leeming@lyx.org>
1188 Changes most place everywhere due to the removal of using directives
1189 from support/std_sstream.h.
1191 2003-09-05 Angus Leeming <leeming@lyx.org>
1193 Replace LString.h with support/std_string.h,
1194 Lsstream.h with support/std_sstream.h,
1195 support/LIstream.h with support/std_istream.h,
1196 support/LOstream.h with support/std_ostream.h.
1198 Changes resulting throughout the tree.
1200 2003-09-05 Angus Leeming <leeming@lyx.org>
1202 * sgml.h: ensure that the header file can be compiled stand-alone.
1203 * *.C: strip out redundant #includes. (320 in total.)
1205 2003-09-04 Angus Leeming <leeming@lyx.org>
1207 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1208 here (from getPackages).
1210 * debug.[Ch]: add a new EXTERNAL tag.
1212 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1214 * text2.C (cursorEnd): simplify
1216 (getColumnNearX): adjust
1218 * text.C (computeBidiTables): adjust
1221 * rowpainter.C (paintChars): adjust
1222 (paintSelection): adjust
1223 (paintChangeBar): adjust
1226 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1228 (numberOfSeparators): adjust
1230 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1236 * text3.C: Restricts the mouse click functionality
1237 of insets like bibtex, include, toc and floatlist to the visible
1238 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1239 up the dialogs. Cursor has to be in front of the inset (i.e.
1240 start of row) for this to function.
1242 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1244 * bufferview_funcs.C (currentState): output row information
1246 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1248 * bufferview_funcs.C (currentState): output paragraph position
1250 2003-09-04 Angus Leeming <leeming@lyx.org>
1252 * FloatList.h: move out #include "Floating.h".
1253 * LaTeX.h: move out #include "DepTable.h".
1254 * LyXAction.h: move out #include "funcrequest.h".
1255 * buffer.h: move out #include "author.h", "iterators.h".
1256 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1257 * lyx_main.h: move out #include "errorlist.h".
1258 * lyxfunc.h: move out #include "FuncStatus.h".
1259 * lyxtext: move out #include "lyxcursor.h".
1260 * paragraph_pimpl.h: move out #include "counters.h".
1262 2003-09-03 Angus Leeming <leeming@lyx.org>
1264 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1265 preamble_snippets list, enabling us to add snippets to the preamble
1266 only if the snippet was not there already.
1268 2003-09-04 Angus Leeming <leeming@lyx.org>
1270 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1272 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1274 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1277 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1279 * BranchList.C: point fix, earlier forgotten
1281 2003-09-02 Angus Leeming <leeming@lyx.org>
1283 * box.C (contains): renamed from 'contained' after a fantastic
1286 2003-09-02 John Levon <levon@movementarian.org>
1292 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1294 2003-09-02 John Levon <levon@movementarian.org>
1296 * text2.C: simplification of cursorEnd(), including partial
1299 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1301 * buffer.C (readFile): add a space
1303 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1305 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1307 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1309 * buffer.C (readFile): new function, take a filename and a
1310 ParagraphList::iterator
1312 (readFile): adjust, make it private. don't use setStream, make
1313 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1314 always contain the filename.
1316 * BufferView.C (insertLyXFile): simplify and make it work for
1319 2003-08-30 John Levon <levon@movementarian.org>
1321 * Makefile.am: fix dist (from Kayvan)
1323 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1325 * most files: change to use const Buffer refs
1327 2003-08-27 André Pönitz <poenitz@gmx.net>
1329 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1330 on top of ownerPar().
1332 2003-08-27 John Levon <levon@movementarian.org>
1334 * funcrequest.C: properly initialise POD members
1336 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1338 * lyxtext.h (top_y): move top_y from here
1343 * BufferView_pimpl.[Ch]: to here
1344 * frontends/screen.C:
1345 * insets/insettabular.C:
1346 * insets/insettext.C: adjust
1347 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1349 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1352 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1354 2003-08-26 André Pönitz <poenitz@gmx.net>
1356 * paragraph_func.[Ch] (outerPar): new function
1359 * paragraph_funcs.C:
1360 * paragraph_funcs.h:
1361 * paragraph_pimpl.C:
1362 * text2.C: remove Inset::par_owner
1364 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1369 * text2.C: eliminates the needFullRow/display() stuff
1370 altogether, putting the logic in metrics/draw in the insets.
1372 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1374 * text2.C (redoParagraphInternal, redoParagraphs):
1375 * text.C (redoParagraph): add a call to updateRowPositions at the
1376 end of each 'metrics-like' call. Remove all others.
1377 (getRow): remove the 'y-computing' version.
1378 (getRowNearY): do not compute nor return the real y. Solve the
1379 'y < 0' problem and simplify.
1381 2003-08-22 Angus Leeming <leeming@lyx.org>
1383 * *.[Ch]: clean-up of licence and author blurbs.
1384 Also move config.h out of a few .h files and into a few .C files.
1386 2003-08-22 André Pönitz <poenitz@gmx.net>
1388 * lyxrow.[Ch]: add x_ and *fill_ members
1393 * text2.C: adjust/remove prepareToPrint() calls
1395 2003-08-22 André Pönitz <poenitz@gmx.net>
1397 * lyxrow.[Ch]: add end_ member
1399 * lyxrow_funcs.C: use LyXRow::end_
1401 * lyxtext.h (singleWidth): add LyXFont parameter
1404 * text2.C: adjust LyXText::singleWidth() calls
1406 * text.C (redoParagraph): simplify row breaking logic
1409 2003-08-19 André Pönitz <poenitz@gmx.net>
1411 * funcrequest.C: initialize button_ member
1414 * rowpainter.[Ch]: interface consolidation
1416 2003-08-18 André Pönitz <poenitz@gmx.net>
1419 * BufferView_pimpl.C:
1421 * paragraph_funcs.C:
1423 * text3.C: remove LyXScreen::draw() and fitCursor calls
1425 * BranchList.h: remove spurious semicolons
1427 * MenuBackend.C: fix branchlist related crash
1429 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1437 * bufferparams.[Ch]:
1441 * text3.C: implements the 'branch inset'
1442 idea. This allows the output of various versions of a document
1443 from a single source version, selectively outputing or suppressing
1444 output of parts of the text.
1445 This implementation contains a 'branch list editor' in a separate
1446 tab of the document settings dialog. Branches are user definable
1447 and have a "display colour" to distinguish them on-screen.
1449 ColorHandler was somewhat cleaned up.
1450 (1) make possible a dynamically growing LColor list by allowing
1451 the graphic context cache to grow along (vector);
1452 (2) eliminate an IMHO unnecessary step in colour allocation.
1454 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1456 * BufferView_pimpl.C: compile fix
1458 2003-08-15 André Pönitz <poenitz@gmx.net>
1460 * rowpainter.C: remove extra metrics calls
1462 * lyxtext.h: merge the two constructors into a single one,
1463 pass reference to owner's par list
1465 * BufferView_pimpl.C:
1469 2003-08-15 André Pönitz <poenitz@gmx.net>
1471 * lyxrow_funcs.[Ch]:
1474 * paragraph_funcs.C:
1479 * text_funcs.C: split LyXText::rowlist_ into individual
1480 Paragraph::rows_ chunks
1483 * BufferView_pimpl.[Ch]:
1486 * text3.C: remove toggleSelection()
1488 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1490 * bufferlist.C: beautify two alerts (shorter text of buttons)
1491 * buffer.C: Remove redundant ' ' from message
1493 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1494 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1495 rename VALIGN_CENTER to VALIGN_MIDDLE
1497 2003-08-11 André Pönitz <poenitz@gmx.net>
1499 * lyxtext.h (getPar):
1500 * text.C: new function
1502 2003-08-11 André Pönitz <poenitz@gmx.net>
1505 * tracer.[Ch]: remove unneeded files
1507 * InsetList.[Ch]: remove resizeInsetsLyXText()
1512 * text3.C: merge insertParagraphs() and appendParagraph()
1513 remove breakAgain(), update()
1515 * BufferView_pimpl.[Ch]:
1516 * bufferview_funcs.[Ch]:
1520 * tabular.C: adjust after text & InsetList changes.
1522 2003-08-08 André Pönitz <poenitz@gmx.net>
1524 * text.C (insertChar, backspace): replace rowlist fiddling
1525 with rebreak of full par
1528 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1529 checkParagraph, updateInset): removed
1531 2003-08-07 André Pönitz <poenitz@gmx.net>
1534 * text3.C: merge some LFUN handlers, remove dead code
1536 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1538 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1540 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1542 * text2.C (DEPM): fix part of bug 1255 and 1256
1544 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1546 * BufferView_pimpl.C (workAreaDispatch): change to use
1547 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1548 that are no mouse related.
1550 2003-08-05 André Pönitz <poenitz@gmx.net>
1553 * BufferView_pimpl.[Ch]:
1554 * bufferview_funcs.C:
1556 * text3.C: rip out "deep update"
1558 * textcursor.[Ch] (last_sel_cursor): remove unused member
1560 2003-08-04 André Pönitz <poenitz@gmx.net>
1563 * BufferView_pimpl.[Ch]:
1564 * ParagraphParameters.C:
1565 * bufferview_funcs.C:
1571 * text3.C: replace "complicated" BufferView::update(...) calls with
1574 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1576 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1578 * Makefile.am (lyx_SOURCES): add paper.h
1580 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1582 * Makefile.am: move things around so that both lyx-qt and
1583 lyx-xforms can be built (according to --with-frontend). Then lyx
1584 is a symbolic link to lyx-[firstfrontend]
1586 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1588 * Always use std::endl with lyxerr
1590 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1592 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1594 2003-08-01 André Pönitz <poenitz@gmx.net>
1597 * BufferView_pimpl.[Ch]:
1599 * text3.C: merge BufferView::repaint() and BufferView::update()
1601 2003-08-01 José Matos <jamatos@lyx.org>
1603 * buffer.[Ch]: file_format is no longer a buffer data element.
1605 2003-08-01 André Pönitz <poenitz@gmx.net>
1610 * text2.C: make redoParagraph more independent of current cursor
1612 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1614 * text2.C: remove unneeded members
1616 2003-07-30 André Pönitz <poenitz@gmx.net>
1618 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1620 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1621 create a single function...
1623 * paragraph_funcs.C (moveItem): ... here.
1626 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1628 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1630 * LColor.[Ch]: Add comment and greyedout logical colors.
1632 2003-07-30 André Pönitz <poenitz@gmx.net>
1634 * tabular.C: don't use Assert too heavily. This crashes where it
1637 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1639 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1640 is disabled (bug 1232)
1642 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1644 * factory.C: limited 'arg' scope
1646 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1648 * factory.C: fixed Note submenu issues
1650 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1652 * factory.C: submenu for Note/Comment/Greyedout
1654 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1657 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1659 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1662 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1663 greyedout. Patch provided by Jürgen Spitzmüller.
1665 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1667 * kbmap.C (read): fix error message when reading bind files
1669 2003-07-29 Angus Leeming <leeming@lyx.org>
1671 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1672 certainly does not do what it purports to do. I am doing it, and
1673 us, a favour by killing it.
1675 2003-07-28 José Matos <jamatos@lyx.org>
1677 * buffer.C (readBody, do_writeFile):
1678 * paragraph.C(readParagraph): \end_document replaces \the_end.
1680 2003-07-29 André Pönitz <poenitz@gmx.net>
1683 * BufferView_pimpl.[Ch]:
1687 * textcursor.[Ch]: remove toggleToggle & Co
1689 2003-07-28 José Matos <jamatos@fep.up.pt>
1691 * buffer.C (readParagraph):
1692 * params_func (readParToken, readParagraph):
1693 * paragraph.C (write): \layout -> \begin_layout.
1695 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1697 * lyxlex_pimpl.C (setFile): clean up slightly.
1699 * bufferparams.h: add compressed var
1701 * buffer_funcs.C (readFile): adjust for LyXLex change
1702 (newFile): ditto + simplify
1704 * buffer.C (writeFile): handle writing of compressed files
1706 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1707 Check if the file is compressed and set a bufferparm if so.
1709 * Makefile.am (lyx_LDADD): remove explicit -lz
1711 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1713 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1714 makeDocBookFile): put the real LyX version in the first line of
1718 * version.C.in: remove lyx_docversion
1720 * tabular.C (write_attribute): add a template-based version to
1721 write enums properly
1723 2003-07-28 André Pönitz <poenitz@gmx.net>
1728 * text3.C: use doubles again for x-coordinates. They are needed.
1730 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * messages.C (getLocaleDir): use lyx_localedir()
1734 * lyxlex_pimpl.C (setFile): compress stuff
1736 * buffer.C (writeFile): add some compression stuff
1737 (do_writeFile): new func, dont call expliti close... will this
1740 * Makefile.am (lyx_LDADD): add -lz
1742 2003-07-28 José Matos <jamatos@fep.up.pt>
1744 * buffer.C: increment file format.
1745 * paragraph_funcs (readParagraph, readParToken):
1746 * paragraph.C (readParagraph): add \end_layout.
1748 2003-07-27 Angus Leeming <leeming@lyx.org>
1750 * Makefile.am: remove special casing for configure-time setting of
1751 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1753 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1754 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1756 2003-07-26 André Pönitz <poenitz@gmx.net>
1758 * paragraph_func.[Ch]:
1759 * paragraph.C (realizeFont): inline it whereever it is used
1764 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1767 2003-07-26 André Pönitz <poenitz@gmx.net>
1771 * text2.C: get rid of LyXText::need_break_row
1773 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * toc.[Ch]: put namespace toc inside namespace lyx
1777 * MenuBackend.C (expandToc2): adjust for lyx::toc
1780 * lyxfunc.C (dispatch): adjust for lyx::find
1782 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1783 lyx::find instead. Reorganize a bit.
1784 (LyXReplace): rename to replace
1785 (LyXFind): rename to find
1787 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1790 2003-07-26 André Pönitz <poenitz@gmx.net>
1792 * text.C (setHeightOfRow): restrict scope of temporary variable
1794 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1795 code (never has been used?)
1797 2003-07-27 Asger Alstrup <alstrup@local>
1799 * text.C (fill): Optimise algorithm to exploit that we can reuse
1800 the LyXFont for many characters.
1801 (setHeightOfRow): Same thing.
1802 (rowBreakPoint): Same thing.
1804 2003-07-26 Asger Alstrup <alstrup@local>
1806 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1808 * text.C (singleWidth): Spurious font copying in hot-spot
1809 singleWidth avoided. Reorder tests for arabic for efficiency.
1811 * text.C (fill): handle empty paragraphs better.
1813 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1816 * encoding.h: add includes
1818 * lyxrc.C: remove reading of bind files
1820 * lyx_main.C (init): setup bindings and menus only if we have a
1823 * kbmap.C (read): new method. Do the actual reading of bind
1826 * converter.C (dvipdfm_options):
1829 (output): adapt PAPER_* enums.
1831 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1833 * bufferparams.h: remove paper-related enums from there
1835 * paper.h: New file. A trivial header file to hold paper-related
1836 enums. It should later expand to contain many paper-related
1839 * lyxrc.C: declare extern displayTranslator
1841 2003-07-27 José Matos <jamatos@fep.up.pt>
1843 * tabular.[Ch] (linuxdoc): add support for tables and figures
1846 2003-07-27 José Matos <jamatos@fep.up.pt>
1848 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1849 consistency in both functions.
1850 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1852 2003-07-26 Asger Alstrup <alstrup@local>
1854 * rowpainter.C (paintRows): Change algorithm to work directly on
1855 the insets rather than asking every character in the document
1856 whether its an inset.
1858 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1860 * buffer.C (openFileWrite): factorize some code
1862 2003-07-26 Angus Leeming <leeming@lyx.org>
1865 * lyx_main.[Ch]: replace occurances of system_tempdir with
1868 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1870 * rename Inset to InsetOld
1872 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1874 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1875 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1876 which I think is a bit clearer. EDIT is gone, since it was
1877 premature optimisation, and broken for mathed anyway.
1878 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1879 with cursor positioning in insets as well (math insets still do not
1880 work, but that's a different story anyway.) It mysteriously
1881 crashes sometimes with undo in the first paragraph, but I'm fairly
1882 confident that this is a compiler bug.
1884 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1886 * paragraph.C (Paragraph): adjust for new clone return type
1888 (copyIntoMinibuffer): ditto
1890 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1892 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1893 by not having a special case, and always doing a full rebreak of
1894 the document after undo.
1896 2003-07-23 Angus Leeming <leeming@lyx.org>
1898 * factory.C (createInset): InsetExternal::setParams now takes a
1901 2003-07-23 Angus Leeming <leeming@lyx.org>
1903 * factory.C (createInset): changed interface to the external and
1904 graphics mailers' string2params functions.
1906 2003-07-23 Angus Leeming <leeming@lyx.org>
1908 * factory.C (createInset): pass a
1909 Buffer const * parameter to InsetExternalMailer's string2params.
1911 2003-07-22 John Levon <levon@movementarian.org>
1913 * Thesaurus.h: include the right aiksaurus header
1915 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1917 * MenuBackend.C (expand): check menu shortcuts unconditionally
1919 2003-07-21 Angus Leeming <leeming@lyx.org>
1921 * factory.C (createInset): pass a
1922 buffer_path parameter to InsetGraphicsMailer's string2params.
1924 2003-07-21 Angus Leeming <leeming@lyx.org>
1926 * BufferView_pimpl.C (buffer):
1929 * lyxfunc.C (dispatch):
1930 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1931 rather than the grfx shortcut.
1933 2003-07-21 André Pönitz <poenitz@gmx.net>
1935 * rowpainter.C: remove unused variables
1938 * tabular_funcs.h: move to tabular.C
1939 * Makefile.am: adjust
1941 * tabular.[Ch]: basic optical cleaning
1943 * author.h: pass references, not values
1945 2003-07-18 André Pönitz <poenitz@gmx.net>
1953 * text3.C: two-phase drawing for InsetText and InsetTabular
1954 some float -> int changes.
1956 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1958 * lyx_main.C: fix the fix
1960 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1962 * lyx_main.C: fix a crash in batch mode if no files specified
1965 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1967 * format.[Ch] (papersize): moved to BufferParams
1968 * converter.[Ch] (dvips_options): moved to BufferParams
1969 (dvipdfm_options): moved to anon namespace
1970 * bufferparams.[Ch]: added above functions.
1972 2003-07-17 André Pönitz <poenitz@gmx.net>
1976 * text2.C: don't call inset->update() anymore
1978 * metricsinfo.[Ch]: add convenience constructor
1980 2003-07-16 André Pönitz <poenitz@gmx.net>
1985 * text2.C: replace the LyXCursor::irow_ member with
1986 on-demand computation of the value
1988 2003-07-16 John Levon <levon@movementarian.org>
1990 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1992 2003-07-15 André Pönitz <poenitz@gmx.net>
1995 * text2.C: remove no more needed refresh_row
1997 2003-07-15 André Pönitz <poenitz@gmx.net>
2002 * text3.C: refresh_status tristate -> need_update bool
2004 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2006 * lyxtext.h (init): remove reinit argument (act as if always true)
2007 * text2.C: adjust to that
2009 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2011 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2012 * text3.C: use it to delete selections in some cases
2013 (bugs 441, 673, 702, 954).
2015 2003-07-14 André Pönitz <poenitz@gmx.net>
2017 * rowpainter.[Ch]: reduce interface
2019 2003-07-14 André Pönitz <poenitz@gmx.net>
2021 * BufferView_pimpl.C:
2022 * text2.C: adjust after removing unused BufferView * argument
2024 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2026 * text2.C (init): fix a crash fired on resize
2028 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2030 * buffer.[Ch]: added new closing signal
2031 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2032 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2033 BufferView::Pimpl via the closing the signal
2035 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2037 * buffer.[Ch]: take out all bv-related from buffer
2039 * BufferView_pimpl.[Ch]: connect to new signals
2040 * CutAndPaste.C: removed useless asserts
2041 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2044 * lyxfunc.C: moved view-related funciontality from vc here
2045 * paragraph.C: removed outdated comments
2048 2003-07-10 André Pönitz <poenitz@gmx.net>
2050 * BufferView_pimpl.C:
2054 * text2.C: remove InsetText::InnerCache, clean up consequences
2056 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2058 * ispell.C: fix two typos in error messages
2060 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2062 * Extend Note inset to other forms of annotation like Comment
2063 and Greyedout. Right button click gives dialog.
2065 Files modified or added (+):
2069 * ControlNote.[Ch] +
2071 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2072 frontends/controllers
2076 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2078 * aspell.C: add missing namespace lyx::support
2080 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2082 * BufferView.[Ch] (newFile): Add
2083 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2084 * LaTeX.[Ch] (message): added this signal and use it
2085 * buffer.[Ch] (busy, message): added these signals and use them
2086 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2090 * importer.C: use buffer signals instead of direct bv calling
2091 * lyx_cb.[Ch] (ShowMessage): removed
2094 * paragraph_funcs.C:
2095 * text2.C: use buffer signals
2097 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2099 * introduce namespace lyx::graphics
2101 2003-07-02 André Pönitz <poenitz@gmx.net>
2103 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2105 2003-07-01 André Pönitz <poenitz@gmx.net>
2112 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2113 text*.C to text_func.C
2115 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2117 * introduce namespace lyx::support
2119 2003-06-30 André Pönitz <poenitz@gmx.net>
2124 * text.C: re-enable --with-included-string
2126 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2128 * textcursor.C: add <config.h>
2130 * text.C (getWord): remove const from word_location arg
2132 * lyxvc.C (getLogFile): fix const type order
2134 * lyxtext.h: remove const from word_location arg, add arg name
2136 * lyxlayout.h: currect type on labeltype.
2138 * importer.C: correct \file
2140 * converter.C (intToFormat): use std:: on ret val, ws changes
2142 * bufferlist.h: correct \file
2144 * buffer.C (makeLinuxDocFile): fix const type order
2145 (makeDocBookFile): ditto
2146 (fillWithBibKeys): use std:: on stdlib args.
2148 * CutAndPaste.C: fix authors.
2149 (availableSelections): use std:: on return vector
2151 2003-06-27 André Pönitz <poenitz@gmx.net>
2153 * BufferView_pimpl.C:
2154 * bufferview_funcs.C:
2162 * text3.C: remove LyXCursor::row_ member
2165 * text.C: rename fullRebreak() to partialRebreak() and implement
2166 a fullRebreak() that really bereks fully
2168 * textcursor.h: new struct for cursor-related data
2170 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2172 * lyx_main.C (LyX): get full path of document loaded on the
2175 2003-06-26 André Pönitz <poenitz@gmx.net>
2177 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2178 remove unused/broken operator>,<,>=.
2180 * text.C: remove only use of broken operator<= in an Assert().
2182 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2184 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2185 moved errorlist_.clear to showErrorList
2187 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2189 * converter.C (scanLog, runLaTeX):
2190 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2191 move the bv->showErrorList call to the callers
2192 * lyxfunc.C: i.e. here...
2194 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2195 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2196 namespace, the second to...
2197 * buffer_funcs (BufferFormat, parseErrors): added
2198 * errorlist.C (ErrorList(TeXErrors const &)): removed
2200 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2202 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2204 2003-06-24 "Garst R. Reese" <reese@isn.net>
2208 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2210 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2212 * version.C.in: change docversion to 1.4
2214 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2216 * buffer.C: fix a bug just introduced
2218 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2220 * buffer.[Ch]: added the parseError signal and use it, removed
2222 * BufferView.[Ch] (addError): moved to ...
2223 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2224 to the Buffer::parseError signal to catch (guess what) parse errors
2225 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2227 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2229 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2230 ability to create a buffer and to return an existing one from
2231 the list. Moved these functions to...
2232 * buffer_funcs.[Ch]: added
2233 * BufferView.[Ch] (loadLyXFile): added
2234 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2235 job removed from bufferlist::loadLyXFile.
2236 * buffer.C (setReadOnly): make it work without view
2237 (i.e added an if (users))
2239 2003-06-19 Angus Leeming <leeming@lyx.org>
2242 * LyXAction.C (init):
2243 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2244 with LFUN_DIALOG_SHOW <name> <data>.
2246 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2248 * CutAndPaste.C (availableSelections): small compilation fix for
2249 ancient (gcc 2.9x) compilers
2251 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2253 * text3.C (cursorNext): add tmp var
2255 * text2.C (updateCounters): for function calling out of for clause
2256 (replaceSelectionWithString): ditto
2257 (insertStringAsParagraphs): ditto
2258 (getColumnNearX): add tmp var
2259 (setCursorFromCoordinates): add tmp var
2260 (cursorDownParagraph): add tmp var
2261 (deleteEmptyParagraphMechanism): add tmp var
2263 * text.C (insertChar): add tmp var
2265 * rowpainter.C (paintDepthBar): add tmp var
2267 * CutAndPaste.C (availableSelections): potentially check all
2268 paragraphs in a cut to fill the shown strings.
2270 2003-06-18 André Pönitz <poenitz@gmx.net>
2272 * kbmap.[Ch]: use vector<> instead of list<>
2274 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2276 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2277 pasteSelection with index
2279 * text2.C (pasteSelection): modify, call pasteSelection with index
2281 * paragraph.C (asString): reimplement version with no interval to
2282 call the one with interval.
2284 * lyxtext.h: add index arg to pasteSelection
2286 * MenuBackend.C (MenuItem): handle PasteRecent
2287 (Menu::read::Menutags): add md_pasterecent
2289 (expandPasteRecent): new function
2292 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2294 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2296 (availableSelections): new function
2298 2003-06-17 Angus Leeming <leeming@lyx.org>
2300 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2302 2003-06-17 Angus Leeming <leeming@lyx.org>
2305 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2307 * lyxfunc.C (dispatch): invoke it.
2309 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2311 * iterators.C (operator++, ParPosition): reintroduce some
2312 const_cast for the benefit of older compilers.
2314 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2316 * text3.C (dispatch): do not modify clipboard when doing
2317 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2318 LFUN_DELETE_SKIP on a selection selection
2320 2003-06-16 André Pönitz <poenitz@gmx.net>
2326 * tabular.[Ch]: IU of clone() and getLabelList();
2328 2003-06-13 André Pönitz <poenitz@gmx.net>
2330 * tabular.h: compactification
2332 2003-06-12 André Pönitz <poenitz@gmx.net>
2336 * tabular_funcs.h: some renaming plus whitespace
2338 2003-06-12 André Pönitz <poenitz@gmx.net>
2341 * BufferView_pimpl.C:
2347 * toc.C: Return a Paragraph & for ParIterator::operator*()
2349 2003-06-11 John Levon <levon@movementarian.org>
2353 * ToolbarBackend.C: add "Toolbars" section and
2356 2003-06-10 Angus Leeming <leeming@lyx.org>
2359 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2361 * lyxfunc.C (dispatch): invoke it.
2363 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2365 * main.C: protect <ios> with HAVE_IOS
2366 (main): protect sync_with_stdio with HAVE_IOS
2368 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2370 * text2.C (cutSelection): adjust
2371 (pasteSelection): adjust
2373 * messages.C: handle get of empty string
2375 * main.C (main): use sync_with_stdio(false)
2377 * lyxfunc.C (dispatch): adjust
2379 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2380 (WriteAs): remove unneeded BufferView arg.
2382 * bufferparams.h: use correct types on papersize, papersize2 and
2385 * bufferparams.C (readToken): adjust for type
2386 (writeLaTeX): add missing cases to switch.
2388 * bufferlist.C (quitWriteBuffer): adjust
2391 * buffer.C (asciiParagraph): remove some commented code.
2393 * CutAndPaste.C: remove current_view extern variable.
2394 (cutSelection): add BufferParams arg.
2395 (eraseSelection): add BufferParams arg.
2396 (pasteSelection): add Buffer const & arg
2398 2003-06-07 John Levon <levon@movementarian.org>
2401 * paragraph_funcs.C:
2402 * paragraph_pimpl.C:
2406 * paragraph.C: allow InsetERT to freely space lines,
2407 and some consolidation of code
2409 2003-06-06 José Matos <jamatos@fep.up.pt>
2411 * buffer.C (makeDocBookFile): fix bug #821
2413 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2415 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2417 2003-06-04 Angus Leeming <leeming@lyx.org>
2419 * buffer.C: bump format to 224.
2421 2003-06-05 André Pönitz <poenitz@gmx.net>
2423 * text2.C (redoParagraphs): remove two const_cast<>
2425 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2427 * ParagraphList.h: remove last remnants of NO_STD_LIST
2429 2003-06-03 Angus Leeming <leeming@lyx.org>
2431 * factory.C (createInset): small change to the way InsetExternal's params
2434 2003-06-04 André Pönitz <poenitz@gmx.net>
2436 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2438 * paragraph_pimpl.h:
2439 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2441 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2443 * undo_funcs.C: make some simple cases of undo work again
2445 2003-06-03 John Levon <levon@movementarian.org>
2447 * ispell.C: HPUX doesn't have sys/select.h
2450 2003-06-03 John Levon <levon@movementarian.org>
2452 * CutAndPaste.C: update tabular and include inset
2457 * paragraph.C: remove owningBuffer(), don't pass Buffer
2460 * factory.C: insetGraphicsParams changed
2462 2003-06-02 John Levon <levon@movementarian.org>
2468 * text3.C: remove insetparent
2470 2003-06-02 John Levon <levon@movementarian.org>
2473 * buffer.C: fix inset_iterator.end(), move out of line
2476 2003-06-01 John Levon <levon@movementarian.org>
2478 * text3.C: use a proper cut/paste when doing inset
2479 insert (from Jürgen Spitzmüller)
2481 2003-06-01 John Levon <levon@movementarian.org>
2483 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2485 2003-05-30 André Pönitz <poenitz@gmx.net>
2487 * rowpainter.C: unify second drawing phase
2489 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2491 * trans_mgr.C: remove one case of current_view
2493 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2495 * paragraph_funcs.h: remove paragraph.h include
2497 * paragraph.h: delete NO_STD_LIST stuff
2499 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2501 * buffer.h: remove paragraph.h include
2503 * ParagraphList.C: delete file
2505 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2507 * toc.C (getTocList): adjust
2509 * paragraph_pimpl.C (validate): adjust
2511 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2513 * paragraph.C (Paragraph): adjust
2514 (getPositionOfInset): use const_iterator, adjust
2515 (bibitem): use const_iterator, adjust
2516 (setInsetOwner): adjust
2518 * iterators.C (operator++): adjust
2520 * InsetList.[Ch]: Replace selfmade iterator with standard
2521 vector::iterator also introduce const_iterator. Remove getPos,
2522 getInset and setInset from InsetTable. Adjust accordingly.
2524 * BufferView.C (lockInset): adjust
2525 (ChangeInsets): adjust
2527 * tabular.[Ch]: delete commented same_id functions
2529 2003-05-28 John Levon <levon@movementarian.org>
2531 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2533 2003-05-28 André Pönitz <poenitz@gmx.net>
2535 * metricsinfo.[Ch]: remove 'fullredraw' member
2537 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2539 * lyxtextclass.C (operator): remove caching.
2541 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * text2.C (cursorBottom): adjust
2546 (setCounter): use ParagraphList::find, adjust
2548 * text.C (workWidth): use ParagraphList::find, adjust
2550 * lyxcursor.C (LyXCursor): adjust
2552 * buffer.C (inset_iterator): adjust
2554 * ParagraphList.h: make iterator(value_type) private, make
2555 ParagraphList a friend of iterator.
2557 * ParagraphList.C (find): new function
2559 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2561 2003-05-27 André Pönitz <poenitz@gmx.net>
2563 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2565 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2567 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2569 2003-05-26 John Levon <levon@movementarian.org>
2571 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2573 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2575 * remove same_id from function signatures, adjust.
2577 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2579 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2581 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2583 * paragraph.C (Paragraph): get rid of same_ids parameter
2585 * ParagraphList.C (insert): adjust
2588 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2590 * paragraph_funcs.C (breakParagraph): adjust
2591 (breakParagraphConservative): adjust
2593 * buffer.C (readParagraph): adjust
2595 * ParagraphList.C (insert): take a reference instead of a pointer
2598 * paragraph.[Ch] (id): new function
2600 * bufferlist.C (newFile): adjust
2602 * ParagraphList.C (ParagraphList): adjust
2604 (push_back): take a reference instead of a pointer.
2606 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2608 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2611 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2612 set else use old code.
2614 * ParagraphList.C: remove all NO_NEXT code and only compile this
2615 code of NO_STD_LIST is set.
2617 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2619 * BufferView_pimpl.C:
2629 * graphics/GraphicsConverter.C:
2630 * graphics/PreviewLoader.C: header adjustment
2632 2003-05-23 Angus Leeming <leeming@lyx.org>
2634 * LaTeXFeatures.[Ch] (useBabel): new method.
2635 * bufferparams.C (writeLaTeX): use it.
2637 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * ParagraphList.h (set): remove unused function.
2641 2003-05-23 André Pönitz <poenitz@gmx.net>
2644 * BufferView_pimpl.C:
2648 * undo_funcs.C: setUndo reworked
2650 * iterators.[Ch]: add access to topmost ParagraphList
2652 * lyxtext.[Ch] (workWidth): add a const
2654 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2656 * texrow.[Ch] (increasePos): remove function
2657 * exporter.C (export): removed unused var and outdated comment
2659 2003-05-23 Angus Leeming <leeming@lyx.org>
2661 * latexrunparams.h: rename fragile as moving_arg.
2662 * paragraph.C (simpleTeXOnePar): ditto.
2663 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2665 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2667 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2669 (textUndoOrRedo): comment out a currently unused var.
2671 * paragraph.h (NO_NEXT): enable NO_NEXT
2673 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2675 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2677 * exporter.C (Export): adjust for removeAutoInsets removal.
2679 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2681 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2683 * BufferView.[Ch] (removeAutoInsets): delete function
2685 2003-05-22 Angus Leeming <leeming@lyx.org>
2687 * latexrunparams.h: add a free_spacing variable.
2689 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2690 to pass moving_arg, as the data is stored in runparams.fragile.
2692 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2693 to Inset::latexOptional or to simpleTeXOnePar.
2695 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2696 free_spacing arg to Inset::latexOptional.
2698 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2701 2003-05-22 Angus Leeming <leeming@lyx.org>
2703 * latexrunparams.h: add fragile and use_babel variables.
2705 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2706 * buffer.C (makeLaTeXFile): store this returned value in
2707 runparams.use_babel, thus passing it to the inset::latex methods.
2709 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2710 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2712 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2713 longer has a fragile arg, as it is stored in runparams.fragile.
2715 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2716 moving_arg parameter as the data is stored in runparams.fragile.
2718 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2719 a fragile parameter as the data is stored in runparams.fragile.
2721 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2723 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2725 2003-05-22 Angus Leeming <leeming@lyx.org>
2727 * latexrunparams.h: add a 'bool nice' which defaults to false.
2729 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2730 now encapsulated within runparams.
2732 * bufferlist.C (updateIncludedTeXfiles):
2733 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2735 2003-05-22 Angus Leeming <leeming@lyx.org>
2737 * latexrunparams.h: new file containing struct LatexRunParams.
2738 * Makefile.am: add new file.
2740 * LaTeX.[Ch] (c-tor, run):
2741 * buffer.[Ch] (makeLaTeXFile):
2742 * bufferlist.[Ch] (updateIncludedTeXfiles):
2743 * converter.C (convert, scanLog):
2744 * converter.[Ch] (runLaTeX):
2745 * exporter.C (Export):
2746 * paragraph.[Ch] (simpleTeXOnePar):
2747 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2748 * paragraph_funcs.[Ch] (latexParagraphs):
2749 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2750 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2751 pass around a LatexRunParams parameter.
2753 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2755 * paragraph.[Ch]: remove unused constructor
2757 * ParagraphList.C (erase): new function, taking two iterators
2759 2003-05-22 André Pönitz <poenitz@gmx.net>
2761 * undo_funcs.C: remove duplicated code
2763 * iterator.[Ch]: operator=
2765 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2767 * tabular.C (SetMultiColumn): ws changes
2769 * rowpainter.C (paintFirst): get rid of a ->previous
2771 * lyx_cb.C (getPossibleLabel): parlist simplification
2773 * BufferView.C (ChangeInsets): simplify slightly.
2775 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2777 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2778 * lfuns.h: new LFUN_SPACE
2779 * lyxfunc.C: protected space has a new lfun
2780 * paragraph_funcs.C: read new space insets
2782 * factory.C: handle new space insets
2784 2003-05-22 André Pönitz <poenitz@gmx.net>
2787 * BufferView_pimpl.C:
2790 * undo_funcs.C: return a ParIterator from getParFromID.
2792 * iterators.[Ch]: add two const's
2794 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2796 * toc.C (getTocList): adjust
2798 * iterators.[Ch]: rework for parlist
2800 * buffer.C (par_iterator_begin): adjust
2801 (par_iterator_end): adjust
2803 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2805 * BufferView.C (removeAutoInsets): adjust
2806 (ChangeInsets): adjust
2808 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2810 * text.C (top_y): fix bug 1110
2812 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2814 * errorlist.[Ch]: added
2817 * BufferView_pimpl.C:
2818 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2821 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2823 * Makefile.am: ensure that lyx is relinked upon changes to the
2824 various "convenience" libs.
2826 2003-05-20 Angus Leeming <leeming@lyx.org>
2828 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2829 files are compiled in alphabetical order again.
2831 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2833 2003-05-19 Angus Leeming <leeming@lyx.org>
2835 * gettext.[Ch]: remove "char const * _(char const *)".
2837 2003-05-19 André Pönitz <poenitz@gmx.net>
2839 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2848 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2850 2003-05-19 André Pönitz <poenitz@gmx.net>
2854 * lyxtextclass.[Ch]:
2856 * paragraph_funcs.[Ch]:
2858 * text3.C: more insetenv work
2860 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2862 * ParagraphParameters.C (params2string): small bug fixed
2864 2003-05-16 André Pönitz <poenitz@gmx.net>
2867 * bufferview_funcs.C: patch from Kornel Benko to prevent
2868 crash when _(...) is called twice in a statement
2870 2003-05-16 André Pönitz <poenitz@gmx.net>
2877 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2879 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2881 * lyx_main.C (init): remove spurious static_cast
2883 2003-05-14 André Pönitz <poenitz@gmx.net>
2885 * BufferView.C: fix format string
2887 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2889 * BufferView.[Ch] (insertErrors): removed
2890 * BufferView.[Ch] (showErrorList): added
2891 * buffer.C (runChkTeX):
2892 * converter.C (scanLog): call showErrorList instead of inserterrors
2894 2003-05-13 André Pönitz <poenitz@gmx.net>
2896 * BufferView_pimpl.C:
2898 * bufferview_func.C:
2905 * tabular_funcs.h: tostr() from its own header
2907 * ParagraphParameters.C:
2912 * text3.C: STRCONV()
2914 2003-05-12 André Pönitz <poenitz@gmx.net>
2917 * BufferView_pimpl.C:
2921 * ParagraphParameters.C:
2925 * bufferview_funcs.C:
2938 * paragraph_funcs.C:
2942 * text3.C: boost::format -> bformat all over the place
2945 2003-05-09 André Pönitz <poenitz@gmx.net>
2947 * LColor.[Ch]: Pimpl the #include <map> away
2949 2003-05-09 John Levon <levon@movementarian.org>
2951 * bufferlist.C: never remove emergency saves
2953 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2955 * Makefile.am: better lib building
2957 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2959 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2961 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2962 (simpleTeXSpecialChars): adjust
2963 (simpleTeXSpecialChars): adjust
2964 * paragraph.C (simpleTeXOnePar): adjust
2965 * buffer.C (makeLaTeXFile): adjust
2967 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2969 * text2.C (changeDepth): parlist cleanup
2970 (getColumnNearX): ditto
2972 * rowpainter.C (getLabelFont): parlist cleanup
2974 * bufferlist.C (newFile): parlist cleanup
2976 * CutAndPaste.C (eraseSelection): parlist cleanup
2978 * BufferView_pimpl.C (trackChanges): parlist cleanup
2981 * BufferView.C (lockInset): parlist cleanup.
2982 (ChangeInsets): ditto
2984 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2986 * CutAndPaste.h: Update file header.
2988 * CutAndPaste.C: Update file header.
2989 Store the parts cut out of the Document in a limited_stack.
2990 (copySelection): adjust
2991 (pasteSelection): new function, takes the index in the limited stack.
2992 (nrOfParagraphs): adjust
2993 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2994 simplify error inset insertion.
2995 (checkPastePossible): adjust
2997 2003-05-06 John Levon <levon@movementarian.org>
2999 * text2.C: don't cast wrap inset to float
3001 2003-05-05 André Pönitz <poenitz@gmx.net>
3004 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3006 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3007 few naked Paragraph *.
3009 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3011 * bufferparams.C: Output warning if a document with missing
3012 TeX document class is loaded
3013 * exporter.C: Disable TeX exports if the document class is missing
3016 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3017 isTeXClassAvailable()
3019 2003-05-03 John Levon <levon@movementarian.org>
3022 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3023 explicit cursor show/hide
3025 * BufferView_pimpl.h:
3026 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3027 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3029 * lyxfunc.C: hide cursor before dispatching.
3034 * text3.C: remove explicit cursor hides
3036 2003-05-02 André Pönitz <poenitz@gmx.net>
3038 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3041 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3044 * text2.C: tiny whitespace
3046 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3048 * undo_funcs.C: almost only ws changes.
3050 * ParagraphList.C (splice): just return if pl is empty.
3052 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3054 * ParagraphList.C (splice): new function.
3056 * CutAndPaste.C (pasteSelection): use it
3058 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3060 * CutAndPaste.C (pasteSelection): remove the last next and
3061 previous from this file.
3063 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3065 * CutAndPaste.C (pasteSelection): more clean up, user proper
3066 ParagraphList functions for pasteing.
3068 * ParagraphList.C (insert): new function, three arg insert
3070 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3072 * ParagraphList.C (insert): new function, three arg insert
3074 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3077 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3079 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3081 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3083 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3085 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3087 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3088 (copySelection): clean up a bit.
3089 (pasteSelection): use make_pair
3091 * ParagraphList.C (ParagraphList): implement copy constructor
3092 (operator=): implement, base on copy constructor.
3095 * paragraph.C (erase): return a bool
3097 * paragraph_pimpl.C (erasePos): remove function, move contents...
3098 (erase): ... here. Return a bool.
3099 (erase): call erase instead of erasePos.
3101 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3103 * ParagraphList.h: define PitPosPair
3104 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3105 ParagraphList, fix a bug on pasting multiple pars
3106 * text2.C: change interface to C&P
3108 2003-04-30 André Pönitz <poenitz@gmx.net>
3110 * undo_func.C: revert part of yesterday's patch 2
3112 2003-04-30 John Levon <levon@movementarian.org>
3114 * LColor.C: s/tabular/table/
3116 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * text3.C (dispatch): do not convert iterator -> pointer
3119 * undo_funcs.C (setCursorParUndo): ditto
3120 * text_funcs.C (transposeChars): ditto
3122 * text2.C (setLayout): ws changes only
3124 * text.C (breakParagraph): do not convert iterator -> pointer
3126 (acceptChange): ditto
3127 (rejectChange): ditto
3132 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3135 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3137 * text3.C (gotoInset): YABG (yet another bad getChar)
3139 2003-04-29 André Pönitz <poenitz@gmx.net>
3141 * paragraph.h: make operator= private unimplemented as long as
3144 * ParagraphList.C: whitespace
3147 * paragraph_pimpl.[Ch]:
3148 * paragraph_funcs.C:
3150 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3153 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3155 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3157 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3158 * paragraph.[Ch] (erase):
3159 * paragraph_pimpl.[Ch] (erase): change return type and value
3160 * text2.C (cutSelection): some rework
3162 2003-04-28 John Levon <levon@movementarian.org>
3164 * bufferlist.C: changes for unsaved changes dialog
3166 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3168 * bufferlist.C (newFile): set language (messages_) for new
3171 * buffer.C (readFile): ws changes only.
3173 2003-04-28 André Pönitz <poenitz@gmx.net>
3178 * BufferView_pimpl.C:
3179 * BufferView.C: getParFromID related ParagraphList::iterator changes
3181 2003-04-28 André Pönitz <poenitz@gmx.net>
3183 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3186 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3188 * messages.C: remove one more localedir class variable.
3190 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3192 * messages.C (getLocaleDir): singleton generation function
3194 (Messages): add a default constructor.
3196 * main.C (main): do not setup localedir here, do not call
3199 * gettext.C (_): use it.
3200 (gettext_init): delete funciton
3202 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3204 * gettext.C (getLyXMessages): new singleton generating function.
3206 * buffer.C (updateDocLang): adjust
3208 * Makefile.am (messages.o): add target
3209 (main.o): remove target
3211 2003-04-27 John Levon <levon@movementarian.org>
3216 * lyxvc.C: specify cancel button in Alert::prompt
3218 2003-04-26 John Levon <levon@movementarian.org>
3223 * LyXAction.C: add LFUN_INSET_SETTINGS
3225 * lyxfunc.C: don't enable tabular-feature when there's
3226 just any locking inset
3228 2003-04-26 John Levon <levon@movementarian.org>
3230 * bufferlist.C: re-add Cancel to buffer close question
3232 * lyxfunc.C: fix import UI a bit
3234 2003-04-25 John Levon <levon@movementarian.org>
3236 * gettext.C: remove the broken asserts for now
3238 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3240 * messages.C: make case where setlocale cannot comply work better.
3242 * buffer.C (updateDocLang): new function
3243 (changeLanguage): use it
3246 * text2.C (setCounter): use B_ a bit.
3248 * lyxlayout.C (Read): be sure to trim the label strings.
3250 * messages.C (Messages): fix typo in comment
3252 * buffer.C (readFile): set message_ after file is loaded.
3253 (makeDocBookFile): remove double return
3254 (changeLanguage): reset message_ upon language change.
3255 (B_): new func, use this to get translated buffer strings.
3257 * main.C: add myself and Jean Marc as authors.
3259 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * messages.[hC]: pimplify Messages, and three different pimpls to be
3262 used in different circumstances.
3264 * gettext.[Ch]: change for use with new message code.
3266 2003-04-24 André Pönitz <poenitz@gmx.net>
3268 * factory.C: support for eqref
3270 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3272 * messages.[Ch]: add missing char
3274 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3276 * messages.[Ch]: New files
3278 2003-04-18 John Levon <levon@movementarian.org>
3282 * BufferView_pimpl.C:
3286 * text2.C: remove layout-copy/paste (bug 778)
3288 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3290 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3292 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3294 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3295 if they succeed. Act accordingly.
3297 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * text2.C (setCharFont): adjust
3300 (setCounter): adjust
3301 (insertStringAsLines): adjust
3303 * text.C (leftMargin): adjust
3304 (setHeightOfRow): adjust
3306 * rowpainter.C (paintFirst): adjust
3309 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3311 (isFirstInSequence): ditto
3312 (getEndLabel): ditto
3315 * paragraph.C (getParLanguage): comment out some hard stuff.
3317 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3319 (simpleDocBookOnePar): ditto
3320 (makeDocBookFile): use ParagraphList::iterator
3322 * CutAndPaste.C (pasteSelection): adjust
3324 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3326 * text2.C (getFont): adjust
3327 (getLayoutFont): adjust
3328 (getLabelFont): adjust
3330 * paragraph_funcs.C (TeXOnePar): adjust
3332 * buffer.C (simpleLinuxDocOnePar): adjust
3333 (simpleDocBookOnePar): adjust
3335 * CutAndPaste.C (pasteSelection): adjust
3337 * BufferView.C (getEncoding): adjust
3339 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3341 2003-04-16 John Levon <levon@movementarian.org>
3343 * lyxfind.C: use parlist stuff for search/changes
3345 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3349 * text2.C (deleteEmptyParagraphMechanism): adjust
3351 * text2.[Ch] (ownerParagraph): delete func (both of them
3353 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3355 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3357 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3359 * ParagraphList.C: prepare for NO_NEXT
3361 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3363 * text2.C (getFont): adjust
3364 (getLayoutFont): adjust
3365 (getLabelFont): adjust
3367 * paragraph.C (getFont): adjust
3368 (getLabelFont): adjust
3369 (getLayoutFont): adjust
3371 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3373 2003-04-15 John Levon <levon@movementarian.org>
3377 * lyx_main.C: handle Include in .ui files
3379 2003-04-15 John Levon <levon@movementarian.org>
3381 * MenuBackend.C: make the doc files length shorter
3384 * ToolbarBackend.C: handle toolbar placement flags,
3387 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3389 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3392 * paragraph_funcs.C (TeXOnePar): adjust
3394 * paragraph.C (getLabelFont): add outerfont arg, adjust
3395 (getLayoutFont): ditto
3396 (simpleTeXOnePar): adjust
3398 * paragraph_pimpl.C (realizeFont): delete func
3400 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3402 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3403 row argument, constify cur argument.
3405 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3407 * text2.C (getFont): adjust
3408 (getLayoutFont): adjust
3409 (getLabelFont): adjust
3411 * paragraph_funcs.C (TeXOnePar): adjust
3412 (outerFont): new func...
3413 (realizeFont): ...moved out from here, changed this to facilitate
3416 * paragraph.C (getFont): take outerfont as arg, adjust
3417 (simpleTeXOnePar): add outerfont arg, adjust
3419 * buffer.C (simpleLinuxDocOnePar): adjust
3420 (simpleDocBookOnePar): adjust
3422 * CutAndPaste.C (pasteSelection): adjust
3424 * BufferView.C (getEncoding): adjust
3426 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3428 * text2.C (setCharFont): adjust
3429 (setCounter): adjust
3431 * text.C (leftMargin): adjust
3432 (setHeightOfRow): adjust
3434 * rowpainter.C (paintFirst): adjust
3437 * paragraph_pimpl.C (realizeFont): adjust
3439 * paragraph.C (isFirstInSequence): move from here...
3440 * paragraph_funcs.C (isFirstInSequence): ...to here
3442 * paragraph.C (outerHook): move from here...
3443 * paragraph_funcs.C (outerHook): ...to here
3445 * paragraph.C (depthHook): move from here...
3446 * paragraph_funcs.C (depthHook): ...to here
3448 * paragraph.C (getEndLabel): move from here...
3449 * paragraph_funcs.C (getEndLabel): ...to here
3451 * text2.C (realizeFont): move from here...
3452 * paragraph_funcs.C (realizeFont): ...to here
3454 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3456 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3458 2003-04-14 Angus Leeming <leeming@lyx.org>
3460 * LColor.[Ch]: scrap LColor mathcursor.
3462 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3464 * lyxlex.[Ch] (text): delete function
3465 * trans.C (Load): adjust
3466 * paragraph_funcs.C (readParToken): adjust
3468 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3470 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3471 vector<char> instead of a char[].
3473 * lyxlex_pimpl.C (getString): adjust
3475 (lex): use getString
3479 * lyxlex.C (text): use pimpl_->getString()
3483 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3485 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3486 (makeFontEntriesLayoutSpecific): temp var for par.size()
3487 (setLayout): temp var for ownerParagraphs().end()
3488 (fullRebreak): temp var for rows().end()
3489 (selectionAsString): temp var for boost::next(startpit), realize
3490 that the while really is a regular for loop.
3491 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3492 setCursor in one place.
3493 (setParagraph): temp vr for ownerParagraphs().end()
3494 (updateCounters): make the while loop a for loop
3495 (cutSelection): temp var for ownerParagraphs().end()
3496 (updateInset): make the do {} while() a regular for loop
3497 (getCursorX): use temp vars
3498 (setCurrentFont): use temp vars
3499 (getColumnNearX): use temp vars
3501 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3503 * text.C (transformChar): use temp var for getChar
3504 (computeBidiTables): use temp var for row->par()
3505 (fill): move temp vars for row->par() and pit->layout() earlier in
3507 (labelFill): use temp var for row->par()
3508 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3509 asc and desc, realize that pit never changes and that firstpit is
3510 just a duplicate and not needed. Exchange rit->par() with pit in a
3512 (breakAgain): use a temp var for boost::next(rit)
3513 (breakAgainOneRow): ditto
3514 (breakParagraph): use a temp var for rows().begin()
3515 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3516 (cursorRightOneWord): use temp var for cursor.par() and
3517 cursor.pos(), remove usage of tmpcursor.
3518 (cursorLeftOneWord): use temp var for cursor.par() and
3519 cursor.pos() only set cur at end of function.
3521 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3523 * text.C, text2.C: exchange all usage of Paragraph::next with
3524 boost::next(ParagraphList::iterator)
3526 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3528 * text2.C (cursorTop): simplify implementation
3529 (cursorBottom): ditto
3530 (setParagraph): use ParagraphList::iterator
3531 (setCurrentFont): adjust
3532 (getColumnNearX): adjust
3533 (cursorRight): adjust
3534 (cursorLeft): remove usage of Paragraph::previous
3535 (cursorUpParagraph): ditto
3536 (deleteEmptyParagraphMechanism): slight cleanup
3538 * text.C (isBoundary): take a Paragraph const & instead of a
3540 (addressBreakPoint): ditto
3541 (leftMargin): remove usage of Paragraph::previous.
3542 (setHeightOfRow): ditto
3543 (cursorLeftOneWord): ditto
3544 (selectNextWordToSpellcheck): ditto
3547 (breakParagraph): remove one usage of Paragraph::next
3548 (redoParagraph): ditto
3549 (acceptChange): ditto
3550 (insertChar): adjust
3551 (rowBreakPoint): adjust
3553 * bufferview_funcs.C (toggleAndShow): adjust
3555 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3557 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3558 methods to access it.
3560 * text.C: Added updateRowPositions to compute all row positions.
3561 Make top_y and getRowNearY() to use the cached y position
3563 2003-04-11 John Levon <levon@movementarian.org>
3565 * text.C (rowBreakPoint): reintroduce the labelEnd
3566 checks, code copied from the row fill stuff. Deep voodoo.
3568 * text.C (fill): add a comment and debugging for the
3571 2003-04-11 John Levon <levon@movementarian.org>
3573 * text.C: make sure fullrow insets get wrapped to the next line,
3574 even when they're in a manual label
3576 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3578 * text2.C (insertParagraph): make it take ParagraphList::iterator
3580 (setLayout): make it return ParagraphList::iterator
3581 (redoParagraphs): ditto
3583 (checkParagraph): ditto
3585 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3587 * text2.C: adjust several funcs.
3588 (realizeFont): take a ParagraphList::iterator as arg.
3589 (getLayoutFont): ditto
3590 (getLabelFont): ditto
3591 (setCharFont): ditto
3593 * text.C: adjust several funcs.
3595 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3597 * text.C (selectNextWordToSpellcheck): don't accidentally
3600 2003-04-10 John Levon <levon@movementarian.org>
3602 * ToolbarBackend.C (getIcon): special handling for
3605 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3607 * text2.C (cursorRight): a getChar assert fixed
3609 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * text2.C (getFont): change to take a ParagraphList::iterator
3612 instead of Paragraph*
3613 Adjust several functions.
3615 * text.C (transformChar): change to take a ParagraphList::iterator
3616 instead of Paragraph*
3617 (singleWidth): ditto
3618 Adjust several functions.
3620 * rowpainter.C: adjust several functions
3621 * rowpainter.h:store a ParagraphList::iterator and not a
3625 2003-04-09 John Levon <levon@movementarian.org>
3630 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3631 and the "help" bits as well
3633 2003-04-09 John Levon <levon@movementarian.org>
3636 * ToolbarBackend.C: allow multiple toolbars
3638 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3640 * undo_funcs.C (setCursorParUndo): adjust
3642 * text_funcs.C (transposeChars): adjust
3644 * text3.C (gotoNextInset): adjust
3647 * text2.C (setLayout): adjust
3648 (changeDepth): adjust
3650 (redoParagraphs): adjust
3651 (selectionAsString): adjust
3652 (setParagraph): adjust
3653 (insertInset): adjust
3654 (cutSelection): adjust
3655 (copySelection): adjust
3656 (pasteSelection): adjust
3657 (insertStringAsLines): adjust
3658 (updateInset): adjust
3659 (setCursor): change to take a ParagraphList::iterator parameter
3660 (setCursorIntern): change to take a ParagraphList::iterator parameter
3661 (setCurrentFont): adjust
3662 (cursorLeft): adjust
3663 (cursorRight): adjust
3664 (deleteEmptyParagraphMechanism): adjust
3666 * text.C (breakParagraph): adjust
3667 (insertChar): adjust
3668 (acceptChange): adjust
3669 (rejectChange): adjust
3670 (selectNextWordToSpellcheck): adjust
3671 (changeCase): adjust
3675 * lyxfind.C (SearchForward): adjust
3676 (SearchBackward): adjust
3677 (nextChange): adjust
3679 * lyxcursor.C (par): adjust
3681 * lyxcursor.h: store a ParagraphList::iterator instead of a
3684 * lyx_cb.C (getPossibleLabel): adjust
3686 * bufferview_funcs.C (toggleAndShow): adjust
3688 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3691 * BufferView.C (removeAutoInsets): adjust
3692 (lockedInsetStoreUndo): adjust
3694 2003-04-09 John Levon <levon@movementarian.org>
3696 * ToolbarBackend.C: try icon without argument
3697 if with argument fails
3699 2003-04-08 John Levon <levon@movementarian.org>
3702 * ToolbarBackend.C: add getIcon(), handle tooltip,
3703 and change from "Icon" to "Item".
3705 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3707 * BufferView.C (lockInset): another bad getchar crunched
3709 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3711 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3714 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3716 * lyxfind.C (searchForward, searchBackwards): bug 782
3718 2003-04-07 John Levon <levon@movementarian.org>
3720 * paragraph.C: remove dead comment
3722 * text.C: remove troublesome depth-fiddling code
3723 in leftMargin() and rightMargin() (bug 1017)
3725 * text.C: fix breaking of rows in nested lists
3728 * text2.C (updateCounters): fix up depth values
3731 2003-04-07 John Levon <levon@movementarian.org>
3733 * BufferView_pimpl.C: clear message when doc finishes resizing,
3734 and after a mouse event
3736 * lyxfunc.C: clear message after exiting inset
3738 2003-04-07 John Levon <levon@movementarian.org>
3740 * bufferview_funcs.C: show math status not outside
3741 status in the statusbar
3743 2003-04-07 John Levon <levon@movementarian.org>
3745 * lyxfunc.C: note status changed after a depth change
3747 2003-04-04 Angus Leeming <leeming@lyx.org>
3749 * LaTeX.h: move AuxInfo operator==, != out of line.
3750 Remove LaTeX virtual destructor; nothing derives from it.
3751 Move operator()() out of public area and rename it startscript().
3752 Change protected for private.
3754 2003-04-04 Angus Leeming <leeming@lyx.org>
3757 * text2.C: remove unneeded #includes.
3759 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3761 * text2.C (dEPM): fix the heigth of the next row
3763 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3765 * text.C: squashed an invalid getChar requester + some ws changes
3767 2003-04-03 John Levon <levon@movementarian.org>
3769 * bufferview_funcs.h:
3770 * bufferview_funcs.C:
3773 * text2.C: make getStatus work for the env depth lfuns
3775 2003-04-03 John Levon <levon@movementarian.org>
3777 * bufferview_funcs.h:
3778 * bufferview_funcs.C:
3781 * text2.C: parlistize decDepth(), by merging it with incDepth()
3783 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * lyxrow.h: store a ParagraphList::iterator instead of a
3786 Paragraph* and adjust other class functions to suit.
3788 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3791 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3793 * text2.C (setCursor): do not anchor to cursor row for the time being
3795 2003-04-02 John Levon <levon@movementarian.org>
3802 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3804 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * paragraph.h: make ParagraphList and ParagraphList::iterator
3807 friends of Paragraph.
3809 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3811 * ParagraphList.C: Use the private next_ and previous_ from
3814 2003-04-01 John Levon <levon@movementarian.org>
3818 * Makefile.am: rename, remove defaults gunk
3821 * MenuBackend.C: remove defaults gunk
3824 * Languages.C: remove defaults gunk
3827 * lyx_main.C: error out if files couldn't be found.
3829 2003-04-02 John Levon <levon@movementarian.org>
3831 * text2.C: make incDepth() use parlist
3833 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3835 * undo_funcs.C (firstUndoParagraph): adjust
3837 * text3.C (gotoInset): adjust
3838 (dispatch): adjust, and rewrite loop.
3840 * text2.C (init): adjust, and rewrite loop.
3841 (redoParagraphs): adjust
3842 (updateInset): adjust, and rewrite loop.
3843 (deleteEmptyParagraphMechanism): adjust
3845 * tabular.C (LyXTabular): adjust
3846 (SetMultiColumn): adjust
3849 * lyxtext.[Ch] (ownerParagraph): delete function
3850 (ownerParagraphs): new function returns a ParagraphList.
3852 * BufferView.C (removeAutoInsets): adjust
3853 (insertErrors): adjust
3854 (setCursorFromRow): adjust
3856 2003-04-01 Angus Leeming <leeming@lyx.org>
3858 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3861 2003-04-02 John Levon <levon@movementarian.org>
3867 * text_funcs.C: make transposeChars a free function
3869 * lyxrow_funcs.C: remove wrong comment
3871 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3874 * rowpainter.C: adjust
3879 * lyxrow_funcs. [Ch]: new files
3881 * lyxrow.[Ch]: remove next and previous pointers
3882 (next,previous): remove accessor functions
3883 (isParEnd): move to lyxrow_funcs
3884 (lastPos): move to lyxrow_funcs
3885 (nextRowIsAllInset): move to lyxrow_funcs
3886 (lastPrintablePos): move to lyxrow_funcs
3887 (numberOfSeparators): move to lyxrow_funcs
3888 (numberOfHfills): move to lyxrow_funcs
3889 (numberOfLabelHfills): move to lyxrow_funcs
3890 (hfillExpansion): move to lyxrow_funcs
3894 * bufferview_funcs.C (toggleAndShow): adjust
3896 * RowList.h: Remove class RowList from file leave just a
3899 * RowList.C: delete file
3901 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3904 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * text3.C (cursorPrevious): adjust
3907 (cursorNext): adjust
3910 * text2.C (redoHeightOfParagraph): adjust
3911 (redoDrawingOfParagraph): adjust
3914 * text.C (breakParagraph): adjust
3915 (insertChar): adjust
3918 * rowpainter.C (RowPainter): adjust
3919 (leftMargin): simplify and adjust
3920 (most rowpainter functions): adjust.
3922 * rowpainter.h: store the row as RowList::iterator not as Row*
3924 * lyxcursor.C (row): taka RowList::iterator as arg
3927 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3930 2003-04-01 Angus Leeming <leeming@lyx.org>
3932 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3933 stuff like bool Bool.
3935 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3937 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3940 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3942 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3945 * lyxtext.h (rows): drop one version and leve a const variant that
3946 returns a RowList::iterator.
3948 2003-03-31 Angus Leeming <leeming@lyx.org>
3950 * text.C (fill): ensure that the signature is the same as that in the
3953 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3955 * text2.C (redoParagraphs): adjust
3956 (updateCounters): adjust
3957 (checkParagraph): adjust
3958 (getColumnNearX): adjust and reformat a bit.
3960 * text.C (top_y): adjust
3962 (leftMargin): adjust
3963 (prepareToPrint): adjust
3965 (getRowNearY): adjust
3967 * lyxtext.h: make rowlist_ mutable.
3969 * RowList.h: add const_iterator
3970 * RowList.C: adjust for RowList::const_iterator.
3972 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3975 2003-03-31 John Levon <levon@movementarian.org>
3978 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3980 * lyx_main.C: set default fonts from using lyx_gui funcs
3982 * exporter.C: pdf_mode moved from lyxrc
3985 * lyxfunc.C: changes from above
3987 2003-03-31 John Levon <levon@movementarian.org>
3989 * lyx_main.C: fix to the last fix
3991 2003-03-31 John Levon <levon@movementarian.org>
3993 * bufferlist.C: "Load original" -> "Load Original"
3999 * format.C: more Alert cleanups
4001 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4003 * text2.C (removeParagraph): make it take a RowList::iterator as
4005 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4006 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4008 * text.C (anchor_row): make it take a RowList::iterator as arg,
4010 (computeBidiTables): make it take a const reference to Row instead
4011 of Row pointer, adjust.
4012 (leftMargin): make it take a RowList::iterator as arg, adjust.
4013 (rowBreakPoint): adjust
4014 (breakAgainOneRow): make it take a RowList::iterator as arg,
4016 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4018 * bufferview_funcs.C (toggleAndShow): adjust
4020 2003-03-30 John Levon <levon@movementarian.org>
4024 * boost-inst.C: moved to support
4026 * several files: changes as a result
4028 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4030 * text2.C (LyXText): adjust.
4032 (removeRow): make it take a RowList::iterator as arg, adjust.
4033 (fullRebreak): adjust
4034 (deleteEmptyParagraphMechanism): adjust
4035 (clearPaint): adjust
4038 * text.C (top_y): adjust
4039 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4040 (breakAgain): make it take a RowList::iterator as arg, adjust.
4041 (breakParagraph): adjust
4042 (insertChar): adjust
4045 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4046 need_break_row, and refresh_row.
4048 * text3.C (dispatch): adjust
4050 * text2.C (checkParagraph): adjust
4052 (setCursorFromCoordinates): adjust
4054 * text.C (top_y): adjust
4056 (getRow): make it return a RowList::iterator, adjust
4057 (getRowNearY): make it return a RowList::iterator, adjust
4059 * text2.C (init): adjust
4060 (insertRow): remove function
4061 (insertParagraph): adjust
4062 (redoParagraphs): adjust
4063 (fullRebreak): adjust
4064 (updateCounters): adjust
4066 * text.C (top_y): rewrite to use RowList iterators.
4068 (setHeightOfRow): rewrite to sue RowList iterators.
4069 (appendParagraph): adjust
4070 (breakAgain): adjust
4071 (breakAgainOneRow): adjust
4072 (breakParagraph): adjust
4074 (getRowNearY): adjust, and remove commented code.
4076 * lyxtext.h (firstRow): delete function
4077 (lastRow): delete function
4078 (rows): new function (const and non-const versions.)
4079 (insertRow): delete function
4081 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4083 2003-03-29 John Levon <levon@movementarian.org>
4085 * BufferView_pimpl.C: always update scrollbar top
4086 because pasting text when we're anchored could mean we
4087 miss an update altogether
4089 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4091 * text2.C (init): use rowlist_.end() and not 0.
4092 (insertRow): change to take a RowList::iterator as arg, adjust
4094 (insertParagraph): change to take a RowList::iterator as arg,
4096 (redoParagraphs): remove some debug msgs.
4098 * text.C (appendParagraph): change to take a RowList::iterator
4099 arg, adjust for this.
4100 (breakAgain): add an assert
4101 (breakAgainOneRow): ditto
4103 2003-03-29 John Levon <levon@movementarian.org>
4105 * text2.C: do not clear selection after inc/decDepth
4108 2003-03-29 John Levon <levon@movementarian.org>
4111 * buffer.C: fix broken strerrors according to Lars
4113 2003-03-29 John Levon <levon@movementarian.org>
4115 * converters.C: more Alert cleanups
4117 2003-03-29 John Levon <levon@movementarian.org>
4119 * bufferview_funcs.C: remove pointless Alert
4121 * buffer.C: fix confusing error message when
4122 a template is chmoded 000
4124 2003-03-29 John Levon <levon@movementarian.org>
4128 * BufferView_pimpl.C: Alert fixes
4132 * tabular-old.C: remove unused table compat reading
4134 2003-03-29 John Levon <levon@movementarian.org>
4139 * lyx_cb.C: more Alert cleanups
4141 * lyxfunc.C: don't allow chktex if not latex document
4143 2003-03-29 John Levon <levon@movementarian.org>
4147 * buffer.C: warnings pushed down from support/,
4150 2003-03-29 John Levon <levon@movementarian.org>
4152 * lyxfunc.C: safety check for C-r (revert)
4154 2003-03-29 John Levon <levon@movementarian.org>
4157 * bufferlist.C: several UI fixes using Alert::prompt.
4158 Fix the pointless looping quit code. Fix stupid revert
4163 * lyx_cb.C: use Alert::prompt
4165 * lyx_main.C: remove a silly question
4167 * lyxfunc.C: remove a couple of silly questions,
4170 2003-03-28 John Levon <levon@movementarian.org>
4172 * text2.C: fix bug 974 (End on empty par)
4174 2003-03-28 John Levon <levon@movementarian.org>
4176 * BufferView_pimpl.C:
4178 * lfuns.h: remove do-nothing math greek lfuns
4180 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4182 * lyxgluelength.h (isValidGlueLength): add default arg on
4183 parameter 2. Remove default arg from friend in class.
4185 * lyxlength.h (isValidLength): add default arg on parameter 2.
4186 Remove default arg from friend in class.
4188 * text2.C (LyXText): adjust, initialize refresh_row.
4192 (insertParagraph): adjst
4193 (redoParagraphs): adjust
4194 (fullRebreak): adjust
4195 (updateCounters): adjust
4196 (deleteEmptyParagraphMechanism): first attempt at fixing a
4199 * text.C (top_y): adjust
4200 (setHeightOfRow): adjust
4202 (getRowNearY): adjust
4204 * lyxtext.h: include RowList.h
4205 (~LyXText): not needed anymore, deleted.
4206 (firstRow): modify for RowList
4207 (lastRow): new function
4208 Delete firstrow and lastrow class variables, add a Rowlist
4209 rowlist_ class variable.
4211 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4214 * RowList.C (insert): fix case where it == begin().
4216 2003-03-26 Angus Leeming <leeming@lyx.org>
4218 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4219 the thesaurus dialog.
4221 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4223 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4225 * RowList.[Ch]: new files
4227 * ParagraphList.C (erase): handle the case where it == begin
4230 2003-03-25 John Levon <levon@movementarian.org>
4234 * aspell.C: add new aspell support
4237 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4240 2003-03-25 Angus Leeming <leeming@lyx.org>
4243 * LyXAction.C (init): new LFUN_INSET_INSERT.
4245 * BufferView_pimpl.C (dispatch): split out part of the
4246 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4248 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4251 2003-03-25 Angus Leeming <leeming@lyx.org>
4253 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4255 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4258 * text3.C: remove useless row->height(0)
4260 2003-03-25 John Levon <levon@movementarian.org>
4264 * text3.C: rename the refreshing stuff to better names
4266 2003-03-24 John Levon <levon@movementarian.org>
4268 * BufferView_pimpl.h:
4269 * BufferView_pimpl.C: update layout choice on a mouse
4272 2003-03-23 John Levon <levon@movementarian.org>
4274 * Makefile.am: fix commandtags.h reference
4276 2003-03-22 John Levon <levon@movementarian.org>
4278 * BufferView_pimpl.C:
4283 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4285 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4288 * text.C: take the rtl methods out of line
4290 2003-03-21 André Pönitz <poenitz@gmx.net>
4292 * metricsinfo.[Ch]: new files containing structures to be passed around
4293 during the two-phase-drawing...
4295 2003-03-21 André Pönitz <poenitz@gmx.net>
4297 * lyxtextclass.C: read 'environment' tag.
4299 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4301 * text2.C (removeRow): fix bug 964
4303 2003-03-20 John Levon <levon@movementarian.org>
4307 * text2.C: paint cleanups. Inset::update() dropped font
4310 2003-03-19 John Levon <levon@movementarian.org>
4312 * lyxfunc.C: only fitcursor/markDirty if available()
4314 2003-03-19 John Levon <levon@movementarian.org>
4316 * commandtags.h: rename to ...
4318 * lfuns.h: ... this, and renumber / cleanup
4320 2003-03-19 John Levon <levon@movementarian.org>
4322 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4323 fit the cursor after an lfun
4327 * BufferView_pimpl.h:
4328 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4330 * LyXAction.C: layout-character should have ReadOnly
4332 * ParagraphParameters.C:
4334 * bufferview_funcs.C:
4341 * undo_funcs.C: changes from above
4343 2003-03-18 John Levon <levon@movementarian.org>
4345 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4346 remove it from update()
4348 * lyxfunc.C: update layout choice after an lfun
4350 * text3.C: remove extra updateLayoutChoice()s
4352 2003-03-18 John Levon <levon@movementarian.org>
4354 * text.C: top_y change means full repaint, fix
4355 a drawing bug with cursor movement
4357 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4361 * text2.C: anchor row on setCursor
4363 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4365 * lyxtext.h: remove almost all mutable keywords
4368 * text3.C: remove const keywords accordingly
4370 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4372 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4374 (TeXEnvironment): ditto
4377 2003-03-17 John Levon <levon@movementarian.org>
4379 * text.C (rowBreakPoint): remove attempt to fix displayed
4380 math insets inside a manual label
4382 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4384 * lyxtext.h: remove BufferView* as first arg from almost all class
4386 * other files: adjust.
4388 2003-03-17 John Levon <levon@movementarian.org>
4392 * text2.C: more paint cleanups
4394 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4397 * rowpainter.C: remove "smart" background painting code
4399 2003-03-16 John Levon <levon@movementarian.org>
4404 * text3.C: add helper functions for setting refresh_row/y
4406 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4408 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4409 newline inset which *can* get inserted in the pass_thru layouts.
4410 This is primarily for literate documents.
4412 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4414 * buffer.C: increment LYX_FORMAT to 223
4416 2003-03-14 André Pönitz <poenitz@gmx.net>
4418 * textclass.h: prepare for environment handling, ws changes
4419 * lyxlayout.C: read latexheader and latexfooter tags
4421 2003-03-14 John Levon <levon@movementarian.org>
4423 * text2.C: rewrite ::status() a bit
4425 2003-03-13 John Levon <levon@movementarian.org>
4427 * lyxtext.h: add some docs
4429 2003-03-13 John Levon <levon@movementarian.org>
4434 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4436 2003-03-13 John Levon <levon@movementarian.org>
4438 * text3.C: fix appendix redrawing
4440 2003-03-13 John Levon <levon@movementarian.org>
4442 * text.C (setHeightOfRow):
4444 * rowpainter.C: make appendix mark have the text
4445 "Appendix" so the user knows what it is
4448 * LColor.C: s/appendixline/appendix/ from above
4450 2003-03-13 John Levon <levon@movementarian.org>
4452 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4454 * text.C: fix a getChar(pos) bug properly
4456 2003-03-13 Angus Leeming <leeming@lyx.org>
4459 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4460 Probably only temporary. Let's see how things pan out.
4462 * BufferView.C (unlockInset):
4463 * BufferView_pimpl.C (fitCursor):
4464 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4466 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4467 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4469 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4470 new functions that convert ParagraphParameters to and from a string.
4472 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4473 BufferView::Pimpl's dispatch.
4474 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4476 2003-03-13 André Pönitz <poenitz@gmx.net>
4480 * factory.C: make it aware of InsetEnv
4482 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4484 * text2.C (setCursor): never ask for one past last
4485 (setCursor): add some debugging messages.
4487 * text.C (singleWidth): never ask for one past last
4488 (singleWidth): ditto
4490 (rightMargin): ditto
4491 (rowBreakPoint): ditto
4492 (setHeightOfRow): ditto
4493 (prepareToPrint): ditto
4495 * rowpainter.C (paintBackground): never ask for one past last
4496 (paintText): never ask for one past last
4498 * paragraph_pimpl.C (getChar): make the assert stricter, never
4499 allow the one past last pos to be taken
4501 * paragraph.C (getChar): ws changes only
4503 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4504 (numberOfSeparators): ditto
4505 (numberOfHfills): ditto
4507 2003-03-12 John Levon <levon@movementarian.org>
4513 * paragraph_funcs.C: fix per-buffer authorlists
4515 2003-03-12 John Levon <levon@movementarian.org>
4517 * text.C: fix newline in right address
4519 2003-03-12 Angus Leeming <leeming@lyx.org>
4521 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4522 duplicate those in LyXFunc::dispatch.
4526 * ToolbarDefaults.C:
4527 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4528 Add LFUN_FONTFREE_UPDATE.
4530 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4531 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4533 * bufferview_func.[Ch]: several new functions to facilliate
4534 transfer of data to and from the character dialog.
4536 2003-03-12 John Levon <levon@movementarian.org>
4541 * paragraph_funcs.C:
4542 * paragraph_pimpl.C:
4546 * text3.C: remove META_NEWLINE in favour of an inset
4549 * rowpainter.C: remove paintNewline (done by inset)
4551 2003-03-12 John Levon <levon@movementarian.org>
4553 * paragraph_pimpl.C: complain about bad getChar()s
4554 for a while at least
4556 2003-03-12 John Levon <levon@movementarian.org>
4559 * buffer.C: move paragraph read into a separate function,
4560 a little renaming to reflect that.
4563 * bufferparams.C: remove the author_ids map, not necessary now
4566 * factory.C: moved Buffer::readInset to here
4568 * paragraph_funcs.h:
4569 * paragraph_funcs.C: readParagraph free function moved from
4572 * tabular.C: name change
4574 2003-03-12 John Levon <levon@movementarian.org>
4577 * ParagraphParameters.C: move par params input to
4580 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4581 behave like a normal read from the stream wrt reading
4582 a line vs. a \\token
4584 2003-03-12 John Levon <levon@movementarian.org>
4587 * ParagraphParameters.h:
4588 * ParagraphParameters.C: move output code to a
4591 2003-03-12 John Levon <levon@movementarian.org>
4593 * BufferView.C (insertLyXFile):
4596 * tabular.C: use a parlist iterator for creating the
4599 2003-03-12 John Levon <levon@movementarian.org>
4601 * buffer.C: make current_change static local not
4604 2003-03-12 John Levon <levon@movementarian.org>
4606 * buffer.C: fix insertStringAsLines for change tracking
4608 2003-03-12 John Levon <levon@movementarian.org>
4615 * bufferparams.C: move author list into params. Rename some
4616 functions. Move the header reading into a separate token
4617 loop. Move the header token reading into BufferParams.
4619 2003-03-12 John Levon <levon@movementarian.org>
4621 * changes.C: put debug inside lyxerr.debugging() checks
4623 2003-03-11 André Pönitz <poenitz@gmx.net>
4625 * factory.C: make it aware of InsetHFill
4627 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4629 * buffer.C (latexParagraphs): move function from here...
4630 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4633 2003-03-10 Angus Leeming <leeming@lyx.org>
4635 * LyXAction.C (init): fix bug in poplating array with multiple entries
4636 with the same LFUN (spotted by JMarc).
4638 2003-03-10 John Levon <levon@movementarian.org>
4641 * text2.C: move getColumnNearX() near its
4644 2003-03-10 John Levon <levon@movementarian.org>
4646 * text.C: fix break before a minipage
4648 2003-03-10 John Levon <levon@movementarian.org>
4650 * text.C: fix the last commit
4652 2003-03-09 John Levon <levon@movementarian.org>
4656 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4657 bug 365 (don't break before insets unless needed). Don't
4658 return a value > last under any circumstances.
4660 2003-03-09 Angus Leeming <leeming@lyx.org>
4662 * BufferView_pimpl.C (trackChanges, dispatch): call
4663 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4665 2003-03-09 Angus Leeming <leeming@lyx.org>
4667 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4668 than Dialogs::showAboutlyx().
4670 2003-03-09 Angus Leeming <leeming@lyx.org>
4672 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4673 than Dialogs::showTabularCreate().
4675 2003-03-09 John Levon <levon@movementarian.org>
4679 * text2.C: 3rd arg to nextBreakPoint was always the same.
4682 2003-03-08 John Levon <levon@movementarian.org>
4689 * text2.C: Remove the "main" bit from the "main body"
4692 2003-03-08 John Levon <levon@movementarian.org>
4694 * text.C (leftMargin): The left margin of an empty
4695 manual label paragraph should not include the label width
4698 * text.C (prepareToPrint): don't attempt to measure hfills
4699 for empty manual label paragraphs - the answer should be 0
4701 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * CutAndPaste.C: remove commented code and reindent.
4705 2003-03-08 John Levon <levon@movementarian.org>
4708 * lyxfunc.C: move reloadBuffer()
4711 * BufferView.C: to here
4713 * lyxvc.C: add comment
4716 * vc-backend.C: call bv->reload() to avoid
4717 getStatus() check on MENURELOAD
4719 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4721 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4722 to an old format .dep file.
4724 2003-03-07 Angus Leeming <leeming@lyx.org>
4726 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4727 when the LFUN_MOUSE_RELEASE should have been handled by
4728 inset->localDispatch.
4730 2003-03-07 Angus Leeming <leeming@lyx.org>
4732 * BufferView_pimpl.C (dispatch):
4733 * LyXAction.C (init):
4734 * ToolbarDefaults.C (init):
4736 * lyxfunc.C (getStatus):
4737 remove LFUN_INSET_GRAPHICS.
4739 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4741 2003-03-07 Angus Leeming <leeming@lyx.org>
4744 * LyXAction.C (init):
4745 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4747 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4750 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4752 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4753 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4755 2003-03-07 Angus Leeming <leeming@lyx.org>
4757 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4760 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * ParagraphList.C (front): new function
4765 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4767 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4768 and top_row_offset_. removed var first_y.
4770 * text2.C (LyXText, removeRow):
4772 * BufferView_pimpl.C:
4773 use these methods instead of using first_y
4775 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * text2.C (pasteSelection): adjust for checkPastePossible
4779 * CutAndPaste.C: remove Paragraph * buf and replace with
4780 ParagraphList paragraphs.
4781 (DeleteBuffer): delete
4782 (cutSelection): change the tc type to textclass_type
4783 (copySelection): change the tc type to textclass_type
4784 (copySelection): adjust for ParagraphList
4785 (pasteSelection): change the tc type to textclass_type
4786 (pasteSelection): adjust for Paragraphlist
4787 (nrOfParagraphs): simplify for ParagraphList
4788 (checkPastePossible): simplify for ParagraphList
4789 (checkPastePossible): remove unused arg
4791 * ParagraphList.C (insert): handle the case where there are no
4794 * CutAndPaste.h: make CutAndPaste a namespace.
4796 * text3.C (dispatch): adjust
4798 * text.C (breakParagraph): add a ParagraphList as arg
4800 * paragraph_funcs.C (breakParagraph): change to take a
4801 BufferParams and a ParagraphList as args.
4802 (breakParagraphConservative): ditto
4803 (mergeParagraph): ditto
4804 (TeXDeeper): add a ParagraphList arg
4805 (TeXEnvironment): ditto
4808 * buffer.C (readLyXformat2): adjust
4809 (insertStringAsLines): adjust
4810 (latexParagraphs): adjust
4812 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4813 (cutSelection): adjust
4814 (pasteSelection): adjust
4816 * BufferView_pimpl.C (insertInset): adjust
4818 2003-03-05 Angus Leeming <leeming@lyx.org>
4821 * LyXAction.C (init):
4822 * BufferView_pimpl.C (dispatch):
4823 * lyxfunc.C (getStatus):
4824 remove LFUN_CHILD_INSERT.
4826 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4828 2003-03-05 Angus Leeming <leeming@lyx.org>
4831 * LyXAction.C (init):
4832 * src/factory.C (createInset):
4833 * lyxfunc.C (getStatus):
4834 * text3.C (dispatch):
4835 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4837 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4839 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4841 * ParagraphList.C (insert): handle insert right before end()
4842 (erase): fix cases where it can be first or last paragraph.
4844 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4846 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4847 Paragraph::next and Paragraph::previous
4850 * text.C (breakParagraph): adjust
4852 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4853 BufferParams& as arg.
4854 (breakParagraph): use ParagraphList::insert
4855 (breakParagraphConservative): take a Buffer* instead of a
4856 BufferParams& as arg.
4857 (breakParagraphConservative): use ParagraphList::insert.
4859 * buffer.C (insertStringAsLines): un-const it
4860 (insertStringAsLines): adjust
4862 * ParagraphList.C (insert): new function
4864 * CutAndPaste.C (pasteSelection): adjust
4866 * text.C (backspace): adjust
4868 * tabular.C (SetMultiColumn): adjust
4870 * CutAndPaste.C (cutSelection): adjust
4871 (pasteSelection): adjust
4873 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4874 Buffer const * as arg
4876 * ParagraphList.C (erase): new function
4877 * paragraph_funcs.C (mergeParagraph): use it
4878 (mergeParagraph): make it take a Buffer* instead of a
4879 BufferParams* as arg
4881 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4883 (breakParagraphConservative): ditto
4885 * paragraph.h: remove the breakParagraph friend
4887 * paragraph.C (eraseIntern): new function
4888 (setChange): new function
4890 * paragraph_funcs.C (mergeParagraph): make it take a
4891 ParagraphList::iterator instead of a Paragraph *, adjust
4894 * paragraph.h: move an #endif so that the change tracking stuff
4895 also works in the NO_NEXT case.
4897 2003-03-04 Angus Leeming <leeming@lyx.org>
4900 * LyXAction.C: new LFUN_INSET_MODIFY.
4902 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4903 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4905 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4907 * several files: ws changes only
4909 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4910 (TeXEnvironment): ditto
4913 * buffer.C (makeLaTeXFile): adjust
4914 (latexParagraphs): make it take ParagraphList::iterator as args
4916 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * buffer.C (latexParagraphs): adjust
4920 * paragraph.C (TeXOnePar): move function...
4921 (optArgInset): move function...
4922 (TeXEnvironment): move function...
4923 * paragraph_pimpl.C (TeXDeeper): move function...
4924 * paragraph_funcs.C: ...here
4926 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4928 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4930 * buffer.C (readInset): remove compability code for old Figure and
4933 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4935 * buffer.C: ws changes
4938 * BufferView_pimpl.C: ditto
4941 * bufferlist.h: ditto
4945 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4947 * converter.[Ch]: split into itself +
4950 * Makefile.am: += graph.[Ch] + format.[Ch]
4957 * lyxrc.C: added #include "format.h"
4959 2003-02-27 Angus Leeming <leeming@lyx.org>
4961 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4964 * factory.C (createInset): add "label" to the factory.
4966 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4967 string and do no more.
4969 2003-02-27 Angus Leeming <leeming@lyx.org>
4972 * LyXAction.C (init):
4973 * factory.C (createInset):
4974 * BufferView_pimpl.C (dispatch):
4975 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4977 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4979 * lyxfunc.C (dispatch):
4980 * text3.C (dispatch): pass name to params2string.
4982 2003-02-26 Angus Leeming <leeming@lyx.org>
4984 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4986 Rearrange the ~includes. Strip out the unnecessary ones.
4988 * factory.C (createInset): reformat.
4989 create new insets for the various LFUN_XYZ_APPLY lfuns.
4991 2003-02-26 John Levon <levon@movementarian.org>
4994 * lyxrow.C: add isParStart,isParEnd helpers
4996 * paragraph.h: make isInserted/DeletedText take refs
4998 * paragraph_funcs.h:
4999 * paragraph_funcs.C: remove #if 0'd code
5004 * text.C: use lyxrow helpers above.
5005 Move draw and paint routines to RowPainter.
5006 Make several methods use refs not pointers.
5007 Make backgroundColor() const.
5008 Add markChangeInDraw(), isInInset().
5009 Merge changeRegionCase into changeCase.
5010 Make workWidth() shouldn't-happen code into an Assert.
5013 * rowpainter.C: new class for painting a row.
5016 * vspace.C: make inPixels take a ref
5018 2003-02-26 Angus Leeming <leeming@lyx.org>
5020 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5023 2003-02-25 John Levon <levon@movementarian.org>
5025 * ispell.C: give the forked command a more accurate name
5027 2003-02-22 John Levon <levon@movementarian.org>
5030 * toc.C: make TocItem store an id not a Paragraph *
5033 2003-02-21 Angus Leeming <leeming@lyx.org>
5035 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5036 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5037 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5038 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5039 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5040 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5042 * BufferView_pimpl.C (dispatch):
5043 * LyXAction.C (init):
5044 * factory.C (createInset):
5045 * lyxfunc.C (getStatus, dispatch):
5046 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5048 2003-02-21 Angus Leeming <leeming@lyx.org>
5050 * BufferView_pimpl.C (MenuInsertLyXFile):
5051 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5052 * lyxfunc.C (menuNew, open, doImport):
5053 no longer pass a LyXView & to fileDlg.
5055 2003-02-21 Angus Leeming <leeming@lyx.org>
5057 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5058 * LyXAction.C: change, BIBKEY to BIBITEM.
5059 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5060 Change InsetBibKey to InsetBibitem.
5061 Change BIBKEY_CODE to BIBITEM_CODE.
5062 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5063 * factory.C: replace insetbib.h with insetbibitem.h.
5064 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5065 * paragraph.C: replace insetbib.h with insetbibitem.h.
5066 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5067 Change bibkey() to bibitem().
5068 * text.C: remove insetbib.h.
5069 * text2.C: replace insetbib.h with insetbibitem.h.
5070 change bibkey() to bibitem().
5071 * text3.C: remove insetbib.h.
5072 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5074 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5076 * lyxrc.C (output): enclose user email in quotes (in case there are
5079 2003-02-18 John Levon <levon@movementarian.org>
5081 * buffer.h: add std::
5083 2003-02-17 John Levon <levon@movementarian.org>
5089 * pspell.C: reworking. Especially in ispell, a large
5090 number of clean ups and bug fixes.
5092 * lyxfunc.C: fix revert to behave sensibly
5094 2003-02-17 André Pönitz <poenitz@gmx.net>
5097 * commandtags.h: new LFUN_INSERT_BIBKEY
5107 * paragraph_func.C: remove special bibkey handling
5109 2003-02-17 John Levon <levon@movementarian.org>
5111 * text.C (Delete): fix case where delete at the end of
5112 the very first paragraph would not merge the pars
5114 2003-02-17 John Levon <levon@movementarian.org>
5116 * lyxrow.C: fix lastPrintablePos()
5118 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5120 * bufferparams.C (writeLaTeX): add a std:here
5122 * buffer.C: and remove a using directive there
5124 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5126 * buffer.C (makeLaTeXFile): move the code that generates the
5129 * bufferparams.C (writeLaTeX): ... in this new method
5131 * LaTeXFeatures.C (getEncodingSet): make const
5132 (getLanguages): make const
5134 * MenuBackend.C (binding): returns the binding associated to this
5136 (add): sets the status of each item by calling getStatus. Adds
5138 (read): add support for OptSubMenu
5139 (expand): remove extra separator at the end of expanded menu
5141 2003-02-15 John Levon <levon@movementarian.org>
5144 * BufferView_pimpl.C:
5146 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5147 inset code that had no actual effect. Remove unneeded status
5150 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5152 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5155 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5157 * text.C (drawLengthMarker): also draw an arrow marker for
5158 symbolic lengths (medskip...)
5160 2003-02-14 John Levon <levon@movementarian.org>
5163 * tabular.C: better method names
5165 2003-02-14 John Levon <levon@movementarian.org>
5167 * BufferView_pimpl.C:
5172 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5173 it's a more accurate name. Remove some pointless uses.
5175 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5177 * text2.C (LyXText): change order of initilizers to shut off
5180 2003-02-14 John Levon <levon@movementarian.org>
5182 * buffer.C: use ParIterator for getParFromID()
5186 * paragraph_pimpl.h:
5187 * paragraph_pimpl.C: remove unused getParFromID()
5189 2003-02-14 John Levon <levon@movementarian.org>
5191 * buffer.C: remove some very old #if 0'd parse code
5193 2003-02-13 John Levon <levon@movementarian.org>
5197 * text2.C: move hfillExpansion(), numberOfSeparators(),
5198 rowLast(), rowLastPrintable(), numberofHfills(),
5199 numberOfLabelHfills() ...
5202 * lyxrow.C: ... to member functions here.
5207 * text.C: remove LyXText::beginningOfMainBody(), and call
5208 p->beginningOfMainBody() directly. Move the check for
5209 LABEL_MANUAL into the latter.
5216 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5222 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5223 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5225 2003-02-13 John Levon <levon@movementarian.org>
5227 * CutAndPaste.C: remove debug
5229 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5231 * paragraph.C (asString): remove two unused variables
5233 * lyxtextclass.C (readTitleType):
5235 (LyXTextClass): handle new members titletype_ and titlename_
5237 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5239 2003-02-09 John Levon <levon@movementarian.org>
5242 * buffer.C: replace hand-coded list with a map for the dep clean
5244 2003-02-08 John Levon <levon@movementarian.org>
5246 * LaTeX.C: consolidate code into showRunMessage() helper
5248 2003-02-08 John Levon <levon@movementarian.org>
5253 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5254 and pass the size in explicitly
5256 * BufferView_pimpl.h:
5257 * BufferView_pimpl.C:
5259 * BufferView.C: add getCurrentChange()
5261 * BufferView_pimpl.h:
5262 * BufferView_pimpl.C: handle change lfuns
5264 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5265 for changes. Mark pasted paragraphs as new.
5267 * support/lyxtime.h:
5268 * support/lyxtime.C:
5269 * DepTable.C: abstract time_t as lyx::time_type
5272 * LColor.C: add colours for new text, deleted text, changebars
5274 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5275 package use "usenames" option.
5279 * LyXAction.C: add change lfuns
5283 * author.C: author handling
5286 * buffer.C: add a per-buffer author list, with first entry as
5287 current author. Handle new .lyx tokens for change tracking. Output
5288 author list to .lyx file. Output dvipost stuff to .tex preamble.
5289 Bump lyx format to 222.
5292 * bufferlist.C: add setCurrentAuthor() to reset current author details
5296 * bufferparams.C: add param for tracking
5298 * bufferview_funcs.C: output change info in minibuffer
5302 * changes.C: add change-tracking structure
5305 * debug.C: add CHANGES debug flag
5308 * lyxfind.C: add code for finding the next change piece
5311 * lyxrc.C: add user_name and user_email
5314 * lyxrow.C: add a metric for the top of the text line
5317 * text.C: implement accept/rejectChange()
5320 * text.C: paint changebars. Paint new/deleted text in the chosen
5321 colours. Strike through deleted text.
5325 * paragraph_pimpl.h:
5326 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5327 in the current change to the insert functions. Rework erase to
5328 mark text as deleted, adding an eraseIntern() and a range-based
5329 erase(). Implement per-paragraph change lookup and
5332 * paragraph_funcs.C: Fixup paste for change tracking.
5334 * tabular.C: mark added row/columns as new.
5336 * text.C: fix rowLast() to never return -1. Don't allow
5337 spellchecking of deleted text. Track transpose changes. Don't
5338 allow paragraph break or merge where appropriate.
5340 * text2.C: leave cursor at end of selection after a cut.
5342 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5344 * text.C (getLengthMarkerHeight):
5345 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5346 visible on screen too.
5348 2003-02-07 John Levon <levon@movementarian.org>
5350 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5352 2003-02-05 Angus Leeming <leeming@lyx.org>
5354 * lyxserver.C (read_ready): revert my patch of 11 September last year
5355 as it sends PC cpu through the roof. Presumably this means that
5356 the lyxserver will no longer run on an Alpha...
5358 2003-01-30 Angus Leeming <leeming@lyx.org>
5360 * factory.C (createInset): create an InsetCommandParam of type "index"
5361 and use it to 'do the right thing'.
5363 * text2.C (getStringToIndex): ensure that cursor position is always
5364 reset to the reset_cursor position.
5366 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5368 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5371 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5375 * lyxfunc.C: Output messages with identical spelling, punctuation,
5378 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5380 * MenuBackend.C (expandFormats): List only viewable export formats
5383 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5386 * lyxfunc.C (getStatus): Make sure that formats other than
5387 "fax" can also be disabled
5389 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5391 * text3.C (dispatch): put the lfuns that insert insets in 3
5392 groups, and call doInsertInset with appropriate arguments.
5393 (doInsertInset): new function, that creates an inset and inserts
5394 it according to some boolean parameters.
5396 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5398 * buffer.C (readFile): remember to pass on 'par' when calling
5399 readFile recursively.
5401 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5403 * MenuBackend.C (expandFormats): add "..." to import formats.
5405 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5407 * paragraph.C (asString): Remove XForms RTL hacks.
5409 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5410 * buffer.C: fix typo
5412 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5414 * Makefile.am (LIBS): delete var
5415 (lyx_LDADD): add @LIBS@ here instead.
5417 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5419 * Clarify the meaning of "wheel mouse jump"
5421 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5423 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5426 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5428 * importer.C (Loaders): do not preallocate 3 elements in the
5429 vector, since one ends up with 6 elements otherwise
5431 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5433 * DepTable.C (write): write the file name as last element of the
5434 .dep file (because it may contain spaces)
5435 (read): read info in the right order
5437 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5439 * paragraph_pimpl.C (simpleTeXBlanks):
5440 (simpleTeXSpecialChars):
5441 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5443 * tabular.C (latex): add some missing case statements. Reindent.
5445 * MenuBackend.C (expandToc): remove unused variable.
5447 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5456 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5459 2003-01-05 John Levon <levon@movementarian.org>
5462 * BufferView.C: add getEncoding()
5465 * kbsequence.C: do not store last keypress
5468 * lyxfunc.C: store last keypress here instead. Pass encoding
5471 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5473 * lyx_main.C (init): remove annoying error message when following
5474 symbolic links (bug #780)
5476 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5478 * text.C (insertChar):
5479 * lyxrc.C (getDescription): remove extra spaces
5481 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5483 * lyxrc.C (getDescription): remove extra spaces
5485 2002-12-20 John Levon <levon@movementarian.org>
5487 * text3.C: hack fix for page up/down across tall rows
5489 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5491 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5494 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5496 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5497 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5498 thesaurus is not compiled in
5500 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5502 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5504 2002-12-16 Angus Leeming <leeming@lyx.org>
5507 * lyx_main.C (init): remove override_x_deadkeys stuff.
5509 2002-12-12 John Levon <levon@movementarian.org>
5511 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5512 insert. Only remove shift modifier under strict
5515 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5517 * MenuBackend.C (expandToc): fix crash.
5519 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5521 * MenuBackend.C (expandToc): gettext on float names.
5523 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5525 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5526 implement bool empty() [bug 490]
5528 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5532 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5534 * several files: ws changes
5536 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5538 * text2.C (setCounter): clean up a bit, use boost.format.
5539 (updateCounters): initialize par upon declaration.
5541 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5542 if the layout exists. We do not just store the layout any more.
5543 (SwitchLayoutsBetweenClasses): use boost.format
5545 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5547 * converter.C (convert): if from and to files are the same, use a
5548 temporary files as intermediary
5550 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5553 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5555 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5557 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5559 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * tabular.C (asciiPrintCell): use string(size, char) instead of
5564 * sgml.C (openTag): fix order of arguments to string constructor
5567 * lyxfunc.C (dispatch): use boost.format
5569 * lots of files: change "c" -> 'c'
5571 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5573 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5575 2002-11-25 Angus Leeming <leeming@lyx.org>
5577 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5579 * lyx_main.C (init): compile fix.
5581 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5583 * lyx_cb.C (start): boost.formatify
5584 do not include <iostream>
5586 * lengthcommon.C: ws only
5588 * boost-inst.C,BoostFormat.h: add more explict instantations
5590 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * lots of files: handle USE_BOOST_FORMAT
5594 2002-11-21 John Levon <levon@movementarian.org>
5596 * pspell.C: fix compile
5598 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5600 * lyxfunc.C (dispatch): use boost::format
5604 * lyxfont.C (stateText): use boost::format
5606 * lyx_main.C (LyX): use boost::format
5608 (queryUserLyXDir): ditto
5611 (typedef boost::function): use the recommened syntax.
5613 * importer.C (Import): use boost::format
5615 * debug.C (showLevel): use boost::format
5617 * converter.C (view): use boost::format
5622 * bufferview_funcs.C (currentState): use boost::format
5624 * bufferlist.C (emergencyWrite): use boost::format
5626 * buffer.C (readLyXformat2): use boost::format
5627 (parseSingleLyXformat2Token): ditto
5629 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5631 * LaTeX.C (run): use boost::format
5633 * Chktex.C (scanLogFile): use boost::format
5635 * BufferView_pimpl.C (savePosition): use boost::format
5636 (restorePosition): ditto
5637 (MenuInsertLyXFile): ditto
5639 * BoostFormat.h: help file for explicit instation.
5641 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5643 * tabular.C (latex): Support for block alignment in fixed width
5646 2002-11-17 John Levon <levon@movementarian.org>
5648 * BufferView_pimpl.C:
5650 * lyxfunc.C: split filedialog into open/save
5652 2002-11-08 Juergen Vigna <jug@sad.it>
5654 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5655 by my last patch (hopefully).
5657 2002-11-08 John Levon <levon@movementarian.org>
5666 * toc.C: ParConstIterator, and use it (from Lars)
5668 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5670 * lyxtextclass.[Ch]: revise and add doxygen comments
5672 2002-11-07 John Levon <levon@movementarian.org>
5674 * text.C: fix progress value for spellchecker
5676 * toc.C: fix navigate menu for insetwrap inside minipage
5678 * paragraph_funcs.C: added FIXME for suspect code
5680 2002-11-07 John Levon <levon@movementarian.org>
5682 * BufferView_pimpl.C: fix redrawing of insets
5685 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5687 * text2.C (updateCounters): fix bug 668
5689 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5691 * text3.C (dispatch): Do not make the buffer dirty when moving the
5694 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5696 * vc-backend.C: STRCONV
5699 * text2.C (setCounter): STRCONV
5701 * paragraph.C (asString): STRCONV
5703 * lyxlength.C (asString): STRCONV
5704 (asLatexString): ditto
5706 * lyxgluelength.C (asString): STRCONV
5707 (asLatexString): ditto
5709 * lyxfunc.C (dispatch): STRCONV
5712 * lyxfont.C (stateText): STRCONV
5714 * importer.C (Import): STRCONV
5716 * counters.C (labelItem): STRCONV
5717 (numberLabel): ditto
5718 (numberLabel): remove unused ostringstream o
5723 * bufferview_funcs.C (currentState): STRCONV
5725 * buffer.C (readFile): STRCONV
5726 (asciiParagraph): ditto
5727 (makeLaTeXFile): ditto
5729 * Spacing.C (writeEnvirBegin): STRCONV
5731 * LaTeXFeatures.C (getLanguages): STRCONV
5732 (getPackages): ditto
5734 (getBabelOptions): ditto
5735 (getTClassPreamble): ditto
5736 (getLyXSGMLEntities): ditto
5737 (getIncludedFiles): ditto
5741 (scanAuxFile): ditto
5744 * LString.h: add the STRCONV macros
5746 * BufferView_pimpl.C (savePosition): STRCONV
5747 (restorePosition): ditto
5748 (MenuInsertLyXFile): ditto
5750 * vc-backend.C (scanMaster): change from submatch[...] to
5753 * funcrequest.C: include config.h
5755 * factory.C: include config.h
5757 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5759 * box.C: include config.h
5761 * LaTeX.C (scanAuxFile): change from submatch[...] to
5765 2002-10-25 Angus Leeming <leeming@lyx.org>
5767 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5769 * ispell.[Ch] (setError): new method.
5770 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5771 Use setError() insetead of goto END.
5773 * lyx_cb.C (AutoSave): move out child process into new class
5776 2002-10-30 John Levon <levon@movementarian.org>
5778 * text3.C: make start appendix undoable
5780 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5782 * lyxlength.C (inPixels): Fix returned value.
5784 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5787 2002-10-24 Angus Leeming <leeming@lyx.org>
5789 * lyxgluelength.h: no need to forward declare BufferParams
5790 or BufferView, so don't.
5792 2002-10-21 John Levon <levon@movementarian.org>
5794 * BufferView.C: menuUndo ->undo, redo
5796 * BufferView.h: document, remove dead, make some methods private
5798 * paragraph_funcs.h:
5799 * paragraph_funcs.C:
5800 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5805 * sgml.C: move sgml open/close tag into sgml.C
5807 * bufferview_funcs.h: unused prototype
5810 * lyxfunc.C: remove unused
5813 * text.C: remove unused
5815 2002-10-21 John Levon <levon@movementarian.org>
5819 * BufferView_pimpl.h:
5820 * BufferView_pimpl.C: fix mouse wheel handling based on
5821 patch from Darren Freeman
5823 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5825 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5827 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5829 * lyxlength.C (inPixels): Fix hanfling of negative length.
5830 Fix LyXLength::MU case.
5832 2002-10-16 John Levon <levon@movementarian.org>
5834 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5836 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5838 * converter.C (view): add support for $$i (file name) and $$p
5839 (file path) for the viewer command. If $$i is not specified, then
5840 it is appended to the command (for compatibility with old syntax)
5842 2002-10-14 Juergen Vigna <jug@sad.it>
5844 * undo_funcs.C (textHandleUndo): alter the order in which the
5845 new undopar is added to the LyXText, as we have to set first
5846 the right prev/next and then add it as otherwise the rebuild of
5847 LyXText is not correct. Also reset the cursor to the right paragraph,
5848 with this IMO we could remove the hack in "redoParagraphs()".
5850 2002-10-09 Angus Leeming <leeming@lyx.org>
5852 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5853 to turn off an optimisation if a new inset is to be inserted.
5855 2002-10-11 André Pönitz <poenitz@gmx.net>
5857 * lyxtext.h: make some functions public to allow access
5858 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5860 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5862 * text3.C (dispatch): when changing layout, avoid an infinite loop
5865 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5867 * lyxrc.C (read): treat a viewer or converter command of "none" as
5870 * MenuBackend.C (expandFormats): for an update, also allow the
5871 formats that are not viewable
5873 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5874 script if it is newer than the lyxrc.defaults in user directory
5876 2002-10-07 André Pönitz <poenitz@gmx.net>
5878 * text.C: Vitaly Lipatov's small i18n fix
5880 2002-09-25 Angus Leeming <leeming@lyx.org>
5882 * ispell.h: doxygen fix.
5884 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5886 * buffer.h (readFile): Add a new argument to the method, to allow
5887 reading of old-format templates.
5889 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5891 * toc.C (getTocList): Get TOC from InsetWrap.
5893 2002-09-16 John Levon <levon@movementarian.org>
5895 * lyxfunc.C: check tabular for cut/copy too
5897 2002-09-12 John Levon <levon@movementarian.org>
5902 * factory.C: add header
5904 * paragraph_funcs.h:
5905 * paragraph_funcs.C: cleanup
5907 2002-09-11 John Levon <levon@movementarian.org>
5909 * PrinterParams.h: odd/even default to true
5911 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5913 * PrinterParams.h: update printer parameters for new xforms dialog
5915 2002-09-11 Angus Leeming <leeming@lyx.org>
5917 * lyxserver.C (read_ready): re-write to make it more transparent
5918 and to make it work in coherent fashion under Tru64 Unix.
5920 2002-09-11 André Pönitz <poenitz@gmx.net>
5924 * text3.C: implement LFUN_WORDSEL
5926 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5928 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5929 make floatlist_ a boost::shared_ptr<FloatList>
5931 * lyxtextclass.C: include FloatList.h
5932 (LyXTextClass): initialize floatlist_
5933 (TextClassTags): add TC_NOFLOAT
5934 (Read): match "nofloat" to TC_NOFLOAT and use it.
5935 (readFloat): modify call to floatlist_
5939 * FloatList.[Ch] (FloatList): remove commented out float
5941 (erase): new function
5943 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5945 * MenuBackend.C (expandToc): fix crash when there is no document
5948 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5950 * many files: Add insetwrap.
5952 2002-09-09 John Levon <levon@movementarian.org>
5954 * text2.C: remove confusing and awkward depth wraparound
5956 2002-09-09 John Levon <levon@movementarian.org>
5958 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5961 * buffer.C: remove getIncludeonlyList()
5964 * lyxfunc.C: remove headers
5966 2002-09-09 Juergen Vigna <jug@sad.it>
5968 * text.C (getColumnNearX): fix form Michael this is most
5969 probably a cut&paste bug.
5971 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5973 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5975 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5976 references, ws changes.
5978 * text2.C (init): update counters after init
5979 (insertParagraph): no need to set counter on idividual paragraphs.
5980 (setCounter): access the counters object in the textclass object
5981 on in the buffer object.
5982 (updateCounters): ditto
5984 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5985 shared_ptr<Counters> to avoid loading counters.h in all
5987 (LyXTextClass): initialize ctrs_
5988 (TextClassTags): add TC_COUNTER, and ...
5989 (Read): use it here.
5990 (CounterTags): new tags
5991 (readCounter): new function
5992 (counters): new funtion
5993 (defaultLayoutName): return a const reference
5995 * counters.C (Counters): remove contructor
5996 (newCounter): remove a couple of unneeded statements.
5997 (newCounter): simplify a bit.
5998 (numberLabel): some small formatting changes.
6000 * buffer.[Ch]: remove all traces of counters, move the Counters
6001 object to the LyXTextClass.
6003 2002-09-06 Alain Castera <castera@in2p3.fr>
6005 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6006 package to set the horizontal alignment on fixed width columns.
6009 * lyx_sty.h: added tabularnewline macro def.
6011 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6013 2002-09-06 John Levon <levon@movementarian.org>
6015 * LyXAction.C: tooltips for sub/superscript
6017 * MenuBackend.C: a bit more verbose
6019 * lyxfunc.C: tiny clean
6021 * undo_funcs.C: document undo_frozen
6023 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6025 * counters.C (Counters): add missing algorithm counter.
6027 * text2.C (setCounter): lookup the counter with layouts latexname
6028 instead of by section number.
6029 (setCounter): use a hackish way to lookup the correct enum
6031 a float name->type change
6032 reset enum couners with counter name directly instead of depth value.
6034 * counters.C (Counters): remove the push_backs, change to use the
6035 float type not the float name.
6036 (labelItem): remove unused string, float name->type change
6038 * counters.h: don't include vector, loose the enums and sects vectors
6040 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6043 (Read): add float->TC_FLOAT to textclassTags
6044 (Read): and handle it in the switch
6045 (readFloat): new function
6047 * FloatList.C (FloatList): comment out the hardcoded float
6050 * lyxlayout.h: ws change.
6052 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6054 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6056 2002-09-03 Angus Leeming <leeming@lyx.org>
6058 * BufferView_pimpl.h: qualified name is not allowed in member
6059 declaration: WorkArea & Pimpl::workarea() const;
6061 * factory.C: added using std::endl directive.
6063 * text3.C: added using std::find and std::vector directives.
6065 2002-08-29 André Pönitz <poenitz@gmx.net>
6068 * text2.C: remove unused member number_of_rows
6071 * BufferView2.C: remove file, move contents to...
6072 * BufferView.C: ... here
6074 * BufferView_pimpl.C:
6075 * factory.C: move more inset creation to factory
6077 * vspace.C: avoid direct usage of LyXText, ws changes
6080 don't provide direct access to WorkArea, use two simple
6081 acessors haveSelction() and workHeight() instead
6084 2002-08-29 John Levon <levon@movementarian.org>
6086 * BufferView_pimpl.C (dispatch): do not continue when
6089 2002-08-28 André Pönitz <poenitz@gmx.net>
6091 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6094 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6096 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6098 * buffer.C: increment LYX_FORMAT to 221
6100 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6101 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6103 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6105 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6107 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6109 * factory.C (createInset): use LyXTextClass::floats
6111 * MenuBackend.C (expandFloatListInsert):
6112 (expandFloatInsert):
6115 * text2.C (setCounter):
6117 * LaTeXFeatures.C (useFloat):
6118 (getFloatDefinitions):
6120 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6122 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6123 floatlist_, with accessor floats().
6125 * FloatList.h: remove global FloatList
6127 2002-08-26 André Pönitz <poenitz@gmx.net>
6129 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6133 * BufferView_pimpl.C:
6134 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6136 2002-08-25 John Levon <levon@movementarian.org>
6138 * LyXAction.C: fix margin note description
6140 2002-08-24 John Levon <levon@movementarian.org>
6144 * bufferview_funcs.C:
6146 * undo_funcs.C: cleanups
6148 * lyxfunc.C: disable CUT/COPY when no selection
6150 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6152 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6153 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6155 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6156 Add backward compatibility to "mono", "gray" and "no".
6158 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6160 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6161 (and file_format >= 200).
6163 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6165 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6167 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6169 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6171 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6173 * BufferView_pimpl.C:
6180 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6181 inset and code to make it work with the paragraph code. The inset
6182 can be anywhere in the paragraph, but will only do the expected
6183 thing in LaTeX if the layout file contains the parameter line
6185 (or more generally, a nonzero value) for that layout.
6187 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6189 * paragraph.h: remove the declaration of undefined counters class
6192 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6194 * text2.C (setCounter): fixed enumeration mis-count as reported by
6195 Dr. Richard Hawkins.
6197 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6199 * paragraph_funcs.h: remove some unneeded includes
6201 * text.C (backspace): pasteParagraph now in global scipe
6203 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6204 (pasteSelection): ditto
6206 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6207 * paragraph_funcs.C (pasteParagraph): ... here
6209 2002-08-20 André Pönitz <poenitz@gmx.net>
6211 * commandtags.h: new LFUNs for swapping/copying table row/colums
6214 * lyxfunc.C: support for new lfuns
6216 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6219 * buffer.[Ch]: remove NO_COMPABILITY stuff
6221 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6223 * boost.C (throw_exception): new file, with helper function for
6224 boost compiled without exceptions.
6229 * ParameterStruct.h:
6230 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6232 * bufferlist.C (emergencyWriteAll): use boost bind
6234 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6236 * text.C: include paragraph_funcs.h
6237 (breakParagraph): breakParagraph is now in global scope
6239 * paragraph_funcs.[Ch]: new files
6241 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6244 * buffer.C: include paragraph_funcs.h
6245 (insertStringAsLines): breakParagraph is now in global scope
6247 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6250 * CutAndPaste.C: include paragraph_funcs.h
6251 (cutSelection): breakParagraphConservative is now in global scope
6252 (pasteSelection): ditto
6254 * buffer.h: declare oprator== and operator!= for
6255 Buffer::inset_iterator
6257 * bufferlist.C (emergencyWrite): don't use fmt(...)
6259 * text3.C: add using std::endl
6261 * BufferView.C (moveCursorUpdate): remove default arg
6263 2002-08-20 André Pönitz <poenitz@gmx.net>
6265 * buffer.[Ch]: move inline functions to .C
6268 * BufferView_pimpl.C:
6270 * buffer.[Ch]: use improved inset_iterator
6273 * paragraph.[Ch]: write one paragraph at a time
6275 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6277 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6278 style if style is not specified.
6280 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6282 * text2.C (setCounter): when searching for right label for a
6283 caption, make sure to recurse to parent insets (so that a caption
6284 in a minipage in a figure float works) (bug #568)
6286 2002-08-20 André Pönitz <poenitz@gmx.net>
6288 * text3.C: new file for LyXText::dispatch() and helpers
6290 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6292 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6294 2002-08-19 André Pönitz <poenitz@gmx.net>
6297 * text.C: new LyXText::dispatch()
6299 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6301 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6303 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6305 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6308 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6310 * Makefile.am: use $(variables) instead of @substitutions@
6312 2002-08-15 André Pönitz <poenitz@gmx.net>
6315 * BufferView_pimpl.C: streamlining mathed <-> outer world
6319 * LyXAction.C: remove unused LFUN_MATH
6321 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6323 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6325 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6327 * paragraph.C (Paragraph): reformat a bit
6328 (cutIntoMinibuffer): use builtin InsetList function instad of
6332 * buffer.C: include boost/bind.hpp, add using std::for_each
6333 (writeFileAscii): use ParagraphList iterators
6334 (validate): use for_each for validate traversal of paragraphs
6335 (getBibkeyList): use ParagraphList iterators
6336 (resizeInsets): use for_each to resizeInsetsLyXText for all
6338 (getParFromID): use ParagraphList iterators
6340 * BufferView2.C (lockInset): use paragraph list and iterators
6342 2002-08-14 John Levon <levon@movementarian.org>
6344 * lyxserver.C: remove spurious xforms include
6346 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6348 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6350 2002-08-13 André Pönitz <poenitz@gmx.net>
6353 * lyxfunc.C: further cleaning
6355 2002-08-13 André Pönitz <poenitz@gmx.net>
6357 * funcrequest.h: new constructor
6359 * funcrequest.C: move stuff here from .h
6362 * BufferView_pimpl.C:
6365 * lyxfunc.C: subsequent changes
6367 * lyxfunc.h: new view() member function
6369 * lyxfunc.C: subsequent changes
6371 2002-08-13 Angus Leeming <leeming@lyx.org>
6374 * BufferView_pimpl.C:
6382 changes due to the changed LyXView interface that now returns references
6383 to member variables not pointers.
6385 2002-08-13 Angus Leeming <leeming@lyx.org>
6387 * WordLangTuple (word, lang_code): return references to strings,
6392 * lyxtext.h: forward-declare WordLangTuple.
6397 * text.C: #include "WordLangTuple.h".
6400 * text.C: (selectNextWordToSpellcheck): constify return type.
6402 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6408 * paragraph_pimpl.h:
6411 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6413 Made updateCounter always count from start of buffer, and removed
6414 second argument (par).
6415 Reverted floats number display to '#'. Perhaps I'll try again when the
6416 code base is sanitized a bit.
6418 2002-08-12 Angus Leeming <leeming@lyx.org>
6420 * buffer.[Ch] (getLabelList): constify.
6422 2002-08-07 André Pönitz <poenitz@gmx.net>
6424 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6426 * funcrequest.h: extension to keep mouse (x,y) position
6428 2002-08-12 Juergen Vigna <jug@sad.it>
6430 * BufferView2.C (insertErrors): forbid undo when inserting error
6433 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6435 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6437 * ParagraphList.[Ch]: new files
6439 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6441 * BufferView2.C (lockInset): ParagraphList changes
6444 * bufferlist.C: ditto
6448 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6450 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6451 unused class variable counter_,
6453 * paragraph.[Ch] (getFirstCounter): delete unused function
6455 * counters.C: include LAssert.h
6456 (reset): add a new function with no arg, change other version to
6457 not have def. arg and to not allow empty arg.
6459 * text2.C (setCounter): remove empty arg from call to Counters::reset
6461 2002-08-11 John Levon <levon@movementarian.org>
6463 * Makefile.am: add WordLangTuple.h
6465 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6467 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6468 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6470 * insets/insettext.C: InsetList changes
6472 * graphics/GraphicsSupport.C (operator()): InsetList changes
6474 * toc.C (getTocList): InsetList changes
6476 * paragraph_pimpl.[Ch]: InsetList changes
6478 * paragraph.[Ch]: InsetList changes
6480 * buffer.C (inset_iterator): InsetList changes
6481 (setParagraph): ditto
6482 * buffer.h (inset_iterator): ditto
6483 * iterators.C (operator++): ditto
6484 * iterators.h: ditto
6486 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6488 * InsetList.[Ch]: new files, most InsetList handling moved out of
6491 * BufferView2.C (removeAutoInsets): InsetList changes
6493 (ChangeInsets): ditto
6495 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6497 * paragraph_pimpl.h (empty): new function
6499 * paragraph.[Ch] (empty): new function
6501 * other files: use the new Paragraph::empty function
6503 2002-08-09 John Levon <levon@movementarian.org>
6505 * lyxtext.h: remove unused refresh_height
6507 2002-08-09 John Levon <levon@movementarian.org>
6514 * paragraph.C: move sgml char escaping out of paragraph
6517 * paragraph.C: remove id setter
6521 * paragraph_pimpl.C: remove dead tex_code_break_column
6523 * bufferview_funcs.C: small cleanup
6525 * lyxfunc.C: remove dead proto
6527 * lyxtext.h: make some stuff private. Remove some dead stuff.
6529 * lyxgluelength.C: make as[LyX]String() readable
6531 2002-08-08 John Levon <levon@movementarian.org>
6536 * ToolbarDefaults.C:
6539 * toc.C: lyxaction cleanup
6541 2002-08-08 John Levon <levon@movementarian.org>
6543 * BufferView2.C: small cleanup
6546 * lyxfind.C: move unnecessary header into the .C
6548 2002-08-08 John Levon <levon@movementarian.org>
6550 * funcrequest.h: just tedious nonsense
6553 * lyx_main.C: cleanups
6556 * vspace.C: remove dead header lyx_main.h
6558 2002-08-07 Angus Leeming <leeming@lyx.org>
6561 * paragraph_pimpl.h:
6562 Forward declare class Counters in paragraph.h by moving the ctrs member
6563 variable into Paragraph::Pimpl.
6564 (counters): new method, returning a reference to pimpl_->ctrs.
6566 * text2.C: ensuing changes.
6568 2002-08-07 John Levon <levon@movementarian.org>
6570 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6572 * BufferView_pimpl.C: announce X selection on double/triple
6575 * lyx_main.C: use correct bool in batch dispatch
6577 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6579 2002-08-07 André Pönitz <poenitz@gmx.net>
6581 * funcrequest.h: new class to wrap a kb_action and its argument
6584 * BufferView_pimpl[Ch]:
6588 * lyxrc.C: subsequent changes
6591 2002-08-07 John Levon <levon@movementarian.org>
6593 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6594 document options change.
6596 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6601 * makefile.am: move counters functionality over from
6602 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6604 2002-08-06 John Levon <levon@movementarian.org>
6606 * WordLangTuple.h: new file for word + language code tuple
6617 * BufferView2.C: use WordLangTuple
6620 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6622 2002-08-06 John Levon <levon@movementarian.org>
6624 * lyx_main.C: fix cmdline batch handling
6626 2002-08-06 André Pönitz <poenitz@gmx.net>
6628 * lyxrc.C: set default for show_banner to true
6630 2002-08-06 John Levon <levon@movementarian.org>
6632 * pspell.C: fix a crash, and allow new aspell to work
6634 2002-08-06 John Levon <levon@movementarian.org>
6637 * kbmap.C: small cleanup
6640 * vspace.C: add const
6642 2002-08-05 John Levon <levon@movementarian.org>
6644 * LyXAction.C: back to tabular-insert
6646 2002-08-04 John Levon <levon@movementarian.org>
6649 * BufferView.C: cosmetic change
6651 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6661 * BufferView2.C: purge all "Lyx" not "LyX" strings
6664 * lyxcursor.C: attempt to add some documentation
6669 * ToolbarDefaults.C:
6670 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6671 merge with LFUN_TABULAR_INSERT
6678 * pspell.C: split up i/pspell implementations into separate
6679 files, many cleanups
6681 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6683 * text2.C: some cleanup
6685 * lyxfunc.C: don't check for isp_command == "none" any more, it
6686 didn't make any sense
6688 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6693 * makefile.am: move counters functionality over
6694 from text2.C/paragraph.[Ch] to counters.[Ch], and
6696 2002-08-02 John Levon <levon@movementarian.org>
6698 * buffer.C: s/lyxconvert/lyx2lyx/
6700 2002-08-02 Angus Leeming <leeming@lyx.org>
6702 * lyxlex.C: revert John's change as it breaks reading of the user
6705 2002-08-02 Angus Leeming <leeming@lyx.org>
6707 * importer.C (Import):
6708 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6709 changes due to LyXView::view() now returning a boost::shared_ptr.
6711 2002-08-02 John Levon <levon@movementarian.org>
6713 * lyxlex.C: small cleanup
6715 2002-08-02 John Levon <levon@movementarian.org>
6717 * text2.C (status): small cleanup, no logic change
6719 2002-08-01 John Levon <levon@movementarian.org>
6722 * buffer.C (writeFile): don't output alerts, caller
6726 * lyx_cb.C: from above
6728 * lyxfunc.C: allow to open non-existent files
6730 2002-07-31 John Levon <levon@movementarian.org>
6732 * lyxserver.C: don't let incidental errors get
6735 2002-07-30 John Levon <levon@movementarian.org>
6737 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6739 2002-07-30 John Levon <levon@movementarian.org>
6742 * lyxserver.C: remove I/O callback too
6744 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6746 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6749 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * many files: strip,frontStrip -> trim,ltrim,rtrim
6753 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6755 * PrinterParams.h: remove extern containsOnly, and include
6756 support/lstrings.h instead.
6758 * LaTeX.C (scanAuxFile): modify because of strip changes
6760 * buffer.C (makeLaTeXFile): ditto
6761 * bufferparams.C (writeFile): ditt
6762 * lyxfont.C (stateText): ditto
6763 * lyxserver.C (read_ready): ditto
6764 * vc-backend.C (scanMaster): ditto
6766 * BufferView_pimpl.h: ws changes
6768 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6770 2002-07-26 André Pönitz <poenitz@gmx.net>
6772 * kb_sequence.C: remove unnedred usings
6774 2002-07-26 Juergen Vigna <jug@sad.it>
6776 * lyxfind.C (LyXReplace): we have to check better if the returned
6777 text is not of theLockingInset()->getLockingInset().
6779 2002-07-25 Juergen Vigna <jug@sad.it>
6781 * lyxfind.C (LyXReplace): don't replace if we don't get the
6784 * undo_funcs.C (createUndo): remove debugging code.
6786 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6788 * buffer.C (parseSingleLyXformat2Token): Use default placement
6789 when reading old floats.
6791 * FloatList.C (FloatList): Change the default placement of figure
6792 and tables to "tbp".
6794 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6796 * MenuBackend.C: using std::max
6798 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6800 * MenuBackend.C (expandToc):
6801 (expandToc2): code moved from xforms menu frontend. It is now
6802 generic and TOCs are transparent to menu frontends.
6804 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6806 * toc.C (getTocList): protect against buf=0
6808 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6809 Menu as first parameter. Now, this calls itself recursively to
6810 expand a whole tree (this will be useful for TOC handling)
6811 (expandFloatInsert): remove 'wide' version of floats
6813 * MenuBackend.h (submenuname): returns the name of the submenu.
6814 (submenu): returns the submenu itself, provided it has been
6815 created by MenuBackend::expand
6817 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6819 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6820 insets which have noFontChange == true. (bug #172)
6822 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6824 * BufferView_pimpl.C: add connection objects and use them...
6827 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6829 * MenuBackend.C (expandLastfiles):
6832 (expandFloatListInsert):
6833 (expandFloatInsert):
6834 (expand): split expand in parts
6836 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6838 * lyx_gui.C: use lyx_gui::exit()
6840 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6842 * LyXAction.C: show the failing pseudo action
6844 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6846 * buffer.C (readFile): Run the lyxconvert script in order to read
6849 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6853 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6855 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6859 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6861 2002-07-22 Herbert Voss <voss@lyx.org>
6864 * lyxlength.[Ch]: add support for the vertical lengths
6866 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6868 * toc.[Ch]: std:: fixes
6870 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6872 * lyxrc.C: do not include lyx_main.h
6874 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6880 * BufferView2.C: include "lyxlex.h"
6883 * bufferparams.h: do not #include "lyxlex.h"
6885 * lyxtextclasslist.C (Add): remove method
6886 (classlist): renamed to classlist_
6888 * paragraph_pimpl.C:
6892 * bufferview_funcs.C:
6897 * toc.C (getTocList): use BufferParams::getLyXTextClass
6899 * toc.C (getTocList): use InsetFloat::addToToc
6901 * toc.[Ch]: new files, containing helper functions to handle table
6904 * lyxfunc.C (dispatch): no need to remove spaces around command
6906 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6907 first command of the sequence; it is not very clever, but I do not
6908 have a better idea, actually
6910 * LyXAction.C (LookupFunc): make sure to remove space at the
6911 beginning and end of the command
6913 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6915 * MenuBackend.C (getMenubar): new method: return the menubar of
6917 (read): treat differently reading of menu and menubar (in
6918 particular, the menubar has no name now)
6919 (Menu::menubar): remove
6921 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6924 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6926 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6927 a bibitem inset in a RTL paragraph.
6929 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6931 * paragraph_pimpl.C: constify
6933 * BufferView_pimpl.C:
6935 * lyxfunc.C: fix dispatch in a nicer way
6937 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6939 * lyxfunc.C (dispatch):
6940 * BufferView_pimpl.C:
6941 * BufferView_pimpl.h:
6943 * BufferView.h: rename Dispatch() to dispatch()
6945 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6947 * lyxlayout.C (Read): honor DependsOn tag
6949 * lyxlayout.[Ch] (depends_on): new method
6951 * version.C.in: update lyx_docversion
6953 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6955 * paragraph.C (validate): remove from here...
6956 * paragraph_pimpl.C (validate): ... and move here
6957 (isTextAt): make it const
6959 * buffer.C (getLists): ws cleanup
6961 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6963 * language.C (read): Use iso8859-1 encoding in latex_lang
6964 (this prevents LyX from crashing when using iso10646-1 encoding).
6966 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6968 * text2.C (toggleInset): if cursor is inside an inset, close the
6969 inset and leave cursor _after_ it
6971 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6973 * lyxfunc.C: move minibuffer completion handling out of here
6975 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6977 * BufferView_pimpl.C:
6978 * LaTeX.C: fix dispatch calls
6980 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6982 * text.C (drawChars): Fix Arabic text rendering.
6984 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6988 * lyxfunc.C: remove message-push/pop
6992 * lyxfunc.C: rationalise some code by removing verboseDispatch
6993 in favour of a bool argument to dispatch()
6995 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6997 * lyx_main.C (init): make sure to read symlinks as absolute paths
6999 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7002 * lyxfunc.C: no need for commandshortcut to be a member
7004 2002-07-15 André Pönitz <poenitz@gmx.net>
7006 * converter.C: add support for $$s (scripts from lib/scripts dir)
7007 * lyx_main.C: white space
7009 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7013 * lyxrc.C: remove second exit confirmation
7015 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7020 * BufferView_pimpl.h:
7021 * BufferView_pimpl.C:
7022 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7024 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7026 * MenuBackend.C (expand): add numeric shortcuts to document menu
7028 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7030 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7032 * lyxfont.C (setLyXFamily):
7039 * buffer.C (asciiParagraph): use ascii_lowercase
7041 2002-07-15 Mike Fabian <mfabian@suse.de>
7043 * lyxlex_pimpl.C (search_kw):
7044 * lyxlex.C (getLongString):
7045 * converter.h (operator<):
7046 * converter.C (operator<):
7047 * buffer.C (parseSingleLyXformat2Token):
7049 * ToolbarDefaults.C (read):
7050 * MenuBackend.C (checkShortcuts):
7052 * LColor.C (getFromGUIName):
7053 (getFromLyXName): use the compare_ascii_no_case instead of
7054 compare_no_case, because in turkish, 'i' is not the lowercase
7055 version of 'I', and thus turkish locale breaks parsing of tags.
7057 2002-07-16 Angus Leeming <leeming@lyx.org>
7059 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7060 now takes a Buffer const & argument.
7062 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7064 * BufferView.C (resize): check there's a buffer to resize
7066 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7068 * lyxfunc.C: remove dead code
7071 * lyxserver.C: use lyx_guii::set_read_callback
7073 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7075 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7076 an inset in a RTL paragraph.
7078 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7080 * lyxfunc.C: repaint after a font size update
7082 2002-07-15 André Pönitz <poenitz@gmx.net>
7084 * lyxlength.C: inBP should be able to return negative values
7086 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7088 * lyxfunc.C: use lyx_gui::update_fonts()
7090 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7092 * lyxfunc.C: use lyx_gui::update_color()
7094 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7100 * lyxrc.C: remove file->new asks for name option, and let
7101 buffer-new take an argument
7103 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7105 * BufferView_pimpl.C: remove unneeded extra repaint()
7107 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7109 * LyXAction.C: allow command-sequence with NoBuffer
7111 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7113 2002-07-10 Angus Leeming <leeming@lyx.org>
7115 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7117 2002-07-09 Angus Leeming <leeming@lyx.org>
7119 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7121 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7123 * lengthcommon.h: whitespace
7125 * lyxfunc.C: update scrollbar after goto paragraph
7127 * lyxtext.h: factor out page break drawing, and fix it so
7128 page break/added space paints as selected nicely
7130 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7132 * BufferView_pimpl.C: add FIXMEs, clean up a little
7134 2002-07-09 André Pönitz <poenitz@gmx.net>
7136 * lyxfont.[Ch]: support for wasy symbols
7138 2002-07-08 André Pönitz <poenitz@gmx.net>
7140 * BufferView_pimpl.C: apply John's patch for #93.
7142 2002-07-05 Angus Leeming <leeming@lyx.org>
7144 * BufferView_pimpl.C (buffer): generate previews if desired.
7146 * LColor.h: add "preview" to the color enum.
7148 * LColor.C (LColor): add a corresponding entry to the items array.
7150 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7153 2002-07-05 Angus Leeming <leeming@lyx.org>
7155 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7156 The body of the code is now in the method that is passed an ostream &
7157 rather than a file name.
7158 Pass an additional only_preamble parameter, useful for the forthcoming
7161 2002-07-03 André Pönitz <poenitz@gmx.net>
7163 * lyxfunc.C: simplify getStatus() a bit for math stuff
7165 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7167 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7169 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7171 * text.C (changeRegionCase): do not change case of all the
7172 document when region ends at paragraph end (bug #461)
7174 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7176 * paragraph.C (startTeXParParams):
7177 (endTeXParParams): add \protect when necessary
7179 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7181 * BufferView_pimpl.C (workAreaExpose): remove warning
7183 2002-06-27 Angus Leeming <leeming@lyx.org>
7185 * Makefile.am: add lyxlayout_ptr_fwd.h.
7187 2002-06-26 André Pönitz <poenitz@gmx.net>
7189 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7191 2002-06-25 Angus Leeming <leeming@lyx.org>
7193 * lyxfunc.C (dispatch): Comment out the call to
7194 grfx::GCache::changeDisplay. The method no longer exists now that the
7195 pixmap generation part of the graphics loader has been moved into
7198 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7200 * text2.C: layout as layout
7202 * text.C: layout as layout
7204 * tabular.C (OldFormatRead): layout as layout
7206 * paragraph_pimpl.C (TeXDeeper): layout as layout
7207 (realizeFont): layout as layout
7209 * paragraph.C (writeFile): layout as layout
7210 (validate): layout as layout
7211 (getFont): layout as layout
7212 (getLabelFont): layout as layout
7213 (getLayoutFont): layout as layout
7214 (breakParagraph): layout as layout
7215 (stripLeadingSpaces): layout as layout
7216 (getEndLabel): layout as layout
7217 (getMaxDepthAfter): layout as layout
7218 (applyLayout): layout as layout
7219 (TeXOnePar): layout as layout
7220 (simpleTeXOnePar): layout as layout
7221 (TeXEnvironment): layout as layout
7222 (layout): layout as layout
7223 (layout): layout as layout
7225 * lyxtextclass.C (compare_name): new functor to work with
7226 shared_ptr, layout as layout
7227 (Read): layout as layout
7228 (hasLayout): layout as layout
7229 (operator): layout as layout
7230 (delete_layout): layout as layout
7231 (defaultLayout): layout as layout
7233 * lyxlayout_ptr_fwd.h: new file
7235 * lyxlayout.C (Read): layout as layout
7237 * lyx_cb.C (MenuInsertLabel): layout as layout
7239 * bufferlist.C (newFile): layout as layout
7241 * buffer.C (readLyXformat2): layout as layout
7242 (parseSingleLyXformat2Token): layout as layout
7243 (insertStringAsLines): layout as layout
7244 (asciiParagraph): layout as layout
7245 (latexParagraphs): layout as layout
7246 (makeLinuxDocFile): layout as layout
7247 (simpleLinuxDocOnePar): layout as layout
7248 (makeDocBookFile): layout as layout
7249 (simpleDocBookOnePar): layout as layout
7250 (getLists): layout as layout
7252 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7254 * CutAndPaste.C (cutSelection): layout as layout
7255 (pasteSelection): layout as layout
7256 (SwitchLayoutsBetweenClasses): layout as layout
7258 * BufferView_pimpl.C (Dispatch): layout as layout
7259 (smartQuote): layout as layout
7261 * BufferView2.C (unlockInset): layout as layout
7263 2002-06-24 André Pönitz <poenitz@gmx.net>
7265 * lyxfunc.C: fix #487
7267 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7271 * lyxfunc.C: remove display_shortcuts, show_banner
7273 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7275 * Buffer_pimpl.C: oops, update on resize
7277 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7284 * BufferView.C: use repaint()
7286 * BufferView_pimpl.h:
7287 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7288 as it's a clearer description. Remove superfluous
7291 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7293 * text.C: fix bug 488. Not ideal, but getting
7294 getWord() to work properly for the insets that
7295 matter is more difficult ...
7297 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7299 * BufferView_pimpl.C:
7302 * lyxfunc.C: remove the six million index lyxfuncs to just
7303 one, and DTRT (bug 458)
7305 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7309 * BufferView_pimpl.h:
7310 * BufferView_pimpl.C: clean up resize() stuff,
7311 and unnecessary updateScreen()s
7313 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7317 * BufferView_pimpl.h:
7318 * BufferView_pimpl.C:
7321 * minibuffer.C: remove focus management of workarea,
7322 not needed. Use screen's greyOut()
7324 2002-06-17 Herbert Voss <voss@lyx.org>
7326 * converter.C: (convert) do not post a message, when converting
7327 fails, let the calling function decide what to do in this case
7329 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7331 * lyxfunc.C: tidy up a little
7333 2002-06-16 <alstrup@diku.dk>
7335 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7336 Got rid of FORMS_H_LOCATION include. Now we are
7339 2002-06-15 LyX Development team <lyx@rilke>
7341 * buffer.[Ch] (sgmlOpenTag):
7342 (sgmlCloseTag): Added support for avoiding pernicious mixed
7343 content. Return number of lines written.
7346 (makeDocBookFile): Fixed calls to sgml*Tag.
7347 Simple white space clean.
7349 (simpleDocBookOnePar): Simple white space clean.
7351 * tabular.[Ch] (docBook): Renamed to docbook and got another
7352 argument to related with the pernicious mixed content.
7354 (docbookRow): Fixed calls for docbook inset method.
7356 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7358 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7359 so it's X11 independent.
7363 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7365 2002-06-15 Lyx Development team <lyx@electronia>
7367 * intl.h: Renamed getTrans to getTransManager.
7369 2002-06-14 Angus Leeming <leeming@lyx.org>
7371 * Makefile.am: nuke forgotten stl_string_fwd.h.
7373 2002-06-12 Angus Leeming <leeming@lyx.org>
7375 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7377 2002-06-13 Angus Leeming <leeming@lyx.org>
7380 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7382 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7384 * kbmap.C (getiso): add support for cyrillic and greek
7386 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7390 * BufferView_pimpl.h:
7391 * BufferView_pimpl.C: move bogus scrolling logic
7394 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7397 * BufferView_pimpl.C: view->resize() change
7399 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7401 * BufferView_pimpl.C: topCursorVisible
7404 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7408 * lyx_gui.C: move to frontends/
7412 * lyx_main.C: changes from above
7414 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7421 * lyx_main.C: minor tidy
7423 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7425 * BufferView_pimpl.h:
7426 * BufferView_pimpl.C:
7428 * BufferView.C: make painter() const,
7431 * BufferView2.C: use screen() accessor
7434 * lyx_main.C: some minor cleanup
7436 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7438 * BufferView_pimpl.h:
7439 * BufferView_pimpl.C: remove enter/leaveView,
7442 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7447 * BufferView_pimpl.h:
7448 * BufferView_pimpl.C: only construct screen once,
7451 * lyxrc.C: remove pointless comment
7453 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7456 * BufferView.C: remove active() and belowMouse()
7458 * BufferView_pimpl.h:
7459 * BufferView_pimpl.C: use workarea() not workarea_,
7460 and make it use a scoped_ptr instead
7462 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7464 * lyx_gui.C: add debug message on BadWindow
7466 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7468 * sp_spell.C: fdopen is not part of the C++ standard.
7470 * paragraph.C (InsetIterator): use >= instead of ==
7472 2002-06-07 Angus Leeming <leeming@lyx.org>
7474 Fixes needed to compile with Compaq cxx 6.5.
7475 * BufferView_pimpl.C:
7482 * lyxtextclasslist.C:
7487 all c-library variables have been moved into namespace std. Wrap
7488 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7493 Add a using std::abs declaration.
7495 * kbmap.h (modifier_pair):
7496 * paragraph.h (InsetTable, InsetList):
7497 * lyxfont.h (FontBits):
7498 type definition made public.
7500 * bufferlist.C (emergencyWriteAll): the compiler complains that
7501 there is more than one possible lyx::class_fun template to choose from.
7502 I re-named the void specialisation as lyx::void_class_fun.
7504 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7506 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7507 the compiler is is unable to find tostr in write_attribute.
7509 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7511 * buffer.C (sgmlError): hide #warning
7513 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7515 * xtl/*: get rid of xtl, which is not in use anyway
7517 * LyXAction.C (init):
7518 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7519 were unimplemented xtl experimentation
7521 2002-06-04 André Pönitz <poenitz@gmx.net>
7523 * lyxfunc.C: disable array operation on simple formulae
7525 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7527 * converter.C: constify a bit
7529 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7531 * lyx_gui.C: check xforms version correctly
7533 2002-04-30 Herbert Voss <voss@lyx.org>
7535 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7538 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7540 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7541 attempt to register it with a VCS)
7543 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7545 * lyx_main.C (init): honor variables LYX_DIR_13x and
7548 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7552 * lyx_main.C: fix a crash on bad command line,
7553 and give a useful exit status on error
7555 * lyxfunc.C (doImport): allow -i lyx to work
7557 2002-03-30 André Pönitz <poenitz@gmx.net>
7559 * lyxfunc.C: mathed font changes
7561 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7576 * trans_mgr.h: srcdocs, and some minor cleanups
7578 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7580 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7581 call getFont all the time)
7583 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7585 * switch from SigC signals to boost::signals
7587 2002-05-29 André Pönitz <poenitz@gmx.net>
7589 * paragraph_pimpl.C (getChar): don't call size() too often...
7591 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7593 * paragraph_pimpl.C (insertChar): do not try to update tables when
7594 appending (pos == size())
7596 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7597 in order to reduce drastically the number of comparisons needed to
7598 parse a large document
7600 2002-05-29 André Pönitz <poenitz@gmx.net>
7606 * textclasslist.[Ch]:
7607 * sp_ispell.h: whitespace change
7609 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7611 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7612 lyxaction directly now.
7614 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7618 * lyxvc.C: remove unused headers
7620 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7627 * undo_funcs.C: some cleanups. Use shared_ptr
7628 and a template for the undo stacks.
7630 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7632 * BufferView_pimpl.h:
7633 * BufferView_pimpl.C:
7640 * text2.C: use key_state/mouse_state
7642 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7644 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7647 * chset.C: change include order
7648 (loadFile): use boost regex and get rid of LRegex and LSubstring
7650 * Makefile.am (BOOST_LIBS): new variable
7653 * LaTeX.C: change include order.
7654 (scanAuxFile): use boost regex and get rid of LRegex and
7658 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7663 * FontInfo.C: moved to frontends/xforms/
7666 * FontLoader.C: moved into frontends for GUIIzation
7671 * lyxfunc.C: changes from above
7673 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7675 * LColor.C: remove spurious X include
7677 * BufferView_pimpl.C:
7682 * text2.C: move font metrics to frontends/
7684 2002-05-24 Juergen Vigna <jug@sad.it>
7686 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7687 setting the undo_cursor.
7689 * ParagraphParameters.h: include local includes first.
7691 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7693 * BufferView_pimpl.C:
7694 * BufferView_pimpl.h:
7698 * screen.C: move WorkArea into frontends/
7704 * BufferView2.C: move LyXScreen into frontends/
7708 * lyx_gui.C: move lyxlookup into frontends/xforms/
7710 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7713 * BufferView_pimpl.C:
7723 * bufferview_funcs.C:
7736 * vc-backend.C: move LyX/XFormsView into frontends/
7738 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7750 * text2.C: move Painter to frontends/
7752 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7754 * buffer.C: comment out some some code that depend upon lyx_format
7757 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7758 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7760 * buffer.h (NO_COMPABILITY): turn off compability
7762 * ColorHandler.C: include scoped_array.hpp
7764 * font.C: Use more specific smart_ptr header.
7767 * ShareContainer.h: ditto
7771 * BufferView_pimpl.h: ditto
7772 * ColorHandler.h: ditto
7774 * kbmap.C (defkey): change call to shared_ptr::reset
7776 2002-05-21 Juergen Vigna <jug@sad.it>
7778 * buffer.C (insertErtContents): fix to insert ert asis if it is
7779 non empty. Skip it completely if it contains only whitespaces.
7781 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7783 * BufferView_pimpl.C:
7784 * BufferView2.C: clear selection on paste (bug 393)
7786 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7788 * DepTable.C: include ctime
7790 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7792 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7794 2002-05-14 Juergen Vigna <jug@sad.it>
7796 * text.C (breakParagraph): fixed function to honor the keepempty
7797 layout in the right maner and also to permit the right breaking
7798 algorithm on empty or non empyt keepempty paragraphs.
7800 * paragraph.C (breakParagraph): we have to check also if the par
7801 is really empty (!size()) for isempty otherwise we do the wrong
7804 2002-05-10 Juergen Vigna <jug@sad.it>
7806 * buffer.[Ch] : The following are only changes to the ert
7807 compatibility read reading old LaTeX layout and font stuff and
7808 convert it to ERTInsets.
7810 * buffer.h: added isErtInset().
7812 * buffer.C (struct ErtComp): add a fromlayout bool to check
7813 if we're inside a LaTeX layout.
7814 (isErtInset): new helper function.
7815 (insertErtContents): look for other ert insets before this one
7816 and insert the contents there, so that we don't have subsequent
7817 ERT insets with nothing between them. This way we create only one
7818 inset with multiple paragraphs. Also check if we don't insert only
7819 spaces ' ' as they are ignored anyway afterwards in the .tex file
7820 so if we have only spaces we will ignore this latex part in the
7822 (parseSingleLyXformat2Token \\layout): better compatibility when
7823 reading layout-latex stuff.
7824 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7826 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7827 stuff after reading the inset only get the information back from
7830 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7832 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7834 * LaTeXFeatures.C (getBabelOptions): New method.
7836 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7838 * BufferView_pimpl.C (Dispatch): work around missing argument for
7841 2002-05-08 Juergen Vigna <jug@sad.it>
7843 * text.C (leftMargin): handle paragraph leftindent.
7845 * paragraph.C (writeFile): write the new \\leftindent tag.
7846 (validate): handle leftindent code.
7847 (TeXEnvironment): handle paragraphleftindent code again.
7849 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7851 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7852 for paragrap_extra indent code and new token \\leftindent.
7853 (latexParagraphs): handle the leftindent as environment.
7855 * ParameterStruct.h: added leftindent support.
7857 * ParagraphParameters.C (leftIndent): added support functions for
7858 the paragraph left indent.
7860 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7863 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7865 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7868 * text.C (computeBidiTables): No bidi in insetERT.
7870 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7873 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7875 * version.C.in: pre 5
7877 2002-05-02 José Matos <jamatos@fep.up.pt>
7878 * buffer.C (makeDocBookFile): white space changes, add newline to
7880 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7882 * tabular.C (docBook): fix typo.
7884 2002-05-03 Juergen Vigna <jug@sad.it>
7886 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7887 change in LyXText as we can not be sure it was not freed.
7888 (drawOneRow): remove unused code.
7890 * text.C (drawInset): redo the calculation of the need_break_row as
7891 it could have a row which was already freed.
7892 (draw): look at the return value of drawInset and return false if
7893 it also returned false.
7894 (paintRowText): look at the return value of draw and return false if
7895 it also returned false.
7897 * lyxtext.h: added bool return type to drawInset() and draw() so that
7898 if we have a change in the row so that the rowbreak has to be redone
7899 we abort drawing as it will be called again.
7901 2002-05-02 Juergen Vigna <jug@sad.it>
7903 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7904 a change in the maintext also if we're inside an inset.
7905 (Dispatch): set the cursor again after a break line and after the
7906 screen has been updated as it could be we're in a different row.
7908 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7909 to set the cursor behind the pargraph with > size().
7910 (setCursor): check also for the same paragraph when checking where
7911 to put the cursor if we have a NFR inset.
7913 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7914 parts of layout read further up as it still was in the wrong
7917 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7919 * screen.C (drawFromTo): change sine fullRebreak always return
7922 * buffer.C (parseSingleLyXformat2Token): reindent some
7924 * BufferView_pimpl.C (update): change since fullRebreak always
7926 (Dispatch): git rid of the last hardcoded "Standard"s.
7928 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7930 * text2.[Ch] (fullRebreak): make it return void now that we always
7933 2002-04-30 Juergen Vigna <jug@sad.it>
7935 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7936 ert compatibility check for "latex" layout.
7938 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7940 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7941 minipages: use col% instead of p%, and also use the current font.
7942 (makeLaTeXFile): Fix use babel condition.
7943 (parseSingleLyXformat2Token): Correct font when reading old floats.
7945 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7947 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7948 inserting list of floats.
7950 2002-04-25 Herbert Voss <voss@lyx.org>
7952 * MenuBackend.C (expand): don't add the graphics extensions to the
7955 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7957 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7958 non-existing layout, do not complain if it was the default layout
7959 of the original class (bug #342)
7961 2002-04-24 Juergen Vigna <jug@sad.it>
7963 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7964 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7966 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7968 * buffer.C (getBibkeyList): If using \bibliography, return the
7969 option field with the reference itself. Enables us to provide natbib
7970 support when using \bibliography.
7972 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7974 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7976 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7977 natbib is provided by the LaTeX class.
7979 2002-04-23 Juergen Vigna <jug@sad.it>
7981 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7984 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7986 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7988 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7990 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7991 ensuremath around textordmasculine, textordfeminine and
7994 2002-04-19 Juergen Vigna <jug@sad.it>
7996 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7997 reinitializing the buffer otherwise row-dimensions may be wrong.
7998 (update): reset also the selection cursors if they do exits otherwise
7999 their x/y positions may be wrong.
8001 * text2.C (cursorDown): don't enter the inset if we came from a row
8002 above and are one row over the inset.
8004 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8005 really leaving an inset.
8007 2002-04-18 Juergen Vigna <jug@sad.it>
8009 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8010 of the selected paragraph does not have the selected layout also if
8013 * text2.C (setLayout): fixed bug which did not change last selected
8016 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8017 changed the read and substituted \\end_float with \\end_inset!
8019 * BufferView_pimpl.C (cursorPrevious):
8020 (cursorNext): fixed to make it work with rows heigher than the work
8021 area without moving the cursor only the draw of the row.
8022 (workAreaMotionNotify): fix jumping over high rows.
8024 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8026 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8029 2002-04-16 Juergen Vigna <jug@sad.it>
8031 * text2.C (setCursor): set also the irow().
8032 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8034 (cursorDown): support for locking an inset if the x_fix value goes
8035 inside it. That way I can transverse insets too with cursor up/down.
8037 * lyxrow.h: added irow helper function same as other (i) functions.
8039 * BufferView_pimpl.C (cursorPrevious):
8040 (cursorNext): fixed for insets!
8042 2002-04-15 Juergen Vigna <jug@sad.it>
8044 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8045 position otherwise it is wrong in some cases.
8047 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8048 inside the inset before the call.
8050 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8052 * buffer.[Ch] (getBibkeyList): make it const.
8054 2002-04-12 Juergen Vigna <jug@sad.it>
8056 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8058 * text2.C (getCursorX): new helper function
8059 (setCursor): compute also ix_
8060 (setCursorFromCoordinates): set also ix.
8062 * lyxcursor.h: added ix_ and helper functions.
8064 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8066 * buffer.C (insertStringAsLines): dont break paragraph if the this
8067 paragraph is inside an inset which does not permit it!
8069 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8070 also with no chars on this paragraph.
8071 (paintRowText): only paint stuff if it's inside the workarea!
8073 * paragraph.C (breakParagraph): honor keepempty flag and break the
8074 paragraph always below not above.
8076 * BufferView2.C (unlockInset): update the paragraph layout on inset
8077 unlock as we changed paragraph in such a case.
8079 * lyxfind.C (LyXFind): clear the former selection if not found!
8081 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8082 again called in insertChar().
8084 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8085 an inset which uses the whole row!
8086 (rightMargin): ditto.
8087 (insertChar): force a rebreak if we inserted an inset!
8089 2002-03-28 Herbert Voss <voss@lyx.org>
8091 * lyxlength.[Ch]: add inBP() to get the right PS-point
8092 units (BigPoint). With inPixels we have rounding errors
8094 2002-04-11 Juergen Vigna <jug@sad.it>
8096 * text2.C (setCursorFromCoordinates): set iy to the right value.
8097 (setCursor): add check if row->previous exists!
8099 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8100 an old float_type as this was the case in the old code!
8102 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8104 * BufferView2.C (showLockedInsetCursor): use iy
8105 (fitLockedInsetCursor): ditto
8107 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8108 locked insets as there we have the right value now.
8110 * lyxcursor.C: added iy_ variable and iy functions to set to the
8111 baseline of cursor-y of the locked inset.
8113 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8114 (setCursor): fixed for insets which need a full row.
8116 * text.C (rowLastPrintable): don't ignore the last space when before
8117 an inset which needs a full row.
8118 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8119 as last character of a row when before a inset which needs a full row.
8121 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8123 * version.C.in: update date
8125 * text2.C (fullRebreak): try to always return true and see what
8128 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8130 * MenuBackend.C (expand): use Floating::listName
8132 * FloatList.C (FloatList): add listName argument to the built-in
8135 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8136 text associated with the float.
8138 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8140 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8142 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8144 * ShareContainer.h: add a couple of missing typenames.
8146 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8148 * lyxrc.C (getDescription): use _() correctly rather than N_().
8150 2002-03-28 Herbert Voss <voss@lyx.org>
8152 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8153 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8155 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8157 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8158 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8160 2002-03-29 Juergen Vigna <jug@sad.it>
8162 * lyxfunc.C (dispatch): add a missing fitCursor call.
8164 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8165 it was scrolled by a cursor move, so return the bool status.
8167 * BufferView.C (fitCursor): return the bool flag also to the outside
8168 world as this is needed.
8170 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8172 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8173 call the edit() as it is not needed (and wrong) IMO.
8174 (workAreaButtonPress): set the screen_first variable before evt.
8175 unlock the inset as this may change screen_first and then we have
8176 a wrong y position for the click!
8178 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8180 * MenuBackend.C (expand): another translation that I missed
8182 2002-03-28 Juergen Vigna <jug@sad.it>
8184 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8186 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8188 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8190 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8192 * MenuBackend.C (expand): fix export/view/update when there is no
8195 2002-03-27 Herbert Voss <voss@lyx.org>
8197 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8200 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8202 * bufferview_funcs.C (currentState): only show paragraph number
8203 for is DEVEL_VERSION is set.
8205 * lyxfunc.C (dispatch): put warning in INFO channel
8207 * MenuBackend.C (expand): translate the name of floats
8209 * FloatList.C (FloatList): mark the float names for translation
8211 * converter.C (convert): use LibScriptSearch
8213 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8215 * MenuBackend.C (defaults): fix default menu (we might as well get
8218 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8220 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8223 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8225 * lyxvc.C: reorder includes.
8227 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8229 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8232 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8234 * CutAndPaste.C: change layouts earlier on paste
8235 to avoid crashing when calling getFont()
8237 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8239 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8242 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8244 * WorkArea.C: remove 'Pending' debug message.
8246 * most files: ws cleanup
8248 * buffer.[Ch]: ws changes
8250 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8252 2002-03-21 Juergen Vigna <jug@sad.it>
8254 * tabular.C (SetMultiColumn): collapse also the contents of the
8255 cells and set the last border right. Added a Buffer const * param.
8257 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8259 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8262 2002-03-19 Juergen Vigna <jug@sad.it>
8264 * text2.C (clearSelection): reset also xsel_cache.
8266 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8267 where it needs to be called (John tells us to do so too :)
8268 (selectionLost): reset sel_cache.
8270 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8272 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8274 * text2.C (setCursorIntern): put debuging code in INSETS channel
8276 2002-03-19 André Pönitz <poenitz@gmx.net>
8278 * lyxfunc.C: tiny whitespace change
8280 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8282 * ToolbarDefaults.C (init):
8283 * LyXAction.C (init):
8285 * BufferView_pimpl.C (Dispatch):
8286 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8288 2002-03-19 Allan Rae <rae@lyx.org>
8290 * exporter.C (Export): removeAutoInsets before doing anything else.
8291 While I've just introduced a dependency on BufferView this really is
8292 the best place to clean the buffer otherwise you need to cleanup in
8293 a dozen places before calling export or cleanup in a dozen functions
8296 * converter.C (runLaTeX):
8297 (scanLog): Better handling of removeAutoInsets and screen updates.
8299 * lyxfunc.C (dispatch): small whitespace changes
8301 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8303 * WorkArea.C (C_WorkAreaEvent): return a value.
8304 (event_cb): return 1 if we handled the event, 0 otherwise.
8306 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8308 2002-03-18 Juergen Vigna <jug@sad.it>
8310 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8311 (GetAdditionalWidth): ditto.
8315 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8316 inset if we're there actually (probably not used right now but this
8317 is the direction to go for unifying code).
8318 (paste): disable code to clear the selection.
8320 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8321 inside an InsetText and move the check further up as it is in the
8324 * text2.C (pasteSelection): set a selection over the pasted text.
8326 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8328 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8329 and libgraphics to build on Cygwin.
8331 2002-03-15 Juergen Vigna <jug@sad.it>
8333 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8334 inserting an Inset into the paragraph. I know this is not the best
8335 fix but we already use current_view in CutAndPaste so we will remove
8336 all of it's using at the same time.
8338 * buffer.C (sgmlError): deactivated function till it is rewritten in
8339 the right mode, now it can create problems.
8341 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8342 before accessing it.
8344 2002-03-14 Juergen Vigna <jug@sad.it>
8346 * undo_funcs.C (textHandleUndo): do the right thing when updating
8347 the inset after the undo/redo.
8349 * text2.C (setCursor): just some testcode for #44 not ready yet.
8351 * undo_funcs.C (textHandleUndo): set the next() and previous()
8352 pointers of the paragraph to 0 before deleting otherwise we have
8353 problems with the Paragraph::[destructor].
8355 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8356 on a paragraph insertion.
8358 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8360 * buffer.C (asciiParagraph): use += operator for char append to
8363 * paragraph.C (getFontSettings): compare >= not just >
8364 (highestFontInRange): ditto
8367 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8369 * paragraph.C: change several algorithm to be more appripriate for
8370 the problem domain. This is lookip in FontList and in the InsetList.
8372 2002-03-13 André Pönitz <poenitz@gmx.net>
8375 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8377 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8382 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8384 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8386 * Painter.C (display): anon helper function, adjust code for this
8388 (pixmap): remove function.
8390 * Painter.h: remove private display variable.
8392 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8394 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8396 * WorkArea.[Ch]: remove figinset_canvas cruft.
8398 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8400 * lyxtextclass.C (operator): add one item cache optimization.
8402 * bufferlist.h: doxy changes
8404 * bufferlist.C: ws changes
8406 * DepTable.[Ch] (ext_exist): place const in the right spot.
8408 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8410 (workAreaExpose): call resizeInsets when the with BufferView changes.
8411 (Dispatch): adjust for protectedBlank removal
8412 (specialChar): call updateInset if the insert went ok.
8414 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8415 specialChar instead.
8417 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8419 * BufferView.h: doxy change
8421 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8423 * lyxtextclass.C (operator[]): remove non-const version
8424 (defaultLayout): remove non-const version
8426 2002-03-12 Juergen Vigna <jug@sad.it>
8428 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8429 did resize the LyXText too.
8431 * buffer.C (readLyXformat2): set layout information on newly allocated
8434 * tabular.C (OldFormatRead): set layout information on the paragraph.
8436 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8438 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8440 2002-03-11 Juergen Vigna <jug@sad.it>
8442 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8444 (resizeCurrentBuffer): force also the insets to resize themselfes.
8445 (moveCursorUpdate): fixed up for InsetText.
8447 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8450 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8451 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8452 value of Dialogs::tooltipsEnabled().
8453 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8455 2002-03-08 Juergen Vigna <jug@sad.it>
8457 * BufferView_pimpl.C (updateInset): update inset inside inset also
8458 if it isn't inside theLockingInset().
8460 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8462 * buffer.C (asciiParagraph): redo some of the word and line length
8464 (getLists): look for Caption instead of caption.
8466 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8468 * buffer.C (Buffer): initialize niceFile to true
8471 (makeDocBookFile): make sure niceFile is true on exit
8473 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8475 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8477 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8479 * LyXSendto.C: remove.
8480 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8481 * lyx_gui.C: remove now-redundant comment.
8482 * ColorHandler.h: remove forward declaration of class WorkArea.
8483 * lyxfunc.C: remove #include "WorkArea.h".
8485 2002-03-07 Juergen Vigna <jug@sad.it>
8487 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8488 got moved away with the DEPM and also set the inset_owner always
8489 right which before could have been omitted.
8491 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8493 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8494 wanted layout is not found.
8496 2002-03-07 Juergen Vigna <jug@sad.it>
8498 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8500 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8502 * paragraph.C (breakParagraph): use default layout not layout of
8504 (Paragraph): clear ParagraphParameters.
8506 2002-03-06 Juergen Vigna <jug@sad.it>
8508 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8509 otherwise it would not be a valid lenght. Fixed a special case in
8510 the minipage compatibility read where we end the document with a
8513 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8514 was set as it could be 0 for InsetTexts first entry.
8516 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8518 * paragraph.C (writeFile): if layout is empty write out
8519 defaultLayoutName().
8521 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8522 file without named layout we set layout to defaultLayoutName().
8524 2002-03-06 Juergen Vigna <jug@sad.it>
8526 * CutAndPaste.C (copySelection): set layout for new paragraph.
8528 * text.C (prepareToPrint): leave ERT inset left aligned
8529 (leftMargin): don't indent paragraphs inside ERT insets
8531 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8533 * paragraph.C (breakParagraph): dont call clear do the work manually
8535 * paragraph.[Ch] (clear): remove function
8537 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8539 * paragraph.C (Paragraph): dont call clear, the work has already
8542 * lyxtextclass.C (operator): assert if n is empty
8544 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8545 work manually instead.
8547 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8549 * BufferView_pimpl.C: protect selectionLost against text == 0
8551 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8553 * text.C (breakParagraph): fix a setting layout to '0' problem.
8555 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8557 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8558 final location of file, for the included files, and graphics.
8560 2002-03-05 Juergen Vigna <jug@sad.it>
8562 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8564 2002-03-04 Juergen Vigna <jug@sad.it>
8566 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8568 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8569 last column of multicolumn cells.
8570 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8572 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8574 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8575 file if it doesn't go to a temporary file.
8577 * buffer.C (sgmlOpenTag):
8578 (sgmlCloseTag): remove extra newline insertion.
8580 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8582 * text.C (getRowNearY): comment out debug msg
8584 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8586 * text2.C: first -> first_y
8588 * text.C (getRowNearY): add some attemts at a possible
8589 optimization, not working.
8591 * tabular.[Ch]: add BufferParams to several function so that newly
8592 created paragraph can be initialized to he default layotu for the
8595 * tabular-old.C (ReadOld): add buf->params to call of Init
8597 * screen.C: rename text->first to text->first_y
8599 * paragraph.C (breakParagraph): always set layout in the broken
8602 * lyxtextclass.C (Read): remove lowercase
8605 (delete_layout): ditto
8607 * lyxtext.h: rename first -> first_y
8609 * lyxlayout.C (Read): remove lowercase
8612 (obsoleted_by): ditto
8614 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8616 * buffer.C (insertErtContents): add params are to InsetERT
8617 (parseSingleLyXformat2Token): add code to check if a paragraphs
8618 layout really exist.
8619 (parseSingleLyXformat2Token): add params to several inset
8621 (asciiParagraph): remove lowercase, do the layout comparisons with
8624 * BufferView_pimpl.C (cursorNext): first -> first_y
8625 (resizeCurrentBuffer): first -> first_y
8626 (updateScrollbar): first -> first_y
8627 (scrollCB): first -> first_y
8628 (workAreaMotionNotify): first -> first_y
8629 (workAreaButtonPress): first -> first_y
8630 (checkInsetHit): first -> first_y
8631 (cursorPrevious): first -> first_y
8632 (cursorNext): first -> first_y
8633 (Dispatch): add buffer_->params to severl inset contructors
8635 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8637 * lyxlayout.C (Read): remove some debug info that I forgot.
8639 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8640 clean up the code slightly.
8641 (makeLinuxDocFile): ditto
8642 (makeDocBookFile): ditto
8644 * text2.C: layout as string
8646 * text.C: layout as string
8648 * paragraph_pimpl.C: layout as string
8650 * paragraph.[Ch]: layout as string
8652 * lyxtextclasslist.[Ch]: layout as string
8654 * lyxtextclass.[Ch]: layout as string
8656 * lyxtext.h: layout as string
8658 * lyxlayout.[Ch]: layout as string
8660 * lyx_cb.C: layout as string
8662 * bufferview_funcs.C: layout as string
8664 * bufferparams.C: layout as string
8666 * buffer.C: layout as string
8668 * LyXView.[Ch]: layout as string
8670 * LaTeXFeatures.[Ch]: layout as string
8672 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8674 * BufferView_pimpl.C: change current_layout to string, remove
8679 (workAreaButtonRelease): layout as string
8681 * BufferView2.C (unlockInset): adjust
8683 * vspace.C (asLatexCommand): use an explict temp variable.
8685 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8687 * Makefile.am: use FRONTEND_*
8689 2002-03-01 Juergen Vigna <jug@sad.it>
8691 * tabular.C (SetWidthOfMulticolCell): changed to something better
8692 I hope but still work in progress.
8693 (recalculateMulticolumnsOfColumn): renamed function from
8694 recalculateMulticolCells as it is more appropriate now.
8695 (SetWidthOfCell): calculate multicols better.
8697 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8699 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8701 * lyxfunc.C (processKeySym): print sequence also if it is
8702 `deleted' (complete)
8704 * kbsequence.C (print): print sequence even if it is deleted
8705 (complete would be a better word, actually).
8707 * lyxfunc.C (dispatch): print complete options after a prefix key
8709 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8711 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8713 * text2.C (setCharFont): eliminate setCharFont code duplication.
8715 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8717 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8718 LFUN_TABULAR_FEATURE (bug #177)
8720 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8722 * Makefile.am: remove figure.h
8724 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8726 * Bufferview_pimpl.C:
8738 * text2.C: remove #include "lyx_gui_misc.h".
8740 * LaTeX.C: added #include <cstdio>
8742 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8744 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8745 that the paragraph following this one can have.
8747 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8749 * vspace.C (asLatexCommand): fix bogus gcc warning
8751 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8753 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8755 * text2.C (setLayout): get rid of redundant code
8757 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8759 * text2.C (incDepth): make sure depth cannot be increased beyond
8762 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8764 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8765 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8767 * PainterBase.h (image):
8768 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8771 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8775 * BufferView_pimpl.C:
8776 * BufferView_pimpl.h:
8796 * sp_spell.C: remove fig inset, and the crap house of
8797 cards that follows it
8799 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8805 * nt_defines.h: move .h into support/
8807 * vms_defines.h: remove
8809 * WorkArea.C: add space in debug output
8813 * buffer.C: add WITH_WARNINGS
8817 * bufferlist.C: s/retrive/retrieve/, add docs
8828 * lyxgui.C: add ID to X error handler
8830 * lyxtestclass.c: fix typo
8832 2002-02-26 Juergen Vigna <jug@sad.it>
8834 * tabular_funcs.C (write_attribute): changed so that some default
8835 attributes are not written at all.
8836 (getTokenValue): set default values before trying to read the
8837 value so we have the return value always set as default if we don't
8838 find the token we search for.
8840 * tabular.C (Write): write bools as bools not as strings!
8842 2002-02-22 Juergen Vigna <jug@sad.it>
8844 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8845 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8847 * text.C (leftMargin): don't add an indent for paragraphs inside
8848 tabular cells (fix #208).
8850 2002-02-21 José Matos <jamatos@fep.up.pt>
8852 * tabular.C (docBook): fixed support for long tables.
8854 2002-02-20 Juergen Vigna <jug@sad.it>
8856 * text2.C (getFont): get the drawing font of the Inset if this
8857 paragraph is inside an inset (only important for InsetERT for now).
8859 * buffer.C (insertErtContents): use new lanugage params in ERT
8862 * CutAndPaste.C: commenting out seemingly uneeded code.
8864 2002-02-19 Allan Rae <rae@lyx.org>
8866 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8867 Iterators might be simple to use but they also get invalidated.
8868 (removeAutoInsets): renamed saved cursor tracking variables and added
8869 some comments to clarify what everything does.
8871 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8878 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8879 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8882 * vc-backend.h: remove #include "support/syscall.h"
8886 * converter.C: rearrange #includes in Lars' approved fashion.
8888 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8889 forward declare class Timeout in the header file.
8891 * XFormsView.C: changes due to the above.
8893 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8896 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8897 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8899 2002-02-18 José Matos <jamatos@fep.up.pt>
8901 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8904 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8906 * a lot of small ws changes
8907 * add a lot of using std::XXX
8908 * use std construcs some places where approp.
8909 * use some exisint stuff from lyxfunctional where approp.
8910 * Make file changes to use partial linking (lets test this now...)
8912 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8916 remove #include "support/syscontr.h" as it's redundant. Always has been.
8924 change Systemcalls::System to Systemcalls::Wait and
8925 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8926 No change of functionality, just reflects the stripped down Systemcalls
8929 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8931 * debug.[Ch]: add a GRAPHICS type to the enum.
8933 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8935 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8937 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8940 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8942 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8943 match the changes below.
8945 * text2.C (toggleInset): if there is not editable inset at cursor
8946 position, try to see if cursor is _inside_ a collapsable inset
8949 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8951 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8952 document menu has a nice checkbox
8954 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8956 * lyxlength.C (asLatexString): change PW to output as percent of
8959 * lengthcommon.C: change '%' to 't%'
8961 * lyxfunc.C (dispatch): a few comments from Martin
8963 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8967 * BufferView_pimpl.h:
8968 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8971 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8973 * vspace.C (inPixels): fix compiler warning
8975 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8977 * lyxfunc.C (getStatus): fix status message for disabled commands.
8979 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8981 * BufferView_pimpl.C: fix crash on close buffer
8982 during selection (#227)
8984 2002-01-27 Herbert Voss <voss@lyx.org>
8986 * buffer.C: link old Figure to new graphic inset
8988 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8990 * FontLoader.C (getFontinfo): Change the latex font names in order
8991 to match the names of type1inst.
8993 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8995 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8997 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9000 (remove_files_with_extension): ditto
9001 (remove_file): ditto
9004 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9005 document is smaller than the work area height. Do not initialize
9006 static variables to 0.
9008 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9010 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9012 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9013 LFUN_LAYOUT_PARAGRAPHS.
9015 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9016 tabular. It is possible to provide a possible cell, which will
9017 typically be the actcell from the corresponding insettabular
9019 * lyxfunc.C (getStatus): small cleanup; disable
9020 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9023 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9025 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9027 * paragraph.C (startTeXParParams):
9028 (endTeXParParams): new methods. The LaTeX code to
9029 start/end paragraph formatting
9030 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9031 empty (fixes bug #200)
9033 * vspace.C (inPixels): adapt to the change below
9034 (inPixels): [later] more cleanups (remove unused variables)
9036 * lyxlength.C (inPixels): change to use a width and a height as
9039 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9041 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9042 Replaced with \paperwidth
9044 * DepTable.C (insert): add std:: qualifier
9046 2002-01-18 Allan Rae <rae@lyx.org>
9048 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9051 * text.C (drawInset): Turned out I didn't know enough about how
9052 rebreaking worked. This fixes most of the redraw problems. I see
9053 an occasional cursor trail when a line is broken now and the cursor
9054 placement can seem out by a few pixels also after a rebreak.
9056 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9058 * buffer.C (parseSingleLyXformat2Token): update because minipage
9059 width is now a LyXLength
9061 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9063 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9066 2002-01-17 Juergen Vigna <jug@sad.it>
9068 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9070 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9071 is set correctly and the inset is updated correctly.
9073 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9075 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9076 the beginning of the loop.
9078 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9080 * lyxrc.C: improve help for use_scalable_fonts
9082 2002-01-17 Allan Rae <rae@lyx.org>
9084 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9086 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9088 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9089 make sure to set their inset_owner to the right value (bug #171)
9091 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9094 * DepTable.C: Implement mtime checking to reduce time spent doing
9097 2002-01-16 Juergen Vigna <jug@sad.it>
9099 * tabular.C (GetAdditionalHeight): one of error fixed.
9101 * lyxrc.C (output): small fix in writing use_pspell.
9103 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9105 * sp_base.h: #include LString.h
9107 2002-01-16 Allan Rae <rae@lyx.org>
9109 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9110 Can someone check this please?
9112 * text.C (drawInset): It was possible that p.row would be removed by
9113 breakAgainOneRow upsetting a few other settings. There may be another
9114 small tweak possible by setting need_break_row = 0 when p.row has been
9115 removed but I don't know enough about the logic here.
9117 2002-01-15 Allan Rae <rae@lyx.org>
9119 * text.C (insertChar): removed conditional truism.
9121 * BufferView2.C (removeAutoInsets): More tweaks.
9122 cur_par_prev could be a stray pointer. Check for trailing empty line
9123 in case last line was cur_par and only had an error inset on it.
9125 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9127 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9130 * vc-backend.C (most methods):
9131 * exporter.C (Export):
9132 * converter.C (convert):
9134 * LyXSendto.C (SendtoApplyCB):
9135 * lyxfunc.C (dispatch):
9139 * lyx_cb.C (AutoSave):
9141 * BufferView_pimpl.C (MenuInsertLyXFile):
9142 * buffer.C (runChktex): use Buffer::filePath().
9144 * buffer.h: rename filename to filename_; rename filepath to
9145 filepath_ and make it private
9146 (filePath): new method
9148 * buffer.C (writeFile): use fileName()
9151 * lyx_main.C (init): fix starting of LyX when the binary is a
9152 link from so,ewhere else.
9154 * minibuffer.C: include <cctype> for isprint
9156 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9158 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9159 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9160 name clash with InsetCollapsable's width function.
9162 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9164 * lastfiles.C: include <iterator>
9166 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9168 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9171 * buffer.C (makeLaTeXFile): ditto.
9172 Also make loop operation more transparent.
9174 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9176 * ToolbarDefaults.C: remove trailing comma closing namespace.
9178 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9180 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9183 * trans.C (Load): comment out unused variable, allowed.
9185 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9187 * minibuffer.[Ch] (append_char): new method to recieve input from the
9188 drop-down completion browser. If a key was pressed, then recieve this
9189 char and append it to the existing string.
9190 (peek_event): modify the positioning data passed to the completion
9191 browser so that it can be placed above the minibuffer rather than below.
9192 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9194 * LyXAction.C (init): alloe error-next for readonly documents.
9196 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9199 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9201 * bufferlist.C (readFile): create the buffer _after_ checking that
9204 * lyxfunc.C (verboseDispatch): fix handling of arguments
9206 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9208 * lyxrc.C: use string::erase() instead of initializing to "".
9211 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9213 * BufferView_pimpl.h:
9214 * BufferView_pimpl.C:
9217 * text2.C: tell X when we have made a selection for copying
9219 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9221 * BufferView_pimpl.C (MenuInsertLyXFile):
9222 * lyxfunc.C (menuNew):
9224 (doImport): add shortcuts to directory buttons
9226 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9229 * lyxfunc.C (setStatusMessage):
9230 (getStatusMessage): new methods
9231 (getStatus):use setStatusMessage instead of setErrorMessage
9232 (dispatch): when function is disabled, set error message here
9233 [instead of in getStatus previously]
9235 * BufferView_pimpl.C (workAreaButtonRelease): update
9236 toolbar/menubar here too.
9238 2002-01-13 Allan Rae <rae@lyx.org>
9240 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9241 Now seems indestructible. Remaining task is to audit all other
9242 code affected by deleteEmptyParagraphMechanism. One small quirk
9243 left is that an empty document with an error in the preamble can
9244 be made to report an error but no error box appears. I don't know
9246 (removeAutoInsets): Improved comments.
9248 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9251 * Thesaurus.C: update for Aiksaurus 0.14
9253 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9255 * text2.C (firstParagraph): removed member function, all uses
9256 replaces with ownerParagraph
9257 (redoParagraphs): here
9259 (toggleAppendix): here
9260 * BufferView2.C (insertErrors): here
9261 (setCursorFromRow): here
9263 2002-01-13 Allan Rae <rae@lyx.org>
9265 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9266 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9267 There is still a way to segfault this although you may have to do this
9268 multiple times: Have an InsetERT with an unknown command in it.
9269 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9270 <down-arrow>, <Enter> again, View->DVI, BANG!
9272 * text2.C (setCursor):
9273 (deleteEmptyParagraphMechanism):
9274 * lyxtext.h (setCursor):
9275 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9276 Making use of the return value may help fix other bugs.
9278 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9280 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9282 * LyXView.C (updateMenubar): call MenuBar::update here
9283 (updateToolbar): but not here
9284 (showState): do not update toolbar/menubar
9286 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9287 should need to care about that.
9289 * lyxfunc.C (verboseDispatch): simplify a bit
9290 (getStatus): have a version which takes a pseudoaction, and
9291 another which requires a (kb_action,string).
9293 * LyXAction.C (retrieveActionArg): make it work also when action
9294 is not a pseudo-action.
9295 (getActionName): simplify a bit
9298 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9300 * lyxfunc.C (verboseDispatch): new families of methods with
9301 several ways to specify a command and a bool to indicate whether
9302 the command name and shortcut should be displayed in minibuffer
9303 (eventually, we could extend that to a finer bitmask like
9304 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9305 (dispatch): the pristine dispatch command which just, well,
9306 dispatchs! Note it still sets its result to minibuffer; I'm not
9309 * lyxfunc.h: remove setHintMessage
9311 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9313 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9315 * BufferView_pimpl.C (specialChar): delete new inset if we have
9316 not been able to insert it.
9318 * kbmap.C: revert to using int instead of kb_action, since all we
9319 are dealing with is pseudo-actions.
9321 * LyXAction.C (searchActionArg): change to return int instead of
9322 kb_action, since the result is a pseudoaction.
9324 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9326 * buffer.C (insertErtContents): Fix (partially) the font bug.
9328 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9330 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9331 as the other one is broken on my machine!
9333 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9336 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9338 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9340 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9341 reflect their actual use. Provide compatibility code for older lyxrc
9344 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9346 change names of popup font variables in line with the changes to lyxrc.C
9348 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9350 * buffer.C (asciiParagraph): avoid outputing a word twice after
9353 * lyxrc.C (getDescription): document that document_path and
9354 template_path can be empty.
9356 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9358 * LaTeXFeatures.C (getMacros):
9359 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9361 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9363 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9365 (getPackages): rename feature "floats" to "float". Use an array to
9366 iterate over 'simple' features (i.e. just a \usepackage). Add
9367 handling of "amsmath" (renamed from "amsstyle").
9369 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9371 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9374 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9376 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9377 FuncStaus::FuncStatus & FuncStaus::some_method().
9379 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9381 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9382 of the func_satus stuff. Edited and massaged in various ways by
9385 * lyxfunc.C (getStatus): use FuncStatus
9387 2002-01-08 Juergen Vigna <jug@sad.it>
9389 * text.C (nextBreakPoint): use function Inset::isChar().
9391 * paragraph.C (TeXOnePar): use function
9392 Inset::forceDefaultParagraphs.
9394 * buffer.C (latexParagraphs): use function
9395 Inset::forceDefaultParagraphs.
9397 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9399 * lyx_gui.C (init): set the style of the menu popups to
9400 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9402 2002-01-07 Juergen Vigna <jug@sad.it>
9404 * text.C (setHeightOfRow): small fix
9405 (prepareToPrint): don't look at alignment if we don't have the place
9408 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9410 * box.C: New file. Move the Box methods and functions out of box.h,
9411 following Lars' suggestion.
9413 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9415 * box.h: #include "support/LOstream.h", needed for inlined function.
9418 * lyxtextclasslist.C: added some using std declarations.
9420 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9422 * box.h: make signed dimensions to allow insets wider than
9423 the screen (bug #162)
9425 * BufferView_pimpl.C: add some insetHit debug
9427 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9429 * vc-backend.C: add FIXME
9431 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9433 * lyxfunc.C (getStatus): enable code for showing math font status
9436 2002-01-07 Juergen Vigna <jug@sad.it>
9438 * text.C (nextBreakPoint): removed debug output not needed anymore.
9440 2002-01-06 Juergen Vigna <jug@sad.it>
9442 * text.C (nextBreakPoint): fixed up this function we had this bug
9443 since ever but now hopefully we break row better.
9444 (insertChar): we have to check if an inset is the next char as it
9445 could now happen that a large inset is causing a break.
9447 2002-01-05 Juergen Vigna <jug@sad.it>
9449 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9450 if it doesn't like to be drawed.
9452 2002-01-04 Juergen Vigna <jug@sad.it>
9454 * BufferView2.C (lockInset): forgot to set a cursor.
9456 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9458 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9463 * form_maths_panel.C:
9464 * form_maths_panel.h:
9465 * form_maths_panel.fd: implemented sub- and super- buttons in math
9468 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9469 (or ^ space) to be used as in TeX (req'd by André).
9471 * lyxfunc.C: Allow ^ and _ again to be used both as
9472 super/subscript (mathed) and as themselves (in text).
9474 2002-01-03 Allan Rae <rae@lyx.org>
9476 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9477 "LyX" or the filename of the current buffer if it has one. This is a
9478 modified form of John Levon's patch.
9480 * XFormsView.C (setWindowTitle): also set icon title.
9482 * LyXView.h (setWindowTitle): signature changed.
9483 * XFormsView.h (setWindowTitle): ditto.
9485 2002-01-02 Juergen Vigna <jug@sad.it>
9487 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9489 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9491 * screen.C (topCursorVisible): introduce a temp var for
9492 text->cursor.row(), handle the case where this row is null. (kindo
9495 * text2.C (setCursor): add a couple of asserts.
9497 * paragraph.h (inset_iterator): add -> operator
9499 * paragraph.[Ch] (autoDeleteInsets): remove member function
9501 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9502 cursor pos correctly and handle inset deletion by itself.
9503 (insertErrors): move iterator declaration out of for expression
9505 * lyxtextclass.C: add <algorithm>
9507 * Makefile.am: added the new files to sources, removed layout.C
9509 * layout.C: removed file
9511 * layout.h: remove LYX_DUMMY_LAYOUT
9513 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9517 * lyxtextclass.[Ch]:
9518 * lyxtextclasslist.[Ch]: new files
9520 * include order changes to a lot of files, also changes because of
9523 2001-12-27 Juergen Vigna <jug@sad.it>
9525 * buffer.C (asciiParagraph): more fixes.
9527 * tabular.C (ascii): make ascii export support export of only the
9528 data separated by a column-delimiter.
9529 (ascii): better support for ascii export.
9531 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9533 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9535 * tabular_funcs.C: use a "using std::getline" instead of the
9536 previous fix from Angus (necessary for cxx + lyxstring)
9538 2001-12-24 Juergen Vigna <jug@sad.it>
9540 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9542 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9543 problems. First check a minipage also if we have some ert-contents
9544 (not only on par->size(), second set the right depth of the paragraph
9545 on the relink to the root-paragraph-list!
9547 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9548 which then did not anymore update the main paragraphs on undo/redo!
9550 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9552 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9553 code. Support all font-changing funcs (even those which are not in
9554 menu currently). Support for reporting font settings in
9555 mathed (disabled until Andre provides a function on mathed's side).
9557 * func_status.h (toggle): small helper function to set toggle
9560 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9562 * tabular_funcs.C: getline -> std::getline
9564 2001-12-21 Juergen Vigna <jug@sad.it>
9566 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9567 accessed and could be 0 (I couldn't generate this but it seems
9570 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9572 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9573 * tabular_funcs.h: here and include iosfwd
9575 2001-12-20 Juergen Vigna <jug@sad.it>
9577 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9578 inside inset but undo_par was.
9580 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9582 * Thesaurus.C: always include <config.h> in sources.
9586 * box.h: do not include <config.h> in header files
9588 * text.C (paintLastRow): remove unused variable
9590 * text.C (transformChar):
9592 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9595 * font.C (width): rewrite to use uppercase() instead of
9598 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9600 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9602 * lyxfind.C: clean up of find failure position change
9604 2001-12-20 Juergen Vigna <jug@sad.it>
9606 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9608 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9609 (TeXRow): added to LaTeX a single tabular row.
9610 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9611 (Latex): simplified and finally good LT-h/f support.
9612 (various_functions): just small adaptions for LT-h/f support.
9614 * tabular_funcs.[hC]: added and moved here all not classfunctions
9617 2001-12-19 Juergen Vigna <jug@sad.it>
9619 * tabular.[Ch]: better support for longtabular options (not finished
9622 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9624 * text.C (paintLastRow): use the label font instead of the font of
9625 the last character to compute the size of *_BOX. This makes more
9626 sense and avoids a crash with empty paragraphs.
9627 Use Painter::rectangle to draw EMPTY_BOX.
9629 2001-12-19 Juergen Vigna <jug@sad.it>
9631 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9632 the paragraphs if the replaced paragraph is not the first one!
9633 Tried to delete not used paragraphs but does not work yet so for
9634 now it's inside #ifdef's and by default off!
9636 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9638 * MenuBackend.C: include "lyx_main.h" instead of declaring
9639 lastfiles (actually was declared as LastFiles* instead of a
9642 2001-12-17 Juergen Vigna <jug@sad.it>
9644 * tabular.C (AppendColumn): applied John's fix
9646 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9650 * BufferView_pimpl.h:
9651 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9654 * box.h: new start of class for above
9656 * lyxfunc.C: ignore space-only minibuffer dispatches.
9657 Show the command name when it doesn't exist
9659 * minibuffer.C: don't add empty lines to the history
9661 * minibuffer.C: add a space on dropdown completion
9663 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9665 * text.C: fix line above/below drawing in insets
9667 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9669 * lyxlength.C (LyXLength): Initialize private variables.
9671 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9673 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9674 when inserting error insets.
9676 2001-12-13 Juergen Vigna <jug@sad.it>
9678 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9679 actually sometimes the before-paragraph.
9680 (setUndo): don't clear the redostack if we're not actually undoing!
9682 2001-12-06 Juergen Vigna <jug@sad.it>
9684 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9685 and fixed redoing of main paragraph, so we can use it now ;)
9687 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9689 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9691 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9694 2001-12-13 André Pönitz <poenitz@gmx.net>
9697 * undo_func.C: minor cleanup
9699 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9701 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9702 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9703 font in urw-fonts package which is marked as -urw-fontspecific and
9704 does not work (incidentally, changing the encoding in the
9705 fonts.dir of this package to -adobe-fontspecific fixes the
9708 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9709 is a crash when undoing first paragraph (Juergen, please take a
9710 look). THis does not mean the undo fix is wrong, just that it
9713 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9714 the (Paragraph*) version when needed instead of duplicating the
9717 * text.C (workWidth): use Inset::parOwner to find out where the
9718 inset has been inserted. This is a huge performance gain for large
9719 documents with lots of insets. If Inset::parOwner is not set, fall
9720 back on the brute force method
9722 * paragraph_pimpl.C (insertInset):
9723 * paragraph.C (Paragraph):
9724 (cutIntoMinibuffer): set parOwner of insets when
9725 inserting/removing them
9727 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9729 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9735 * mathed/formulabase.C:
9736 * mathed/math_cursor.[Ch]:
9737 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9740 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9742 * lyxlength.[Ch] (operator!=): new function
9744 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9746 * text.C (workWidth): use Inset::parOwner to find out where the
9747 inset has been inserted. This is a huge performance gain for large
9748 documents with lots of insets. If Inset::parOwner is not set, fall
9749 back on the brute force method
9751 * paragraph_pimpl.C (insertInset):
9752 * paragraph.C (Paragraph):
9753 (cutIntoMinibuffer): set parOwner of insets when
9754 inserting/removing them
9756 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9758 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9760 * tabular-old.C (getTokenValue):
9761 * tabular.C (getTokenValue):
9762 (write_attribute): new versions for LyXLength
9763 (everywhere): adjust the use of widths
9765 * tabular.h: change the type of widths from string to LyXLength
9767 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9769 * paragraph.C: fixed missing line number count when exporting
9770 Environments to LaTeX file
9772 * buffer.C: added informational message for checking line numbers.
9774 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9776 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9777 paragraph, do the 'double space' part, but not the 'empty
9780 * text.C (workWidth): small optimization
9781 (getLengthMarkerHeight): use minimal size for negative lengths.
9783 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9785 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9787 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9789 2001-12-11 André Pönitz <poenitz@gmx.net>
9792 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9794 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9796 * text2.C: keep selection on a setFont()
9798 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9800 * lyx_cb.C: another bv->text misuse, from insert label
9802 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9805 * kbsequence.C: re-instate nmodifier mask
9807 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9809 * lyx_main.h: make lyxGUI private.
9811 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9813 * lyxfind.C: place the cursor correctly on failed search
9815 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9817 * text.C (getLengthMarkerHeight): for small heights, the arrows
9818 are not always on top/bottom of the text
9819 (drawLengthMarker): smaller arrows; take the left margin in
9820 account; draw also vfills.
9822 (paintLastRow): remove special code for vfill and standard spaces,
9823 since everything is handled in drawLengthMarker now.
9825 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9827 * buffer.C (insertErtContents): try to handle font and language
9828 interaction a bit better.g
9830 * ColorHandler.C (updateColor): change the hash to cover the whole
9831 LColor enum, ws cleanup
9832 (getGCLinepars): ditto
9833 (getGCLinepars): only lookup in the linecache once.
9835 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9837 * iterators.C (operator++): Make the iterator more robust
9839 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9841 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9843 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9846 * text.C: better added space drawing
9848 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9851 * BufferView2.C: fix layout combo update on inset unlock
9853 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9855 * Makefile.am: don't compile unused files
9857 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9861 * LyXAction.C: remove old LFUN_LAYOUTNO
9863 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9865 * paragraph_pimpl.h:
9866 * paragraph_pimpl.C: isTextAt() doesn't need font param
9868 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9871 * lyxlex.C: little cleanup
9873 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9875 * BufferView_pimpl.C: fix insertAscii for insets
9877 2001-12-05 Juergen Vigna <jug@sad.it>
9879 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9880 set the right font on the "multi" paragraph paste!
9882 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9888 * lyxlength.C: remove out-commented code.
9904 * vc-backend.C: change "while(" to "while ("
9906 * lyxlength.[Ch]: add zero function to check if length is zero or
9908 * lyxgluelength.C: use it
9910 2001-12-05 Allan Rae <rae@lyx.org>
9912 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9913 Works for 2.95.3, from what I understand of Garst's reports this should
9914 work for other g++ versions. We're screwed if the abs(int) definition
9915 changed between bugfix releases of gcc.
9917 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9919 * text.C: fix chapter label offset !
9921 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9924 * text.C: fix hfill at end of line, clean up
9926 2001-12-04 Juergen Vigna <jug@sad.it>
9928 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9929 that we force an update of the inset and it's owners if neccessary.
9931 2001-12-03 Juergen Vigna <jug@sad.it>
9933 * text.C (rowLast): simplified code
9935 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9937 * lyxfunc.C: fix show options on timeout
9939 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9941 * screen.C (topCursorVisible): scroll half a page when the cursor
9942 reached top of bottom of screen
9944 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9946 * minibuffer.C: deactivate on loss of focus
9948 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9950 * vspace.[Ch] (operator!=): add operator.
9952 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9954 * BufferView_pimpl.C: refuse to open an inset when
9955 there's a selection.
9957 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9959 * BufferView_pimpl.C: allow to click on RHS of full row insets
9961 2001-11-30 Juergen Vigna <jug@sad.it>
9963 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9964 insets for undo reasons.
9966 2001-11-28 André Pönitz <poenitz@gmx.net>
9968 * vspace.[Ch]: cosmetical changes
9970 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9980 * kbsequence.C: part re-write of old kb code
9983 * WorkArea.C: remove Lgb_bug_find_hack
9985 2001-11-30 José Matos <jamatos@fep.up.pt>
9987 * buffer.C (makeDocBookFile): add a comment to point a hack.
9988 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9989 Fixed a double write of labels.
9991 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9994 * LaTeX.h Fixed bug in LaTeX class where it would not
9995 re-run latex if no depfiles were changed, but the .dvi was removed.
9997 2001-11-28 André Pönitz <poenitz@gmx.net>
9999 * all the files from the change on 2001/11/26:
10000 use lyx::layout_type instead of LyXTextClass::size_type
10001 use lyx::textclass_type instead of LyXTextClassList::size_type
10003 2001-11-29 Juergen Vigna <jug@sad.it>
10005 * text.C: added support for paragraph::isFreeSpacing()
10007 * buffer.C: same as above
10009 * paragraph.h: inserted isFreeSpacing() function to enable
10010 FreeSpacing inside InsetERT.
10012 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10013 of the paragraph's in the cut/copy buffer to 0!
10015 * text2.C (removeRow): remove the assert as it can!
10017 * lyxtext.h: added helper function firstRow returning firstrow and
10018 made firstrow private again.
10020 * BufferView2.C (lockInset): don't relock if we're already locked!
10022 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10023 the only paragraph.
10024 (removeRow): added Assert::(firstrow)
10026 * debug.C: forgot to add INSETTEXT here.
10028 2001-11-28 Juergen Vigna <jug@sad.it>
10030 * sp_spell.C (initialize): changed error text to more general
10031 spellchecker command use (not only ispell!)
10033 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10035 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10037 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10039 * vspace.C: initialise lyxgluelength on failure
10041 2001-11-28 Allan Rae <rae@lyx.org>
10043 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10044 declaration & definition that looks like a function declaration.
10046 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10048 * BufferView2.C (copy):
10049 (copyEnvironment): do not clear the selection when doing a copy.
10051 * text.C (paintFirstRow): compilation fix
10053 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10055 * tabular.C (Latex): correct line count when writing latex.
10057 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10059 * paragraph_pimpl.h:
10060 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10063 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10067 * LColor.C: change vfillline->added_space
10069 * text.C: add markers and text for added space
10071 * vspace.C: fix comment
10073 2001-11-28 André Pönitz <poenitz@gmx.net>
10075 * paragraph.C: whitespace changes
10076 * all the other files from the change on 2001/11/26:
10077 change *::pos_type into lyx::pos_type
10079 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10081 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10082 language of the document when inserting error insets.
10084 2001-11-26 André Pönitz <poenitz@gmx.net>
10086 * BufferView_pimpl.[Ch]:
10094 * paragraph_pimpl.[Ch]:
10097 * text2.C: reduce header dependencies, introduce type for positions
10099 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10101 * <various>: change to use Alert.h
10103 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10105 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10106 when encountering an unknown token.
10107 (readLyXformat2): Show an error message if there were unknown tokens.
10109 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10112 * BufferView_pimpl.C:
10116 * text2.C: use par->isInset()
10118 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10120 * paragraph_pimpl.h:
10121 * paragraph_pimpl.C: cleanup
10123 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10125 * text2.C (removeRow):
10126 * text.C (setHeightOfRow): remove useless (and costly) call to
10129 2001-11-20 Allan Rae <rae@lyx.org>
10131 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10132 Now need Inset*::checkInsertChar() to return true for appropriate
10133 cases so that the characters in the minibuffer will actually be
10136 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10138 * text.C: change the order of the includes.
10139 (workWidth): initialize it at once.
10140 (workWidth): make maxw unsigned
10141 (setHeightOfRow): remove unused variable (inset)
10142 (selectSelectedWord): remove unused variable (inset)
10143 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10145 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10147 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10148 server is not running.
10150 (closeConnection): add debug info when server is disabled.
10152 * ColorHandler.C (getGCForeground): send debug message to GUI
10155 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10157 * kbmap.C (bind): modify because return conventions of
10158 kb_sequence::parse have changed.
10160 * kbsequence.C (parse): only ignore spaces and not any stupid
10161 control character. This avoids tests like s[i] <= ' ', which are
10162 guaranteed to fail with 8bit characters and signed chars.
10163 Change return code to string::npos when there have been no error
10164 (0 was a bad idea when error is at first character)
10166 2001-11-14 José Matos <jamatos@fep.up.pt>
10169 * buffer.C (simpleDocBookOnePar): removed unused argument.
10171 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10173 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10174 insets which are part of a word. Paragraph::isLetter takes care of
10175 that now. Use Paragraph::isInset to identify insets.
10176 (selectSelectedWord): do not test for hyphenation break.
10178 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10179 that protected spaces are considered as spaces.
10181 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10184 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10187 * lyxserver.C: fix it. and small cleanup.
10189 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10191 * BufferView_pimpl.C: use inline helpers
10194 * LaTeXFeatures.C: fix typos
10197 * Spacing.C: move spacing_string into class
10199 * ToolbarDefaults.C: move stuff into namespace anon
10201 * layout.h: update enum
10203 * lyxfunc.C: use better debug
10205 * minibuffer.h: fix typo
10209 * WorkArea.C: add and use Debug::WORKAREA
10213 * text2.C: code re-organisation, inline helpers
10215 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10217 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10218 std::vector.empty().
10220 2001-11-09 Allan Rae <rae@lyx.org>
10222 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10223 '\n's after tables. Tabular and ERT inset work now makes this no
10226 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10229 * minibuffer.C: fix crash, improve drop-down completion
10231 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10234 * lyxserver.C: invalidate fd's when doing endPipe()
10236 2001-11-08 José Matos <jamatos@fep.up.pt>
10238 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10239 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10242 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10244 2001-11-07 José Matos <jamatos@fep.up.pt>
10247 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10250 * buffer.C (sgmlOpenTag):
10251 * buffer.C (sgmlCloseTag): removed debug info.
10253 * buffer.h (sgmlOpenTag):
10254 * buffer.h (sgmlCloseTag): made public.
10256 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10258 * buffer.C (saveParamsAsDefaults):
10259 * lyx_cb.C (MenuLayoutSave): remove
10261 * LyXAction.C (init):
10263 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10265 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10267 * buffer.C (setPaperStuff): removed from here...
10269 * bufferparams.C (setPaperStuff): ... and moved there.
10271 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10275 * XFormsView.C: add support for drop-down completion
10277 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10279 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10282 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10284 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10287 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10289 * lyx_main.C: change ref to known bugs
10291 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10293 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10294 to work around older babel problems.
10296 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10298 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10300 2001-10-24 Juergen Vigna <jug@sad.it>
10302 * tabular-old.C (ReadOld): below variable changes reflected.
10304 * tabular.[Ch]: added ltType struct for longtable header/footer
10305 defines and changed all instances where they are used. Added
10306 future support for double top/bottom rows.
10308 2001-10-24 José Matos <jamatos@fep.up.pt>
10310 * buffer.h (docbookHandleCaption):
10311 * buffer.C (docbookHandleCaption): removed unused function.
10312 (makeDocBookFile): moved docbook supported version to v4.1.
10314 2001-10-24 José Matos <jamatos@fep.up.pt>
10317 * tabular.C (docbookRow): new function to export docbook code of a row.
10318 (DocBook): now honors the longtable flags.
10320 2001-10-23 José Matos <jamatos@fep.up.pt>
10323 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10324 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10326 * buffer.C (makeLinuxDocFile):
10327 (makeDocBookFile): reworked the preamble, more clean, and with
10328 support for lyx defined entities. Changed the document declaration
10329 to be more XML friendly.
10331 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10332 if we need to output XML that should be done with a filter.
10334 2001-10-22 Juergen Vigna <jug@sad.it>
10336 * sp_pspell.h (class PSpell): add alive function needed in the
10337 controller to see if the spellchecker could be started.
10339 2001-10-22 Juergen Vigna <jug@sad.it>
10341 * buffer.C (insertStringAsLines): modify the font for inserting
10342 chars in certain conditions by calling checkInsertChar(font).
10344 2001-10-19 Juergen Vigna <jug@sad.it>
10346 * text.C (workWidth): use getRow instead of wrong algorithm.
10347 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10349 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10354 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10356 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10358 * text.C (workWidth): do not search for the exact row when
10359 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10360 optimization for big documents.
10362 2001-10-18 Juergen Vigna <jug@sad.it>
10364 * text.C (workWidth): new function with added Inset * parameter.
10366 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10368 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10370 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10371 change return type of getColumnNearX.
10374 * text.C (changeRegionCase): use uppercase/lowercase instead of
10377 (rightMargin): simplify code by factoring out the uses of
10382 (appendParagraph): use Paragraph::size_type
10384 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10386 * vspace.C (asLatexString): add a missing break
10388 2001-10-15 Herbert Voss <voss@perce.de>
10390 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10392 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10394 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10397 2001-10-10 André Pönitz <poenitz@gmx.net>
10399 * lyxfunc.C: removed greek_kb_flag.
10401 2001-10-10 Herbert Voss <voss@perce.de>
10403 * lyx_main.C: delete global string help_lyxdir.
10405 2001-10-09 Herbert Voss <voss@perce.de>
10407 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10409 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10411 * lyx_main.C: added global string help_lyxdir.
10413 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10415 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10417 * lyxrc.C (set_font_norm_type): support iso8859-4
10419 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10421 * LaTeX.C (deplog): add another regex for MikTeX
10423 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10425 * lyxrc.C (set_font_norm_type): support iso8859-3
10427 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10429 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10431 * LaTeXFeatures.C: remove special case of french and index
10433 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10434 before \begin{document}). This solves several incompatibilities.
10436 2001-10-03 Garst Reese <reese@isn.net>
10438 * lyx_cb.C: change CheckTex error msg.
10440 2001-10-03 José Matos <jamatos@fep.up.pt>
10442 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10444 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10446 * .cvsignore: update
10448 * lyx_main.C (commandLineVersionInfo): use new style version info.
10450 * buffer.C (writeFile):
10452 (makeLinuxDocFile):
10453 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10455 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10457 * version.h: update to use stuff in version.C
10459 * version.C.in: new file. Contains version information determined
10460 at compile time. This is a merging of version.h and
10463 2001-10-03 Juergen Vigna <jug@sad.it>
10465 * BufferView_pimpl.C (update): don't change "dirty" status in
10468 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10470 * WorkArea.C (c-tor): re-position version string slightly.
10472 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10474 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10475 revert to previous code.
10477 WorkArea.[Ch]: (show, destroySplash): methods removed.
10479 WorkArea.C: rework code so that it's an amalgam of the codes before and
10480 after the splash screen was moved to WorkArea.
10482 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10485 * vspace.C (inPixels):
10488 * buffer.C (insertStringAsLines):
10489 (asciiParagraph): fix types to be large enough
10491 * lyxlex_pimpl.h: change member status from short to int
10493 * layout.h: fix type of endlabeltype
10496 * kbsequence.C (parse): change return type to string::size_type
10498 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10501 * Bullet.C (bulletSize):
10502 (bulletEntry): do not use short ints as parameters
10504 * BufferView2.C (insertLyXFile): change a char to an int.
10506 * WorkArea.C (WorkArea): remove unneeded floats in computation
10508 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10510 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10512 * paragraph.C (asString): Do not ignore newline/hfill chars when
10513 copying to the clipboard.
10515 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10517 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10518 after a multi-line inset.
10520 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10522 * paragraph.C (validate): Set NeedLyXFootnoteCode
10524 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10526 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10527 and decrease-error to decrease.
10529 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10531 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10532 it more readable (should be equivalent)
10534 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10536 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10538 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10540 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10541 of a cursor (row, etc.) after a character has been deleted
10542 (deleteEmptyParagraphMechanism): call the method above on _all_
10543 cursors held by the LyXText when a double space has been
10546 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10548 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10550 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10552 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10553 background. Use greyOut() and the new show() methods to toggle between
10554 the foreground and background. Add code to remove the splash after
10555 its initial showing.
10557 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10558 (create_forms): no longer call Dialogs::showSplash.
10560 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10562 * .cvsignore: add version_info.h
10564 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10566 * version_info.h.in: new file
10568 * Makefile.am: add version_info.h.in
10570 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10571 version_info.h instead of VERSION_INFO
10573 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10575 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10576 The ERT inset now returns string().
10578 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10580 * lyxtext.h, text.C (selectNextWord): renamed as
10581 selectNextWordToSpellcheck.
10583 * text.C (selectNextWordToSpellcheck): Modified to not select
10584 words inside an ERT inset.
10586 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10588 * lyx_cb.C (MenuLayoutSave): change a bit the question
10590 * sp_base.h: include <sys/types.h>
10592 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10594 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10596 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10598 * several files: fix typos in user-visible strings
10600 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10602 * text2.C (pasteSelection): do not set the selection, since it
10603 will be cleared later. Actually, the intent was to fix the way the
10604 selection was set, but I figured rmoving the code was just as good.
10606 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10608 * FontLoader.C (available): Check if font is available without
10611 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10613 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10615 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10617 * lyxrc.[Ch]: added display_graphics variable and associated code.
10619 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10621 * bufferparams.C (hasClassDefaults): new method. Returns true if
10622 the buffer parameters correspond to known class defaults
10624 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10626 * XFormsView.C (show): set minimum size to the main window.
10628 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10630 * text2.C (copySelection):
10632 * lyxfind.C (LyXReplace):
10633 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10634 LyXText::selectionAsString.
10636 * paragraph.C (asString): add "label" argument to the second form
10638 * text2.C (selectionAsString): add "label" argument and pass it to
10639 Paragraph::asString.
10641 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10643 * lyx_main.C (commandLineHelp): remove version information
10645 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10647 * lyx_main.C: add -version commandline option
10649 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10651 * paragraph.h: make the optional constructor arg required instead.
10652 some modifications to other files because of this.
10654 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10656 * lyxserver.C (C_LyXComm_callback): make it static
10658 * lyx_main.C (error_handler): make it static
10660 * lyx_gui.C (LyX_XErrHandler): make it static
10662 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10664 * WorkArea.C: make the extern "C" methods static.
10666 * Makefile.am (lyx_LDADD): simplify
10668 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10670 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10671 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10673 * LyXAction.C (init):
10674 * lyxfunc.C (dispatch): associated code removal.
10676 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10678 * lyxfont.h (isSymbolFont): shut off warning
10680 * text.C (setHeightOfRow):
10681 (getVisibleRow): fix crash with empty paragraphs which have a
10684 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10686 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10689 2001-09-04 José Matos <jamatos@fep.up.pt>
10692 * tabular.C (docbook): rename docBook method to docbook.
10694 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10696 * Makefile.am: add dependencies to main.o.
10698 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10700 * FontLoader.C (available): Return false if !lyxrc.use_gui
10702 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10704 * FontInfo.C (query):
10705 * converter.C (view):
10706 * importer.C (Import):
10707 * exporter.C (Export): Can not -> cannot.
10709 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10711 * BufferView_pimpl.C: allow to create index inset even if
10714 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10716 * buffer.C (getLists): replace boost::tie code with an explicit pair
10717 as boost::tie can break some compilers.
10719 * iterators.h: Added a std:: declaration to the return type of
10722 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10724 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10727 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10729 * iterators.[Ch]: New files. Provide paragraph iterators.
10731 * buffer.C (changeLanguage): Use paragraph iterators.
10732 (isMultiLingual): ditto
10734 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10736 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10738 * FontLoader.C: Support for cmr font.
10740 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10742 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10743 (available): New method.
10745 * FontInfo.C (getFontname): Use scalable fonts even when
10746 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10749 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10751 * converter.C (Formats::view): reverted! Incorrect fix.
10753 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10755 * converter.C (Formats::view): only output the -paper option
10756 if the dvi viewer is xdvi, thereby fixing bug #233429.
10758 2001-08-23 Herbert Voss <voss@perce>
10760 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10762 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10764 * Spacing.h (Spacing): Set space to Default on in the default
10767 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10769 * vc-backend.h (RCS::versionString): add RCS to version
10770 (CVS::versionString): add CVS to version
10772 * vc-backend.C (scanMaster): do not add CVS to version.
10773 (scanMaster): do not add RCS to version
10775 * lyxvc.C (versionString): new method
10777 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10779 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10781 * Spacing.C (set): initialize fval
10783 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10785 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10788 2001-08-16 Juergen Vigna <jug@sad.it>
10790 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10792 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10794 * BufferView_pimpl.C:
10797 * text2.C: setParagraph takes linespacing now
10799 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10801 * LyxAction.C: add internal LFUN_CITATION_INSERT
10803 * LyXView.C: actually apply fix
10805 * bufferlist.C: fix open non-existent file
10807 * lyxfind.C: fix indentation
10809 * lyxfunc.C: remove unneeded assert, fix typo
10811 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10813 * MenuBackend.C: use "Floatname List"
10815 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10817 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10818 when converting LaTeX layout to insetERT.
10819 Generate a non-collapsed float when reading old float
10821 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10823 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10826 2001-08-13 Juergen Vigna <jug@sad.it>
10828 * text.C (fill): return 0 instead of 20 as this seems to be the more
10831 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10833 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10836 2001-08-13 Juergen Vigna <jug@sad.it>
10838 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10840 (SearchBackward): comment out the unlocking of the inset_owner this
10841 should not be needed!
10843 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10845 * Many files: Remove inherit_language, and add latex_language
10847 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10848 collapsible insets.
10850 2001-08-10 Juergen Vigna <jug@sad.it>
10852 * text.C (prepareToPrint): fixed hfill-width in draw!
10854 * BufferView2.C (selectLastWord): save the selection cursor as this
10855 now is cleared in the function LyXText::clearSelection!
10857 2001-08-08 Juergen Vigna <jug@sad.it>
10859 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10860 BACKSPACE type functions.
10862 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10863 is only cutted from the document but not put in the cut-buffer, where
10864 still the old stuff should be.
10866 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10868 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10870 * tabular.C (SetWidthOfCell): fixed special case where the width
10872 (LeftLine): handle '|' in align_special.
10874 (LeftAlreadyDrawed): ditto
10875 (SetWidthOfCell): ditto
10877 2001-08-07 Juergen Vigna <jug@sad.it>
10879 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10881 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10883 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10884 * lyxlex.[hC]: ditto
10886 2001-08-06 Juergen Vigna <jug@sad.it>
10888 * text.C (getVisibleRow): fix up row clearing a bit.
10890 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10892 * minibuffer.C: make sure the X server sees the changes in the input.
10894 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10896 * paragraph.C (getFont): split into...
10897 (getLabelFont): this
10898 (getLayoutFont): and this
10899 * paragraph_pimpl.C (realizeFont): calling this
10901 * text2.C (getFont): split into...
10902 (getLayoutFont): this
10903 (getLabelFont): and this
10904 (realizeFont): all three calling this
10906 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10909 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10911 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10913 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10915 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10916 layouts from the Quote inset insertion.
10918 2001-08-03 Juergen Vigna <jug@sad.it>
10920 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10922 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10923 only if status not is already CHANGED_IN_DRAW (second level).
10925 * text.C (draw): don't set the need_break_row when inside an
10928 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10930 * buffer.C (parseSingleLyXformat2Token): handle more latex
10933 * bufferview_funcs.[hC]: change function names to
10934 begin with small char, adjust other files.
10936 2001-08-02 André Pönitz <poenitz@gmx.net>
10939 BufferView_pimpl.C: remove broken special code for math-greek
10941 2001-08-02 Juergen Vigna <jug@sad.it>
10943 * BufferView_pimpl.C (update): redone this function so that we
10944 update the text again if there was a CHANGE_IN_DRAW.
10946 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10947 (drawFromTo): added a new internal bool which is used by draw() and
10949 (general): some cursor drawing problems fixed.
10951 2001-08-01 Juergen Vigna <jug@sad.it>
10953 * lyxfind.C (LyXFind): fixed
10954 (SearchForward): ditto
10955 (SearchBackward): ditto
10957 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10958 spurius drawing of the cursor in the main area.
10960 * text2.C (status): small fix which could lead to a segfault!
10961 (clearSelection): remove unneeded BufferView param.
10963 2001-08-01 André Pönitz <poenitz@gmx.net>
10965 * lyxfunc.C: small change due to changed mathed interface
10967 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10969 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10971 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10973 * lyxfunc.c: fail gracefully if file doesn't exist
10978 * BufferView_pimpl.C: IsDirWriteable() proto changed
10980 * LyXView.C: fix updateWindowTitle() to store the last title
10982 2001-07-31 Juergen Vigna <jug@sad.it>
10984 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10985 the font (wrong since using of Paragraph::highestFontInRange).
10987 * paragraph.C (highestFontInRange): added a default_size parameter.
10989 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10990 (setHeightOfRow): reformat
10992 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10994 * converter.[hC] + affected files: move to (inital-char)lowercase
10997 * ParagraphParameters.C (ParagraphParameters): remove commented code
10999 * PainterBase.[Ch]: remove commented code
11001 * LaTeXFeatures.h: add "bool floats" for float.sty
11003 * LaTeXFeatures.C (LaTeXFeatures): init floats
11004 (require): handle float
11005 (getPackages): do it with floats
11007 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11009 * BufferView_pimpl.C (Dispatch): improve handling of
11010 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11012 * commandtags.h: #include lyxfont.h here temporarily to avoid
11015 * bufferlist.h: include LString.h here.
11017 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11019 * text2.C (getStringToIndex): new method.
11021 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11023 * *: Reduced header file dependencies all over.
11025 2001-07-30 Baruch Even <baruch@lyx.org>
11027 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11029 2001-07-29 Baruch Even <baruch@lyx.org>
11031 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11033 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11035 * ParameterStruct.h (endif): add a default constructor to make
11036 sure that all variables is initialized.
11038 * ParagraphParameters.C (ParagraphParameters): adjust
11040 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11042 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11043 index; also, check that there is something to index, and that it
11044 does not span over several paragraphs.
11045 (doubleClick): use WHOLE_WORD_STRICT for double click.
11047 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11049 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11052 2001-07-26 Baruch Even <baruch@lyx.org>
11054 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11055 an InsetFig figure, backwards compatible reading of old figure code.
11057 2001-07-27 Juergen Vigna <jug@sad.it>
11059 * text2.C: font.realize function adaption.
11061 * text.C (draw): add a warnings lyxerr text if needed.
11063 * layout.C: font.realize function adaption.
11065 * language.C: add inherit_language and implement it's handlings
11067 * bufferview_funcs.C (StyleReset): remove language parameter from
11068 font creation (should be language_inherit now).
11070 * bufferparams.C (writeFile): handle ignore_language.
11072 * paragraph.C (getFontSettings): the language has to be resolved
11073 otherwise we have problems in LyXFont!
11075 * lyxfont.C (lyxWriteChanges): added document_language parameter
11076 (update): removed unneeded language parameter
11078 * paragraph.C (validate): fixed wrong output of color-package when
11079 using interface colors for certain fonts in certain environments,
11080 which should not seen as that on the final output.
11082 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11084 * BufferView_pimpl.C:
11089 * LyXAction.C: add thesaurus support
11092 * lyxfind.C: add "once" parameter, for thesaurus, to not
11093 move to the next match
11095 2001-07-26 Juergen Vigna <jug@sad.it>
11097 * lyxfont.C (realize): honor ignore_language too!
11100 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11102 * text.C (draw): one place more for ignore_language to not draw
11105 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11107 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11109 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11111 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11112 the minipage conversion problem.
11114 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11116 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11119 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11121 * BufferView.h: don't forward declare WorkArea
11123 * BufferView.C: don't include WorkArea.h
11125 2001-07-25 André Pönitz <poenitz@gmx.net>
11129 * lyxfunc.C: new LFUN 'math-space'
11131 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11133 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11135 * text2.C (toggleInset): call open/close
11137 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11139 * lyxfunc.C (dispatch): add debug for the disabled case
11141 * font.C (buttonText): make similar to rectText
11143 * buffer.C (readInset): comment out parsing of insetlist and
11146 * PainterBase.C (rectText): small correction
11148 * BufferView_pimpl.C: comment out insettheorem and insetlist
11149 * LyXAction.C: ditto
11150 * commandtags.h: ditto
11152 2001-07-24 Juergen Vigna <jug@sad.it>
11154 * text.C (draw): honor the ignore_language.
11156 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11158 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11160 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11163 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11165 * lyxtext.h: remove unused (and unimplemented) methods
11167 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11169 * text.C (getVisibleRow): honor background color
11172 * Painter.h: remove default color argument for fillRectangle
11174 * text.C (backgroundColor): new method
11176 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * text.C (getVisibleRow): adjust
11180 * font.[Ch] (rectText): new method, metrics
11181 (buttonText): new method, metrics
11183 * PainterBase.[hC]: make rectText and buttonText always draw and take
11186 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11188 * ToolbarDefaults.C (read):
11189 * MenuBackend.C (read): allow escaping in all strings
11191 * BufferView_pimpl.C (insertAndEditInset): new method.
11192 (Dispatch): use insertAndEditInset whenever appropriate.
11194 * BufferView_pimpl.C (insertNote): removed
11196 * BufferView_pimpl.C (smartQuote): new method, moved from
11197 BufferView; if an insetquote cannot be inserted, insert a '"'
11200 * BufferView2.C: remove insertCorrectQuote();
11202 * lyxfunc.C (getStatus): Add support for all remaingin
11203 inset-insert lfuns.
11205 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11207 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11208 command (necessary to pass " as parameter of self-insert.
11210 * text.C (selectWordWhenUnderCursor):
11211 (selectWord): add word_location parameter
11212 (selectWordWhenUnderCursor): same + remove special code for word
11214 (selectNextWord): use kind() to guess type of insetspecialchar,
11217 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11218 (insertErtContents): create ert insets as collapsed.
11219 (readInset): better compatibility code for Info inset.
11221 2001-07-20 Juergen Vigna <jug@sad.it>
11223 * lyxfunc.C (dispatch): use always LyXFind now!
11225 * text2.C (init): add a reinit flag so that the LyXText can be
11226 reinited instead of deleted and reallocated (used in InsetText).
11228 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11234 2001-07-18 Juergen Vigna <jug@sad.it>
11236 * text.C (selectNextWord): handle insets inside inset by calling
11237 always the bv->text functions so that we can go up the_locking_inset!
11239 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11240 in strange locations when inside an inset!
11242 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11243 handling to include insets.
11245 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11247 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11249 * LyXAction.C (init):
11251 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11252 LIGATURE_BREAK, since the name is so stupid.
11254 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11256 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11259 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11261 * sp_form.[Ch]: remove.
11263 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11265 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11268 * src/buffer.C (readInset): ditto.
11270 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11272 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11273 menuSeparator(), endOfSentenceDot(), ldots() and
11274 hyphenationPoint(), which are therefore removed.
11275 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11277 * LyXAction.C (init):
11278 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11280 * paragraph.C (getWord): removed.
11282 * BufferView_pimpl.C (Dispatch): use last word or selection for
11283 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11285 * lyx_main.C (queryUserLyXDir): do not ask before creating
11286 user_dir, except if it has been named explicitely.
11288 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11290 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11291 a document of zero size.
11293 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11295 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11296 approriately in the c-tor and in require().
11297 (getPackages): output the appropriate LaTeX for natbib support.
11299 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11300 variables "use_natbib" and "use_numerical_citations" when reading the
11302 (readInset): read the various natbib cite commands.
11303 (validate): white-space change.
11305 * bufferparams.[Ch]: new variables "bool use_natbib" and
11306 "bool use_numerical_citations".
11307 (writeFile): output them in the LyX file.
11309 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11311 * lyxfunc.C (getStatus): add support for all the inset insertion
11314 * text2.C (insertInset):
11315 * paragraph.C (insetAllowed):
11316 * BufferView_pimpl.C (insertInset): update to take in account the
11317 renaming of insertInsetAllowed
11319 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11321 * text2.C (getInset): new method. returns inset at cursor position.
11323 * BufferView_pimpl.C (Dispatch): changes because of this.
11325 * LyXAction.C (init): rename open-stuff to inset-toggle.
11327 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11329 * text2.C (toggleInset): renamed from openStuff; use
11332 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11334 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11336 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11338 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11340 * buffer.C (readLyXformat2): Add filename to the error dialog
11342 2001-07-18 Juergen Vigna <jug@sad.it>
11344 * tabular.C (GetCellNumber): put an assert here instead of the check!
11346 2001-07-17 Juergen Vigna <jug@sad.it>
11348 * BufferView_pimpl.C (toggleSelection): adapted too.
11350 * text.C (selectNextWord): adapted for use with insets.
11351 (selectSelectedWord): ditto
11353 2001-07-17 Juergen Vigna <jug@sad.it>
11355 * sp_spell.C (PSpell): fix initialitation order.
11357 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11359 * paragraph.C: spacing
11361 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11363 * sp_spell.C: repair language selection for pspell
11365 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11367 * lyxfunc.h: change more methods to begin with lower char.
11369 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11371 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11372 for unknown layouts.
11374 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11376 * buffer.C (readLyXformat2): Generate an error dialog if there are
11379 2001-07-16 Juergen Vigna <jug@sad.it>
11381 * sp_spell.C: always compile ISpell part.
11383 * lyxrc.C: added use_pspell entry and it's handling.
11385 2001-07-13 Juergen Vigna <jug@sad.it>
11387 * sp_spell.C: removed double includes.
11389 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11391 Consistent use of Lsstream.h:
11392 * Lsstream.h: added using std::stringstream for consistencies sake.
11394 * buffer.C: removed using std::stringstream
11396 * lyxfont.C (stateText):
11397 * paragraph.C (asString):
11398 * text.C (selectNextWord, selectSelectedWord):
11399 * text2.C (setCounter):
11400 * vspace.C (asString, asLatexString):
11401 std::ostringstream -> ostringstream.
11403 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11405 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11406 * commandtags.h: add LFUN_HELP_ABOUTLYX
11407 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11409 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11411 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11413 * lyx_gui_misc.C: remove spellchecker
11414 * lyxfunc.C: showSpellchecker
11416 * sp_ispell.h: added
11417 * sp_pspell.h: added
11418 * sp_spell.C: added
11419 * sp_form.[Ch]: removed
11420 * spellchecker.[Ch]: removed
11422 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11424 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11426 (simpleTeXSpecialChars): Simply print the input character without
11427 any special translation if pass_thru is set.
11429 * layout.h: Added bool pass_thru to layout class for being able to
11430 implement pass through of a paragraph for Literate Programming.
11432 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11433 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11434 * layout.C (Read): add "passthru" to list of layout tags and add
11435 code to set the pass_thru boolean when it is read.
11437 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11439 * trans_decl.h: remove allowed from KmodInfo
11441 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11442 remove allowed code
11445 * paragraph_pimpl.C (erase): use boost::prior
11447 * Painter.C (text): use data() instead of c_str() when length is
11449 * WorkArea.C (putClipboard): ditto
11450 * font.h (width): ditto
11452 * BufferView2.C: use it-> instead of (*it). for iterators
11454 * paragraph_pimpl.C: ditto
11455 * paragraph.C: ditto
11456 * minibuffer.C: ditto
11457 * language.C: ditto
11459 * encoding.C: ditto
11460 * counters.C: ditto
11461 * converter.C: ditto
11463 * Variables.C: ditto
11464 * TextCache.C: ditto
11465 * MenuBackend.C: ditto
11466 * LyXAction.C: ditto
11468 * FloatList.C: ditto
11469 * DepTable.C: ditto
11470 * ColorHandler.C (LyXColorHandler): ditto
11472 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11474 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11476 * text2.C (openStuff): reintroduce this method (which had been
11477 nuked in NEW_INSETS frenzy).
11479 * lyxfunc.C (Dispatch): when an action has not been handled, use
11480 its name in the error message, not its number.
11482 * paragraph.C (inInset): change method name to begin with lowercase.
11485 * text2.C: updates because of this.
11487 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11489 * ToolbarDefaults.C (add): add spaces in error message
11491 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11493 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11494 (readLyXformat2): rename return_par to first_par, use lyxlex's
11495 pushToken and remove the manual push handling.
11496 (parseSingleLyXformat2Token): add another ert comp. variable:
11497 in_tabular, rename return_par to first_par. handle newlines better
11499 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11501 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11503 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11505 * text2.C (getParFromID): removed
11507 * buffer.C (getParFromID): new method moved form lyxtext.
11508 * BufferView2.C (insertErrors): adjust
11509 (setCursorFromRow): adjust
11510 * BufferView_pimpl.C (restorePosition): adjust
11511 * lyxfunc.C (Dispatch): adjust
11512 * undo_funcs.C (textUndo): adjust
11514 (textHandleUndo): adjust
11515 (textHandleUndo): adjust
11517 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11519 * buffer.C: up' the LYX_FORMAT
11521 * lyxfont.h: turn NO_LATEX on as default
11523 * buffer.C (insertErtContents): new methods of tex style compability.
11524 (parseSingleLyXformat2Token): use it several places.
11525 * tabular.C (OldFormatRead): and here
11527 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11529 * text2.C: remove some commented code.
11532 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11533 * trans.C: changes because of the above.
11535 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11537 * text2.C (setCounter): Fix counters bug with bibliography layout.
11539 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11541 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11542 own member functions
11543 (simpleTeXSpecialChars): ditto
11545 2001-07-06 Juergen Vigna <jug@sad.it>
11547 * a lot of files: changed the access to LyXText::status and the
11548 call of undo-functions.
11550 * undo.[Ch]: added a inset_id to the undo informations.
11552 * undo_funcs.[Ch]: added and moved here all undo functions.
11554 * lyxtext.h: give the status enum a weight, made status_ a private
11555 variable and made accessor functions for it, removed the whole bunch
11556 of undo-functions as they are now in their own file, make some
11557 functions publically available. Added function ownerParagraph with
11560 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11561 made InInset() a const function, added getParFromID() function.
11563 * buffer.[Ch]: added const version for inset_iterator functions,
11564 added getInsetFromID() function.
11566 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11567 changed undo functions for new version.
11569 2001-07-05 Juergen Vigna <jug@sad.it>
11571 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11572 unknow mechanism does not call the proper constructor but only this
11573 one also if I request the other!?
11575 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11577 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11579 * text2.C (LyXText): use initialization lists.
11581 * lyxtext.h (Selection): initialize set_ and mark_
11582 (init): remove method
11584 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11586 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11588 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11590 * screen.[Ch]: change method names to begin with lowercase
11592 * BufferView_pimpl.C (updateScrollbar): simplify further and
11593 hopefully make it a bit faster.
11595 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11597 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11598 calling directly xforms functions.
11600 * Painter.C (Painter):
11601 * lyx_cb.C (MenuWrite):
11602 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11605 * lyx_gui.C: remove bogus guiruntime extern declaration.
11607 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11609 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11611 (redoDrawingOfParagraph): ditto
11612 (redoParagraphs): ditto
11613 (cutSelection): don't create a object for CutAndPaste use the
11614 static method directly
11615 (pasteSelection): ditto
11617 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11620 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11622 * modifications to some other files because of this.
11624 * Makefile.am (lyx_SOURCES): add XFormsView
11626 * XFormsView.[Ch]: new files
11628 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11629 the main window. Move the gui dependent stuff to XFormsView
11631 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11633 * tabular.C (GetCellInset): update cur_cell also in the row/col
11634 version of this function.
11636 * lyxfunc.C: no need to include figure_form.h here.
11642 * lyxvc.C: no need to include forms.h here.
11644 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11646 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11648 * lyxfunc.C (Dispatch):
11650 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11651 constructor argument.
11653 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11655 * paragraph.C (Paragraph): dont't clear, and just set layout.
11656 (makeSameLayout): use params's copy contructor.
11658 * ParagraphParameters.[Ch] (makeSame): delete method
11660 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11662 * Variables.[Ch]: fix indentation, rename set to isSet
11664 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * lyxfunc.C (Dispatch): fix typo
11668 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11670 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11673 * bufferlist.C: include assert.h for emergencyWrite().
11675 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11677 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11678 give up at last (bug #425202) !
11680 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11686 * spellchecker.C: strip spellchecker options and bring up
11687 preferences tab instead
11689 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11691 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11692 the istringstream constructor
11694 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11696 * paragraph.C (getLayout): fix return value
11698 * paragraph.h: do not declare getLayout as inline.
11700 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11702 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11704 * lyxcursor.h (operator<): new func
11705 (operator>): new func
11706 (operator>=): new func
11707 (operator<=): new func
11709 * text.C (changeCase): use selection.start and selection.end
11710 (changeRegionCase): require from to be <= to. Require par to be a
11713 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11715 2001-06-27 Juergen Vigna <jug@sad.it>
11717 * text.C (cursorLeftOneWord): changed to return the cursor and added
11718 overlay with BufferView * parameter which calls this one.
11720 (selectWord): use new getWord function.
11721 (changeCase): renamed from changeWordCase as and extended to work
11722 also on selections.
11724 * lyxtext.h: added enum word_location
11726 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11727 changeCase as this operates now also on selections.
11729 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11731 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11733 * many files: send debug output to Debug::INFO instead of
11736 * converter.C (View):
11738 (Move): send debug output to Debug::FILES instead of console.
11740 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11742 * lyxfunc.C (getStatus): use func_status
11744 * func_status.h: new header, describing the results of
11745 LyXFunc::getStatus;
11747 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11750 2001-06-25 The LyX Project <jug@sad.it>
11752 * buffer.C (sgmlOpenTag):
11754 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11756 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11758 * text2.C: remove some dead code
11760 * tabular.C (GetCellInset): store the last cell checked (gotten)
11762 * tabular.h: add the helper for the speedup
11764 * lyxtext.h: remove some dead code
11766 2001-06-26 The LyX Project <Asger>
11768 * paragraph.C: Change export to LaTeX of alignment to
11769 \begin{center} and family for better roundtrip work with reLyX.
11771 * Tune the math drawing a bit.
11773 2001-06-25 The LyX Project <Asger>
11775 * LColor.C (LColor): New color for math background. New color
11778 2001-06-25 The LyX Project <jug@sad.it>
11780 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11782 * lyxfunc.C (Open):
11783 * bufferlist.C (newFile): do not restrict to files ending with
11786 * BufferView_pimpl.C (MenuInsertLyXFile):
11788 2001-06-24 The LyX Project <jug@sad.it>
11790 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11793 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11795 * lyxtext.h: rename most methods to begin with a small char.
11796 Lots of changes because of this.
11798 * paragraph.C (Paragraph): do not call fitToSize
11799 (erase): call Pimpl::erase
11800 (insertChar): call Pimpl::insertChar
11801 (insertInset): call Pipl::insertInset
11802 (breakParagraph): do not call fitToSize
11803 (breakParagraphConservative): do not call fitToSize
11804 (fitToSize): remove method
11806 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11808 2001-06-24 The LyX Project <Asger>
11810 * Fix Qt compilation^2
11812 2001-06-24 The LyX Project <jug@sad.it>
11814 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11815 depthHook(getDepth()-1).
11818 * ParagraphParameters.h:
11819 * ParameterStruct.h: change type of depth to unsigned int ==
11820 depth_type. Many adaptations to other files before of that.
11822 2001-06-24 The LyX Project <Asger>
11824 * Fix Qt compilation.
11826 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11828 * paragraph.h: renamed several methods to begin with small letter.
11829 several changes to many parts of the code because of this.
11831 2001-06-23 The LyX Project <jug@sad.it>
11833 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11834 rewritten to discard all double spaces when KeepEmpty is off
11835 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11836 to only handle newlines but not fiddle with spaces and friends.
11838 * lyxfunc.C (MenuNew): when doing 'new from template', use
11839 template_path as default directory
11841 2001-06-23 The LyX Project <Asger>
11843 * Clean-up of header file includes all over
11844 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11846 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11848 * paragraph.h: renamed from lyxparagraph.h
11850 2001-06-23 Asger <lyx@violet.home.sad.it>
11852 * Buffer.h: Removed Buffer::resize
11853 * BufferList.h: Removed BufferList::resize
11854 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11855 the document lazily when we change the width, or the font settings.
11857 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11859 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11861 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11863 * buffer.h: remove out of date comment
11865 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11868 * screen.C: fix "theoretical" GC leak
11870 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11872 * LaTeX.C (scanAuxFile):
11873 (deplog): remove trailing \r when reading stream (useful under
11876 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11878 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11879 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11880 and BufferView::theLockingInset(Inset*), so should use them and not
11881 access bv_->text->the_locking_inset directly.
11883 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11885 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11888 * tex-defs.h: remove old unused file
11890 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11892 * BufferView_pimpl.C: fix typo, remove minibuffer message
11893 when buffer has loaded
11895 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11897 * lyxfunc.C (Dispatch): use stringstream
11898 (MenuNew): use stringstream
11899 (Open): use stringstream
11901 * importer.C (Import): use stringstream
11903 * bufferview_funcs.C (CurrentState): use stringstream
11905 * LaTeX.C (run): use stringstream
11907 * BufferView_pimpl.C (savePosition): use stringstream
11908 (restorePosition): use stringstream
11909 (MenuInsertLyXFile): use stringstream
11911 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11924 * vspace.C: removed // -*- C++ -*- as first line.
11927 * version.h: added // -*- C++ -*- as first line.
11929 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11931 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11933 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11936 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11938 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11941 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11943 * gettext.C: include LString.h even when --disable-nls is on.
11945 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11947 * converter.h (Get): changed argument type from int to
11948 FormatList::size_type to avoid unnecessary conversion.
11950 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11953 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11955 * gettext.h: include LString.h even when --disable-nls is on.
11957 2001-06-07 Juergen Vigna <jug@sad.it>
11959 * text.C (BreakAgain): subst spaces with tabs.
11961 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11962 (resizeInsetsLyXText): set force on resizeLyXText.
11964 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11966 * gettext.h (gettext_init):
11967 (locale_init): use a real definition instead of a macro
11969 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11971 * Bufferview_pimpl.C:
11973 * LColor.C: further lcolor tidies
11975 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11977 * BufferView_pimpl.C (updateScrollbar): simplify.
11979 * BufferView2.C: don't include insets/insetinfo.h, change
11980 prototype for insertInset and call the Pimpl version. let
11981 updateInset call Pimpl version.
11983 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11984 gotoInset to BufferView::Pimpl
11986 2001-06-01 Juergen Vigna <jug@sad.it>
11988 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11989 inside a LockingInset (is the update needed at all?).
11991 2001-05-31 Juergen Vigna <jug@sad.it>
11993 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11994 here not the old one otherwise how should we compare it afterwards
11997 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12002 * FontInfo.C: bring C functions into global namespace when
12005 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12007 * LString.h: make sure config.h has been loaded before LString.h.
12009 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12010 (one for each char read by EatLine!).
12012 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12015 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12017 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12018 to the same as the par we break from
12020 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12022 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12024 * MenuBackend.C (expand): also create menu entries for wide
12025 versions of the floats.
12027 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12029 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12031 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12032 frontends/Makefile.am
12038 * tabular.C (getTokenValue): add std::
12040 * tabular-old.C (getTokenValue): add std::
12041 (getTokenValue): ditto
12042 (getTokenValue): ditto
12044 * screen.C (ToggleSelection): adjust
12046 * lyxtext.h: put selection cursors inside a Selection struct.
12048 * lyxfunc.C (moveCursorUpdate): adjust
12050 * lyxfont.C (latexWriteStartChanges): add std::
12052 * lyxfind.C: adjust
12054 * font.h: delete with(char const *, LyXFont const &)
12056 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12058 * FontInfo.C (getFontname): add std::
12060 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12061 (workAreaButtonPress): adjust
12062 (tripleClick): adjust
12064 (moveCursorUpdate): adjust
12067 * BufferView2.C (gotoInset): adjust
12069 2001-05-30 Juergen Vigna <jug@sad.it>
12071 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12072 to check pspell I add this as default as I now have new pspell
12073 libraries and they seem to use this.
12075 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12077 * text2.C (CutSelection): make the cursor valid before the call to
12080 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12082 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12083 relied on 0 terminated strings and other horrors. Bug found due to
12084 the new assert in lyxstring!
12086 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12089 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12091 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12094 * lyxfunc.C (processKeySym): change method of getting to the
12097 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12098 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12099 * BufferView_pimpl.[Ch]: here as private methods.
12101 2001-05-28 Juergen Vigna <jug@sad.it>
12103 * text.C (SetHeightOfRow): added the update() call again as it is
12104 needed to initialize inset dimensions!
12106 2001-05-16 Juergen Vigna <jug@sad.it>
12108 * text2.C (SetCharFont): Add new function with BufferView * and
12109 bool toggleall parameters for setting insets internal fonts.
12110 (SetFont): Freeze the undo as we may change fonts in Insets and
12111 all this change should be inside only one Undo!
12113 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12114 setting font's in insets as for them we have the SetFont function!
12116 2001-05-15 Juergen Vigna <jug@sad.it>
12118 * text2.C (ClearSelection): to be sure we REALLY don't have any
12121 * tabular.C (TeXCellPreamble): fixed the left border problem for
12124 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12126 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12129 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12132 LFUN_BREAKPARAGRAPH.
12134 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12135 help test to "internal only", similar for LFUN_INSERT_URL
12137 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12138 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12139 auto_region_delete and deadkeys.
12141 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12144 * LColor.C: remove some dead entries, tidy a little
12146 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12148 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12150 (Dispatch): implement LFUN_ESCAPE
12152 * commandtags.h: add LFUN_ESCAPE
12154 * LyXAction.C (init): add entry for LFUN_ESCAPE
12156 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12157 Remove commented code.
12158 (insertNote): moved here
12159 (open_new_inset): moved here
12161 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12164 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12166 * kbmap.C (findbinding): clean it up and make it work correctly.
12168 * lyx_main.C (init): do not pass argc and argv as parameters
12170 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12172 * buffer.C: fix path for OS/2 & Win32
12176 * lyx_main.C: Added os:: class.
12178 * os2_defines.h: update
12180 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12182 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12183 better by trying again with reduced state.
12185 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12187 * lyxrc.C (read): print error about invalid key sequence only when
12188 debugging (because not all latinX keysyms are known to some X
12191 * kbsequence.C (getiso): add a few std:: qualifiers
12192 (getiso): comment out extra return statement.
12194 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12196 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12198 (Dispatch): enhance the accent inset a bit. (not perfect)
12200 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12202 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12204 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12206 * bufferlist.C (emergencyWrite): fix assert() call
12208 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12210 * text.C (InsertChar): Added trivial patch to only send the "you
12211 can not do multiple spaces this way" message once during a
12214 2001-05-08 Baruch Even <baruch@lyx.org>
12216 * Makefile.am: Changed order of libraries to get LyX to link properly
12217 with the gnome frontend.
12219 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12221 * LaTeXFeatures.h: add a std:: qualifier
12223 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12225 * paragraph.C (String): use stringstream
12227 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12229 * paragraph.C (writeFile): remove footflag arg
12231 * buffer.C (makeLaTeXFile): use stringstream
12232 (latexParagraphs): remove footnot gurba
12234 * LaTeXFeatures.C (getPackages): use stringstream
12235 (getMacros): likewise
12236 (getTClassPreamble): likewise
12237 (getFloatDefinitions): new method
12239 * paragraph.C (writeFile): reindent
12242 * WorkArea.h: revert the xpos + etc changes.
12244 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12246 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12248 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12249 (pasteSelection): likewise
12250 * text2.C (CreateUndo): likewise
12252 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12254 * minibuffer.C (peek_event): temporarily reduce the functionality
12255 of the minibuffer (to allow args on lfuns)
12257 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12258 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12260 * buffer.C (readInset): add compability reading of old float
12261 lists, add reading of new style float list.
12262 (readInset): avoid reevaluation of inscmd.getCmdName()
12263 (getLists): reindent
12265 * MenuBackend.C (MenuItem): implement parsing of
12266 md_floatlistinsert and md_floatinsert.
12267 (expand::LastFiles): move initalizaton of iterators out of loop,
12268 avoid reevaluation.
12269 (expand::Documents): introduce typdedef vector<string> Strings,
12271 (expand::ExportFormats): introduce typedef vector<Format const *>
12272 Formats, and use it.
12273 (expand): implement FloatListInsert and FloatInsert.
12275 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12276 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12277 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12279 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12281 (Dispatch::LFUN_FLOAT_LIST): implement
12283 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12285 * LaTeX.C (run): Fix problem with --export code.
12287 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12289 * BufferView.[Ch] (workarea): removed.
12290 (getClipboard) new method; wrapper for workarea()->getClipboard()
12292 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12295 * WorkArea.h (width, height, xpos, ypos): These methods all
12296 returned the dimensions of the work_area sub-area of WorkArea,
12297 resulting in a position error if the WorkArea were resized. Now
12298 return the dimensions of the entire WorkArea.
12300 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12302 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12304 * LaTeX.C (deplog): correct the syntax of regex reg1
12306 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12308 * undo.C: remove !NEW_INSETS cruft
12310 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12312 * text2.C: remove !NEW_INSETS cruft
12314 * text.C: remove !NEW_INSETS cruft
12316 * tabular.C: remove !NEW_INSETS cruft
12318 * spellchecker.C: remove !NEW_INSETS cruft
12320 * lyxtext.h: remove !NEW_INSETS cruft
12322 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12324 * lyxfunc.C: remove !NEW_INSETS cruft
12326 * lyxfind.C: remove !NEW_INSETS cruft
12328 * lyx_cb.C: remove !NEW_INSETS cruft
12330 * figureForm.C: remove !NEW_INSETS cruft
12332 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12334 * buffer.[Ch]: remove !NEW_INSETS cruft
12336 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12338 * CutAndPaste.C: remove !NEW_INSETS cruft
12340 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12342 * BufferView2.C: remove !NEW_INSETS cruft
12344 * BufferView.h: remove !NEW_INSETS cruft
12346 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12348 * Lsstream.h: include LString.h before the sstream headers to
12349 fix problem with gcc 2.95.3 and lyxstring
12351 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12353 * lyx_main.C: add using directives when needed for C functions
12354 declared in std:: namespace.
12356 2001-04-27 Juergen Vigna <jug@sad.it>
12358 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12359 (SetHeightOfRow): comment out the update call should not be needed!
12361 2001-04-13 Juergen Vigna <jug@sad.it>
12363 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12364 (LyXTabular): tried to minimize operator= operations (and realized
12365 hopfully Lars wish).
12367 2001-04-27 Juergen Vigna <jug@sad.it>
12369 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12371 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12375 * buffer.C (readInset): hack to make listof algorithm work
12377 * BufferView_pimpl.C: hack to make listof algorithm work
12379 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12381 * LyXAction.C: removed all !NEW_INSETS cruft
12382 (init): moved lfun_item in method
12384 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12386 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12388 * BufferView2.C (theLockingInset): white space.
12390 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12392 * minibuffer.C: include <iostream>
12394 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12396 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12398 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12400 * text.[Ch] (TransposeChars): new method
12402 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12404 * call message directly through LyXView instead of through LyXFunc
12405 * BufferView2.C: adjust
12406 * BufferView_pimpl.C: adjust
12407 * FontLoader.C: adjust
12409 * bufferview_funcs.C: adjust
12410 * converter.C: adjust
12411 * figureForm.C: adjust
12412 * importer.C: adjust
12414 * lyx_gui_misc.C: adjust
12415 * lyxfunc.C: adjust
12418 + more files in subdirs
12420 * lyxparagraph.h (size): move up int file
12423 * adjust all uses of Assert to lyx::Assert.
12425 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12426 lyxfunctional in namespace lyx
12427 * layout.C (hasLayout): ditto
12430 (delete_layout): ditto
12431 (NumberOfClass): ditto
12432 * converter.C (GetFormat): ditto
12437 * bufferlist.C (getFileNames): ditto
12438 (emergencyWriteAll): ditto
12441 * MenuBackend.C (hasSubmenu): ditto
12444 * BufferView_pimpl.C (getInsetByCode): ditto
12446 2001-04-18 Juergen Vigna <jug@sad.it>
12448 * vspace.C (asLatexString): fixed the 100% problem.
12450 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12452 * lyxfunc.C (Dispatch):
12454 * minibuffer.h: add a few std:: qualifiers
12456 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12458 * minibuffer.[Ch]: reimplement so that commands is initiated and
12459 run from lyxfunc, simplified som handling, and made the completion
12460 and history code for complete. wip.
12462 * lyxfunc.C (processKeySym): call message
12463 (miniDispatch): new temporary method
12464 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12465 (LFUN_MESSAGE): implement
12466 (LFUN_MESSAGE_PUSH): implement
12467 (LFUN_MESSAGE_POP): implement
12468 (initMiniBuffer): the initial/defualt minibuffer message.
12470 * lyxfont.[Ch]: inline some more getters
12472 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12474 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12476 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12477 (AutoSave): use LFUN_MESSAGE
12478 (Reconfigure): ditto
12480 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12482 * figureForm.C: use LFUN_MESSAGE
12484 * converter.C (runLaTeX): use LFUN_MESSAGE
12486 * bufferview_funcs.C: use LFUN_MESSAGE
12488 (changeDepth): ditto
12490 * bufferparams.h: use boost::
12492 * bufferlist.h: inherit privately from noncopyable
12494 * bufferlist.C (loadLyXFile): remove some commented code.
12496 * buffer.C (runChktex): use LFUN_MESSAGE
12498 * ShareContainer.h: inherit privately from noncopyable
12500 * ParagraphParameters.[hC] (depth): inline it.
12502 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12504 (message): new method
12505 (messagePush): ditto
12506 (messagePop): ditto
12507 (show): init minibuffer
12508 (showState): direct call
12510 * LaTeX.[Ch]: inherit privately from noncopyable
12511 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12512 instead of WriteStatus.
12514 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12516 * BufferView_pimpl.C (buffer): don't init minibuffer
12517 (workAreaButtonPress): use LFUN_MESSAGE
12518 (workAreaButtonRelease): ditto
12519 (savePosition): ditto
12520 (restorePosition): ditto
12521 (MenuInsertLyXFile): ditto
12522 (workAreaExpose): don't init minibuffer
12523 (update): remove commented code, simplify
12525 * BufferView2.C (openStuff): use LFUN_MESSAGE
12526 (toggleFloat): ditto
12529 (copyEnvironment): ditto
12530 (pasteEnvironment): ditto
12535 (updateInset): remove some commented code
12537 * lastfiles.h: inherit privately from noncopyable
12540 * lyx_main.h: ditto
12542 * lyxlex_pimpl.h: ditto
12544 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12545 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12546 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12548 * LyXAction.h: inherit privately from noncopyable, add methods
12549 func_begin, func_end, returning iterators to the func map.
12551 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12552 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12553 (func_begin): new method
12554 (func_end): new method
12556 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12558 (copySelection): ditto
12559 (pasteSelection): ditto
12561 * BufferView.C: whitespace change
12562 * BufferView.h: inherit privately from noncopyable
12564 2001-04-16 Allan Rae <rae@lyx.org>
12566 * tabular-old.C (l_getline):
12567 * spellchecker.C (sc_check_word):
12568 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12569 an unrecognised preprocessor directive. So ensure they're wrapped.
12571 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12573 * src/exporter.C (Export): Give an error message when path to file
12576 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12578 * LaTeX.C (deplog): Always check that foundfile exists.
12580 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12583 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12585 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12587 * tabular.[Ch] (getLabelList): implement new method
12589 * minibuffer.h: comment ouf setTiimer
12591 * minibuffer.C (ExecutingCB): constify res
12592 (peek_event): constify s
12593 (Set): constify ntext
12594 (Init): constify nicename
12596 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12598 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12599 (savePosition): use two params to Minibuffer::Set
12600 (restorePosition): ditto
12602 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12604 * lyx_main.C: include language.h
12606 * Makefile.am (lyx_main.o): add language.h
12608 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12614 * CutAndPaste.C: include gettext.h
12616 * lyxfont.h: remove old hack with ON and OFF.
12619 * lyxfont.h: do not include language.h...
12624 * bufferview_funcs.C:
12630 * paragraph.C: ... but do it here instead
12632 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12634 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12636 * tabular.C: small reformat
12638 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12641 (BreakParagraph): ditto
12642 (SetOnlyLayout): ditto
12645 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12648 * lastfiles.C: removed most using decl, add std:: where needed
12650 * buffer.C: ws changes
12652 * MenuBackend.C (class compare_format): put into anon namespace
12653 (expand): constify label, names, action, action2
12656 * text.C (SingleWidth): constify font
12657 (IsBoundary): constify rtl2
12658 (GetVisibleRow): constify ww
12660 * LaTeX.C (deplog): constify logfile
12662 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12664 (workAreaExpose): constify widthChange, heightChange
12666 * lyxrow.C (par): moved
12669 * lyxrow.h: as inlines here
12671 * lyxfont.h (shape): moved from lyxfont.C
12672 (emph): moved from lyxfont.C
12674 * lyxfont.C (LyXFont): use initialization list for all
12676 (shape): move to lyxfont.h as inline
12677 (emph): move to lyxfont.h as inline
12680 2001-04-04 Juergen Vigna <jug@sad.it>
12682 * vspace.C: had to include stdio.h for use of sscanf
12684 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12687 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12688 independent of xforms.
12690 2001-04-02 Juergen Vigna <jug@sad.it>
12692 * spellchecker.C: fixed namespace placing!
12694 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12696 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12697 the LyXParagraph * is 0.
12699 2001-03-29 Juergen Vigna <jug@sad.it>
12701 * vspace.C: added support for %, c%, p%, l%.
12702 (stringFromUnit): added helper function.
12703 (asLatexString): changed to give right results for the %-values.
12705 * buffer.C: convert the widthp in a width%.
12707 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12709 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12712 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12713 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12715 * lyx_cb.[Ch]: see above.
12717 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12721 * lyx.[Ch]: replaced by figure_form.[Ch].
12725 * lyxfunc.C: changed headers associated with above changes.
12727 2001-03-27 Juergen Vigna <jug@sad.it>
12729 * BufferView_pimpl.C: set the temporary cursor right!
12731 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12733 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12735 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12737 * LString.h: removed "using std::getline"!
12739 * BufferView_pimpl.C (Dispatch): changes due to changes in
12740 InsetInclude::Params.
12742 * buffer.C (tag_name): removed redundant break statements as they were
12743 producing lots of warnings with my compiler.
12745 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12747 * LString.h: add "using std::getline" when using the real <string>.
12749 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12751 * buffer.C: removed bitset usage.
12752 PAR_TAG moved to an anonymous name space.
12753 (tag_name): new funtion, also in the anonymous namespace.
12754 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12755 (makeDocBookFile): clean code. Completed transition from string arrays
12757 (SimpleDocBookOnePar): code clean.
12759 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12761 * tabular.C: add some comments.
12763 2001-03-22 Juergen Vigna <jug@sad.it>
12765 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12766 compatibility read a bit and fixed bug with minipage in different
12769 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12771 * buffer.C (pop_tag): removed.
12772 (push_tag): removed.
12773 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12774 array replaced with vector. Added support for CDATA sections.
12775 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12777 (makeDocBookFile): XML conformant declaration of CDATA section,
12778 fixed bug related to <emphasis> in the first paragraph char.
12779 (sgmlOpenTag): exclude empty tags.
12780 (sgmlCloseTag): ditto.
12782 * buffer.h (pop_tag): removed.
12783 (push_tag): removed.
12785 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12787 * language.h (Languages): added size_type and size().
12789 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12791 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12792 response on compability reading of minipages. One probliem is that
12793 the old usage of minipages was «flertydig»
12795 * several files here and in subdirs: don't use static at file
12796 scope use anon namespaces instead.
12798 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12800 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12801 LaTeX output. This is necessary for Literate document
12804 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12806 * buffer.C: insert hfill when needed.
12808 * tabular.C (l_getline): use string::erase, small whitespace change.
12810 * BufferView_pimpl.C: try the anon namespace.
12811 * WorkArea.C: ditto
12813 2001-03-16 Juergen Vigna <jug@sad.it>
12815 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12816 otherwise it won't open options-dialogs.
12818 * buffer.C: honor pextraWidth(p) on converting minipages.
12820 * tabular.C (l_getline): changed the functions to strip trailing \r.
12822 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12824 * BufferView_pimpl.C:
12825 * minibuffer..C: added "using SigC::slot" declaration.
12827 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12829 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12835 * paragraph.C: ditto
12837 * lyxtext.h: NO_PEXTRA
12839 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12841 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12842 * ParameterStruct.h: ditto
12843 * ParagraphParameters.h: ditto
12844 * lyxparagraph.h: ditto
12846 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12848 * buffer.C: add compability for minipage alignment.
12849 (latexParagraphs): remove unwanted pextra check.
12851 * several files: remove CXX_WORKING_NAMESPACES
12853 * buffer.C (pop_tag): tie is in namespace boost
12855 * BufferView.h: noncopyable is in namespace boost
12857 * lyx_main.h: ditto
12860 * lastfiles.h: ditto
12861 * bufferlist.h: ditto
12862 * ShareContainer.h: ditto
12864 * LyXAction.h: ditto
12867 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12869 * Merging changes from BRANCH_MVC back into HEAD.
12871 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12873 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12875 * BufferView_pimpl.C: change from intl.C
12879 * Makefile.am: move combox.*
12885 * intl.C: remove dialog (covered by prefs)
12887 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12889 * lyxfunc.C (Dispatch): removed redundant break statement.
12891 2001-03-14 Juergen Vigna <jug@sad.it>
12893 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12895 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12897 * buffer.C: add hack to fix compability reading of minipages.
12899 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12901 * buffer.C (getLists): Cleanup.
12903 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12905 * lyxfont.C (update): don't honor toggleall on font size.
12907 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12911 * Makefile.am: moved to frontends/xforms/
12915 * BufferView_pimpl.C: changes for moved mathpanel
12917 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12919 * gettext.h: fix gettext_init() in --disable-nls
12921 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12923 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12925 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12928 * lyx.h: strip external form
12930 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12932 * BufferView_pimpl.C: add comment, destroySplash()
12934 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12936 * BufferView_pimpl.C:
12940 * lyxfunc.C: use re-worked insetinclude
12942 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12944 * buffer.C: add using std::stringstream.
12946 * lyx_cb.C: readd using std::ios.
12948 * buffer.C: add using std::map.
12950 * BufferView_pimpl.C: add using std::vector.
12952 * ShareContainer.h: add std:: to swap.
12954 * buffer.h: add some typedefs
12955 * buffer.C (getLists): use them
12956 (getLists): renamed from getTocList.
12957 add a counter for the different float types and use it in the
12959 (getLists): use the same counter for the NEW_INSETS and the "non"
12962 * lyx_cb.h: remove unused items, includes, using etc.
12964 * ShareContainer.h: remove some commented code, add more comments
12965 and "documentation".
12967 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12969 * buffer.C (getTocList): make the list also when NEW_INSETS is
12972 * buffer.h: remove TocType
12974 * buffer.C (getTocList): change to return a map<string,
12975 vector<TocItem> >, implement for dynamic number of list.
12977 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12978 * text2.C (PasteSelection): adjust
12979 * CutAndPaste.C (pasteSelection): adjust
12981 * FloatList.C (FloatList): update from the new_insets branch.
12982 * Floating.[Ch]: ditto
12983 * LaTeXFeatures.C: ditto
12985 * lyxlex_pimpl.C: ditto
12987 * paragraph.C (Last): remove when NEW_INSETS is defined.
12989 * other file: changes because of the above.
12991 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12993 * lyxparagraph.h: rename next to next_, previous to previous_,
12994 make them private for NEW_INSETS. Rename Next() to next(),
12995 Previous() to previous().
12997 * other files: changes because of the above.
12999 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13002 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13005 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13007 * main.C (main): pass lyx_localedir to gettext_init().
13009 * gettext.h: remove locale_init and gettext_init macros
13011 * gettext.C (locale_init): new function
13012 (gettext_init): new function
13014 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13017 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13019 * Moved credits to frontends:
13020 * credits.[Ch]: removed
13021 * credits_form.[Ch]: removed
13022 * lyx_gui_misc.C: remove credits stuff
13025 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13027 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13029 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13030 unneeded destructor.
13032 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13033 a standalone pointer again.
13035 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13037 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13043 * ToolbarDefaults.C:
13052 * BufferView_pimpl.C: use new file dialog in GUII
13055 * lyx_cb.C: remove LayoutsCB to Toolbar
13057 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13059 * ShareContainer.h (get): add std:: qualifier
13061 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13063 * ShareContainer.h: define a proper ShareContainer::value_type
13064 type (and use typename to please compaq cxx)
13066 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13068 * lyxparagraph.h: move serveral local vars to
13069 ParameterStruct/ParagraphParameters., use ShareContainer in
13070 FontTable., make vars in FontTable private and add getter and
13073 * paragraph.C: changes because of the above.
13075 * lyxfont.h: remove copy constructor and copy assignment. (the
13076 default ones is ok), move number inside FontBits. move inlines to
13079 * lyxfont.C: add number to initializaton of statics, move several
13080 inlines here. constify several local vars. some whitespace
13081 cleanup. Dont hide outerscope variables.
13083 * Spacing.h: add two new constructors to match the set methods.
13085 * ShareContainer.h: new file, will perhaps be moved to support
13087 * ParameterStruct.h: new file
13089 * ParagraphParameters.h: new file
13091 * ParagraphParameters.C: new file
13093 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13094 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13096 * BufferView_pimpl.C: ParagraphParameter changes.
13097 * buffer.C: Likewise.
13098 * bufferview_funcs.C: Likewise.
13099 * text.C: Likewise.
13100 * text2.C: Likewise.
13102 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13104 * lyxfind.C (LyXReplace): do not redefine default argument in
13106 (IsStringInText): ditto
13107 (SearchForward): ditto
13108 (SearchBackward): ditto
13110 2001-03-06 Juergen Vigna <jug@sad.it>
13112 * lyxfind.C (IsStringInText): put parentes around expressions.
13114 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13116 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13118 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13120 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13122 * stl_string_fwd.h: add comment
13124 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13127 * tabular.C: remove unused DocBook methods
13133 killed DO_USE_DEFAULT_LANGUAGE
13135 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13137 * lyx_gui.C: do not include language.h.
13139 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13140 arguments in function implementation.
13142 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13144 * BufferView_pimpl.C: add <ctime>
13146 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13148 * BufferView_pimpl.C: add using std::find_if
13150 2001-02-27 José Matos <jamatos@fep.up.pt>
13152 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13155 2001-02-11 José Matos <jamatos@fep.up.pt>
13157 * buffer.C (makeDocBookFile): command styles now have a parameter as
13158 "title" by default.
13160 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13162 * layout_forms.[Ch]: removed
13163 * lyx_cb.[Ch]: out character
13164 * lyx_gui.C: out character
13165 * lyx_gui_misc.C: out character
13166 * bufferview_funcs.C: : out character,
13167 added toggleall as parameter in ToggleAndShow
13169 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13171 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13173 * text2.C (SetCurrentFont): Disable number property at boundary.
13175 2001-02-26 Juergen Vigna <jug@sad.it>
13177 * lyxfunc.C (getStatus): added a string argument override function so
13178 that this is correctly called from LyXFunc::Dispatch if it contains a
13179 do_not_use_argument which is used!
13180 (Dispatch): added check for "custom" export and call appropriate func.
13182 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13184 * lyxrc.C: Add language_command_local, language_use_babel and
13185 language_global_options.
13187 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13189 * buffer.C (makeLaTeXFile): Use language_use_babel and
13190 language_global_options.
13192 2001-02-23 Juergen Vigna <jug@sad.it>
13194 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13195 which works with LyXText and putted it inside BufferView. Here now we
13196 only call for that part the BufferView::Dispatch() function.
13198 * BufferView.C (Dispatch): added.
13200 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13201 functions which needs to use a LyXText over from LyXFunc.
13202 (MenuInsertLyXFile): added
13203 (getInsetByCode): added
13204 (moveCursorUpdate): added
13205 (static TEXT): added
13207 2001-02-22 Juergen Vigna <jug@sad.it>
13209 * BufferView_pimpl.C (update): call a status update to see if LyXText
13212 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13214 * vc-backend.C (revert): implement for CVS
13215 (getLog): implement for CVS
13217 2001-02-20 Juergen Vigna <jug@sad.it>
13219 * text2.C (ClearSelection): added BufferView param for inset_owner call
13221 * lyxfunc.C (TEXT): added this function and use it instead of
13222 directly owner->view()-text of getLyXText().
13224 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13226 * src/layout_forms.C: out preamble
13227 * src/layout_forms.h: out preamble
13228 * src/lyx_cb.C: out preamble
13229 * src/lyx_cb.h: out preamble
13230 * src/lyx_gui.C: out preamble
13231 * src/lyx_gui_misc.C: out preamble
13232 * src/lyxfunc.C: connect with guii preamble
13234 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13236 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13238 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13240 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13241 whether to run bibtex.
13243 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13245 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13247 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13249 * Makefile.am (lyx_SOURCES): removed bibforms.h
13251 * vspace.h: doxygen
13253 * text.C (GetVisibleRow): make several local vars const
13255 * tabular.C: small cleanup.
13257 * lyxserver.C (callback): use compare instead of strncmp
13259 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13260 inlines to after class or to paragraph.C
13262 * lyxfont.h: remove friend operator!=
13264 * converter.h: move friend bool operator< to non friend and after
13267 * combox.h: small cleanup
13269 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13270 to inlines after class def.
13272 * buffer.C (pop_tag): use string operations instead of strcmp
13274 * bmtable.c: doxygen, small cleanup
13276 * LaTeX.h: remove friend operator==
13278 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13290 * BufferView_pimpl.C:
13291 * BufferView.[Ch]: remove cruft
13293 2001-02-14 Juergen Vigna <jug@sad.it>
13295 * lyxfunc.C: removed #if 0 unused code
13297 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13299 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13301 * text2.C (SetSelection): added a BufferView * parameter
13303 2001-02-13 Juergen Vigna <jug@sad.it>
13305 * lyxfunc.C (Dispatch): fixed protected blank problem.
13306 * BufferView2.C (protectedBlank): added LyxText * parameter.
13308 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13309 (AppendColumn): same as above for column_info.
13311 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13312 (moveCursorUpdate): use a LyXText param for support of InsetText.
13314 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13315 (tripleClick): ditto
13317 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13319 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13321 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13323 * text2.C (SetSelection): set correct update status if inset_owner
13324 (ToggleFree): ditto
13326 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13328 * tabular.C: remove some commented code.
13330 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13332 * BufferView_pimpl.C: call hideSplash()
13334 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13337 * bibforms.h: remove
13340 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13341 add LFUN_CHILD_CREATE
13343 * counters.h: fix tiny typo
13348 * lyx.C: move splash to frontends/xforms/
13350 * lyx_gui_misc.C: move Include and Bibform to frontends
13352 * lyxvc.h: clarify comment
13354 * vspace.C: tiny housekeeping
13356 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13358 * text.C (PrepareToPrint): RTL Fix.
13360 * paragraph.C (GetUChar): New method.
13361 (String): Use GetUChar.
13363 * buffer.C (asciiParagraph): Use GetUChar.
13365 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13367 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13369 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13372 * buffer.C: rename to getLogName(), handle
13373 build log / latex log nicely
13375 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13378 * MenuBackend.h: remove support for reference menuitem type.
13380 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13382 * BufferView_pimpl.C: housekeeping
13383 * BufferView_pimpl.h:
13388 * minibuffer.h: move Timeout GUI-I
13390 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13392 * lyxrc.C (read): Update converters data-structures.
13394 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13396 * LaTeX.h (operator!=): add operator != for Aux_Info
13398 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13400 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13402 * LaTeXLog.C: deleted, useful code moved to Buffer
13405 * buffer.C: new function getLatexLogName()
13411 * lyxfunc.C: use frontends for LaTeX and VC logs
13413 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13415 * LaTeX.h: yet another std:: that Allan forgot.
13417 * Variables.C (set): renamed from isset(), because this clashes
13418 with some HP-UX macros (grr).
13420 2001-02-06 Allan Rae <rae@lyx.org>
13422 * LaTeX.h: Another bug fix. Missing std:: this time.
13424 2001-02-04 Allan Rae <rae@lyx.org>
13426 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13427 floats problem. I've left it commented out because it's not quite
13428 correct. It should also test that the current object is a table or
13429 figure inset. But I haven't gotten around to figuring out how to do
13430 that. I *think* it'll be something like: "table" == inset.type()
13432 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13435 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13437 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13438 all the citation/databases/styles in the auxilary file.
13439 (run): Rerun latex if there was a babel language error.
13441 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13443 * text.C (Backspace): Preserve the font when changing newline char
13445 (BreakParagraph): If the cursor is before a space, delete the space.
13447 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13449 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13451 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13452 new argument (code).
13453 (ChangeCitationsIfUnique): New method.
13455 * paragraph.C (GetPositionOfInset): Handle bibkey.
13457 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13459 * BufferView_pimpl.h: change type of Position::par_pos to
13460 LyXParagraph::size_type.
13462 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13464 * BufferView_pimpl.C (savePosition, restorePosition): Write
13465 messages to minibuffer.
13467 2001-01-28 José Matos <jamatos@fep.up.pt>
13469 * buffer.C (makeDocBookFile): adds support for document language.
13470 A silly restriction on the name of LatexCommand types where removed.
13471 Added support for CDATA sections, allows to chars unescaped, used
13472 among others in code, to avoid escape < and >.
13474 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13476 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13477 saved positions instrad of a stack. Furthermore, a position is
13478 stored using paragraph id/paragraph position.
13480 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13481 Remove LFUN_REF_BACK.
13483 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13485 * converter.C (dvipdfm_options): New method.
13487 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13489 * vspace.C (isValidLength): Fix for empty input string.
13491 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13493 * LyXAction.C (init): change description of LFUN_FIGURE to
13496 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13498 * LaTeX.C: add using directive
13500 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13502 * MenuBackend.C (expand): Fix the sorting of the formats.
13504 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13506 * lyx_main.C: tiny error message fix
13508 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13510 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13511 calling fl_initialize(). This fixes the problem with ',' as
13512 decimal separator in text files.
13514 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13516 * trans.C (process): Fix the keymap bug.
13518 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13520 * LaTeX.C (scanAuxFiles): New method. Provides support for
13521 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13522 (scanLogFile) Scan for "run BibTeX" messages.
13524 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13525 OT1 font encoding. Also, load the aecompl package if the ae
13528 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13530 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13532 * texrow.C (increasePos): turn two error messages into debug
13535 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13537 * LaTeX.C (scanAux): Handle the \@input macro.
13538 (runBibTeX): Use scanAux().
13540 * language.C (latex_options_): New field.
13542 * LaTeXFeatures.C (getMacros): Add language macros.
13544 * buffer.C (makeLaTeXFile): Small fix.
13546 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13548 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13550 * text2.C: add a using directive.
13552 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13557 * lyxfunc.C: kill LyXBell.
13559 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13561 * text.C (IsBoundary): Remove the error message
13563 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13565 * lyxrc.C (setDefaults): Correct initialization value for
13568 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13570 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13573 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13574 and GotoNextNote().
13576 * src/LyXAction.C: Added reference-next.
13578 * text.C (InsertChar): Use contains instead of strchr.
13580 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13582 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13584 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13585 alignment commands (when needed).
13587 * text.C (InsertChar): Add ':' to number separator chars.