1 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3 * PosIterator.[Ch]: compile fix
5 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
7 * text.C (cursorPar): deactivate the cursor cache
9 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
11 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
13 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
15 * text3.C (dispatch): adjust for new DisptchResult semantics.
17 * lyxfunc.C (dispatch): handle update when return from
18 Cursor::dispatch, adjust for new DispatchResult semantics.
20 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
21 DispatchResult(true) mean to not update. Add class functions for
22 setting dispatched and update, as well as reading.
24 * cursor.C (dispatch): don't handle update here
26 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
28 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
31 * paragraph_funcs.C (readParToken): exception safety
33 * lyxvc.h: store the vcs pointer in a scoped_ptr
36 * lyxsocket.C (serverCallback): exception safety
38 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
40 * ispell.C (clone): make it return a auto_ptr
42 * factory.C (createInset): exception safety
43 (readInset): exception safety
45 * bufferlist.C (newBuffer): exception safety
47 * Thesaurus.C (Thesaurus): use initialization for aik_
49 * MenuBackend.C (expandToc): exception safety.
51 2003-11-03 André Pönitz <poenitz@gmx.net>
55 * bufferview_funcs.C: remove getInsetFromId()
58 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
64 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
66 * PosIterator.C (distance, advance): new
67 * bufferview_funcs.[Ch] (put_selection_at): new
68 * iterators.[Ch] (lockPath): new
70 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
72 * iterators.[Ch] (asPosIterator): added
73 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
74 * PosIterator.[Ch]: added
76 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
80 * cursor.C (dispatch):
81 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
83 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
84 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
85 contructor, add a class function dispatched. Remove operator>=
87 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
89 * debug.C: only use the default constructor for debugstream
92 * main.C (main): include debug.h and setup the lyxerr streambuf
95 2003-10-31 José Matos <jamatos@lyx.org>
97 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
99 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
100 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
101 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
102 * paragraph_pimpl.C (simpleTeXSpecialC):
103 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
104 add LatexRunParams argument.
106 * exporter.C (Export): change call accordingly.
108 * latexrunparams.h: add new member to take care of the other backends.
109 2003-10-30 José Matos <jamatos@lyx.org>
111 * buffer.C (makeLinuxDocFile, makeDocBookFile):
112 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
113 factorise code for paragraph output.
115 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
118 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
120 * text3.C (dispatch):
121 * lyxfunc.C (dispatch):
122 * cursor.C (dispatch):
123 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
125 * dispatchresult.h: make the dispatch_result_t ctor explicit
127 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
130 * buffer.C: small refactoring of docbook stuff
132 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
134 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
137 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
139 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
140 operator dispatch_result_t, and operators for == != and >=
142 * cursor.C (dispatch): adjust for operator dispatch_result_t
143 removal. comment out call to update
145 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
147 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
155 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
158 * dispatchresult.h: new file, DispatchResult broken out of
161 * Makefile.am (lyx_SOURCES): add dispatchresult.h
163 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
165 * text.C (rowBreakPoint): put a hack inside #if 0
167 2003-10-28 André Pönitz <poenitz@gmx.net>
174 * text2.C: general cleanup (lots of small stuff)
176 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
178 * text2.C (cursorEnd): simple fix to the "end key goes to one
179 before the end on last row" bug
181 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
183 * text.C (backspace): fix the "zombie characters"
185 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
187 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
189 2003-10-27 André Pönitz <poenitz@gmx.net>
191 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
193 * factory.C: handle new InsetPagebreak, InsetLine
195 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
196 and move handling into new InsetPagebreak, InsetLine
198 * BufferView_pimpl.C:
200 * ParagraphParameters.C:
213 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
222 * text3.C: remove lastPos uses in favour of Row::endpos
224 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
226 * undo.C (performUndoOrRedo): fix two crashes by setting a
227 cursor by hand and reordering some calls. Use bv->lockInset instead
228 of inset->edit because the latter loses cursor information
230 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
232 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
234 (rowBreakPoint): fix width. change point to point + 1.
237 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
240 * lyxfunc.C: fix (at least partly) the problems
241 with the Nav menu and headers inside branch insets
244 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
246 * paragraph.C (getChar): add strong asserts
248 * lyxrow_funcs.C (lastPos): remove hideous hack
250 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
251 (fill): adjust to that (avoid an infinite loop)
253 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
255 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
257 2003-10-23 André Pönitz <poenitz@gmx.net>
259 * RowList_fwd.h: change list<> to vector<> to gain speed
260 after suggestion from Alfredo
262 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
264 * lyxtext.h: move the bidi stuff from here...
267 * Bidi.[Ch]: ... to here
269 2003-10-23 André Pönitz <poenitz@gmx.net>
272 * text.C (isLastRow, isFirstRow): new functions
274 * paragraph.h: new width cache member
276 * rowpainter.C: replace RowList::iterator with Row & where possible
278 * lyxfunc.C: replace several view()->text with a single call
280 * toc.C: fix 'unused' warning
282 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
284 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
285 when woring with stream::pos_type
286 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
288 2003-10-22 André Pönitz <poenitz@gmx.net>
291 * text.C: use Row & instead of RowList::iterator
293 * lyxrow.h: rename end() to endpos()
299 2003-10-22 Angus Leeming <leeming@lyx.org>
301 * buffer.[Ch] (fully_loaded): new member function, returning true
302 only when the file has been loaded fully.
303 Used to prevent the premature generation of previews and by the
304 citation inset to prevent computation of the natbib-style label.
306 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
307 templates are all set up.
309 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
311 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
313 * text.C: fixed an "oops" in the "is a bit silly"
316 2003-10-21 André Pönitz <poenitz@gmx.net>
318 * FuncStatus.[Ch]: small stuff, whitespace
320 * lyxfont.[Ch]: operator<<() for debug reasons
324 * lyxtext.h: whitespace, spelling
326 * paragraph.C: naming of variables
329 * text2.C: small stuff
332 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
334 * text.C: (1) finish off the inset display() work;
335 (2) fix the "is a bit silly" bug (accessing char
338 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
340 * text.C: re-introduce display() for insets, fixing the
341 various bugs (stretch of line above, math inset
344 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * text.C (rightMargin): remove spurious semicolon
348 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
351 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
353 * text3.C: fix one crash due to wrong cursor def
355 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
357 * vc-backend.C (scanMaster): make the regex static
359 * LaTeX.C (scanAuxFile): make the regexs static
361 * text3.C (doInsertInset, dispatch, dispatch):
362 * text2.C (cursorUp, cursorDown):
363 * text.C (selectNextWordToSpellcheck):
364 * BufferView_pimpl.C (dispatch):
365 * lyxfunc.C (dispatch): localDispatch -> dispatch
367 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * lyxsocket.C: include <cerrno>
371 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
373 * lyxfunc.C (dispatch): remove textcache stuff
375 * bufferlist.C (release): remove textcache stuff
378 * TextCache.C: delete file
379 * TextCache.h: delete file
381 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
383 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
384 delete of the bv_->text.
385 (resizeCurrentBuffer): remove texcache stuff
386 (workAreaResize): ditto
388 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
390 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
393 2003-10-16 André Pönitz <poenitz@gmx.net>
400 * text3.C: speed up by storing y positions per paragraph plus per-row
401 offset instead of having a 'full' y position in the row.
403 2003-10-15 André Pönitz <poenitz@gmx.net>
407 * undo.[Ch]: make undo aware of inner insets
409 2003-10-14 Angus Leeming <leeming@lyx.org>
411 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
412 static member functions LyX::ref() and LyX::cref.
413 (lastfiles): new accessor functions for the new lastfiles_ member var.
414 (addLyXView, views_): add a new LyXView to the list of views_.
415 (updateInset): loop over all LyXViews to call their own updateInset
416 member function, returning a pointer to the Buffer owning the inset.
418 * BufferView_pimpl.C (loadLyXFile):
419 * MenuBackend.C (expandLastfiles):
420 * bufferlist.C (MenuWrite, QuitLyX):
421 lastfiles is no longer a global variable.
422 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
424 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
425 static function. Access through LyX::cref().emergencyCleanup().
427 2003-10-14 André Pönitz <poenitz@gmx.net>
429 * iterators.[Ch]: new direct access to innermost LyXText and Inset
431 * undo.[Ch]: restoring part of 'undo in insets'
434 * undo_funcs.[Ch]: merge with undo.[Ch]
436 * tabular.C: small cleansing stuff
438 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
440 * paragraph_funcs.C (readParToken): report unknown insets as error
441 boxes. Use the outer paragraph as location (also for unknown
444 * factory.C (readInset): do not abort on reading an unknown inset.
447 2003-10-13 Angus Leeming <leeming@lyx.org>
449 * lyx_main.C (LyX): remove call to setDisplayTranslator().
451 * lyxrc.C: displayTranslator is now a function,
452 declared in GraphicsTypes.h.
454 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
456 * format.C: new placeholder $$a to pass the socket address.
458 * bufferlist.[Ch]: new function getBufferFromTmp.
460 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
461 files in the temporary dir.
463 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
465 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
467 * Makefile.am: add lyxsocket.[Ch].
469 * lyx_main.C (error_handler): handle SIGPIPE.
471 2003-10-13 André Pönitz <poenitz@gmx.net>
473 * BufferView_pimpl.C:
478 * undo_funcs.[Ch]: use paroffset_type instead of
479 ParagraphList::iterators to prevent multiple conversion
480 (and get a more robust interface)
482 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
484 * lyxfunc.C (dispatch): RESULT -> dispatch_result
486 * text3.C (dispatch): ditto
488 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
490 * LaTeX.C (handleFoundFile): move the static to smaller scope,
491 move the onlyfile, use onlyfile instead of foundfile in a couple
494 * DepTable.C (update): flush the error stream a bit more
496 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
498 * lyxserver.C (callback): adjust
500 * lyxfunc.C (getStatus): add a missing brace in commented code
501 (ensureBufferClean): reindent
502 (dispatch): delete version taking a string
504 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
506 * LaTeX.C (deplog): move found file handlig from here...
507 (handleFoundFile): .. to new function here.
508 (deplog): make sure to discover several files mentioned on the
511 2003-10-10 André Pönitz <poenitz@gmx.net>
518 * text3.C: fix some of the tabular crashes
520 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
522 * MenuBackend.C (binding): put debug message into Debug::KBMAP
524 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
526 2003-10-09 André Pönitz <poenitz@gmx.net>
528 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
531 * BufferView_pimpl.C:
532 * bufferview_funcs.C:
543 * undo_funcs.C: adjust
545 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
547 * text2.C (incrementItemDepth): new function, use a backtracking
548 algorithm to discover the correct item depth.
549 (resetEnumCounterIfNeeded): new function, use a backtracking
550 algorithm to discover if counter reset is needed.
551 (setCounter): use them. Simplify a bit. Add different labels for
552 different item depths for itemize.
554 * paragraph.C (Paragraph): remove initialization of enumdepth
557 * paragraph.h: get rid of enumdepth, and use itemdepth both for
558 enumerate and itemize. Change the type of itemdepth to signed char.
560 2003-10-08 André Pönitz <poenitz@gmx.net>
562 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
567 * tabular.[Ch]: fix crash after 'row-insert'
569 2003-10-08 Angus Leeming <leeming@lyx.org>
571 Fix doxygen warnings.
573 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
574 Remove CutAndPaste:: prefix from header file declaration.
576 * LColor.h (fill): remove LColor:: prefix from declaration.
578 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
579 use lyx::depth_type rather than Paragraph::depth_type so that
580 header file and .C file match.
582 * converter.h (intToFormat): remove Converters:: prefix from declaration.
584 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
585 * aspell.C: \file aspell_local.C -> \file aspell.C
586 * gettext.C: \file gettext.C -> \file src/gettext.C
587 * gettext.h: \file gettext.h -> \file src/gettext.h
588 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
589 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
590 * text.C: \file text.C -> \file src/text.C
592 * toc.C: move comment so that doxygen is not confused.
594 2003-10-07 Angus Leeming <leeming@lyx.org>
596 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
598 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
601 * aspell_local.h: add forgotten std::string's.
603 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
610 * text3.C: The Box patch. Fancybox support, minipage, parbox
612 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
618 * ParagraphParameters.h:
628 * lyxtextclasslist.h:
632 * textcursor.h: add <string> and other small fixes to make Lars'
633 std::string patch compile with STLport.
635 2003-10-06 Angus Leeming <leeming@lyx.org>
637 * LColor.h: Add missing #include <string>.
639 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
641 * All most all file in all subdirs: Make <string> be the prefered
642 way of getting to std::string, add using declarations.
644 2003-10-06 André Pönitz <poenitz@gmx.net>
646 * metricsinfo.C: initialize LyXFont before changing attribute.
647 (fixes the 'math in \emph is upright' bug)
649 2003-10-06 André Pönitz <poenitz@gmx.net>
651 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
653 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
656 * paragraph_pimpl.C: Small fixes to build using STLport
658 2003-10-02 André Pönitz <poenitz@gmx.net>
661 * text3.C: move handling of LFUN_DEPTH *; fix #1360
663 2003-10-01 André Pönitz <poenitz@gmx.net>
665 * factory.C: assert early
667 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
669 * lyx_main.C: remove the global debug object
671 * debug.h: adjust for new debugstream
673 * debug.C: adjust for new debugstream and keep the global debug
676 2003-09-22 Angus Leeming <leeming@lyx.org>
678 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
679 of g++ which otherwise complain that the scoped_ptr destructor can't delete
680 an incomplete class LyXFont.
682 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
684 * factory.C: bug fix in branches
686 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
688 * lyxfunc.C (processKeySym): adjust
690 (dispatch): change arg name from ev to func, adjust
691 (sendDispatchMessage): ditto
693 * lyx_main.C (defaultKeyBindings): adjust keybindings
694 (deadKeyBindings): ditto
696 * kbsequence.C (addkey): return a FuncRequest
698 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
700 * kbmap.C (bind): take a FuncRequest as arg, adjust
703 (defkey): change to take a FuncRequest as arg, adjust
704 (findbinding): take a FuncRequest as arg, adjust.
706 * funcrequest.h (operator=): added
708 * funcrequest.C (FuncRequest): default kb_action changed from
709 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
711 * buffer.C (dispatch): simplify
712 (dispatch): adjust to take a FuncRequest as arg, adjust
714 * boost.C (assertion_failed): change assertion message slightly
716 * ToolbarBackend.C (read): simplify
718 * MenuBackend.C (binding): adjust call to findbinding, add a
719 message if no binding is found.
721 (expandToc): correct by adding a empty FuncRequest
723 * LyXAction.C: include <boost/assert.hpp>
724 (isPseudoAction): delete function
725 (LookupFunc): change name to...
726 (lookupFunc): this. change return type to FuncRequest.
727 (getActionName): take kb_action as arg, simplify
728 (funcHasFlag): add an assert, simplify.
730 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
732 * toc.C (action): return a FuncRequest, simplify
734 * lyxfunc.C (processKeySym): adjust
735 (getStatus): delete version that takes an int.
737 (dispatch): delete version that takes action as int
739 (sendDispatchMessage): simplify and adjust
741 * funcrequest.C (getArg): take unsigned int as arg
743 * ToolbarBackend.C (read): adjust
744 (add): delete version that takes func as a string.
745 (getIton): take a FuncRequest as arg
747 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
750 * MenuBackend.C (MenuItem): add a new construct that only takes a
751 Kind, simplify the constructor use for submenus.
753 (expandLastfiles): adjust
754 (expandDocuments): adjust
755 (expandFormats): adjust
756 (expandFloatListInsert): adjust
757 (expandFloatInsert): adjust
758 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
760 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
761 Remove class variables lyx_pseudo_map and lyx_arg_map
763 * LyXAction.C (searchActionArg): delete function
764 (getPseudoAction): delete function
765 (retrieveActionArg): delete function
766 (LookupFunc): make it return kb_action, simplify.
767 (getActionName): simplify
769 * factory.C (createInset): fix new bug
771 2003-09-19 Angus Leeming <leeming@lyx.org>
773 * CutAndPaste.C (pasteSelection): remove fudge used to set the
774 masterFilename_ parameter in the include inset.
776 * factory.C (createInset): changes due to the changes to InsetInclude.
778 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
780 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
782 2003-09-18 Angus Leeming <leeming@lyx.org>
785 * BufferView.C: pass the buffer when calling Inset::getLabelList,
786 Inset::fillWithBibKeys.
787 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
789 2003-09-18 Angus Leeming <leeming@lyx.org>
791 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
793 (ctor): pass and store a 'Buffer const &'
794 (buffer): new member function.
796 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
797 '*this' to the LaTeXFeatures ctor.
799 2003-09-18 Angus Leeming <leeming@lyx.org>
805 * text.C: rename EnumLColor as LColor_color.
807 2003-09-18 Angus Leeming <leeming@lyx.org>
809 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
810 remove #include "insets/insetbase.h" from cursor.h.
812 2003-09-18 Angus Leeming <leeming@lyx.org>
814 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
815 InsetOld_code to remove #include "inset.h".
817 * iterators.C: add #include "insets/inset.h"
819 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
821 * BufferView.C: remove more locking stuff that apparently doesn't
822 do anything sensible.
824 2003-09-16 André Pönitz <poenitz@gmx.net>
827 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
830 2003-09-16 Angus Leeming <leeming@lyx.org>
832 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
834 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
837 * paragraph.h: remove #include "lyxfont.h". Forward declare
840 2003-09-16 Angus Leeming <leeming@lyx.org>
842 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
843 of support/textutils.h.
844 (isWord): move the contents of support/textutils.h's IsWordChar here.
850 * text2.C: add #include "paragraph.h".
853 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
855 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
861 * LaTeX.C: use namespace alias for lyx::support::os
863 2003-09-16 Angus Leeming <leeming@lyx.org>
866 * bufferview_funcs.C:
871 * text.C: add #include "LColor.h".
873 2003-09-16 Angus Leeming <leeming@lyx.org>
875 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
876 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
878 Store the FontBits::color variable as an int rather than as an
879 LColor::colorso that we can move LColor.h out of the lyxfont.h header
882 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
883 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
884 string calls together.
886 * lyxrc.C: add #include "LColor.h".
888 2003-09-15 Angus Leeming <leeming@lyx.org>
890 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
893 2003-09-15 Angus Leeming <leeming@lyx.org>
895 * LColor.h: add an EnumLColor wrapper for LColor::color.
897 * lyxfont.[Ch] (color, setColor, realColor):
898 * lyxtext.h, text.C (backgroundColor):
899 pass EnumLColor args to/from the functions, rather than LColor::color
903 * lyxtext.h: forward declare EnumLColor.
905 * lyx_main.C: add #include "LColor.h".
907 2003-09-15 Angus Leeming <leeming@lyx.org>
909 * .cvsignore: add lyx-gtk.
911 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
916 * ParagraphParameters.C
930 * vc-backend.C: remove usage of STRCONV
932 2003-09-15 Angus Leeming <leeming@lyx.org>
934 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
935 explicitly define the color passed to the painter.
937 2003-09-15 Angus Leeming <leeming@lyx.org>
939 * bufferparams.C (BufferParams): reorder member initializers to avoid
942 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
944 * CutAndPaste.C (pasteSelection): remove an outdated #warning
945 * text.C (updateRowPositions): remove an unusual nop
947 2003-09-12 André Pönitz <poenitz@gmx.net>
949 * BufferView_pimpl.C:
958 * Counters.[Ch]: finish the 'automatic counters' job
960 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
962 * aspell.C: include <boost/assert.cpp> (compile fix)
964 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
966 * boost.C (assertion_failed): use lyx::support::abort instead of
969 2003-09-10 Angus Leeming <leeming@lyx.org>
971 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
972 with their _fwd progeny.
974 2003-09-09 Angus Leeming <leeming@lyx.org>
976 134 files throughtout the source tree: replace 'using namespace abc;'
977 directives with the appropriate 'using abc::xyz;' declarations.
979 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
981 * boost.C (emergencyCleanup): moved here from LAssert.c
982 (assertion_failed): new function, called by BOOST_ASSERT
984 * several files: change Assert to BOOST_ASSERT
986 2003-09-09 Angus Leeming <leeming@lyx.org>
988 * buffer.[Ch]: Add an Impl class and move Buffer's member
989 variables into it. As a result move several header files out of
992 Add header files to lots of .C files all over the tree as a result.
994 2003-09-09 Angus Leeming <leeming@lyx.org>
996 * buffer.[Ch]: make Buffer's member variables private. Add
999 Lots of changes all over the tree as a result.
1001 2003-09-08 Angus Leeming <leeming@lyx.org>
1003 * graph.C: #include <config.h>.
1005 2003-09-08 Angus Leeming <leeming@lyx.org>
1009 * BufferView_pimpl.C:
1038 * toc.C: remove redundant using directives.
1040 2003-09-07 Angus Leeming <leeming@lyx.org>
1042 * LaTeXFeatures.h: remove #include "support/types.h".
1043 * ToolbarBackend.h: remove #include <algorithm>.
1044 * changes.h: remove #include <ctime>.
1045 * debug.h: remove #include <iosfwd>.
1046 * graph.h: remove #include "support/std_string.h".
1047 * lyx_main.h: remove #include <csignal>.
1048 * lyxlex_pimpl.h: remove #include <fstream>.
1049 * sgml.h: remove #include <algorithm>, <utility>.
1050 * toc.h: remove #include "support/std_ostream.h".
1051 Add #include <iosfwd>.
1053 2003-09-07 Angus Leeming <leeming@lyx.org>
1055 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1057 * converter.h: forward declare LatexRunParams.
1058 * encoding.h: remove #include "lyxrc.h".
1059 * lyxtext.h: remove #include "LColor.h".
1060 * lyxtextclass.h: remove #include "support/types.h".
1061 * trans.h: remove #include "tex-accent.h".
1062 * trans_mgr.h: remove #include "tex-accent.h".
1063 * insets/inset.h: remove #include "support/types.h", <vector>.
1064 * insets/insetcollapsable.h: remove #include "LColor.h".
1065 * insets/insetinclude.h: remove #include "dimension.h".
1066 * insets/insetlatexaccent.h: remove #include "dimension.h".
1067 * insets/insetoptarg.h:: remove #include "insettext.h".
1068 * insets/insettext.h: remove #include "dimension.h",
1069 <boost/shared_ptr.hpp>
1071 * insets/renderers.h: add #include "dimension.h".
1072 * insets/updatableinset.h: add #include "support/types.h".
1074 * many .C files: Associated changes.
1076 2003-09-06 Angus Leeming <leeming@lyx.org>
1078 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1079 one, inside testInvariant.
1081 * PrinterParams.C: new file.
1082 * PrinterParams.[Ch]: move the function bodies out of line.
1084 2003-09-06 Angus Leeming <leeming@lyx.org>
1086 * ParagraphParameters.h: forward declare ParameterStruct rather than
1087 including its header file.
1088 (depth): moved out-of-line.
1090 2003-09-06 Angus Leeming <leeming@lyx.org>
1092 * BufferView_pimpl.h:
1095 * lyxfunc.h: forward declare LyXKeySym rather than
1096 #include "frontends/LyXKeySym.h".
1098 * BufferView_pimpl.C:
1101 * lyxfunc.C: associated changes.
1103 2003-09-06 Angus Leeming <leeming@lyx.org>
1105 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1106 As a result, can remove the #include "insets/inset.h" from BufferView.h
1108 2003-09-06 Angus Leeming <leeming@lyx.org>
1110 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1111 As a result, can remove the #include "insets/inset.h" from BufferView.h
1113 2003-09-06 Angus Leeming <leeming@lyx.org>
1119 * bufferview_funcs.C:
1120 * BufferView_pimpl.C:
1125 * ParagraphParameters.C:
1130 * frontends/controllers/ControlDocument.C:
1131 * insets/insetcaption.C: rearrange the #includes into some sort of
1134 * buffer.h: remove #includes ErrorList.h, undo.h
1136 2003-09-06 Angus Leeming <leeming@lyx.org>
1138 * support/types.h: add a 'depth_type' typedef, used to store the
1139 nesting depth of a paragraph.
1142 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1143 defining explicitly.
1146 * paragraph_funcs.h:
1147 * ParagraphParameters.h:
1148 * sgml.h: use lyx::depth_type rather than Paragraph or
1149 ParameterStruct's depth_type.
1152 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1155 * BufferView_pimpl.C:
1157 * ParagraphParameters.C:
1160 * bufferview_funcs.C:
1167 * frontends/LyXView.C:
1168 * frontends/controllers/ControlDocument.C:
1169 * frontends/controllers/ControlErrorList.C:
1170 * insets/insetbibitem.C:
1171 * insets/insetbranch.C:
1172 * insets/insetcaption.C:
1173 * insets/insetcollapsable.C:
1174 * insets/insetenv.C:
1175 * insets/insetert.C:
1176 * insets/insetfloat.C:
1177 * insets/insetfoot.C:
1178 * insets/insetfootlike.C:
1179 * insets/insetnewline.C:
1180 * insets/insetquotes.C:
1181 * insets/insettabular.C:
1182 * insets/insettext.C:
1183 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1185 * frontends/controllers/ControlChanges.C: #include "changes.h".
1187 2003-09-06 Angus Leeming <leeming@lyx.org>
1189 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1190 than #including paragraph.h.
1193 * RowList.h: deleted. Superfluous.
1203 * insets/insettext.h: use ParagraphList_fwd.h rather than
1206 * paragraph.h: don't forward declare ParagraphList.
1209 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1210 rather than ParagraphList.h. paragraph.h is still needed for the
1211 Paragraph::depth_type parameters.
1213 * textcursor.h: enable it to compile stand-alone in light of the
1216 * bufferview_funcs.C:
1228 * frontends/controllers/ControlParagraph.C:
1229 * frontends/controllers/ControlTabular.C:
1230 * insets/insetmarginal.C:
1231 * insets/insetminipage.C:
1232 * insets/insetnote.C:
1233 * insets/insetoptarg.C: add header files needed to compile again.
1235 2003-09-06 Angus Leeming <leeming@lyx.org>
1237 * RowList_fwd.h: new file, forward-declaring Row rather than
1238 #including lyxrow.h.
1243 * insets/insettext.h: use it instead of RowList.h
1245 * bufferview_funcs.C:
1252 * text3.C: #include "RowList.h".
1254 2003-09-05 Angus Leeming <leeming@lyx.org>
1256 * factory.C (createInset):
1257 * vspace.C (c-tor): replace sscanf call with an istringstream.
1258 * ispell.C: re-add missing HP/UX headers.
1259 * lyxserver.C: re-add missing os2 headers.
1261 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1270 * text3.C: re-add missing system headers, needed for 2.95.2.
1272 2003-09-05 Angus Leeming <leeming@lyx.org>
1274 Changes most place everywhere due to the removal of using directives
1275 from support/std_sstream.h.
1277 2003-09-05 Angus Leeming <leeming@lyx.org>
1279 Replace LString.h with support/std_string.h,
1280 Lsstream.h with support/std_sstream.h,
1281 support/LIstream.h with support/std_istream.h,
1282 support/LOstream.h with support/std_ostream.h.
1284 Changes resulting throughout the tree.
1286 2003-09-05 Angus Leeming <leeming@lyx.org>
1288 * sgml.h: ensure that the header file can be compiled stand-alone.
1289 * *.C: strip out redundant #includes. (320 in total.)
1291 2003-09-04 Angus Leeming <leeming@lyx.org>
1293 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1294 here (from getPackages).
1296 * debug.[Ch]: add a new EXTERNAL tag.
1298 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1300 * text2.C (cursorEnd): simplify
1302 (getColumnNearX): adjust
1304 * text.C (computeBidiTables): adjust
1307 * rowpainter.C (paintChars): adjust
1308 (paintSelection): adjust
1309 (paintChangeBar): adjust
1312 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1314 (numberOfSeparators): adjust
1316 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1322 * text3.C: Restricts the mouse click functionality
1323 of insets like bibtex, include, toc and floatlist to the visible
1324 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1325 up the dialogs. Cursor has to be in front of the inset (i.e.
1326 start of row) for this to function.
1328 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1330 * bufferview_funcs.C (currentState): output row information
1332 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1334 * bufferview_funcs.C (currentState): output paragraph position
1336 2003-09-04 Angus Leeming <leeming@lyx.org>
1338 * FloatList.h: move out #include "Floating.h".
1339 * LaTeX.h: move out #include "DepTable.h".
1340 * LyXAction.h: move out #include "funcrequest.h".
1341 * buffer.h: move out #include "author.h", "iterators.h".
1342 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1343 * lyx_main.h: move out #include "errorlist.h".
1344 * lyxfunc.h: move out #include "FuncStatus.h".
1345 * lyxtext: move out #include "lyxcursor.h".
1346 * paragraph_pimpl.h: move out #include "counters.h".
1348 2003-09-03 Angus Leeming <leeming@lyx.org>
1350 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1351 preamble_snippets list, enabling us to add snippets to the preamble
1352 only if the snippet was not there already.
1354 2003-09-04 Angus Leeming <leeming@lyx.org>
1356 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1358 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1360 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1363 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1365 * BranchList.C: point fix, earlier forgotten
1367 2003-09-02 Angus Leeming <leeming@lyx.org>
1369 * box.C (contains): renamed from 'contained' after a fantastic
1372 2003-09-02 John Levon <levon@movementarian.org>
1378 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1380 2003-09-02 John Levon <levon@movementarian.org>
1382 * text2.C: simplification of cursorEnd(), including partial
1385 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1387 * buffer.C (readFile): add a space
1389 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1391 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1393 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1395 * buffer.C (readFile): new function, take a filename and a
1396 ParagraphList::iterator
1398 (readFile): adjust, make it private. don't use setStream, make
1399 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1400 always contain the filename.
1402 * BufferView.C (insertLyXFile): simplify and make it work for
1405 2003-08-30 John Levon <levon@movementarian.org>
1407 * Makefile.am: fix dist (from Kayvan)
1409 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1411 * most files: change to use const Buffer refs
1413 2003-08-27 André Pönitz <poenitz@gmx.net>
1415 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1416 on top of ownerPar().
1418 2003-08-27 John Levon <levon@movementarian.org>
1420 * funcrequest.C: properly initialise POD members
1422 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1424 * lyxtext.h (top_y): move top_y from here
1429 * BufferView_pimpl.[Ch]: to here
1430 * frontends/screen.C:
1431 * insets/insettabular.C:
1432 * insets/insettext.C: adjust
1433 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1435 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1438 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1440 2003-08-26 André Pönitz <poenitz@gmx.net>
1442 * paragraph_func.[Ch] (outerPar): new function
1445 * paragraph_funcs.C:
1446 * paragraph_funcs.h:
1447 * paragraph_pimpl.C:
1448 * text2.C: remove Inset::par_owner
1450 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1455 * text2.C: eliminates the needFullRow/display() stuff
1456 altogether, putting the logic in metrics/draw in the insets.
1458 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1460 * text2.C (redoParagraphInternal, redoParagraphs):
1461 * text.C (redoParagraph): add a call to updateRowPositions at the
1462 end of each 'metrics-like' call. Remove all others.
1463 (getRow): remove the 'y-computing' version.
1464 (getRowNearY): do not compute nor return the real y. Solve the
1465 'y < 0' problem and simplify.
1467 2003-08-22 Angus Leeming <leeming@lyx.org>
1469 * *.[Ch]: clean-up of licence and author blurbs.
1470 Also move config.h out of a few .h files and into a few .C files.
1472 2003-08-22 André Pönitz <poenitz@gmx.net>
1474 * lyxrow.[Ch]: add x_ and *fill_ members
1479 * text2.C: adjust/remove prepareToPrint() calls
1481 2003-08-22 André Pönitz <poenitz@gmx.net>
1483 * lyxrow.[Ch]: add end_ member
1485 * lyxrow_funcs.C: use LyXRow::end_
1487 * lyxtext.h (singleWidth): add LyXFont parameter
1490 * text2.C: adjust LyXText::singleWidth() calls
1492 * text.C (redoParagraph): simplify row breaking logic
1495 2003-08-19 André Pönitz <poenitz@gmx.net>
1497 * funcrequest.C: initialize button_ member
1500 * rowpainter.[Ch]: interface consolidation
1502 2003-08-18 André Pönitz <poenitz@gmx.net>
1505 * BufferView_pimpl.C:
1507 * paragraph_funcs.C:
1509 * text3.C: remove LyXScreen::draw() and fitCursor calls
1511 * BranchList.h: remove spurious semicolons
1513 * MenuBackend.C: fix branchlist related crash
1515 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1523 * bufferparams.[Ch]:
1527 * text3.C: implements the 'branch inset'
1528 idea. This allows the output of various versions of a document
1529 from a single source version, selectively outputing or suppressing
1530 output of parts of the text.
1531 This implementation contains a 'branch list editor' in a separate
1532 tab of the document settings dialog. Branches are user definable
1533 and have a "display colour" to distinguish them on-screen.
1535 ColorHandler was somewhat cleaned up.
1536 (1) make possible a dynamically growing LColor list by allowing
1537 the graphic context cache to grow along (vector);
1538 (2) eliminate an IMHO unnecessary step in colour allocation.
1540 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1542 * BufferView_pimpl.C: compile fix
1544 2003-08-15 André Pönitz <poenitz@gmx.net>
1546 * rowpainter.C: remove extra metrics calls
1548 * lyxtext.h: merge the two constructors into a single one,
1549 pass reference to owner's par list
1551 * BufferView_pimpl.C:
1555 2003-08-15 André Pönitz <poenitz@gmx.net>
1557 * lyxrow_funcs.[Ch]:
1560 * paragraph_funcs.C:
1565 * text_funcs.C: split LyXText::rowlist_ into individual
1566 Paragraph::rows_ chunks
1569 * BufferView_pimpl.[Ch]:
1572 * text3.C: remove toggleSelection()
1574 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1576 * bufferlist.C: beautify two alerts (shorter text of buttons)
1577 * buffer.C: Remove redundant ' ' from message
1579 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1580 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1581 rename VALIGN_CENTER to VALIGN_MIDDLE
1583 2003-08-11 André Pönitz <poenitz@gmx.net>
1585 * lyxtext.h (getPar):
1586 * text.C: new function
1588 2003-08-11 André Pönitz <poenitz@gmx.net>
1591 * tracer.[Ch]: remove unneeded files
1593 * InsetList.[Ch]: remove resizeInsetsLyXText()
1598 * text3.C: merge insertParagraphs() and appendParagraph()
1599 remove breakAgain(), update()
1601 * BufferView_pimpl.[Ch]:
1602 * bufferview_funcs.[Ch]:
1606 * tabular.C: adjust after text & InsetList changes.
1608 2003-08-08 André Pönitz <poenitz@gmx.net>
1610 * text.C (insertChar, backspace): replace rowlist fiddling
1611 with rebreak of full par
1614 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1615 checkParagraph, updateInset): removed
1617 2003-08-07 André Pönitz <poenitz@gmx.net>
1620 * text3.C: merge some LFUN handlers, remove dead code
1622 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1624 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1626 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1628 * text2.C (DEPM): fix part of bug 1255 and 1256
1630 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1632 * BufferView_pimpl.C (workAreaDispatch): change to use
1633 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1634 that are no mouse related.
1636 2003-08-05 André Pönitz <poenitz@gmx.net>
1639 * BufferView_pimpl.[Ch]:
1640 * bufferview_funcs.C:
1642 * text3.C: rip out "deep update"
1644 * textcursor.[Ch] (last_sel_cursor): remove unused member
1646 2003-08-04 André Pönitz <poenitz@gmx.net>
1649 * BufferView_pimpl.[Ch]:
1650 * ParagraphParameters.C:
1651 * bufferview_funcs.C:
1657 * text3.C: replace "complicated" BufferView::update(...) calls with
1660 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1662 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1664 * Makefile.am (lyx_SOURCES): add paper.h
1666 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1668 * Makefile.am: move things around so that both lyx-qt and
1669 lyx-xforms can be built (according to --with-frontend). Then lyx
1670 is a symbolic link to lyx-[firstfrontend]
1672 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1674 * Always use std::endl with lyxerr
1676 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1678 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1680 2003-08-01 André Pönitz <poenitz@gmx.net>
1683 * BufferView_pimpl.[Ch]:
1685 * text3.C: merge BufferView::repaint() and BufferView::update()
1687 2003-08-01 José Matos <jamatos@lyx.org>
1689 * buffer.[Ch]: file_format is no longer a buffer data element.
1691 2003-08-01 André Pönitz <poenitz@gmx.net>
1696 * text2.C: make redoParagraph more independent of current cursor
1698 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1700 * text2.C: remove unneeded members
1702 2003-07-30 André Pönitz <poenitz@gmx.net>
1704 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1706 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1707 create a single function...
1709 * paragraph_funcs.C (moveItem): ... here.
1712 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1714 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1716 * LColor.[Ch]: Add comment and greyedout logical colors.
1718 2003-07-30 André Pönitz <poenitz@gmx.net>
1720 * tabular.C: don't use Assert too heavily. This crashes where it
1723 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1725 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1726 is disabled (bug 1232)
1728 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1730 * factory.C: limited 'arg' scope
1732 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1734 * factory.C: fixed Note submenu issues
1736 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1738 * factory.C: submenu for Note/Comment/Greyedout
1740 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1743 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1745 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1748 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1749 greyedout. Patch provided by Jürgen Spitzmüller.
1751 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1753 * kbmap.C (read): fix error message when reading bind files
1755 2003-07-29 Angus Leeming <leeming@lyx.org>
1757 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1758 certainly does not do what it purports to do. I am doing it, and
1759 us, a favour by killing it.
1761 2003-07-28 José Matos <jamatos@lyx.org>
1763 * buffer.C (readBody, do_writeFile):
1764 * paragraph.C(readParagraph): \end_document replaces \the_end.
1766 2003-07-29 André Pönitz <poenitz@gmx.net>
1769 * BufferView_pimpl.[Ch]:
1773 * textcursor.[Ch]: remove toggleToggle & Co
1775 2003-07-28 José Matos <jamatos@fep.up.pt>
1777 * buffer.C (readParagraph):
1778 * params_func (readParToken, readParagraph):
1779 * paragraph.C (write): \layout -> \begin_layout.
1781 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1783 * lyxlex_pimpl.C (setFile): clean up slightly.
1785 * bufferparams.h: add compressed var
1787 * buffer_funcs.C (readFile): adjust for LyXLex change
1788 (newFile): ditto + simplify
1790 * buffer.C (writeFile): handle writing of compressed files
1792 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1793 Check if the file is compressed and set a bufferparm if so.
1795 * Makefile.am (lyx_LDADD): remove explicit -lz
1797 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1799 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1800 makeDocBookFile): put the real LyX version in the first line of
1804 * version.C.in: remove lyx_docversion
1806 * tabular.C (write_attribute): add a template-based version to
1807 write enums properly
1809 2003-07-28 André Pönitz <poenitz@gmx.net>
1814 * text3.C: use doubles again for x-coordinates. They are needed.
1816 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1818 * messages.C (getLocaleDir): use lyx_localedir()
1820 * lyxlex_pimpl.C (setFile): compress stuff
1822 * buffer.C (writeFile): add some compression stuff
1823 (do_writeFile): new func, dont call expliti close... will this
1826 * Makefile.am (lyx_LDADD): add -lz
1828 2003-07-28 José Matos <jamatos@fep.up.pt>
1830 * buffer.C: increment file format.
1831 * paragraph_funcs (readParagraph, readParToken):
1832 * paragraph.C (readParagraph): add \end_layout.
1834 2003-07-27 Angus Leeming <leeming@lyx.org>
1836 * Makefile.am: remove special casing for configure-time setting of
1837 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1839 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1840 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1842 2003-07-26 André Pönitz <poenitz@gmx.net>
1844 * paragraph_func.[Ch]:
1845 * paragraph.C (realizeFont): inline it whereever it is used
1850 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1853 2003-07-26 André Pönitz <poenitz@gmx.net>
1857 * text2.C: get rid of LyXText::need_break_row
1859 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1861 * toc.[Ch]: put namespace toc inside namespace lyx
1863 * MenuBackend.C (expandToc2): adjust for lyx::toc
1866 * lyxfunc.C (dispatch): adjust for lyx::find
1868 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1869 lyx::find instead. Reorganize a bit.
1870 (LyXReplace): rename to replace
1871 (LyXFind): rename to find
1873 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1876 2003-07-26 André Pönitz <poenitz@gmx.net>
1878 * text.C (setHeightOfRow): restrict scope of temporary variable
1880 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1881 code (never has been used?)
1883 2003-07-27 Asger Alstrup <alstrup@local>
1885 * text.C (fill): Optimise algorithm to exploit that we can reuse
1886 the LyXFont for many characters.
1887 (setHeightOfRow): Same thing.
1888 (rowBreakPoint): Same thing.
1890 2003-07-26 Asger Alstrup <alstrup@local>
1892 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1894 * text.C (singleWidth): Spurious font copying in hot-spot
1895 singleWidth avoided. Reorder tests for arabic for efficiency.
1897 * text.C (fill): handle empty paragraphs better.
1899 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1902 * encoding.h: add includes
1904 * lyxrc.C: remove reading of bind files
1906 * lyx_main.C (init): setup bindings and menus only if we have a
1909 * kbmap.C (read): new method. Do the actual reading of bind
1912 * converter.C (dvipdfm_options):
1915 (output): adapt PAPER_* enums.
1917 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1919 * bufferparams.h: remove paper-related enums from there
1921 * paper.h: New file. A trivial header file to hold paper-related
1922 enums. It should later expand to contain many paper-related
1925 * lyxrc.C: declare extern displayTranslator
1927 2003-07-27 José Matos <jamatos@fep.up.pt>
1929 * tabular.[Ch] (linuxdoc): add support for tables and figures
1932 2003-07-27 José Matos <jamatos@fep.up.pt>
1934 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1935 consistency in both functions.
1936 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1938 2003-07-26 Asger Alstrup <alstrup@local>
1940 * rowpainter.C (paintRows): Change algorithm to work directly on
1941 the insets rather than asking every character in the document
1942 whether its an inset.
1944 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1946 * buffer.C (openFileWrite): factorize some code
1948 2003-07-26 Angus Leeming <leeming@lyx.org>
1951 * lyx_main.[Ch]: replace occurances of system_tempdir with
1954 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1956 * rename Inset to InsetOld
1958 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1960 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1961 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1962 which I think is a bit clearer. EDIT is gone, since it was
1963 premature optimisation, and broken for mathed anyway.
1964 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1965 with cursor positioning in insets as well (math insets still do not
1966 work, but that's a different story anyway.) It mysteriously
1967 crashes sometimes with undo in the first paragraph, but I'm fairly
1968 confident that this is a compiler bug.
1970 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1972 * paragraph.C (Paragraph): adjust for new clone return type
1974 (copyIntoMinibuffer): ditto
1976 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1978 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1979 by not having a special case, and always doing a full rebreak of
1980 the document after undo.
1982 2003-07-23 Angus Leeming <leeming@lyx.org>
1984 * factory.C (createInset): InsetExternal::setParams now takes a
1987 2003-07-23 Angus Leeming <leeming@lyx.org>
1989 * factory.C (createInset): changed interface to the external and
1990 graphics mailers' string2params functions.
1992 2003-07-23 Angus Leeming <leeming@lyx.org>
1994 * factory.C (createInset): pass a
1995 Buffer const * parameter to InsetExternalMailer's string2params.
1997 2003-07-22 John Levon <levon@movementarian.org>
1999 * Thesaurus.h: include the right aiksaurus header
2001 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2003 * MenuBackend.C (expand): check menu shortcuts unconditionally
2005 2003-07-21 Angus Leeming <leeming@lyx.org>
2007 * factory.C (createInset): pass a
2008 buffer_path parameter to InsetGraphicsMailer's string2params.
2010 2003-07-21 Angus Leeming <leeming@lyx.org>
2012 * BufferView_pimpl.C (buffer):
2015 * lyxfunc.C (dispatch):
2016 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2017 rather than the grfx shortcut.
2019 2003-07-21 André Pönitz <poenitz@gmx.net>
2021 * rowpainter.C: remove unused variables
2024 * tabular_funcs.h: move to tabular.C
2025 * Makefile.am: adjust
2027 * tabular.[Ch]: basic optical cleaning
2029 * author.h: pass references, not values
2031 2003-07-18 André Pönitz <poenitz@gmx.net>
2039 * text3.C: two-phase drawing for InsetText and InsetTabular
2040 some float -> int changes.
2042 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2044 * lyx_main.C: fix the fix
2046 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2048 * lyx_main.C: fix a crash in batch mode if no files specified
2051 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2053 * format.[Ch] (papersize): moved to BufferParams
2054 * converter.[Ch] (dvips_options): moved to BufferParams
2055 (dvipdfm_options): moved to anon namespace
2056 * bufferparams.[Ch]: added above functions.
2058 2003-07-17 André Pönitz <poenitz@gmx.net>
2062 * text2.C: don't call inset->update() anymore
2064 * metricsinfo.[Ch]: add convenience constructor
2066 2003-07-16 André Pönitz <poenitz@gmx.net>
2071 * text2.C: replace the LyXCursor::irow_ member with
2072 on-demand computation of the value
2074 2003-07-16 John Levon <levon@movementarian.org>
2076 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2078 2003-07-15 André Pönitz <poenitz@gmx.net>
2081 * text2.C: remove no more needed refresh_row
2083 2003-07-15 André Pönitz <poenitz@gmx.net>
2088 * text3.C: refresh_status tristate -> need_update bool
2090 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2092 * lyxtext.h (init): remove reinit argument (act as if always true)
2093 * text2.C: adjust to that
2095 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2097 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2098 * text3.C: use it to delete selections in some cases
2099 (bugs 441, 673, 702, 954).
2101 2003-07-14 André Pönitz <poenitz@gmx.net>
2103 * rowpainter.[Ch]: reduce interface
2105 2003-07-14 André Pönitz <poenitz@gmx.net>
2107 * BufferView_pimpl.C:
2108 * text2.C: adjust after removing unused BufferView * argument
2110 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2112 * text2.C (init): fix a crash fired on resize
2114 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2116 * buffer.[Ch]: added new closing signal
2117 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2118 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2119 BufferView::Pimpl via the closing the signal
2121 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2123 * buffer.[Ch]: take out all bv-related from buffer
2125 * BufferView_pimpl.[Ch]: connect to new signals
2126 * CutAndPaste.C: removed useless asserts
2127 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2130 * lyxfunc.C: moved view-related funciontality from vc here
2131 * paragraph.C: removed outdated comments
2134 2003-07-10 André Pönitz <poenitz@gmx.net>
2136 * BufferView_pimpl.C:
2140 * text2.C: remove InsetText::InnerCache, clean up consequences
2142 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2144 * ispell.C: fix two typos in error messages
2146 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2148 * Extend Note inset to other forms of annotation like Comment
2149 and Greyedout. Right button click gives dialog.
2151 Files modified or added (+):
2155 * ControlNote.[Ch] +
2157 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2158 frontends/controllers
2162 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2164 * aspell.C: add missing namespace lyx::support
2166 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2168 * BufferView.[Ch] (newFile): Add
2169 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2170 * LaTeX.[Ch] (message): added this signal and use it
2171 * buffer.[Ch] (busy, message): added these signals and use them
2172 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2176 * importer.C: use buffer signals instead of direct bv calling
2177 * lyx_cb.[Ch] (ShowMessage): removed
2180 * paragraph_funcs.C:
2181 * text2.C: use buffer signals
2183 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2185 * introduce namespace lyx::graphics
2187 2003-07-02 André Pönitz <poenitz@gmx.net>
2189 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2191 2003-07-01 André Pönitz <poenitz@gmx.net>
2198 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2199 text*.C to text_func.C
2201 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * introduce namespace lyx::support
2205 2003-06-30 André Pönitz <poenitz@gmx.net>
2210 * text.C: re-enable --with-included-string
2212 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2214 * textcursor.C: add <config.h>
2216 * text.C (getWord): remove const from word_location arg
2218 * lyxvc.C (getLogFile): fix const type order
2220 * lyxtext.h: remove const from word_location arg, add arg name
2222 * lyxlayout.h: currect type on labeltype.
2224 * importer.C: correct \file
2226 * converter.C (intToFormat): use std:: on ret val, ws changes
2228 * bufferlist.h: correct \file
2230 * buffer.C (makeLinuxDocFile): fix const type order
2231 (makeDocBookFile): ditto
2232 (fillWithBibKeys): use std:: on stdlib args.
2234 * CutAndPaste.C: fix authors.
2235 (availableSelections): use std:: on return vector
2237 2003-06-27 André Pönitz <poenitz@gmx.net>
2239 * BufferView_pimpl.C:
2240 * bufferview_funcs.C:
2248 * text3.C: remove LyXCursor::row_ member
2251 * text.C: rename fullRebreak() to partialRebreak() and implement
2252 a fullRebreak() that really bereks fully
2254 * textcursor.h: new struct for cursor-related data
2256 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2258 * lyx_main.C (LyX): get full path of document loaded on the
2261 2003-06-26 André Pönitz <poenitz@gmx.net>
2263 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2264 remove unused/broken operator>,<,>=.
2266 * text.C: remove only use of broken operator<= in an Assert().
2268 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2270 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2271 moved errorlist_.clear to showErrorList
2273 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2275 * converter.C (scanLog, runLaTeX):
2276 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2277 move the bv->showErrorList call to the callers
2278 * lyxfunc.C: i.e. here...
2280 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2281 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2282 namespace, the second to...
2283 * buffer_funcs (BufferFormat, parseErrors): added
2284 * errorlist.C (ErrorList(TeXErrors const &)): removed
2286 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2288 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2290 2003-06-24 "Garst R. Reese" <reese@isn.net>
2294 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2296 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2298 * version.C.in: change docversion to 1.4
2300 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2302 * buffer.C: fix a bug just introduced
2304 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2306 * buffer.[Ch]: added the parseError signal and use it, removed
2308 * BufferView.[Ch] (addError): moved to ...
2309 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2310 to the Buffer::parseError signal to catch (guess what) parse errors
2311 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2313 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2315 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2316 ability to create a buffer and to return an existing one from
2317 the list. Moved these functions to...
2318 * buffer_funcs.[Ch]: added
2319 * BufferView.[Ch] (loadLyXFile): added
2320 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2321 job removed from bufferlist::loadLyXFile.
2322 * buffer.C (setReadOnly): make it work without view
2323 (i.e added an if (users))
2325 2003-06-19 Angus Leeming <leeming@lyx.org>
2328 * LyXAction.C (init):
2329 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2330 with LFUN_DIALOG_SHOW <name> <data>.
2332 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2334 * CutAndPaste.C (availableSelections): small compilation fix for
2335 ancient (gcc 2.9x) compilers
2337 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * text3.C (cursorNext): add tmp var
2341 * text2.C (updateCounters): for function calling out of for clause
2342 (replaceSelectionWithString): ditto
2343 (insertStringAsParagraphs): ditto
2344 (getColumnNearX): add tmp var
2345 (setCursorFromCoordinates): add tmp var
2346 (cursorDownParagraph): add tmp var
2347 (deleteEmptyParagraphMechanism): add tmp var
2349 * text.C (insertChar): add tmp var
2351 * rowpainter.C (paintDepthBar): add tmp var
2353 * CutAndPaste.C (availableSelections): potentially check all
2354 paragraphs in a cut to fill the shown strings.
2356 2003-06-18 André Pönitz <poenitz@gmx.net>
2358 * kbmap.[Ch]: use vector<> instead of list<>
2360 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2362 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2363 pasteSelection with index
2365 * text2.C (pasteSelection): modify, call pasteSelection with index
2367 * paragraph.C (asString): reimplement version with no interval to
2368 call the one with interval.
2370 * lyxtext.h: add index arg to pasteSelection
2372 * MenuBackend.C (MenuItem): handle PasteRecent
2373 (Menu::read::Menutags): add md_pasterecent
2375 (expandPasteRecent): new function
2378 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2380 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2382 (availableSelections): new function
2384 2003-06-17 Angus Leeming <leeming@lyx.org>
2386 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2388 2003-06-17 Angus Leeming <leeming@lyx.org>
2391 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2393 * lyxfunc.C (dispatch): invoke it.
2395 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2397 * iterators.C (operator++, ParPosition): reintroduce some
2398 const_cast for the benefit of older compilers.
2400 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2402 * text3.C (dispatch): do not modify clipboard when doing
2403 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2404 LFUN_DELETE_SKIP on a selection selection
2406 2003-06-16 André Pönitz <poenitz@gmx.net>
2412 * tabular.[Ch]: IU of clone() and getLabelList();
2414 2003-06-13 André Pönitz <poenitz@gmx.net>
2416 * tabular.h: compactification
2418 2003-06-12 André Pönitz <poenitz@gmx.net>
2422 * tabular_funcs.h: some renaming plus whitespace
2424 2003-06-12 André Pönitz <poenitz@gmx.net>
2427 * BufferView_pimpl.C:
2433 * toc.C: Return a Paragraph & for ParIterator::operator*()
2435 2003-06-11 John Levon <levon@movementarian.org>
2439 * ToolbarBackend.C: add "Toolbars" section and
2442 2003-06-10 Angus Leeming <leeming@lyx.org>
2445 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2447 * lyxfunc.C (dispatch): invoke it.
2449 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2451 * main.C: protect <ios> with HAVE_IOS
2452 (main): protect sync_with_stdio with HAVE_IOS
2454 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2456 * text2.C (cutSelection): adjust
2457 (pasteSelection): adjust
2459 * messages.C: handle get of empty string
2461 * main.C (main): use sync_with_stdio(false)
2463 * lyxfunc.C (dispatch): adjust
2465 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2466 (WriteAs): remove unneeded BufferView arg.
2468 * bufferparams.h: use correct types on papersize, papersize2 and
2471 * bufferparams.C (readToken): adjust for type
2472 (writeLaTeX): add missing cases to switch.
2474 * bufferlist.C (quitWriteBuffer): adjust
2477 * buffer.C (asciiParagraph): remove some commented code.
2479 * CutAndPaste.C: remove current_view extern variable.
2480 (cutSelection): add BufferParams arg.
2481 (eraseSelection): add BufferParams arg.
2482 (pasteSelection): add Buffer const & arg
2484 2003-06-07 John Levon <levon@movementarian.org>
2487 * paragraph_funcs.C:
2488 * paragraph_pimpl.C:
2492 * paragraph.C: allow InsetERT to freely space lines,
2493 and some consolidation of code
2495 2003-06-06 José Matos <jamatos@fep.up.pt>
2497 * buffer.C (makeDocBookFile): fix bug #821
2499 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2501 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2503 2003-06-04 Angus Leeming <leeming@lyx.org>
2505 * buffer.C: bump format to 224.
2507 2003-06-05 André Pönitz <poenitz@gmx.net>
2509 * text2.C (redoParagraphs): remove two const_cast<>
2511 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2513 * ParagraphList.h: remove last remnants of NO_STD_LIST
2515 2003-06-03 Angus Leeming <leeming@lyx.org>
2517 * factory.C (createInset): small change to the way InsetExternal's params
2520 2003-06-04 André Pönitz <poenitz@gmx.net>
2522 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2524 * paragraph_pimpl.h:
2525 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2527 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2529 * undo_funcs.C: make some simple cases of undo work again
2531 2003-06-03 John Levon <levon@movementarian.org>
2533 * ispell.C: HPUX doesn't have sys/select.h
2536 2003-06-03 John Levon <levon@movementarian.org>
2538 * CutAndPaste.C: update tabular and include inset
2543 * paragraph.C: remove owningBuffer(), don't pass Buffer
2546 * factory.C: insetGraphicsParams changed
2548 2003-06-02 John Levon <levon@movementarian.org>
2554 * text3.C: remove insetparent
2556 2003-06-02 John Levon <levon@movementarian.org>
2559 * buffer.C: fix inset_iterator.end(), move out of line
2562 2003-06-01 John Levon <levon@movementarian.org>
2564 * text3.C: use a proper cut/paste when doing inset
2565 insert (from Jürgen Spitzmüller)
2567 2003-06-01 John Levon <levon@movementarian.org>
2569 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2571 2003-05-30 André Pönitz <poenitz@gmx.net>
2573 * rowpainter.C: unify second drawing phase
2575 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2577 * trans_mgr.C: remove one case of current_view
2579 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2581 * paragraph_funcs.h: remove paragraph.h include
2583 * paragraph.h: delete NO_STD_LIST stuff
2585 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2587 * buffer.h: remove paragraph.h include
2589 * ParagraphList.C: delete file
2591 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2593 * toc.C (getTocList): adjust
2595 * paragraph_pimpl.C (validate): adjust
2597 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2599 * paragraph.C (Paragraph): adjust
2600 (getPositionOfInset): use const_iterator, adjust
2601 (bibitem): use const_iterator, adjust
2602 (setInsetOwner): adjust
2604 * iterators.C (operator++): adjust
2606 * InsetList.[Ch]: Replace selfmade iterator with standard
2607 vector::iterator also introduce const_iterator. Remove getPos,
2608 getInset and setInset from InsetTable. Adjust accordingly.
2610 * BufferView.C (lockInset): adjust
2611 (ChangeInsets): adjust
2613 * tabular.[Ch]: delete commented same_id functions
2615 2003-05-28 John Levon <levon@movementarian.org>
2617 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2619 2003-05-28 André Pönitz <poenitz@gmx.net>
2621 * metricsinfo.[Ch]: remove 'fullredraw' member
2623 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2625 * lyxtextclass.C (operator): remove caching.
2627 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2631 * text2.C (cursorBottom): adjust
2632 (setCounter): use ParagraphList::find, adjust
2634 * text.C (workWidth): use ParagraphList::find, adjust
2636 * lyxcursor.C (LyXCursor): adjust
2638 * buffer.C (inset_iterator): adjust
2640 * ParagraphList.h: make iterator(value_type) private, make
2641 ParagraphList a friend of iterator.
2643 * ParagraphList.C (find): new function
2645 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2647 2003-05-27 André Pönitz <poenitz@gmx.net>
2649 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2651 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2653 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2655 2003-05-26 John Levon <levon@movementarian.org>
2657 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2659 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2661 * remove same_id from function signatures, adjust.
2663 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2665 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2667 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2669 * paragraph.C (Paragraph): get rid of same_ids parameter
2671 * ParagraphList.C (insert): adjust
2674 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2676 * paragraph_funcs.C (breakParagraph): adjust
2677 (breakParagraphConservative): adjust
2679 * buffer.C (readParagraph): adjust
2681 * ParagraphList.C (insert): take a reference instead of a pointer
2684 * paragraph.[Ch] (id): new function
2686 * bufferlist.C (newFile): adjust
2688 * ParagraphList.C (ParagraphList): adjust
2690 (push_back): take a reference instead of a pointer.
2692 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2694 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2697 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2698 set else use old code.
2700 * ParagraphList.C: remove all NO_NEXT code and only compile this
2701 code of NO_STD_LIST is set.
2703 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2705 * BufferView_pimpl.C:
2715 * graphics/GraphicsConverter.C:
2716 * graphics/PreviewLoader.C: header adjustment
2718 2003-05-23 Angus Leeming <leeming@lyx.org>
2720 * LaTeXFeatures.[Ch] (useBabel): new method.
2721 * bufferparams.C (writeLaTeX): use it.
2723 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2725 * ParagraphList.h (set): remove unused function.
2727 2003-05-23 André Pönitz <poenitz@gmx.net>
2730 * BufferView_pimpl.C:
2734 * undo_funcs.C: setUndo reworked
2736 * iterators.[Ch]: add access to topmost ParagraphList
2738 * lyxtext.[Ch] (workWidth): add a const
2740 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2742 * texrow.[Ch] (increasePos): remove function
2743 * exporter.C (export): removed unused var and outdated comment
2745 2003-05-23 Angus Leeming <leeming@lyx.org>
2747 * latexrunparams.h: rename fragile as moving_arg.
2748 * paragraph.C (simpleTeXOnePar): ditto.
2749 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2751 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2753 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2755 (textUndoOrRedo): comment out a currently unused var.
2757 * paragraph.h (NO_NEXT): enable NO_NEXT
2759 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2761 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2763 * exporter.C (Export): adjust for removeAutoInsets removal.
2765 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2767 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2769 * BufferView.[Ch] (removeAutoInsets): delete function
2771 2003-05-22 Angus Leeming <leeming@lyx.org>
2773 * latexrunparams.h: add a free_spacing variable.
2775 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2776 to pass moving_arg, as the data is stored in runparams.fragile.
2778 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2779 to Inset::latexOptional or to simpleTeXOnePar.
2781 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2782 free_spacing arg to Inset::latexOptional.
2784 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2787 2003-05-22 Angus Leeming <leeming@lyx.org>
2789 * latexrunparams.h: add fragile and use_babel variables.
2791 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2792 * buffer.C (makeLaTeXFile): store this returned value in
2793 runparams.use_babel, thus passing it to the inset::latex methods.
2795 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2796 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2798 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2799 longer has a fragile arg, as it is stored in runparams.fragile.
2801 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2802 moving_arg parameter as the data is stored in runparams.fragile.
2804 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2805 a fragile parameter as the data is stored in runparams.fragile.
2807 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2809 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2811 2003-05-22 Angus Leeming <leeming@lyx.org>
2813 * latexrunparams.h: add a 'bool nice' which defaults to false.
2815 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2816 now encapsulated within runparams.
2818 * bufferlist.C (updateIncludedTeXfiles):
2819 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2821 2003-05-22 Angus Leeming <leeming@lyx.org>
2823 * latexrunparams.h: new file containing struct LatexRunParams.
2824 * Makefile.am: add new file.
2826 * LaTeX.[Ch] (c-tor, run):
2827 * buffer.[Ch] (makeLaTeXFile):
2828 * bufferlist.[Ch] (updateIncludedTeXfiles):
2829 * converter.C (convert, scanLog):
2830 * converter.[Ch] (runLaTeX):
2831 * exporter.C (Export):
2832 * paragraph.[Ch] (simpleTeXOnePar):
2833 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2834 * paragraph_funcs.[Ch] (latexParagraphs):
2835 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2836 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2837 pass around a LatexRunParams parameter.
2839 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2841 * paragraph.[Ch]: remove unused constructor
2843 * ParagraphList.C (erase): new function, taking two iterators
2845 2003-05-22 André Pönitz <poenitz@gmx.net>
2847 * undo_funcs.C: remove duplicated code
2849 * iterator.[Ch]: operator=
2851 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2853 * tabular.C (SetMultiColumn): ws changes
2855 * rowpainter.C (paintFirst): get rid of a ->previous
2857 * lyx_cb.C (getPossibleLabel): parlist simplification
2859 * BufferView.C (ChangeInsets): simplify slightly.
2861 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2863 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2864 * lfuns.h: new LFUN_SPACE
2865 * lyxfunc.C: protected space has a new lfun
2866 * paragraph_funcs.C: read new space insets
2868 * factory.C: handle new space insets
2870 2003-05-22 André Pönitz <poenitz@gmx.net>
2873 * BufferView_pimpl.C:
2876 * undo_funcs.C: return a ParIterator from getParFromID.
2878 * iterators.[Ch]: add two const's
2880 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2882 * toc.C (getTocList): adjust
2884 * iterators.[Ch]: rework for parlist
2886 * buffer.C (par_iterator_begin): adjust
2887 (par_iterator_end): adjust
2889 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2891 * BufferView.C (removeAutoInsets): adjust
2892 (ChangeInsets): adjust
2894 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2896 * text.C (top_y): fix bug 1110
2898 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2900 * errorlist.[Ch]: added
2903 * BufferView_pimpl.C:
2904 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2907 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2909 * Makefile.am: ensure that lyx is relinked upon changes to the
2910 various "convenience" libs.
2912 2003-05-20 Angus Leeming <leeming@lyx.org>
2914 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2915 files are compiled in alphabetical order again.
2917 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2919 2003-05-19 Angus Leeming <leeming@lyx.org>
2921 * gettext.[Ch]: remove "char const * _(char const *)".
2923 2003-05-19 André Pönitz <poenitz@gmx.net>
2925 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2934 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2936 2003-05-19 André Pönitz <poenitz@gmx.net>
2940 * lyxtextclass.[Ch]:
2942 * paragraph_funcs.[Ch]:
2944 * text3.C: more insetenv work
2946 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2948 * ParagraphParameters.C (params2string): small bug fixed
2950 2003-05-16 André Pönitz <poenitz@gmx.net>
2953 * bufferview_funcs.C: patch from Kornel Benko to prevent
2954 crash when _(...) is called twice in a statement
2956 2003-05-16 André Pönitz <poenitz@gmx.net>
2963 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2965 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2967 * lyx_main.C (init): remove spurious static_cast
2969 2003-05-14 André Pönitz <poenitz@gmx.net>
2971 * BufferView.C: fix format string
2973 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2975 * BufferView.[Ch] (insertErrors): removed
2976 * BufferView.[Ch] (showErrorList): added
2977 * buffer.C (runChkTeX):
2978 * converter.C (scanLog): call showErrorList instead of inserterrors
2980 2003-05-13 André Pönitz <poenitz@gmx.net>
2982 * BufferView_pimpl.C:
2984 * bufferview_func.C:
2991 * tabular_funcs.h: tostr() from its own header
2993 * ParagraphParameters.C:
2998 * text3.C: STRCONV()
3000 2003-05-12 André Pönitz <poenitz@gmx.net>
3003 * BufferView_pimpl.C:
3007 * ParagraphParameters.C:
3011 * bufferview_funcs.C:
3024 * paragraph_funcs.C:
3028 * text3.C: boost::format -> bformat all over the place
3031 2003-05-09 André Pönitz <poenitz@gmx.net>
3033 * LColor.[Ch]: Pimpl the #include <map> away
3035 2003-05-09 John Levon <levon@movementarian.org>
3037 * bufferlist.C: never remove emergency saves
3039 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * Makefile.am: better lib building
3043 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3045 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3047 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3048 (simpleTeXSpecialChars): adjust
3049 (simpleTeXSpecialChars): adjust
3050 * paragraph.C (simpleTeXOnePar): adjust
3051 * buffer.C (makeLaTeXFile): adjust
3053 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3055 * text2.C (changeDepth): parlist cleanup
3056 (getColumnNearX): ditto
3058 * rowpainter.C (getLabelFont): parlist cleanup
3060 * bufferlist.C (newFile): parlist cleanup
3062 * CutAndPaste.C (eraseSelection): parlist cleanup
3064 * BufferView_pimpl.C (trackChanges): parlist cleanup
3067 * BufferView.C (lockInset): parlist cleanup.
3068 (ChangeInsets): ditto
3070 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3072 * CutAndPaste.h: Update file header.
3074 * CutAndPaste.C: Update file header.
3075 Store the parts cut out of the Document in a limited_stack.
3076 (copySelection): adjust
3077 (pasteSelection): new function, takes the index in the limited stack.
3078 (nrOfParagraphs): adjust
3079 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3080 simplify error inset insertion.
3081 (checkPastePossible): adjust
3083 2003-05-06 John Levon <levon@movementarian.org>
3085 * text2.C: don't cast wrap inset to float
3087 2003-05-05 André Pönitz <poenitz@gmx.net>
3090 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3092 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3093 few naked Paragraph *.
3095 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3097 * bufferparams.C: Output warning if a document with missing
3098 TeX document class is loaded
3099 * exporter.C: Disable TeX exports if the document class is missing
3102 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3103 isTeXClassAvailable()
3105 2003-05-03 John Levon <levon@movementarian.org>
3108 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3109 explicit cursor show/hide
3111 * BufferView_pimpl.h:
3112 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3113 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3115 * lyxfunc.C: hide cursor before dispatching.
3120 * text3.C: remove explicit cursor hides
3122 2003-05-02 André Pönitz <poenitz@gmx.net>
3124 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3127 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3130 * text2.C: tiny whitespace
3132 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3134 * undo_funcs.C: almost only ws changes.
3136 * ParagraphList.C (splice): just return if pl is empty.
3138 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3140 * ParagraphList.C (splice): new function.
3142 * CutAndPaste.C (pasteSelection): use it
3144 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * CutAndPaste.C (pasteSelection): remove the last next and
3147 previous from this file.
3149 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3151 * CutAndPaste.C (pasteSelection): more clean up, user proper
3152 ParagraphList functions for pasteing.
3154 * ParagraphList.C (insert): new function, three arg insert
3156 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3158 * ParagraphList.C (insert): new function, three arg insert
3160 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3163 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3165 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3167 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3171 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3173 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3174 (copySelection): clean up a bit.
3175 (pasteSelection): use make_pair
3177 * ParagraphList.C (ParagraphList): implement copy constructor
3178 (operator=): implement, base on copy constructor.
3181 * paragraph.C (erase): return a bool
3183 * paragraph_pimpl.C (erasePos): remove function, move contents...
3184 (erase): ... here. Return a bool.
3185 (erase): call erase instead of erasePos.
3187 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3189 * ParagraphList.h: define PitPosPair
3190 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3191 ParagraphList, fix a bug on pasting multiple pars
3192 * text2.C: change interface to C&P
3194 2003-04-30 André Pönitz <poenitz@gmx.net>
3196 * undo_func.C: revert part of yesterday's patch 2
3198 2003-04-30 John Levon <levon@movementarian.org>
3200 * LColor.C: s/tabular/table/
3202 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3204 * text3.C (dispatch): do not convert iterator -> pointer
3205 * undo_funcs.C (setCursorParUndo): ditto
3206 * text_funcs.C (transposeChars): ditto
3208 * text2.C (setLayout): ws changes only
3210 * text.C (breakParagraph): do not convert iterator -> pointer
3212 (acceptChange): ditto
3213 (rejectChange): ditto
3218 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3221 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3223 * text3.C (gotoInset): YABG (yet another bad getChar)
3225 2003-04-29 André Pönitz <poenitz@gmx.net>
3227 * paragraph.h: make operator= private unimplemented as long as
3230 * ParagraphList.C: whitespace
3233 * paragraph_pimpl.[Ch]:
3234 * paragraph_funcs.C:
3236 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3239 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3241 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3243 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3244 * paragraph.[Ch] (erase):
3245 * paragraph_pimpl.[Ch] (erase): change return type and value
3246 * text2.C (cutSelection): some rework
3248 2003-04-28 John Levon <levon@movementarian.org>
3250 * bufferlist.C: changes for unsaved changes dialog
3252 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3254 * bufferlist.C (newFile): set language (messages_) for new
3257 * buffer.C (readFile): ws changes only.
3259 2003-04-28 André Pönitz <poenitz@gmx.net>
3264 * BufferView_pimpl.C:
3265 * BufferView.C: getParFromID related ParagraphList::iterator changes
3267 2003-04-28 André Pönitz <poenitz@gmx.net>
3269 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3272 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3274 * messages.C: remove one more localedir class variable.
3276 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3278 * messages.C (getLocaleDir): singleton generation function
3280 (Messages): add a default constructor.
3282 * main.C (main): do not setup localedir here, do not call
3285 * gettext.C (_): use it.
3286 (gettext_init): delete funciton
3288 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3290 * gettext.C (getLyXMessages): new singleton generating function.
3292 * buffer.C (updateDocLang): adjust
3294 * Makefile.am (messages.o): add target
3295 (main.o): remove target
3297 2003-04-27 John Levon <levon@movementarian.org>
3302 * lyxvc.C: specify cancel button in Alert::prompt
3304 2003-04-26 John Levon <levon@movementarian.org>
3309 * LyXAction.C: add LFUN_INSET_SETTINGS
3311 * lyxfunc.C: don't enable tabular-feature when there's
3312 just any locking inset
3314 2003-04-26 John Levon <levon@movementarian.org>
3316 * bufferlist.C: re-add Cancel to buffer close question
3318 * lyxfunc.C: fix import UI a bit
3320 2003-04-25 John Levon <levon@movementarian.org>
3322 * gettext.C: remove the broken asserts for now
3324 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3326 * messages.C: make case where setlocale cannot comply work better.
3328 * buffer.C (updateDocLang): new function
3329 (changeLanguage): use it
3332 * text2.C (setCounter): use B_ a bit.
3334 * lyxlayout.C (Read): be sure to trim the label strings.
3336 * messages.C (Messages): fix typo in comment
3338 * buffer.C (readFile): set message_ after file is loaded.
3339 (makeDocBookFile): remove double return
3340 (changeLanguage): reset message_ upon language change.
3341 (B_): new func, use this to get translated buffer strings.
3343 * main.C: add myself and Jean Marc as authors.
3345 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * messages.[hC]: pimplify Messages, and three different pimpls to be
3348 used in different circumstances.
3350 * gettext.[Ch]: change for use with new message code.
3352 2003-04-24 André Pönitz <poenitz@gmx.net>
3354 * factory.C: support for eqref
3356 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3358 * messages.[Ch]: add missing char
3360 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3362 * messages.[Ch]: New files
3364 2003-04-18 John Levon <levon@movementarian.org>
3368 * BufferView_pimpl.C:
3372 * text2.C: remove layout-copy/paste (bug 778)
3374 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3376 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3378 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3380 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3381 if they succeed. Act accordingly.
3383 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * text2.C (setCharFont): adjust
3386 (setCounter): adjust
3387 (insertStringAsLines): adjust
3389 * text.C (leftMargin): adjust
3390 (setHeightOfRow): adjust
3392 * rowpainter.C (paintFirst): adjust
3395 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3397 (isFirstInSequence): ditto
3398 (getEndLabel): ditto
3401 * paragraph.C (getParLanguage): comment out some hard stuff.
3403 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3405 (simpleDocBookOnePar): ditto
3406 (makeDocBookFile): use ParagraphList::iterator
3408 * CutAndPaste.C (pasteSelection): adjust
3410 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3412 * text2.C (getFont): adjust
3413 (getLayoutFont): adjust
3414 (getLabelFont): adjust
3416 * paragraph_funcs.C (TeXOnePar): adjust
3418 * buffer.C (simpleLinuxDocOnePar): adjust
3419 (simpleDocBookOnePar): adjust
3421 * CutAndPaste.C (pasteSelection): adjust
3423 * BufferView.C (getEncoding): adjust
3425 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3427 2003-04-16 John Levon <levon@movementarian.org>
3429 * lyxfind.C: use parlist stuff for search/changes
3431 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3433 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3435 * text2.C (deleteEmptyParagraphMechanism): adjust
3437 * text2.[Ch] (ownerParagraph): delete func (both of them
3439 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3441 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3443 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3445 * ParagraphList.C: prepare for NO_NEXT
3447 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3449 * text2.C (getFont): adjust
3450 (getLayoutFont): adjust
3451 (getLabelFont): adjust
3453 * paragraph.C (getFont): adjust
3454 (getLabelFont): adjust
3455 (getLayoutFont): adjust
3457 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3459 2003-04-15 John Levon <levon@movementarian.org>
3463 * lyx_main.C: handle Include in .ui files
3465 2003-04-15 John Levon <levon@movementarian.org>
3467 * MenuBackend.C: make the doc files length shorter
3470 * ToolbarBackend.C: handle toolbar placement flags,
3473 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3478 * paragraph_funcs.C (TeXOnePar): adjust
3480 * paragraph.C (getLabelFont): add outerfont arg, adjust
3481 (getLayoutFont): ditto
3482 (simpleTeXOnePar): adjust
3484 * paragraph_pimpl.C (realizeFont): delete func
3486 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3488 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3489 row argument, constify cur argument.
3491 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3493 * text2.C (getFont): adjust
3494 (getLayoutFont): adjust
3495 (getLabelFont): adjust
3497 * paragraph_funcs.C (TeXOnePar): adjust
3498 (outerFont): new func...
3499 (realizeFont): ...moved out from here, changed this to facilitate
3502 * paragraph.C (getFont): take outerfont as arg, adjust
3503 (simpleTeXOnePar): add outerfont arg, adjust
3505 * buffer.C (simpleLinuxDocOnePar): adjust
3506 (simpleDocBookOnePar): adjust
3508 * CutAndPaste.C (pasteSelection): adjust
3510 * BufferView.C (getEncoding): adjust
3512 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3514 * text2.C (setCharFont): adjust
3515 (setCounter): adjust
3517 * text.C (leftMargin): adjust
3518 (setHeightOfRow): adjust
3520 * rowpainter.C (paintFirst): adjust
3523 * paragraph_pimpl.C (realizeFont): adjust
3525 * paragraph.C (isFirstInSequence): move from here...
3526 * paragraph_funcs.C (isFirstInSequence): ...to here
3528 * paragraph.C (outerHook): move from here...
3529 * paragraph_funcs.C (outerHook): ...to here
3531 * paragraph.C (depthHook): move from here...
3532 * paragraph_funcs.C (depthHook): ...to here
3534 * paragraph.C (getEndLabel): move from here...
3535 * paragraph_funcs.C (getEndLabel): ...to here
3537 * text2.C (realizeFont): move from here...
3538 * paragraph_funcs.C (realizeFont): ...to here
3540 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3542 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3544 2003-04-14 Angus Leeming <leeming@lyx.org>
3546 * LColor.[Ch]: scrap LColor mathcursor.
3548 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3550 * lyxlex.[Ch] (text): delete function
3551 * trans.C (Load): adjust
3552 * paragraph_funcs.C (readParToken): adjust
3554 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3556 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3557 vector<char> instead of a char[].
3559 * lyxlex_pimpl.C (getString): adjust
3561 (lex): use getString
3565 * lyxlex.C (text): use pimpl_->getString()
3569 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3572 (makeFontEntriesLayoutSpecific): temp var for par.size()
3573 (setLayout): temp var for ownerParagraphs().end()
3574 (fullRebreak): temp var for rows().end()
3575 (selectionAsString): temp var for boost::next(startpit), realize
3576 that the while really is a regular for loop.
3577 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3578 setCursor in one place.
3579 (setParagraph): temp vr for ownerParagraphs().end()
3580 (updateCounters): make the while loop a for loop
3581 (cutSelection): temp var for ownerParagraphs().end()
3582 (updateInset): make the do {} while() a regular for loop
3583 (getCursorX): use temp vars
3584 (setCurrentFont): use temp vars
3585 (getColumnNearX): use temp vars
3587 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3589 * text.C (transformChar): use temp var for getChar
3590 (computeBidiTables): use temp var for row->par()
3591 (fill): move temp vars for row->par() and pit->layout() earlier in
3593 (labelFill): use temp var for row->par()
3594 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3595 asc and desc, realize that pit never changes and that firstpit is
3596 just a duplicate and not needed. Exchange rit->par() with pit in a
3598 (breakAgain): use a temp var for boost::next(rit)
3599 (breakAgainOneRow): ditto
3600 (breakParagraph): use a temp var for rows().begin()
3601 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3602 (cursorRightOneWord): use temp var for cursor.par() and
3603 cursor.pos(), remove usage of tmpcursor.
3604 (cursorLeftOneWord): use temp var for cursor.par() and
3605 cursor.pos() only set cur at end of function.
3607 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * text.C, text2.C: exchange all usage of Paragraph::next with
3610 boost::next(ParagraphList::iterator)
3612 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3614 * text2.C (cursorTop): simplify implementation
3615 (cursorBottom): ditto
3616 (setParagraph): use ParagraphList::iterator
3617 (setCurrentFont): adjust
3618 (getColumnNearX): adjust
3619 (cursorRight): adjust
3620 (cursorLeft): remove usage of Paragraph::previous
3621 (cursorUpParagraph): ditto
3622 (deleteEmptyParagraphMechanism): slight cleanup
3624 * text.C (isBoundary): take a Paragraph const & instead of a
3626 (addressBreakPoint): ditto
3627 (leftMargin): remove usage of Paragraph::previous.
3628 (setHeightOfRow): ditto
3629 (cursorLeftOneWord): ditto
3630 (selectNextWordToSpellcheck): ditto
3633 (breakParagraph): remove one usage of Paragraph::next
3634 (redoParagraph): ditto
3635 (acceptChange): ditto
3636 (insertChar): adjust
3637 (rowBreakPoint): adjust
3639 * bufferview_funcs.C (toggleAndShow): adjust
3641 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3643 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3644 methods to access it.
3646 * text.C: Added updateRowPositions to compute all row positions.
3647 Make top_y and getRowNearY() to use the cached y position
3649 2003-04-11 John Levon <levon@movementarian.org>
3651 * text.C (rowBreakPoint): reintroduce the labelEnd
3652 checks, code copied from the row fill stuff. Deep voodoo.
3654 * text.C (fill): add a comment and debugging for the
3657 2003-04-11 John Levon <levon@movementarian.org>
3659 * text.C: make sure fullrow insets get wrapped to the next line,
3660 even when they're in a manual label
3662 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * text2.C (insertParagraph): make it take ParagraphList::iterator
3666 (setLayout): make it return ParagraphList::iterator
3667 (redoParagraphs): ditto
3669 (checkParagraph): ditto
3671 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3673 * text2.C: adjust several funcs.
3674 (realizeFont): take a ParagraphList::iterator as arg.
3675 (getLayoutFont): ditto
3676 (getLabelFont): ditto
3677 (setCharFont): ditto
3679 * text.C: adjust several funcs.
3681 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3683 * text.C (selectNextWordToSpellcheck): don't accidentally
3686 2003-04-10 John Levon <levon@movementarian.org>
3688 * ToolbarBackend.C (getIcon): special handling for
3691 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3693 * text2.C (cursorRight): a getChar assert fixed
3695 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * text2.C (getFont): change to take a ParagraphList::iterator
3698 instead of Paragraph*
3699 Adjust several functions.
3701 * text.C (transformChar): change to take a ParagraphList::iterator
3702 instead of Paragraph*
3703 (singleWidth): ditto
3704 Adjust several functions.
3706 * rowpainter.C: adjust several functions
3707 * rowpainter.h:store a ParagraphList::iterator and not a
3711 2003-04-09 John Levon <levon@movementarian.org>
3716 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3717 and the "help" bits as well
3719 2003-04-09 John Levon <levon@movementarian.org>
3722 * ToolbarBackend.C: allow multiple toolbars
3724 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3726 * undo_funcs.C (setCursorParUndo): adjust
3728 * text_funcs.C (transposeChars): adjust
3730 * text3.C (gotoNextInset): adjust
3733 * text2.C (setLayout): adjust
3734 (changeDepth): adjust
3736 (redoParagraphs): adjust
3737 (selectionAsString): adjust
3738 (setParagraph): adjust
3739 (insertInset): adjust
3740 (cutSelection): adjust
3741 (copySelection): adjust
3742 (pasteSelection): adjust
3743 (insertStringAsLines): adjust
3744 (updateInset): adjust
3745 (setCursor): change to take a ParagraphList::iterator parameter
3746 (setCursorIntern): change to take a ParagraphList::iterator parameter
3747 (setCurrentFont): adjust
3748 (cursorLeft): adjust
3749 (cursorRight): adjust
3750 (deleteEmptyParagraphMechanism): adjust
3752 * text.C (breakParagraph): adjust
3753 (insertChar): adjust
3754 (acceptChange): adjust
3755 (rejectChange): adjust
3756 (selectNextWordToSpellcheck): adjust
3757 (changeCase): adjust
3761 * lyxfind.C (SearchForward): adjust
3762 (SearchBackward): adjust
3763 (nextChange): adjust
3765 * lyxcursor.C (par): adjust
3767 * lyxcursor.h: store a ParagraphList::iterator instead of a
3770 * lyx_cb.C (getPossibleLabel): adjust
3772 * bufferview_funcs.C (toggleAndShow): adjust
3774 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3777 * BufferView.C (removeAutoInsets): adjust
3778 (lockedInsetStoreUndo): adjust
3780 2003-04-09 John Levon <levon@movementarian.org>
3782 * ToolbarBackend.C: try icon without argument
3783 if with argument fails
3785 2003-04-08 John Levon <levon@movementarian.org>
3788 * ToolbarBackend.C: add getIcon(), handle tooltip,
3789 and change from "Icon" to "Item".
3791 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3793 * BufferView.C (lockInset): another bad getchar crunched
3795 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3797 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3800 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3802 * lyxfind.C (searchForward, searchBackwards): bug 782
3804 2003-04-07 John Levon <levon@movementarian.org>
3806 * paragraph.C: remove dead comment
3808 * text.C: remove troublesome depth-fiddling code
3809 in leftMargin() and rightMargin() (bug 1017)
3811 * text.C: fix breaking of rows in nested lists
3814 * text2.C (updateCounters): fix up depth values
3817 2003-04-07 John Levon <levon@movementarian.org>
3819 * BufferView_pimpl.C: clear message when doc finishes resizing,
3820 and after a mouse event
3822 * lyxfunc.C: clear message after exiting inset
3824 2003-04-07 John Levon <levon@movementarian.org>
3826 * bufferview_funcs.C: show math status not outside
3827 status in the statusbar
3829 2003-04-07 John Levon <levon@movementarian.org>
3831 * lyxfunc.C: note status changed after a depth change
3833 2003-04-04 Angus Leeming <leeming@lyx.org>
3835 * LaTeX.h: move AuxInfo operator==, != out of line.
3836 Remove LaTeX virtual destructor; nothing derives from it.
3837 Move operator()() out of public area and rename it startscript().
3838 Change protected for private.
3840 2003-04-04 Angus Leeming <leeming@lyx.org>
3843 * text2.C: remove unneeded #includes.
3845 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3847 * text2.C (dEPM): fix the heigth of the next row
3849 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3851 * text.C: squashed an invalid getChar requester + some ws changes
3853 2003-04-03 John Levon <levon@movementarian.org>
3855 * bufferview_funcs.h:
3856 * bufferview_funcs.C:
3859 * text2.C: make getStatus work for the env depth lfuns
3861 2003-04-03 John Levon <levon@movementarian.org>
3863 * bufferview_funcs.h:
3864 * bufferview_funcs.C:
3867 * text2.C: parlistize decDepth(), by merging it with incDepth()
3869 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3871 * lyxrow.h: store a ParagraphList::iterator instead of a
3872 Paragraph* and adjust other class functions to suit.
3874 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3877 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3879 * text2.C (setCursor): do not anchor to cursor row for the time being
3881 2003-04-02 John Levon <levon@movementarian.org>
3888 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3890 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3892 * paragraph.h: make ParagraphList and ParagraphList::iterator
3893 friends of Paragraph.
3895 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3897 * ParagraphList.C: Use the private next_ and previous_ from
3900 2003-04-01 John Levon <levon@movementarian.org>
3904 * Makefile.am: rename, remove defaults gunk
3907 * MenuBackend.C: remove defaults gunk
3910 * Languages.C: remove defaults gunk
3913 * lyx_main.C: error out if files couldn't be found.
3915 2003-04-02 John Levon <levon@movementarian.org>
3917 * text2.C: make incDepth() use parlist
3919 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3921 * undo_funcs.C (firstUndoParagraph): adjust
3923 * text3.C (gotoInset): adjust
3924 (dispatch): adjust, and rewrite loop.
3926 * text2.C (init): adjust, and rewrite loop.
3927 (redoParagraphs): adjust
3928 (updateInset): adjust, and rewrite loop.
3929 (deleteEmptyParagraphMechanism): adjust
3931 * tabular.C (LyXTabular): adjust
3932 (SetMultiColumn): adjust
3935 * lyxtext.[Ch] (ownerParagraph): delete function
3936 (ownerParagraphs): new function returns a ParagraphList.
3938 * BufferView.C (removeAutoInsets): adjust
3939 (insertErrors): adjust
3940 (setCursorFromRow): adjust
3942 2003-04-01 Angus Leeming <leeming@lyx.org>
3944 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3947 2003-04-02 John Levon <levon@movementarian.org>
3953 * text_funcs.C: make transposeChars a free function
3955 * lyxrow_funcs.C: remove wrong comment
3957 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3960 * rowpainter.C: adjust
3965 * lyxrow_funcs. [Ch]: new files
3967 * lyxrow.[Ch]: remove next and previous pointers
3968 (next,previous): remove accessor functions
3969 (isParEnd): move to lyxrow_funcs
3970 (lastPos): move to lyxrow_funcs
3971 (nextRowIsAllInset): move to lyxrow_funcs
3972 (lastPrintablePos): move to lyxrow_funcs
3973 (numberOfSeparators): move to lyxrow_funcs
3974 (numberOfHfills): move to lyxrow_funcs
3975 (numberOfLabelHfills): move to lyxrow_funcs
3976 (hfillExpansion): move to lyxrow_funcs
3980 * bufferview_funcs.C (toggleAndShow): adjust
3982 * RowList.h: Remove class RowList from file leave just a
3985 * RowList.C: delete file
3987 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3990 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3992 * text3.C (cursorPrevious): adjust
3993 (cursorNext): adjust
3996 * text2.C (redoHeightOfParagraph): adjust
3997 (redoDrawingOfParagraph): adjust
4000 * text.C (breakParagraph): adjust
4001 (insertChar): adjust
4004 * rowpainter.C (RowPainter): adjust
4005 (leftMargin): simplify and adjust
4006 (most rowpainter functions): adjust.
4008 * rowpainter.h: store the row as RowList::iterator not as Row*
4010 * lyxcursor.C (row): taka RowList::iterator as arg
4013 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4016 2003-04-01 Angus Leeming <leeming@lyx.org>
4018 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4019 stuff like bool Bool.
4021 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4023 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4026 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4031 * lyxtext.h (rows): drop one version and leve a const variant that
4032 returns a RowList::iterator.
4034 2003-03-31 Angus Leeming <leeming@lyx.org>
4036 * text.C (fill): ensure that the signature is the same as that in the
4039 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4041 * text2.C (redoParagraphs): adjust
4042 (updateCounters): adjust
4043 (checkParagraph): adjust
4044 (getColumnNearX): adjust and reformat a bit.
4046 * text.C (top_y): adjust
4048 (leftMargin): adjust
4049 (prepareToPrint): adjust
4051 (getRowNearY): adjust
4053 * lyxtext.h: make rowlist_ mutable.
4055 * RowList.h: add const_iterator
4056 * RowList.C: adjust for RowList::const_iterator.
4058 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4061 2003-03-31 John Levon <levon@movementarian.org>
4064 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4066 * lyx_main.C: set default fonts from using lyx_gui funcs
4068 * exporter.C: pdf_mode moved from lyxrc
4071 * lyxfunc.C: changes from above
4073 2003-03-31 John Levon <levon@movementarian.org>
4075 * lyx_main.C: fix to the last fix
4077 2003-03-31 John Levon <levon@movementarian.org>
4079 * bufferlist.C: "Load original" -> "Load Original"
4085 * format.C: more Alert cleanups
4087 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4089 * text2.C (removeParagraph): make it take a RowList::iterator as
4091 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4092 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4094 * text.C (anchor_row): make it take a RowList::iterator as arg,
4096 (computeBidiTables): make it take a const reference to Row instead
4097 of Row pointer, adjust.
4098 (leftMargin): make it take a RowList::iterator as arg, adjust.
4099 (rowBreakPoint): adjust
4100 (breakAgainOneRow): make it take a RowList::iterator as arg,
4102 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4104 * bufferview_funcs.C (toggleAndShow): adjust
4106 2003-03-30 John Levon <levon@movementarian.org>
4110 * boost-inst.C: moved to support
4112 * several files: changes as a result
4114 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * text2.C (LyXText): adjust.
4118 (removeRow): make it take a RowList::iterator as arg, adjust.
4119 (fullRebreak): adjust
4120 (deleteEmptyParagraphMechanism): adjust
4121 (clearPaint): adjust
4124 * text.C (top_y): adjust
4125 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4126 (breakAgain): make it take a RowList::iterator as arg, adjust.
4127 (breakParagraph): adjust
4128 (insertChar): adjust
4131 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4132 need_break_row, and refresh_row.
4134 * text3.C (dispatch): adjust
4136 * text2.C (checkParagraph): adjust
4138 (setCursorFromCoordinates): adjust
4140 * text.C (top_y): adjust
4142 (getRow): make it return a RowList::iterator, adjust
4143 (getRowNearY): make it return a RowList::iterator, adjust
4145 * text2.C (init): adjust
4146 (insertRow): remove function
4147 (insertParagraph): adjust
4148 (redoParagraphs): adjust
4149 (fullRebreak): adjust
4150 (updateCounters): adjust
4152 * text.C (top_y): rewrite to use RowList iterators.
4154 (setHeightOfRow): rewrite to sue RowList iterators.
4155 (appendParagraph): adjust
4156 (breakAgain): adjust
4157 (breakAgainOneRow): adjust
4158 (breakParagraph): adjust
4160 (getRowNearY): adjust, and remove commented code.
4162 * lyxtext.h (firstRow): delete function
4163 (lastRow): delete function
4164 (rows): new function (const and non-const versions.)
4165 (insertRow): delete function
4167 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4169 2003-03-29 John Levon <levon@movementarian.org>
4171 * BufferView_pimpl.C: always update scrollbar top
4172 because pasting text when we're anchored could mean we
4173 miss an update altogether
4175 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4177 * text2.C (init): use rowlist_.end() and not 0.
4178 (insertRow): change to take a RowList::iterator as arg, adjust
4180 (insertParagraph): change to take a RowList::iterator as arg,
4182 (redoParagraphs): remove some debug msgs.
4184 * text.C (appendParagraph): change to take a RowList::iterator
4185 arg, adjust for this.
4186 (breakAgain): add an assert
4187 (breakAgainOneRow): ditto
4189 2003-03-29 John Levon <levon@movementarian.org>
4191 * text2.C: do not clear selection after inc/decDepth
4194 2003-03-29 John Levon <levon@movementarian.org>
4197 * buffer.C: fix broken strerrors according to Lars
4199 2003-03-29 John Levon <levon@movementarian.org>
4201 * converters.C: more Alert cleanups
4203 2003-03-29 John Levon <levon@movementarian.org>
4205 * bufferview_funcs.C: remove pointless Alert
4207 * buffer.C: fix confusing error message when
4208 a template is chmoded 000
4210 2003-03-29 John Levon <levon@movementarian.org>
4214 * BufferView_pimpl.C: Alert fixes
4218 * tabular-old.C: remove unused table compat reading
4220 2003-03-29 John Levon <levon@movementarian.org>
4225 * lyx_cb.C: more Alert cleanups
4227 * lyxfunc.C: don't allow chktex if not latex document
4229 2003-03-29 John Levon <levon@movementarian.org>
4233 * buffer.C: warnings pushed down from support/,
4236 2003-03-29 John Levon <levon@movementarian.org>
4238 * lyxfunc.C: safety check for C-r (revert)
4240 2003-03-29 John Levon <levon@movementarian.org>
4243 * bufferlist.C: several UI fixes using Alert::prompt.
4244 Fix the pointless looping quit code. Fix stupid revert
4249 * lyx_cb.C: use Alert::prompt
4251 * lyx_main.C: remove a silly question
4253 * lyxfunc.C: remove a couple of silly questions,
4256 2003-03-28 John Levon <levon@movementarian.org>
4258 * text2.C: fix bug 974 (End on empty par)
4260 2003-03-28 John Levon <levon@movementarian.org>
4262 * BufferView_pimpl.C:
4264 * lfuns.h: remove do-nothing math greek lfuns
4266 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4268 * lyxgluelength.h (isValidGlueLength): add default arg on
4269 parameter 2. Remove default arg from friend in class.
4271 * lyxlength.h (isValidLength): add default arg on parameter 2.
4272 Remove default arg from friend in class.
4274 * text2.C (LyXText): adjust, initialize refresh_row.
4278 (insertParagraph): adjst
4279 (redoParagraphs): adjust
4280 (fullRebreak): adjust
4281 (updateCounters): adjust
4282 (deleteEmptyParagraphMechanism): first attempt at fixing a
4285 * text.C (top_y): adjust
4286 (setHeightOfRow): adjust
4288 (getRowNearY): adjust
4290 * lyxtext.h: include RowList.h
4291 (~LyXText): not needed anymore, deleted.
4292 (firstRow): modify for RowList
4293 (lastRow): new function
4294 Delete firstrow and lastrow class variables, add a Rowlist
4295 rowlist_ class variable.
4297 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4300 * RowList.C (insert): fix case where it == begin().
4302 2003-03-26 Angus Leeming <leeming@lyx.org>
4304 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4305 the thesaurus dialog.
4307 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4309 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4311 * RowList.[Ch]: new files
4313 * ParagraphList.C (erase): handle the case where it == begin
4316 2003-03-25 John Levon <levon@movementarian.org>
4320 * aspell.C: add new aspell support
4323 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4326 2003-03-25 Angus Leeming <leeming@lyx.org>
4329 * LyXAction.C (init): new LFUN_INSET_INSERT.
4331 * BufferView_pimpl.C (dispatch): split out part of the
4332 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4334 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4337 2003-03-25 Angus Leeming <leeming@lyx.org>
4339 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4341 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4344 * text3.C: remove useless row->height(0)
4346 2003-03-25 John Levon <levon@movementarian.org>
4350 * text3.C: rename the refreshing stuff to better names
4352 2003-03-24 John Levon <levon@movementarian.org>
4354 * BufferView_pimpl.h:
4355 * BufferView_pimpl.C: update layout choice on a mouse
4358 2003-03-23 John Levon <levon@movementarian.org>
4360 * Makefile.am: fix commandtags.h reference
4362 2003-03-22 John Levon <levon@movementarian.org>
4364 * BufferView_pimpl.C:
4369 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4371 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4374 * text.C: take the rtl methods out of line
4376 2003-03-21 André Pönitz <poenitz@gmx.net>
4378 * metricsinfo.[Ch]: new files containing structures to be passed around
4379 during the two-phase-drawing...
4381 2003-03-21 André Pönitz <poenitz@gmx.net>
4383 * lyxtextclass.C: read 'environment' tag.
4385 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4387 * text2.C (removeRow): fix bug 964
4389 2003-03-20 John Levon <levon@movementarian.org>
4393 * text2.C: paint cleanups. Inset::update() dropped font
4396 2003-03-19 John Levon <levon@movementarian.org>
4398 * lyxfunc.C: only fitcursor/markDirty if available()
4400 2003-03-19 John Levon <levon@movementarian.org>
4402 * commandtags.h: rename to ...
4404 * lfuns.h: ... this, and renumber / cleanup
4406 2003-03-19 John Levon <levon@movementarian.org>
4408 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4409 fit the cursor after an lfun
4413 * BufferView_pimpl.h:
4414 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4416 * LyXAction.C: layout-character should have ReadOnly
4418 * ParagraphParameters.C:
4420 * bufferview_funcs.C:
4427 * undo_funcs.C: changes from above
4429 2003-03-18 John Levon <levon@movementarian.org>
4431 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4432 remove it from update()
4434 * lyxfunc.C: update layout choice after an lfun
4436 * text3.C: remove extra updateLayoutChoice()s
4438 2003-03-18 John Levon <levon@movementarian.org>
4440 * text.C: top_y change means full repaint, fix
4441 a drawing bug with cursor movement
4443 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4447 * text2.C: anchor row on setCursor
4449 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4451 * lyxtext.h: remove almost all mutable keywords
4454 * text3.C: remove const keywords accordingly
4456 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4458 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4460 (TeXEnvironment): ditto
4463 2003-03-17 John Levon <levon@movementarian.org>
4465 * text.C (rowBreakPoint): remove attempt to fix displayed
4466 math insets inside a manual label
4468 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4470 * lyxtext.h: remove BufferView* as first arg from almost all class
4472 * other files: adjust.
4474 2003-03-17 John Levon <levon@movementarian.org>
4478 * text2.C: more paint cleanups
4480 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4483 * rowpainter.C: remove "smart" background painting code
4485 2003-03-16 John Levon <levon@movementarian.org>
4490 * text3.C: add helper functions for setting refresh_row/y
4492 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4494 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4495 newline inset which *can* get inserted in the pass_thru layouts.
4496 This is primarily for literate documents.
4498 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4500 * buffer.C: increment LYX_FORMAT to 223
4502 2003-03-14 André Pönitz <poenitz@gmx.net>
4504 * textclass.h: prepare for environment handling, ws changes
4505 * lyxlayout.C: read latexheader and latexfooter tags
4507 2003-03-14 John Levon <levon@movementarian.org>
4509 * text2.C: rewrite ::status() a bit
4511 2003-03-13 John Levon <levon@movementarian.org>
4513 * lyxtext.h: add some docs
4515 2003-03-13 John Levon <levon@movementarian.org>
4520 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4522 2003-03-13 John Levon <levon@movementarian.org>
4524 * text3.C: fix appendix redrawing
4526 2003-03-13 John Levon <levon@movementarian.org>
4528 * text.C (setHeightOfRow):
4530 * rowpainter.C: make appendix mark have the text
4531 "Appendix" so the user knows what it is
4534 * LColor.C: s/appendixline/appendix/ from above
4536 2003-03-13 John Levon <levon@movementarian.org>
4538 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4540 * text.C: fix a getChar(pos) bug properly
4542 2003-03-13 Angus Leeming <leeming@lyx.org>
4545 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4546 Probably only temporary. Let's see how things pan out.
4548 * BufferView.C (unlockInset):
4549 * BufferView_pimpl.C (fitCursor):
4550 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4552 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4553 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4555 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4556 new functions that convert ParagraphParameters to and from a string.
4558 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4559 BufferView::Pimpl's dispatch.
4560 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4562 2003-03-13 André Pönitz <poenitz@gmx.net>
4566 * factory.C: make it aware of InsetEnv
4568 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4570 * text2.C (setCursor): never ask for one past last
4571 (setCursor): add some debugging messages.
4573 * text.C (singleWidth): never ask for one past last
4574 (singleWidth): ditto
4576 (rightMargin): ditto
4577 (rowBreakPoint): ditto
4578 (setHeightOfRow): ditto
4579 (prepareToPrint): ditto
4581 * rowpainter.C (paintBackground): never ask for one past last
4582 (paintText): never ask for one past last
4584 * paragraph_pimpl.C (getChar): make the assert stricter, never
4585 allow the one past last pos to be taken
4587 * paragraph.C (getChar): ws changes only
4589 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4590 (numberOfSeparators): ditto
4591 (numberOfHfills): ditto
4593 2003-03-12 John Levon <levon@movementarian.org>
4599 * paragraph_funcs.C: fix per-buffer authorlists
4601 2003-03-12 John Levon <levon@movementarian.org>
4603 * text.C: fix newline in right address
4605 2003-03-12 Angus Leeming <leeming@lyx.org>
4607 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4608 duplicate those in LyXFunc::dispatch.
4612 * ToolbarDefaults.C:
4613 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4614 Add LFUN_FONTFREE_UPDATE.
4616 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4617 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4619 * bufferview_func.[Ch]: several new functions to facilliate
4620 transfer of data to and from the character dialog.
4622 2003-03-12 John Levon <levon@movementarian.org>
4627 * paragraph_funcs.C:
4628 * paragraph_pimpl.C:
4632 * text3.C: remove META_NEWLINE in favour of an inset
4635 * rowpainter.C: remove paintNewline (done by inset)
4637 2003-03-12 John Levon <levon@movementarian.org>
4639 * paragraph_pimpl.C: complain about bad getChar()s
4640 for a while at least
4642 2003-03-12 John Levon <levon@movementarian.org>
4645 * buffer.C: move paragraph read into a separate function,
4646 a little renaming to reflect that.
4649 * bufferparams.C: remove the author_ids map, not necessary now
4652 * factory.C: moved Buffer::readInset to here
4654 * paragraph_funcs.h:
4655 * paragraph_funcs.C: readParagraph free function moved from
4658 * tabular.C: name change
4660 2003-03-12 John Levon <levon@movementarian.org>
4663 * ParagraphParameters.C: move par params input to
4666 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4667 behave like a normal read from the stream wrt reading
4668 a line vs. a \\token
4670 2003-03-12 John Levon <levon@movementarian.org>
4673 * ParagraphParameters.h:
4674 * ParagraphParameters.C: move output code to a
4677 2003-03-12 John Levon <levon@movementarian.org>
4679 * BufferView.C (insertLyXFile):
4682 * tabular.C: use a parlist iterator for creating the
4685 2003-03-12 John Levon <levon@movementarian.org>
4687 * buffer.C: make current_change static local not
4690 2003-03-12 John Levon <levon@movementarian.org>
4692 * buffer.C: fix insertStringAsLines for change tracking
4694 2003-03-12 John Levon <levon@movementarian.org>
4701 * bufferparams.C: move author list into params. Rename some
4702 functions. Move the header reading into a separate token
4703 loop. Move the header token reading into BufferParams.
4705 2003-03-12 John Levon <levon@movementarian.org>
4707 * changes.C: put debug inside lyxerr.debugging() checks
4709 2003-03-11 André Pönitz <poenitz@gmx.net>
4711 * factory.C: make it aware of InsetHFill
4713 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4715 * buffer.C (latexParagraphs): move function from here...
4716 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4719 2003-03-10 Angus Leeming <leeming@lyx.org>
4721 * LyXAction.C (init): fix bug in poplating array with multiple entries
4722 with the same LFUN (spotted by JMarc).
4724 2003-03-10 John Levon <levon@movementarian.org>
4727 * text2.C: move getColumnNearX() near its
4730 2003-03-10 John Levon <levon@movementarian.org>
4732 * text.C: fix break before a minipage
4734 2003-03-10 John Levon <levon@movementarian.org>
4736 * text.C: fix the last commit
4738 2003-03-09 John Levon <levon@movementarian.org>
4742 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4743 bug 365 (don't break before insets unless needed). Don't
4744 return a value > last under any circumstances.
4746 2003-03-09 Angus Leeming <leeming@lyx.org>
4748 * BufferView_pimpl.C (trackChanges, dispatch): call
4749 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4751 2003-03-09 Angus Leeming <leeming@lyx.org>
4753 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4754 than Dialogs::showAboutlyx().
4756 2003-03-09 Angus Leeming <leeming@lyx.org>
4758 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4759 than Dialogs::showTabularCreate().
4761 2003-03-09 John Levon <levon@movementarian.org>
4765 * text2.C: 3rd arg to nextBreakPoint was always the same.
4768 2003-03-08 John Levon <levon@movementarian.org>
4775 * text2.C: Remove the "main" bit from the "main body"
4778 2003-03-08 John Levon <levon@movementarian.org>
4780 * text.C (leftMargin): The left margin of an empty
4781 manual label paragraph should not include the label width
4784 * text.C (prepareToPrint): don't attempt to measure hfills
4785 for empty manual label paragraphs - the answer should be 0
4787 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4789 * CutAndPaste.C: remove commented code and reindent.
4791 2003-03-08 John Levon <levon@movementarian.org>
4794 * lyxfunc.C: move reloadBuffer()
4797 * BufferView.C: to here
4799 * lyxvc.C: add comment
4802 * vc-backend.C: call bv->reload() to avoid
4803 getStatus() check on MENURELOAD
4805 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4807 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4808 to an old format .dep file.
4810 2003-03-07 Angus Leeming <leeming@lyx.org>
4812 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4813 when the LFUN_MOUSE_RELEASE should have been handled by
4814 inset->localDispatch.
4816 2003-03-07 Angus Leeming <leeming@lyx.org>
4818 * BufferView_pimpl.C (dispatch):
4819 * LyXAction.C (init):
4820 * ToolbarDefaults.C (init):
4822 * lyxfunc.C (getStatus):
4823 remove LFUN_INSET_GRAPHICS.
4825 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4827 2003-03-07 Angus Leeming <leeming@lyx.org>
4830 * LyXAction.C (init):
4831 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4833 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4836 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4838 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4839 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4841 2003-03-07 Angus Leeming <leeming@lyx.org>
4843 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4846 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4848 * ParagraphList.C (front): new function
4851 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4853 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4854 and top_row_offset_. removed var first_y.
4856 * text2.C (LyXText, removeRow):
4858 * BufferView_pimpl.C:
4859 use these methods instead of using first_y
4861 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4863 * text2.C (pasteSelection): adjust for checkPastePossible
4865 * CutAndPaste.C: remove Paragraph * buf and replace with
4866 ParagraphList paragraphs.
4867 (DeleteBuffer): delete
4868 (cutSelection): change the tc type to textclass_type
4869 (copySelection): change the tc type to textclass_type
4870 (copySelection): adjust for ParagraphList
4871 (pasteSelection): change the tc type to textclass_type
4872 (pasteSelection): adjust for Paragraphlist
4873 (nrOfParagraphs): simplify for ParagraphList
4874 (checkPastePossible): simplify for ParagraphList
4875 (checkPastePossible): remove unused arg
4877 * ParagraphList.C (insert): handle the case where there are no
4880 * CutAndPaste.h: make CutAndPaste a namespace.
4882 * text3.C (dispatch): adjust
4884 * text.C (breakParagraph): add a ParagraphList as arg
4886 * paragraph_funcs.C (breakParagraph): change to take a
4887 BufferParams and a ParagraphList as args.
4888 (breakParagraphConservative): ditto
4889 (mergeParagraph): ditto
4890 (TeXDeeper): add a ParagraphList arg
4891 (TeXEnvironment): ditto
4894 * buffer.C (readLyXformat2): adjust
4895 (insertStringAsLines): adjust
4896 (latexParagraphs): adjust
4898 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4899 (cutSelection): adjust
4900 (pasteSelection): adjust
4902 * BufferView_pimpl.C (insertInset): adjust
4904 2003-03-05 Angus Leeming <leeming@lyx.org>
4907 * LyXAction.C (init):
4908 * BufferView_pimpl.C (dispatch):
4909 * lyxfunc.C (getStatus):
4910 remove LFUN_CHILD_INSERT.
4912 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4914 2003-03-05 Angus Leeming <leeming@lyx.org>
4917 * LyXAction.C (init):
4918 * src/factory.C (createInset):
4919 * lyxfunc.C (getStatus):
4920 * text3.C (dispatch):
4921 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4923 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4925 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4927 * ParagraphList.C (insert): handle insert right before end()
4928 (erase): fix cases where it can be first or last paragraph.
4930 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4932 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4933 Paragraph::next and Paragraph::previous
4936 * text.C (breakParagraph): adjust
4938 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4939 BufferParams& as arg.
4940 (breakParagraph): use ParagraphList::insert
4941 (breakParagraphConservative): take a Buffer* instead of a
4942 BufferParams& as arg.
4943 (breakParagraphConservative): use ParagraphList::insert.
4945 * buffer.C (insertStringAsLines): un-const it
4946 (insertStringAsLines): adjust
4948 * ParagraphList.C (insert): new function
4950 * CutAndPaste.C (pasteSelection): adjust
4952 * text.C (backspace): adjust
4954 * tabular.C (SetMultiColumn): adjust
4956 * CutAndPaste.C (cutSelection): adjust
4957 (pasteSelection): adjust
4959 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4960 Buffer const * as arg
4962 * ParagraphList.C (erase): new function
4963 * paragraph_funcs.C (mergeParagraph): use it
4964 (mergeParagraph): make it take a Buffer* instead of a
4965 BufferParams* as arg
4967 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4969 (breakParagraphConservative): ditto
4971 * paragraph.h: remove the breakParagraph friend
4973 * paragraph.C (eraseIntern): new function
4974 (setChange): new function
4976 * paragraph_funcs.C (mergeParagraph): make it take a
4977 ParagraphList::iterator instead of a Paragraph *, adjust
4980 * paragraph.h: move an #endif so that the change tracking stuff
4981 also works in the NO_NEXT case.
4983 2003-03-04 Angus Leeming <leeming@lyx.org>
4986 * LyXAction.C: new LFUN_INSET_MODIFY.
4988 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4989 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4991 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4993 * several files: ws changes only
4995 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4996 (TeXEnvironment): ditto
4999 * buffer.C (makeLaTeXFile): adjust
5000 (latexParagraphs): make it take ParagraphList::iterator as args
5002 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5004 * buffer.C (latexParagraphs): adjust
5006 * paragraph.C (TeXOnePar): move function...
5007 (optArgInset): move function...
5008 (TeXEnvironment): move function...
5009 * paragraph_pimpl.C (TeXDeeper): move function...
5010 * paragraph_funcs.C: ...here
5012 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5014 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5016 * buffer.C (readInset): remove compability code for old Figure and
5019 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5021 * buffer.C: ws changes
5024 * BufferView_pimpl.C: ditto
5027 * bufferlist.h: ditto
5031 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5033 * converter.[Ch]: split into itself +
5036 * Makefile.am: += graph.[Ch] + format.[Ch]
5043 * lyxrc.C: added #include "format.h"
5045 2003-02-27 Angus Leeming <leeming@lyx.org>
5047 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5050 * factory.C (createInset): add "label" to the factory.
5052 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5053 string and do no more.
5055 2003-02-27 Angus Leeming <leeming@lyx.org>
5058 * LyXAction.C (init):
5059 * factory.C (createInset):
5060 * BufferView_pimpl.C (dispatch):
5061 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5063 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5065 * lyxfunc.C (dispatch):
5066 * text3.C (dispatch): pass name to params2string.
5068 2003-02-26 Angus Leeming <leeming@lyx.org>
5070 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5072 Rearrange the ~includes. Strip out the unnecessary ones.
5074 * factory.C (createInset): reformat.
5075 create new insets for the various LFUN_XYZ_APPLY lfuns.
5077 2003-02-26 John Levon <levon@movementarian.org>
5080 * lyxrow.C: add isParStart,isParEnd helpers
5082 * paragraph.h: make isInserted/DeletedText take refs
5084 * paragraph_funcs.h:
5085 * paragraph_funcs.C: remove #if 0'd code
5090 * text.C: use lyxrow helpers above.
5091 Move draw and paint routines to RowPainter.
5092 Make several methods use refs not pointers.
5093 Make backgroundColor() const.
5094 Add markChangeInDraw(), isInInset().
5095 Merge changeRegionCase into changeCase.
5096 Make workWidth() shouldn't-happen code into an Assert.
5099 * rowpainter.C: new class for painting a row.
5102 * vspace.C: make inPixels take a ref
5104 2003-02-26 Angus Leeming <leeming@lyx.org>
5106 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5109 2003-02-25 John Levon <levon@movementarian.org>
5111 * ispell.C: give the forked command a more accurate name
5113 2003-02-22 John Levon <levon@movementarian.org>
5116 * toc.C: make TocItem store an id not a Paragraph *
5119 2003-02-21 Angus Leeming <leeming@lyx.org>
5121 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5122 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5123 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5124 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5125 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5126 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5128 * BufferView_pimpl.C (dispatch):
5129 * LyXAction.C (init):
5130 * factory.C (createInset):
5131 * lyxfunc.C (getStatus, dispatch):
5132 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5134 2003-02-21 Angus Leeming <leeming@lyx.org>
5136 * BufferView_pimpl.C (MenuInsertLyXFile):
5137 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5138 * lyxfunc.C (menuNew, open, doImport):
5139 no longer pass a LyXView & to fileDlg.
5141 2003-02-21 Angus Leeming <leeming@lyx.org>
5143 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5144 * LyXAction.C: change, BIBKEY to BIBITEM.
5145 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5146 Change InsetBibKey to InsetBibitem.
5147 Change BIBKEY_CODE to BIBITEM_CODE.
5148 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5149 * factory.C: replace insetbib.h with insetbibitem.h.
5150 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5151 * paragraph.C: replace insetbib.h with insetbibitem.h.
5152 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5153 Change bibkey() to bibitem().
5154 * text.C: remove insetbib.h.
5155 * text2.C: replace insetbib.h with insetbibitem.h.
5156 change bibkey() to bibitem().
5157 * text3.C: remove insetbib.h.
5158 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5160 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5162 * lyxrc.C (output): enclose user email in quotes (in case there are
5165 2003-02-18 John Levon <levon@movementarian.org>
5167 * buffer.h: add std::
5169 2003-02-17 John Levon <levon@movementarian.org>
5175 * pspell.C: reworking. Especially in ispell, a large
5176 number of clean ups and bug fixes.
5178 * lyxfunc.C: fix revert to behave sensibly
5180 2003-02-17 André Pönitz <poenitz@gmx.net>
5183 * commandtags.h: new LFUN_INSERT_BIBKEY
5193 * paragraph_func.C: remove special bibkey handling
5195 2003-02-17 John Levon <levon@movementarian.org>
5197 * text.C (Delete): fix case where delete at the end of
5198 the very first paragraph would not merge the pars
5200 2003-02-17 John Levon <levon@movementarian.org>
5202 * lyxrow.C: fix lastPrintablePos()
5204 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5206 * bufferparams.C (writeLaTeX): add a std:here
5208 * buffer.C: and remove a using directive there
5210 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5212 * buffer.C (makeLaTeXFile): move the code that generates the
5215 * bufferparams.C (writeLaTeX): ... in this new method
5217 * LaTeXFeatures.C (getEncodingSet): make const
5218 (getLanguages): make const
5220 * MenuBackend.C (binding): returns the binding associated to this
5222 (add): sets the status of each item by calling getStatus. Adds
5224 (read): add support for OptSubMenu
5225 (expand): remove extra separator at the end of expanded menu
5227 2003-02-15 John Levon <levon@movementarian.org>
5230 * BufferView_pimpl.C:
5232 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5233 inset code that had no actual effect. Remove unneeded status
5236 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5238 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5241 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5243 * text.C (drawLengthMarker): also draw an arrow marker for
5244 symbolic lengths (medskip...)
5246 2003-02-14 John Levon <levon@movementarian.org>
5249 * tabular.C: better method names
5251 2003-02-14 John Levon <levon@movementarian.org>
5253 * BufferView_pimpl.C:
5258 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5259 it's a more accurate name. Remove some pointless uses.
5261 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5263 * text2.C (LyXText): change order of initilizers to shut off
5266 2003-02-14 John Levon <levon@movementarian.org>
5268 * buffer.C: use ParIterator for getParFromID()
5272 * paragraph_pimpl.h:
5273 * paragraph_pimpl.C: remove unused getParFromID()
5275 2003-02-14 John Levon <levon@movementarian.org>
5277 * buffer.C: remove some very old #if 0'd parse code
5279 2003-02-13 John Levon <levon@movementarian.org>
5283 * text2.C: move hfillExpansion(), numberOfSeparators(),
5284 rowLast(), rowLastPrintable(), numberofHfills(),
5285 numberOfLabelHfills() ...
5288 * lyxrow.C: ... to member functions here.
5293 * text.C: remove LyXText::beginningOfMainBody(), and call
5294 p->beginningOfMainBody() directly. Move the check for
5295 LABEL_MANUAL into the latter.
5302 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5308 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5309 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5311 2003-02-13 John Levon <levon@movementarian.org>
5313 * CutAndPaste.C: remove debug
5315 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5317 * paragraph.C (asString): remove two unused variables
5319 * lyxtextclass.C (readTitleType):
5321 (LyXTextClass): handle new members titletype_ and titlename_
5323 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5325 2003-02-09 John Levon <levon@movementarian.org>
5328 * buffer.C: replace hand-coded list with a map for the dep clean
5330 2003-02-08 John Levon <levon@movementarian.org>
5332 * LaTeX.C: consolidate code into showRunMessage() helper
5334 2003-02-08 John Levon <levon@movementarian.org>
5339 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5340 and pass the size in explicitly
5342 * BufferView_pimpl.h:
5343 * BufferView_pimpl.C:
5345 * BufferView.C: add getCurrentChange()
5347 * BufferView_pimpl.h:
5348 * BufferView_pimpl.C: handle change lfuns
5350 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5351 for changes. Mark pasted paragraphs as new.
5353 * support/lyxtime.h:
5354 * support/lyxtime.C:
5355 * DepTable.C: abstract time_t as lyx::time_type
5358 * LColor.C: add colours for new text, deleted text, changebars
5360 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5361 package use "usenames" option.
5365 * LyXAction.C: add change lfuns
5369 * author.C: author handling
5372 * buffer.C: add a per-buffer author list, with first entry as
5373 current author. Handle new .lyx tokens for change tracking. Output
5374 author list to .lyx file. Output dvipost stuff to .tex preamble.
5375 Bump lyx format to 222.
5378 * bufferlist.C: add setCurrentAuthor() to reset current author details
5382 * bufferparams.C: add param for tracking
5384 * bufferview_funcs.C: output change info in minibuffer
5388 * changes.C: add change-tracking structure
5391 * debug.C: add CHANGES debug flag
5394 * lyxfind.C: add code for finding the next change piece
5397 * lyxrc.C: add user_name and user_email
5400 * lyxrow.C: add a metric for the top of the text line
5403 * text.C: implement accept/rejectChange()
5406 * text.C: paint changebars. Paint new/deleted text in the chosen
5407 colours. Strike through deleted text.
5411 * paragraph_pimpl.h:
5412 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5413 in the current change to the insert functions. Rework erase to
5414 mark text as deleted, adding an eraseIntern() and a range-based
5415 erase(). Implement per-paragraph change lookup and
5418 * paragraph_funcs.C: Fixup paste for change tracking.
5420 * tabular.C: mark added row/columns as new.
5422 * text.C: fix rowLast() to never return -1. Don't allow
5423 spellchecking of deleted text. Track transpose changes. Don't
5424 allow paragraph break or merge where appropriate.
5426 * text2.C: leave cursor at end of selection after a cut.
5428 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5430 * text.C (getLengthMarkerHeight):
5431 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5432 visible on screen too.
5434 2003-02-07 John Levon <levon@movementarian.org>
5436 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5438 2003-02-05 Angus Leeming <leeming@lyx.org>
5440 * lyxserver.C (read_ready): revert my patch of 11 September last year
5441 as it sends PC cpu through the roof. Presumably this means that
5442 the lyxserver will no longer run on an Alpha...
5444 2003-01-30 Angus Leeming <leeming@lyx.org>
5446 * factory.C (createInset): create an InsetCommandParam of type "index"
5447 and use it to 'do the right thing'.
5449 * text2.C (getStringToIndex): ensure that cursor position is always
5450 reset to the reset_cursor position.
5452 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5454 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5457 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5461 * lyxfunc.C: Output messages with identical spelling, punctuation,
5464 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5466 * MenuBackend.C (expandFormats): List only viewable export formats
5469 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5472 * lyxfunc.C (getStatus): Make sure that formats other than
5473 "fax" can also be disabled
5475 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5477 * text3.C (dispatch): put the lfuns that insert insets in 3
5478 groups, and call doInsertInset with appropriate arguments.
5479 (doInsertInset): new function, that creates an inset and inserts
5480 it according to some boolean parameters.
5482 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * buffer.C (readFile): remember to pass on 'par' when calling
5485 readFile recursively.
5487 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5489 * MenuBackend.C (expandFormats): add "..." to import formats.
5491 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5493 * paragraph.C (asString): Remove XForms RTL hacks.
5495 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5496 * buffer.C: fix typo
5498 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5500 * Makefile.am (LIBS): delete var
5501 (lyx_LDADD): add @LIBS@ here instead.
5503 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5505 * Clarify the meaning of "wheel mouse jump"
5507 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5509 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5512 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5514 * importer.C (Loaders): do not preallocate 3 elements in the
5515 vector, since one ends up with 6 elements otherwise
5517 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5519 * DepTable.C (write): write the file name as last element of the
5520 .dep file (because it may contain spaces)
5521 (read): read info in the right order
5523 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5525 * paragraph_pimpl.C (simpleTeXBlanks):
5526 (simpleTeXSpecialChars):
5527 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5529 * tabular.C (latex): add some missing case statements. Reindent.
5531 * MenuBackend.C (expandToc): remove unused variable.
5533 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5542 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5545 2003-01-05 John Levon <levon@movementarian.org>
5548 * BufferView.C: add getEncoding()
5551 * kbsequence.C: do not store last keypress
5554 * lyxfunc.C: store last keypress here instead. Pass encoding
5557 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5559 * lyx_main.C (init): remove annoying error message when following
5560 symbolic links (bug #780)
5562 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5564 * text.C (insertChar):
5565 * lyxrc.C (getDescription): remove extra spaces
5567 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5569 * lyxrc.C (getDescription): remove extra spaces
5571 2002-12-20 John Levon <levon@movementarian.org>
5573 * text3.C: hack fix for page up/down across tall rows
5575 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5577 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5580 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5582 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5583 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5584 thesaurus is not compiled in
5586 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5588 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5590 2002-12-16 Angus Leeming <leeming@lyx.org>
5593 * lyx_main.C (init): remove override_x_deadkeys stuff.
5595 2002-12-12 John Levon <levon@movementarian.org>
5597 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5598 insert. Only remove shift modifier under strict
5601 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5603 * MenuBackend.C (expandToc): fix crash.
5605 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5607 * MenuBackend.C (expandToc): gettext on float names.
5609 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5611 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5612 implement bool empty() [bug 490]
5614 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5616 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5618 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5620 * several files: ws changes
5622 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5624 * text2.C (setCounter): clean up a bit, use boost.format.
5625 (updateCounters): initialize par upon declaration.
5627 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5628 if the layout exists. We do not just store the layout any more.
5629 (SwitchLayoutsBetweenClasses): use boost.format
5631 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5633 * converter.C (convert): if from and to files are the same, use a
5634 temporary files as intermediary
5636 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5639 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5641 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5643 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5645 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5647 * tabular.C (asciiPrintCell): use string(size, char) instead of
5650 * sgml.C (openTag): fix order of arguments to string constructor
5653 * lyxfunc.C (dispatch): use boost.format
5655 * lots of files: change "c" -> 'c'
5657 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5659 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5661 2002-11-25 Angus Leeming <leeming@lyx.org>
5663 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5665 * lyx_main.C (init): compile fix.
5667 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5669 * lyx_cb.C (start): boost.formatify
5670 do not include <iostream>
5672 * lengthcommon.C: ws only
5674 * boost-inst.C,BoostFormat.h: add more explict instantations
5676 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5678 * lots of files: handle USE_BOOST_FORMAT
5680 2002-11-21 John Levon <levon@movementarian.org>
5682 * pspell.C: fix compile
5684 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5686 * lyxfunc.C (dispatch): use boost::format
5690 * lyxfont.C (stateText): use boost::format
5692 * lyx_main.C (LyX): use boost::format
5694 (queryUserLyXDir): ditto
5697 (typedef boost::function): use the recommened syntax.
5699 * importer.C (Import): use boost::format
5701 * debug.C (showLevel): use boost::format
5703 * converter.C (view): use boost::format
5708 * bufferview_funcs.C (currentState): use boost::format
5710 * bufferlist.C (emergencyWrite): use boost::format
5712 * buffer.C (readLyXformat2): use boost::format
5713 (parseSingleLyXformat2Token): ditto
5715 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5717 * LaTeX.C (run): use boost::format
5719 * Chktex.C (scanLogFile): use boost::format
5721 * BufferView_pimpl.C (savePosition): use boost::format
5722 (restorePosition): ditto
5723 (MenuInsertLyXFile): ditto
5725 * BoostFormat.h: help file for explicit instation.
5727 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5729 * tabular.C (latex): Support for block alignment in fixed width
5732 2002-11-17 John Levon <levon@movementarian.org>
5734 * BufferView_pimpl.C:
5736 * lyxfunc.C: split filedialog into open/save
5738 2002-11-08 Juergen Vigna <jug@sad.it>
5740 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5741 by my last patch (hopefully).
5743 2002-11-08 John Levon <levon@movementarian.org>
5752 * toc.C: ParConstIterator, and use it (from Lars)
5754 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5756 * lyxtextclass.[Ch]: revise and add doxygen comments
5758 2002-11-07 John Levon <levon@movementarian.org>
5760 * text.C: fix progress value for spellchecker
5762 * toc.C: fix navigate menu for insetwrap inside minipage
5764 * paragraph_funcs.C: added FIXME for suspect code
5766 2002-11-07 John Levon <levon@movementarian.org>
5768 * BufferView_pimpl.C: fix redrawing of insets
5771 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5773 * text2.C (updateCounters): fix bug 668
5775 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5777 * text3.C (dispatch): Do not make the buffer dirty when moving the
5780 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5782 * vc-backend.C: STRCONV
5785 * text2.C (setCounter): STRCONV
5787 * paragraph.C (asString): STRCONV
5789 * lyxlength.C (asString): STRCONV
5790 (asLatexString): ditto
5792 * lyxgluelength.C (asString): STRCONV
5793 (asLatexString): ditto
5795 * lyxfunc.C (dispatch): STRCONV
5798 * lyxfont.C (stateText): STRCONV
5800 * importer.C (Import): STRCONV
5802 * counters.C (labelItem): STRCONV
5803 (numberLabel): ditto
5804 (numberLabel): remove unused ostringstream o
5809 * bufferview_funcs.C (currentState): STRCONV
5811 * buffer.C (readFile): STRCONV
5812 (asciiParagraph): ditto
5813 (makeLaTeXFile): ditto
5815 * Spacing.C (writeEnvirBegin): STRCONV
5817 * LaTeXFeatures.C (getLanguages): STRCONV
5818 (getPackages): ditto
5820 (getBabelOptions): ditto
5821 (getTClassPreamble): ditto
5822 (getLyXSGMLEntities): ditto
5823 (getIncludedFiles): ditto
5827 (scanAuxFile): ditto
5830 * LString.h: add the STRCONV macros
5832 * BufferView_pimpl.C (savePosition): STRCONV
5833 (restorePosition): ditto
5834 (MenuInsertLyXFile): ditto
5836 * vc-backend.C (scanMaster): change from submatch[...] to
5839 * funcrequest.C: include config.h
5841 * factory.C: include config.h
5843 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5845 * box.C: include config.h
5847 * LaTeX.C (scanAuxFile): change from submatch[...] to
5851 2002-10-25 Angus Leeming <leeming@lyx.org>
5853 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5855 * ispell.[Ch] (setError): new method.
5856 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5857 Use setError() insetead of goto END.
5859 * lyx_cb.C (AutoSave): move out child process into new class
5862 2002-10-30 John Levon <levon@movementarian.org>
5864 * text3.C: make start appendix undoable
5866 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5868 * lyxlength.C (inPixels): Fix returned value.
5870 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5873 2002-10-24 Angus Leeming <leeming@lyx.org>
5875 * lyxgluelength.h: no need to forward declare BufferParams
5876 or BufferView, so don't.
5878 2002-10-21 John Levon <levon@movementarian.org>
5880 * BufferView.C: menuUndo ->undo, redo
5882 * BufferView.h: document, remove dead, make some methods private
5884 * paragraph_funcs.h:
5885 * paragraph_funcs.C:
5886 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5891 * sgml.C: move sgml open/close tag into sgml.C
5893 * bufferview_funcs.h: unused prototype
5896 * lyxfunc.C: remove unused
5899 * text.C: remove unused
5901 2002-10-21 John Levon <levon@movementarian.org>
5905 * BufferView_pimpl.h:
5906 * BufferView_pimpl.C: fix mouse wheel handling based on
5907 patch from Darren Freeman
5909 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5911 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5913 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5915 * lyxlength.C (inPixels): Fix hanfling of negative length.
5916 Fix LyXLength::MU case.
5918 2002-10-16 John Levon <levon@movementarian.org>
5920 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5922 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5924 * converter.C (view): add support for $$i (file name) and $$p
5925 (file path) for the viewer command. If $$i is not specified, then
5926 it is appended to the command (for compatibility with old syntax)
5928 2002-10-14 Juergen Vigna <jug@sad.it>
5930 * undo_funcs.C (textHandleUndo): alter the order in which the
5931 new undopar is added to the LyXText, as we have to set first
5932 the right prev/next and then add it as otherwise the rebuild of
5933 LyXText is not correct. Also reset the cursor to the right paragraph,
5934 with this IMO we could remove the hack in "redoParagraphs()".
5936 2002-10-09 Angus Leeming <leeming@lyx.org>
5938 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5939 to turn off an optimisation if a new inset is to be inserted.
5941 2002-10-11 André Pönitz <poenitz@gmx.net>
5943 * lyxtext.h: make some functions public to allow access
5944 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5946 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5948 * text3.C (dispatch): when changing layout, avoid an infinite loop
5951 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5953 * lyxrc.C (read): treat a viewer or converter command of "none" as
5956 * MenuBackend.C (expandFormats): for an update, also allow the
5957 formats that are not viewable
5959 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5960 script if it is newer than the lyxrc.defaults in user directory
5962 2002-10-07 André Pönitz <poenitz@gmx.net>
5964 * text.C: Vitaly Lipatov's small i18n fix
5966 2002-09-25 Angus Leeming <leeming@lyx.org>
5968 * ispell.h: doxygen fix.
5970 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5972 * buffer.h (readFile): Add a new argument to the method, to allow
5973 reading of old-format templates.
5975 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5977 * toc.C (getTocList): Get TOC from InsetWrap.
5979 2002-09-16 John Levon <levon@movementarian.org>
5981 * lyxfunc.C: check tabular for cut/copy too
5983 2002-09-12 John Levon <levon@movementarian.org>
5988 * factory.C: add header
5990 * paragraph_funcs.h:
5991 * paragraph_funcs.C: cleanup
5993 2002-09-11 John Levon <levon@movementarian.org>
5995 * PrinterParams.h: odd/even default to true
5997 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5999 * PrinterParams.h: update printer parameters for new xforms dialog
6001 2002-09-11 Angus Leeming <leeming@lyx.org>
6003 * lyxserver.C (read_ready): re-write to make it more transparent
6004 and to make it work in coherent fashion under Tru64 Unix.
6006 2002-09-11 André Pönitz <poenitz@gmx.net>
6010 * text3.C: implement LFUN_WORDSEL
6012 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6014 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6015 make floatlist_ a boost::shared_ptr<FloatList>
6017 * lyxtextclass.C: include FloatList.h
6018 (LyXTextClass): initialize floatlist_
6019 (TextClassTags): add TC_NOFLOAT
6020 (Read): match "nofloat" to TC_NOFLOAT and use it.
6021 (readFloat): modify call to floatlist_
6025 * FloatList.[Ch] (FloatList): remove commented out float
6027 (erase): new function
6029 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6031 * MenuBackend.C (expandToc): fix crash when there is no document
6034 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6036 * many files: Add insetwrap.
6038 2002-09-09 John Levon <levon@movementarian.org>
6040 * text2.C: remove confusing and awkward depth wraparound
6042 2002-09-09 John Levon <levon@movementarian.org>
6044 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6047 * buffer.C: remove getIncludeonlyList()
6050 * lyxfunc.C: remove headers
6052 2002-09-09 Juergen Vigna <jug@sad.it>
6054 * text.C (getColumnNearX): fix form Michael this is most
6055 probably a cut&paste bug.
6057 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6059 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6061 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6062 references, ws changes.
6064 * text2.C (init): update counters after init
6065 (insertParagraph): no need to set counter on idividual paragraphs.
6066 (setCounter): access the counters object in the textclass object
6067 on in the buffer object.
6068 (updateCounters): ditto
6070 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6071 shared_ptr<Counters> to avoid loading counters.h in all
6073 (LyXTextClass): initialize ctrs_
6074 (TextClassTags): add TC_COUNTER, and ...
6075 (Read): use it here.
6076 (CounterTags): new tags
6077 (readCounter): new function
6078 (counters): new funtion
6079 (defaultLayoutName): return a const reference
6081 * counters.C (Counters): remove contructor
6082 (newCounter): remove a couple of unneeded statements.
6083 (newCounter): simplify a bit.
6084 (numberLabel): some small formatting changes.
6086 * buffer.[Ch]: remove all traces of counters, move the Counters
6087 object to the LyXTextClass.
6089 2002-09-06 Alain Castera <castera@in2p3.fr>
6091 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6092 package to set the horizontal alignment on fixed width columns.
6095 * lyx_sty.h: added tabularnewline macro def.
6097 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6099 2002-09-06 John Levon <levon@movementarian.org>
6101 * LyXAction.C: tooltips for sub/superscript
6103 * MenuBackend.C: a bit more verbose
6105 * lyxfunc.C: tiny clean
6107 * undo_funcs.C: document undo_frozen
6109 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * counters.C (Counters): add missing algorithm counter.
6113 * text2.C (setCounter): lookup the counter with layouts latexname
6114 instead of by section number.
6115 (setCounter): use a hackish way to lookup the correct enum
6117 a float name->type change
6118 reset enum couners with counter name directly instead of depth value.
6120 * counters.C (Counters): remove the push_backs, change to use the
6121 float type not the float name.
6122 (labelItem): remove unused string, float name->type change
6124 * counters.h: don't include vector, loose the enums and sects vectors
6126 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6128 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6129 (Read): add float->TC_FLOAT to textclassTags
6130 (Read): and handle it in the switch
6131 (readFloat): new function
6133 * FloatList.C (FloatList): comment out the hardcoded float
6136 * lyxlayout.h: ws change.
6138 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6140 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6142 2002-09-03 Angus Leeming <leeming@lyx.org>
6144 * BufferView_pimpl.h: qualified name is not allowed in member
6145 declaration: WorkArea & Pimpl::workarea() const;
6147 * factory.C: added using std::endl directive.
6149 * text3.C: added using std::find and std::vector directives.
6151 2002-08-29 André Pönitz <poenitz@gmx.net>
6154 * text2.C: remove unused member number_of_rows
6157 * BufferView2.C: remove file, move contents to...
6158 * BufferView.C: ... here
6160 * BufferView_pimpl.C:
6161 * factory.C: move more inset creation to factory
6163 * vspace.C: avoid direct usage of LyXText, ws changes
6166 don't provide direct access to WorkArea, use two simple
6167 acessors haveSelction() and workHeight() instead
6170 2002-08-29 John Levon <levon@movementarian.org>
6172 * BufferView_pimpl.C (dispatch): do not continue when
6175 2002-08-28 André Pönitz <poenitz@gmx.net>
6177 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6180 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6182 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6184 * buffer.C: increment LYX_FORMAT to 221
6186 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6187 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6189 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6191 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6193 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6195 * factory.C (createInset): use LyXTextClass::floats
6197 * MenuBackend.C (expandFloatListInsert):
6198 (expandFloatInsert):
6201 * text2.C (setCounter):
6203 * LaTeXFeatures.C (useFloat):
6204 (getFloatDefinitions):
6206 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6208 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6209 floatlist_, with accessor floats().
6211 * FloatList.h: remove global FloatList
6213 2002-08-26 André Pönitz <poenitz@gmx.net>
6215 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6219 * BufferView_pimpl.C:
6220 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6222 2002-08-25 John Levon <levon@movementarian.org>
6224 * LyXAction.C: fix margin note description
6226 2002-08-24 John Levon <levon@movementarian.org>
6230 * bufferview_funcs.C:
6232 * undo_funcs.C: cleanups
6234 * lyxfunc.C: disable CUT/COPY when no selection
6236 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6238 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6239 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6241 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6242 Add backward compatibility to "mono", "gray" and "no".
6244 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6246 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6247 (and file_format >= 200).
6249 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6251 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6253 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6255 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6257 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6259 * BufferView_pimpl.C:
6266 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6267 inset and code to make it work with the paragraph code. The inset
6268 can be anywhere in the paragraph, but will only do the expected
6269 thing in LaTeX if the layout file contains the parameter line
6271 (or more generally, a nonzero value) for that layout.
6273 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6275 * paragraph.h: remove the declaration of undefined counters class
6278 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6280 * text2.C (setCounter): fixed enumeration mis-count as reported by
6281 Dr. Richard Hawkins.
6283 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6285 * paragraph_funcs.h: remove some unneeded includes
6287 * text.C (backspace): pasteParagraph now in global scipe
6289 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6290 (pasteSelection): ditto
6292 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6293 * paragraph_funcs.C (pasteParagraph): ... here
6295 2002-08-20 André Pönitz <poenitz@gmx.net>
6297 * commandtags.h: new LFUNs for swapping/copying table row/colums
6300 * lyxfunc.C: support for new lfuns
6302 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6305 * buffer.[Ch]: remove NO_COMPABILITY stuff
6307 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6309 * boost.C (throw_exception): new file, with helper function for
6310 boost compiled without exceptions.
6315 * ParameterStruct.h:
6316 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6318 * bufferlist.C (emergencyWriteAll): use boost bind
6320 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6322 * text.C: include paragraph_funcs.h
6323 (breakParagraph): breakParagraph is now in global scope
6325 * paragraph_funcs.[Ch]: new files
6327 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6330 * buffer.C: include paragraph_funcs.h
6331 (insertStringAsLines): breakParagraph is now in global scope
6333 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6336 * CutAndPaste.C: include paragraph_funcs.h
6337 (cutSelection): breakParagraphConservative is now in global scope
6338 (pasteSelection): ditto
6340 * buffer.h: declare oprator== and operator!= for
6341 Buffer::inset_iterator
6343 * bufferlist.C (emergencyWrite): don't use fmt(...)
6345 * text3.C: add using std::endl
6347 * BufferView.C (moveCursorUpdate): remove default arg
6349 2002-08-20 André Pönitz <poenitz@gmx.net>
6351 * buffer.[Ch]: move inline functions to .C
6354 * BufferView_pimpl.C:
6356 * buffer.[Ch]: use improved inset_iterator
6359 * paragraph.[Ch]: write one paragraph at a time
6361 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6363 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6364 style if style is not specified.
6366 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6368 * text2.C (setCounter): when searching for right label for a
6369 caption, make sure to recurse to parent insets (so that a caption
6370 in a minipage in a figure float works) (bug #568)
6372 2002-08-20 André Pönitz <poenitz@gmx.net>
6374 * text3.C: new file for LyXText::dispatch() and helpers
6376 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6378 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6380 2002-08-19 André Pönitz <poenitz@gmx.net>
6383 * text.C: new LyXText::dispatch()
6385 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6387 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6389 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6391 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6394 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6396 * Makefile.am: use $(variables) instead of @substitutions@
6398 2002-08-15 André Pönitz <poenitz@gmx.net>
6401 * BufferView_pimpl.C: streamlining mathed <-> outer world
6405 * LyXAction.C: remove unused LFUN_MATH
6407 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6409 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6411 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6413 * paragraph.C (Paragraph): reformat a bit
6414 (cutIntoMinibuffer): use builtin InsetList function instad of
6418 * buffer.C: include boost/bind.hpp, add using std::for_each
6419 (writeFileAscii): use ParagraphList iterators
6420 (validate): use for_each for validate traversal of paragraphs
6421 (getBibkeyList): use ParagraphList iterators
6422 (resizeInsets): use for_each to resizeInsetsLyXText for all
6424 (getParFromID): use ParagraphList iterators
6426 * BufferView2.C (lockInset): use paragraph list and iterators
6428 2002-08-14 John Levon <levon@movementarian.org>
6430 * lyxserver.C: remove spurious xforms include
6432 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6434 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6436 2002-08-13 André Pönitz <poenitz@gmx.net>
6439 * lyxfunc.C: further cleaning
6441 2002-08-13 André Pönitz <poenitz@gmx.net>
6443 * funcrequest.h: new constructor
6445 * funcrequest.C: move stuff here from .h
6448 * BufferView_pimpl.C:
6451 * lyxfunc.C: subsequent changes
6453 * lyxfunc.h: new view() member function
6455 * lyxfunc.C: subsequent changes
6457 2002-08-13 Angus Leeming <leeming@lyx.org>
6460 * BufferView_pimpl.C:
6468 changes due to the changed LyXView interface that now returns references
6469 to member variables not pointers.
6471 2002-08-13 Angus Leeming <leeming@lyx.org>
6473 * WordLangTuple (word, lang_code): return references to strings,
6478 * lyxtext.h: forward-declare WordLangTuple.
6483 * text.C: #include "WordLangTuple.h".
6486 * text.C: (selectNextWordToSpellcheck): constify return type.
6488 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6494 * paragraph_pimpl.h:
6497 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6499 Made updateCounter always count from start of buffer, and removed
6500 second argument (par).
6501 Reverted floats number display to '#'. Perhaps I'll try again when the
6502 code base is sanitized a bit.
6504 2002-08-12 Angus Leeming <leeming@lyx.org>
6506 * buffer.[Ch] (getLabelList): constify.
6508 2002-08-07 André Pönitz <poenitz@gmx.net>
6510 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6512 * funcrequest.h: extension to keep mouse (x,y) position
6514 2002-08-12 Juergen Vigna <jug@sad.it>
6516 * BufferView2.C (insertErrors): forbid undo when inserting error
6519 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6521 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6523 * ParagraphList.[Ch]: new files
6525 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6527 * BufferView2.C (lockInset): ParagraphList changes
6530 * bufferlist.C: ditto
6534 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6536 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6537 unused class variable counter_,
6539 * paragraph.[Ch] (getFirstCounter): delete unused function
6541 * counters.C: include LAssert.h
6542 (reset): add a new function with no arg, change other version to
6543 not have def. arg and to not allow empty arg.
6545 * text2.C (setCounter): remove empty arg from call to Counters::reset
6547 2002-08-11 John Levon <levon@movementarian.org>
6549 * Makefile.am: add WordLangTuple.h
6551 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6553 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6554 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6556 * insets/insettext.C: InsetList changes
6558 * graphics/GraphicsSupport.C (operator()): InsetList changes
6560 * toc.C (getTocList): InsetList changes
6562 * paragraph_pimpl.[Ch]: InsetList changes
6564 * paragraph.[Ch]: InsetList changes
6566 * buffer.C (inset_iterator): InsetList changes
6567 (setParagraph): ditto
6568 * buffer.h (inset_iterator): ditto
6569 * iterators.C (operator++): ditto
6570 * iterators.h: ditto
6572 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6574 * InsetList.[Ch]: new files, most InsetList handling moved out of
6577 * BufferView2.C (removeAutoInsets): InsetList changes
6579 (ChangeInsets): ditto
6581 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6583 * paragraph_pimpl.h (empty): new function
6585 * paragraph.[Ch] (empty): new function
6587 * other files: use the new Paragraph::empty function
6589 2002-08-09 John Levon <levon@movementarian.org>
6591 * lyxtext.h: remove unused refresh_height
6593 2002-08-09 John Levon <levon@movementarian.org>
6600 * paragraph.C: move sgml char escaping out of paragraph
6603 * paragraph.C: remove id setter
6607 * paragraph_pimpl.C: remove dead tex_code_break_column
6609 * bufferview_funcs.C: small cleanup
6611 * lyxfunc.C: remove dead proto
6613 * lyxtext.h: make some stuff private. Remove some dead stuff.
6615 * lyxgluelength.C: make as[LyX]String() readable
6617 2002-08-08 John Levon <levon@movementarian.org>
6622 * ToolbarDefaults.C:
6625 * toc.C: lyxaction cleanup
6627 2002-08-08 John Levon <levon@movementarian.org>
6629 * BufferView2.C: small cleanup
6632 * lyxfind.C: move unnecessary header into the .C
6634 2002-08-08 John Levon <levon@movementarian.org>
6636 * funcrequest.h: just tedious nonsense
6639 * lyx_main.C: cleanups
6642 * vspace.C: remove dead header lyx_main.h
6644 2002-08-07 Angus Leeming <leeming@lyx.org>
6647 * paragraph_pimpl.h:
6648 Forward declare class Counters in paragraph.h by moving the ctrs member
6649 variable into Paragraph::Pimpl.
6650 (counters): new method, returning a reference to pimpl_->ctrs.
6652 * text2.C: ensuing changes.
6654 2002-08-07 John Levon <levon@movementarian.org>
6656 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6658 * BufferView_pimpl.C: announce X selection on double/triple
6661 * lyx_main.C: use correct bool in batch dispatch
6663 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6665 2002-08-07 André Pönitz <poenitz@gmx.net>
6667 * funcrequest.h: new class to wrap a kb_action and its argument
6670 * BufferView_pimpl[Ch]:
6674 * lyxrc.C: subsequent changes
6677 2002-08-07 John Levon <levon@movementarian.org>
6679 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6680 document options change.
6682 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6687 * makefile.am: move counters functionality over from
6688 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6690 2002-08-06 John Levon <levon@movementarian.org>
6692 * WordLangTuple.h: new file for word + language code tuple
6703 * BufferView2.C: use WordLangTuple
6706 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6708 2002-08-06 John Levon <levon@movementarian.org>
6710 * lyx_main.C: fix cmdline batch handling
6712 2002-08-06 André Pönitz <poenitz@gmx.net>
6714 * lyxrc.C: set default for show_banner to true
6716 2002-08-06 John Levon <levon@movementarian.org>
6718 * pspell.C: fix a crash, and allow new aspell to work
6720 2002-08-06 John Levon <levon@movementarian.org>
6723 * kbmap.C: small cleanup
6726 * vspace.C: add const
6728 2002-08-05 John Levon <levon@movementarian.org>
6730 * LyXAction.C: back to tabular-insert
6732 2002-08-04 John Levon <levon@movementarian.org>
6735 * BufferView.C: cosmetic change
6737 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6747 * BufferView2.C: purge all "Lyx" not "LyX" strings
6750 * lyxcursor.C: attempt to add some documentation
6755 * ToolbarDefaults.C:
6756 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6757 merge with LFUN_TABULAR_INSERT
6764 * pspell.C: split up i/pspell implementations into separate
6765 files, many cleanups
6767 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6769 * text2.C: some cleanup
6771 * lyxfunc.C: don't check for isp_command == "none" any more, it
6772 didn't make any sense
6774 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6779 * makefile.am: move counters functionality over
6780 from text2.C/paragraph.[Ch] to counters.[Ch], and
6782 2002-08-02 John Levon <levon@movementarian.org>
6784 * buffer.C: s/lyxconvert/lyx2lyx/
6786 2002-08-02 Angus Leeming <leeming@lyx.org>
6788 * lyxlex.C: revert John's change as it breaks reading of the user
6791 2002-08-02 Angus Leeming <leeming@lyx.org>
6793 * importer.C (Import):
6794 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6795 changes due to LyXView::view() now returning a boost::shared_ptr.
6797 2002-08-02 John Levon <levon@movementarian.org>
6799 * lyxlex.C: small cleanup
6801 2002-08-02 John Levon <levon@movementarian.org>
6803 * text2.C (status): small cleanup, no logic change
6805 2002-08-01 John Levon <levon@movementarian.org>
6808 * buffer.C (writeFile): don't output alerts, caller
6812 * lyx_cb.C: from above
6814 * lyxfunc.C: allow to open non-existent files
6816 2002-07-31 John Levon <levon@movementarian.org>
6818 * lyxserver.C: don't let incidental errors get
6821 2002-07-30 John Levon <levon@movementarian.org>
6823 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6825 2002-07-30 John Levon <levon@movementarian.org>
6828 * lyxserver.C: remove I/O callback too
6830 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6832 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6835 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6837 * many files: strip,frontStrip -> trim,ltrim,rtrim
6839 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6841 * PrinterParams.h: remove extern containsOnly, and include
6842 support/lstrings.h instead.
6844 * LaTeX.C (scanAuxFile): modify because of strip changes
6846 * buffer.C (makeLaTeXFile): ditto
6847 * bufferparams.C (writeFile): ditt
6848 * lyxfont.C (stateText): ditto
6849 * lyxserver.C (read_ready): ditto
6850 * vc-backend.C (scanMaster): ditto
6852 * BufferView_pimpl.h: ws changes
6854 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6856 2002-07-26 André Pönitz <poenitz@gmx.net>
6858 * kb_sequence.C: remove unnedred usings
6860 2002-07-26 Juergen Vigna <jug@sad.it>
6862 * lyxfind.C (LyXReplace): we have to check better if the returned
6863 text is not of theLockingInset()->getLockingInset().
6865 2002-07-25 Juergen Vigna <jug@sad.it>
6867 * lyxfind.C (LyXReplace): don't replace if we don't get the
6870 * undo_funcs.C (createUndo): remove debugging code.
6872 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6874 * buffer.C (parseSingleLyXformat2Token): Use default placement
6875 when reading old floats.
6877 * FloatList.C (FloatList): Change the default placement of figure
6878 and tables to "tbp".
6880 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6882 * MenuBackend.C: using std::max
6884 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6886 * MenuBackend.C (expandToc):
6887 (expandToc2): code moved from xforms menu frontend. It is now
6888 generic and TOCs are transparent to menu frontends.
6890 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6892 * toc.C (getTocList): protect against buf=0
6894 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6895 Menu as first parameter. Now, this calls itself recursively to
6896 expand a whole tree (this will be useful for TOC handling)
6897 (expandFloatInsert): remove 'wide' version of floats
6899 * MenuBackend.h (submenuname): returns the name of the submenu.
6900 (submenu): returns the submenu itself, provided it has been
6901 created by MenuBackend::expand
6903 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6905 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6906 insets which have noFontChange == true. (bug #172)
6908 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6910 * BufferView_pimpl.C: add connection objects and use them...
6913 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6915 * MenuBackend.C (expandLastfiles):
6918 (expandFloatListInsert):
6919 (expandFloatInsert):
6920 (expand): split expand in parts
6922 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6924 * lyx_gui.C: use lyx_gui::exit()
6926 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6928 * LyXAction.C: show the failing pseudo action
6930 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6932 * buffer.C (readFile): Run the lyxconvert script in order to read
6935 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6939 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6941 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6945 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6947 2002-07-22 Herbert Voss <voss@lyx.org>
6950 * lyxlength.[Ch]: add support for the vertical lengths
6952 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6954 * toc.[Ch]: std:: fixes
6956 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6958 * lyxrc.C: do not include lyx_main.h
6960 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6966 * BufferView2.C: include "lyxlex.h"
6969 * bufferparams.h: do not #include "lyxlex.h"
6971 * lyxtextclasslist.C (Add): remove method
6972 (classlist): renamed to classlist_
6974 * paragraph_pimpl.C:
6978 * bufferview_funcs.C:
6983 * toc.C (getTocList): use BufferParams::getLyXTextClass
6985 * toc.C (getTocList): use InsetFloat::addToToc
6987 * toc.[Ch]: new files, containing helper functions to handle table
6990 * lyxfunc.C (dispatch): no need to remove spaces around command
6992 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6993 first command of the sequence; it is not very clever, but I do not
6994 have a better idea, actually
6996 * LyXAction.C (LookupFunc): make sure to remove space at the
6997 beginning and end of the command
6999 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7001 * MenuBackend.C (getMenubar): new method: return the menubar of
7003 (read): treat differently reading of menu and menubar (in
7004 particular, the menubar has no name now)
7005 (Menu::menubar): remove
7007 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7010 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7012 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7013 a bibitem inset in a RTL paragraph.
7015 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7017 * paragraph_pimpl.C: constify
7019 * BufferView_pimpl.C:
7021 * lyxfunc.C: fix dispatch in a nicer way
7023 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7025 * lyxfunc.C (dispatch):
7026 * BufferView_pimpl.C:
7027 * BufferView_pimpl.h:
7029 * BufferView.h: rename Dispatch() to dispatch()
7031 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7033 * lyxlayout.C (Read): honor DependsOn tag
7035 * lyxlayout.[Ch] (depends_on): new method
7037 * version.C.in: update lyx_docversion
7039 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7041 * paragraph.C (validate): remove from here...
7042 * paragraph_pimpl.C (validate): ... and move here
7043 (isTextAt): make it const
7045 * buffer.C (getLists): ws cleanup
7047 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7049 * language.C (read): Use iso8859-1 encoding in latex_lang
7050 (this prevents LyX from crashing when using iso10646-1 encoding).
7052 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7054 * text2.C (toggleInset): if cursor is inside an inset, close the
7055 inset and leave cursor _after_ it
7057 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7059 * lyxfunc.C: move minibuffer completion handling out of here
7061 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7063 * BufferView_pimpl.C:
7064 * LaTeX.C: fix dispatch calls
7066 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7068 * text.C (drawChars): Fix Arabic text rendering.
7070 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7074 * lyxfunc.C: remove message-push/pop
7078 * lyxfunc.C: rationalise some code by removing verboseDispatch
7079 in favour of a bool argument to dispatch()
7081 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7083 * lyx_main.C (init): make sure to read symlinks as absolute paths
7085 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7088 * lyxfunc.C: no need for commandshortcut to be a member
7090 2002-07-15 André Pönitz <poenitz@gmx.net>
7092 * converter.C: add support for $$s (scripts from lib/scripts dir)
7093 * lyx_main.C: white space
7095 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7099 * lyxrc.C: remove second exit confirmation
7101 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7106 * BufferView_pimpl.h:
7107 * BufferView_pimpl.C:
7108 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7110 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7112 * MenuBackend.C (expand): add numeric shortcuts to document menu
7114 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7116 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7118 * lyxfont.C (setLyXFamily):
7125 * buffer.C (asciiParagraph): use ascii_lowercase
7127 2002-07-15 Mike Fabian <mfabian@suse.de>
7129 * lyxlex_pimpl.C (search_kw):
7130 * lyxlex.C (getLongString):
7131 * converter.h (operator<):
7132 * converter.C (operator<):
7133 * buffer.C (parseSingleLyXformat2Token):
7135 * ToolbarDefaults.C (read):
7136 * MenuBackend.C (checkShortcuts):
7138 * LColor.C (getFromGUIName):
7139 (getFromLyXName): use the compare_ascii_no_case instead of
7140 compare_no_case, because in turkish, 'i' is not the lowercase
7141 version of 'I', and thus turkish locale breaks parsing of tags.
7143 2002-07-16 Angus Leeming <leeming@lyx.org>
7145 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7146 now takes a Buffer const & argument.
7148 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7150 * BufferView.C (resize): check there's a buffer to resize
7152 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7154 * lyxfunc.C: remove dead code
7157 * lyxserver.C: use lyx_guii::set_read_callback
7159 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7161 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7162 an inset in a RTL paragraph.
7164 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7166 * lyxfunc.C: repaint after a font size update
7168 2002-07-15 André Pönitz <poenitz@gmx.net>
7170 * lyxlength.C: inBP should be able to return negative values
7172 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7174 * lyxfunc.C: use lyx_gui::update_fonts()
7176 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7178 * lyxfunc.C: use lyx_gui::update_color()
7180 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7186 * lyxrc.C: remove file->new asks for name option, and let
7187 buffer-new take an argument
7189 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7191 * BufferView_pimpl.C: remove unneeded extra repaint()
7193 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7195 * LyXAction.C: allow command-sequence with NoBuffer
7197 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7199 2002-07-10 Angus Leeming <leeming@lyx.org>
7201 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7203 2002-07-09 Angus Leeming <leeming@lyx.org>
7205 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7207 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7209 * lengthcommon.h: whitespace
7211 * lyxfunc.C: update scrollbar after goto paragraph
7213 * lyxtext.h: factor out page break drawing, and fix it so
7214 page break/added space paints as selected nicely
7216 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7218 * BufferView_pimpl.C: add FIXMEs, clean up a little
7220 2002-07-09 André Pönitz <poenitz@gmx.net>
7222 * lyxfont.[Ch]: support for wasy symbols
7224 2002-07-08 André Pönitz <poenitz@gmx.net>
7226 * BufferView_pimpl.C: apply John's patch for #93.
7228 2002-07-05 Angus Leeming <leeming@lyx.org>
7230 * BufferView_pimpl.C (buffer): generate previews if desired.
7232 * LColor.h: add "preview" to the color enum.
7234 * LColor.C (LColor): add a corresponding entry to the items array.
7236 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7239 2002-07-05 Angus Leeming <leeming@lyx.org>
7241 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7242 The body of the code is now in the method that is passed an ostream &
7243 rather than a file name.
7244 Pass an additional only_preamble parameter, useful for the forthcoming
7247 2002-07-03 André Pönitz <poenitz@gmx.net>
7249 * lyxfunc.C: simplify getStatus() a bit for math stuff
7251 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7253 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7255 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7257 * text.C (changeRegionCase): do not change case of all the
7258 document when region ends at paragraph end (bug #461)
7260 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7262 * paragraph.C (startTeXParParams):
7263 (endTeXParParams): add \protect when necessary
7265 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7267 * BufferView_pimpl.C (workAreaExpose): remove warning
7269 2002-06-27 Angus Leeming <leeming@lyx.org>
7271 * Makefile.am: add lyxlayout_ptr_fwd.h.
7273 2002-06-26 André Pönitz <poenitz@gmx.net>
7275 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7277 2002-06-25 Angus Leeming <leeming@lyx.org>
7279 * lyxfunc.C (dispatch): Comment out the call to
7280 grfx::GCache::changeDisplay. The method no longer exists now that the
7281 pixmap generation part of the graphics loader has been moved into
7284 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7286 * text2.C: layout as layout
7288 * text.C: layout as layout
7290 * tabular.C (OldFormatRead): layout as layout
7292 * paragraph_pimpl.C (TeXDeeper): layout as layout
7293 (realizeFont): layout as layout
7295 * paragraph.C (writeFile): layout as layout
7296 (validate): layout as layout
7297 (getFont): layout as layout
7298 (getLabelFont): layout as layout
7299 (getLayoutFont): layout as layout
7300 (breakParagraph): layout as layout
7301 (stripLeadingSpaces): layout as layout
7302 (getEndLabel): layout as layout
7303 (getMaxDepthAfter): layout as layout
7304 (applyLayout): layout as layout
7305 (TeXOnePar): layout as layout
7306 (simpleTeXOnePar): layout as layout
7307 (TeXEnvironment): layout as layout
7308 (layout): layout as layout
7309 (layout): layout as layout
7311 * lyxtextclass.C (compare_name): new functor to work with
7312 shared_ptr, layout as layout
7313 (Read): layout as layout
7314 (hasLayout): layout as layout
7315 (operator): layout as layout
7316 (delete_layout): layout as layout
7317 (defaultLayout): layout as layout
7319 * lyxlayout_ptr_fwd.h: new file
7321 * lyxlayout.C (Read): layout as layout
7323 * lyx_cb.C (MenuInsertLabel): layout as layout
7325 * bufferlist.C (newFile): layout as layout
7327 * buffer.C (readLyXformat2): layout as layout
7328 (parseSingleLyXformat2Token): layout as layout
7329 (insertStringAsLines): layout as layout
7330 (asciiParagraph): layout as layout
7331 (latexParagraphs): layout as layout
7332 (makeLinuxDocFile): layout as layout
7333 (simpleLinuxDocOnePar): layout as layout
7334 (makeDocBookFile): layout as layout
7335 (simpleDocBookOnePar): layout as layout
7336 (getLists): layout as layout
7338 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7340 * CutAndPaste.C (cutSelection): layout as layout
7341 (pasteSelection): layout as layout
7342 (SwitchLayoutsBetweenClasses): layout as layout
7344 * BufferView_pimpl.C (Dispatch): layout as layout
7345 (smartQuote): layout as layout
7347 * BufferView2.C (unlockInset): layout as layout
7349 2002-06-24 André Pönitz <poenitz@gmx.net>
7351 * lyxfunc.C: fix #487
7353 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7357 * lyxfunc.C: remove display_shortcuts, show_banner
7359 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7361 * Buffer_pimpl.C: oops, update on resize
7363 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7370 * BufferView.C: use repaint()
7372 * BufferView_pimpl.h:
7373 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7374 as it's a clearer description. Remove superfluous
7377 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7379 * text.C: fix bug 488. Not ideal, but getting
7380 getWord() to work properly for the insets that
7381 matter is more difficult ...
7383 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7385 * BufferView_pimpl.C:
7388 * lyxfunc.C: remove the six million index lyxfuncs to just
7389 one, and DTRT (bug 458)
7391 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7395 * BufferView_pimpl.h:
7396 * BufferView_pimpl.C: clean up resize() stuff,
7397 and unnecessary updateScreen()s
7399 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7403 * BufferView_pimpl.h:
7404 * BufferView_pimpl.C:
7407 * minibuffer.C: remove focus management of workarea,
7408 not needed. Use screen's greyOut()
7410 2002-06-17 Herbert Voss <voss@lyx.org>
7412 * converter.C: (convert) do not post a message, when converting
7413 fails, let the calling function decide what to do in this case
7415 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7417 * lyxfunc.C: tidy up a little
7419 2002-06-16 <alstrup@diku.dk>
7421 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7422 Got rid of FORMS_H_LOCATION include. Now we are
7425 2002-06-15 LyX Development team <lyx@rilke>
7427 * buffer.[Ch] (sgmlOpenTag):
7428 (sgmlCloseTag): Added support for avoiding pernicious mixed
7429 content. Return number of lines written.
7432 (makeDocBookFile): Fixed calls to sgml*Tag.
7433 Simple white space clean.
7435 (simpleDocBookOnePar): Simple white space clean.
7437 * tabular.[Ch] (docBook): Renamed to docbook and got another
7438 argument to related with the pernicious mixed content.
7440 (docbookRow): Fixed calls for docbook inset method.
7442 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7444 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7445 so it's X11 independent.
7449 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7451 2002-06-15 Lyx Development team <lyx@electronia>
7453 * intl.h: Renamed getTrans to getTransManager.
7455 2002-06-14 Angus Leeming <leeming@lyx.org>
7457 * Makefile.am: nuke forgotten stl_string_fwd.h.
7459 2002-06-12 Angus Leeming <leeming@lyx.org>
7461 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7463 2002-06-13 Angus Leeming <leeming@lyx.org>
7466 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7468 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7470 * kbmap.C (getiso): add support for cyrillic and greek
7472 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7476 * BufferView_pimpl.h:
7477 * BufferView_pimpl.C: move bogus scrolling logic
7480 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7483 * BufferView_pimpl.C: view->resize() change
7485 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7487 * BufferView_pimpl.C: topCursorVisible
7490 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7494 * lyx_gui.C: move to frontends/
7498 * lyx_main.C: changes from above
7500 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7507 * lyx_main.C: minor tidy
7509 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7511 * BufferView_pimpl.h:
7512 * BufferView_pimpl.C:
7514 * BufferView.C: make painter() const,
7517 * BufferView2.C: use screen() accessor
7520 * lyx_main.C: some minor cleanup
7522 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7524 * BufferView_pimpl.h:
7525 * BufferView_pimpl.C: remove enter/leaveView,
7528 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7533 * BufferView_pimpl.h:
7534 * BufferView_pimpl.C: only construct screen once,
7537 * lyxrc.C: remove pointless comment
7539 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7542 * BufferView.C: remove active() and belowMouse()
7544 * BufferView_pimpl.h:
7545 * BufferView_pimpl.C: use workarea() not workarea_,
7546 and make it use a scoped_ptr instead
7548 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7550 * lyx_gui.C: add debug message on BadWindow
7552 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7554 * sp_spell.C: fdopen is not part of the C++ standard.
7556 * paragraph.C (InsetIterator): use >= instead of ==
7558 2002-06-07 Angus Leeming <leeming@lyx.org>
7560 Fixes needed to compile with Compaq cxx 6.5.
7561 * BufferView_pimpl.C:
7568 * lyxtextclasslist.C:
7573 all c-library variables have been moved into namespace std. Wrap
7574 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7579 Add a using std::abs declaration.
7581 * kbmap.h (modifier_pair):
7582 * paragraph.h (InsetTable, InsetList):
7583 * lyxfont.h (FontBits):
7584 type definition made public.
7586 * bufferlist.C (emergencyWriteAll): the compiler complains that
7587 there is more than one possible lyx::class_fun template to choose from.
7588 I re-named the void specialisation as lyx::void_class_fun.
7590 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7592 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7593 the compiler is is unable to find tostr in write_attribute.
7595 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7597 * buffer.C (sgmlError): hide #warning
7599 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7601 * xtl/*: get rid of xtl, which is not in use anyway
7603 * LyXAction.C (init):
7604 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7605 were unimplemented xtl experimentation
7607 2002-06-04 André Pönitz <poenitz@gmx.net>
7609 * lyxfunc.C: disable array operation on simple formulae
7611 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7613 * converter.C: constify a bit
7615 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7617 * lyx_gui.C: check xforms version correctly
7619 2002-04-30 Herbert Voss <voss@lyx.org>
7621 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7624 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7626 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7627 attempt to register it with a VCS)
7629 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7631 * lyx_main.C (init): honor variables LYX_DIR_13x and
7634 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7638 * lyx_main.C: fix a crash on bad command line,
7639 and give a useful exit status on error
7641 * lyxfunc.C (doImport): allow -i lyx to work
7643 2002-03-30 André Pönitz <poenitz@gmx.net>
7645 * lyxfunc.C: mathed font changes
7647 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7662 * trans_mgr.h: srcdocs, and some minor cleanups
7664 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7666 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7667 call getFont all the time)
7669 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7671 * switch from SigC signals to boost::signals
7673 2002-05-29 André Pönitz <poenitz@gmx.net>
7675 * paragraph_pimpl.C (getChar): don't call size() too often...
7677 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7679 * paragraph_pimpl.C (insertChar): do not try to update tables when
7680 appending (pos == size())
7682 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7683 in order to reduce drastically the number of comparisons needed to
7684 parse a large document
7686 2002-05-29 André Pönitz <poenitz@gmx.net>
7692 * textclasslist.[Ch]:
7693 * sp_ispell.h: whitespace change
7695 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7697 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7698 lyxaction directly now.
7700 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7704 * lyxvc.C: remove unused headers
7706 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7713 * undo_funcs.C: some cleanups. Use shared_ptr
7714 and a template for the undo stacks.
7716 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7718 * BufferView_pimpl.h:
7719 * BufferView_pimpl.C:
7726 * text2.C: use key_state/mouse_state
7728 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7730 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7733 * chset.C: change include order
7734 (loadFile): use boost regex and get rid of LRegex and LSubstring
7736 * Makefile.am (BOOST_LIBS): new variable
7739 * LaTeX.C: change include order.
7740 (scanAuxFile): use boost regex and get rid of LRegex and
7744 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7749 * FontInfo.C: moved to frontends/xforms/
7752 * FontLoader.C: moved into frontends for GUIIzation
7757 * lyxfunc.C: changes from above
7759 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7761 * LColor.C: remove spurious X include
7763 * BufferView_pimpl.C:
7768 * text2.C: move font metrics to frontends/
7770 2002-05-24 Juergen Vigna <jug@sad.it>
7772 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7773 setting the undo_cursor.
7775 * ParagraphParameters.h: include local includes first.
7777 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7779 * BufferView_pimpl.C:
7780 * BufferView_pimpl.h:
7784 * screen.C: move WorkArea into frontends/
7790 * BufferView2.C: move LyXScreen into frontends/
7794 * lyx_gui.C: move lyxlookup into frontends/xforms/
7796 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7799 * BufferView_pimpl.C:
7809 * bufferview_funcs.C:
7822 * vc-backend.C: move LyX/XFormsView into frontends/
7824 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7836 * text2.C: move Painter to frontends/
7838 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7840 * buffer.C: comment out some some code that depend upon lyx_format
7843 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7844 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7846 * buffer.h (NO_COMPABILITY): turn off compability
7848 * ColorHandler.C: include scoped_array.hpp
7850 * font.C: Use more specific smart_ptr header.
7853 * ShareContainer.h: ditto
7857 * BufferView_pimpl.h: ditto
7858 * ColorHandler.h: ditto
7860 * kbmap.C (defkey): change call to shared_ptr::reset
7862 2002-05-21 Juergen Vigna <jug@sad.it>
7864 * buffer.C (insertErtContents): fix to insert ert asis if it is
7865 non empty. Skip it completely if it contains only whitespaces.
7867 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7869 * BufferView_pimpl.C:
7870 * BufferView2.C: clear selection on paste (bug 393)
7872 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7874 * DepTable.C: include ctime
7876 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7878 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7880 2002-05-14 Juergen Vigna <jug@sad.it>
7882 * text.C (breakParagraph): fixed function to honor the keepempty
7883 layout in the right maner and also to permit the right breaking
7884 algorithm on empty or non empyt keepempty paragraphs.
7886 * paragraph.C (breakParagraph): we have to check also if the par
7887 is really empty (!size()) for isempty otherwise we do the wrong
7890 2002-05-10 Juergen Vigna <jug@sad.it>
7892 * buffer.[Ch] : The following are only changes to the ert
7893 compatibility read reading old LaTeX layout and font stuff and
7894 convert it to ERTInsets.
7896 * buffer.h: added isErtInset().
7898 * buffer.C (struct ErtComp): add a fromlayout bool to check
7899 if we're inside a LaTeX layout.
7900 (isErtInset): new helper function.
7901 (insertErtContents): look for other ert insets before this one
7902 and insert the contents there, so that we don't have subsequent
7903 ERT insets with nothing between them. This way we create only one
7904 inset with multiple paragraphs. Also check if we don't insert only
7905 spaces ' ' as they are ignored anyway afterwards in the .tex file
7906 so if we have only spaces we will ignore this latex part in the
7908 (parseSingleLyXformat2Token \\layout): better compatibility when
7909 reading layout-latex stuff.
7910 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7912 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7913 stuff after reading the inset only get the information back from
7916 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7918 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7920 * LaTeXFeatures.C (getBabelOptions): New method.
7922 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7924 * BufferView_pimpl.C (Dispatch): work around missing argument for
7927 2002-05-08 Juergen Vigna <jug@sad.it>
7929 * text.C (leftMargin): handle paragraph leftindent.
7931 * paragraph.C (writeFile): write the new \\leftindent tag.
7932 (validate): handle leftindent code.
7933 (TeXEnvironment): handle paragraphleftindent code again.
7935 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7937 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7938 for paragrap_extra indent code and new token \\leftindent.
7939 (latexParagraphs): handle the leftindent as environment.
7941 * ParameterStruct.h: added leftindent support.
7943 * ParagraphParameters.C (leftIndent): added support functions for
7944 the paragraph left indent.
7946 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7949 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7951 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7954 * text.C (computeBidiTables): No bidi in insetERT.
7956 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7959 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7961 * version.C.in: pre 5
7963 2002-05-02 José Matos <jamatos@fep.up.pt>
7964 * buffer.C (makeDocBookFile): white space changes, add newline to
7966 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7968 * tabular.C (docBook): fix typo.
7970 2002-05-03 Juergen Vigna <jug@sad.it>
7972 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7973 change in LyXText as we can not be sure it was not freed.
7974 (drawOneRow): remove unused code.
7976 * text.C (drawInset): redo the calculation of the need_break_row as
7977 it could have a row which was already freed.
7978 (draw): look at the return value of drawInset and return false if
7979 it also returned false.
7980 (paintRowText): look at the return value of draw and return false if
7981 it also returned false.
7983 * lyxtext.h: added bool return type to drawInset() and draw() so that
7984 if we have a change in the row so that the rowbreak has to be redone
7985 we abort drawing as it will be called again.
7987 2002-05-02 Juergen Vigna <jug@sad.it>
7989 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7990 a change in the maintext also if we're inside an inset.
7991 (Dispatch): set the cursor again after a break line and after the
7992 screen has been updated as it could be we're in a different row.
7994 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7995 to set the cursor behind the pargraph with > size().
7996 (setCursor): check also for the same paragraph when checking where
7997 to put the cursor if we have a NFR inset.
7999 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8000 parts of layout read further up as it still was in the wrong
8003 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8005 * screen.C (drawFromTo): change sine fullRebreak always return
8008 * buffer.C (parseSingleLyXformat2Token): reindent some
8010 * BufferView_pimpl.C (update): change since fullRebreak always
8012 (Dispatch): git rid of the last hardcoded "Standard"s.
8014 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8016 * text2.[Ch] (fullRebreak): make it return void now that we always
8019 2002-04-30 Juergen Vigna <jug@sad.it>
8021 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8022 ert compatibility check for "latex" layout.
8024 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8026 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8027 minipages: use col% instead of p%, and also use the current font.
8028 (makeLaTeXFile): Fix use babel condition.
8029 (parseSingleLyXformat2Token): Correct font when reading old floats.
8031 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8033 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8034 inserting list of floats.
8036 2002-04-25 Herbert Voss <voss@lyx.org>
8038 * MenuBackend.C (expand): don't add the graphics extensions to the
8041 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8043 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8044 non-existing layout, do not complain if it was the default layout
8045 of the original class (bug #342)
8047 2002-04-24 Juergen Vigna <jug@sad.it>
8049 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8050 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8052 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8054 * buffer.C (getBibkeyList): If using \bibliography, return the
8055 option field with the reference itself. Enables us to provide natbib
8056 support when using \bibliography.
8058 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8060 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8062 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8063 natbib is provided by the LaTeX class.
8065 2002-04-23 Juergen Vigna <jug@sad.it>
8067 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8070 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8072 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8074 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8076 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8077 ensuremath around textordmasculine, textordfeminine and
8080 2002-04-19 Juergen Vigna <jug@sad.it>
8082 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8083 reinitializing the buffer otherwise row-dimensions may be wrong.
8084 (update): reset also the selection cursors if they do exits otherwise
8085 their x/y positions may be wrong.
8087 * text2.C (cursorDown): don't enter the inset if we came from a row
8088 above and are one row over the inset.
8090 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8091 really leaving an inset.
8093 2002-04-18 Juergen Vigna <jug@sad.it>
8095 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8096 of the selected paragraph does not have the selected layout also if
8099 * text2.C (setLayout): fixed bug which did not change last selected
8102 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8103 changed the read and substituted \\end_float with \\end_inset!
8105 * BufferView_pimpl.C (cursorPrevious):
8106 (cursorNext): fixed to make it work with rows heigher than the work
8107 area without moving the cursor only the draw of the row.
8108 (workAreaMotionNotify): fix jumping over high rows.
8110 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8112 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8115 2002-04-16 Juergen Vigna <jug@sad.it>
8117 * text2.C (setCursor): set also the irow().
8118 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8120 (cursorDown): support for locking an inset if the x_fix value goes
8121 inside it. That way I can transverse insets too with cursor up/down.
8123 * lyxrow.h: added irow helper function same as other (i) functions.
8125 * BufferView_pimpl.C (cursorPrevious):
8126 (cursorNext): fixed for insets!
8128 2002-04-15 Juergen Vigna <jug@sad.it>
8130 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8131 position otherwise it is wrong in some cases.
8133 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8134 inside the inset before the call.
8136 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8138 * buffer.[Ch] (getBibkeyList): make it const.
8140 2002-04-12 Juergen Vigna <jug@sad.it>
8142 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8144 * text2.C (getCursorX): new helper function
8145 (setCursor): compute also ix_
8146 (setCursorFromCoordinates): set also ix.
8148 * lyxcursor.h: added ix_ and helper functions.
8150 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8152 * buffer.C (insertStringAsLines): dont break paragraph if the this
8153 paragraph is inside an inset which does not permit it!
8155 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8156 also with no chars on this paragraph.
8157 (paintRowText): only paint stuff if it's inside the workarea!
8159 * paragraph.C (breakParagraph): honor keepempty flag and break the
8160 paragraph always below not above.
8162 * BufferView2.C (unlockInset): update the paragraph layout on inset
8163 unlock as we changed paragraph in such a case.
8165 * lyxfind.C (LyXFind): clear the former selection if not found!
8167 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8168 again called in insertChar().
8170 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8171 an inset which uses the whole row!
8172 (rightMargin): ditto.
8173 (insertChar): force a rebreak if we inserted an inset!
8175 2002-03-28 Herbert Voss <voss@lyx.org>
8177 * lyxlength.[Ch]: add inBP() to get the right PS-point
8178 units (BigPoint). With inPixels we have rounding errors
8180 2002-04-11 Juergen Vigna <jug@sad.it>
8182 * text2.C (setCursorFromCoordinates): set iy to the right value.
8183 (setCursor): add check if row->previous exists!
8185 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8186 an old float_type as this was the case in the old code!
8188 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8190 * BufferView2.C (showLockedInsetCursor): use iy
8191 (fitLockedInsetCursor): ditto
8193 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8194 locked insets as there we have the right value now.
8196 * lyxcursor.C: added iy_ variable and iy functions to set to the
8197 baseline of cursor-y of the locked inset.
8199 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8200 (setCursor): fixed for insets which need a full row.
8202 * text.C (rowLastPrintable): don't ignore the last space when before
8203 an inset which needs a full row.
8204 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8205 as last character of a row when before a inset which needs a full row.
8207 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8209 * version.C.in: update date
8211 * text2.C (fullRebreak): try to always return true and see what
8214 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8216 * MenuBackend.C (expand): use Floating::listName
8218 * FloatList.C (FloatList): add listName argument to the built-in
8221 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8222 text associated with the float.
8224 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8226 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8228 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8230 * ShareContainer.h: add a couple of missing typenames.
8232 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8234 * lyxrc.C (getDescription): use _() correctly rather than N_().
8236 2002-03-28 Herbert Voss <voss@lyx.org>
8238 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8239 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8241 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8243 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8244 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8246 2002-03-29 Juergen Vigna <jug@sad.it>
8248 * lyxfunc.C (dispatch): add a missing fitCursor call.
8250 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8251 it was scrolled by a cursor move, so return the bool status.
8253 * BufferView.C (fitCursor): return the bool flag also to the outside
8254 world as this is needed.
8256 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8258 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8259 call the edit() as it is not needed (and wrong) IMO.
8260 (workAreaButtonPress): set the screen_first variable before evt.
8261 unlock the inset as this may change screen_first and then we have
8262 a wrong y position for the click!
8264 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8266 * MenuBackend.C (expand): another translation that I missed
8268 2002-03-28 Juergen Vigna <jug@sad.it>
8270 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8272 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8274 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8276 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8278 * MenuBackend.C (expand): fix export/view/update when there is no
8281 2002-03-27 Herbert Voss <voss@lyx.org>
8283 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8286 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8288 * bufferview_funcs.C (currentState): only show paragraph number
8289 for is DEVEL_VERSION is set.
8291 * lyxfunc.C (dispatch): put warning in INFO channel
8293 * MenuBackend.C (expand): translate the name of floats
8295 * FloatList.C (FloatList): mark the float names for translation
8297 * converter.C (convert): use LibScriptSearch
8299 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8301 * MenuBackend.C (defaults): fix default menu (we might as well get
8304 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8306 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8309 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8311 * lyxvc.C: reorder includes.
8313 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8315 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8318 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8320 * CutAndPaste.C: change layouts earlier on paste
8321 to avoid crashing when calling getFont()
8323 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8325 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8328 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8330 * WorkArea.C: remove 'Pending' debug message.
8332 * most files: ws cleanup
8334 * buffer.[Ch]: ws changes
8336 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8338 2002-03-21 Juergen Vigna <jug@sad.it>
8340 * tabular.C (SetMultiColumn): collapse also the contents of the
8341 cells and set the last border right. Added a Buffer const * param.
8343 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8345 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8348 2002-03-19 Juergen Vigna <jug@sad.it>
8350 * text2.C (clearSelection): reset also xsel_cache.
8352 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8353 where it needs to be called (John tells us to do so too :)
8354 (selectionLost): reset sel_cache.
8356 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8358 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8360 * text2.C (setCursorIntern): put debuging code in INSETS channel
8362 2002-03-19 André Pönitz <poenitz@gmx.net>
8364 * lyxfunc.C: tiny whitespace change
8366 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8368 * ToolbarDefaults.C (init):
8369 * LyXAction.C (init):
8371 * BufferView_pimpl.C (Dispatch):
8372 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8374 2002-03-19 Allan Rae <rae@lyx.org>
8376 * exporter.C (Export): removeAutoInsets before doing anything else.
8377 While I've just introduced a dependency on BufferView this really is
8378 the best place to clean the buffer otherwise you need to cleanup in
8379 a dozen places before calling export or cleanup in a dozen functions
8382 * converter.C (runLaTeX):
8383 (scanLog): Better handling of removeAutoInsets and screen updates.
8385 * lyxfunc.C (dispatch): small whitespace changes
8387 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8389 * WorkArea.C (C_WorkAreaEvent): return a value.
8390 (event_cb): return 1 if we handled the event, 0 otherwise.
8392 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8394 2002-03-18 Juergen Vigna <jug@sad.it>
8396 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8397 (GetAdditionalWidth): ditto.
8401 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8402 inset if we're there actually (probably not used right now but this
8403 is the direction to go for unifying code).
8404 (paste): disable code to clear the selection.
8406 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8407 inside an InsetText and move the check further up as it is in the
8410 * text2.C (pasteSelection): set a selection over the pasted text.
8412 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8414 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8415 and libgraphics to build on Cygwin.
8417 2002-03-15 Juergen Vigna <jug@sad.it>
8419 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8420 inserting an Inset into the paragraph. I know this is not the best
8421 fix but we already use current_view in CutAndPaste so we will remove
8422 all of it's using at the same time.
8424 * buffer.C (sgmlError): deactivated function till it is rewritten in
8425 the right mode, now it can create problems.
8427 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8428 before accessing it.
8430 2002-03-14 Juergen Vigna <jug@sad.it>
8432 * undo_funcs.C (textHandleUndo): do the right thing when updating
8433 the inset after the undo/redo.
8435 * text2.C (setCursor): just some testcode for #44 not ready yet.
8437 * undo_funcs.C (textHandleUndo): set the next() and previous()
8438 pointers of the paragraph to 0 before deleting otherwise we have
8439 problems with the Paragraph::[destructor].
8441 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8442 on a paragraph insertion.
8444 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8446 * buffer.C (asciiParagraph): use += operator for char append to
8449 * paragraph.C (getFontSettings): compare >= not just >
8450 (highestFontInRange): ditto
8453 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8455 * paragraph.C: change several algorithm to be more appripriate for
8456 the problem domain. This is lookip in FontList and in the InsetList.
8458 2002-03-13 André Pönitz <poenitz@gmx.net>
8461 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8463 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8468 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8470 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8472 * Painter.C (display): anon helper function, adjust code for this
8474 (pixmap): remove function.
8476 * Painter.h: remove private display variable.
8478 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8480 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8482 * WorkArea.[Ch]: remove figinset_canvas cruft.
8484 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8486 * lyxtextclass.C (operator): add one item cache optimization.
8488 * bufferlist.h: doxy changes
8490 * bufferlist.C: ws changes
8492 * DepTable.[Ch] (ext_exist): place const in the right spot.
8494 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8496 (workAreaExpose): call resizeInsets when the with BufferView changes.
8497 (Dispatch): adjust for protectedBlank removal
8498 (specialChar): call updateInset if the insert went ok.
8500 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8501 specialChar instead.
8503 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8505 * BufferView.h: doxy change
8507 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8509 * lyxtextclass.C (operator[]): remove non-const version
8510 (defaultLayout): remove non-const version
8512 2002-03-12 Juergen Vigna <jug@sad.it>
8514 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8515 did resize the LyXText too.
8517 * buffer.C (readLyXformat2): set layout information on newly allocated
8520 * tabular.C (OldFormatRead): set layout information on the paragraph.
8522 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8524 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8526 2002-03-11 Juergen Vigna <jug@sad.it>
8528 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8530 (resizeCurrentBuffer): force also the insets to resize themselfes.
8531 (moveCursorUpdate): fixed up for InsetText.
8533 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8536 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8537 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8538 value of Dialogs::tooltipsEnabled().
8539 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8541 2002-03-08 Juergen Vigna <jug@sad.it>
8543 * BufferView_pimpl.C (updateInset): update inset inside inset also
8544 if it isn't inside theLockingInset().
8546 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8548 * buffer.C (asciiParagraph): redo some of the word and line length
8550 (getLists): look for Caption instead of caption.
8552 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8554 * buffer.C (Buffer): initialize niceFile to true
8557 (makeDocBookFile): make sure niceFile is true on exit
8559 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8561 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8563 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8565 * LyXSendto.C: remove.
8566 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8567 * lyx_gui.C: remove now-redundant comment.
8568 * ColorHandler.h: remove forward declaration of class WorkArea.
8569 * lyxfunc.C: remove #include "WorkArea.h".
8571 2002-03-07 Juergen Vigna <jug@sad.it>
8573 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8574 got moved away with the DEPM and also set the inset_owner always
8575 right which before could have been omitted.
8577 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8579 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8580 wanted layout is not found.
8582 2002-03-07 Juergen Vigna <jug@sad.it>
8584 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8586 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8588 * paragraph.C (breakParagraph): use default layout not layout of
8590 (Paragraph): clear ParagraphParameters.
8592 2002-03-06 Juergen Vigna <jug@sad.it>
8594 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8595 otherwise it would not be a valid lenght. Fixed a special case in
8596 the minipage compatibility read where we end the document with a
8599 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8600 was set as it could be 0 for InsetTexts first entry.
8602 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8604 * paragraph.C (writeFile): if layout is empty write out
8605 defaultLayoutName().
8607 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8608 file without named layout we set layout to defaultLayoutName().
8610 2002-03-06 Juergen Vigna <jug@sad.it>
8612 * CutAndPaste.C (copySelection): set layout for new paragraph.
8614 * text.C (prepareToPrint): leave ERT inset left aligned
8615 (leftMargin): don't indent paragraphs inside ERT insets
8617 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8619 * paragraph.C (breakParagraph): dont call clear do the work manually
8621 * paragraph.[Ch] (clear): remove function
8623 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8625 * paragraph.C (Paragraph): dont call clear, the work has already
8628 * lyxtextclass.C (operator): assert if n is empty
8630 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8631 work manually instead.
8633 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8635 * BufferView_pimpl.C: protect selectionLost against text == 0
8637 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8639 * text.C (breakParagraph): fix a setting layout to '0' problem.
8641 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8643 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8644 final location of file, for the included files, and graphics.
8646 2002-03-05 Juergen Vigna <jug@sad.it>
8648 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8650 2002-03-04 Juergen Vigna <jug@sad.it>
8652 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8654 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8655 last column of multicolumn cells.
8656 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8658 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8660 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8661 file if it doesn't go to a temporary file.
8663 * buffer.C (sgmlOpenTag):
8664 (sgmlCloseTag): remove extra newline insertion.
8666 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8668 * text.C (getRowNearY): comment out debug msg
8670 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8672 * text2.C: first -> first_y
8674 * text.C (getRowNearY): add some attemts at a possible
8675 optimization, not working.
8677 * tabular.[Ch]: add BufferParams to several function so that newly
8678 created paragraph can be initialized to he default layotu for the
8681 * tabular-old.C (ReadOld): add buf->params to call of Init
8683 * screen.C: rename text->first to text->first_y
8685 * paragraph.C (breakParagraph): always set layout in the broken
8688 * lyxtextclass.C (Read): remove lowercase
8691 (delete_layout): ditto
8693 * lyxtext.h: rename first -> first_y
8695 * lyxlayout.C (Read): remove lowercase
8698 (obsoleted_by): ditto
8700 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8702 * buffer.C (insertErtContents): add params are to InsetERT
8703 (parseSingleLyXformat2Token): add code to check if a paragraphs
8704 layout really exist.
8705 (parseSingleLyXformat2Token): add params to several inset
8707 (asciiParagraph): remove lowercase, do the layout comparisons with
8710 * BufferView_pimpl.C (cursorNext): first -> first_y
8711 (resizeCurrentBuffer): first -> first_y
8712 (updateScrollbar): first -> first_y
8713 (scrollCB): first -> first_y
8714 (workAreaMotionNotify): first -> first_y
8715 (workAreaButtonPress): first -> first_y
8716 (checkInsetHit): first -> first_y
8717 (cursorPrevious): first -> first_y
8718 (cursorNext): first -> first_y
8719 (Dispatch): add buffer_->params to severl inset contructors
8721 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8723 * lyxlayout.C (Read): remove some debug info that I forgot.
8725 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8726 clean up the code slightly.
8727 (makeLinuxDocFile): ditto
8728 (makeDocBookFile): ditto
8730 * text2.C: layout as string
8732 * text.C: layout as string
8734 * paragraph_pimpl.C: layout as string
8736 * paragraph.[Ch]: layout as string
8738 * lyxtextclasslist.[Ch]: layout as string
8740 * lyxtextclass.[Ch]: layout as string
8742 * lyxtext.h: layout as string
8744 * lyxlayout.[Ch]: layout as string
8746 * lyx_cb.C: layout as string
8748 * bufferview_funcs.C: layout as string
8750 * bufferparams.C: layout as string
8752 * buffer.C: layout as string
8754 * LyXView.[Ch]: layout as string
8756 * LaTeXFeatures.[Ch]: layout as string
8758 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8760 * BufferView_pimpl.C: change current_layout to string, remove
8765 (workAreaButtonRelease): layout as string
8767 * BufferView2.C (unlockInset): adjust
8769 * vspace.C (asLatexCommand): use an explict temp variable.
8771 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8773 * Makefile.am: use FRONTEND_*
8775 2002-03-01 Juergen Vigna <jug@sad.it>
8777 * tabular.C (SetWidthOfMulticolCell): changed to something better
8778 I hope but still work in progress.
8779 (recalculateMulticolumnsOfColumn): renamed function from
8780 recalculateMulticolCells as it is more appropriate now.
8781 (SetWidthOfCell): calculate multicols better.
8783 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8785 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8787 * lyxfunc.C (processKeySym): print sequence also if it is
8788 `deleted' (complete)
8790 * kbsequence.C (print): print sequence even if it is deleted
8791 (complete would be a better word, actually).
8793 * lyxfunc.C (dispatch): print complete options after a prefix key
8795 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8797 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8799 * text2.C (setCharFont): eliminate setCharFont code duplication.
8801 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8803 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8804 LFUN_TABULAR_FEATURE (bug #177)
8806 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8808 * Makefile.am: remove figure.h
8810 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8812 * Bufferview_pimpl.C:
8824 * text2.C: remove #include "lyx_gui_misc.h".
8826 * LaTeX.C: added #include <cstdio>
8828 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8830 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8831 that the paragraph following this one can have.
8833 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8835 * vspace.C (asLatexCommand): fix bogus gcc warning
8837 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8839 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8841 * text2.C (setLayout): get rid of redundant code
8843 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8845 * text2.C (incDepth): make sure depth cannot be increased beyond
8848 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8850 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8851 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8853 * PainterBase.h (image):
8854 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8857 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8861 * BufferView_pimpl.C:
8862 * BufferView_pimpl.h:
8882 * sp_spell.C: remove fig inset, and the crap house of
8883 cards that follows it
8885 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8891 * nt_defines.h: move .h into support/
8893 * vms_defines.h: remove
8895 * WorkArea.C: add space in debug output
8899 * buffer.C: add WITH_WARNINGS
8903 * bufferlist.C: s/retrive/retrieve/, add docs
8914 * lyxgui.C: add ID to X error handler
8916 * lyxtestclass.c: fix typo
8918 2002-02-26 Juergen Vigna <jug@sad.it>
8920 * tabular_funcs.C (write_attribute): changed so that some default
8921 attributes are not written at all.
8922 (getTokenValue): set default values before trying to read the
8923 value so we have the return value always set as default if we don't
8924 find the token we search for.
8926 * tabular.C (Write): write bools as bools not as strings!
8928 2002-02-22 Juergen Vigna <jug@sad.it>
8930 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8931 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8933 * text.C (leftMargin): don't add an indent for paragraphs inside
8934 tabular cells (fix #208).
8936 2002-02-21 José Matos <jamatos@fep.up.pt>
8938 * tabular.C (docBook): fixed support for long tables.
8940 2002-02-20 Juergen Vigna <jug@sad.it>
8942 * text2.C (getFont): get the drawing font of the Inset if this
8943 paragraph is inside an inset (only important for InsetERT for now).
8945 * buffer.C (insertErtContents): use new lanugage params in ERT
8948 * CutAndPaste.C: commenting out seemingly uneeded code.
8950 2002-02-19 Allan Rae <rae@lyx.org>
8952 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8953 Iterators might be simple to use but they also get invalidated.
8954 (removeAutoInsets): renamed saved cursor tracking variables and added
8955 some comments to clarify what everything does.
8957 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8964 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8965 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8968 * vc-backend.h: remove #include "support/syscall.h"
8972 * converter.C: rearrange #includes in Lars' approved fashion.
8974 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8975 forward declare class Timeout in the header file.
8977 * XFormsView.C: changes due to the above.
8979 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8982 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8983 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8985 2002-02-18 José Matos <jamatos@fep.up.pt>
8987 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8990 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8992 * a lot of small ws changes
8993 * add a lot of using std::XXX
8994 * use std construcs some places where approp.
8995 * use some exisint stuff from lyxfunctional where approp.
8996 * Make file changes to use partial linking (lets test this now...)
8998 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9002 remove #include "support/syscontr.h" as it's redundant. Always has been.
9010 change Systemcalls::System to Systemcalls::Wait and
9011 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9012 No change of functionality, just reflects the stripped down Systemcalls
9015 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9017 * debug.[Ch]: add a GRAPHICS type to the enum.
9019 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9021 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9023 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9026 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9028 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9029 match the changes below.
9031 * text2.C (toggleInset): if there is not editable inset at cursor
9032 position, try to see if cursor is _inside_ a collapsable inset
9035 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9037 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9038 document menu has a nice checkbox
9040 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9042 * lyxlength.C (asLatexString): change PW to output as percent of
9045 * lengthcommon.C: change '%' to 't%'
9047 * lyxfunc.C (dispatch): a few comments from Martin
9049 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9053 * BufferView_pimpl.h:
9054 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9057 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9059 * vspace.C (inPixels): fix compiler warning
9061 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9063 * lyxfunc.C (getStatus): fix status message for disabled commands.
9065 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9067 * BufferView_pimpl.C: fix crash on close buffer
9068 during selection (#227)
9070 2002-01-27 Herbert Voss <voss@lyx.org>
9072 * buffer.C: link old Figure to new graphic inset
9074 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9076 * FontLoader.C (getFontinfo): Change the latex font names in order
9077 to match the names of type1inst.
9079 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9081 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9083 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9086 (remove_files_with_extension): ditto
9087 (remove_file): ditto
9090 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9091 document is smaller than the work area height. Do not initialize
9092 static variables to 0.
9094 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9096 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9098 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9099 LFUN_LAYOUT_PARAGRAPHS.
9101 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9102 tabular. It is possible to provide a possible cell, which will
9103 typically be the actcell from the corresponding insettabular
9105 * lyxfunc.C (getStatus): small cleanup; disable
9106 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9109 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9111 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9113 * paragraph.C (startTeXParParams):
9114 (endTeXParParams): new methods. The LaTeX code to
9115 start/end paragraph formatting
9116 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9117 empty (fixes bug #200)
9119 * vspace.C (inPixels): adapt to the change below
9120 (inPixels): [later] more cleanups (remove unused variables)
9122 * lyxlength.C (inPixels): change to use a width and a height as
9125 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9127 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9128 Replaced with \paperwidth
9130 * DepTable.C (insert): add std:: qualifier
9132 2002-01-18 Allan Rae <rae@lyx.org>
9134 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9137 * text.C (drawInset): Turned out I didn't know enough about how
9138 rebreaking worked. This fixes most of the redraw problems. I see
9139 an occasional cursor trail when a line is broken now and the cursor
9140 placement can seem out by a few pixels also after a rebreak.
9142 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9144 * buffer.C (parseSingleLyXformat2Token): update because minipage
9145 width is now a LyXLength
9147 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9149 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9152 2002-01-17 Juergen Vigna <jug@sad.it>
9154 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9156 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9157 is set correctly and the inset is updated correctly.
9159 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9161 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9162 the beginning of the loop.
9164 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9166 * lyxrc.C: improve help for use_scalable_fonts
9168 2002-01-17 Allan Rae <rae@lyx.org>
9170 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9172 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9174 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9175 make sure to set their inset_owner to the right value (bug #171)
9177 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9180 * DepTable.C: Implement mtime checking to reduce time spent doing
9183 2002-01-16 Juergen Vigna <jug@sad.it>
9185 * tabular.C (GetAdditionalHeight): one of error fixed.
9187 * lyxrc.C (output): small fix in writing use_pspell.
9189 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9191 * sp_base.h: #include LString.h
9193 2002-01-16 Allan Rae <rae@lyx.org>
9195 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9196 Can someone check this please?
9198 * text.C (drawInset): It was possible that p.row would be removed by
9199 breakAgainOneRow upsetting a few other settings. There may be another
9200 small tweak possible by setting need_break_row = 0 when p.row has been
9201 removed but I don't know enough about the logic here.
9203 2002-01-15 Allan Rae <rae@lyx.org>
9205 * text.C (insertChar): removed conditional truism.
9207 * BufferView2.C (removeAutoInsets): More tweaks.
9208 cur_par_prev could be a stray pointer. Check for trailing empty line
9209 in case last line was cur_par and only had an error inset on it.
9211 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9213 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9216 * vc-backend.C (most methods):
9217 * exporter.C (Export):
9218 * converter.C (convert):
9220 * LyXSendto.C (SendtoApplyCB):
9221 * lyxfunc.C (dispatch):
9225 * lyx_cb.C (AutoSave):
9227 * BufferView_pimpl.C (MenuInsertLyXFile):
9228 * buffer.C (runChktex): use Buffer::filePath().
9230 * buffer.h: rename filename to filename_; rename filepath to
9231 filepath_ and make it private
9232 (filePath): new method
9234 * buffer.C (writeFile): use fileName()
9237 * lyx_main.C (init): fix starting of LyX when the binary is a
9238 link from so,ewhere else.
9240 * minibuffer.C: include <cctype> for isprint
9242 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9244 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9245 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9246 name clash with InsetCollapsable's width function.
9248 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9250 * lastfiles.C: include <iterator>
9252 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9254 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9257 * buffer.C (makeLaTeXFile): ditto.
9258 Also make loop operation more transparent.
9260 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9262 * ToolbarDefaults.C: remove trailing comma closing namespace.
9264 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9266 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9269 * trans.C (Load): comment out unused variable, allowed.
9271 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9273 * minibuffer.[Ch] (append_char): new method to recieve input from the
9274 drop-down completion browser. If a key was pressed, then recieve this
9275 char and append it to the existing string.
9276 (peek_event): modify the positioning data passed to the completion
9277 browser so that it can be placed above the minibuffer rather than below.
9278 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9280 * LyXAction.C (init): alloe error-next for readonly documents.
9282 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9285 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9287 * bufferlist.C (readFile): create the buffer _after_ checking that
9290 * lyxfunc.C (verboseDispatch): fix handling of arguments
9292 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9294 * lyxrc.C: use string::erase() instead of initializing to "".
9297 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9299 * BufferView_pimpl.h:
9300 * BufferView_pimpl.C:
9303 * text2.C: tell X when we have made a selection for copying
9305 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9307 * BufferView_pimpl.C (MenuInsertLyXFile):
9308 * lyxfunc.C (menuNew):
9310 (doImport): add shortcuts to directory buttons
9312 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9315 * lyxfunc.C (setStatusMessage):
9316 (getStatusMessage): new methods
9317 (getStatus):use setStatusMessage instead of setErrorMessage
9318 (dispatch): when function is disabled, set error message here
9319 [instead of in getStatus previously]
9321 * BufferView_pimpl.C (workAreaButtonRelease): update
9322 toolbar/menubar here too.
9324 2002-01-13 Allan Rae <rae@lyx.org>
9326 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9327 Now seems indestructible. Remaining task is to audit all other
9328 code affected by deleteEmptyParagraphMechanism. One small quirk
9329 left is that an empty document with an error in the preamble can
9330 be made to report an error but no error box appears. I don't know
9332 (removeAutoInsets): Improved comments.
9334 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9337 * Thesaurus.C: update for Aiksaurus 0.14
9339 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9341 * text2.C (firstParagraph): removed member function, all uses
9342 replaces with ownerParagraph
9343 (redoParagraphs): here
9345 (toggleAppendix): here
9346 * BufferView2.C (insertErrors): here
9347 (setCursorFromRow): here
9349 2002-01-13 Allan Rae <rae@lyx.org>
9351 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9352 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9353 There is still a way to segfault this although you may have to do this
9354 multiple times: Have an InsetERT with an unknown command in it.
9355 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9356 <down-arrow>, <Enter> again, View->DVI, BANG!
9358 * text2.C (setCursor):
9359 (deleteEmptyParagraphMechanism):
9360 * lyxtext.h (setCursor):
9361 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9362 Making use of the return value may help fix other bugs.
9364 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9366 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9368 * LyXView.C (updateMenubar): call MenuBar::update here
9369 (updateToolbar): but not here
9370 (showState): do not update toolbar/menubar
9372 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9373 should need to care about that.
9375 * lyxfunc.C (verboseDispatch): simplify a bit
9376 (getStatus): have a version which takes a pseudoaction, and
9377 another which requires a (kb_action,string).
9379 * LyXAction.C (retrieveActionArg): make it work also when action
9380 is not a pseudo-action.
9381 (getActionName): simplify a bit
9384 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9386 * lyxfunc.C (verboseDispatch): new families of methods with
9387 several ways to specify a command and a bool to indicate whether
9388 the command name and shortcut should be displayed in minibuffer
9389 (eventually, we could extend that to a finer bitmask like
9390 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9391 (dispatch): the pristine dispatch command which just, well,
9392 dispatchs! Note it still sets its result to minibuffer; I'm not
9395 * lyxfunc.h: remove setHintMessage
9397 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9399 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9401 * BufferView_pimpl.C (specialChar): delete new inset if we have
9402 not been able to insert it.
9404 * kbmap.C: revert to using int instead of kb_action, since all we
9405 are dealing with is pseudo-actions.
9407 * LyXAction.C (searchActionArg): change to return int instead of
9408 kb_action, since the result is a pseudoaction.
9410 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9412 * buffer.C (insertErtContents): Fix (partially) the font bug.
9414 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9416 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9417 as the other one is broken on my machine!
9419 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9422 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9424 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9426 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9427 reflect their actual use. Provide compatibility code for older lyxrc
9430 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9432 change names of popup font variables in line with the changes to lyxrc.C
9434 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9436 * buffer.C (asciiParagraph): avoid outputing a word twice after
9439 * lyxrc.C (getDescription): document that document_path and
9440 template_path can be empty.
9442 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9444 * LaTeXFeatures.C (getMacros):
9445 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9447 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9449 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9451 (getPackages): rename feature "floats" to "float". Use an array to
9452 iterate over 'simple' features (i.e. just a \usepackage). Add
9453 handling of "amsmath" (renamed from "amsstyle").
9455 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9457 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9460 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9462 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9463 FuncStaus::FuncStatus & FuncStaus::some_method().
9465 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9467 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9468 of the func_satus stuff. Edited and massaged in various ways by
9471 * lyxfunc.C (getStatus): use FuncStatus
9473 2002-01-08 Juergen Vigna <jug@sad.it>
9475 * text.C (nextBreakPoint): use function Inset::isChar().
9477 * paragraph.C (TeXOnePar): use function
9478 Inset::forceDefaultParagraphs.
9480 * buffer.C (latexParagraphs): use function
9481 Inset::forceDefaultParagraphs.
9483 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9485 * lyx_gui.C (init): set the style of the menu popups to
9486 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9488 2002-01-07 Juergen Vigna <jug@sad.it>
9490 * text.C (setHeightOfRow): small fix
9491 (prepareToPrint): don't look at alignment if we don't have the place
9494 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9496 * box.C: New file. Move the Box methods and functions out of box.h,
9497 following Lars' suggestion.
9499 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9501 * box.h: #include "support/LOstream.h", needed for inlined function.
9504 * lyxtextclasslist.C: added some using std declarations.
9506 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9508 * box.h: make signed dimensions to allow insets wider than
9509 the screen (bug #162)
9511 * BufferView_pimpl.C: add some insetHit debug
9513 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9515 * vc-backend.C: add FIXME
9517 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9519 * lyxfunc.C (getStatus): enable code for showing math font status
9522 2002-01-07 Juergen Vigna <jug@sad.it>
9524 * text.C (nextBreakPoint): removed debug output not needed anymore.
9526 2002-01-06 Juergen Vigna <jug@sad.it>
9528 * text.C (nextBreakPoint): fixed up this function we had this bug
9529 since ever but now hopefully we break row better.
9530 (insertChar): we have to check if an inset is the next char as it
9531 could now happen that a large inset is causing a break.
9533 2002-01-05 Juergen Vigna <jug@sad.it>
9535 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9536 if it doesn't like to be drawed.
9538 2002-01-04 Juergen Vigna <jug@sad.it>
9540 * BufferView2.C (lockInset): forgot to set a cursor.
9542 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9544 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9549 * form_maths_panel.C:
9550 * form_maths_panel.h:
9551 * form_maths_panel.fd: implemented sub- and super- buttons in math
9554 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9555 (or ^ space) to be used as in TeX (req'd by André).
9557 * lyxfunc.C: Allow ^ and _ again to be used both as
9558 super/subscript (mathed) and as themselves (in text).
9560 2002-01-03 Allan Rae <rae@lyx.org>
9562 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9563 "LyX" or the filename of the current buffer if it has one. This is a
9564 modified form of John Levon's patch.
9566 * XFormsView.C (setWindowTitle): also set icon title.
9568 * LyXView.h (setWindowTitle): signature changed.
9569 * XFormsView.h (setWindowTitle): ditto.
9571 2002-01-02 Juergen Vigna <jug@sad.it>
9573 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9575 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9577 * screen.C (topCursorVisible): introduce a temp var for
9578 text->cursor.row(), handle the case where this row is null. (kindo
9581 * text2.C (setCursor): add a couple of asserts.
9583 * paragraph.h (inset_iterator): add -> operator
9585 * paragraph.[Ch] (autoDeleteInsets): remove member function
9587 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9588 cursor pos correctly and handle inset deletion by itself.
9589 (insertErrors): move iterator declaration out of for expression
9591 * lyxtextclass.C: add <algorithm>
9593 * Makefile.am: added the new files to sources, removed layout.C
9595 * layout.C: removed file
9597 * layout.h: remove LYX_DUMMY_LAYOUT
9599 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9603 * lyxtextclass.[Ch]:
9604 * lyxtextclasslist.[Ch]: new files
9606 * include order changes to a lot of files, also changes because of
9609 2001-12-27 Juergen Vigna <jug@sad.it>
9611 * buffer.C (asciiParagraph): more fixes.
9613 * tabular.C (ascii): make ascii export support export of only the
9614 data separated by a column-delimiter.
9615 (ascii): better support for ascii export.
9617 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9619 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9621 * tabular_funcs.C: use a "using std::getline" instead of the
9622 previous fix from Angus (necessary for cxx + lyxstring)
9624 2001-12-24 Juergen Vigna <jug@sad.it>
9626 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9628 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9629 problems. First check a minipage also if we have some ert-contents
9630 (not only on par->size(), second set the right depth of the paragraph
9631 on the relink to the root-paragraph-list!
9633 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9634 which then did not anymore update the main paragraphs on undo/redo!
9636 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9638 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9639 code. Support all font-changing funcs (even those which are not in
9640 menu currently). Support for reporting font settings in
9641 mathed (disabled until Andre provides a function on mathed's side).
9643 * func_status.h (toggle): small helper function to set toggle
9646 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9648 * tabular_funcs.C: getline -> std::getline
9650 2001-12-21 Juergen Vigna <jug@sad.it>
9652 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9653 accessed and could be 0 (I couldn't generate this but it seems
9656 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9658 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9659 * tabular_funcs.h: here and include iosfwd
9661 2001-12-20 Juergen Vigna <jug@sad.it>
9663 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9664 inside inset but undo_par was.
9666 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9668 * Thesaurus.C: always include <config.h> in sources.
9672 * box.h: do not include <config.h> in header files
9674 * text.C (paintLastRow): remove unused variable
9676 * text.C (transformChar):
9678 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9681 * font.C (width): rewrite to use uppercase() instead of
9684 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9686 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9688 * lyxfind.C: clean up of find failure position change
9690 2001-12-20 Juergen Vigna <jug@sad.it>
9692 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9694 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9695 (TeXRow): added to LaTeX a single tabular row.
9696 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9697 (Latex): simplified and finally good LT-h/f support.
9698 (various_functions): just small adaptions for LT-h/f support.
9700 * tabular_funcs.[hC]: added and moved here all not classfunctions
9703 2001-12-19 Juergen Vigna <jug@sad.it>
9705 * tabular.[Ch]: better support for longtabular options (not finished
9708 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9710 * text.C (paintLastRow): use the label font instead of the font of
9711 the last character to compute the size of *_BOX. This makes more
9712 sense and avoids a crash with empty paragraphs.
9713 Use Painter::rectangle to draw EMPTY_BOX.
9715 2001-12-19 Juergen Vigna <jug@sad.it>
9717 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9718 the paragraphs if the replaced paragraph is not the first one!
9719 Tried to delete not used paragraphs but does not work yet so for
9720 now it's inside #ifdef's and by default off!
9722 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9724 * MenuBackend.C: include "lyx_main.h" instead of declaring
9725 lastfiles (actually was declared as LastFiles* instead of a
9728 2001-12-17 Juergen Vigna <jug@sad.it>
9730 * tabular.C (AppendColumn): applied John's fix
9732 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9736 * BufferView_pimpl.h:
9737 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9740 * box.h: new start of class for above
9742 * lyxfunc.C: ignore space-only minibuffer dispatches.
9743 Show the command name when it doesn't exist
9745 * minibuffer.C: don't add empty lines to the history
9747 * minibuffer.C: add a space on dropdown completion
9749 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9751 * text.C: fix line above/below drawing in insets
9753 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9755 * lyxlength.C (LyXLength): Initialize private variables.
9757 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9759 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9760 when inserting error insets.
9762 2001-12-13 Juergen Vigna <jug@sad.it>
9764 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9765 actually sometimes the before-paragraph.
9766 (setUndo): don't clear the redostack if we're not actually undoing!
9768 2001-12-06 Juergen Vigna <jug@sad.it>
9770 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9771 and fixed redoing of main paragraph, so we can use it now ;)
9773 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9775 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9777 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9780 2001-12-13 André Pönitz <poenitz@gmx.net>
9783 * undo_func.C: minor cleanup
9785 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9787 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9788 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9789 font in urw-fonts package which is marked as -urw-fontspecific and
9790 does not work (incidentally, changing the encoding in the
9791 fonts.dir of this package to -adobe-fontspecific fixes the
9794 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9795 is a crash when undoing first paragraph (Juergen, please take a
9796 look). THis does not mean the undo fix is wrong, just that it
9799 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9800 the (Paragraph*) version when needed instead of duplicating the
9803 * text.C (workWidth): use Inset::parOwner to find out where the
9804 inset has been inserted. This is a huge performance gain for large
9805 documents with lots of insets. If Inset::parOwner is not set, fall
9806 back on the brute force method
9808 * paragraph_pimpl.C (insertInset):
9809 * paragraph.C (Paragraph):
9810 (cutIntoMinibuffer): set parOwner of insets when
9811 inserting/removing them
9813 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9815 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9821 * mathed/formulabase.C:
9822 * mathed/math_cursor.[Ch]:
9823 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9826 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9828 * lyxlength.[Ch] (operator!=): new function
9830 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9832 * text.C (workWidth): use Inset::parOwner to find out where the
9833 inset has been inserted. This is a huge performance gain for large
9834 documents with lots of insets. If Inset::parOwner is not set, fall
9835 back on the brute force method
9837 * paragraph_pimpl.C (insertInset):
9838 * paragraph.C (Paragraph):
9839 (cutIntoMinibuffer): set parOwner of insets when
9840 inserting/removing them
9842 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9844 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9846 * tabular-old.C (getTokenValue):
9847 * tabular.C (getTokenValue):
9848 (write_attribute): new versions for LyXLength
9849 (everywhere): adjust the use of widths
9851 * tabular.h: change the type of widths from string to LyXLength
9853 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9855 * paragraph.C: fixed missing line number count when exporting
9856 Environments to LaTeX file
9858 * buffer.C: added informational message for checking line numbers.
9860 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9862 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9863 paragraph, do the 'double space' part, but not the 'empty
9866 * text.C (workWidth): small optimization
9867 (getLengthMarkerHeight): use minimal size for negative lengths.
9869 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9871 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9873 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9875 2001-12-11 André Pönitz <poenitz@gmx.net>
9878 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9880 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9882 * text2.C: keep selection on a setFont()
9884 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9886 * lyx_cb.C: another bv->text misuse, from insert label
9888 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9891 * kbsequence.C: re-instate nmodifier mask
9893 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9895 * lyx_main.h: make lyxGUI private.
9897 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9899 * lyxfind.C: place the cursor correctly on failed search
9901 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9903 * text.C (getLengthMarkerHeight): for small heights, the arrows
9904 are not always on top/bottom of the text
9905 (drawLengthMarker): smaller arrows; take the left margin in
9906 account; draw also vfills.
9908 (paintLastRow): remove special code for vfill and standard spaces,
9909 since everything is handled in drawLengthMarker now.
9911 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9913 * buffer.C (insertErtContents): try to handle font and language
9914 interaction a bit better.g
9916 * ColorHandler.C (updateColor): change the hash to cover the whole
9917 LColor enum, ws cleanup
9918 (getGCLinepars): ditto
9919 (getGCLinepars): only lookup in the linecache once.
9921 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9923 * iterators.C (operator++): Make the iterator more robust
9925 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9927 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9929 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9932 * text.C: better added space drawing
9934 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9937 * BufferView2.C: fix layout combo update on inset unlock
9939 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9941 * Makefile.am: don't compile unused files
9943 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9947 * LyXAction.C: remove old LFUN_LAYOUTNO
9949 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9951 * paragraph_pimpl.h:
9952 * paragraph_pimpl.C: isTextAt() doesn't need font param
9954 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9957 * lyxlex.C: little cleanup
9959 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9961 * BufferView_pimpl.C: fix insertAscii for insets
9963 2001-12-05 Juergen Vigna <jug@sad.it>
9965 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9966 set the right font on the "multi" paragraph paste!
9968 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * lyxlength.C: remove out-commented code.
9990 * vc-backend.C: change "while(" to "while ("
9992 * lyxlength.[Ch]: add zero function to check if length is zero or
9994 * lyxgluelength.C: use it
9996 2001-12-05 Allan Rae <rae@lyx.org>
9998 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9999 Works for 2.95.3, from what I understand of Garst's reports this should
10000 work for other g++ versions. We're screwed if the abs(int) definition
10001 changed between bugfix releases of gcc.
10003 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10005 * text.C: fix chapter label offset !
10007 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10010 * text.C: fix hfill at end of line, clean up
10012 2001-12-04 Juergen Vigna <jug@sad.it>
10014 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10015 that we force an update of the inset and it's owners if neccessary.
10017 2001-12-03 Juergen Vigna <jug@sad.it>
10019 * text.C (rowLast): simplified code
10021 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10023 * lyxfunc.C: fix show options on timeout
10025 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10027 * screen.C (topCursorVisible): scroll half a page when the cursor
10028 reached top of bottom of screen
10030 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10032 * minibuffer.C: deactivate on loss of focus
10034 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10036 * vspace.[Ch] (operator!=): add operator.
10038 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10040 * BufferView_pimpl.C: refuse to open an inset when
10041 there's a selection.
10043 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10045 * BufferView_pimpl.C: allow to click on RHS of full row insets
10047 2001-11-30 Juergen Vigna <jug@sad.it>
10049 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10050 insets for undo reasons.
10052 2001-11-28 André Pönitz <poenitz@gmx.net>
10054 * vspace.[Ch]: cosmetical changes
10056 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10066 * kbsequence.C: part re-write of old kb code
10069 * WorkArea.C: remove Lgb_bug_find_hack
10071 2001-11-30 José Matos <jamatos@fep.up.pt>
10073 * buffer.C (makeDocBookFile): add a comment to point a hack.
10074 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10075 Fixed a double write of labels.
10077 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10080 * LaTeX.h Fixed bug in LaTeX class where it would not
10081 re-run latex if no depfiles were changed, but the .dvi was removed.
10083 2001-11-28 André Pönitz <poenitz@gmx.net>
10085 * all the files from the change on 2001/11/26:
10086 use lyx::layout_type instead of LyXTextClass::size_type
10087 use lyx::textclass_type instead of LyXTextClassList::size_type
10089 2001-11-29 Juergen Vigna <jug@sad.it>
10091 * text.C: added support for paragraph::isFreeSpacing()
10093 * buffer.C: same as above
10095 * paragraph.h: inserted isFreeSpacing() function to enable
10096 FreeSpacing inside InsetERT.
10098 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10099 of the paragraph's in the cut/copy buffer to 0!
10101 * text2.C (removeRow): remove the assert as it can!
10103 * lyxtext.h: added helper function firstRow returning firstrow and
10104 made firstrow private again.
10106 * BufferView2.C (lockInset): don't relock if we're already locked!
10108 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10109 the only paragraph.
10110 (removeRow): added Assert::(firstrow)
10112 * debug.C: forgot to add INSETTEXT here.
10114 2001-11-28 Juergen Vigna <jug@sad.it>
10116 * sp_spell.C (initialize): changed error text to more general
10117 spellchecker command use (not only ispell!)
10119 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10121 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10123 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10125 * vspace.C: initialise lyxgluelength on failure
10127 2001-11-28 Allan Rae <rae@lyx.org>
10129 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10130 declaration & definition that looks like a function declaration.
10132 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10134 * BufferView2.C (copy):
10135 (copyEnvironment): do not clear the selection when doing a copy.
10137 * text.C (paintFirstRow): compilation fix
10139 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10141 * tabular.C (Latex): correct line count when writing latex.
10143 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10145 * paragraph_pimpl.h:
10146 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10149 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10153 * LColor.C: change vfillline->added_space
10155 * text.C: add markers and text for added space
10157 * vspace.C: fix comment
10159 2001-11-28 André Pönitz <poenitz@gmx.net>
10161 * paragraph.C: whitespace changes
10162 * all the other files from the change on 2001/11/26:
10163 change *::pos_type into lyx::pos_type
10165 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10167 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10168 language of the document when inserting error insets.
10170 2001-11-26 André Pönitz <poenitz@gmx.net>
10172 * BufferView_pimpl.[Ch]:
10180 * paragraph_pimpl.[Ch]:
10183 * text2.C: reduce header dependencies, introduce type for positions
10185 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10187 * <various>: change to use Alert.h
10189 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10191 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10192 when encountering an unknown token.
10193 (readLyXformat2): Show an error message if there were unknown tokens.
10195 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10198 * BufferView_pimpl.C:
10202 * text2.C: use par->isInset()
10204 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10206 * paragraph_pimpl.h:
10207 * paragraph_pimpl.C: cleanup
10209 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10211 * text2.C (removeRow):
10212 * text.C (setHeightOfRow): remove useless (and costly) call to
10215 2001-11-20 Allan Rae <rae@lyx.org>
10217 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10218 Now need Inset*::checkInsertChar() to return true for appropriate
10219 cases so that the characters in the minibuffer will actually be
10222 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10224 * text.C: change the order of the includes.
10225 (workWidth): initialize it at once.
10226 (workWidth): make maxw unsigned
10227 (setHeightOfRow): remove unused variable (inset)
10228 (selectSelectedWord): remove unused variable (inset)
10229 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10231 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10233 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10234 server is not running.
10236 (closeConnection): add debug info when server is disabled.
10238 * ColorHandler.C (getGCForeground): send debug message to GUI
10241 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10243 * kbmap.C (bind): modify because return conventions of
10244 kb_sequence::parse have changed.
10246 * kbsequence.C (parse): only ignore spaces and not any stupid
10247 control character. This avoids tests like s[i] <= ' ', which are
10248 guaranteed to fail with 8bit characters and signed chars.
10249 Change return code to string::npos when there have been no error
10250 (0 was a bad idea when error is at first character)
10252 2001-11-14 José Matos <jamatos@fep.up.pt>
10255 * buffer.C (simpleDocBookOnePar): removed unused argument.
10257 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10259 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10260 insets which are part of a word. Paragraph::isLetter takes care of
10261 that now. Use Paragraph::isInset to identify insets.
10262 (selectSelectedWord): do not test for hyphenation break.
10264 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10265 that protected spaces are considered as spaces.
10267 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10270 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10273 * lyxserver.C: fix it. and small cleanup.
10275 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10277 * BufferView_pimpl.C: use inline helpers
10280 * LaTeXFeatures.C: fix typos
10283 * Spacing.C: move spacing_string into class
10285 * ToolbarDefaults.C: move stuff into namespace anon
10287 * layout.h: update enum
10289 * lyxfunc.C: use better debug
10291 * minibuffer.h: fix typo
10295 * WorkArea.C: add and use Debug::WORKAREA
10299 * text2.C: code re-organisation, inline helpers
10301 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10303 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10304 std::vector.empty().
10306 2001-11-09 Allan Rae <rae@lyx.org>
10308 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10309 '\n's after tables. Tabular and ERT inset work now makes this no
10312 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10315 * minibuffer.C: fix crash, improve drop-down completion
10317 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10320 * lyxserver.C: invalidate fd's when doing endPipe()
10322 2001-11-08 José Matos <jamatos@fep.up.pt>
10324 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10325 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10328 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10330 2001-11-07 José Matos <jamatos@fep.up.pt>
10333 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10336 * buffer.C (sgmlOpenTag):
10337 * buffer.C (sgmlCloseTag): removed debug info.
10339 * buffer.h (sgmlOpenTag):
10340 * buffer.h (sgmlCloseTag): made public.
10342 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10344 * buffer.C (saveParamsAsDefaults):
10345 * lyx_cb.C (MenuLayoutSave): remove
10347 * LyXAction.C (init):
10349 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10351 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10353 * buffer.C (setPaperStuff): removed from here...
10355 * bufferparams.C (setPaperStuff): ... and moved there.
10357 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10361 * XFormsView.C: add support for drop-down completion
10363 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10365 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10368 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10370 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10373 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10375 * lyx_main.C: change ref to known bugs
10377 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10379 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10380 to work around older babel problems.
10382 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10384 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10386 2001-10-24 Juergen Vigna <jug@sad.it>
10388 * tabular-old.C (ReadOld): below variable changes reflected.
10390 * tabular.[Ch]: added ltType struct for longtable header/footer
10391 defines and changed all instances where they are used. Added
10392 future support for double top/bottom rows.
10394 2001-10-24 José Matos <jamatos@fep.up.pt>
10396 * buffer.h (docbookHandleCaption):
10397 * buffer.C (docbookHandleCaption): removed unused function.
10398 (makeDocBookFile): moved docbook supported version to v4.1.
10400 2001-10-24 José Matos <jamatos@fep.up.pt>
10403 * tabular.C (docbookRow): new function to export docbook code of a row.
10404 (DocBook): now honors the longtable flags.
10406 2001-10-23 José Matos <jamatos@fep.up.pt>
10409 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10410 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10412 * buffer.C (makeLinuxDocFile):
10413 (makeDocBookFile): reworked the preamble, more clean, and with
10414 support for lyx defined entities. Changed the document declaration
10415 to be more XML friendly.
10417 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10418 if we need to output XML that should be done with a filter.
10420 2001-10-22 Juergen Vigna <jug@sad.it>
10422 * sp_pspell.h (class PSpell): add alive function needed in the
10423 controller to see if the spellchecker could be started.
10425 2001-10-22 Juergen Vigna <jug@sad.it>
10427 * buffer.C (insertStringAsLines): modify the font for inserting
10428 chars in certain conditions by calling checkInsertChar(font).
10430 2001-10-19 Juergen Vigna <jug@sad.it>
10432 * text.C (workWidth): use getRow instead of wrong algorithm.
10433 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10435 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10440 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10442 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10444 * text.C (workWidth): do not search for the exact row when
10445 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10446 optimization for big documents.
10448 2001-10-18 Juergen Vigna <jug@sad.it>
10450 * text.C (workWidth): new function with added Inset * parameter.
10452 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10454 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10456 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10457 change return type of getColumnNearX.
10460 * text.C (changeRegionCase): use uppercase/lowercase instead of
10463 (rightMargin): simplify code by factoring out the uses of
10468 (appendParagraph): use Paragraph::size_type
10470 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10472 * vspace.C (asLatexString): add a missing break
10474 2001-10-15 Herbert Voss <voss@perce.de>
10476 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10478 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10480 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10483 2001-10-10 André Pönitz <poenitz@gmx.net>
10485 * lyxfunc.C: removed greek_kb_flag.
10487 2001-10-10 Herbert Voss <voss@perce.de>
10489 * lyx_main.C: delete global string help_lyxdir.
10491 2001-10-09 Herbert Voss <voss@perce.de>
10493 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10495 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10497 * lyx_main.C: added global string help_lyxdir.
10499 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10501 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10503 * lyxrc.C (set_font_norm_type): support iso8859-4
10505 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10507 * LaTeX.C (deplog): add another regex for MikTeX
10509 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10511 * lyxrc.C (set_font_norm_type): support iso8859-3
10513 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10515 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10517 * LaTeXFeatures.C: remove special case of french and index
10519 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10520 before \begin{document}). This solves several incompatibilities.
10522 2001-10-03 Garst Reese <reese@isn.net>
10524 * lyx_cb.C: change CheckTex error msg.
10526 2001-10-03 José Matos <jamatos@fep.up.pt>
10528 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10530 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10532 * .cvsignore: update
10534 * lyx_main.C (commandLineVersionInfo): use new style version info.
10536 * buffer.C (writeFile):
10538 (makeLinuxDocFile):
10539 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10541 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10543 * version.h: update to use stuff in version.C
10545 * version.C.in: new file. Contains version information determined
10546 at compile time. This is a merging of version.h and
10549 2001-10-03 Juergen Vigna <jug@sad.it>
10551 * BufferView_pimpl.C (update): don't change "dirty" status in
10554 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10556 * WorkArea.C (c-tor): re-position version string slightly.
10558 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10560 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10561 revert to previous code.
10563 WorkArea.[Ch]: (show, destroySplash): methods removed.
10565 WorkArea.C: rework code so that it's an amalgam of the codes before and
10566 after the splash screen was moved to WorkArea.
10568 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10571 * vspace.C (inPixels):
10574 * buffer.C (insertStringAsLines):
10575 (asciiParagraph): fix types to be large enough
10577 * lyxlex_pimpl.h: change member status from short to int
10579 * layout.h: fix type of endlabeltype
10582 * kbsequence.C (parse): change return type to string::size_type
10584 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10587 * Bullet.C (bulletSize):
10588 (bulletEntry): do not use short ints as parameters
10590 * BufferView2.C (insertLyXFile): change a char to an int.
10592 * WorkArea.C (WorkArea): remove unneeded floats in computation
10594 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10596 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10598 * paragraph.C (asString): Do not ignore newline/hfill chars when
10599 copying to the clipboard.
10601 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10603 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10604 after a multi-line inset.
10606 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10608 * paragraph.C (validate): Set NeedLyXFootnoteCode
10610 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10612 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10613 and decrease-error to decrease.
10615 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10617 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10618 it more readable (should be equivalent)
10620 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10622 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10624 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10626 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10627 of a cursor (row, etc.) after a character has been deleted
10628 (deleteEmptyParagraphMechanism): call the method above on _all_
10629 cursors held by the LyXText when a double space has been
10632 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10634 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10636 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10638 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10639 background. Use greyOut() and the new show() methods to toggle between
10640 the foreground and background. Add code to remove the splash after
10641 its initial showing.
10643 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10644 (create_forms): no longer call Dialogs::showSplash.
10646 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10648 * .cvsignore: add version_info.h
10650 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10652 * version_info.h.in: new file
10654 * Makefile.am: add version_info.h.in
10656 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10657 version_info.h instead of VERSION_INFO
10659 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10661 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10662 The ERT inset now returns string().
10664 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10666 * lyxtext.h, text.C (selectNextWord): renamed as
10667 selectNextWordToSpellcheck.
10669 * text.C (selectNextWordToSpellcheck): Modified to not select
10670 words inside an ERT inset.
10672 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10674 * lyx_cb.C (MenuLayoutSave): change a bit the question
10676 * sp_base.h: include <sys/types.h>
10678 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10680 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10682 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10684 * several files: fix typos in user-visible strings
10686 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10688 * text2.C (pasteSelection): do not set the selection, since it
10689 will be cleared later. Actually, the intent was to fix the way the
10690 selection was set, but I figured rmoving the code was just as good.
10692 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10694 * FontLoader.C (available): Check if font is available without
10697 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10699 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10701 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10703 * lyxrc.[Ch]: added display_graphics variable and associated code.
10705 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10707 * bufferparams.C (hasClassDefaults): new method. Returns true if
10708 the buffer parameters correspond to known class defaults
10710 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10712 * XFormsView.C (show): set minimum size to the main window.
10714 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10716 * text2.C (copySelection):
10718 * lyxfind.C (LyXReplace):
10719 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10720 LyXText::selectionAsString.
10722 * paragraph.C (asString): add "label" argument to the second form
10724 * text2.C (selectionAsString): add "label" argument and pass it to
10725 Paragraph::asString.
10727 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10729 * lyx_main.C (commandLineHelp): remove version information
10731 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10733 * lyx_main.C: add -version commandline option
10735 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10737 * paragraph.h: make the optional constructor arg required instead.
10738 some modifications to other files because of this.
10740 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10742 * lyxserver.C (C_LyXComm_callback): make it static
10744 * lyx_main.C (error_handler): make it static
10746 * lyx_gui.C (LyX_XErrHandler): make it static
10748 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10750 * WorkArea.C: make the extern "C" methods static.
10752 * Makefile.am (lyx_LDADD): simplify
10754 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10756 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10757 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10759 * LyXAction.C (init):
10760 * lyxfunc.C (dispatch): associated code removal.
10762 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10764 * lyxfont.h (isSymbolFont): shut off warning
10766 * text.C (setHeightOfRow):
10767 (getVisibleRow): fix crash with empty paragraphs which have a
10770 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10772 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10775 2001-09-04 José Matos <jamatos@fep.up.pt>
10778 * tabular.C (docbook): rename docBook method to docbook.
10780 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10782 * Makefile.am: add dependencies to main.o.
10784 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10786 * FontLoader.C (available): Return false if !lyxrc.use_gui
10788 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10790 * FontInfo.C (query):
10791 * converter.C (view):
10792 * importer.C (Import):
10793 * exporter.C (Export): Can not -> cannot.
10795 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10797 * BufferView_pimpl.C: allow to create index inset even if
10800 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10802 * buffer.C (getLists): replace boost::tie code with an explicit pair
10803 as boost::tie can break some compilers.
10805 * iterators.h: Added a std:: declaration to the return type of
10808 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10810 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10813 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10815 * iterators.[Ch]: New files. Provide paragraph iterators.
10817 * buffer.C (changeLanguage): Use paragraph iterators.
10818 (isMultiLingual): ditto
10820 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10822 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10824 * FontLoader.C: Support for cmr font.
10826 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10828 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10829 (available): New method.
10831 * FontInfo.C (getFontname): Use scalable fonts even when
10832 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10835 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10837 * converter.C (Formats::view): reverted! Incorrect fix.
10839 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10841 * converter.C (Formats::view): only output the -paper option
10842 if the dvi viewer is xdvi, thereby fixing bug #233429.
10844 2001-08-23 Herbert Voss <voss@perce>
10846 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10848 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10850 * Spacing.h (Spacing): Set space to Default on in the default
10853 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10855 * vc-backend.h (RCS::versionString): add RCS to version
10856 (CVS::versionString): add CVS to version
10858 * vc-backend.C (scanMaster): do not add CVS to version.
10859 (scanMaster): do not add RCS to version
10861 * lyxvc.C (versionString): new method
10863 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10865 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10867 * Spacing.C (set): initialize fval
10869 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10871 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10874 2001-08-16 Juergen Vigna <jug@sad.it>
10876 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10878 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10880 * BufferView_pimpl.C:
10883 * text2.C: setParagraph takes linespacing now
10885 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10887 * LyxAction.C: add internal LFUN_CITATION_INSERT
10889 * LyXView.C: actually apply fix
10891 * bufferlist.C: fix open non-existent file
10893 * lyxfind.C: fix indentation
10895 * lyxfunc.C: remove unneeded assert, fix typo
10897 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10899 * MenuBackend.C: use "Floatname List"
10901 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10903 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10904 when converting LaTeX layout to insetERT.
10905 Generate a non-collapsed float when reading old float
10907 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10909 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10912 2001-08-13 Juergen Vigna <jug@sad.it>
10914 * text.C (fill): return 0 instead of 20 as this seems to be the more
10917 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10919 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10922 2001-08-13 Juergen Vigna <jug@sad.it>
10924 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10926 (SearchBackward): comment out the unlocking of the inset_owner this
10927 should not be needed!
10929 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10931 * Many files: Remove inherit_language, and add latex_language
10933 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10934 collapsible insets.
10936 2001-08-10 Juergen Vigna <jug@sad.it>
10938 * text.C (prepareToPrint): fixed hfill-width in draw!
10940 * BufferView2.C (selectLastWord): save the selection cursor as this
10941 now is cleared in the function LyXText::clearSelection!
10943 2001-08-08 Juergen Vigna <jug@sad.it>
10945 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10946 BACKSPACE type functions.
10948 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10949 is only cutted from the document but not put in the cut-buffer, where
10950 still the old stuff should be.
10952 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10954 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10956 * tabular.C (SetWidthOfCell): fixed special case where the width
10958 (LeftLine): handle '|' in align_special.
10960 (LeftAlreadyDrawed): ditto
10961 (SetWidthOfCell): ditto
10963 2001-08-07 Juergen Vigna <jug@sad.it>
10965 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10967 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10969 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10970 * lyxlex.[hC]: ditto
10972 2001-08-06 Juergen Vigna <jug@sad.it>
10974 * text.C (getVisibleRow): fix up row clearing a bit.
10976 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10978 * minibuffer.C: make sure the X server sees the changes in the input.
10980 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10982 * paragraph.C (getFont): split into...
10983 (getLabelFont): this
10984 (getLayoutFont): and this
10985 * paragraph_pimpl.C (realizeFont): calling this
10987 * text2.C (getFont): split into...
10988 (getLayoutFont): this
10989 (getLabelFont): and this
10990 (realizeFont): all three calling this
10992 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10995 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10997 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10999 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11001 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11002 layouts from the Quote inset insertion.
11004 2001-08-03 Juergen Vigna <jug@sad.it>
11006 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11008 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11009 only if status not is already CHANGED_IN_DRAW (second level).
11011 * text.C (draw): don't set the need_break_row when inside an
11014 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11016 * buffer.C (parseSingleLyXformat2Token): handle more latex
11019 * bufferview_funcs.[hC]: change function names to
11020 begin with small char, adjust other files.
11022 2001-08-02 André Pönitz <poenitz@gmx.net>
11025 BufferView_pimpl.C: remove broken special code for math-greek
11027 2001-08-02 Juergen Vigna <jug@sad.it>
11029 * BufferView_pimpl.C (update): redone this function so that we
11030 update the text again if there was a CHANGE_IN_DRAW.
11032 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11033 (drawFromTo): added a new internal bool which is used by draw() and
11035 (general): some cursor drawing problems fixed.
11037 2001-08-01 Juergen Vigna <jug@sad.it>
11039 * lyxfind.C (LyXFind): fixed
11040 (SearchForward): ditto
11041 (SearchBackward): ditto
11043 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11044 spurius drawing of the cursor in the main area.
11046 * text2.C (status): small fix which could lead to a segfault!
11047 (clearSelection): remove unneeded BufferView param.
11049 2001-08-01 André Pönitz <poenitz@gmx.net>
11051 * lyxfunc.C: small change due to changed mathed interface
11053 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11055 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11057 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11059 * lyxfunc.c: fail gracefully if file doesn't exist
11064 * BufferView_pimpl.C: IsDirWriteable() proto changed
11066 * LyXView.C: fix updateWindowTitle() to store the last title
11068 2001-07-31 Juergen Vigna <jug@sad.it>
11070 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11071 the font (wrong since using of Paragraph::highestFontInRange).
11073 * paragraph.C (highestFontInRange): added a default_size parameter.
11075 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11076 (setHeightOfRow): reformat
11078 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11080 * converter.[hC] + affected files: move to (inital-char)lowercase
11083 * ParagraphParameters.C (ParagraphParameters): remove commented code
11085 * PainterBase.[Ch]: remove commented code
11087 * LaTeXFeatures.h: add "bool floats" for float.sty
11089 * LaTeXFeatures.C (LaTeXFeatures): init floats
11090 (require): handle float
11091 (getPackages): do it with floats
11093 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11095 * BufferView_pimpl.C (Dispatch): improve handling of
11096 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11098 * commandtags.h: #include lyxfont.h here temporarily to avoid
11101 * bufferlist.h: include LString.h here.
11103 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11105 * text2.C (getStringToIndex): new method.
11107 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11109 * *: Reduced header file dependencies all over.
11111 2001-07-30 Baruch Even <baruch@lyx.org>
11113 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11115 2001-07-29 Baruch Even <baruch@lyx.org>
11117 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11119 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11121 * ParameterStruct.h (endif): add a default constructor to make
11122 sure that all variables is initialized.
11124 * ParagraphParameters.C (ParagraphParameters): adjust
11126 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11128 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11129 index; also, check that there is something to index, and that it
11130 does not span over several paragraphs.
11131 (doubleClick): use WHOLE_WORD_STRICT for double click.
11133 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11135 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11138 2001-07-26 Baruch Even <baruch@lyx.org>
11140 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11141 an InsetFig figure, backwards compatible reading of old figure code.
11143 2001-07-27 Juergen Vigna <jug@sad.it>
11145 * text2.C: font.realize function adaption.
11147 * text.C (draw): add a warnings lyxerr text if needed.
11149 * layout.C: font.realize function adaption.
11151 * language.C: add inherit_language and implement it's handlings
11153 * bufferview_funcs.C (StyleReset): remove language parameter from
11154 font creation (should be language_inherit now).
11156 * bufferparams.C (writeFile): handle ignore_language.
11158 * paragraph.C (getFontSettings): the language has to be resolved
11159 otherwise we have problems in LyXFont!
11161 * lyxfont.C (lyxWriteChanges): added document_language parameter
11162 (update): removed unneeded language parameter
11164 * paragraph.C (validate): fixed wrong output of color-package when
11165 using interface colors for certain fonts in certain environments,
11166 which should not seen as that on the final output.
11168 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11170 * BufferView_pimpl.C:
11175 * LyXAction.C: add thesaurus support
11178 * lyxfind.C: add "once" parameter, for thesaurus, to not
11179 move to the next match
11181 2001-07-26 Juergen Vigna <jug@sad.it>
11183 * lyxfont.C (realize): honor ignore_language too!
11186 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11188 * text.C (draw): one place more for ignore_language to not draw
11191 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11193 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11195 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11197 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11198 the minipage conversion problem.
11200 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11202 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11205 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11207 * BufferView.h: don't forward declare WorkArea
11209 * BufferView.C: don't include WorkArea.h
11211 2001-07-25 André Pönitz <poenitz@gmx.net>
11215 * lyxfunc.C: new LFUN 'math-space'
11217 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11219 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11221 * text2.C (toggleInset): call open/close
11223 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11225 * lyxfunc.C (dispatch): add debug for the disabled case
11227 * font.C (buttonText): make similar to rectText
11229 * buffer.C (readInset): comment out parsing of insetlist and
11232 * PainterBase.C (rectText): small correction
11234 * BufferView_pimpl.C: comment out insettheorem and insetlist
11235 * LyXAction.C: ditto
11236 * commandtags.h: ditto
11238 2001-07-24 Juergen Vigna <jug@sad.it>
11240 * text.C (draw): honor the ignore_language.
11242 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11244 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11246 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11249 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11251 * lyxtext.h: remove unused (and unimplemented) methods
11253 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11255 * text.C (getVisibleRow): honor background color
11258 * Painter.h: remove default color argument for fillRectangle
11260 * text.C (backgroundColor): new method
11262 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11264 * text.C (getVisibleRow): adjust
11266 * font.[Ch] (rectText): new method, metrics
11267 (buttonText): new method, metrics
11269 * PainterBase.[hC]: make rectText and buttonText always draw and take
11272 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11274 * ToolbarDefaults.C (read):
11275 * MenuBackend.C (read): allow escaping in all strings
11277 * BufferView_pimpl.C (insertAndEditInset): new method.
11278 (Dispatch): use insertAndEditInset whenever appropriate.
11280 * BufferView_pimpl.C (insertNote): removed
11282 * BufferView_pimpl.C (smartQuote): new method, moved from
11283 BufferView; if an insetquote cannot be inserted, insert a '"'
11286 * BufferView2.C: remove insertCorrectQuote();
11288 * lyxfunc.C (getStatus): Add support for all remaingin
11289 inset-insert lfuns.
11291 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11293 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11294 command (necessary to pass " as parameter of self-insert.
11296 * text.C (selectWordWhenUnderCursor):
11297 (selectWord): add word_location parameter
11298 (selectWordWhenUnderCursor): same + remove special code for word
11300 (selectNextWord): use kind() to guess type of insetspecialchar,
11303 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11304 (insertErtContents): create ert insets as collapsed.
11305 (readInset): better compatibility code for Info inset.
11307 2001-07-20 Juergen Vigna <jug@sad.it>
11309 * lyxfunc.C (dispatch): use always LyXFind now!
11311 * text2.C (init): add a reinit flag so that the LyXText can be
11312 reinited instead of deleted and reallocated (used in InsetText).
11314 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11320 2001-07-18 Juergen Vigna <jug@sad.it>
11322 * text.C (selectNextWord): handle insets inside inset by calling
11323 always the bv->text functions so that we can go up the_locking_inset!
11325 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11326 in strange locations when inside an inset!
11328 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11329 handling to include insets.
11331 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11333 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11335 * LyXAction.C (init):
11337 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11338 LIGATURE_BREAK, since the name is so stupid.
11340 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11342 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11345 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11347 * sp_form.[Ch]: remove.
11349 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11351 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11354 * src/buffer.C (readInset): ditto.
11356 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11358 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11359 menuSeparator(), endOfSentenceDot(), ldots() and
11360 hyphenationPoint(), which are therefore removed.
11361 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11363 * LyXAction.C (init):
11364 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11366 * paragraph.C (getWord): removed.
11368 * BufferView_pimpl.C (Dispatch): use last word or selection for
11369 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11371 * lyx_main.C (queryUserLyXDir): do not ask before creating
11372 user_dir, except if it has been named explicitely.
11374 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11376 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11377 a document of zero size.
11379 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11381 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11382 approriately in the c-tor and in require().
11383 (getPackages): output the appropriate LaTeX for natbib support.
11385 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11386 variables "use_natbib" and "use_numerical_citations" when reading the
11388 (readInset): read the various natbib cite commands.
11389 (validate): white-space change.
11391 * bufferparams.[Ch]: new variables "bool use_natbib" and
11392 "bool use_numerical_citations".
11393 (writeFile): output them in the LyX file.
11395 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11397 * lyxfunc.C (getStatus): add support for all the inset insertion
11400 * text2.C (insertInset):
11401 * paragraph.C (insetAllowed):
11402 * BufferView_pimpl.C (insertInset): update to take in account the
11403 renaming of insertInsetAllowed
11405 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11407 * text2.C (getInset): new method. returns inset at cursor position.
11409 * BufferView_pimpl.C (Dispatch): changes because of this.
11411 * LyXAction.C (init): rename open-stuff to inset-toggle.
11413 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11415 * text2.C (toggleInset): renamed from openStuff; use
11418 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11420 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11422 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11424 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11426 * buffer.C (readLyXformat2): Add filename to the error dialog
11428 2001-07-18 Juergen Vigna <jug@sad.it>
11430 * tabular.C (GetCellNumber): put an assert here instead of the check!
11432 2001-07-17 Juergen Vigna <jug@sad.it>
11434 * BufferView_pimpl.C (toggleSelection): adapted too.
11436 * text.C (selectNextWord): adapted for use with insets.
11437 (selectSelectedWord): ditto
11439 2001-07-17 Juergen Vigna <jug@sad.it>
11441 * sp_spell.C (PSpell): fix initialitation order.
11443 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11445 * paragraph.C: spacing
11447 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11449 * sp_spell.C: repair language selection for pspell
11451 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11453 * lyxfunc.h: change more methods to begin with lower char.
11455 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11457 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11458 for unknown layouts.
11460 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11462 * buffer.C (readLyXformat2): Generate an error dialog if there are
11465 2001-07-16 Juergen Vigna <jug@sad.it>
11467 * sp_spell.C: always compile ISpell part.
11469 * lyxrc.C: added use_pspell entry and it's handling.
11471 2001-07-13 Juergen Vigna <jug@sad.it>
11473 * sp_spell.C: removed double includes.
11475 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11477 Consistent use of Lsstream.h:
11478 * Lsstream.h: added using std::stringstream for consistencies sake.
11480 * buffer.C: removed using std::stringstream
11482 * lyxfont.C (stateText):
11483 * paragraph.C (asString):
11484 * text.C (selectNextWord, selectSelectedWord):
11485 * text2.C (setCounter):
11486 * vspace.C (asString, asLatexString):
11487 std::ostringstream -> ostringstream.
11489 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11491 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11492 * commandtags.h: add LFUN_HELP_ABOUTLYX
11493 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11495 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11497 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11499 * lyx_gui_misc.C: remove spellchecker
11500 * lyxfunc.C: showSpellchecker
11502 * sp_ispell.h: added
11503 * sp_pspell.h: added
11504 * sp_spell.C: added
11505 * sp_form.[Ch]: removed
11506 * spellchecker.[Ch]: removed
11508 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11510 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11512 (simpleTeXSpecialChars): Simply print the input character without
11513 any special translation if pass_thru is set.
11515 * layout.h: Added bool pass_thru to layout class for being able to
11516 implement pass through of a paragraph for Literate Programming.
11518 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11519 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11520 * layout.C (Read): add "passthru" to list of layout tags and add
11521 code to set the pass_thru boolean when it is read.
11523 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11525 * trans_decl.h: remove allowed from KmodInfo
11527 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11528 remove allowed code
11531 * paragraph_pimpl.C (erase): use boost::prior
11533 * Painter.C (text): use data() instead of c_str() when length is
11535 * WorkArea.C (putClipboard): ditto
11536 * font.h (width): ditto
11538 * BufferView2.C: use it-> instead of (*it). for iterators
11540 * paragraph_pimpl.C: ditto
11541 * paragraph.C: ditto
11542 * minibuffer.C: ditto
11543 * language.C: ditto
11545 * encoding.C: ditto
11546 * counters.C: ditto
11547 * converter.C: ditto
11549 * Variables.C: ditto
11550 * TextCache.C: ditto
11551 * MenuBackend.C: ditto
11552 * LyXAction.C: ditto
11554 * FloatList.C: ditto
11555 * DepTable.C: ditto
11556 * ColorHandler.C (LyXColorHandler): ditto
11558 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11560 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11562 * text2.C (openStuff): reintroduce this method (which had been
11563 nuked in NEW_INSETS frenzy).
11565 * lyxfunc.C (Dispatch): when an action has not been handled, use
11566 its name in the error message, not its number.
11568 * paragraph.C (inInset): change method name to begin with lowercase.
11571 * text2.C: updates because of this.
11573 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11575 * ToolbarDefaults.C (add): add spaces in error message
11577 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11579 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11580 (readLyXformat2): rename return_par to first_par, use lyxlex's
11581 pushToken and remove the manual push handling.
11582 (parseSingleLyXformat2Token): add another ert comp. variable:
11583 in_tabular, rename return_par to first_par. handle newlines better
11585 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11587 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11589 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11591 * text2.C (getParFromID): removed
11593 * buffer.C (getParFromID): new method moved form lyxtext.
11594 * BufferView2.C (insertErrors): adjust
11595 (setCursorFromRow): adjust
11596 * BufferView_pimpl.C (restorePosition): adjust
11597 * lyxfunc.C (Dispatch): adjust
11598 * undo_funcs.C (textUndo): adjust
11600 (textHandleUndo): adjust
11601 (textHandleUndo): adjust
11603 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11605 * buffer.C: up' the LYX_FORMAT
11607 * lyxfont.h: turn NO_LATEX on as default
11609 * buffer.C (insertErtContents): new methods of tex style compability.
11610 (parseSingleLyXformat2Token): use it several places.
11611 * tabular.C (OldFormatRead): and here
11613 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11615 * text2.C: remove some commented code.
11618 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11619 * trans.C: changes because of the above.
11621 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11623 * text2.C (setCounter): Fix counters bug with bibliography layout.
11625 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11627 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11628 own member functions
11629 (simpleTeXSpecialChars): ditto
11631 2001-07-06 Juergen Vigna <jug@sad.it>
11633 * a lot of files: changed the access to LyXText::status and the
11634 call of undo-functions.
11636 * undo.[Ch]: added a inset_id to the undo informations.
11638 * undo_funcs.[Ch]: added and moved here all undo functions.
11640 * lyxtext.h: give the status enum a weight, made status_ a private
11641 variable and made accessor functions for it, removed the whole bunch
11642 of undo-functions as they are now in their own file, make some
11643 functions publically available. Added function ownerParagraph with
11646 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11647 made InInset() a const function, added getParFromID() function.
11649 * buffer.[Ch]: added const version for inset_iterator functions,
11650 added getInsetFromID() function.
11652 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11653 changed undo functions for new version.
11655 2001-07-05 Juergen Vigna <jug@sad.it>
11657 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11658 unknow mechanism does not call the proper constructor but only this
11659 one also if I request the other!?
11661 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11663 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11665 * text2.C (LyXText): use initialization lists.
11667 * lyxtext.h (Selection): initialize set_ and mark_
11668 (init): remove method
11670 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11672 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11674 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11676 * screen.[Ch]: change method names to begin with lowercase
11678 * BufferView_pimpl.C (updateScrollbar): simplify further and
11679 hopefully make it a bit faster.
11681 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11683 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11684 calling directly xforms functions.
11686 * Painter.C (Painter):
11687 * lyx_cb.C (MenuWrite):
11688 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11691 * lyx_gui.C: remove bogus guiruntime extern declaration.
11693 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11695 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11697 (redoDrawingOfParagraph): ditto
11698 (redoParagraphs): ditto
11699 (cutSelection): don't create a object for CutAndPaste use the
11700 static method directly
11701 (pasteSelection): ditto
11703 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11706 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11708 * modifications to some other files because of this.
11710 * Makefile.am (lyx_SOURCES): add XFormsView
11712 * XFormsView.[Ch]: new files
11714 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11715 the main window. Move the gui dependent stuff to XFormsView
11717 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11719 * tabular.C (GetCellInset): update cur_cell also in the row/col
11720 version of this function.
11722 * lyxfunc.C: no need to include figure_form.h here.
11728 * lyxvc.C: no need to include forms.h here.
11730 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11732 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11734 * lyxfunc.C (Dispatch):
11736 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11737 constructor argument.
11739 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11741 * paragraph.C (Paragraph): dont't clear, and just set layout.
11742 (makeSameLayout): use params's copy contructor.
11744 * ParagraphParameters.[Ch] (makeSame): delete method
11746 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11748 * Variables.[Ch]: fix indentation, rename set to isSet
11750 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11752 * lyxfunc.C (Dispatch): fix typo
11754 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11756 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11759 * bufferlist.C: include assert.h for emergencyWrite().
11761 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11763 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11764 give up at last (bug #425202) !
11766 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11772 * spellchecker.C: strip spellchecker options and bring up
11773 preferences tab instead
11775 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11777 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11778 the istringstream constructor
11780 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11782 * paragraph.C (getLayout): fix return value
11784 * paragraph.h: do not declare getLayout as inline.
11786 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11788 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11790 * lyxcursor.h (operator<): new func
11791 (operator>): new func
11792 (operator>=): new func
11793 (operator<=): new func
11795 * text.C (changeCase): use selection.start and selection.end
11796 (changeRegionCase): require from to be <= to. Require par to be a
11799 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11801 2001-06-27 Juergen Vigna <jug@sad.it>
11803 * text.C (cursorLeftOneWord): changed to return the cursor and added
11804 overlay with BufferView * parameter which calls this one.
11806 (selectWord): use new getWord function.
11807 (changeCase): renamed from changeWordCase as and extended to work
11808 also on selections.
11810 * lyxtext.h: added enum word_location
11812 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11813 changeCase as this operates now also on selections.
11815 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11817 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11819 * many files: send debug output to Debug::INFO instead of
11822 * converter.C (View):
11824 (Move): send debug output to Debug::FILES instead of console.
11826 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11828 * lyxfunc.C (getStatus): use func_status
11830 * func_status.h: new header, describing the results of
11831 LyXFunc::getStatus;
11833 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11836 2001-06-25 The LyX Project <jug@sad.it>
11838 * buffer.C (sgmlOpenTag):
11840 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11842 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11844 * text2.C: remove some dead code
11846 * tabular.C (GetCellInset): store the last cell checked (gotten)
11848 * tabular.h: add the helper for the speedup
11850 * lyxtext.h: remove some dead code
11852 2001-06-26 The LyX Project <Asger>
11854 * paragraph.C: Change export to LaTeX of alignment to
11855 \begin{center} and family for better roundtrip work with reLyX.
11857 * Tune the math drawing a bit.
11859 2001-06-25 The LyX Project <Asger>
11861 * LColor.C (LColor): New color for math background. New color
11864 2001-06-25 The LyX Project <jug@sad.it>
11866 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11868 * lyxfunc.C (Open):
11869 * bufferlist.C (newFile): do not restrict to files ending with
11872 * BufferView_pimpl.C (MenuInsertLyXFile):
11874 2001-06-24 The LyX Project <jug@sad.it>
11876 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11879 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11881 * lyxtext.h: rename most methods to begin with a small char.
11882 Lots of changes because of this.
11884 * paragraph.C (Paragraph): do not call fitToSize
11885 (erase): call Pimpl::erase
11886 (insertChar): call Pimpl::insertChar
11887 (insertInset): call Pipl::insertInset
11888 (breakParagraph): do not call fitToSize
11889 (breakParagraphConservative): do not call fitToSize
11890 (fitToSize): remove method
11892 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11894 2001-06-24 The LyX Project <Asger>
11896 * Fix Qt compilation^2
11898 2001-06-24 The LyX Project <jug@sad.it>
11900 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11901 depthHook(getDepth()-1).
11904 * ParagraphParameters.h:
11905 * ParameterStruct.h: change type of depth to unsigned int ==
11906 depth_type. Many adaptations to other files before of that.
11908 2001-06-24 The LyX Project <Asger>
11910 * Fix Qt compilation.
11912 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11914 * paragraph.h: renamed several methods to begin with small letter.
11915 several changes to many parts of the code because of this.
11917 2001-06-23 The LyX Project <jug@sad.it>
11919 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11920 rewritten to discard all double spaces when KeepEmpty is off
11921 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11922 to only handle newlines but not fiddle with spaces and friends.
11924 * lyxfunc.C (MenuNew): when doing 'new from template', use
11925 template_path as default directory
11927 2001-06-23 The LyX Project <Asger>
11929 * Clean-up of header file includes all over
11930 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11932 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11934 * paragraph.h: renamed from lyxparagraph.h
11936 2001-06-23 Asger <lyx@violet.home.sad.it>
11938 * Buffer.h: Removed Buffer::resize
11939 * BufferList.h: Removed BufferList::resize
11940 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11941 the document lazily when we change the width, or the font settings.
11943 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11945 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11947 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11949 * buffer.h: remove out of date comment
11951 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11954 * screen.C: fix "theoretical" GC leak
11956 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11958 * LaTeX.C (scanAuxFile):
11959 (deplog): remove trailing \r when reading stream (useful under
11962 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11964 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11965 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11966 and BufferView::theLockingInset(Inset*), so should use them and not
11967 access bv_->text->the_locking_inset directly.
11969 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11971 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11974 * tex-defs.h: remove old unused file
11976 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11978 * BufferView_pimpl.C: fix typo, remove minibuffer message
11979 when buffer has loaded
11981 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11983 * lyxfunc.C (Dispatch): use stringstream
11984 (MenuNew): use stringstream
11985 (Open): use stringstream
11987 * importer.C (Import): use stringstream
11989 * bufferview_funcs.C (CurrentState): use stringstream
11991 * LaTeX.C (run): use stringstream
11993 * BufferView_pimpl.C (savePosition): use stringstream
11994 (restorePosition): use stringstream
11995 (MenuInsertLyXFile): use stringstream
11997 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12010 * vspace.C: removed // -*- C++ -*- as first line.
12013 * version.h: added // -*- C++ -*- as first line.
12015 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12017 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12019 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12022 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12024 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12027 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12029 * gettext.C: include LString.h even when --disable-nls is on.
12031 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12033 * converter.h (Get): changed argument type from int to
12034 FormatList::size_type to avoid unnecessary conversion.
12036 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12039 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12041 * gettext.h: include LString.h even when --disable-nls is on.
12043 2001-06-07 Juergen Vigna <jug@sad.it>
12045 * text.C (BreakAgain): subst spaces with tabs.
12047 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12048 (resizeInsetsLyXText): set force on resizeLyXText.
12050 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12052 * gettext.h (gettext_init):
12053 (locale_init): use a real definition instead of a macro
12055 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12057 * Bufferview_pimpl.C:
12059 * LColor.C: further lcolor tidies
12061 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12063 * BufferView_pimpl.C (updateScrollbar): simplify.
12065 * BufferView2.C: don't include insets/insetinfo.h, change
12066 prototype for insertInset and call the Pimpl version. let
12067 updateInset call Pimpl version.
12069 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12070 gotoInset to BufferView::Pimpl
12072 2001-06-01 Juergen Vigna <jug@sad.it>
12074 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12075 inside a LockingInset (is the update needed at all?).
12077 2001-05-31 Juergen Vigna <jug@sad.it>
12079 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12080 here not the old one otherwise how should we compare it afterwards
12083 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12088 * FontInfo.C: bring C functions into global namespace when
12091 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12093 * LString.h: make sure config.h has been loaded before LString.h.
12095 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12096 (one for each char read by EatLine!).
12098 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12101 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12103 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12104 to the same as the par we break from
12106 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12108 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12110 * MenuBackend.C (expand): also create menu entries for wide
12111 versions of the floats.
12113 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12115 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12117 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12118 frontends/Makefile.am
12124 * tabular.C (getTokenValue): add std::
12126 * tabular-old.C (getTokenValue): add std::
12127 (getTokenValue): ditto
12128 (getTokenValue): ditto
12130 * screen.C (ToggleSelection): adjust
12132 * lyxtext.h: put selection cursors inside a Selection struct.
12134 * lyxfunc.C (moveCursorUpdate): adjust
12136 * lyxfont.C (latexWriteStartChanges): add std::
12138 * lyxfind.C: adjust
12140 * font.h: delete with(char const *, LyXFont const &)
12142 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12144 * FontInfo.C (getFontname): add std::
12146 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12147 (workAreaButtonPress): adjust
12148 (tripleClick): adjust
12150 (moveCursorUpdate): adjust
12153 * BufferView2.C (gotoInset): adjust
12155 2001-05-30 Juergen Vigna <jug@sad.it>
12157 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12158 to check pspell I add this as default as I now have new pspell
12159 libraries and they seem to use this.
12161 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12163 * text2.C (CutSelection): make the cursor valid before the call to
12166 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12168 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12169 relied on 0 terminated strings and other horrors. Bug found due to
12170 the new assert in lyxstring!
12172 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12175 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12180 * lyxfunc.C (processKeySym): change method of getting to the
12183 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12184 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12185 * BufferView_pimpl.[Ch]: here as private methods.
12187 2001-05-28 Juergen Vigna <jug@sad.it>
12189 * text.C (SetHeightOfRow): added the update() call again as it is
12190 needed to initialize inset dimensions!
12192 2001-05-16 Juergen Vigna <jug@sad.it>
12194 * text2.C (SetCharFont): Add new function with BufferView * and
12195 bool toggleall parameters for setting insets internal fonts.
12196 (SetFont): Freeze the undo as we may change fonts in Insets and
12197 all this change should be inside only one Undo!
12199 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12200 setting font's in insets as for them we have the SetFont function!
12202 2001-05-15 Juergen Vigna <jug@sad.it>
12204 * text2.C (ClearSelection): to be sure we REALLY don't have any
12207 * tabular.C (TeXCellPreamble): fixed the left border problem for
12210 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12212 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12215 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12217 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12218 LFUN_BREAKPARAGRAPH.
12220 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12221 help test to "internal only", similar for LFUN_INSERT_URL
12223 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12224 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12225 auto_region_delete and deadkeys.
12227 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12230 * LColor.C: remove some dead entries, tidy a little
12232 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12234 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12236 (Dispatch): implement LFUN_ESCAPE
12238 * commandtags.h: add LFUN_ESCAPE
12240 * LyXAction.C (init): add entry for LFUN_ESCAPE
12242 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12243 Remove commented code.
12244 (insertNote): moved here
12245 (open_new_inset): moved here
12247 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12250 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12252 * kbmap.C (findbinding): clean it up and make it work correctly.
12254 * lyx_main.C (init): do not pass argc and argv as parameters
12256 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12258 * buffer.C: fix path for OS/2 & Win32
12262 * lyx_main.C: Added os:: class.
12264 * os2_defines.h: update
12266 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12268 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12269 better by trying again with reduced state.
12271 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12273 * lyxrc.C (read): print error about invalid key sequence only when
12274 debugging (because not all latinX keysyms are known to some X
12277 * kbsequence.C (getiso): add a few std:: qualifiers
12278 (getiso): comment out extra return statement.
12280 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12282 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12284 (Dispatch): enhance the accent inset a bit. (not perfect)
12286 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12288 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12290 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12292 * bufferlist.C (emergencyWrite): fix assert() call
12294 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12296 * text.C (InsertChar): Added trivial patch to only send the "you
12297 can not do multiple spaces this way" message once during a
12300 2001-05-08 Baruch Even <baruch@lyx.org>
12302 * Makefile.am: Changed order of libraries to get LyX to link properly
12303 with the gnome frontend.
12305 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12307 * LaTeXFeatures.h: add a std:: qualifier
12309 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12311 * paragraph.C (String): use stringstream
12313 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12315 * paragraph.C (writeFile): remove footflag arg
12317 * buffer.C (makeLaTeXFile): use stringstream
12318 (latexParagraphs): remove footnot gurba
12320 * LaTeXFeatures.C (getPackages): use stringstream
12321 (getMacros): likewise
12322 (getTClassPreamble): likewise
12323 (getFloatDefinitions): new method
12325 * paragraph.C (writeFile): reindent
12328 * WorkArea.h: revert the xpos + etc changes.
12330 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12332 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12334 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12335 (pasteSelection): likewise
12336 * text2.C (CreateUndo): likewise
12338 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12340 * minibuffer.C (peek_event): temporarily reduce the functionality
12341 of the minibuffer (to allow args on lfuns)
12343 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12344 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12346 * buffer.C (readInset): add compability reading of old float
12347 lists, add reading of new style float list.
12348 (readInset): avoid reevaluation of inscmd.getCmdName()
12349 (getLists): reindent
12351 * MenuBackend.C (MenuItem): implement parsing of
12352 md_floatlistinsert and md_floatinsert.
12353 (expand::LastFiles): move initalizaton of iterators out of loop,
12354 avoid reevaluation.
12355 (expand::Documents): introduce typdedef vector<string> Strings,
12357 (expand::ExportFormats): introduce typedef vector<Format const *>
12358 Formats, and use it.
12359 (expand): implement FloatListInsert and FloatInsert.
12361 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12362 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12363 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12365 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12367 (Dispatch::LFUN_FLOAT_LIST): implement
12369 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12371 * LaTeX.C (run): Fix problem with --export code.
12373 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12375 * BufferView.[Ch] (workarea): removed.
12376 (getClipboard) new method; wrapper for workarea()->getClipboard()
12378 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12381 * WorkArea.h (width, height, xpos, ypos): These methods all
12382 returned the dimensions of the work_area sub-area of WorkArea,
12383 resulting in a position error if the WorkArea were resized. Now
12384 return the dimensions of the entire WorkArea.
12386 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12388 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12390 * LaTeX.C (deplog): correct the syntax of regex reg1
12392 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12394 * undo.C: remove !NEW_INSETS cruft
12396 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12398 * text2.C: remove !NEW_INSETS cruft
12400 * text.C: remove !NEW_INSETS cruft
12402 * tabular.C: remove !NEW_INSETS cruft
12404 * spellchecker.C: remove !NEW_INSETS cruft
12406 * lyxtext.h: remove !NEW_INSETS cruft
12408 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12410 * lyxfunc.C: remove !NEW_INSETS cruft
12412 * lyxfind.C: remove !NEW_INSETS cruft
12414 * lyx_cb.C: remove !NEW_INSETS cruft
12416 * figureForm.C: remove !NEW_INSETS cruft
12418 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12420 * buffer.[Ch]: remove !NEW_INSETS cruft
12422 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12424 * CutAndPaste.C: remove !NEW_INSETS cruft
12426 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12428 * BufferView2.C: remove !NEW_INSETS cruft
12430 * BufferView.h: remove !NEW_INSETS cruft
12432 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12434 * Lsstream.h: include LString.h before the sstream headers to
12435 fix problem with gcc 2.95.3 and lyxstring
12437 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12439 * lyx_main.C: add using directives when needed for C functions
12440 declared in std:: namespace.
12442 2001-04-27 Juergen Vigna <jug@sad.it>
12444 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12445 (SetHeightOfRow): comment out the update call should not be needed!
12447 2001-04-13 Juergen Vigna <jug@sad.it>
12449 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12450 (LyXTabular): tried to minimize operator= operations (and realized
12451 hopfully Lars wish).
12453 2001-04-27 Juergen Vigna <jug@sad.it>
12455 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12457 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12459 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12461 * buffer.C (readInset): hack to make listof algorithm work
12463 * BufferView_pimpl.C: hack to make listof algorithm work
12465 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12467 * LyXAction.C: removed all !NEW_INSETS cruft
12468 (init): moved lfun_item in method
12470 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12472 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12474 * BufferView2.C (theLockingInset): white space.
12476 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12478 * minibuffer.C: include <iostream>
12480 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12482 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12484 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12486 * text.[Ch] (TransposeChars): new method
12488 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12490 * call message directly through LyXView instead of through LyXFunc
12491 * BufferView2.C: adjust
12492 * BufferView_pimpl.C: adjust
12493 * FontLoader.C: adjust
12495 * bufferview_funcs.C: adjust
12496 * converter.C: adjust
12497 * figureForm.C: adjust
12498 * importer.C: adjust
12500 * lyx_gui_misc.C: adjust
12501 * lyxfunc.C: adjust
12504 + more files in subdirs
12506 * lyxparagraph.h (size): move up int file
12509 * adjust all uses of Assert to lyx::Assert.
12511 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12512 lyxfunctional in namespace lyx
12513 * layout.C (hasLayout): ditto
12516 (delete_layout): ditto
12517 (NumberOfClass): ditto
12518 * converter.C (GetFormat): ditto
12523 * bufferlist.C (getFileNames): ditto
12524 (emergencyWriteAll): ditto
12527 * MenuBackend.C (hasSubmenu): ditto
12530 * BufferView_pimpl.C (getInsetByCode): ditto
12532 2001-04-18 Juergen Vigna <jug@sad.it>
12534 * vspace.C (asLatexString): fixed the 100% problem.
12536 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12538 * lyxfunc.C (Dispatch):
12540 * minibuffer.h: add a few std:: qualifiers
12542 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12544 * minibuffer.[Ch]: reimplement so that commands is initiated and
12545 run from lyxfunc, simplified som handling, and made the completion
12546 and history code for complete. wip.
12548 * lyxfunc.C (processKeySym): call message
12549 (miniDispatch): new temporary method
12550 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12551 (LFUN_MESSAGE): implement
12552 (LFUN_MESSAGE_PUSH): implement
12553 (LFUN_MESSAGE_POP): implement
12554 (initMiniBuffer): the initial/defualt minibuffer message.
12556 * lyxfont.[Ch]: inline some more getters
12558 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12560 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12562 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12563 (AutoSave): use LFUN_MESSAGE
12564 (Reconfigure): ditto
12566 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12568 * figureForm.C: use LFUN_MESSAGE
12570 * converter.C (runLaTeX): use LFUN_MESSAGE
12572 * bufferview_funcs.C: use LFUN_MESSAGE
12574 (changeDepth): ditto
12576 * bufferparams.h: use boost::
12578 * bufferlist.h: inherit privately from noncopyable
12580 * bufferlist.C (loadLyXFile): remove some commented code.
12582 * buffer.C (runChktex): use LFUN_MESSAGE
12584 * ShareContainer.h: inherit privately from noncopyable
12586 * ParagraphParameters.[hC] (depth): inline it.
12588 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12590 (message): new method
12591 (messagePush): ditto
12592 (messagePop): ditto
12593 (show): init minibuffer
12594 (showState): direct call
12596 * LaTeX.[Ch]: inherit privately from noncopyable
12597 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12598 instead of WriteStatus.
12600 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12602 * BufferView_pimpl.C (buffer): don't init minibuffer
12603 (workAreaButtonPress): use LFUN_MESSAGE
12604 (workAreaButtonRelease): ditto
12605 (savePosition): ditto
12606 (restorePosition): ditto
12607 (MenuInsertLyXFile): ditto
12608 (workAreaExpose): don't init minibuffer
12609 (update): remove commented code, simplify
12611 * BufferView2.C (openStuff): use LFUN_MESSAGE
12612 (toggleFloat): ditto
12615 (copyEnvironment): ditto
12616 (pasteEnvironment): ditto
12621 (updateInset): remove some commented code
12623 * lastfiles.h: inherit privately from noncopyable
12626 * lyx_main.h: ditto
12628 * lyxlex_pimpl.h: ditto
12630 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12631 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12632 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12634 * LyXAction.h: inherit privately from noncopyable, add methods
12635 func_begin, func_end, returning iterators to the func map.
12637 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12638 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12639 (func_begin): new method
12640 (func_end): new method
12642 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12644 (copySelection): ditto
12645 (pasteSelection): ditto
12647 * BufferView.C: whitespace change
12648 * BufferView.h: inherit privately from noncopyable
12650 2001-04-16 Allan Rae <rae@lyx.org>
12652 * tabular-old.C (l_getline):
12653 * spellchecker.C (sc_check_word):
12654 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12655 an unrecognised preprocessor directive. So ensure they're wrapped.
12657 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12659 * src/exporter.C (Export): Give an error message when path to file
12662 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12664 * LaTeX.C (deplog): Always check that foundfile exists.
12666 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12669 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12671 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12673 * tabular.[Ch] (getLabelList): implement new method
12675 * minibuffer.h: comment ouf setTiimer
12677 * minibuffer.C (ExecutingCB): constify res
12678 (peek_event): constify s
12679 (Set): constify ntext
12680 (Init): constify nicename
12682 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12684 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12685 (savePosition): use two params to Minibuffer::Set
12686 (restorePosition): ditto
12688 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12690 * lyx_main.C: include language.h
12692 * Makefile.am (lyx_main.o): add language.h
12694 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12700 * CutAndPaste.C: include gettext.h
12702 * lyxfont.h: remove old hack with ON and OFF.
12705 * lyxfont.h: do not include language.h...
12710 * bufferview_funcs.C:
12716 * paragraph.C: ... but do it here instead
12718 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12720 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12722 * tabular.C: small reformat
12724 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12727 (BreakParagraph): ditto
12728 (SetOnlyLayout): ditto
12731 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12734 * lastfiles.C: removed most using decl, add std:: where needed
12736 * buffer.C: ws changes
12738 * MenuBackend.C (class compare_format): put into anon namespace
12739 (expand): constify label, names, action, action2
12742 * text.C (SingleWidth): constify font
12743 (IsBoundary): constify rtl2
12744 (GetVisibleRow): constify ww
12746 * LaTeX.C (deplog): constify logfile
12748 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12750 (workAreaExpose): constify widthChange, heightChange
12752 * lyxrow.C (par): moved
12755 * lyxrow.h: as inlines here
12757 * lyxfont.h (shape): moved from lyxfont.C
12758 (emph): moved from lyxfont.C
12760 * lyxfont.C (LyXFont): use initialization list for all
12762 (shape): move to lyxfont.h as inline
12763 (emph): move to lyxfont.h as inline
12766 2001-04-04 Juergen Vigna <jug@sad.it>
12768 * vspace.C: had to include stdio.h for use of sscanf
12770 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12773 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12774 independent of xforms.
12776 2001-04-02 Juergen Vigna <jug@sad.it>
12778 * spellchecker.C: fixed namespace placing!
12780 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12782 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12783 the LyXParagraph * is 0.
12785 2001-03-29 Juergen Vigna <jug@sad.it>
12787 * vspace.C: added support for %, c%, p%, l%.
12788 (stringFromUnit): added helper function.
12789 (asLatexString): changed to give right results for the %-values.
12791 * buffer.C: convert the widthp in a width%.
12793 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12795 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12798 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12799 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12801 * lyx_cb.[Ch]: see above.
12803 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12807 * lyx.[Ch]: replaced by figure_form.[Ch].
12811 * lyxfunc.C: changed headers associated with above changes.
12813 2001-03-27 Juergen Vigna <jug@sad.it>
12815 * BufferView_pimpl.C: set the temporary cursor right!
12817 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12819 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12821 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12823 * LString.h: removed "using std::getline"!
12825 * BufferView_pimpl.C (Dispatch): changes due to changes in
12826 InsetInclude::Params.
12828 * buffer.C (tag_name): removed redundant break statements as they were
12829 producing lots of warnings with my compiler.
12831 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12833 * LString.h: add "using std::getline" when using the real <string>.
12835 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12837 * buffer.C: removed bitset usage.
12838 PAR_TAG moved to an anonymous name space.
12839 (tag_name): new funtion, also in the anonymous namespace.
12840 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12841 (makeDocBookFile): clean code. Completed transition from string arrays
12843 (SimpleDocBookOnePar): code clean.
12845 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12847 * tabular.C: add some comments.
12849 2001-03-22 Juergen Vigna <jug@sad.it>
12851 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12852 compatibility read a bit and fixed bug with minipage in different
12855 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12857 * buffer.C (pop_tag): removed.
12858 (push_tag): removed.
12859 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12860 array replaced with vector. Added support for CDATA sections.
12861 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12863 (makeDocBookFile): XML conformant declaration of CDATA section,
12864 fixed bug related to <emphasis> in the first paragraph char.
12865 (sgmlOpenTag): exclude empty tags.
12866 (sgmlCloseTag): ditto.
12868 * buffer.h (pop_tag): removed.
12869 (push_tag): removed.
12871 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12873 * language.h (Languages): added size_type and size().
12875 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12877 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12878 response on compability reading of minipages. One probliem is that
12879 the old usage of minipages was «flertydig»
12881 * several files here and in subdirs: don't use static at file
12882 scope use anon namespaces instead.
12884 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12886 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12887 LaTeX output. This is necessary for Literate document
12890 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12892 * buffer.C: insert hfill when needed.
12894 * tabular.C (l_getline): use string::erase, small whitespace change.
12896 * BufferView_pimpl.C: try the anon namespace.
12897 * WorkArea.C: ditto
12899 2001-03-16 Juergen Vigna <jug@sad.it>
12901 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12902 otherwise it won't open options-dialogs.
12904 * buffer.C: honor pextraWidth(p) on converting minipages.
12906 * tabular.C (l_getline): changed the functions to strip trailing \r.
12908 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12910 * BufferView_pimpl.C:
12911 * minibuffer..C: added "using SigC::slot" declaration.
12913 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12915 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12921 * paragraph.C: ditto
12923 * lyxtext.h: NO_PEXTRA
12925 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12927 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12928 * ParameterStruct.h: ditto
12929 * ParagraphParameters.h: ditto
12930 * lyxparagraph.h: ditto
12932 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12934 * buffer.C: add compability for minipage alignment.
12935 (latexParagraphs): remove unwanted pextra check.
12937 * several files: remove CXX_WORKING_NAMESPACES
12939 * buffer.C (pop_tag): tie is in namespace boost
12941 * BufferView.h: noncopyable is in namespace boost
12943 * lyx_main.h: ditto
12946 * lastfiles.h: ditto
12947 * bufferlist.h: ditto
12948 * ShareContainer.h: ditto
12950 * LyXAction.h: ditto
12953 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12955 * Merging changes from BRANCH_MVC back into HEAD.
12957 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12959 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12961 * BufferView_pimpl.C: change from intl.C
12965 * Makefile.am: move combox.*
12971 * intl.C: remove dialog (covered by prefs)
12973 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12975 * lyxfunc.C (Dispatch): removed redundant break statement.
12977 2001-03-14 Juergen Vigna <jug@sad.it>
12979 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12981 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12983 * buffer.C: add hack to fix compability reading of minipages.
12985 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12987 * buffer.C (getLists): Cleanup.
12989 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12991 * lyxfont.C (update): don't honor toggleall on font size.
12993 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12997 * Makefile.am: moved to frontends/xforms/
13001 * BufferView_pimpl.C: changes for moved mathpanel
13003 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13005 * gettext.h: fix gettext_init() in --disable-nls
13007 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13009 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13011 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13014 * lyx.h: strip external form
13016 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13018 * BufferView_pimpl.C: add comment, destroySplash()
13020 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13022 * BufferView_pimpl.C:
13026 * lyxfunc.C: use re-worked insetinclude
13028 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13030 * buffer.C: add using std::stringstream.
13032 * lyx_cb.C: readd using std::ios.
13034 * buffer.C: add using std::map.
13036 * BufferView_pimpl.C: add using std::vector.
13038 * ShareContainer.h: add std:: to swap.
13040 * buffer.h: add some typedefs
13041 * buffer.C (getLists): use them
13042 (getLists): renamed from getTocList.
13043 add a counter for the different float types and use it in the
13045 (getLists): use the same counter for the NEW_INSETS and the "non"
13048 * lyx_cb.h: remove unused items, includes, using etc.
13050 * ShareContainer.h: remove some commented code, add more comments
13051 and "documentation".
13053 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13055 * buffer.C (getTocList): make the list also when NEW_INSETS is
13058 * buffer.h: remove TocType
13060 * buffer.C (getTocList): change to return a map<string,
13061 vector<TocItem> >, implement for dynamic number of list.
13063 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13064 * text2.C (PasteSelection): adjust
13065 * CutAndPaste.C (pasteSelection): adjust
13067 * FloatList.C (FloatList): update from the new_insets branch.
13068 * Floating.[Ch]: ditto
13069 * LaTeXFeatures.C: ditto
13071 * lyxlex_pimpl.C: ditto
13073 * paragraph.C (Last): remove when NEW_INSETS is defined.
13075 * other file: changes because of the above.
13077 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13079 * lyxparagraph.h: rename next to next_, previous to previous_,
13080 make them private for NEW_INSETS. Rename Next() to next(),
13081 Previous() to previous().
13083 * other files: changes because of the above.
13085 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13088 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13091 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13093 * main.C (main): pass lyx_localedir to gettext_init().
13095 * gettext.h: remove locale_init and gettext_init macros
13097 * gettext.C (locale_init): new function
13098 (gettext_init): new function
13100 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13103 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13105 * Moved credits to frontends:
13106 * credits.[Ch]: removed
13107 * credits_form.[Ch]: removed
13108 * lyx_gui_misc.C: remove credits stuff
13111 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13113 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13115 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13116 unneeded destructor.
13118 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13119 a standalone pointer again.
13121 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13123 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13129 * ToolbarDefaults.C:
13138 * BufferView_pimpl.C: use new file dialog in GUII
13141 * lyx_cb.C: remove LayoutsCB to Toolbar
13143 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13145 * ShareContainer.h (get): add std:: qualifier
13147 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13149 * ShareContainer.h: define a proper ShareContainer::value_type
13150 type (and use typename to please compaq cxx)
13152 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13154 * lyxparagraph.h: move serveral local vars to
13155 ParameterStruct/ParagraphParameters., use ShareContainer in
13156 FontTable., make vars in FontTable private and add getter and
13159 * paragraph.C: changes because of the above.
13161 * lyxfont.h: remove copy constructor and copy assignment. (the
13162 default ones is ok), move number inside FontBits. move inlines to
13165 * lyxfont.C: add number to initializaton of statics, move several
13166 inlines here. constify several local vars. some whitespace
13167 cleanup. Dont hide outerscope variables.
13169 * Spacing.h: add two new constructors to match the set methods.
13171 * ShareContainer.h: new file, will perhaps be moved to support
13173 * ParameterStruct.h: new file
13175 * ParagraphParameters.h: new file
13177 * ParagraphParameters.C: new file
13179 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13180 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13182 * BufferView_pimpl.C: ParagraphParameter changes.
13183 * buffer.C: Likewise.
13184 * bufferview_funcs.C: Likewise.
13185 * text.C: Likewise.
13186 * text2.C: Likewise.
13188 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13190 * lyxfind.C (LyXReplace): do not redefine default argument in
13192 (IsStringInText): ditto
13193 (SearchForward): ditto
13194 (SearchBackward): ditto
13196 2001-03-06 Juergen Vigna <jug@sad.it>
13198 * lyxfind.C (IsStringInText): put parentes around expressions.
13200 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13202 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13204 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13206 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13208 * stl_string_fwd.h: add comment
13210 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13213 * tabular.C: remove unused DocBook methods
13219 killed DO_USE_DEFAULT_LANGUAGE
13221 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13223 * lyx_gui.C: do not include language.h.
13225 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13226 arguments in function implementation.
13228 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13230 * BufferView_pimpl.C: add <ctime>
13232 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13234 * BufferView_pimpl.C: add using std::find_if
13236 2001-02-27 José Matos <jamatos@fep.up.pt>
13238 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13241 2001-02-11 José Matos <jamatos@fep.up.pt>
13243 * buffer.C (makeDocBookFile): command styles now have a parameter as
13244 "title" by default.
13246 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13248 * layout_forms.[Ch]: removed
13249 * lyx_cb.[Ch]: out character
13250 * lyx_gui.C: out character
13251 * lyx_gui_misc.C: out character
13252 * bufferview_funcs.C: : out character,
13253 added toggleall as parameter in ToggleAndShow
13255 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13257 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13259 * text2.C (SetCurrentFont): Disable number property at boundary.
13261 2001-02-26 Juergen Vigna <jug@sad.it>
13263 * lyxfunc.C (getStatus): added a string argument override function so
13264 that this is correctly called from LyXFunc::Dispatch if it contains a
13265 do_not_use_argument which is used!
13266 (Dispatch): added check for "custom" export and call appropriate func.
13268 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13270 * lyxrc.C: Add language_command_local, language_use_babel and
13271 language_global_options.
13273 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13275 * buffer.C (makeLaTeXFile): Use language_use_babel and
13276 language_global_options.
13278 2001-02-23 Juergen Vigna <jug@sad.it>
13280 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13281 which works with LyXText and putted it inside BufferView. Here now we
13282 only call for that part the BufferView::Dispatch() function.
13284 * BufferView.C (Dispatch): added.
13286 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13287 functions which needs to use a LyXText over from LyXFunc.
13288 (MenuInsertLyXFile): added
13289 (getInsetByCode): added
13290 (moveCursorUpdate): added
13291 (static TEXT): added
13293 2001-02-22 Juergen Vigna <jug@sad.it>
13295 * BufferView_pimpl.C (update): call a status update to see if LyXText
13298 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13300 * vc-backend.C (revert): implement for CVS
13301 (getLog): implement for CVS
13303 2001-02-20 Juergen Vigna <jug@sad.it>
13305 * text2.C (ClearSelection): added BufferView param for inset_owner call
13307 * lyxfunc.C (TEXT): added this function and use it instead of
13308 directly owner->view()-text of getLyXText().
13310 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13312 * src/layout_forms.C: out preamble
13313 * src/layout_forms.h: out preamble
13314 * src/lyx_cb.C: out preamble
13315 * src/lyx_cb.h: out preamble
13316 * src/lyx_gui.C: out preamble
13317 * src/lyx_gui_misc.C: out preamble
13318 * src/lyxfunc.C: connect with guii preamble
13320 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13322 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13324 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13326 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13327 whether to run bibtex.
13329 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13331 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13333 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13335 * Makefile.am (lyx_SOURCES): removed bibforms.h
13337 * vspace.h: doxygen
13339 * text.C (GetVisibleRow): make several local vars const
13341 * tabular.C: small cleanup.
13343 * lyxserver.C (callback): use compare instead of strncmp
13345 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13346 inlines to after class or to paragraph.C
13348 * lyxfont.h: remove friend operator!=
13350 * converter.h: move friend bool operator< to non friend and after
13353 * combox.h: small cleanup
13355 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13356 to inlines after class def.
13358 * buffer.C (pop_tag): use string operations instead of strcmp
13360 * bmtable.c: doxygen, small cleanup
13362 * LaTeX.h: remove friend operator==
13364 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13376 * BufferView_pimpl.C:
13377 * BufferView.[Ch]: remove cruft
13379 2001-02-14 Juergen Vigna <jug@sad.it>
13381 * lyxfunc.C: removed #if 0 unused code
13383 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13385 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13387 * text2.C (SetSelection): added a BufferView * parameter
13389 2001-02-13 Juergen Vigna <jug@sad.it>
13391 * lyxfunc.C (Dispatch): fixed protected blank problem.
13392 * BufferView2.C (protectedBlank): added LyxText * parameter.
13394 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13395 (AppendColumn): same as above for column_info.
13397 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13398 (moveCursorUpdate): use a LyXText param for support of InsetText.
13400 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13401 (tripleClick): ditto
13403 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13405 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13407 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13409 * text2.C (SetSelection): set correct update status if inset_owner
13410 (ToggleFree): ditto
13412 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13414 * tabular.C: remove some commented code.
13416 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13418 * BufferView_pimpl.C: call hideSplash()
13420 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13423 * bibforms.h: remove
13426 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13427 add LFUN_CHILD_CREATE
13429 * counters.h: fix tiny typo
13434 * lyx.C: move splash to frontends/xforms/
13436 * lyx_gui_misc.C: move Include and Bibform to frontends
13438 * lyxvc.h: clarify comment
13440 * vspace.C: tiny housekeeping
13442 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13444 * text.C (PrepareToPrint): RTL Fix.
13446 * paragraph.C (GetUChar): New method.
13447 (String): Use GetUChar.
13449 * buffer.C (asciiParagraph): Use GetUChar.
13451 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13453 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13455 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13458 * buffer.C: rename to getLogName(), handle
13459 build log / latex log nicely
13461 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13464 * MenuBackend.h: remove support for reference menuitem type.
13466 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13468 * BufferView_pimpl.C: housekeeping
13469 * BufferView_pimpl.h:
13474 * minibuffer.h: move Timeout GUI-I
13476 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13478 * lyxrc.C (read): Update converters data-structures.
13480 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13482 * LaTeX.h (operator!=): add operator != for Aux_Info
13484 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13486 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13488 * LaTeXLog.C: deleted, useful code moved to Buffer
13491 * buffer.C: new function getLatexLogName()
13497 * lyxfunc.C: use frontends for LaTeX and VC logs
13499 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13501 * LaTeX.h: yet another std:: that Allan forgot.
13503 * Variables.C (set): renamed from isset(), because this clashes
13504 with some HP-UX macros (grr).
13506 2001-02-06 Allan Rae <rae@lyx.org>
13508 * LaTeX.h: Another bug fix. Missing std:: this time.
13510 2001-02-04 Allan Rae <rae@lyx.org>
13512 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13513 floats problem. I've left it commented out because it's not quite
13514 correct. It should also test that the current object is a table or
13515 figure inset. But I haven't gotten around to figuring out how to do
13516 that. I *think* it'll be something like: "table" == inset.type()
13518 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13521 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13523 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13524 all the citation/databases/styles in the auxilary file.
13525 (run): Rerun latex if there was a babel language error.
13527 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13529 * text.C (Backspace): Preserve the font when changing newline char
13531 (BreakParagraph): If the cursor is before a space, delete the space.
13533 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13535 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13537 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13538 new argument (code).
13539 (ChangeCitationsIfUnique): New method.
13541 * paragraph.C (GetPositionOfInset): Handle bibkey.
13543 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13545 * BufferView_pimpl.h: change type of Position::par_pos to
13546 LyXParagraph::size_type.
13548 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13550 * BufferView_pimpl.C (savePosition, restorePosition): Write
13551 messages to minibuffer.
13553 2001-01-28 José Matos <jamatos@fep.up.pt>
13555 * buffer.C (makeDocBookFile): adds support for document language.
13556 A silly restriction on the name of LatexCommand types where removed.
13557 Added support for CDATA sections, allows to chars unescaped, used
13558 among others in code, to avoid escape < and >.
13560 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13562 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13563 saved positions instrad of a stack. Furthermore, a position is
13564 stored using paragraph id/paragraph position.
13566 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13567 Remove LFUN_REF_BACK.
13569 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13571 * converter.C (dvipdfm_options): New method.
13573 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13575 * vspace.C (isValidLength): Fix for empty input string.
13577 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13579 * LyXAction.C (init): change description of LFUN_FIGURE to
13582 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13584 * LaTeX.C: add using directive
13586 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13588 * MenuBackend.C (expand): Fix the sorting of the formats.
13590 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13592 * lyx_main.C: tiny error message fix
13594 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13596 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13597 calling fl_initialize(). This fixes the problem with ',' as
13598 decimal separator in text files.
13600 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13602 * trans.C (process): Fix the keymap bug.
13604 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13606 * LaTeX.C (scanAuxFiles): New method. Provides support for
13607 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13608 (scanLogFile) Scan for "run BibTeX" messages.
13610 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13611 OT1 font encoding. Also, load the aecompl package if the ae
13614 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13616 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13618 * texrow.C (increasePos): turn two error messages into debug
13621 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13623 * LaTeX.C (scanAux): Handle the \@input macro.
13624 (runBibTeX): Use scanAux().
13626 * language.C (latex_options_): New field.
13628 * LaTeXFeatures.C (getMacros): Add language macros.
13630 * buffer.C (makeLaTeXFile): Small fix.
13632 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13634 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13636 * text2.C: add a using directive.
13638 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13643 * lyxfunc.C: kill LyXBell.
13645 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13647 * text.C (IsBoundary): Remove the error message
13649 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13651 * lyxrc.C (setDefaults): Correct initialization value for
13654 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13656 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13659 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13660 and GotoNextNote().
13662 * src/LyXAction.C: Added reference-next.
13664 * text.C (InsertChar): Use contains instead of strchr.
13666 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13668 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13670 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13671 alignment commands (when needed).
13673 * text.C (InsertChar): Add ':' to number separator chars.