1 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3 * PosIterator.[Ch]: replace the stack with a vector, add inset
5 * iterators.[C]: adjust
7 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
9 * lyxfind.C (replaceAll): mark the buffer dirty if something was
11 * paragraph_funcs.C (readParToken): put the correct id in the
12 error item, not the id of the top paragraph
14 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
16 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
17 * bufferview_funcs.C (put_selection_at): use the above
19 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
21 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
23 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * output_docbook.h: add #include statements
30 2003-11-05 José Matos <jamatos@lyx.org>
32 * output_docbook.[Ch]:
34 * output_linuxdoc.[Ch]:
35 * output_plaintext.[Ch]: New files for output formats.
36 * output.[Ch]: New file for helper functions.
39 * paragraph_funcs.[Ch]: output functions moved to new files.
41 * outputparams.h: rename of latexrunparams.h
49 * paragraph_funcs.[Ch]:
50 * paragraph_pimpl.[Ch]:
51 * tabular.[Ch]: rename ascii to plaintext
52 and LatexRunParams to OutputParams.
54 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
56 * iterators.[Ch] (text): require bv argument
57 * undo.C (recordUndo):
58 * lyxfunc.C (dispatch):
59 * bufferview_funcs.C (put_selection_at): adjust
61 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
63 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
65 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
67 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
70 2003-11-04 André Pönitz <poenitz@gmx.net>
72 * cursor.[Ch]: restructure
75 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
77 * iterators.[Ch] (asCursor): remove
79 * lfuns.h: remove LFUN_INSET_EDIT
85 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
87 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
89 * lyxfind.[Ch]: complete overhaul
92 * paragraph.[Ch] (insert): add
94 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
98 * text.C: remove dead spellcheck code
100 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
102 * dispatchresult.h: add a val setter
104 * cursor.C (dispatch): use a tempvar for data_[i]
106 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
108 * PosIterator.[Ch]: compile fix
110 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
112 * text.C (cursorPar): deactivate the cursor cache
114 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
116 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
118 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
120 * text3.C (dispatch): adjust for new DisptchResult semantics.
122 * lyxfunc.C (dispatch): handle update when return from
123 Cursor::dispatch, adjust for new DispatchResult semantics.
125 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
126 DispatchResult(true) mean to not update. Add class functions for
127 setting dispatched and update, as well as reading.
129 * cursor.C (dispatch): don't handle update here
131 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
133 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
134 * trans_mgr.C: adjust
136 * paragraph_funcs.C (readParToken): exception safety
138 * lyxvc.h: store the vcs pointer in a scoped_ptr
141 * lyxsocket.C (serverCallback): exception safety
143 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
145 * ispell.C (clone): make it return a auto_ptr
147 * factory.C (createInset): exception safety
148 (readInset): exception safety
150 * bufferlist.C (newBuffer): exception safety
152 * Thesaurus.C (Thesaurus): use initialization for aik_
154 * MenuBackend.C (expandToc): exception safety.
156 2003-11-03 André Pönitz <poenitz@gmx.net>
160 * bufferview_funcs.C: remove getInsetFromId()
163 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
169 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
171 * PosIterator.C (distance, advance): new
172 * bufferview_funcs.[Ch] (put_selection_at): new
173 * iterators.[Ch] (lockPath): new
175 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
177 * iterators.[Ch] (asPosIterator): added
178 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
179 * PosIterator.[Ch]: added
181 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
185 * cursor.C (dispatch):
186 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
188 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
189 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
190 contructor, add a class function dispatched. Remove operator>=
192 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
194 * debug.C: only use the default constructor for debugstream
197 * main.C (main): include debug.h and setup the lyxerr streambuf
200 2003-10-31 José Matos <jamatos@lyx.org>
202 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
204 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
205 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
206 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
207 * paragraph_pimpl.C (simpleTeXSpecialC):
208 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
209 add LatexRunParams argument.
211 * exporter.C (Export): change call accordingly.
213 * latexrunparams.h: add new member to take care of the other backends.
214 2003-10-30 José Matos <jamatos@lyx.org>
216 * buffer.C (makeLinuxDocFile, makeDocBookFile):
217 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
218 factorise code for paragraph output.
220 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
223 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
225 * text3.C (dispatch):
226 * lyxfunc.C (dispatch):
227 * cursor.C (dispatch):
228 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
230 * dispatchresult.h: make the dispatch_result_t ctor explicit
232 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
235 * buffer.C: small refactoring of docbook stuff
237 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
239 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
242 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
244 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
245 operator dispatch_result_t, and operators for == != and >=
247 * cursor.C (dispatch): adjust for operator dispatch_result_t
248 removal. comment out call to update
250 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
252 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
260 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
263 * dispatchresult.h: new file, DispatchResult broken out of
266 * Makefile.am (lyx_SOURCES): add dispatchresult.h
268 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
270 * text.C (rowBreakPoint): put a hack inside #if 0
272 2003-10-28 André Pönitz <poenitz@gmx.net>
279 * text2.C: general cleanup (lots of small stuff)
281 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
283 * text2.C (cursorEnd): simple fix to the "end key goes to one
284 before the end on last row" bug
286 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
288 * text.C (backspace): fix the "zombie characters"
290 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
292 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
294 2003-10-27 André Pönitz <poenitz@gmx.net>
296 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
298 * factory.C: handle new InsetPagebreak, InsetLine
300 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
301 and move handling into new InsetPagebreak, InsetLine
303 * BufferView_pimpl.C:
305 * ParagraphParameters.C:
318 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
327 * text3.C: remove lastPos uses in favour of Row::endpos
329 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
331 * undo.C (performUndoOrRedo): fix two crashes by setting a
332 cursor by hand and reordering some calls. Use bv->lockInset instead
333 of inset->edit because the latter loses cursor information
335 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
337 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
339 (rowBreakPoint): fix width. change point to point + 1.
342 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
345 * lyxfunc.C: fix (at least partly) the problems
346 with the Nav menu and headers inside branch insets
349 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
351 * paragraph.C (getChar): add strong asserts
353 * lyxrow_funcs.C (lastPos): remove hideous hack
355 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
356 (fill): adjust to that (avoid an infinite loop)
358 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
360 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
362 2003-10-23 André Pönitz <poenitz@gmx.net>
364 * RowList_fwd.h: change list<> to vector<> to gain speed
365 after suggestion from Alfredo
367 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
369 * lyxtext.h: move the bidi stuff from here...
372 * Bidi.[Ch]: ... to here
374 2003-10-23 André Pönitz <poenitz@gmx.net>
377 * text.C (isLastRow, isFirstRow): new functions
379 * paragraph.h: new width cache member
381 * rowpainter.C: replace RowList::iterator with Row & where possible
383 * lyxfunc.C: replace several view()->text with a single call
385 * toc.C: fix 'unused' warning
387 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
389 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
390 when woring with stream::pos_type
391 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
393 2003-10-22 André Pönitz <poenitz@gmx.net>
396 * text.C: use Row & instead of RowList::iterator
398 * lyxrow.h: rename end() to endpos()
404 2003-10-22 Angus Leeming <leeming@lyx.org>
406 * buffer.[Ch] (fully_loaded): new member function, returning true
407 only when the file has been loaded fully.
408 Used to prevent the premature generation of previews and by the
409 citation inset to prevent computation of the natbib-style label.
411 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
412 templates are all set up.
414 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
416 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
418 * text.C: fixed an "oops" in the "is a bit silly"
421 2003-10-21 André Pönitz <poenitz@gmx.net>
423 * FuncStatus.[Ch]: small stuff, whitespace
425 * lyxfont.[Ch]: operator<<() for debug reasons
429 * lyxtext.h: whitespace, spelling
431 * paragraph.C: naming of variables
434 * text2.C: small stuff
437 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
439 * text.C: (1) finish off the inset display() work;
440 (2) fix the "is a bit silly" bug (accessing char
443 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
445 * text.C: re-introduce display() for insets, fixing the
446 various bugs (stretch of line above, math inset
449 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
451 * text.C (rightMargin): remove spurious semicolon
453 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
456 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
458 * text3.C: fix one crash due to wrong cursor def
460 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
462 * vc-backend.C (scanMaster): make the regex static
464 * LaTeX.C (scanAuxFile): make the regexs static
466 * text3.C (doInsertInset, dispatch, dispatch):
467 * text2.C (cursorUp, cursorDown):
468 * text.C (selectNextWordToSpellcheck):
469 * BufferView_pimpl.C (dispatch):
470 * lyxfunc.C (dispatch): localDispatch -> dispatch
472 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
474 * lyxsocket.C: include <cerrno>
476 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
478 * lyxfunc.C (dispatch): remove textcache stuff
480 * bufferlist.C (release): remove textcache stuff
483 * TextCache.C: delete file
484 * TextCache.h: delete file
486 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
488 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
489 delete of the bv_->text.
490 (resizeCurrentBuffer): remove texcache stuff
491 (workAreaResize): ditto
493 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
495 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
498 2003-10-16 André Pönitz <poenitz@gmx.net>
505 * text3.C: speed up by storing y positions per paragraph plus per-row
506 offset instead of having a 'full' y position in the row.
508 2003-10-15 André Pönitz <poenitz@gmx.net>
512 * undo.[Ch]: make undo aware of inner insets
514 2003-10-14 Angus Leeming <leeming@lyx.org>
516 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
517 static member functions LyX::ref() and LyX::cref.
518 (lastfiles): new accessor functions for the new lastfiles_ member var.
519 (addLyXView, views_): add a new LyXView to the list of views_.
520 (updateInset): loop over all LyXViews to call their own updateInset
521 member function, returning a pointer to the Buffer owning the inset.
523 * BufferView_pimpl.C (loadLyXFile):
524 * MenuBackend.C (expandLastfiles):
525 * bufferlist.C (MenuWrite, QuitLyX):
526 lastfiles is no longer a global variable.
527 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
529 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
530 static function. Access through LyX::cref().emergencyCleanup().
532 2003-10-14 André Pönitz <poenitz@gmx.net>
534 * iterators.[Ch]: new direct access to innermost LyXText and Inset
536 * undo.[Ch]: restoring part of 'undo in insets'
539 * undo_funcs.[Ch]: merge with undo.[Ch]
541 * tabular.C: small cleansing stuff
543 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
545 * paragraph_funcs.C (readParToken): report unknown insets as error
546 boxes. Use the outer paragraph as location (also for unknown
549 * factory.C (readInset): do not abort on reading an unknown inset.
552 2003-10-13 Angus Leeming <leeming@lyx.org>
554 * lyx_main.C (LyX): remove call to setDisplayTranslator().
556 * lyxrc.C: displayTranslator is now a function,
557 declared in GraphicsTypes.h.
559 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
561 * format.C: new placeholder $$a to pass the socket address.
563 * bufferlist.[Ch]: new function getBufferFromTmp.
565 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
566 files in the temporary dir.
568 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
570 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
572 * Makefile.am: add lyxsocket.[Ch].
574 * lyx_main.C (error_handler): handle SIGPIPE.
576 2003-10-13 André Pönitz <poenitz@gmx.net>
578 * BufferView_pimpl.C:
583 * undo_funcs.[Ch]: use paroffset_type instead of
584 ParagraphList::iterators to prevent multiple conversion
585 (and get a more robust interface)
587 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
589 * lyxfunc.C (dispatch): RESULT -> dispatch_result
591 * text3.C (dispatch): ditto
593 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
595 * LaTeX.C (handleFoundFile): move the static to smaller scope,
596 move the onlyfile, use onlyfile instead of foundfile in a couple
599 * DepTable.C (update): flush the error stream a bit more
601 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
603 * lyxserver.C (callback): adjust
605 * lyxfunc.C (getStatus): add a missing brace in commented code
606 (ensureBufferClean): reindent
607 (dispatch): delete version taking a string
609 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
611 * LaTeX.C (deplog): move found file handlig from here...
612 (handleFoundFile): .. to new function here.
613 (deplog): make sure to discover several files mentioned on the
616 2003-10-10 André Pönitz <poenitz@gmx.net>
623 * text3.C: fix some of the tabular crashes
625 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
627 * MenuBackend.C (binding): put debug message into Debug::KBMAP
629 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
631 2003-10-09 André Pönitz <poenitz@gmx.net>
633 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
636 * BufferView_pimpl.C:
637 * bufferview_funcs.C:
648 * undo_funcs.C: adjust
650 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
652 * text2.C (incrementItemDepth): new function, use a backtracking
653 algorithm to discover the correct item depth.
654 (resetEnumCounterIfNeeded): new function, use a backtracking
655 algorithm to discover if counter reset is needed.
656 (setCounter): use them. Simplify a bit. Add different labels for
657 different item depths for itemize.
659 * paragraph.C (Paragraph): remove initialization of enumdepth
662 * paragraph.h: get rid of enumdepth, and use itemdepth both for
663 enumerate and itemize. Change the type of itemdepth to signed char.
665 2003-10-08 André Pönitz <poenitz@gmx.net>
667 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
672 * tabular.[Ch]: fix crash after 'row-insert'
674 2003-10-08 Angus Leeming <leeming@lyx.org>
676 Fix doxygen warnings.
678 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
679 Remove CutAndPaste:: prefix from header file declaration.
681 * LColor.h (fill): remove LColor:: prefix from declaration.
683 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
684 use lyx::depth_type rather than Paragraph::depth_type so that
685 header file and .C file match.
687 * converter.h (intToFormat): remove Converters:: prefix from declaration.
689 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
690 * aspell.C: \file aspell_local.C -> \file aspell.C
691 * gettext.C: \file gettext.C -> \file src/gettext.C
692 * gettext.h: \file gettext.h -> \file src/gettext.h
693 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
694 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
695 * text.C: \file text.C -> \file src/text.C
697 * toc.C: move comment so that doxygen is not confused.
699 2003-10-07 Angus Leeming <leeming@lyx.org>
701 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
703 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
706 * aspell_local.h: add forgotten std::string's.
708 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
715 * text3.C: The Box patch. Fancybox support, minipage, parbox
717 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
723 * ParagraphParameters.h:
733 * lyxtextclasslist.h:
737 * textcursor.h: add <string> and other small fixes to make Lars'
738 std::string patch compile with STLport.
740 2003-10-06 Angus Leeming <leeming@lyx.org>
742 * LColor.h: Add missing #include <string>.
744 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
746 * All most all file in all subdirs: Make <string> be the prefered
747 way of getting to std::string, add using declarations.
749 2003-10-06 André Pönitz <poenitz@gmx.net>
751 * metricsinfo.C: initialize LyXFont before changing attribute.
752 (fixes the 'math in \emph is upright' bug)
754 2003-10-06 André Pönitz <poenitz@gmx.net>
756 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
758 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
761 * paragraph_pimpl.C: Small fixes to build using STLport
763 2003-10-02 André Pönitz <poenitz@gmx.net>
766 * text3.C: move handling of LFUN_DEPTH *; fix #1360
768 2003-10-01 André Pönitz <poenitz@gmx.net>
770 * factory.C: assert early
772 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
774 * lyx_main.C: remove the global debug object
776 * debug.h: adjust for new debugstream
778 * debug.C: adjust for new debugstream and keep the global debug
781 2003-09-22 Angus Leeming <leeming@lyx.org>
783 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
784 of g++ which otherwise complain that the scoped_ptr destructor can't delete
785 an incomplete class LyXFont.
787 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
789 * factory.C: bug fix in branches
791 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
793 * lyxfunc.C (processKeySym): adjust
795 (dispatch): change arg name from ev to func, adjust
796 (sendDispatchMessage): ditto
798 * lyx_main.C (defaultKeyBindings): adjust keybindings
799 (deadKeyBindings): ditto
801 * kbsequence.C (addkey): return a FuncRequest
803 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
805 * kbmap.C (bind): take a FuncRequest as arg, adjust
808 (defkey): change to take a FuncRequest as arg, adjust
809 (findbinding): take a FuncRequest as arg, adjust.
811 * funcrequest.h (operator=): added
813 * funcrequest.C (FuncRequest): default kb_action changed from
814 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
816 * buffer.C (dispatch): simplify
817 (dispatch): adjust to take a FuncRequest as arg, adjust
819 * boost.C (assertion_failed): change assertion message slightly
821 * ToolbarBackend.C (read): simplify
823 * MenuBackend.C (binding): adjust call to findbinding, add a
824 message if no binding is found.
826 (expandToc): correct by adding a empty FuncRequest
828 * LyXAction.C: include <boost/assert.hpp>
829 (isPseudoAction): delete function
830 (LookupFunc): change name to...
831 (lookupFunc): this. change return type to FuncRequest.
832 (getActionName): take kb_action as arg, simplify
833 (funcHasFlag): add an assert, simplify.
835 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
837 * toc.C (action): return a FuncRequest, simplify
839 * lyxfunc.C (processKeySym): adjust
840 (getStatus): delete version that takes an int.
842 (dispatch): delete version that takes action as int
844 (sendDispatchMessage): simplify and adjust
846 * funcrequest.C (getArg): take unsigned int as arg
848 * ToolbarBackend.C (read): adjust
849 (add): delete version that takes func as a string.
850 (getIton): take a FuncRequest as arg
852 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
855 * MenuBackend.C (MenuItem): add a new construct that only takes a
856 Kind, simplify the constructor use for submenus.
858 (expandLastfiles): adjust
859 (expandDocuments): adjust
860 (expandFormats): adjust
861 (expandFloatListInsert): adjust
862 (expandFloatInsert): adjust
863 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
865 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
866 Remove class variables lyx_pseudo_map and lyx_arg_map
868 * LyXAction.C (searchActionArg): delete function
869 (getPseudoAction): delete function
870 (retrieveActionArg): delete function
871 (LookupFunc): make it return kb_action, simplify.
872 (getActionName): simplify
874 * factory.C (createInset): fix new bug
876 2003-09-19 Angus Leeming <leeming@lyx.org>
878 * CutAndPaste.C (pasteSelection): remove fudge used to set the
879 masterFilename_ parameter in the include inset.
881 * factory.C (createInset): changes due to the changes to InsetInclude.
883 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
885 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
887 2003-09-18 Angus Leeming <leeming@lyx.org>
890 * BufferView.C: pass the buffer when calling Inset::getLabelList,
891 Inset::fillWithBibKeys.
892 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
894 2003-09-18 Angus Leeming <leeming@lyx.org>
896 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
898 (ctor): pass and store a 'Buffer const &'
899 (buffer): new member function.
901 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
902 '*this' to the LaTeXFeatures ctor.
904 2003-09-18 Angus Leeming <leeming@lyx.org>
910 * text.C: rename EnumLColor as LColor_color.
912 2003-09-18 Angus Leeming <leeming@lyx.org>
914 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
915 remove #include "insets/insetbase.h" from cursor.h.
917 2003-09-18 Angus Leeming <leeming@lyx.org>
919 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
920 InsetOld_code to remove #include "inset.h".
922 * iterators.C: add #include "insets/inset.h"
924 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
926 * BufferView.C: remove more locking stuff that apparently doesn't
927 do anything sensible.
929 2003-09-16 André Pönitz <poenitz@gmx.net>
932 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
935 2003-09-16 Angus Leeming <leeming@lyx.org>
937 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
939 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
942 * paragraph.h: remove #include "lyxfont.h". Forward declare
945 2003-09-16 Angus Leeming <leeming@lyx.org>
947 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
948 of support/textutils.h.
949 (isWord): move the contents of support/textutils.h's IsWordChar here.
955 * text2.C: add #include "paragraph.h".
958 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
960 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
966 * LaTeX.C: use namespace alias for lyx::support::os
968 2003-09-16 Angus Leeming <leeming@lyx.org>
971 * bufferview_funcs.C:
976 * text.C: add #include "LColor.h".
978 2003-09-16 Angus Leeming <leeming@lyx.org>
980 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
981 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
983 Store the FontBits::color variable as an int rather than as an
984 LColor::colorso that we can move LColor.h out of the lyxfont.h header
987 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
988 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
989 string calls together.
991 * lyxrc.C: add #include "LColor.h".
993 2003-09-15 Angus Leeming <leeming@lyx.org>
995 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
998 2003-09-15 Angus Leeming <leeming@lyx.org>
1000 * LColor.h: add an EnumLColor wrapper for LColor::color.
1002 * lyxfont.[Ch] (color, setColor, realColor):
1003 * lyxtext.h, text.C (backgroundColor):
1004 pass EnumLColor args to/from the functions, rather than LColor::color
1008 * lyxtext.h: forward declare EnumLColor.
1010 * lyx_main.C: add #include "LColor.h".
1012 2003-09-15 Angus Leeming <leeming@lyx.org>
1014 * .cvsignore: add lyx-gtk.
1016 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1021 * ParagraphParameters.C
1025 * bufferview_funcs.C
1035 * vc-backend.C: remove usage of STRCONV
1037 2003-09-15 Angus Leeming <leeming@lyx.org>
1039 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1040 explicitly define the color passed to the painter.
1042 2003-09-15 Angus Leeming <leeming@lyx.org>
1044 * bufferparams.C (BufferParams): reorder member initializers to avoid
1047 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1049 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1050 * text.C (updateRowPositions): remove an unusual nop
1052 2003-09-12 André Pönitz <poenitz@gmx.net>
1054 * BufferView_pimpl.C:
1063 * Counters.[Ch]: finish the 'automatic counters' job
1065 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1067 * aspell.C: include <boost/assert.cpp> (compile fix)
1069 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1071 * boost.C (assertion_failed): use lyx::support::abort instead of
1074 2003-09-10 Angus Leeming <leeming@lyx.org>
1076 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1077 with their _fwd progeny.
1079 2003-09-09 Angus Leeming <leeming@lyx.org>
1081 134 files throughtout the source tree: replace 'using namespace abc;'
1082 directives with the appropriate 'using abc::xyz;' declarations.
1084 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1086 * boost.C (emergencyCleanup): moved here from LAssert.c
1087 (assertion_failed): new function, called by BOOST_ASSERT
1089 * several files: change Assert to BOOST_ASSERT
1091 2003-09-09 Angus Leeming <leeming@lyx.org>
1093 * buffer.[Ch]: Add an Impl class and move Buffer's member
1094 variables into it. As a result move several header files out of
1097 Add header files to lots of .C files all over the tree as a result.
1099 2003-09-09 Angus Leeming <leeming@lyx.org>
1101 * buffer.[Ch]: make Buffer's member variables private. Add
1104 Lots of changes all over the tree as a result.
1106 2003-09-08 Angus Leeming <leeming@lyx.org>
1108 * graph.C: #include <config.h>.
1110 2003-09-08 Angus Leeming <leeming@lyx.org>
1114 * BufferView_pimpl.C:
1143 * toc.C: remove redundant using directives.
1145 2003-09-07 Angus Leeming <leeming@lyx.org>
1147 * LaTeXFeatures.h: remove #include "support/types.h".
1148 * ToolbarBackend.h: remove #include <algorithm>.
1149 * changes.h: remove #include <ctime>.
1150 * debug.h: remove #include <iosfwd>.
1151 * graph.h: remove #include "support/std_string.h".
1152 * lyx_main.h: remove #include <csignal>.
1153 * lyxlex_pimpl.h: remove #include <fstream>.
1154 * sgml.h: remove #include <algorithm>, <utility>.
1155 * toc.h: remove #include "support/std_ostream.h".
1156 Add #include <iosfwd>.
1158 2003-09-07 Angus Leeming <leeming@lyx.org>
1160 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1162 * converter.h: forward declare LatexRunParams.
1163 * encoding.h: remove #include "lyxrc.h".
1164 * lyxtext.h: remove #include "LColor.h".
1165 * lyxtextclass.h: remove #include "support/types.h".
1166 * trans.h: remove #include "tex-accent.h".
1167 * trans_mgr.h: remove #include "tex-accent.h".
1168 * insets/inset.h: remove #include "support/types.h", <vector>.
1169 * insets/insetcollapsable.h: remove #include "LColor.h".
1170 * insets/insetinclude.h: remove #include "dimension.h".
1171 * insets/insetlatexaccent.h: remove #include "dimension.h".
1172 * insets/insetoptarg.h:: remove #include "insettext.h".
1173 * insets/insettext.h: remove #include "dimension.h",
1174 <boost/shared_ptr.hpp>
1176 * insets/renderers.h: add #include "dimension.h".
1177 * insets/updatableinset.h: add #include "support/types.h".
1179 * many .C files: Associated changes.
1181 2003-09-06 Angus Leeming <leeming@lyx.org>
1183 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1184 one, inside testInvariant.
1186 * PrinterParams.C: new file.
1187 * PrinterParams.[Ch]: move the function bodies out of line.
1189 2003-09-06 Angus Leeming <leeming@lyx.org>
1191 * ParagraphParameters.h: forward declare ParameterStruct rather than
1192 including its header file.
1193 (depth): moved out-of-line.
1195 2003-09-06 Angus Leeming <leeming@lyx.org>
1197 * BufferView_pimpl.h:
1200 * lyxfunc.h: forward declare LyXKeySym rather than
1201 #include "frontends/LyXKeySym.h".
1203 * BufferView_pimpl.C:
1206 * lyxfunc.C: associated changes.
1208 2003-09-06 Angus Leeming <leeming@lyx.org>
1210 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1211 As a result, can remove the #include "insets/inset.h" from BufferView.h
1213 2003-09-06 Angus Leeming <leeming@lyx.org>
1215 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1216 As a result, can remove the #include "insets/inset.h" from BufferView.h
1218 2003-09-06 Angus Leeming <leeming@lyx.org>
1224 * bufferview_funcs.C:
1225 * BufferView_pimpl.C:
1230 * ParagraphParameters.C:
1235 * frontends/controllers/ControlDocument.C:
1236 * insets/insetcaption.C: rearrange the #includes into some sort of
1239 * buffer.h: remove #includes ErrorList.h, undo.h
1241 2003-09-06 Angus Leeming <leeming@lyx.org>
1243 * support/types.h: add a 'depth_type' typedef, used to store the
1244 nesting depth of a paragraph.
1247 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1248 defining explicitly.
1251 * paragraph_funcs.h:
1252 * ParagraphParameters.h:
1253 * sgml.h: use lyx::depth_type rather than Paragraph or
1254 ParameterStruct's depth_type.
1257 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1260 * BufferView_pimpl.C:
1262 * ParagraphParameters.C:
1265 * bufferview_funcs.C:
1272 * frontends/LyXView.C:
1273 * frontends/controllers/ControlDocument.C:
1274 * frontends/controllers/ControlErrorList.C:
1275 * insets/insetbibitem.C:
1276 * insets/insetbranch.C:
1277 * insets/insetcaption.C:
1278 * insets/insetcollapsable.C:
1279 * insets/insetenv.C:
1280 * insets/insetert.C:
1281 * insets/insetfloat.C:
1282 * insets/insetfoot.C:
1283 * insets/insetfootlike.C:
1284 * insets/insetnewline.C:
1285 * insets/insetquotes.C:
1286 * insets/insettabular.C:
1287 * insets/insettext.C:
1288 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1290 * frontends/controllers/ControlChanges.C: #include "changes.h".
1292 2003-09-06 Angus Leeming <leeming@lyx.org>
1294 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1295 than #including paragraph.h.
1298 * RowList.h: deleted. Superfluous.
1308 * insets/insettext.h: use ParagraphList_fwd.h rather than
1311 * paragraph.h: don't forward declare ParagraphList.
1314 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1315 rather than ParagraphList.h. paragraph.h is still needed for the
1316 Paragraph::depth_type parameters.
1318 * textcursor.h: enable it to compile stand-alone in light of the
1321 * bufferview_funcs.C:
1333 * frontends/controllers/ControlParagraph.C:
1334 * frontends/controllers/ControlTabular.C:
1335 * insets/insetmarginal.C:
1336 * insets/insetminipage.C:
1337 * insets/insetnote.C:
1338 * insets/insetoptarg.C: add header files needed to compile again.
1340 2003-09-06 Angus Leeming <leeming@lyx.org>
1342 * RowList_fwd.h: new file, forward-declaring Row rather than
1343 #including lyxrow.h.
1348 * insets/insettext.h: use it instead of RowList.h
1350 * bufferview_funcs.C:
1357 * text3.C: #include "RowList.h".
1359 2003-09-05 Angus Leeming <leeming@lyx.org>
1361 * factory.C (createInset):
1362 * vspace.C (c-tor): replace sscanf call with an istringstream.
1363 * ispell.C: re-add missing HP/UX headers.
1364 * lyxserver.C: re-add missing os2 headers.
1366 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1375 * text3.C: re-add missing system headers, needed for 2.95.2.
1377 2003-09-05 Angus Leeming <leeming@lyx.org>
1379 Changes most place everywhere due to the removal of using directives
1380 from support/std_sstream.h.
1382 2003-09-05 Angus Leeming <leeming@lyx.org>
1384 Replace LString.h with support/std_string.h,
1385 Lsstream.h with support/std_sstream.h,
1386 support/LIstream.h with support/std_istream.h,
1387 support/LOstream.h with support/std_ostream.h.
1389 Changes resulting throughout the tree.
1391 2003-09-05 Angus Leeming <leeming@lyx.org>
1393 * sgml.h: ensure that the header file can be compiled stand-alone.
1394 * *.C: strip out redundant #includes. (320 in total.)
1396 2003-09-04 Angus Leeming <leeming@lyx.org>
1398 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1399 here (from getPackages).
1401 * debug.[Ch]: add a new EXTERNAL tag.
1403 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1405 * text2.C (cursorEnd): simplify
1407 (getColumnNearX): adjust
1409 * text.C (computeBidiTables): adjust
1412 * rowpainter.C (paintChars): adjust
1413 (paintSelection): adjust
1414 (paintChangeBar): adjust
1417 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1419 (numberOfSeparators): adjust
1421 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1427 * text3.C: Restricts the mouse click functionality
1428 of insets like bibtex, include, toc and floatlist to the visible
1429 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1430 up the dialogs. Cursor has to be in front of the inset (i.e.
1431 start of row) for this to function.
1433 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1435 * bufferview_funcs.C (currentState): output row information
1437 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1439 * bufferview_funcs.C (currentState): output paragraph position
1441 2003-09-04 Angus Leeming <leeming@lyx.org>
1443 * FloatList.h: move out #include "Floating.h".
1444 * LaTeX.h: move out #include "DepTable.h".
1445 * LyXAction.h: move out #include "funcrequest.h".
1446 * buffer.h: move out #include "author.h", "iterators.h".
1447 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1448 * lyx_main.h: move out #include "errorlist.h".
1449 * lyxfunc.h: move out #include "FuncStatus.h".
1450 * lyxtext: move out #include "lyxcursor.h".
1451 * paragraph_pimpl.h: move out #include "counters.h".
1453 2003-09-03 Angus Leeming <leeming@lyx.org>
1455 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1456 preamble_snippets list, enabling us to add snippets to the preamble
1457 only if the snippet was not there already.
1459 2003-09-04 Angus Leeming <leeming@lyx.org>
1461 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1463 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1465 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1468 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1470 * BranchList.C: point fix, earlier forgotten
1472 2003-09-02 Angus Leeming <leeming@lyx.org>
1474 * box.C (contains): renamed from 'contained' after a fantastic
1477 2003-09-02 John Levon <levon@movementarian.org>
1483 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1485 2003-09-02 John Levon <levon@movementarian.org>
1487 * text2.C: simplification of cursorEnd(), including partial
1490 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1492 * buffer.C (readFile): add a space
1494 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1496 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1498 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1500 * buffer.C (readFile): new function, take a filename and a
1501 ParagraphList::iterator
1503 (readFile): adjust, make it private. don't use setStream, make
1504 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1505 always contain the filename.
1507 * BufferView.C (insertLyXFile): simplify and make it work for
1510 2003-08-30 John Levon <levon@movementarian.org>
1512 * Makefile.am: fix dist (from Kayvan)
1514 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1516 * most files: change to use const Buffer refs
1518 2003-08-27 André Pönitz <poenitz@gmx.net>
1520 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1521 on top of ownerPar().
1523 2003-08-27 John Levon <levon@movementarian.org>
1525 * funcrequest.C: properly initialise POD members
1527 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1529 * lyxtext.h (top_y): move top_y from here
1534 * BufferView_pimpl.[Ch]: to here
1535 * frontends/screen.C:
1536 * insets/insettabular.C:
1537 * insets/insettext.C: adjust
1538 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1540 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1543 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1545 2003-08-26 André Pönitz <poenitz@gmx.net>
1547 * paragraph_func.[Ch] (outerPar): new function
1550 * paragraph_funcs.C:
1551 * paragraph_funcs.h:
1552 * paragraph_pimpl.C:
1553 * text2.C: remove Inset::par_owner
1555 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1560 * text2.C: eliminates the needFullRow/display() stuff
1561 altogether, putting the logic in metrics/draw in the insets.
1563 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1565 * text2.C (redoParagraphInternal, redoParagraphs):
1566 * text.C (redoParagraph): add a call to updateRowPositions at the
1567 end of each 'metrics-like' call. Remove all others.
1568 (getRow): remove the 'y-computing' version.
1569 (getRowNearY): do not compute nor return the real y. Solve the
1570 'y < 0' problem and simplify.
1572 2003-08-22 Angus Leeming <leeming@lyx.org>
1574 * *.[Ch]: clean-up of licence and author blurbs.
1575 Also move config.h out of a few .h files and into a few .C files.
1577 2003-08-22 André Pönitz <poenitz@gmx.net>
1579 * lyxrow.[Ch]: add x_ and *fill_ members
1584 * text2.C: adjust/remove prepareToPrint() calls
1586 2003-08-22 André Pönitz <poenitz@gmx.net>
1588 * lyxrow.[Ch]: add end_ member
1590 * lyxrow_funcs.C: use LyXRow::end_
1592 * lyxtext.h (singleWidth): add LyXFont parameter
1595 * text2.C: adjust LyXText::singleWidth() calls
1597 * text.C (redoParagraph): simplify row breaking logic
1600 2003-08-19 André Pönitz <poenitz@gmx.net>
1602 * funcrequest.C: initialize button_ member
1605 * rowpainter.[Ch]: interface consolidation
1607 2003-08-18 André Pönitz <poenitz@gmx.net>
1610 * BufferView_pimpl.C:
1612 * paragraph_funcs.C:
1614 * text3.C: remove LyXScreen::draw() and fitCursor calls
1616 * BranchList.h: remove spurious semicolons
1618 * MenuBackend.C: fix branchlist related crash
1620 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1628 * bufferparams.[Ch]:
1632 * text3.C: implements the 'branch inset'
1633 idea. This allows the output of various versions of a document
1634 from a single source version, selectively outputing or suppressing
1635 output of parts of the text.
1636 This implementation contains a 'branch list editor' in a separate
1637 tab of the document settings dialog. Branches are user definable
1638 and have a "display colour" to distinguish them on-screen.
1640 ColorHandler was somewhat cleaned up.
1641 (1) make possible a dynamically growing LColor list by allowing
1642 the graphic context cache to grow along (vector);
1643 (2) eliminate an IMHO unnecessary step in colour allocation.
1645 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1647 * BufferView_pimpl.C: compile fix
1649 2003-08-15 André Pönitz <poenitz@gmx.net>
1651 * rowpainter.C: remove extra metrics calls
1653 * lyxtext.h: merge the two constructors into a single one,
1654 pass reference to owner's par list
1656 * BufferView_pimpl.C:
1660 2003-08-15 André Pönitz <poenitz@gmx.net>
1662 * lyxrow_funcs.[Ch]:
1665 * paragraph_funcs.C:
1670 * text_funcs.C: split LyXText::rowlist_ into individual
1671 Paragraph::rows_ chunks
1674 * BufferView_pimpl.[Ch]:
1677 * text3.C: remove toggleSelection()
1679 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1681 * bufferlist.C: beautify two alerts (shorter text of buttons)
1682 * buffer.C: Remove redundant ' ' from message
1684 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1685 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1686 rename VALIGN_CENTER to VALIGN_MIDDLE
1688 2003-08-11 André Pönitz <poenitz@gmx.net>
1690 * lyxtext.h (getPar):
1691 * text.C: new function
1693 2003-08-11 André Pönitz <poenitz@gmx.net>
1696 * tracer.[Ch]: remove unneeded files
1698 * InsetList.[Ch]: remove resizeInsetsLyXText()
1703 * text3.C: merge insertParagraphs() and appendParagraph()
1704 remove breakAgain(), update()
1706 * BufferView_pimpl.[Ch]:
1707 * bufferview_funcs.[Ch]:
1711 * tabular.C: adjust after text & InsetList changes.
1713 2003-08-08 André Pönitz <poenitz@gmx.net>
1715 * text.C (insertChar, backspace): replace rowlist fiddling
1716 with rebreak of full par
1719 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1720 checkParagraph, updateInset): removed
1722 2003-08-07 André Pönitz <poenitz@gmx.net>
1725 * text3.C: merge some LFUN handlers, remove dead code
1727 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1729 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1731 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1733 * text2.C (DEPM): fix part of bug 1255 and 1256
1735 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1737 * BufferView_pimpl.C (workAreaDispatch): change to use
1738 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1739 that are no mouse related.
1741 2003-08-05 André Pönitz <poenitz@gmx.net>
1744 * BufferView_pimpl.[Ch]:
1745 * bufferview_funcs.C:
1747 * text3.C: rip out "deep update"
1749 * textcursor.[Ch] (last_sel_cursor): remove unused member
1751 2003-08-04 André Pönitz <poenitz@gmx.net>
1754 * BufferView_pimpl.[Ch]:
1755 * ParagraphParameters.C:
1756 * bufferview_funcs.C:
1762 * text3.C: replace "complicated" BufferView::update(...) calls with
1765 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1767 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1769 * Makefile.am (lyx_SOURCES): add paper.h
1771 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1773 * Makefile.am: move things around so that both lyx-qt and
1774 lyx-xforms can be built (according to --with-frontend). Then lyx
1775 is a symbolic link to lyx-[firstfrontend]
1777 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1779 * Always use std::endl with lyxerr
1781 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1783 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1785 2003-08-01 André Pönitz <poenitz@gmx.net>
1788 * BufferView_pimpl.[Ch]:
1790 * text3.C: merge BufferView::repaint() and BufferView::update()
1792 2003-08-01 José Matos <jamatos@lyx.org>
1794 * buffer.[Ch]: file_format is no longer a buffer data element.
1796 2003-08-01 André Pönitz <poenitz@gmx.net>
1801 * text2.C: make redoParagraph more independent of current cursor
1803 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1805 * text2.C: remove unneeded members
1807 2003-07-30 André Pönitz <poenitz@gmx.net>
1809 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1811 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1812 create a single function...
1814 * paragraph_funcs.C (moveItem): ... here.
1817 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1819 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1821 * LColor.[Ch]: Add comment and greyedout logical colors.
1823 2003-07-30 André Pönitz <poenitz@gmx.net>
1825 * tabular.C: don't use Assert too heavily. This crashes where it
1828 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1830 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1831 is disabled (bug 1232)
1833 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1835 * factory.C: limited 'arg' scope
1837 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1839 * factory.C: fixed Note submenu issues
1841 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1843 * factory.C: submenu for Note/Comment/Greyedout
1845 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1848 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1850 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1853 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1854 greyedout. Patch provided by Jürgen Spitzmüller.
1856 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1858 * kbmap.C (read): fix error message when reading bind files
1860 2003-07-29 Angus Leeming <leeming@lyx.org>
1862 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1863 certainly does not do what it purports to do. I am doing it, and
1864 us, a favour by killing it.
1866 2003-07-28 José Matos <jamatos@lyx.org>
1868 * buffer.C (readBody, do_writeFile):
1869 * paragraph.C(readParagraph): \end_document replaces \the_end.
1871 2003-07-29 André Pönitz <poenitz@gmx.net>
1874 * BufferView_pimpl.[Ch]:
1878 * textcursor.[Ch]: remove toggleToggle & Co
1880 2003-07-28 José Matos <jamatos@fep.up.pt>
1882 * buffer.C (readParagraph):
1883 * params_func (readParToken, readParagraph):
1884 * paragraph.C (write): \layout -> \begin_layout.
1886 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1888 * lyxlex_pimpl.C (setFile): clean up slightly.
1890 * bufferparams.h: add compressed var
1892 * buffer_funcs.C (readFile): adjust for LyXLex change
1893 (newFile): ditto + simplify
1895 * buffer.C (writeFile): handle writing of compressed files
1897 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1898 Check if the file is compressed and set a bufferparm if so.
1900 * Makefile.am (lyx_LDADD): remove explicit -lz
1902 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1904 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1905 makeDocBookFile): put the real LyX version in the first line of
1909 * version.C.in: remove lyx_docversion
1911 * tabular.C (write_attribute): add a template-based version to
1912 write enums properly
1914 2003-07-28 André Pönitz <poenitz@gmx.net>
1919 * text3.C: use doubles again for x-coordinates. They are needed.
1921 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1923 * messages.C (getLocaleDir): use lyx_localedir()
1925 * lyxlex_pimpl.C (setFile): compress stuff
1927 * buffer.C (writeFile): add some compression stuff
1928 (do_writeFile): new func, dont call expliti close... will this
1931 * Makefile.am (lyx_LDADD): add -lz
1933 2003-07-28 José Matos <jamatos@fep.up.pt>
1935 * buffer.C: increment file format.
1936 * paragraph_funcs (readParagraph, readParToken):
1937 * paragraph.C (readParagraph): add \end_layout.
1939 2003-07-27 Angus Leeming <leeming@lyx.org>
1941 * Makefile.am: remove special casing for configure-time setting of
1942 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1944 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1945 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1947 2003-07-26 André Pönitz <poenitz@gmx.net>
1949 * paragraph_func.[Ch]:
1950 * paragraph.C (realizeFont): inline it whereever it is used
1955 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1958 2003-07-26 André Pönitz <poenitz@gmx.net>
1962 * text2.C: get rid of LyXText::need_break_row
1964 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1966 * toc.[Ch]: put namespace toc inside namespace lyx
1968 * MenuBackend.C (expandToc2): adjust for lyx::toc
1971 * lyxfunc.C (dispatch): adjust for lyx::find
1973 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1974 lyx::find instead. Reorganize a bit.
1975 (LyXReplace): rename to replace
1976 (LyXFind): rename to find
1978 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1981 2003-07-26 André Pönitz <poenitz@gmx.net>
1983 * text.C (setHeightOfRow): restrict scope of temporary variable
1985 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1986 code (never has been used?)
1988 2003-07-27 Asger Alstrup <alstrup@local>
1990 * text.C (fill): Optimise algorithm to exploit that we can reuse
1991 the LyXFont for many characters.
1992 (setHeightOfRow): Same thing.
1993 (rowBreakPoint): Same thing.
1995 2003-07-26 Asger Alstrup <alstrup@local>
1997 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1999 * text.C (singleWidth): Spurious font copying in hot-spot
2000 singleWidth avoided. Reorder tests for arabic for efficiency.
2002 * text.C (fill): handle empty paragraphs better.
2004 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2007 * encoding.h: add includes
2009 * lyxrc.C: remove reading of bind files
2011 * lyx_main.C (init): setup bindings and menus only if we have a
2014 * kbmap.C (read): new method. Do the actual reading of bind
2017 * converter.C (dvipdfm_options):
2020 (output): adapt PAPER_* enums.
2022 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2024 * bufferparams.h: remove paper-related enums from there
2026 * paper.h: New file. A trivial header file to hold paper-related
2027 enums. It should later expand to contain many paper-related
2030 * lyxrc.C: declare extern displayTranslator
2032 2003-07-27 José Matos <jamatos@fep.up.pt>
2034 * tabular.[Ch] (linuxdoc): add support for tables and figures
2037 2003-07-27 José Matos <jamatos@fep.up.pt>
2039 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2040 consistency in both functions.
2041 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2043 2003-07-26 Asger Alstrup <alstrup@local>
2045 * rowpainter.C (paintRows): Change algorithm to work directly on
2046 the insets rather than asking every character in the document
2047 whether its an inset.
2049 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2051 * buffer.C (openFileWrite): factorize some code
2053 2003-07-26 Angus Leeming <leeming@lyx.org>
2056 * lyx_main.[Ch]: replace occurances of system_tempdir with
2059 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2061 * rename Inset to InsetOld
2063 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2065 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2066 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2067 which I think is a bit clearer. EDIT is gone, since it was
2068 premature optimisation, and broken for mathed anyway.
2069 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2070 with cursor positioning in insets as well (math insets still do not
2071 work, but that's a different story anyway.) It mysteriously
2072 crashes sometimes with undo in the first paragraph, but I'm fairly
2073 confident that this is a compiler bug.
2075 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2077 * paragraph.C (Paragraph): adjust for new clone return type
2079 (copyIntoMinibuffer): ditto
2081 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2083 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2084 by not having a special case, and always doing a full rebreak of
2085 the document after undo.
2087 2003-07-23 Angus Leeming <leeming@lyx.org>
2089 * factory.C (createInset): InsetExternal::setParams now takes a
2092 2003-07-23 Angus Leeming <leeming@lyx.org>
2094 * factory.C (createInset): changed interface to the external and
2095 graphics mailers' string2params functions.
2097 2003-07-23 Angus Leeming <leeming@lyx.org>
2099 * factory.C (createInset): pass a
2100 Buffer const * parameter to InsetExternalMailer's string2params.
2102 2003-07-22 John Levon <levon@movementarian.org>
2104 * Thesaurus.h: include the right aiksaurus header
2106 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2108 * MenuBackend.C (expand): check menu shortcuts unconditionally
2110 2003-07-21 Angus Leeming <leeming@lyx.org>
2112 * factory.C (createInset): pass a
2113 buffer_path parameter to InsetGraphicsMailer's string2params.
2115 2003-07-21 Angus Leeming <leeming@lyx.org>
2117 * BufferView_pimpl.C (buffer):
2120 * lyxfunc.C (dispatch):
2121 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2122 rather than the grfx shortcut.
2124 2003-07-21 André Pönitz <poenitz@gmx.net>
2126 * rowpainter.C: remove unused variables
2129 * tabular_funcs.h: move to tabular.C
2130 * Makefile.am: adjust
2132 * tabular.[Ch]: basic optical cleaning
2134 * author.h: pass references, not values
2136 2003-07-18 André Pönitz <poenitz@gmx.net>
2144 * text3.C: two-phase drawing for InsetText and InsetTabular
2145 some float -> int changes.
2147 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2149 * lyx_main.C: fix the fix
2151 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2153 * lyx_main.C: fix a crash in batch mode if no files specified
2156 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2158 * format.[Ch] (papersize): moved to BufferParams
2159 * converter.[Ch] (dvips_options): moved to BufferParams
2160 (dvipdfm_options): moved to anon namespace
2161 * bufferparams.[Ch]: added above functions.
2163 2003-07-17 André Pönitz <poenitz@gmx.net>
2167 * text2.C: don't call inset->update() anymore
2169 * metricsinfo.[Ch]: add convenience constructor
2171 2003-07-16 André Pönitz <poenitz@gmx.net>
2176 * text2.C: replace the LyXCursor::irow_ member with
2177 on-demand computation of the value
2179 2003-07-16 John Levon <levon@movementarian.org>
2181 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2183 2003-07-15 André Pönitz <poenitz@gmx.net>
2186 * text2.C: remove no more needed refresh_row
2188 2003-07-15 André Pönitz <poenitz@gmx.net>
2193 * text3.C: refresh_status tristate -> need_update bool
2195 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2197 * lyxtext.h (init): remove reinit argument (act as if always true)
2198 * text2.C: adjust to that
2200 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2202 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2203 * text3.C: use it to delete selections in some cases
2204 (bugs 441, 673, 702, 954).
2206 2003-07-14 André Pönitz <poenitz@gmx.net>
2208 * rowpainter.[Ch]: reduce interface
2210 2003-07-14 André Pönitz <poenitz@gmx.net>
2212 * BufferView_pimpl.C:
2213 * text2.C: adjust after removing unused BufferView * argument
2215 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2217 * text2.C (init): fix a crash fired on resize
2219 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2221 * buffer.[Ch]: added new closing signal
2222 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2223 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2224 BufferView::Pimpl via the closing the signal
2226 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2228 * buffer.[Ch]: take out all bv-related from buffer
2230 * BufferView_pimpl.[Ch]: connect to new signals
2231 * CutAndPaste.C: removed useless asserts
2232 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2235 * lyxfunc.C: moved view-related funciontality from vc here
2236 * paragraph.C: removed outdated comments
2239 2003-07-10 André Pönitz <poenitz@gmx.net>
2241 * BufferView_pimpl.C:
2245 * text2.C: remove InsetText::InnerCache, clean up consequences
2247 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2249 * ispell.C: fix two typos in error messages
2251 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2253 * Extend Note inset to other forms of annotation like Comment
2254 and Greyedout. Right button click gives dialog.
2256 Files modified or added (+):
2260 * ControlNote.[Ch] +
2262 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2263 frontends/controllers
2267 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2269 * aspell.C: add missing namespace lyx::support
2271 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2273 * BufferView.[Ch] (newFile): Add
2274 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2275 * LaTeX.[Ch] (message): added this signal and use it
2276 * buffer.[Ch] (busy, message): added these signals and use them
2277 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2281 * importer.C: use buffer signals instead of direct bv calling
2282 * lyx_cb.[Ch] (ShowMessage): removed
2285 * paragraph_funcs.C:
2286 * text2.C: use buffer signals
2288 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2290 * introduce namespace lyx::graphics
2292 2003-07-02 André Pönitz <poenitz@gmx.net>
2294 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2296 2003-07-01 André Pönitz <poenitz@gmx.net>
2303 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2304 text*.C to text_func.C
2306 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2308 * introduce namespace lyx::support
2310 2003-06-30 André Pönitz <poenitz@gmx.net>
2315 * text.C: re-enable --with-included-string
2317 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2319 * textcursor.C: add <config.h>
2321 * text.C (getWord): remove const from word_location arg
2323 * lyxvc.C (getLogFile): fix const type order
2325 * lyxtext.h: remove const from word_location arg, add arg name
2327 * lyxlayout.h: currect type on labeltype.
2329 * importer.C: correct \file
2331 * converter.C (intToFormat): use std:: on ret val, ws changes
2333 * bufferlist.h: correct \file
2335 * buffer.C (makeLinuxDocFile): fix const type order
2336 (makeDocBookFile): ditto
2337 (fillWithBibKeys): use std:: on stdlib args.
2339 * CutAndPaste.C: fix authors.
2340 (availableSelections): use std:: on return vector
2342 2003-06-27 André Pönitz <poenitz@gmx.net>
2344 * BufferView_pimpl.C:
2345 * bufferview_funcs.C:
2353 * text3.C: remove LyXCursor::row_ member
2356 * text.C: rename fullRebreak() to partialRebreak() and implement
2357 a fullRebreak() that really bereks fully
2359 * textcursor.h: new struct for cursor-related data
2361 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2363 * lyx_main.C (LyX): get full path of document loaded on the
2366 2003-06-26 André Pönitz <poenitz@gmx.net>
2368 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2369 remove unused/broken operator>,<,>=.
2371 * text.C: remove only use of broken operator<= in an Assert().
2373 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2375 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2376 moved errorlist_.clear to showErrorList
2378 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2380 * converter.C (scanLog, runLaTeX):
2381 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2382 move the bv->showErrorList call to the callers
2383 * lyxfunc.C: i.e. here...
2385 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2386 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2387 namespace, the second to...
2388 * buffer_funcs (BufferFormat, parseErrors): added
2389 * errorlist.C (ErrorList(TeXErrors const &)): removed
2391 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2393 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2395 2003-06-24 "Garst R. Reese" <reese@isn.net>
2399 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2401 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2403 * version.C.in: change docversion to 1.4
2405 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2407 * buffer.C: fix a bug just introduced
2409 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2411 * buffer.[Ch]: added the parseError signal and use it, removed
2413 * BufferView.[Ch] (addError): moved to ...
2414 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2415 to the Buffer::parseError signal to catch (guess what) parse errors
2416 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2418 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2420 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2421 ability to create a buffer and to return an existing one from
2422 the list. Moved these functions to...
2423 * buffer_funcs.[Ch]: added
2424 * BufferView.[Ch] (loadLyXFile): added
2425 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2426 job removed from bufferlist::loadLyXFile.
2427 * buffer.C (setReadOnly): make it work without view
2428 (i.e added an if (users))
2430 2003-06-19 Angus Leeming <leeming@lyx.org>
2433 * LyXAction.C (init):
2434 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2435 with LFUN_DIALOG_SHOW <name> <data>.
2437 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2439 * CutAndPaste.C (availableSelections): small compilation fix for
2440 ancient (gcc 2.9x) compilers
2442 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * text3.C (cursorNext): add tmp var
2446 * text2.C (updateCounters): for function calling out of for clause
2447 (replaceSelectionWithString): ditto
2448 (insertStringAsParagraphs): ditto
2449 (getColumnNearX): add tmp var
2450 (setCursorFromCoordinates): add tmp var
2451 (cursorDownParagraph): add tmp var
2452 (deleteEmptyParagraphMechanism): add tmp var
2454 * text.C (insertChar): add tmp var
2456 * rowpainter.C (paintDepthBar): add tmp var
2458 * CutAndPaste.C (availableSelections): potentially check all
2459 paragraphs in a cut to fill the shown strings.
2461 2003-06-18 André Pönitz <poenitz@gmx.net>
2463 * kbmap.[Ch]: use vector<> instead of list<>
2465 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2467 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2468 pasteSelection with index
2470 * text2.C (pasteSelection): modify, call pasteSelection with index
2472 * paragraph.C (asString): reimplement version with no interval to
2473 call the one with interval.
2475 * lyxtext.h: add index arg to pasteSelection
2477 * MenuBackend.C (MenuItem): handle PasteRecent
2478 (Menu::read::Menutags): add md_pasterecent
2480 (expandPasteRecent): new function
2483 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2485 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2487 (availableSelections): new function
2489 2003-06-17 Angus Leeming <leeming@lyx.org>
2491 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2493 2003-06-17 Angus Leeming <leeming@lyx.org>
2496 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2498 * lyxfunc.C (dispatch): invoke it.
2500 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2502 * iterators.C (operator++, ParPosition): reintroduce some
2503 const_cast for the benefit of older compilers.
2505 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2507 * text3.C (dispatch): do not modify clipboard when doing
2508 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2509 LFUN_DELETE_SKIP on a selection selection
2511 2003-06-16 André Pönitz <poenitz@gmx.net>
2517 * tabular.[Ch]: IU of clone() and getLabelList();
2519 2003-06-13 André Pönitz <poenitz@gmx.net>
2521 * tabular.h: compactification
2523 2003-06-12 André Pönitz <poenitz@gmx.net>
2527 * tabular_funcs.h: some renaming plus whitespace
2529 2003-06-12 André Pönitz <poenitz@gmx.net>
2532 * BufferView_pimpl.C:
2538 * toc.C: Return a Paragraph & for ParIterator::operator*()
2540 2003-06-11 John Levon <levon@movementarian.org>
2544 * ToolbarBackend.C: add "Toolbars" section and
2547 2003-06-10 Angus Leeming <leeming@lyx.org>
2550 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2552 * lyxfunc.C (dispatch): invoke it.
2554 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * main.C: protect <ios> with HAVE_IOS
2557 (main): protect sync_with_stdio with HAVE_IOS
2559 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2561 * text2.C (cutSelection): adjust
2562 (pasteSelection): adjust
2564 * messages.C: handle get of empty string
2566 * main.C (main): use sync_with_stdio(false)
2568 * lyxfunc.C (dispatch): adjust
2570 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2571 (WriteAs): remove unneeded BufferView arg.
2573 * bufferparams.h: use correct types on papersize, papersize2 and
2576 * bufferparams.C (readToken): adjust for type
2577 (writeLaTeX): add missing cases to switch.
2579 * bufferlist.C (quitWriteBuffer): adjust
2582 * buffer.C (asciiParagraph): remove some commented code.
2584 * CutAndPaste.C: remove current_view extern variable.
2585 (cutSelection): add BufferParams arg.
2586 (eraseSelection): add BufferParams arg.
2587 (pasteSelection): add Buffer const & arg
2589 2003-06-07 John Levon <levon@movementarian.org>
2592 * paragraph_funcs.C:
2593 * paragraph_pimpl.C:
2597 * paragraph.C: allow InsetERT to freely space lines,
2598 and some consolidation of code
2600 2003-06-06 José Matos <jamatos@fep.up.pt>
2602 * buffer.C (makeDocBookFile): fix bug #821
2604 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2606 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2608 2003-06-04 Angus Leeming <leeming@lyx.org>
2610 * buffer.C: bump format to 224.
2612 2003-06-05 André Pönitz <poenitz@gmx.net>
2614 * text2.C (redoParagraphs): remove two const_cast<>
2616 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2618 * ParagraphList.h: remove last remnants of NO_STD_LIST
2620 2003-06-03 Angus Leeming <leeming@lyx.org>
2622 * factory.C (createInset): small change to the way InsetExternal's params
2625 2003-06-04 André Pönitz <poenitz@gmx.net>
2627 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2629 * paragraph_pimpl.h:
2630 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2632 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2634 * undo_funcs.C: make some simple cases of undo work again
2636 2003-06-03 John Levon <levon@movementarian.org>
2638 * ispell.C: HPUX doesn't have sys/select.h
2641 2003-06-03 John Levon <levon@movementarian.org>
2643 * CutAndPaste.C: update tabular and include inset
2648 * paragraph.C: remove owningBuffer(), don't pass Buffer
2651 * factory.C: insetGraphicsParams changed
2653 2003-06-02 John Levon <levon@movementarian.org>
2659 * text3.C: remove insetparent
2661 2003-06-02 John Levon <levon@movementarian.org>
2664 * buffer.C: fix inset_iterator.end(), move out of line
2667 2003-06-01 John Levon <levon@movementarian.org>
2669 * text3.C: use a proper cut/paste when doing inset
2670 insert (from Jürgen Spitzmüller)
2672 2003-06-01 John Levon <levon@movementarian.org>
2674 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2676 2003-05-30 André Pönitz <poenitz@gmx.net>
2678 * rowpainter.C: unify second drawing phase
2680 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2682 * trans_mgr.C: remove one case of current_view
2684 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2686 * paragraph_funcs.h: remove paragraph.h include
2688 * paragraph.h: delete NO_STD_LIST stuff
2690 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2692 * buffer.h: remove paragraph.h include
2694 * ParagraphList.C: delete file
2696 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2698 * toc.C (getTocList): adjust
2700 * paragraph_pimpl.C (validate): adjust
2702 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2704 * paragraph.C (Paragraph): adjust
2705 (getPositionOfInset): use const_iterator, adjust
2706 (bibitem): use const_iterator, adjust
2707 (setInsetOwner): adjust
2709 * iterators.C (operator++): adjust
2711 * InsetList.[Ch]: Replace selfmade iterator with standard
2712 vector::iterator also introduce const_iterator. Remove getPos,
2713 getInset and setInset from InsetTable. Adjust accordingly.
2715 * BufferView.C (lockInset): adjust
2716 (ChangeInsets): adjust
2718 * tabular.[Ch]: delete commented same_id functions
2720 2003-05-28 John Levon <levon@movementarian.org>
2722 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2724 2003-05-28 André Pönitz <poenitz@gmx.net>
2726 * metricsinfo.[Ch]: remove 'fullredraw' member
2728 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2730 * lyxtextclass.C (operator): remove caching.
2732 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2736 * text2.C (cursorBottom): adjust
2737 (setCounter): use ParagraphList::find, adjust
2739 * text.C (workWidth): use ParagraphList::find, adjust
2741 * lyxcursor.C (LyXCursor): adjust
2743 * buffer.C (inset_iterator): adjust
2745 * ParagraphList.h: make iterator(value_type) private, make
2746 ParagraphList a friend of iterator.
2748 * ParagraphList.C (find): new function
2750 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2752 2003-05-27 André Pönitz <poenitz@gmx.net>
2754 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2756 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2758 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2760 2003-05-26 John Levon <levon@movementarian.org>
2762 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2764 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2766 * remove same_id from function signatures, adjust.
2768 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2770 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2772 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2774 * paragraph.C (Paragraph): get rid of same_ids parameter
2776 * ParagraphList.C (insert): adjust
2779 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2781 * paragraph_funcs.C (breakParagraph): adjust
2782 (breakParagraphConservative): adjust
2784 * buffer.C (readParagraph): adjust
2786 * ParagraphList.C (insert): take a reference instead of a pointer
2789 * paragraph.[Ch] (id): new function
2791 * bufferlist.C (newFile): adjust
2793 * ParagraphList.C (ParagraphList): adjust
2795 (push_back): take a reference instead of a pointer.
2797 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2799 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2802 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2803 set else use old code.
2805 * ParagraphList.C: remove all NO_NEXT code and only compile this
2806 code of NO_STD_LIST is set.
2808 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2810 * BufferView_pimpl.C:
2820 * graphics/GraphicsConverter.C:
2821 * graphics/PreviewLoader.C: header adjustment
2823 2003-05-23 Angus Leeming <leeming@lyx.org>
2825 * LaTeXFeatures.[Ch] (useBabel): new method.
2826 * bufferparams.C (writeLaTeX): use it.
2828 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * ParagraphList.h (set): remove unused function.
2832 2003-05-23 André Pönitz <poenitz@gmx.net>
2835 * BufferView_pimpl.C:
2839 * undo_funcs.C: setUndo reworked
2841 * iterators.[Ch]: add access to topmost ParagraphList
2843 * lyxtext.[Ch] (workWidth): add a const
2845 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2847 * texrow.[Ch] (increasePos): remove function
2848 * exporter.C (export): removed unused var and outdated comment
2850 2003-05-23 Angus Leeming <leeming@lyx.org>
2852 * latexrunparams.h: rename fragile as moving_arg.
2853 * paragraph.C (simpleTeXOnePar): ditto.
2854 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2856 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2858 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2860 (textUndoOrRedo): comment out a currently unused var.
2862 * paragraph.h (NO_NEXT): enable NO_NEXT
2864 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2866 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2868 * exporter.C (Export): adjust for removeAutoInsets removal.
2870 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2872 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2874 * BufferView.[Ch] (removeAutoInsets): delete function
2876 2003-05-22 Angus Leeming <leeming@lyx.org>
2878 * latexrunparams.h: add a free_spacing variable.
2880 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2881 to pass moving_arg, as the data is stored in runparams.fragile.
2883 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2884 to Inset::latexOptional or to simpleTeXOnePar.
2886 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2887 free_spacing arg to Inset::latexOptional.
2889 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2892 2003-05-22 Angus Leeming <leeming@lyx.org>
2894 * latexrunparams.h: add fragile and use_babel variables.
2896 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2897 * buffer.C (makeLaTeXFile): store this returned value in
2898 runparams.use_babel, thus passing it to the inset::latex methods.
2900 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2901 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2903 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2904 longer has a fragile arg, as it is stored in runparams.fragile.
2906 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2907 moving_arg parameter as the data is stored in runparams.fragile.
2909 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2910 a fragile parameter as the data is stored in runparams.fragile.
2912 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2914 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2916 2003-05-22 Angus Leeming <leeming@lyx.org>
2918 * latexrunparams.h: add a 'bool nice' which defaults to false.
2920 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2921 now encapsulated within runparams.
2923 * bufferlist.C (updateIncludedTeXfiles):
2924 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2926 2003-05-22 Angus Leeming <leeming@lyx.org>
2928 * latexrunparams.h: new file containing struct LatexRunParams.
2929 * Makefile.am: add new file.
2931 * LaTeX.[Ch] (c-tor, run):
2932 * buffer.[Ch] (makeLaTeXFile):
2933 * bufferlist.[Ch] (updateIncludedTeXfiles):
2934 * converter.C (convert, scanLog):
2935 * converter.[Ch] (runLaTeX):
2936 * exporter.C (Export):
2937 * paragraph.[Ch] (simpleTeXOnePar):
2938 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2939 * paragraph_funcs.[Ch] (latexParagraphs):
2940 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2941 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2942 pass around a LatexRunParams parameter.
2944 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * paragraph.[Ch]: remove unused constructor
2948 * ParagraphList.C (erase): new function, taking two iterators
2950 2003-05-22 André Pönitz <poenitz@gmx.net>
2952 * undo_funcs.C: remove duplicated code
2954 * iterator.[Ch]: operator=
2956 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2958 * tabular.C (SetMultiColumn): ws changes
2960 * rowpainter.C (paintFirst): get rid of a ->previous
2962 * lyx_cb.C (getPossibleLabel): parlist simplification
2964 * BufferView.C (ChangeInsets): simplify slightly.
2966 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2968 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2969 * lfuns.h: new LFUN_SPACE
2970 * lyxfunc.C: protected space has a new lfun
2971 * paragraph_funcs.C: read new space insets
2973 * factory.C: handle new space insets
2975 2003-05-22 André Pönitz <poenitz@gmx.net>
2978 * BufferView_pimpl.C:
2981 * undo_funcs.C: return a ParIterator from getParFromID.
2983 * iterators.[Ch]: add two const's
2985 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2987 * toc.C (getTocList): adjust
2989 * iterators.[Ch]: rework for parlist
2991 * buffer.C (par_iterator_begin): adjust
2992 (par_iterator_end): adjust
2994 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2996 * BufferView.C (removeAutoInsets): adjust
2997 (ChangeInsets): adjust
2999 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3001 * text.C (top_y): fix bug 1110
3003 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3005 * errorlist.[Ch]: added
3008 * BufferView_pimpl.C:
3009 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3012 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3014 * Makefile.am: ensure that lyx is relinked upon changes to the
3015 various "convenience" libs.
3017 2003-05-20 Angus Leeming <leeming@lyx.org>
3019 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3020 files are compiled in alphabetical order again.
3022 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3024 2003-05-19 Angus Leeming <leeming@lyx.org>
3026 * gettext.[Ch]: remove "char const * _(char const *)".
3028 2003-05-19 André Pönitz <poenitz@gmx.net>
3030 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3039 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3041 2003-05-19 André Pönitz <poenitz@gmx.net>
3045 * lyxtextclass.[Ch]:
3047 * paragraph_funcs.[Ch]:
3049 * text3.C: more insetenv work
3051 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3053 * ParagraphParameters.C (params2string): small bug fixed
3055 2003-05-16 André Pönitz <poenitz@gmx.net>
3058 * bufferview_funcs.C: patch from Kornel Benko to prevent
3059 crash when _(...) is called twice in a statement
3061 2003-05-16 André Pönitz <poenitz@gmx.net>
3068 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3070 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3072 * lyx_main.C (init): remove spurious static_cast
3074 2003-05-14 André Pönitz <poenitz@gmx.net>
3076 * BufferView.C: fix format string
3078 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3080 * BufferView.[Ch] (insertErrors): removed
3081 * BufferView.[Ch] (showErrorList): added
3082 * buffer.C (runChkTeX):
3083 * converter.C (scanLog): call showErrorList instead of inserterrors
3085 2003-05-13 André Pönitz <poenitz@gmx.net>
3087 * BufferView_pimpl.C:
3089 * bufferview_func.C:
3096 * tabular_funcs.h: tostr() from its own header
3098 * ParagraphParameters.C:
3103 * text3.C: STRCONV()
3105 2003-05-12 André Pönitz <poenitz@gmx.net>
3108 * BufferView_pimpl.C:
3112 * ParagraphParameters.C:
3116 * bufferview_funcs.C:
3129 * paragraph_funcs.C:
3133 * text3.C: boost::format -> bformat all over the place
3136 2003-05-09 André Pönitz <poenitz@gmx.net>
3138 * LColor.[Ch]: Pimpl the #include <map> away
3140 2003-05-09 John Levon <levon@movementarian.org>
3142 * bufferlist.C: never remove emergency saves
3144 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * Makefile.am: better lib building
3148 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3152 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3153 (simpleTeXSpecialChars): adjust
3154 (simpleTeXSpecialChars): adjust
3155 * paragraph.C (simpleTeXOnePar): adjust
3156 * buffer.C (makeLaTeXFile): adjust
3158 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3160 * text2.C (changeDepth): parlist cleanup
3161 (getColumnNearX): ditto
3163 * rowpainter.C (getLabelFont): parlist cleanup
3165 * bufferlist.C (newFile): parlist cleanup
3167 * CutAndPaste.C (eraseSelection): parlist cleanup
3169 * BufferView_pimpl.C (trackChanges): parlist cleanup
3172 * BufferView.C (lockInset): parlist cleanup.
3173 (ChangeInsets): ditto
3175 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3177 * CutAndPaste.h: Update file header.
3179 * CutAndPaste.C: Update file header.
3180 Store the parts cut out of the Document in a limited_stack.
3181 (copySelection): adjust
3182 (pasteSelection): new function, takes the index in the limited stack.
3183 (nrOfParagraphs): adjust
3184 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3185 simplify error inset insertion.
3186 (checkPastePossible): adjust
3188 2003-05-06 John Levon <levon@movementarian.org>
3190 * text2.C: don't cast wrap inset to float
3192 2003-05-05 André Pönitz <poenitz@gmx.net>
3195 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3197 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3198 few naked Paragraph *.
3200 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3202 * bufferparams.C: Output warning if a document with missing
3203 TeX document class is loaded
3204 * exporter.C: Disable TeX exports if the document class is missing
3207 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3208 isTeXClassAvailable()
3210 2003-05-03 John Levon <levon@movementarian.org>
3213 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3214 explicit cursor show/hide
3216 * BufferView_pimpl.h:
3217 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3218 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3220 * lyxfunc.C: hide cursor before dispatching.
3225 * text3.C: remove explicit cursor hides
3227 2003-05-02 André Pönitz <poenitz@gmx.net>
3229 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3232 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3235 * text2.C: tiny whitespace
3237 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3239 * undo_funcs.C: almost only ws changes.
3241 * ParagraphList.C (splice): just return if pl is empty.
3243 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * ParagraphList.C (splice): new function.
3247 * CutAndPaste.C (pasteSelection): use it
3249 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3251 * CutAndPaste.C (pasteSelection): remove the last next and
3252 previous from this file.
3254 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3256 * CutAndPaste.C (pasteSelection): more clean up, user proper
3257 ParagraphList functions for pasteing.
3259 * ParagraphList.C (insert): new function, three arg insert
3261 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * ParagraphList.C (insert): new function, three arg insert
3265 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3268 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3272 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3274 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3276 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3278 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3279 (copySelection): clean up a bit.
3280 (pasteSelection): use make_pair
3282 * ParagraphList.C (ParagraphList): implement copy constructor
3283 (operator=): implement, base on copy constructor.
3286 * paragraph.C (erase): return a bool
3288 * paragraph_pimpl.C (erasePos): remove function, move contents...
3289 (erase): ... here. Return a bool.
3290 (erase): call erase instead of erasePos.
3292 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3294 * ParagraphList.h: define PitPosPair
3295 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3296 ParagraphList, fix a bug on pasting multiple pars
3297 * text2.C: change interface to C&P
3299 2003-04-30 André Pönitz <poenitz@gmx.net>
3301 * undo_func.C: revert part of yesterday's patch 2
3303 2003-04-30 John Levon <levon@movementarian.org>
3305 * LColor.C: s/tabular/table/
3307 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3309 * text3.C (dispatch): do not convert iterator -> pointer
3310 * undo_funcs.C (setCursorParUndo): ditto
3311 * text_funcs.C (transposeChars): ditto
3313 * text2.C (setLayout): ws changes only
3315 * text.C (breakParagraph): do not convert iterator -> pointer
3317 (acceptChange): ditto
3318 (rejectChange): ditto
3323 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3326 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3328 * text3.C (gotoInset): YABG (yet another bad getChar)
3330 2003-04-29 André Pönitz <poenitz@gmx.net>
3332 * paragraph.h: make operator= private unimplemented as long as
3335 * ParagraphList.C: whitespace
3338 * paragraph_pimpl.[Ch]:
3339 * paragraph_funcs.C:
3341 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3344 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3346 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3348 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3349 * paragraph.[Ch] (erase):
3350 * paragraph_pimpl.[Ch] (erase): change return type and value
3351 * text2.C (cutSelection): some rework
3353 2003-04-28 John Levon <levon@movementarian.org>
3355 * bufferlist.C: changes for unsaved changes dialog
3357 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3359 * bufferlist.C (newFile): set language (messages_) for new
3362 * buffer.C (readFile): ws changes only.
3364 2003-04-28 André Pönitz <poenitz@gmx.net>
3369 * BufferView_pimpl.C:
3370 * BufferView.C: getParFromID related ParagraphList::iterator changes
3372 2003-04-28 André Pönitz <poenitz@gmx.net>
3374 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3377 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * messages.C: remove one more localedir class variable.
3381 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3383 * messages.C (getLocaleDir): singleton generation function
3385 (Messages): add a default constructor.
3387 * main.C (main): do not setup localedir here, do not call
3390 * gettext.C (_): use it.
3391 (gettext_init): delete funciton
3393 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3395 * gettext.C (getLyXMessages): new singleton generating function.
3397 * buffer.C (updateDocLang): adjust
3399 * Makefile.am (messages.o): add target
3400 (main.o): remove target
3402 2003-04-27 John Levon <levon@movementarian.org>
3407 * lyxvc.C: specify cancel button in Alert::prompt
3409 2003-04-26 John Levon <levon@movementarian.org>
3414 * LyXAction.C: add LFUN_INSET_SETTINGS
3416 * lyxfunc.C: don't enable tabular-feature when there's
3417 just any locking inset
3419 2003-04-26 John Levon <levon@movementarian.org>
3421 * bufferlist.C: re-add Cancel to buffer close question
3423 * lyxfunc.C: fix import UI a bit
3425 2003-04-25 John Levon <levon@movementarian.org>
3427 * gettext.C: remove the broken asserts for now
3429 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * messages.C: make case where setlocale cannot comply work better.
3433 * buffer.C (updateDocLang): new function
3434 (changeLanguage): use it
3437 * text2.C (setCounter): use B_ a bit.
3439 * lyxlayout.C (Read): be sure to trim the label strings.
3441 * messages.C (Messages): fix typo in comment
3443 * buffer.C (readFile): set message_ after file is loaded.
3444 (makeDocBookFile): remove double return
3445 (changeLanguage): reset message_ upon language change.
3446 (B_): new func, use this to get translated buffer strings.
3448 * main.C: add myself and Jean Marc as authors.
3450 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3452 * messages.[hC]: pimplify Messages, and three different pimpls to be
3453 used in different circumstances.
3455 * gettext.[Ch]: change for use with new message code.
3457 2003-04-24 André Pönitz <poenitz@gmx.net>
3459 * factory.C: support for eqref
3461 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3463 * messages.[Ch]: add missing char
3465 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3467 * messages.[Ch]: New files
3469 2003-04-18 John Levon <levon@movementarian.org>
3473 * BufferView_pimpl.C:
3477 * text2.C: remove layout-copy/paste (bug 778)
3479 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3481 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3483 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3485 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3486 if they succeed. Act accordingly.
3488 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3490 * text2.C (setCharFont): adjust
3491 (setCounter): adjust
3492 (insertStringAsLines): adjust
3494 * text.C (leftMargin): adjust
3495 (setHeightOfRow): adjust
3497 * rowpainter.C (paintFirst): adjust
3500 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3502 (isFirstInSequence): ditto
3503 (getEndLabel): ditto
3506 * paragraph.C (getParLanguage): comment out some hard stuff.
3508 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3510 (simpleDocBookOnePar): ditto
3511 (makeDocBookFile): use ParagraphList::iterator
3513 * CutAndPaste.C (pasteSelection): adjust
3515 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3517 * text2.C (getFont): adjust
3518 (getLayoutFont): adjust
3519 (getLabelFont): adjust
3521 * paragraph_funcs.C (TeXOnePar): adjust
3523 * buffer.C (simpleLinuxDocOnePar): adjust
3524 (simpleDocBookOnePar): adjust
3526 * CutAndPaste.C (pasteSelection): adjust
3528 * BufferView.C (getEncoding): adjust
3530 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3532 2003-04-16 John Levon <levon@movementarian.org>
3534 * lyxfind.C: use parlist stuff for search/changes
3536 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3540 * text2.C (deleteEmptyParagraphMechanism): adjust
3542 * text2.[Ch] (ownerParagraph): delete func (both of them
3544 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3546 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3548 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3550 * ParagraphList.C: prepare for NO_NEXT
3552 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3554 * text2.C (getFont): adjust
3555 (getLayoutFont): adjust
3556 (getLabelFont): adjust
3558 * paragraph.C (getFont): adjust
3559 (getLabelFont): adjust
3560 (getLayoutFont): adjust
3562 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3564 2003-04-15 John Levon <levon@movementarian.org>
3568 * lyx_main.C: handle Include in .ui files
3570 2003-04-15 John Levon <levon@movementarian.org>
3572 * MenuBackend.C: make the doc files length shorter
3575 * ToolbarBackend.C: handle toolbar placement flags,
3578 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3580 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3583 * paragraph_funcs.C (TeXOnePar): adjust
3585 * paragraph.C (getLabelFont): add outerfont arg, adjust
3586 (getLayoutFont): ditto
3587 (simpleTeXOnePar): adjust
3589 * paragraph_pimpl.C (realizeFont): delete func
3591 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3593 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3594 row argument, constify cur argument.
3596 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3598 * text2.C (getFont): adjust
3599 (getLayoutFont): adjust
3600 (getLabelFont): adjust
3602 * paragraph_funcs.C (TeXOnePar): adjust
3603 (outerFont): new func...
3604 (realizeFont): ...moved out from here, changed this to facilitate
3607 * paragraph.C (getFont): take outerfont as arg, adjust
3608 (simpleTeXOnePar): add outerfont arg, adjust
3610 * buffer.C (simpleLinuxDocOnePar): adjust
3611 (simpleDocBookOnePar): adjust
3613 * CutAndPaste.C (pasteSelection): adjust
3615 * BufferView.C (getEncoding): adjust
3617 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3619 * text2.C (setCharFont): adjust
3620 (setCounter): adjust
3622 * text.C (leftMargin): adjust
3623 (setHeightOfRow): adjust
3625 * rowpainter.C (paintFirst): adjust
3628 * paragraph_pimpl.C (realizeFont): adjust
3630 * paragraph.C (isFirstInSequence): move from here...
3631 * paragraph_funcs.C (isFirstInSequence): ...to here
3633 * paragraph.C (outerHook): move from here...
3634 * paragraph_funcs.C (outerHook): ...to here
3636 * paragraph.C (depthHook): move from here...
3637 * paragraph_funcs.C (depthHook): ...to here
3639 * paragraph.C (getEndLabel): move from here...
3640 * paragraph_funcs.C (getEndLabel): ...to here
3642 * text2.C (realizeFont): move from here...
3643 * paragraph_funcs.C (realizeFont): ...to here
3645 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3647 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3649 2003-04-14 Angus Leeming <leeming@lyx.org>
3651 * LColor.[Ch]: scrap LColor mathcursor.
3653 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * lyxlex.[Ch] (text): delete function
3656 * trans.C (Load): adjust
3657 * paragraph_funcs.C (readParToken): adjust
3659 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3661 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3662 vector<char> instead of a char[].
3664 * lyxlex_pimpl.C (getString): adjust
3666 (lex): use getString
3670 * lyxlex.C (text): use pimpl_->getString()
3674 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3676 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3677 (makeFontEntriesLayoutSpecific): temp var for par.size()
3678 (setLayout): temp var for ownerParagraphs().end()
3679 (fullRebreak): temp var for rows().end()
3680 (selectionAsString): temp var for boost::next(startpit), realize
3681 that the while really is a regular for loop.
3682 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3683 setCursor in one place.
3684 (setParagraph): temp vr for ownerParagraphs().end()
3685 (updateCounters): make the while loop a for loop
3686 (cutSelection): temp var for ownerParagraphs().end()
3687 (updateInset): make the do {} while() a regular for loop
3688 (getCursorX): use temp vars
3689 (setCurrentFont): use temp vars
3690 (getColumnNearX): use temp vars
3692 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3694 * text.C (transformChar): use temp var for getChar
3695 (computeBidiTables): use temp var for row->par()
3696 (fill): move temp vars for row->par() and pit->layout() earlier in
3698 (labelFill): use temp var for row->par()
3699 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3700 asc and desc, realize that pit never changes and that firstpit is
3701 just a duplicate and not needed. Exchange rit->par() with pit in a
3703 (breakAgain): use a temp var for boost::next(rit)
3704 (breakAgainOneRow): ditto
3705 (breakParagraph): use a temp var for rows().begin()
3706 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3707 (cursorRightOneWord): use temp var for cursor.par() and
3708 cursor.pos(), remove usage of tmpcursor.
3709 (cursorLeftOneWord): use temp var for cursor.par() and
3710 cursor.pos() only set cur at end of function.
3712 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * text.C, text2.C: exchange all usage of Paragraph::next with
3715 boost::next(ParagraphList::iterator)
3717 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3719 * text2.C (cursorTop): simplify implementation
3720 (cursorBottom): ditto
3721 (setParagraph): use ParagraphList::iterator
3722 (setCurrentFont): adjust
3723 (getColumnNearX): adjust
3724 (cursorRight): adjust
3725 (cursorLeft): remove usage of Paragraph::previous
3726 (cursorUpParagraph): ditto
3727 (deleteEmptyParagraphMechanism): slight cleanup
3729 * text.C (isBoundary): take a Paragraph const & instead of a
3731 (addressBreakPoint): ditto
3732 (leftMargin): remove usage of Paragraph::previous.
3733 (setHeightOfRow): ditto
3734 (cursorLeftOneWord): ditto
3735 (selectNextWordToSpellcheck): ditto
3738 (breakParagraph): remove one usage of Paragraph::next
3739 (redoParagraph): ditto
3740 (acceptChange): ditto
3741 (insertChar): adjust
3742 (rowBreakPoint): adjust
3744 * bufferview_funcs.C (toggleAndShow): adjust
3746 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3748 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3749 methods to access it.
3751 * text.C: Added updateRowPositions to compute all row positions.
3752 Make top_y and getRowNearY() to use the cached y position
3754 2003-04-11 John Levon <levon@movementarian.org>
3756 * text.C (rowBreakPoint): reintroduce the labelEnd
3757 checks, code copied from the row fill stuff. Deep voodoo.
3759 * text.C (fill): add a comment and debugging for the
3762 2003-04-11 John Levon <levon@movementarian.org>
3764 * text.C: make sure fullrow insets get wrapped to the next line,
3765 even when they're in a manual label
3767 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3769 * text2.C (insertParagraph): make it take ParagraphList::iterator
3771 (setLayout): make it return ParagraphList::iterator
3772 (redoParagraphs): ditto
3774 (checkParagraph): ditto
3776 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3778 * text2.C: adjust several funcs.
3779 (realizeFont): take a ParagraphList::iterator as arg.
3780 (getLayoutFont): ditto
3781 (getLabelFont): ditto
3782 (setCharFont): ditto
3784 * text.C: adjust several funcs.
3786 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3788 * text.C (selectNextWordToSpellcheck): don't accidentally
3791 2003-04-10 John Levon <levon@movementarian.org>
3793 * ToolbarBackend.C (getIcon): special handling for
3796 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3798 * text2.C (cursorRight): a getChar assert fixed
3800 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * text2.C (getFont): change to take a ParagraphList::iterator
3803 instead of Paragraph*
3804 Adjust several functions.
3806 * text.C (transformChar): change to take a ParagraphList::iterator
3807 instead of Paragraph*
3808 (singleWidth): ditto
3809 Adjust several functions.
3811 * rowpainter.C: adjust several functions
3812 * rowpainter.h:store a ParagraphList::iterator and not a
3816 2003-04-09 John Levon <levon@movementarian.org>
3821 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3822 and the "help" bits as well
3824 2003-04-09 John Levon <levon@movementarian.org>
3827 * ToolbarBackend.C: allow multiple toolbars
3829 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3831 * undo_funcs.C (setCursorParUndo): adjust
3833 * text_funcs.C (transposeChars): adjust
3835 * text3.C (gotoNextInset): adjust
3838 * text2.C (setLayout): adjust
3839 (changeDepth): adjust
3841 (redoParagraphs): adjust
3842 (selectionAsString): adjust
3843 (setParagraph): adjust
3844 (insertInset): adjust
3845 (cutSelection): adjust
3846 (copySelection): adjust
3847 (pasteSelection): adjust
3848 (insertStringAsLines): adjust
3849 (updateInset): adjust
3850 (setCursor): change to take a ParagraphList::iterator parameter
3851 (setCursorIntern): change to take a ParagraphList::iterator parameter
3852 (setCurrentFont): adjust
3853 (cursorLeft): adjust
3854 (cursorRight): adjust
3855 (deleteEmptyParagraphMechanism): adjust
3857 * text.C (breakParagraph): adjust
3858 (insertChar): adjust
3859 (acceptChange): adjust
3860 (rejectChange): adjust
3861 (selectNextWordToSpellcheck): adjust
3862 (changeCase): adjust
3866 * lyxfind.C (SearchForward): adjust
3867 (SearchBackward): adjust
3868 (nextChange): adjust
3870 * lyxcursor.C (par): adjust
3872 * lyxcursor.h: store a ParagraphList::iterator instead of a
3875 * lyx_cb.C (getPossibleLabel): adjust
3877 * bufferview_funcs.C (toggleAndShow): adjust
3879 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3882 * BufferView.C (removeAutoInsets): adjust
3883 (lockedInsetStoreUndo): adjust
3885 2003-04-09 John Levon <levon@movementarian.org>
3887 * ToolbarBackend.C: try icon without argument
3888 if with argument fails
3890 2003-04-08 John Levon <levon@movementarian.org>
3893 * ToolbarBackend.C: add getIcon(), handle tooltip,
3894 and change from "Icon" to "Item".
3896 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3898 * BufferView.C (lockInset): another bad getchar crunched
3900 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3902 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3905 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3907 * lyxfind.C (searchForward, searchBackwards): bug 782
3909 2003-04-07 John Levon <levon@movementarian.org>
3911 * paragraph.C: remove dead comment
3913 * text.C: remove troublesome depth-fiddling code
3914 in leftMargin() and rightMargin() (bug 1017)
3916 * text.C: fix breaking of rows in nested lists
3919 * text2.C (updateCounters): fix up depth values
3922 2003-04-07 John Levon <levon@movementarian.org>
3924 * BufferView_pimpl.C: clear message when doc finishes resizing,
3925 and after a mouse event
3927 * lyxfunc.C: clear message after exiting inset
3929 2003-04-07 John Levon <levon@movementarian.org>
3931 * bufferview_funcs.C: show math status not outside
3932 status in the statusbar
3934 2003-04-07 John Levon <levon@movementarian.org>
3936 * lyxfunc.C: note status changed after a depth change
3938 2003-04-04 Angus Leeming <leeming@lyx.org>
3940 * LaTeX.h: move AuxInfo operator==, != out of line.
3941 Remove LaTeX virtual destructor; nothing derives from it.
3942 Move operator()() out of public area and rename it startscript().
3943 Change protected for private.
3945 2003-04-04 Angus Leeming <leeming@lyx.org>
3948 * text2.C: remove unneeded #includes.
3950 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3952 * text2.C (dEPM): fix the heigth of the next row
3954 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3956 * text.C: squashed an invalid getChar requester + some ws changes
3958 2003-04-03 John Levon <levon@movementarian.org>
3960 * bufferview_funcs.h:
3961 * bufferview_funcs.C:
3964 * text2.C: make getStatus work for the env depth lfuns
3966 2003-04-03 John Levon <levon@movementarian.org>
3968 * bufferview_funcs.h:
3969 * bufferview_funcs.C:
3972 * text2.C: parlistize decDepth(), by merging it with incDepth()
3974 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3976 * lyxrow.h: store a ParagraphList::iterator instead of a
3977 Paragraph* and adjust other class functions to suit.
3979 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3982 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3984 * text2.C (setCursor): do not anchor to cursor row for the time being
3986 2003-04-02 John Levon <levon@movementarian.org>
3993 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3995 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * paragraph.h: make ParagraphList and ParagraphList::iterator
3998 friends of Paragraph.
4000 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4002 * ParagraphList.C: Use the private next_ and previous_ from
4005 2003-04-01 John Levon <levon@movementarian.org>
4009 * Makefile.am: rename, remove defaults gunk
4012 * MenuBackend.C: remove defaults gunk
4015 * Languages.C: remove defaults gunk
4018 * lyx_main.C: error out if files couldn't be found.
4020 2003-04-02 John Levon <levon@movementarian.org>
4022 * text2.C: make incDepth() use parlist
4024 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4026 * undo_funcs.C (firstUndoParagraph): adjust
4028 * text3.C (gotoInset): adjust
4029 (dispatch): adjust, and rewrite loop.
4031 * text2.C (init): adjust, and rewrite loop.
4032 (redoParagraphs): adjust
4033 (updateInset): adjust, and rewrite loop.
4034 (deleteEmptyParagraphMechanism): adjust
4036 * tabular.C (LyXTabular): adjust
4037 (SetMultiColumn): adjust
4040 * lyxtext.[Ch] (ownerParagraph): delete function
4041 (ownerParagraphs): new function returns a ParagraphList.
4043 * BufferView.C (removeAutoInsets): adjust
4044 (insertErrors): adjust
4045 (setCursorFromRow): adjust
4047 2003-04-01 Angus Leeming <leeming@lyx.org>
4049 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4052 2003-04-02 John Levon <levon@movementarian.org>
4058 * text_funcs.C: make transposeChars a free function
4060 * lyxrow_funcs.C: remove wrong comment
4062 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4065 * rowpainter.C: adjust
4070 * lyxrow_funcs. [Ch]: new files
4072 * lyxrow.[Ch]: remove next and previous pointers
4073 (next,previous): remove accessor functions
4074 (isParEnd): move to lyxrow_funcs
4075 (lastPos): move to lyxrow_funcs
4076 (nextRowIsAllInset): move to lyxrow_funcs
4077 (lastPrintablePos): move to lyxrow_funcs
4078 (numberOfSeparators): move to lyxrow_funcs
4079 (numberOfHfills): move to lyxrow_funcs
4080 (numberOfLabelHfills): move to lyxrow_funcs
4081 (hfillExpansion): move to lyxrow_funcs
4085 * bufferview_funcs.C (toggleAndShow): adjust
4087 * RowList.h: Remove class RowList from file leave just a
4090 * RowList.C: delete file
4092 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4095 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * text3.C (cursorPrevious): adjust
4098 (cursorNext): adjust
4101 * text2.C (redoHeightOfParagraph): adjust
4102 (redoDrawingOfParagraph): adjust
4105 * text.C (breakParagraph): adjust
4106 (insertChar): adjust
4109 * rowpainter.C (RowPainter): adjust
4110 (leftMargin): simplify and adjust
4111 (most rowpainter functions): adjust.
4113 * rowpainter.h: store the row as RowList::iterator not as Row*
4115 * lyxcursor.C (row): taka RowList::iterator as arg
4118 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4121 2003-04-01 Angus Leeming <leeming@lyx.org>
4123 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4124 stuff like bool Bool.
4126 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4128 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4131 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4136 * lyxtext.h (rows): drop one version and leve a const variant that
4137 returns a RowList::iterator.
4139 2003-03-31 Angus Leeming <leeming@lyx.org>
4141 * text.C (fill): ensure that the signature is the same as that in the
4144 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4146 * text2.C (redoParagraphs): adjust
4147 (updateCounters): adjust
4148 (checkParagraph): adjust
4149 (getColumnNearX): adjust and reformat a bit.
4151 * text.C (top_y): adjust
4153 (leftMargin): adjust
4154 (prepareToPrint): adjust
4156 (getRowNearY): adjust
4158 * lyxtext.h: make rowlist_ mutable.
4160 * RowList.h: add const_iterator
4161 * RowList.C: adjust for RowList::const_iterator.
4163 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4166 2003-03-31 John Levon <levon@movementarian.org>
4169 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4171 * lyx_main.C: set default fonts from using lyx_gui funcs
4173 * exporter.C: pdf_mode moved from lyxrc
4176 * lyxfunc.C: changes from above
4178 2003-03-31 John Levon <levon@movementarian.org>
4180 * lyx_main.C: fix to the last fix
4182 2003-03-31 John Levon <levon@movementarian.org>
4184 * bufferlist.C: "Load original" -> "Load Original"
4190 * format.C: more Alert cleanups
4192 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4194 * text2.C (removeParagraph): make it take a RowList::iterator as
4196 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4197 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4199 * text.C (anchor_row): make it take a RowList::iterator as arg,
4201 (computeBidiTables): make it take a const reference to Row instead
4202 of Row pointer, adjust.
4203 (leftMargin): make it take a RowList::iterator as arg, adjust.
4204 (rowBreakPoint): adjust
4205 (breakAgainOneRow): make it take a RowList::iterator as arg,
4207 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4209 * bufferview_funcs.C (toggleAndShow): adjust
4211 2003-03-30 John Levon <levon@movementarian.org>
4215 * boost-inst.C: moved to support
4217 * several files: changes as a result
4219 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4221 * text2.C (LyXText): adjust.
4223 (removeRow): make it take a RowList::iterator as arg, adjust.
4224 (fullRebreak): adjust
4225 (deleteEmptyParagraphMechanism): adjust
4226 (clearPaint): adjust
4229 * text.C (top_y): adjust
4230 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4231 (breakAgain): make it take a RowList::iterator as arg, adjust.
4232 (breakParagraph): adjust
4233 (insertChar): adjust
4236 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4237 need_break_row, and refresh_row.
4239 * text3.C (dispatch): adjust
4241 * text2.C (checkParagraph): adjust
4243 (setCursorFromCoordinates): adjust
4245 * text.C (top_y): adjust
4247 (getRow): make it return a RowList::iterator, adjust
4248 (getRowNearY): make it return a RowList::iterator, adjust
4250 * text2.C (init): adjust
4251 (insertRow): remove function
4252 (insertParagraph): adjust
4253 (redoParagraphs): adjust
4254 (fullRebreak): adjust
4255 (updateCounters): adjust
4257 * text.C (top_y): rewrite to use RowList iterators.
4259 (setHeightOfRow): rewrite to sue RowList iterators.
4260 (appendParagraph): adjust
4261 (breakAgain): adjust
4262 (breakAgainOneRow): adjust
4263 (breakParagraph): adjust
4265 (getRowNearY): adjust, and remove commented code.
4267 * lyxtext.h (firstRow): delete function
4268 (lastRow): delete function
4269 (rows): new function (const and non-const versions.)
4270 (insertRow): delete function
4272 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4274 2003-03-29 John Levon <levon@movementarian.org>
4276 * BufferView_pimpl.C: always update scrollbar top
4277 because pasting text when we're anchored could mean we
4278 miss an update altogether
4280 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4282 * text2.C (init): use rowlist_.end() and not 0.
4283 (insertRow): change to take a RowList::iterator as arg, adjust
4285 (insertParagraph): change to take a RowList::iterator as arg,
4287 (redoParagraphs): remove some debug msgs.
4289 * text.C (appendParagraph): change to take a RowList::iterator
4290 arg, adjust for this.
4291 (breakAgain): add an assert
4292 (breakAgainOneRow): ditto
4294 2003-03-29 John Levon <levon@movementarian.org>
4296 * text2.C: do not clear selection after inc/decDepth
4299 2003-03-29 John Levon <levon@movementarian.org>
4302 * buffer.C: fix broken strerrors according to Lars
4304 2003-03-29 John Levon <levon@movementarian.org>
4306 * converters.C: more Alert cleanups
4308 2003-03-29 John Levon <levon@movementarian.org>
4310 * bufferview_funcs.C: remove pointless Alert
4312 * buffer.C: fix confusing error message when
4313 a template is chmoded 000
4315 2003-03-29 John Levon <levon@movementarian.org>
4319 * BufferView_pimpl.C: Alert fixes
4323 * tabular-old.C: remove unused table compat reading
4325 2003-03-29 John Levon <levon@movementarian.org>
4330 * lyx_cb.C: more Alert cleanups
4332 * lyxfunc.C: don't allow chktex if not latex document
4334 2003-03-29 John Levon <levon@movementarian.org>
4338 * buffer.C: warnings pushed down from support/,
4341 2003-03-29 John Levon <levon@movementarian.org>
4343 * lyxfunc.C: safety check for C-r (revert)
4345 2003-03-29 John Levon <levon@movementarian.org>
4348 * bufferlist.C: several UI fixes using Alert::prompt.
4349 Fix the pointless looping quit code. Fix stupid revert
4354 * lyx_cb.C: use Alert::prompt
4356 * lyx_main.C: remove a silly question
4358 * lyxfunc.C: remove a couple of silly questions,
4361 2003-03-28 John Levon <levon@movementarian.org>
4363 * text2.C: fix bug 974 (End on empty par)
4365 2003-03-28 John Levon <levon@movementarian.org>
4367 * BufferView_pimpl.C:
4369 * lfuns.h: remove do-nothing math greek lfuns
4371 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4373 * lyxgluelength.h (isValidGlueLength): add default arg on
4374 parameter 2. Remove default arg from friend in class.
4376 * lyxlength.h (isValidLength): add default arg on parameter 2.
4377 Remove default arg from friend in class.
4379 * text2.C (LyXText): adjust, initialize refresh_row.
4383 (insertParagraph): adjst
4384 (redoParagraphs): adjust
4385 (fullRebreak): adjust
4386 (updateCounters): adjust
4387 (deleteEmptyParagraphMechanism): first attempt at fixing a
4390 * text.C (top_y): adjust
4391 (setHeightOfRow): adjust
4393 (getRowNearY): adjust
4395 * lyxtext.h: include RowList.h
4396 (~LyXText): not needed anymore, deleted.
4397 (firstRow): modify for RowList
4398 (lastRow): new function
4399 Delete firstrow and lastrow class variables, add a Rowlist
4400 rowlist_ class variable.
4402 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4405 * RowList.C (insert): fix case where it == begin().
4407 2003-03-26 Angus Leeming <leeming@lyx.org>
4409 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4410 the thesaurus dialog.
4412 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4414 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4416 * RowList.[Ch]: new files
4418 * ParagraphList.C (erase): handle the case where it == begin
4421 2003-03-25 John Levon <levon@movementarian.org>
4425 * aspell.C: add new aspell support
4428 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4431 2003-03-25 Angus Leeming <leeming@lyx.org>
4434 * LyXAction.C (init): new LFUN_INSET_INSERT.
4436 * BufferView_pimpl.C (dispatch): split out part of the
4437 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4439 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4442 2003-03-25 Angus Leeming <leeming@lyx.org>
4444 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4446 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4449 * text3.C: remove useless row->height(0)
4451 2003-03-25 John Levon <levon@movementarian.org>
4455 * text3.C: rename the refreshing stuff to better names
4457 2003-03-24 John Levon <levon@movementarian.org>
4459 * BufferView_pimpl.h:
4460 * BufferView_pimpl.C: update layout choice on a mouse
4463 2003-03-23 John Levon <levon@movementarian.org>
4465 * Makefile.am: fix commandtags.h reference
4467 2003-03-22 John Levon <levon@movementarian.org>
4469 * BufferView_pimpl.C:
4474 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4476 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4479 * text.C: take the rtl methods out of line
4481 2003-03-21 André Pönitz <poenitz@gmx.net>
4483 * metricsinfo.[Ch]: new files containing structures to be passed around
4484 during the two-phase-drawing...
4486 2003-03-21 André Pönitz <poenitz@gmx.net>
4488 * lyxtextclass.C: read 'environment' tag.
4490 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4492 * text2.C (removeRow): fix bug 964
4494 2003-03-20 John Levon <levon@movementarian.org>
4498 * text2.C: paint cleanups. Inset::update() dropped font
4501 2003-03-19 John Levon <levon@movementarian.org>
4503 * lyxfunc.C: only fitcursor/markDirty if available()
4505 2003-03-19 John Levon <levon@movementarian.org>
4507 * commandtags.h: rename to ...
4509 * lfuns.h: ... this, and renumber / cleanup
4511 2003-03-19 John Levon <levon@movementarian.org>
4513 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4514 fit the cursor after an lfun
4518 * BufferView_pimpl.h:
4519 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4521 * LyXAction.C: layout-character should have ReadOnly
4523 * ParagraphParameters.C:
4525 * bufferview_funcs.C:
4532 * undo_funcs.C: changes from above
4534 2003-03-18 John Levon <levon@movementarian.org>
4536 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4537 remove it from update()
4539 * lyxfunc.C: update layout choice after an lfun
4541 * text3.C: remove extra updateLayoutChoice()s
4543 2003-03-18 John Levon <levon@movementarian.org>
4545 * text.C: top_y change means full repaint, fix
4546 a drawing bug with cursor movement
4548 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4552 * text2.C: anchor row on setCursor
4554 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4556 * lyxtext.h: remove almost all mutable keywords
4559 * text3.C: remove const keywords accordingly
4561 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4563 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4565 (TeXEnvironment): ditto
4568 2003-03-17 John Levon <levon@movementarian.org>
4570 * text.C (rowBreakPoint): remove attempt to fix displayed
4571 math insets inside a manual label
4573 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4575 * lyxtext.h: remove BufferView* as first arg from almost all class
4577 * other files: adjust.
4579 2003-03-17 John Levon <levon@movementarian.org>
4583 * text2.C: more paint cleanups
4585 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4588 * rowpainter.C: remove "smart" background painting code
4590 2003-03-16 John Levon <levon@movementarian.org>
4595 * text3.C: add helper functions for setting refresh_row/y
4597 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4599 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4600 newline inset which *can* get inserted in the pass_thru layouts.
4601 This is primarily for literate documents.
4603 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4605 * buffer.C: increment LYX_FORMAT to 223
4607 2003-03-14 André Pönitz <poenitz@gmx.net>
4609 * textclass.h: prepare for environment handling, ws changes
4610 * lyxlayout.C: read latexheader and latexfooter tags
4612 2003-03-14 John Levon <levon@movementarian.org>
4614 * text2.C: rewrite ::status() a bit
4616 2003-03-13 John Levon <levon@movementarian.org>
4618 * lyxtext.h: add some docs
4620 2003-03-13 John Levon <levon@movementarian.org>
4625 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4627 2003-03-13 John Levon <levon@movementarian.org>
4629 * text3.C: fix appendix redrawing
4631 2003-03-13 John Levon <levon@movementarian.org>
4633 * text.C (setHeightOfRow):
4635 * rowpainter.C: make appendix mark have the text
4636 "Appendix" so the user knows what it is
4639 * LColor.C: s/appendixline/appendix/ from above
4641 2003-03-13 John Levon <levon@movementarian.org>
4643 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4645 * text.C: fix a getChar(pos) bug properly
4647 2003-03-13 Angus Leeming <leeming@lyx.org>
4650 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4651 Probably only temporary. Let's see how things pan out.
4653 * BufferView.C (unlockInset):
4654 * BufferView_pimpl.C (fitCursor):
4655 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4657 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4658 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4660 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4661 new functions that convert ParagraphParameters to and from a string.
4663 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4664 BufferView::Pimpl's dispatch.
4665 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4667 2003-03-13 André Pönitz <poenitz@gmx.net>
4671 * factory.C: make it aware of InsetEnv
4673 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4675 * text2.C (setCursor): never ask for one past last
4676 (setCursor): add some debugging messages.
4678 * text.C (singleWidth): never ask for one past last
4679 (singleWidth): ditto
4681 (rightMargin): ditto
4682 (rowBreakPoint): ditto
4683 (setHeightOfRow): ditto
4684 (prepareToPrint): ditto
4686 * rowpainter.C (paintBackground): never ask for one past last
4687 (paintText): never ask for one past last
4689 * paragraph_pimpl.C (getChar): make the assert stricter, never
4690 allow the one past last pos to be taken
4692 * paragraph.C (getChar): ws changes only
4694 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4695 (numberOfSeparators): ditto
4696 (numberOfHfills): ditto
4698 2003-03-12 John Levon <levon@movementarian.org>
4704 * paragraph_funcs.C: fix per-buffer authorlists
4706 2003-03-12 John Levon <levon@movementarian.org>
4708 * text.C: fix newline in right address
4710 2003-03-12 Angus Leeming <leeming@lyx.org>
4712 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4713 duplicate those in LyXFunc::dispatch.
4717 * ToolbarDefaults.C:
4718 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4719 Add LFUN_FONTFREE_UPDATE.
4721 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4722 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4724 * bufferview_func.[Ch]: several new functions to facilliate
4725 transfer of data to and from the character dialog.
4727 2003-03-12 John Levon <levon@movementarian.org>
4732 * paragraph_funcs.C:
4733 * paragraph_pimpl.C:
4737 * text3.C: remove META_NEWLINE in favour of an inset
4740 * rowpainter.C: remove paintNewline (done by inset)
4742 2003-03-12 John Levon <levon@movementarian.org>
4744 * paragraph_pimpl.C: complain about bad getChar()s
4745 for a while at least
4747 2003-03-12 John Levon <levon@movementarian.org>
4750 * buffer.C: move paragraph read into a separate function,
4751 a little renaming to reflect that.
4754 * bufferparams.C: remove the author_ids map, not necessary now
4757 * factory.C: moved Buffer::readInset to here
4759 * paragraph_funcs.h:
4760 * paragraph_funcs.C: readParagraph free function moved from
4763 * tabular.C: name change
4765 2003-03-12 John Levon <levon@movementarian.org>
4768 * ParagraphParameters.C: move par params input to
4771 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4772 behave like a normal read from the stream wrt reading
4773 a line vs. a \\token
4775 2003-03-12 John Levon <levon@movementarian.org>
4778 * ParagraphParameters.h:
4779 * ParagraphParameters.C: move output code to a
4782 2003-03-12 John Levon <levon@movementarian.org>
4784 * BufferView.C (insertLyXFile):
4787 * tabular.C: use a parlist iterator for creating the
4790 2003-03-12 John Levon <levon@movementarian.org>
4792 * buffer.C: make current_change static local not
4795 2003-03-12 John Levon <levon@movementarian.org>
4797 * buffer.C: fix insertStringAsLines for change tracking
4799 2003-03-12 John Levon <levon@movementarian.org>
4806 * bufferparams.C: move author list into params. Rename some
4807 functions. Move the header reading into a separate token
4808 loop. Move the header token reading into BufferParams.
4810 2003-03-12 John Levon <levon@movementarian.org>
4812 * changes.C: put debug inside lyxerr.debugging() checks
4814 2003-03-11 André Pönitz <poenitz@gmx.net>
4816 * factory.C: make it aware of InsetHFill
4818 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4820 * buffer.C (latexParagraphs): move function from here...
4821 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4824 2003-03-10 Angus Leeming <leeming@lyx.org>
4826 * LyXAction.C (init): fix bug in poplating array with multiple entries
4827 with the same LFUN (spotted by JMarc).
4829 2003-03-10 John Levon <levon@movementarian.org>
4832 * text2.C: move getColumnNearX() near its
4835 2003-03-10 John Levon <levon@movementarian.org>
4837 * text.C: fix break before a minipage
4839 2003-03-10 John Levon <levon@movementarian.org>
4841 * text.C: fix the last commit
4843 2003-03-09 John Levon <levon@movementarian.org>
4847 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4848 bug 365 (don't break before insets unless needed). Don't
4849 return a value > last under any circumstances.
4851 2003-03-09 Angus Leeming <leeming@lyx.org>
4853 * BufferView_pimpl.C (trackChanges, dispatch): call
4854 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4856 2003-03-09 Angus Leeming <leeming@lyx.org>
4858 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4859 than Dialogs::showAboutlyx().
4861 2003-03-09 Angus Leeming <leeming@lyx.org>
4863 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4864 than Dialogs::showTabularCreate().
4866 2003-03-09 John Levon <levon@movementarian.org>
4870 * text2.C: 3rd arg to nextBreakPoint was always the same.
4873 2003-03-08 John Levon <levon@movementarian.org>
4880 * text2.C: Remove the "main" bit from the "main body"
4883 2003-03-08 John Levon <levon@movementarian.org>
4885 * text.C (leftMargin): The left margin of an empty
4886 manual label paragraph should not include the label width
4889 * text.C (prepareToPrint): don't attempt to measure hfills
4890 for empty manual label paragraphs - the answer should be 0
4892 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4894 * CutAndPaste.C: remove commented code and reindent.
4896 2003-03-08 John Levon <levon@movementarian.org>
4899 * lyxfunc.C: move reloadBuffer()
4902 * BufferView.C: to here
4904 * lyxvc.C: add comment
4907 * vc-backend.C: call bv->reload() to avoid
4908 getStatus() check on MENURELOAD
4910 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4912 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4913 to an old format .dep file.
4915 2003-03-07 Angus Leeming <leeming@lyx.org>
4917 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4918 when the LFUN_MOUSE_RELEASE should have been handled by
4919 inset->localDispatch.
4921 2003-03-07 Angus Leeming <leeming@lyx.org>
4923 * BufferView_pimpl.C (dispatch):
4924 * LyXAction.C (init):
4925 * ToolbarDefaults.C (init):
4927 * lyxfunc.C (getStatus):
4928 remove LFUN_INSET_GRAPHICS.
4930 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4932 2003-03-07 Angus Leeming <leeming@lyx.org>
4935 * LyXAction.C (init):
4936 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4938 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4941 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4943 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4944 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4946 2003-03-07 Angus Leeming <leeming@lyx.org>
4948 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4951 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * ParagraphList.C (front): new function
4956 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4958 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4959 and top_row_offset_. removed var first_y.
4961 * text2.C (LyXText, removeRow):
4963 * BufferView_pimpl.C:
4964 use these methods instead of using first_y
4966 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4968 * text2.C (pasteSelection): adjust for checkPastePossible
4970 * CutAndPaste.C: remove Paragraph * buf and replace with
4971 ParagraphList paragraphs.
4972 (DeleteBuffer): delete
4973 (cutSelection): change the tc type to textclass_type
4974 (copySelection): change the tc type to textclass_type
4975 (copySelection): adjust for ParagraphList
4976 (pasteSelection): change the tc type to textclass_type
4977 (pasteSelection): adjust for Paragraphlist
4978 (nrOfParagraphs): simplify for ParagraphList
4979 (checkPastePossible): simplify for ParagraphList
4980 (checkPastePossible): remove unused arg
4982 * ParagraphList.C (insert): handle the case where there are no
4985 * CutAndPaste.h: make CutAndPaste a namespace.
4987 * text3.C (dispatch): adjust
4989 * text.C (breakParagraph): add a ParagraphList as arg
4991 * paragraph_funcs.C (breakParagraph): change to take a
4992 BufferParams and a ParagraphList as args.
4993 (breakParagraphConservative): ditto
4994 (mergeParagraph): ditto
4995 (TeXDeeper): add a ParagraphList arg
4996 (TeXEnvironment): ditto
4999 * buffer.C (readLyXformat2): adjust
5000 (insertStringAsLines): adjust
5001 (latexParagraphs): adjust
5003 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5004 (cutSelection): adjust
5005 (pasteSelection): adjust
5007 * BufferView_pimpl.C (insertInset): adjust
5009 2003-03-05 Angus Leeming <leeming@lyx.org>
5012 * LyXAction.C (init):
5013 * BufferView_pimpl.C (dispatch):
5014 * lyxfunc.C (getStatus):
5015 remove LFUN_CHILD_INSERT.
5017 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5019 2003-03-05 Angus Leeming <leeming@lyx.org>
5022 * LyXAction.C (init):
5023 * src/factory.C (createInset):
5024 * lyxfunc.C (getStatus):
5025 * text3.C (dispatch):
5026 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5028 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5030 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5032 * ParagraphList.C (insert): handle insert right before end()
5033 (erase): fix cases where it can be first or last paragraph.
5035 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5037 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5038 Paragraph::next and Paragraph::previous
5041 * text.C (breakParagraph): adjust
5043 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5044 BufferParams& as arg.
5045 (breakParagraph): use ParagraphList::insert
5046 (breakParagraphConservative): take a Buffer* instead of a
5047 BufferParams& as arg.
5048 (breakParagraphConservative): use ParagraphList::insert.
5050 * buffer.C (insertStringAsLines): un-const it
5051 (insertStringAsLines): adjust
5053 * ParagraphList.C (insert): new function
5055 * CutAndPaste.C (pasteSelection): adjust
5057 * text.C (backspace): adjust
5059 * tabular.C (SetMultiColumn): adjust
5061 * CutAndPaste.C (cutSelection): adjust
5062 (pasteSelection): adjust
5064 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5065 Buffer const * as arg
5067 * ParagraphList.C (erase): new function
5068 * paragraph_funcs.C (mergeParagraph): use it
5069 (mergeParagraph): make it take a Buffer* instead of a
5070 BufferParams* as arg
5072 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5074 (breakParagraphConservative): ditto
5076 * paragraph.h: remove the breakParagraph friend
5078 * paragraph.C (eraseIntern): new function
5079 (setChange): new function
5081 * paragraph_funcs.C (mergeParagraph): make it take a
5082 ParagraphList::iterator instead of a Paragraph *, adjust
5085 * paragraph.h: move an #endif so that the change tracking stuff
5086 also works in the NO_NEXT case.
5088 2003-03-04 Angus Leeming <leeming@lyx.org>
5091 * LyXAction.C: new LFUN_INSET_MODIFY.
5093 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5094 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5096 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5098 * several files: ws changes only
5100 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5101 (TeXEnvironment): ditto
5104 * buffer.C (makeLaTeXFile): adjust
5105 (latexParagraphs): make it take ParagraphList::iterator as args
5107 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5109 * buffer.C (latexParagraphs): adjust
5111 * paragraph.C (TeXOnePar): move function...
5112 (optArgInset): move function...
5113 (TeXEnvironment): move function...
5114 * paragraph_pimpl.C (TeXDeeper): move function...
5115 * paragraph_funcs.C: ...here
5117 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5119 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5121 * buffer.C (readInset): remove compability code for old Figure and
5124 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5126 * buffer.C: ws changes
5129 * BufferView_pimpl.C: ditto
5132 * bufferlist.h: ditto
5136 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5138 * converter.[Ch]: split into itself +
5141 * Makefile.am: += graph.[Ch] + format.[Ch]
5148 * lyxrc.C: added #include "format.h"
5150 2003-02-27 Angus Leeming <leeming@lyx.org>
5152 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5155 * factory.C (createInset): add "label" to the factory.
5157 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5158 string and do no more.
5160 2003-02-27 Angus Leeming <leeming@lyx.org>
5163 * LyXAction.C (init):
5164 * factory.C (createInset):
5165 * BufferView_pimpl.C (dispatch):
5166 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5168 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5170 * lyxfunc.C (dispatch):
5171 * text3.C (dispatch): pass name to params2string.
5173 2003-02-26 Angus Leeming <leeming@lyx.org>
5175 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5177 Rearrange the ~includes. Strip out the unnecessary ones.
5179 * factory.C (createInset): reformat.
5180 create new insets for the various LFUN_XYZ_APPLY lfuns.
5182 2003-02-26 John Levon <levon@movementarian.org>
5185 * lyxrow.C: add isParStart,isParEnd helpers
5187 * paragraph.h: make isInserted/DeletedText take refs
5189 * paragraph_funcs.h:
5190 * paragraph_funcs.C: remove #if 0'd code
5195 * text.C: use lyxrow helpers above.
5196 Move draw and paint routines to RowPainter.
5197 Make several methods use refs not pointers.
5198 Make backgroundColor() const.
5199 Add markChangeInDraw(), isInInset().
5200 Merge changeRegionCase into changeCase.
5201 Make workWidth() shouldn't-happen code into an Assert.
5204 * rowpainter.C: new class for painting a row.
5207 * vspace.C: make inPixels take a ref
5209 2003-02-26 Angus Leeming <leeming@lyx.org>
5211 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5214 2003-02-25 John Levon <levon@movementarian.org>
5216 * ispell.C: give the forked command a more accurate name
5218 2003-02-22 John Levon <levon@movementarian.org>
5221 * toc.C: make TocItem store an id not a Paragraph *
5224 2003-02-21 Angus Leeming <leeming@lyx.org>
5226 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5227 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5228 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5229 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5230 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5231 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5233 * BufferView_pimpl.C (dispatch):
5234 * LyXAction.C (init):
5235 * factory.C (createInset):
5236 * lyxfunc.C (getStatus, dispatch):
5237 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5239 2003-02-21 Angus Leeming <leeming@lyx.org>
5241 * BufferView_pimpl.C (MenuInsertLyXFile):
5242 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5243 * lyxfunc.C (menuNew, open, doImport):
5244 no longer pass a LyXView & to fileDlg.
5246 2003-02-21 Angus Leeming <leeming@lyx.org>
5248 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5249 * LyXAction.C: change, BIBKEY to BIBITEM.
5250 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5251 Change InsetBibKey to InsetBibitem.
5252 Change BIBKEY_CODE to BIBITEM_CODE.
5253 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5254 * factory.C: replace insetbib.h with insetbibitem.h.
5255 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5256 * paragraph.C: replace insetbib.h with insetbibitem.h.
5257 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5258 Change bibkey() to bibitem().
5259 * text.C: remove insetbib.h.
5260 * text2.C: replace insetbib.h with insetbibitem.h.
5261 change bibkey() to bibitem().
5262 * text3.C: remove insetbib.h.
5263 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5265 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5267 * lyxrc.C (output): enclose user email in quotes (in case there are
5270 2003-02-18 John Levon <levon@movementarian.org>
5272 * buffer.h: add std::
5274 2003-02-17 John Levon <levon@movementarian.org>
5280 * pspell.C: reworking. Especially in ispell, a large
5281 number of clean ups and bug fixes.
5283 * lyxfunc.C: fix revert to behave sensibly
5285 2003-02-17 André Pönitz <poenitz@gmx.net>
5288 * commandtags.h: new LFUN_INSERT_BIBKEY
5298 * paragraph_func.C: remove special bibkey handling
5300 2003-02-17 John Levon <levon@movementarian.org>
5302 * text.C (Delete): fix case where delete at the end of
5303 the very first paragraph would not merge the pars
5305 2003-02-17 John Levon <levon@movementarian.org>
5307 * lyxrow.C: fix lastPrintablePos()
5309 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5311 * bufferparams.C (writeLaTeX): add a std:here
5313 * buffer.C: and remove a using directive there
5315 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5317 * buffer.C (makeLaTeXFile): move the code that generates the
5320 * bufferparams.C (writeLaTeX): ... in this new method
5322 * LaTeXFeatures.C (getEncodingSet): make const
5323 (getLanguages): make const
5325 * MenuBackend.C (binding): returns the binding associated to this
5327 (add): sets the status of each item by calling getStatus. Adds
5329 (read): add support for OptSubMenu
5330 (expand): remove extra separator at the end of expanded menu
5332 2003-02-15 John Levon <levon@movementarian.org>
5335 * BufferView_pimpl.C:
5337 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5338 inset code that had no actual effect. Remove unneeded status
5341 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5343 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5346 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5348 * text.C (drawLengthMarker): also draw an arrow marker for
5349 symbolic lengths (medskip...)
5351 2003-02-14 John Levon <levon@movementarian.org>
5354 * tabular.C: better method names
5356 2003-02-14 John Levon <levon@movementarian.org>
5358 * BufferView_pimpl.C:
5363 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5364 it's a more accurate name. Remove some pointless uses.
5366 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5368 * text2.C (LyXText): change order of initilizers to shut off
5371 2003-02-14 John Levon <levon@movementarian.org>
5373 * buffer.C: use ParIterator for getParFromID()
5377 * paragraph_pimpl.h:
5378 * paragraph_pimpl.C: remove unused getParFromID()
5380 2003-02-14 John Levon <levon@movementarian.org>
5382 * buffer.C: remove some very old #if 0'd parse code
5384 2003-02-13 John Levon <levon@movementarian.org>
5388 * text2.C: move hfillExpansion(), numberOfSeparators(),
5389 rowLast(), rowLastPrintable(), numberofHfills(),
5390 numberOfLabelHfills() ...
5393 * lyxrow.C: ... to member functions here.
5398 * text.C: remove LyXText::beginningOfMainBody(), and call
5399 p->beginningOfMainBody() directly. Move the check for
5400 LABEL_MANUAL into the latter.
5407 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5413 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5414 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5416 2003-02-13 John Levon <levon@movementarian.org>
5418 * CutAndPaste.C: remove debug
5420 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5422 * paragraph.C (asString): remove two unused variables
5424 * lyxtextclass.C (readTitleType):
5426 (LyXTextClass): handle new members titletype_ and titlename_
5428 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5430 2003-02-09 John Levon <levon@movementarian.org>
5433 * buffer.C: replace hand-coded list with a map for the dep clean
5435 2003-02-08 John Levon <levon@movementarian.org>
5437 * LaTeX.C: consolidate code into showRunMessage() helper
5439 2003-02-08 John Levon <levon@movementarian.org>
5444 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5445 and pass the size in explicitly
5447 * BufferView_pimpl.h:
5448 * BufferView_pimpl.C:
5450 * BufferView.C: add getCurrentChange()
5452 * BufferView_pimpl.h:
5453 * BufferView_pimpl.C: handle change lfuns
5455 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5456 for changes. Mark pasted paragraphs as new.
5458 * support/lyxtime.h:
5459 * support/lyxtime.C:
5460 * DepTable.C: abstract time_t as lyx::time_type
5463 * LColor.C: add colours for new text, deleted text, changebars
5465 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5466 package use "usenames" option.
5470 * LyXAction.C: add change lfuns
5474 * author.C: author handling
5477 * buffer.C: add a per-buffer author list, with first entry as
5478 current author. Handle new .lyx tokens for change tracking. Output
5479 author list to .lyx file. Output dvipost stuff to .tex preamble.
5480 Bump lyx format to 222.
5483 * bufferlist.C: add setCurrentAuthor() to reset current author details
5487 * bufferparams.C: add param for tracking
5489 * bufferview_funcs.C: output change info in minibuffer
5493 * changes.C: add change-tracking structure
5496 * debug.C: add CHANGES debug flag
5499 * lyxfind.C: add code for finding the next change piece
5502 * lyxrc.C: add user_name and user_email
5505 * lyxrow.C: add a metric for the top of the text line
5508 * text.C: implement accept/rejectChange()
5511 * text.C: paint changebars. Paint new/deleted text in the chosen
5512 colours. Strike through deleted text.
5516 * paragraph_pimpl.h:
5517 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5518 in the current change to the insert functions. Rework erase to
5519 mark text as deleted, adding an eraseIntern() and a range-based
5520 erase(). Implement per-paragraph change lookup and
5523 * paragraph_funcs.C: Fixup paste for change tracking.
5525 * tabular.C: mark added row/columns as new.
5527 * text.C: fix rowLast() to never return -1. Don't allow
5528 spellchecking of deleted text. Track transpose changes. Don't
5529 allow paragraph break or merge where appropriate.
5531 * text2.C: leave cursor at end of selection after a cut.
5533 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5535 * text.C (getLengthMarkerHeight):
5536 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5537 visible on screen too.
5539 2003-02-07 John Levon <levon@movementarian.org>
5541 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5543 2003-02-05 Angus Leeming <leeming@lyx.org>
5545 * lyxserver.C (read_ready): revert my patch of 11 September last year
5546 as it sends PC cpu through the roof. Presumably this means that
5547 the lyxserver will no longer run on an Alpha...
5549 2003-01-30 Angus Leeming <leeming@lyx.org>
5551 * factory.C (createInset): create an InsetCommandParam of type "index"
5552 and use it to 'do the right thing'.
5554 * text2.C (getStringToIndex): ensure that cursor position is always
5555 reset to the reset_cursor position.
5557 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5559 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5562 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5566 * lyxfunc.C: Output messages with identical spelling, punctuation,
5569 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5571 * MenuBackend.C (expandFormats): List only viewable export formats
5574 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5577 * lyxfunc.C (getStatus): Make sure that formats other than
5578 "fax" can also be disabled
5580 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5582 * text3.C (dispatch): put the lfuns that insert insets in 3
5583 groups, and call doInsertInset with appropriate arguments.
5584 (doInsertInset): new function, that creates an inset and inserts
5585 it according to some boolean parameters.
5587 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5589 * buffer.C (readFile): remember to pass on 'par' when calling
5590 readFile recursively.
5592 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5594 * MenuBackend.C (expandFormats): add "..." to import formats.
5596 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5598 * paragraph.C (asString): Remove XForms RTL hacks.
5600 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5601 * buffer.C: fix typo
5603 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5605 * Makefile.am (LIBS): delete var
5606 (lyx_LDADD): add @LIBS@ here instead.
5608 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5610 * Clarify the meaning of "wheel mouse jump"
5612 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5614 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5617 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5619 * importer.C (Loaders): do not preallocate 3 elements in the
5620 vector, since one ends up with 6 elements otherwise
5622 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5624 * DepTable.C (write): write the file name as last element of the
5625 .dep file (because it may contain spaces)
5626 (read): read info in the right order
5628 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5630 * paragraph_pimpl.C (simpleTeXBlanks):
5631 (simpleTeXSpecialChars):
5632 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5634 * tabular.C (latex): add some missing case statements. Reindent.
5636 * MenuBackend.C (expandToc): remove unused variable.
5638 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5647 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5650 2003-01-05 John Levon <levon@movementarian.org>
5653 * BufferView.C: add getEncoding()
5656 * kbsequence.C: do not store last keypress
5659 * lyxfunc.C: store last keypress here instead. Pass encoding
5662 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5664 * lyx_main.C (init): remove annoying error message when following
5665 symbolic links (bug #780)
5667 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5669 * text.C (insertChar):
5670 * lyxrc.C (getDescription): remove extra spaces
5672 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5674 * lyxrc.C (getDescription): remove extra spaces
5676 2002-12-20 John Levon <levon@movementarian.org>
5678 * text3.C: hack fix for page up/down across tall rows
5680 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5682 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5685 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5687 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5688 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5689 thesaurus is not compiled in
5691 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5693 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5695 2002-12-16 Angus Leeming <leeming@lyx.org>
5698 * lyx_main.C (init): remove override_x_deadkeys stuff.
5700 2002-12-12 John Levon <levon@movementarian.org>
5702 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5703 insert. Only remove shift modifier under strict
5706 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5708 * MenuBackend.C (expandToc): fix crash.
5710 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5712 * MenuBackend.C (expandToc): gettext on float names.
5714 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5716 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5717 implement bool empty() [bug 490]
5719 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5721 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5723 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5725 * several files: ws changes
5727 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5729 * text2.C (setCounter): clean up a bit, use boost.format.
5730 (updateCounters): initialize par upon declaration.
5732 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5733 if the layout exists. We do not just store the layout any more.
5734 (SwitchLayoutsBetweenClasses): use boost.format
5736 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5738 * converter.C (convert): if from and to files are the same, use a
5739 temporary files as intermediary
5741 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5744 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5746 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5748 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5750 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * tabular.C (asciiPrintCell): use string(size, char) instead of
5755 * sgml.C (openTag): fix order of arguments to string constructor
5758 * lyxfunc.C (dispatch): use boost.format
5760 * lots of files: change "c" -> 'c'
5762 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5764 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5766 2002-11-25 Angus Leeming <leeming@lyx.org>
5768 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5770 * lyx_main.C (init): compile fix.
5772 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5774 * lyx_cb.C (start): boost.formatify
5775 do not include <iostream>
5777 * lengthcommon.C: ws only
5779 * boost-inst.C,BoostFormat.h: add more explict instantations
5781 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5783 * lots of files: handle USE_BOOST_FORMAT
5785 2002-11-21 John Levon <levon@movementarian.org>
5787 * pspell.C: fix compile
5789 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5791 * lyxfunc.C (dispatch): use boost::format
5795 * lyxfont.C (stateText): use boost::format
5797 * lyx_main.C (LyX): use boost::format
5799 (queryUserLyXDir): ditto
5802 (typedef boost::function): use the recommened syntax.
5804 * importer.C (Import): use boost::format
5806 * debug.C (showLevel): use boost::format
5808 * converter.C (view): use boost::format
5813 * bufferview_funcs.C (currentState): use boost::format
5815 * bufferlist.C (emergencyWrite): use boost::format
5817 * buffer.C (readLyXformat2): use boost::format
5818 (parseSingleLyXformat2Token): ditto
5820 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5822 * LaTeX.C (run): use boost::format
5824 * Chktex.C (scanLogFile): use boost::format
5826 * BufferView_pimpl.C (savePosition): use boost::format
5827 (restorePosition): ditto
5828 (MenuInsertLyXFile): ditto
5830 * BoostFormat.h: help file for explicit instation.
5832 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5834 * tabular.C (latex): Support for block alignment in fixed width
5837 2002-11-17 John Levon <levon@movementarian.org>
5839 * BufferView_pimpl.C:
5841 * lyxfunc.C: split filedialog into open/save
5843 2002-11-08 Juergen Vigna <jug@sad.it>
5845 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5846 by my last patch (hopefully).
5848 2002-11-08 John Levon <levon@movementarian.org>
5857 * toc.C: ParConstIterator, and use it (from Lars)
5859 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5861 * lyxtextclass.[Ch]: revise and add doxygen comments
5863 2002-11-07 John Levon <levon@movementarian.org>
5865 * text.C: fix progress value for spellchecker
5867 * toc.C: fix navigate menu for insetwrap inside minipage
5869 * paragraph_funcs.C: added FIXME for suspect code
5871 2002-11-07 John Levon <levon@movementarian.org>
5873 * BufferView_pimpl.C: fix redrawing of insets
5876 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5878 * text2.C (updateCounters): fix bug 668
5880 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5882 * text3.C (dispatch): Do not make the buffer dirty when moving the
5885 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5887 * vc-backend.C: STRCONV
5890 * text2.C (setCounter): STRCONV
5892 * paragraph.C (asString): STRCONV
5894 * lyxlength.C (asString): STRCONV
5895 (asLatexString): ditto
5897 * lyxgluelength.C (asString): STRCONV
5898 (asLatexString): ditto
5900 * lyxfunc.C (dispatch): STRCONV
5903 * lyxfont.C (stateText): STRCONV
5905 * importer.C (Import): STRCONV
5907 * counters.C (labelItem): STRCONV
5908 (numberLabel): ditto
5909 (numberLabel): remove unused ostringstream o
5914 * bufferview_funcs.C (currentState): STRCONV
5916 * buffer.C (readFile): STRCONV
5917 (asciiParagraph): ditto
5918 (makeLaTeXFile): ditto
5920 * Spacing.C (writeEnvirBegin): STRCONV
5922 * LaTeXFeatures.C (getLanguages): STRCONV
5923 (getPackages): ditto
5925 (getBabelOptions): ditto
5926 (getTClassPreamble): ditto
5927 (getLyXSGMLEntities): ditto
5928 (getIncludedFiles): ditto
5932 (scanAuxFile): ditto
5935 * LString.h: add the STRCONV macros
5937 * BufferView_pimpl.C (savePosition): STRCONV
5938 (restorePosition): ditto
5939 (MenuInsertLyXFile): ditto
5941 * vc-backend.C (scanMaster): change from submatch[...] to
5944 * funcrequest.C: include config.h
5946 * factory.C: include config.h
5948 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5950 * box.C: include config.h
5952 * LaTeX.C (scanAuxFile): change from submatch[...] to
5956 2002-10-25 Angus Leeming <leeming@lyx.org>
5958 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5960 * ispell.[Ch] (setError): new method.
5961 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5962 Use setError() insetead of goto END.
5964 * lyx_cb.C (AutoSave): move out child process into new class
5967 2002-10-30 John Levon <levon@movementarian.org>
5969 * text3.C: make start appendix undoable
5971 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5973 * lyxlength.C (inPixels): Fix returned value.
5975 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5978 2002-10-24 Angus Leeming <leeming@lyx.org>
5980 * lyxgluelength.h: no need to forward declare BufferParams
5981 or BufferView, so don't.
5983 2002-10-21 John Levon <levon@movementarian.org>
5985 * BufferView.C: menuUndo ->undo, redo
5987 * BufferView.h: document, remove dead, make some methods private
5989 * paragraph_funcs.h:
5990 * paragraph_funcs.C:
5991 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5996 * sgml.C: move sgml open/close tag into sgml.C
5998 * bufferview_funcs.h: unused prototype
6001 * lyxfunc.C: remove unused
6004 * text.C: remove unused
6006 2002-10-21 John Levon <levon@movementarian.org>
6010 * BufferView_pimpl.h:
6011 * BufferView_pimpl.C: fix mouse wheel handling based on
6012 patch from Darren Freeman
6014 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6016 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6018 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6020 * lyxlength.C (inPixels): Fix hanfling of negative length.
6021 Fix LyXLength::MU case.
6023 2002-10-16 John Levon <levon@movementarian.org>
6025 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6027 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6029 * converter.C (view): add support for $$i (file name) and $$p
6030 (file path) for the viewer command. If $$i is not specified, then
6031 it is appended to the command (for compatibility with old syntax)
6033 2002-10-14 Juergen Vigna <jug@sad.it>
6035 * undo_funcs.C (textHandleUndo): alter the order in which the
6036 new undopar is added to the LyXText, as we have to set first
6037 the right prev/next and then add it as otherwise the rebuild of
6038 LyXText is not correct. Also reset the cursor to the right paragraph,
6039 with this IMO we could remove the hack in "redoParagraphs()".
6041 2002-10-09 Angus Leeming <leeming@lyx.org>
6043 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6044 to turn off an optimisation if a new inset is to be inserted.
6046 2002-10-11 André Pönitz <poenitz@gmx.net>
6048 * lyxtext.h: make some functions public to allow access
6049 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6051 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6053 * text3.C (dispatch): when changing layout, avoid an infinite loop
6056 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6058 * lyxrc.C (read): treat a viewer or converter command of "none" as
6061 * MenuBackend.C (expandFormats): for an update, also allow the
6062 formats that are not viewable
6064 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6065 script if it is newer than the lyxrc.defaults in user directory
6067 2002-10-07 André Pönitz <poenitz@gmx.net>
6069 * text.C: Vitaly Lipatov's small i18n fix
6071 2002-09-25 Angus Leeming <leeming@lyx.org>
6073 * ispell.h: doxygen fix.
6075 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6077 * buffer.h (readFile): Add a new argument to the method, to allow
6078 reading of old-format templates.
6080 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6082 * toc.C (getTocList): Get TOC from InsetWrap.
6084 2002-09-16 John Levon <levon@movementarian.org>
6086 * lyxfunc.C: check tabular for cut/copy too
6088 2002-09-12 John Levon <levon@movementarian.org>
6093 * factory.C: add header
6095 * paragraph_funcs.h:
6096 * paragraph_funcs.C: cleanup
6098 2002-09-11 John Levon <levon@movementarian.org>
6100 * PrinterParams.h: odd/even default to true
6102 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6104 * PrinterParams.h: update printer parameters for new xforms dialog
6106 2002-09-11 Angus Leeming <leeming@lyx.org>
6108 * lyxserver.C (read_ready): re-write to make it more transparent
6109 and to make it work in coherent fashion under Tru64 Unix.
6111 2002-09-11 André Pönitz <poenitz@gmx.net>
6115 * text3.C: implement LFUN_WORDSEL
6117 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6119 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6120 make floatlist_ a boost::shared_ptr<FloatList>
6122 * lyxtextclass.C: include FloatList.h
6123 (LyXTextClass): initialize floatlist_
6124 (TextClassTags): add TC_NOFLOAT
6125 (Read): match "nofloat" to TC_NOFLOAT and use it.
6126 (readFloat): modify call to floatlist_
6130 * FloatList.[Ch] (FloatList): remove commented out float
6132 (erase): new function
6134 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6136 * MenuBackend.C (expandToc): fix crash when there is no document
6139 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6141 * many files: Add insetwrap.
6143 2002-09-09 John Levon <levon@movementarian.org>
6145 * text2.C: remove confusing and awkward depth wraparound
6147 2002-09-09 John Levon <levon@movementarian.org>
6149 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6152 * buffer.C: remove getIncludeonlyList()
6155 * lyxfunc.C: remove headers
6157 2002-09-09 Juergen Vigna <jug@sad.it>
6159 * text.C (getColumnNearX): fix form Michael this is most
6160 probably a cut&paste bug.
6162 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6164 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6166 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6167 references, ws changes.
6169 * text2.C (init): update counters after init
6170 (insertParagraph): no need to set counter on idividual paragraphs.
6171 (setCounter): access the counters object in the textclass object
6172 on in the buffer object.
6173 (updateCounters): ditto
6175 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6176 shared_ptr<Counters> to avoid loading counters.h in all
6178 (LyXTextClass): initialize ctrs_
6179 (TextClassTags): add TC_COUNTER, and ...
6180 (Read): use it here.
6181 (CounterTags): new tags
6182 (readCounter): new function
6183 (counters): new funtion
6184 (defaultLayoutName): return a const reference
6186 * counters.C (Counters): remove contructor
6187 (newCounter): remove a couple of unneeded statements.
6188 (newCounter): simplify a bit.
6189 (numberLabel): some small formatting changes.
6191 * buffer.[Ch]: remove all traces of counters, move the Counters
6192 object to the LyXTextClass.
6194 2002-09-06 Alain Castera <castera@in2p3.fr>
6196 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6197 package to set the horizontal alignment on fixed width columns.
6200 * lyx_sty.h: added tabularnewline macro def.
6202 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6204 2002-09-06 John Levon <levon@movementarian.org>
6206 * LyXAction.C: tooltips for sub/superscript
6208 * MenuBackend.C: a bit more verbose
6210 * lyxfunc.C: tiny clean
6212 * undo_funcs.C: document undo_frozen
6214 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6216 * counters.C (Counters): add missing algorithm counter.
6218 * text2.C (setCounter): lookup the counter with layouts latexname
6219 instead of by section number.
6220 (setCounter): use a hackish way to lookup the correct enum
6222 a float name->type change
6223 reset enum couners with counter name directly instead of depth value.
6225 * counters.C (Counters): remove the push_backs, change to use the
6226 float type not the float name.
6227 (labelItem): remove unused string, float name->type change
6229 * counters.h: don't include vector, loose the enums and sects vectors
6231 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6233 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6234 (Read): add float->TC_FLOAT to textclassTags
6235 (Read): and handle it in the switch
6236 (readFloat): new function
6238 * FloatList.C (FloatList): comment out the hardcoded float
6241 * lyxlayout.h: ws change.
6243 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6245 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6247 2002-09-03 Angus Leeming <leeming@lyx.org>
6249 * BufferView_pimpl.h: qualified name is not allowed in member
6250 declaration: WorkArea & Pimpl::workarea() const;
6252 * factory.C: added using std::endl directive.
6254 * text3.C: added using std::find and std::vector directives.
6256 2002-08-29 André Pönitz <poenitz@gmx.net>
6259 * text2.C: remove unused member number_of_rows
6262 * BufferView2.C: remove file, move contents to...
6263 * BufferView.C: ... here
6265 * BufferView_pimpl.C:
6266 * factory.C: move more inset creation to factory
6268 * vspace.C: avoid direct usage of LyXText, ws changes
6271 don't provide direct access to WorkArea, use two simple
6272 acessors haveSelction() and workHeight() instead
6275 2002-08-29 John Levon <levon@movementarian.org>
6277 * BufferView_pimpl.C (dispatch): do not continue when
6280 2002-08-28 André Pönitz <poenitz@gmx.net>
6282 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6285 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6287 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6289 * buffer.C: increment LYX_FORMAT to 221
6291 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6292 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6294 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6296 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6298 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6300 * factory.C (createInset): use LyXTextClass::floats
6302 * MenuBackend.C (expandFloatListInsert):
6303 (expandFloatInsert):
6306 * text2.C (setCounter):
6308 * LaTeXFeatures.C (useFloat):
6309 (getFloatDefinitions):
6311 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6313 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6314 floatlist_, with accessor floats().
6316 * FloatList.h: remove global FloatList
6318 2002-08-26 André Pönitz <poenitz@gmx.net>
6320 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6324 * BufferView_pimpl.C:
6325 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6327 2002-08-25 John Levon <levon@movementarian.org>
6329 * LyXAction.C: fix margin note description
6331 2002-08-24 John Levon <levon@movementarian.org>
6335 * bufferview_funcs.C:
6337 * undo_funcs.C: cleanups
6339 * lyxfunc.C: disable CUT/COPY when no selection
6341 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6343 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6344 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6346 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6347 Add backward compatibility to "mono", "gray" and "no".
6349 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6351 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6352 (and file_format >= 200).
6354 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6356 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6358 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6360 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6362 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6364 * BufferView_pimpl.C:
6371 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6372 inset and code to make it work with the paragraph code. The inset
6373 can be anywhere in the paragraph, but will only do the expected
6374 thing in LaTeX if the layout file contains the parameter line
6376 (or more generally, a nonzero value) for that layout.
6378 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6380 * paragraph.h: remove the declaration of undefined counters class
6383 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6385 * text2.C (setCounter): fixed enumeration mis-count as reported by
6386 Dr. Richard Hawkins.
6388 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6390 * paragraph_funcs.h: remove some unneeded includes
6392 * text.C (backspace): pasteParagraph now in global scipe
6394 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6395 (pasteSelection): ditto
6397 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6398 * paragraph_funcs.C (pasteParagraph): ... here
6400 2002-08-20 André Pönitz <poenitz@gmx.net>
6402 * commandtags.h: new LFUNs for swapping/copying table row/colums
6405 * lyxfunc.C: support for new lfuns
6407 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * buffer.[Ch]: remove NO_COMPABILITY stuff
6412 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6414 * boost.C (throw_exception): new file, with helper function for
6415 boost compiled without exceptions.
6420 * ParameterStruct.h:
6421 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6423 * bufferlist.C (emergencyWriteAll): use boost bind
6425 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6427 * text.C: include paragraph_funcs.h
6428 (breakParagraph): breakParagraph is now in global scope
6430 * paragraph_funcs.[Ch]: new files
6432 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6435 * buffer.C: include paragraph_funcs.h
6436 (insertStringAsLines): breakParagraph is now in global scope
6438 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6441 * CutAndPaste.C: include paragraph_funcs.h
6442 (cutSelection): breakParagraphConservative is now in global scope
6443 (pasteSelection): ditto
6445 * buffer.h: declare oprator== and operator!= for
6446 Buffer::inset_iterator
6448 * bufferlist.C (emergencyWrite): don't use fmt(...)
6450 * text3.C: add using std::endl
6452 * BufferView.C (moveCursorUpdate): remove default arg
6454 2002-08-20 André Pönitz <poenitz@gmx.net>
6456 * buffer.[Ch]: move inline functions to .C
6459 * BufferView_pimpl.C:
6461 * buffer.[Ch]: use improved inset_iterator
6464 * paragraph.[Ch]: write one paragraph at a time
6466 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6468 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6469 style if style is not specified.
6471 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6473 * text2.C (setCounter): when searching for right label for a
6474 caption, make sure to recurse to parent insets (so that a caption
6475 in a minipage in a figure float works) (bug #568)
6477 2002-08-20 André Pönitz <poenitz@gmx.net>
6479 * text3.C: new file for LyXText::dispatch() and helpers
6481 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6483 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6485 2002-08-19 André Pönitz <poenitz@gmx.net>
6488 * text.C: new LyXText::dispatch()
6490 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6492 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6494 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6496 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6499 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6501 * Makefile.am: use $(variables) instead of @substitutions@
6503 2002-08-15 André Pönitz <poenitz@gmx.net>
6506 * BufferView_pimpl.C: streamlining mathed <-> outer world
6510 * LyXAction.C: remove unused LFUN_MATH
6512 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6514 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6516 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6518 * paragraph.C (Paragraph): reformat a bit
6519 (cutIntoMinibuffer): use builtin InsetList function instad of
6523 * buffer.C: include boost/bind.hpp, add using std::for_each
6524 (writeFileAscii): use ParagraphList iterators
6525 (validate): use for_each for validate traversal of paragraphs
6526 (getBibkeyList): use ParagraphList iterators
6527 (resizeInsets): use for_each to resizeInsetsLyXText for all
6529 (getParFromID): use ParagraphList iterators
6531 * BufferView2.C (lockInset): use paragraph list and iterators
6533 2002-08-14 John Levon <levon@movementarian.org>
6535 * lyxserver.C: remove spurious xforms include
6537 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6539 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6541 2002-08-13 André Pönitz <poenitz@gmx.net>
6544 * lyxfunc.C: further cleaning
6546 2002-08-13 André Pönitz <poenitz@gmx.net>
6548 * funcrequest.h: new constructor
6550 * funcrequest.C: move stuff here from .h
6553 * BufferView_pimpl.C:
6556 * lyxfunc.C: subsequent changes
6558 * lyxfunc.h: new view() member function
6560 * lyxfunc.C: subsequent changes
6562 2002-08-13 Angus Leeming <leeming@lyx.org>
6565 * BufferView_pimpl.C:
6573 changes due to the changed LyXView interface that now returns references
6574 to member variables not pointers.
6576 2002-08-13 Angus Leeming <leeming@lyx.org>
6578 * WordLangTuple (word, lang_code): return references to strings,
6583 * lyxtext.h: forward-declare WordLangTuple.
6588 * text.C: #include "WordLangTuple.h".
6591 * text.C: (selectNextWordToSpellcheck): constify return type.
6593 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6599 * paragraph_pimpl.h:
6602 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6604 Made updateCounter always count from start of buffer, and removed
6605 second argument (par).
6606 Reverted floats number display to '#'. Perhaps I'll try again when the
6607 code base is sanitized a bit.
6609 2002-08-12 Angus Leeming <leeming@lyx.org>
6611 * buffer.[Ch] (getLabelList): constify.
6613 2002-08-07 André Pönitz <poenitz@gmx.net>
6615 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6617 * funcrequest.h: extension to keep mouse (x,y) position
6619 2002-08-12 Juergen Vigna <jug@sad.it>
6621 * BufferView2.C (insertErrors): forbid undo when inserting error
6624 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6626 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6628 * ParagraphList.[Ch]: new files
6630 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6632 * BufferView2.C (lockInset): ParagraphList changes
6635 * bufferlist.C: ditto
6639 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6641 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6642 unused class variable counter_,
6644 * paragraph.[Ch] (getFirstCounter): delete unused function
6646 * counters.C: include LAssert.h
6647 (reset): add a new function with no arg, change other version to
6648 not have def. arg and to not allow empty arg.
6650 * text2.C (setCounter): remove empty arg from call to Counters::reset
6652 2002-08-11 John Levon <levon@movementarian.org>
6654 * Makefile.am: add WordLangTuple.h
6656 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6658 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6659 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6661 * insets/insettext.C: InsetList changes
6663 * graphics/GraphicsSupport.C (operator()): InsetList changes
6665 * toc.C (getTocList): InsetList changes
6667 * paragraph_pimpl.[Ch]: InsetList changes
6669 * paragraph.[Ch]: InsetList changes
6671 * buffer.C (inset_iterator): InsetList changes
6672 (setParagraph): ditto
6673 * buffer.h (inset_iterator): ditto
6674 * iterators.C (operator++): ditto
6675 * iterators.h: ditto
6677 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6679 * InsetList.[Ch]: new files, most InsetList handling moved out of
6682 * BufferView2.C (removeAutoInsets): InsetList changes
6684 (ChangeInsets): ditto
6686 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * paragraph_pimpl.h (empty): new function
6690 * paragraph.[Ch] (empty): new function
6692 * other files: use the new Paragraph::empty function
6694 2002-08-09 John Levon <levon@movementarian.org>
6696 * lyxtext.h: remove unused refresh_height
6698 2002-08-09 John Levon <levon@movementarian.org>
6705 * paragraph.C: move sgml char escaping out of paragraph
6708 * paragraph.C: remove id setter
6712 * paragraph_pimpl.C: remove dead tex_code_break_column
6714 * bufferview_funcs.C: small cleanup
6716 * lyxfunc.C: remove dead proto
6718 * lyxtext.h: make some stuff private. Remove some dead stuff.
6720 * lyxgluelength.C: make as[LyX]String() readable
6722 2002-08-08 John Levon <levon@movementarian.org>
6727 * ToolbarDefaults.C:
6730 * toc.C: lyxaction cleanup
6732 2002-08-08 John Levon <levon@movementarian.org>
6734 * BufferView2.C: small cleanup
6737 * lyxfind.C: move unnecessary header into the .C
6739 2002-08-08 John Levon <levon@movementarian.org>
6741 * funcrequest.h: just tedious nonsense
6744 * lyx_main.C: cleanups
6747 * vspace.C: remove dead header lyx_main.h
6749 2002-08-07 Angus Leeming <leeming@lyx.org>
6752 * paragraph_pimpl.h:
6753 Forward declare class Counters in paragraph.h by moving the ctrs member
6754 variable into Paragraph::Pimpl.
6755 (counters): new method, returning a reference to pimpl_->ctrs.
6757 * text2.C: ensuing changes.
6759 2002-08-07 John Levon <levon@movementarian.org>
6761 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6763 * BufferView_pimpl.C: announce X selection on double/triple
6766 * lyx_main.C: use correct bool in batch dispatch
6768 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6770 2002-08-07 André Pönitz <poenitz@gmx.net>
6772 * funcrequest.h: new class to wrap a kb_action and its argument
6775 * BufferView_pimpl[Ch]:
6779 * lyxrc.C: subsequent changes
6782 2002-08-07 John Levon <levon@movementarian.org>
6784 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6785 document options change.
6787 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6792 * makefile.am: move counters functionality over from
6793 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6795 2002-08-06 John Levon <levon@movementarian.org>
6797 * WordLangTuple.h: new file for word + language code tuple
6808 * BufferView2.C: use WordLangTuple
6811 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6813 2002-08-06 John Levon <levon@movementarian.org>
6815 * lyx_main.C: fix cmdline batch handling
6817 2002-08-06 André Pönitz <poenitz@gmx.net>
6819 * lyxrc.C: set default for show_banner to true
6821 2002-08-06 John Levon <levon@movementarian.org>
6823 * pspell.C: fix a crash, and allow new aspell to work
6825 2002-08-06 John Levon <levon@movementarian.org>
6828 * kbmap.C: small cleanup
6831 * vspace.C: add const
6833 2002-08-05 John Levon <levon@movementarian.org>
6835 * LyXAction.C: back to tabular-insert
6837 2002-08-04 John Levon <levon@movementarian.org>
6840 * BufferView.C: cosmetic change
6842 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6852 * BufferView2.C: purge all "Lyx" not "LyX" strings
6855 * lyxcursor.C: attempt to add some documentation
6860 * ToolbarDefaults.C:
6861 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6862 merge with LFUN_TABULAR_INSERT
6869 * pspell.C: split up i/pspell implementations into separate
6870 files, many cleanups
6872 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6874 * text2.C: some cleanup
6876 * lyxfunc.C: don't check for isp_command == "none" any more, it
6877 didn't make any sense
6879 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6884 * makefile.am: move counters functionality over
6885 from text2.C/paragraph.[Ch] to counters.[Ch], and
6887 2002-08-02 John Levon <levon@movementarian.org>
6889 * buffer.C: s/lyxconvert/lyx2lyx/
6891 2002-08-02 Angus Leeming <leeming@lyx.org>
6893 * lyxlex.C: revert John's change as it breaks reading of the user
6896 2002-08-02 Angus Leeming <leeming@lyx.org>
6898 * importer.C (Import):
6899 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6900 changes due to LyXView::view() now returning a boost::shared_ptr.
6902 2002-08-02 John Levon <levon@movementarian.org>
6904 * lyxlex.C: small cleanup
6906 2002-08-02 John Levon <levon@movementarian.org>
6908 * text2.C (status): small cleanup, no logic change
6910 2002-08-01 John Levon <levon@movementarian.org>
6913 * buffer.C (writeFile): don't output alerts, caller
6917 * lyx_cb.C: from above
6919 * lyxfunc.C: allow to open non-existent files
6921 2002-07-31 John Levon <levon@movementarian.org>
6923 * lyxserver.C: don't let incidental errors get
6926 2002-07-30 John Levon <levon@movementarian.org>
6928 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6930 2002-07-30 John Levon <levon@movementarian.org>
6933 * lyxserver.C: remove I/O callback too
6935 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6937 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6940 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6942 * many files: strip,frontStrip -> trim,ltrim,rtrim
6944 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6946 * PrinterParams.h: remove extern containsOnly, and include
6947 support/lstrings.h instead.
6949 * LaTeX.C (scanAuxFile): modify because of strip changes
6951 * buffer.C (makeLaTeXFile): ditto
6952 * bufferparams.C (writeFile): ditt
6953 * lyxfont.C (stateText): ditto
6954 * lyxserver.C (read_ready): ditto
6955 * vc-backend.C (scanMaster): ditto
6957 * BufferView_pimpl.h: ws changes
6959 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6961 2002-07-26 André Pönitz <poenitz@gmx.net>
6963 * kb_sequence.C: remove unnedred usings
6965 2002-07-26 Juergen Vigna <jug@sad.it>
6967 * lyxfind.C (LyXReplace): we have to check better if the returned
6968 text is not of theLockingInset()->getLockingInset().
6970 2002-07-25 Juergen Vigna <jug@sad.it>
6972 * lyxfind.C (LyXReplace): don't replace if we don't get the
6975 * undo_funcs.C (createUndo): remove debugging code.
6977 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6979 * buffer.C (parseSingleLyXformat2Token): Use default placement
6980 when reading old floats.
6982 * FloatList.C (FloatList): Change the default placement of figure
6983 and tables to "tbp".
6985 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6987 * MenuBackend.C: using std::max
6989 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6991 * MenuBackend.C (expandToc):
6992 (expandToc2): code moved from xforms menu frontend. It is now
6993 generic and TOCs are transparent to menu frontends.
6995 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6997 * toc.C (getTocList): protect against buf=0
6999 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7000 Menu as first parameter. Now, this calls itself recursively to
7001 expand a whole tree (this will be useful for TOC handling)
7002 (expandFloatInsert): remove 'wide' version of floats
7004 * MenuBackend.h (submenuname): returns the name of the submenu.
7005 (submenu): returns the submenu itself, provided it has been
7006 created by MenuBackend::expand
7008 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7010 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7011 insets which have noFontChange == true. (bug #172)
7013 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7015 * BufferView_pimpl.C: add connection objects and use them...
7018 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7020 * MenuBackend.C (expandLastfiles):
7023 (expandFloatListInsert):
7024 (expandFloatInsert):
7025 (expand): split expand in parts
7027 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7029 * lyx_gui.C: use lyx_gui::exit()
7031 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7033 * LyXAction.C: show the failing pseudo action
7035 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7037 * buffer.C (readFile): Run the lyxconvert script in order to read
7040 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7044 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7046 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7050 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7052 2002-07-22 Herbert Voss <voss@lyx.org>
7055 * lyxlength.[Ch]: add support for the vertical lengths
7057 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7059 * toc.[Ch]: std:: fixes
7061 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7063 * lyxrc.C: do not include lyx_main.h
7065 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7071 * BufferView2.C: include "lyxlex.h"
7074 * bufferparams.h: do not #include "lyxlex.h"
7076 * lyxtextclasslist.C (Add): remove method
7077 (classlist): renamed to classlist_
7079 * paragraph_pimpl.C:
7083 * bufferview_funcs.C:
7088 * toc.C (getTocList): use BufferParams::getLyXTextClass
7090 * toc.C (getTocList): use InsetFloat::addToToc
7092 * toc.[Ch]: new files, containing helper functions to handle table
7095 * lyxfunc.C (dispatch): no need to remove spaces around command
7097 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7098 first command of the sequence; it is not very clever, but I do not
7099 have a better idea, actually
7101 * LyXAction.C (LookupFunc): make sure to remove space at the
7102 beginning and end of the command
7104 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7106 * MenuBackend.C (getMenubar): new method: return the menubar of
7108 (read): treat differently reading of menu and menubar (in
7109 particular, the menubar has no name now)
7110 (Menu::menubar): remove
7112 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7115 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7117 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7118 a bibitem inset in a RTL paragraph.
7120 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7122 * paragraph_pimpl.C: constify
7124 * BufferView_pimpl.C:
7126 * lyxfunc.C: fix dispatch in a nicer way
7128 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7130 * lyxfunc.C (dispatch):
7131 * BufferView_pimpl.C:
7132 * BufferView_pimpl.h:
7134 * BufferView.h: rename Dispatch() to dispatch()
7136 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7138 * lyxlayout.C (Read): honor DependsOn tag
7140 * lyxlayout.[Ch] (depends_on): new method
7142 * version.C.in: update lyx_docversion
7144 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7146 * paragraph.C (validate): remove from here...
7147 * paragraph_pimpl.C (validate): ... and move here
7148 (isTextAt): make it const
7150 * buffer.C (getLists): ws cleanup
7152 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7154 * language.C (read): Use iso8859-1 encoding in latex_lang
7155 (this prevents LyX from crashing when using iso10646-1 encoding).
7157 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7159 * text2.C (toggleInset): if cursor is inside an inset, close the
7160 inset and leave cursor _after_ it
7162 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7164 * lyxfunc.C: move minibuffer completion handling out of here
7166 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7168 * BufferView_pimpl.C:
7169 * LaTeX.C: fix dispatch calls
7171 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7173 * text.C (drawChars): Fix Arabic text rendering.
7175 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7179 * lyxfunc.C: remove message-push/pop
7183 * lyxfunc.C: rationalise some code by removing verboseDispatch
7184 in favour of a bool argument to dispatch()
7186 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7188 * lyx_main.C (init): make sure to read symlinks as absolute paths
7190 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7193 * lyxfunc.C: no need for commandshortcut to be a member
7195 2002-07-15 André Pönitz <poenitz@gmx.net>
7197 * converter.C: add support for $$s (scripts from lib/scripts dir)
7198 * lyx_main.C: white space
7200 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7204 * lyxrc.C: remove second exit confirmation
7206 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7211 * BufferView_pimpl.h:
7212 * BufferView_pimpl.C:
7213 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7215 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7217 * MenuBackend.C (expand): add numeric shortcuts to document menu
7219 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7221 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7223 * lyxfont.C (setLyXFamily):
7230 * buffer.C (asciiParagraph): use ascii_lowercase
7232 2002-07-15 Mike Fabian <mfabian@suse.de>
7234 * lyxlex_pimpl.C (search_kw):
7235 * lyxlex.C (getLongString):
7236 * converter.h (operator<):
7237 * converter.C (operator<):
7238 * buffer.C (parseSingleLyXformat2Token):
7240 * ToolbarDefaults.C (read):
7241 * MenuBackend.C (checkShortcuts):
7243 * LColor.C (getFromGUIName):
7244 (getFromLyXName): use the compare_ascii_no_case instead of
7245 compare_no_case, because in turkish, 'i' is not the lowercase
7246 version of 'I', and thus turkish locale breaks parsing of tags.
7248 2002-07-16 Angus Leeming <leeming@lyx.org>
7250 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7251 now takes a Buffer const & argument.
7253 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7255 * BufferView.C (resize): check there's a buffer to resize
7257 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7259 * lyxfunc.C: remove dead code
7262 * lyxserver.C: use lyx_guii::set_read_callback
7264 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7266 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7267 an inset in a RTL paragraph.
7269 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7271 * lyxfunc.C: repaint after a font size update
7273 2002-07-15 André Pönitz <poenitz@gmx.net>
7275 * lyxlength.C: inBP should be able to return negative values
7277 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7279 * lyxfunc.C: use lyx_gui::update_fonts()
7281 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7283 * lyxfunc.C: use lyx_gui::update_color()
7285 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7291 * lyxrc.C: remove file->new asks for name option, and let
7292 buffer-new take an argument
7294 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7296 * BufferView_pimpl.C: remove unneeded extra repaint()
7298 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7300 * LyXAction.C: allow command-sequence with NoBuffer
7302 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7304 2002-07-10 Angus Leeming <leeming@lyx.org>
7306 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7308 2002-07-09 Angus Leeming <leeming@lyx.org>
7310 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7312 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7314 * lengthcommon.h: whitespace
7316 * lyxfunc.C: update scrollbar after goto paragraph
7318 * lyxtext.h: factor out page break drawing, and fix it so
7319 page break/added space paints as selected nicely
7321 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7323 * BufferView_pimpl.C: add FIXMEs, clean up a little
7325 2002-07-09 André Pönitz <poenitz@gmx.net>
7327 * lyxfont.[Ch]: support for wasy symbols
7329 2002-07-08 André Pönitz <poenitz@gmx.net>
7331 * BufferView_pimpl.C: apply John's patch for #93.
7333 2002-07-05 Angus Leeming <leeming@lyx.org>
7335 * BufferView_pimpl.C (buffer): generate previews if desired.
7337 * LColor.h: add "preview" to the color enum.
7339 * LColor.C (LColor): add a corresponding entry to the items array.
7341 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7344 2002-07-05 Angus Leeming <leeming@lyx.org>
7346 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7347 The body of the code is now in the method that is passed an ostream &
7348 rather than a file name.
7349 Pass an additional only_preamble parameter, useful for the forthcoming
7352 2002-07-03 André Pönitz <poenitz@gmx.net>
7354 * lyxfunc.C: simplify getStatus() a bit for math stuff
7356 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7358 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7360 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7362 * text.C (changeRegionCase): do not change case of all the
7363 document when region ends at paragraph end (bug #461)
7365 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7367 * paragraph.C (startTeXParParams):
7368 (endTeXParParams): add \protect when necessary
7370 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7372 * BufferView_pimpl.C (workAreaExpose): remove warning
7374 2002-06-27 Angus Leeming <leeming@lyx.org>
7376 * Makefile.am: add lyxlayout_ptr_fwd.h.
7378 2002-06-26 André Pönitz <poenitz@gmx.net>
7380 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7382 2002-06-25 Angus Leeming <leeming@lyx.org>
7384 * lyxfunc.C (dispatch): Comment out the call to
7385 grfx::GCache::changeDisplay. The method no longer exists now that the
7386 pixmap generation part of the graphics loader has been moved into
7389 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7391 * text2.C: layout as layout
7393 * text.C: layout as layout
7395 * tabular.C (OldFormatRead): layout as layout
7397 * paragraph_pimpl.C (TeXDeeper): layout as layout
7398 (realizeFont): layout as layout
7400 * paragraph.C (writeFile): layout as layout
7401 (validate): layout as layout
7402 (getFont): layout as layout
7403 (getLabelFont): layout as layout
7404 (getLayoutFont): layout as layout
7405 (breakParagraph): layout as layout
7406 (stripLeadingSpaces): layout as layout
7407 (getEndLabel): layout as layout
7408 (getMaxDepthAfter): layout as layout
7409 (applyLayout): layout as layout
7410 (TeXOnePar): layout as layout
7411 (simpleTeXOnePar): layout as layout
7412 (TeXEnvironment): layout as layout
7413 (layout): layout as layout
7414 (layout): layout as layout
7416 * lyxtextclass.C (compare_name): new functor to work with
7417 shared_ptr, layout as layout
7418 (Read): layout as layout
7419 (hasLayout): layout as layout
7420 (operator): layout as layout
7421 (delete_layout): layout as layout
7422 (defaultLayout): layout as layout
7424 * lyxlayout_ptr_fwd.h: new file
7426 * lyxlayout.C (Read): layout as layout
7428 * lyx_cb.C (MenuInsertLabel): layout as layout
7430 * bufferlist.C (newFile): layout as layout
7432 * buffer.C (readLyXformat2): layout as layout
7433 (parseSingleLyXformat2Token): layout as layout
7434 (insertStringAsLines): layout as layout
7435 (asciiParagraph): layout as layout
7436 (latexParagraphs): layout as layout
7437 (makeLinuxDocFile): layout as layout
7438 (simpleLinuxDocOnePar): layout as layout
7439 (makeDocBookFile): layout as layout
7440 (simpleDocBookOnePar): layout as layout
7441 (getLists): layout as layout
7443 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7445 * CutAndPaste.C (cutSelection): layout as layout
7446 (pasteSelection): layout as layout
7447 (SwitchLayoutsBetweenClasses): layout as layout
7449 * BufferView_pimpl.C (Dispatch): layout as layout
7450 (smartQuote): layout as layout
7452 * BufferView2.C (unlockInset): layout as layout
7454 2002-06-24 André Pönitz <poenitz@gmx.net>
7456 * lyxfunc.C: fix #487
7458 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7462 * lyxfunc.C: remove display_shortcuts, show_banner
7464 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7466 * Buffer_pimpl.C: oops, update on resize
7468 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7475 * BufferView.C: use repaint()
7477 * BufferView_pimpl.h:
7478 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7479 as it's a clearer description. Remove superfluous
7482 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7484 * text.C: fix bug 488. Not ideal, but getting
7485 getWord() to work properly for the insets that
7486 matter is more difficult ...
7488 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7490 * BufferView_pimpl.C:
7493 * lyxfunc.C: remove the six million index lyxfuncs to just
7494 one, and DTRT (bug 458)
7496 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7500 * BufferView_pimpl.h:
7501 * BufferView_pimpl.C: clean up resize() stuff,
7502 and unnecessary updateScreen()s
7504 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7508 * BufferView_pimpl.h:
7509 * BufferView_pimpl.C:
7512 * minibuffer.C: remove focus management of workarea,
7513 not needed. Use screen's greyOut()
7515 2002-06-17 Herbert Voss <voss@lyx.org>
7517 * converter.C: (convert) do not post a message, when converting
7518 fails, let the calling function decide what to do in this case
7520 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7522 * lyxfunc.C: tidy up a little
7524 2002-06-16 <alstrup@diku.dk>
7526 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7527 Got rid of FORMS_H_LOCATION include. Now we are
7530 2002-06-15 LyX Development team <lyx@rilke>
7532 * buffer.[Ch] (sgmlOpenTag):
7533 (sgmlCloseTag): Added support for avoiding pernicious mixed
7534 content. Return number of lines written.
7537 (makeDocBookFile): Fixed calls to sgml*Tag.
7538 Simple white space clean.
7540 (simpleDocBookOnePar): Simple white space clean.
7542 * tabular.[Ch] (docBook): Renamed to docbook and got another
7543 argument to related with the pernicious mixed content.
7545 (docbookRow): Fixed calls for docbook inset method.
7547 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7549 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7550 so it's X11 independent.
7554 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7556 2002-06-15 Lyx Development team <lyx@electronia>
7558 * intl.h: Renamed getTrans to getTransManager.
7560 2002-06-14 Angus Leeming <leeming@lyx.org>
7562 * Makefile.am: nuke forgotten stl_string_fwd.h.
7564 2002-06-12 Angus Leeming <leeming@lyx.org>
7566 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7568 2002-06-13 Angus Leeming <leeming@lyx.org>
7571 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7573 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7575 * kbmap.C (getiso): add support for cyrillic and greek
7577 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7581 * BufferView_pimpl.h:
7582 * BufferView_pimpl.C: move bogus scrolling logic
7585 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7588 * BufferView_pimpl.C: view->resize() change
7590 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7592 * BufferView_pimpl.C: topCursorVisible
7595 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7599 * lyx_gui.C: move to frontends/
7603 * lyx_main.C: changes from above
7605 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7612 * lyx_main.C: minor tidy
7614 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7616 * BufferView_pimpl.h:
7617 * BufferView_pimpl.C:
7619 * BufferView.C: make painter() const,
7622 * BufferView2.C: use screen() accessor
7625 * lyx_main.C: some minor cleanup
7627 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7629 * BufferView_pimpl.h:
7630 * BufferView_pimpl.C: remove enter/leaveView,
7633 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7638 * BufferView_pimpl.h:
7639 * BufferView_pimpl.C: only construct screen once,
7642 * lyxrc.C: remove pointless comment
7644 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7647 * BufferView.C: remove active() and belowMouse()
7649 * BufferView_pimpl.h:
7650 * BufferView_pimpl.C: use workarea() not workarea_,
7651 and make it use a scoped_ptr instead
7653 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7655 * lyx_gui.C: add debug message on BadWindow
7657 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7659 * sp_spell.C: fdopen is not part of the C++ standard.
7661 * paragraph.C (InsetIterator): use >= instead of ==
7663 2002-06-07 Angus Leeming <leeming@lyx.org>
7665 Fixes needed to compile with Compaq cxx 6.5.
7666 * BufferView_pimpl.C:
7673 * lyxtextclasslist.C:
7678 all c-library variables have been moved into namespace std. Wrap
7679 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7684 Add a using std::abs declaration.
7686 * kbmap.h (modifier_pair):
7687 * paragraph.h (InsetTable, InsetList):
7688 * lyxfont.h (FontBits):
7689 type definition made public.
7691 * bufferlist.C (emergencyWriteAll): the compiler complains that
7692 there is more than one possible lyx::class_fun template to choose from.
7693 I re-named the void specialisation as lyx::void_class_fun.
7695 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7697 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7698 the compiler is is unable to find tostr in write_attribute.
7700 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7702 * buffer.C (sgmlError): hide #warning
7704 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7706 * xtl/*: get rid of xtl, which is not in use anyway
7708 * LyXAction.C (init):
7709 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7710 were unimplemented xtl experimentation
7712 2002-06-04 André Pönitz <poenitz@gmx.net>
7714 * lyxfunc.C: disable array operation on simple formulae
7716 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7718 * converter.C: constify a bit
7720 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7722 * lyx_gui.C: check xforms version correctly
7724 2002-04-30 Herbert Voss <voss@lyx.org>
7726 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7729 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7731 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7732 attempt to register it with a VCS)
7734 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7736 * lyx_main.C (init): honor variables LYX_DIR_13x and
7739 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7743 * lyx_main.C: fix a crash on bad command line,
7744 and give a useful exit status on error
7746 * lyxfunc.C (doImport): allow -i lyx to work
7748 2002-03-30 André Pönitz <poenitz@gmx.net>
7750 * lyxfunc.C: mathed font changes
7752 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7767 * trans_mgr.h: srcdocs, and some minor cleanups
7769 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7771 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7772 call getFont all the time)
7774 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7776 * switch from SigC signals to boost::signals
7778 2002-05-29 André Pönitz <poenitz@gmx.net>
7780 * paragraph_pimpl.C (getChar): don't call size() too often...
7782 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7784 * paragraph_pimpl.C (insertChar): do not try to update tables when
7785 appending (pos == size())
7787 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7788 in order to reduce drastically the number of comparisons needed to
7789 parse a large document
7791 2002-05-29 André Pönitz <poenitz@gmx.net>
7797 * textclasslist.[Ch]:
7798 * sp_ispell.h: whitespace change
7800 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7802 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7803 lyxaction directly now.
7805 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7809 * lyxvc.C: remove unused headers
7811 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7818 * undo_funcs.C: some cleanups. Use shared_ptr
7819 and a template for the undo stacks.
7821 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7823 * BufferView_pimpl.h:
7824 * BufferView_pimpl.C:
7831 * text2.C: use key_state/mouse_state
7833 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7835 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7838 * chset.C: change include order
7839 (loadFile): use boost regex and get rid of LRegex and LSubstring
7841 * Makefile.am (BOOST_LIBS): new variable
7844 * LaTeX.C: change include order.
7845 (scanAuxFile): use boost regex and get rid of LRegex and
7849 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7854 * FontInfo.C: moved to frontends/xforms/
7857 * FontLoader.C: moved into frontends for GUIIzation
7862 * lyxfunc.C: changes from above
7864 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7866 * LColor.C: remove spurious X include
7868 * BufferView_pimpl.C:
7873 * text2.C: move font metrics to frontends/
7875 2002-05-24 Juergen Vigna <jug@sad.it>
7877 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7878 setting the undo_cursor.
7880 * ParagraphParameters.h: include local includes first.
7882 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7884 * BufferView_pimpl.C:
7885 * BufferView_pimpl.h:
7889 * screen.C: move WorkArea into frontends/
7895 * BufferView2.C: move LyXScreen into frontends/
7899 * lyx_gui.C: move lyxlookup into frontends/xforms/
7901 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7904 * BufferView_pimpl.C:
7914 * bufferview_funcs.C:
7927 * vc-backend.C: move LyX/XFormsView into frontends/
7929 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7941 * text2.C: move Painter to frontends/
7943 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7945 * buffer.C: comment out some some code that depend upon lyx_format
7948 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7949 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7951 * buffer.h (NO_COMPABILITY): turn off compability
7953 * ColorHandler.C: include scoped_array.hpp
7955 * font.C: Use more specific smart_ptr header.
7958 * ShareContainer.h: ditto
7962 * BufferView_pimpl.h: ditto
7963 * ColorHandler.h: ditto
7965 * kbmap.C (defkey): change call to shared_ptr::reset
7967 2002-05-21 Juergen Vigna <jug@sad.it>
7969 * buffer.C (insertErtContents): fix to insert ert asis if it is
7970 non empty. Skip it completely if it contains only whitespaces.
7972 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7974 * BufferView_pimpl.C:
7975 * BufferView2.C: clear selection on paste (bug 393)
7977 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7979 * DepTable.C: include ctime
7981 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7983 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7985 2002-05-14 Juergen Vigna <jug@sad.it>
7987 * text.C (breakParagraph): fixed function to honor the keepempty
7988 layout in the right maner and also to permit the right breaking
7989 algorithm on empty or non empyt keepempty paragraphs.
7991 * paragraph.C (breakParagraph): we have to check also if the par
7992 is really empty (!size()) for isempty otherwise we do the wrong
7995 2002-05-10 Juergen Vigna <jug@sad.it>
7997 * buffer.[Ch] : The following are only changes to the ert
7998 compatibility read reading old LaTeX layout and font stuff and
7999 convert it to ERTInsets.
8001 * buffer.h: added isErtInset().
8003 * buffer.C (struct ErtComp): add a fromlayout bool to check
8004 if we're inside a LaTeX layout.
8005 (isErtInset): new helper function.
8006 (insertErtContents): look for other ert insets before this one
8007 and insert the contents there, so that we don't have subsequent
8008 ERT insets with nothing between them. This way we create only one
8009 inset with multiple paragraphs. Also check if we don't insert only
8010 spaces ' ' as they are ignored anyway afterwards in the .tex file
8011 so if we have only spaces we will ignore this latex part in the
8013 (parseSingleLyXformat2Token \\layout): better compatibility when
8014 reading layout-latex stuff.
8015 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8017 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8018 stuff after reading the inset only get the information back from
8021 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8023 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8025 * LaTeXFeatures.C (getBabelOptions): New method.
8027 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8029 * BufferView_pimpl.C (Dispatch): work around missing argument for
8032 2002-05-08 Juergen Vigna <jug@sad.it>
8034 * text.C (leftMargin): handle paragraph leftindent.
8036 * paragraph.C (writeFile): write the new \\leftindent tag.
8037 (validate): handle leftindent code.
8038 (TeXEnvironment): handle paragraphleftindent code again.
8040 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8042 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8043 for paragrap_extra indent code and new token \\leftindent.
8044 (latexParagraphs): handle the leftindent as environment.
8046 * ParameterStruct.h: added leftindent support.
8048 * ParagraphParameters.C (leftIndent): added support functions for
8049 the paragraph left indent.
8051 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8054 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8056 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8059 * text.C (computeBidiTables): No bidi in insetERT.
8061 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8064 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8066 * version.C.in: pre 5
8068 2002-05-02 José Matos <jamatos@fep.up.pt>
8069 * buffer.C (makeDocBookFile): white space changes, add newline to
8071 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8073 * tabular.C (docBook): fix typo.
8075 2002-05-03 Juergen Vigna <jug@sad.it>
8077 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8078 change in LyXText as we can not be sure it was not freed.
8079 (drawOneRow): remove unused code.
8081 * text.C (drawInset): redo the calculation of the need_break_row as
8082 it could have a row which was already freed.
8083 (draw): look at the return value of drawInset and return false if
8084 it also returned false.
8085 (paintRowText): look at the return value of draw and return false if
8086 it also returned false.
8088 * lyxtext.h: added bool return type to drawInset() and draw() so that
8089 if we have a change in the row so that the rowbreak has to be redone
8090 we abort drawing as it will be called again.
8092 2002-05-02 Juergen Vigna <jug@sad.it>
8094 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8095 a change in the maintext also if we're inside an inset.
8096 (Dispatch): set the cursor again after a break line and after the
8097 screen has been updated as it could be we're in a different row.
8099 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8100 to set the cursor behind the pargraph with > size().
8101 (setCursor): check also for the same paragraph when checking where
8102 to put the cursor if we have a NFR inset.
8104 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8105 parts of layout read further up as it still was in the wrong
8108 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8110 * screen.C (drawFromTo): change sine fullRebreak always return
8113 * buffer.C (parseSingleLyXformat2Token): reindent some
8115 * BufferView_pimpl.C (update): change since fullRebreak always
8117 (Dispatch): git rid of the last hardcoded "Standard"s.
8119 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8121 * text2.[Ch] (fullRebreak): make it return void now that we always
8124 2002-04-30 Juergen Vigna <jug@sad.it>
8126 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8127 ert compatibility check for "latex" layout.
8129 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8131 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8132 minipages: use col% instead of p%, and also use the current font.
8133 (makeLaTeXFile): Fix use babel condition.
8134 (parseSingleLyXformat2Token): Correct font when reading old floats.
8136 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8138 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8139 inserting list of floats.
8141 2002-04-25 Herbert Voss <voss@lyx.org>
8143 * MenuBackend.C (expand): don't add the graphics extensions to the
8146 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8148 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8149 non-existing layout, do not complain if it was the default layout
8150 of the original class (bug #342)
8152 2002-04-24 Juergen Vigna <jug@sad.it>
8154 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8155 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8157 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8159 * buffer.C (getBibkeyList): If using \bibliography, return the
8160 option field with the reference itself. Enables us to provide natbib
8161 support when using \bibliography.
8163 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8165 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8167 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8168 natbib is provided by the LaTeX class.
8170 2002-04-23 Juergen Vigna <jug@sad.it>
8172 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8175 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8177 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8179 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8181 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8182 ensuremath around textordmasculine, textordfeminine and
8185 2002-04-19 Juergen Vigna <jug@sad.it>
8187 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8188 reinitializing the buffer otherwise row-dimensions may be wrong.
8189 (update): reset also the selection cursors if they do exits otherwise
8190 their x/y positions may be wrong.
8192 * text2.C (cursorDown): don't enter the inset if we came from a row
8193 above and are one row over the inset.
8195 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8196 really leaving an inset.
8198 2002-04-18 Juergen Vigna <jug@sad.it>
8200 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8201 of the selected paragraph does not have the selected layout also if
8204 * text2.C (setLayout): fixed bug which did not change last selected
8207 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8208 changed the read and substituted \\end_float with \\end_inset!
8210 * BufferView_pimpl.C (cursorPrevious):
8211 (cursorNext): fixed to make it work with rows heigher than the work
8212 area without moving the cursor only the draw of the row.
8213 (workAreaMotionNotify): fix jumping over high rows.
8215 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8217 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8220 2002-04-16 Juergen Vigna <jug@sad.it>
8222 * text2.C (setCursor): set also the irow().
8223 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8225 (cursorDown): support for locking an inset if the x_fix value goes
8226 inside it. That way I can transverse insets too with cursor up/down.
8228 * lyxrow.h: added irow helper function same as other (i) functions.
8230 * BufferView_pimpl.C (cursorPrevious):
8231 (cursorNext): fixed for insets!
8233 2002-04-15 Juergen Vigna <jug@sad.it>
8235 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8236 position otherwise it is wrong in some cases.
8238 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8239 inside the inset before the call.
8241 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8243 * buffer.[Ch] (getBibkeyList): make it const.
8245 2002-04-12 Juergen Vigna <jug@sad.it>
8247 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8249 * text2.C (getCursorX): new helper function
8250 (setCursor): compute also ix_
8251 (setCursorFromCoordinates): set also ix.
8253 * lyxcursor.h: added ix_ and helper functions.
8255 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8257 * buffer.C (insertStringAsLines): dont break paragraph if the this
8258 paragraph is inside an inset which does not permit it!
8260 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8261 also with no chars on this paragraph.
8262 (paintRowText): only paint stuff if it's inside the workarea!
8264 * paragraph.C (breakParagraph): honor keepempty flag and break the
8265 paragraph always below not above.
8267 * BufferView2.C (unlockInset): update the paragraph layout on inset
8268 unlock as we changed paragraph in such a case.
8270 * lyxfind.C (LyXFind): clear the former selection if not found!
8272 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8273 again called in insertChar().
8275 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8276 an inset which uses the whole row!
8277 (rightMargin): ditto.
8278 (insertChar): force a rebreak if we inserted an inset!
8280 2002-03-28 Herbert Voss <voss@lyx.org>
8282 * lyxlength.[Ch]: add inBP() to get the right PS-point
8283 units (BigPoint). With inPixels we have rounding errors
8285 2002-04-11 Juergen Vigna <jug@sad.it>
8287 * text2.C (setCursorFromCoordinates): set iy to the right value.
8288 (setCursor): add check if row->previous exists!
8290 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8291 an old float_type as this was the case in the old code!
8293 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8295 * BufferView2.C (showLockedInsetCursor): use iy
8296 (fitLockedInsetCursor): ditto
8298 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8299 locked insets as there we have the right value now.
8301 * lyxcursor.C: added iy_ variable and iy functions to set to the
8302 baseline of cursor-y of the locked inset.
8304 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8305 (setCursor): fixed for insets which need a full row.
8307 * text.C (rowLastPrintable): don't ignore the last space when before
8308 an inset which needs a full row.
8309 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8310 as last character of a row when before a inset which needs a full row.
8312 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8314 * version.C.in: update date
8316 * text2.C (fullRebreak): try to always return true and see what
8319 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8321 * MenuBackend.C (expand): use Floating::listName
8323 * FloatList.C (FloatList): add listName argument to the built-in
8326 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8327 text associated with the float.
8329 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8331 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8333 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8335 * ShareContainer.h: add a couple of missing typenames.
8337 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8339 * lyxrc.C (getDescription): use _() correctly rather than N_().
8341 2002-03-28 Herbert Voss <voss@lyx.org>
8343 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8344 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8346 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8348 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8349 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8351 2002-03-29 Juergen Vigna <jug@sad.it>
8353 * lyxfunc.C (dispatch): add a missing fitCursor call.
8355 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8356 it was scrolled by a cursor move, so return the bool status.
8358 * BufferView.C (fitCursor): return the bool flag also to the outside
8359 world as this is needed.
8361 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8363 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8364 call the edit() as it is not needed (and wrong) IMO.
8365 (workAreaButtonPress): set the screen_first variable before evt.
8366 unlock the inset as this may change screen_first and then we have
8367 a wrong y position for the click!
8369 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8371 * MenuBackend.C (expand): another translation that I missed
8373 2002-03-28 Juergen Vigna <jug@sad.it>
8375 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8377 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8379 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8381 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8383 * MenuBackend.C (expand): fix export/view/update when there is no
8386 2002-03-27 Herbert Voss <voss@lyx.org>
8388 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8391 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8393 * bufferview_funcs.C (currentState): only show paragraph number
8394 for is DEVEL_VERSION is set.
8396 * lyxfunc.C (dispatch): put warning in INFO channel
8398 * MenuBackend.C (expand): translate the name of floats
8400 * FloatList.C (FloatList): mark the float names for translation
8402 * converter.C (convert): use LibScriptSearch
8404 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8406 * MenuBackend.C (defaults): fix default menu (we might as well get
8409 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8411 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8414 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8416 * lyxvc.C: reorder includes.
8418 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8420 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8423 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8425 * CutAndPaste.C: change layouts earlier on paste
8426 to avoid crashing when calling getFont()
8428 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8430 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8433 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8435 * WorkArea.C: remove 'Pending' debug message.
8437 * most files: ws cleanup
8439 * buffer.[Ch]: ws changes
8441 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8443 2002-03-21 Juergen Vigna <jug@sad.it>
8445 * tabular.C (SetMultiColumn): collapse also the contents of the
8446 cells and set the last border right. Added a Buffer const * param.
8448 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8450 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8453 2002-03-19 Juergen Vigna <jug@sad.it>
8455 * text2.C (clearSelection): reset also xsel_cache.
8457 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8458 where it needs to be called (John tells us to do so too :)
8459 (selectionLost): reset sel_cache.
8461 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8463 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8465 * text2.C (setCursorIntern): put debuging code in INSETS channel
8467 2002-03-19 André Pönitz <poenitz@gmx.net>
8469 * lyxfunc.C: tiny whitespace change
8471 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8473 * ToolbarDefaults.C (init):
8474 * LyXAction.C (init):
8476 * BufferView_pimpl.C (Dispatch):
8477 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8479 2002-03-19 Allan Rae <rae@lyx.org>
8481 * exporter.C (Export): removeAutoInsets before doing anything else.
8482 While I've just introduced a dependency on BufferView this really is
8483 the best place to clean the buffer otherwise you need to cleanup in
8484 a dozen places before calling export or cleanup in a dozen functions
8487 * converter.C (runLaTeX):
8488 (scanLog): Better handling of removeAutoInsets and screen updates.
8490 * lyxfunc.C (dispatch): small whitespace changes
8492 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8494 * WorkArea.C (C_WorkAreaEvent): return a value.
8495 (event_cb): return 1 if we handled the event, 0 otherwise.
8497 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8499 2002-03-18 Juergen Vigna <jug@sad.it>
8501 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8502 (GetAdditionalWidth): ditto.
8506 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8507 inset if we're there actually (probably not used right now but this
8508 is the direction to go for unifying code).
8509 (paste): disable code to clear the selection.
8511 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8512 inside an InsetText and move the check further up as it is in the
8515 * text2.C (pasteSelection): set a selection over the pasted text.
8517 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8519 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8520 and libgraphics to build on Cygwin.
8522 2002-03-15 Juergen Vigna <jug@sad.it>
8524 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8525 inserting an Inset into the paragraph. I know this is not the best
8526 fix but we already use current_view in CutAndPaste so we will remove
8527 all of it's using at the same time.
8529 * buffer.C (sgmlError): deactivated function till it is rewritten in
8530 the right mode, now it can create problems.
8532 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8533 before accessing it.
8535 2002-03-14 Juergen Vigna <jug@sad.it>
8537 * undo_funcs.C (textHandleUndo): do the right thing when updating
8538 the inset after the undo/redo.
8540 * text2.C (setCursor): just some testcode for #44 not ready yet.
8542 * undo_funcs.C (textHandleUndo): set the next() and previous()
8543 pointers of the paragraph to 0 before deleting otherwise we have
8544 problems with the Paragraph::[destructor].
8546 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8547 on a paragraph insertion.
8549 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8551 * buffer.C (asciiParagraph): use += operator for char append to
8554 * paragraph.C (getFontSettings): compare >= not just >
8555 (highestFontInRange): ditto
8558 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8560 * paragraph.C: change several algorithm to be more appripriate for
8561 the problem domain. This is lookip in FontList and in the InsetList.
8563 2002-03-13 André Pönitz <poenitz@gmx.net>
8566 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8568 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8573 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8575 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8577 * Painter.C (display): anon helper function, adjust code for this
8579 (pixmap): remove function.
8581 * Painter.h: remove private display variable.
8583 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8585 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8587 * WorkArea.[Ch]: remove figinset_canvas cruft.
8589 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8591 * lyxtextclass.C (operator): add one item cache optimization.
8593 * bufferlist.h: doxy changes
8595 * bufferlist.C: ws changes
8597 * DepTable.[Ch] (ext_exist): place const in the right spot.
8599 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8601 (workAreaExpose): call resizeInsets when the with BufferView changes.
8602 (Dispatch): adjust for protectedBlank removal
8603 (specialChar): call updateInset if the insert went ok.
8605 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8606 specialChar instead.
8608 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8610 * BufferView.h: doxy change
8612 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8614 * lyxtextclass.C (operator[]): remove non-const version
8615 (defaultLayout): remove non-const version
8617 2002-03-12 Juergen Vigna <jug@sad.it>
8619 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8620 did resize the LyXText too.
8622 * buffer.C (readLyXformat2): set layout information on newly allocated
8625 * tabular.C (OldFormatRead): set layout information on the paragraph.
8627 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8629 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8631 2002-03-11 Juergen Vigna <jug@sad.it>
8633 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8635 (resizeCurrentBuffer): force also the insets to resize themselfes.
8636 (moveCursorUpdate): fixed up for InsetText.
8638 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8641 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8642 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8643 value of Dialogs::tooltipsEnabled().
8644 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8646 2002-03-08 Juergen Vigna <jug@sad.it>
8648 * BufferView_pimpl.C (updateInset): update inset inside inset also
8649 if it isn't inside theLockingInset().
8651 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8653 * buffer.C (asciiParagraph): redo some of the word and line length
8655 (getLists): look for Caption instead of caption.
8657 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8659 * buffer.C (Buffer): initialize niceFile to true
8662 (makeDocBookFile): make sure niceFile is true on exit
8664 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8666 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8668 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8670 * LyXSendto.C: remove.
8671 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8672 * lyx_gui.C: remove now-redundant comment.
8673 * ColorHandler.h: remove forward declaration of class WorkArea.
8674 * lyxfunc.C: remove #include "WorkArea.h".
8676 2002-03-07 Juergen Vigna <jug@sad.it>
8678 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8679 got moved away with the DEPM and also set the inset_owner always
8680 right which before could have been omitted.
8682 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8684 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8685 wanted layout is not found.
8687 2002-03-07 Juergen Vigna <jug@sad.it>
8689 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8691 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8693 * paragraph.C (breakParagraph): use default layout not layout of
8695 (Paragraph): clear ParagraphParameters.
8697 2002-03-06 Juergen Vigna <jug@sad.it>
8699 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8700 otherwise it would not be a valid lenght. Fixed a special case in
8701 the minipage compatibility read where we end the document with a
8704 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8705 was set as it could be 0 for InsetTexts first entry.
8707 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8709 * paragraph.C (writeFile): if layout is empty write out
8710 defaultLayoutName().
8712 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8713 file without named layout we set layout to defaultLayoutName().
8715 2002-03-06 Juergen Vigna <jug@sad.it>
8717 * CutAndPaste.C (copySelection): set layout for new paragraph.
8719 * text.C (prepareToPrint): leave ERT inset left aligned
8720 (leftMargin): don't indent paragraphs inside ERT insets
8722 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8724 * paragraph.C (breakParagraph): dont call clear do the work manually
8726 * paragraph.[Ch] (clear): remove function
8728 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8730 * paragraph.C (Paragraph): dont call clear, the work has already
8733 * lyxtextclass.C (operator): assert if n is empty
8735 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8736 work manually instead.
8738 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8740 * BufferView_pimpl.C: protect selectionLost against text == 0
8742 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8744 * text.C (breakParagraph): fix a setting layout to '0' problem.
8746 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8748 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8749 final location of file, for the included files, and graphics.
8751 2002-03-05 Juergen Vigna <jug@sad.it>
8753 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8755 2002-03-04 Juergen Vigna <jug@sad.it>
8757 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8759 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8760 last column of multicolumn cells.
8761 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8763 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8765 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8766 file if it doesn't go to a temporary file.
8768 * buffer.C (sgmlOpenTag):
8769 (sgmlCloseTag): remove extra newline insertion.
8771 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8773 * text.C (getRowNearY): comment out debug msg
8775 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8777 * text2.C: first -> first_y
8779 * text.C (getRowNearY): add some attemts at a possible
8780 optimization, not working.
8782 * tabular.[Ch]: add BufferParams to several function so that newly
8783 created paragraph can be initialized to he default layotu for the
8786 * tabular-old.C (ReadOld): add buf->params to call of Init
8788 * screen.C: rename text->first to text->first_y
8790 * paragraph.C (breakParagraph): always set layout in the broken
8793 * lyxtextclass.C (Read): remove lowercase
8796 (delete_layout): ditto
8798 * lyxtext.h: rename first -> first_y
8800 * lyxlayout.C (Read): remove lowercase
8803 (obsoleted_by): ditto
8805 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8807 * buffer.C (insertErtContents): add params are to InsetERT
8808 (parseSingleLyXformat2Token): add code to check if a paragraphs
8809 layout really exist.
8810 (parseSingleLyXformat2Token): add params to several inset
8812 (asciiParagraph): remove lowercase, do the layout comparisons with
8815 * BufferView_pimpl.C (cursorNext): first -> first_y
8816 (resizeCurrentBuffer): first -> first_y
8817 (updateScrollbar): first -> first_y
8818 (scrollCB): first -> first_y
8819 (workAreaMotionNotify): first -> first_y
8820 (workAreaButtonPress): first -> first_y
8821 (checkInsetHit): first -> first_y
8822 (cursorPrevious): first -> first_y
8823 (cursorNext): first -> first_y
8824 (Dispatch): add buffer_->params to severl inset contructors
8826 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8828 * lyxlayout.C (Read): remove some debug info that I forgot.
8830 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8831 clean up the code slightly.
8832 (makeLinuxDocFile): ditto
8833 (makeDocBookFile): ditto
8835 * text2.C: layout as string
8837 * text.C: layout as string
8839 * paragraph_pimpl.C: layout as string
8841 * paragraph.[Ch]: layout as string
8843 * lyxtextclasslist.[Ch]: layout as string
8845 * lyxtextclass.[Ch]: layout as string
8847 * lyxtext.h: layout as string
8849 * lyxlayout.[Ch]: layout as string
8851 * lyx_cb.C: layout as string
8853 * bufferview_funcs.C: layout as string
8855 * bufferparams.C: layout as string
8857 * buffer.C: layout as string
8859 * LyXView.[Ch]: layout as string
8861 * LaTeXFeatures.[Ch]: layout as string
8863 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8865 * BufferView_pimpl.C: change current_layout to string, remove
8870 (workAreaButtonRelease): layout as string
8872 * BufferView2.C (unlockInset): adjust
8874 * vspace.C (asLatexCommand): use an explict temp variable.
8876 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8878 * Makefile.am: use FRONTEND_*
8880 2002-03-01 Juergen Vigna <jug@sad.it>
8882 * tabular.C (SetWidthOfMulticolCell): changed to something better
8883 I hope but still work in progress.
8884 (recalculateMulticolumnsOfColumn): renamed function from
8885 recalculateMulticolCells as it is more appropriate now.
8886 (SetWidthOfCell): calculate multicols better.
8888 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8890 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8892 * lyxfunc.C (processKeySym): print sequence also if it is
8893 `deleted' (complete)
8895 * kbsequence.C (print): print sequence even if it is deleted
8896 (complete would be a better word, actually).
8898 * lyxfunc.C (dispatch): print complete options after a prefix key
8900 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8902 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8904 * text2.C (setCharFont): eliminate setCharFont code duplication.
8906 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8908 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8909 LFUN_TABULAR_FEATURE (bug #177)
8911 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8913 * Makefile.am: remove figure.h
8915 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8917 * Bufferview_pimpl.C:
8929 * text2.C: remove #include "lyx_gui_misc.h".
8931 * LaTeX.C: added #include <cstdio>
8933 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8935 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8936 that the paragraph following this one can have.
8938 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8940 * vspace.C (asLatexCommand): fix bogus gcc warning
8942 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8944 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8946 * text2.C (setLayout): get rid of redundant code
8948 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8950 * text2.C (incDepth): make sure depth cannot be increased beyond
8953 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8955 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8956 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8958 * PainterBase.h (image):
8959 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8962 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8966 * BufferView_pimpl.C:
8967 * BufferView_pimpl.h:
8987 * sp_spell.C: remove fig inset, and the crap house of
8988 cards that follows it
8990 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8996 * nt_defines.h: move .h into support/
8998 * vms_defines.h: remove
9000 * WorkArea.C: add space in debug output
9004 * buffer.C: add WITH_WARNINGS
9008 * bufferlist.C: s/retrive/retrieve/, add docs
9019 * lyxgui.C: add ID to X error handler
9021 * lyxtestclass.c: fix typo
9023 2002-02-26 Juergen Vigna <jug@sad.it>
9025 * tabular_funcs.C (write_attribute): changed so that some default
9026 attributes are not written at all.
9027 (getTokenValue): set default values before trying to read the
9028 value so we have the return value always set as default if we don't
9029 find the token we search for.
9031 * tabular.C (Write): write bools as bools not as strings!
9033 2002-02-22 Juergen Vigna <jug@sad.it>
9035 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9036 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9038 * text.C (leftMargin): don't add an indent for paragraphs inside
9039 tabular cells (fix #208).
9041 2002-02-21 José Matos <jamatos@fep.up.pt>
9043 * tabular.C (docBook): fixed support for long tables.
9045 2002-02-20 Juergen Vigna <jug@sad.it>
9047 * text2.C (getFont): get the drawing font of the Inset if this
9048 paragraph is inside an inset (only important for InsetERT for now).
9050 * buffer.C (insertErtContents): use new lanugage params in ERT
9053 * CutAndPaste.C: commenting out seemingly uneeded code.
9055 2002-02-19 Allan Rae <rae@lyx.org>
9057 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9058 Iterators might be simple to use but they also get invalidated.
9059 (removeAutoInsets): renamed saved cursor tracking variables and added
9060 some comments to clarify what everything does.
9062 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9069 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9070 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9073 * vc-backend.h: remove #include "support/syscall.h"
9077 * converter.C: rearrange #includes in Lars' approved fashion.
9079 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9080 forward declare class Timeout in the header file.
9082 * XFormsView.C: changes due to the above.
9084 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9087 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9088 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9090 2002-02-18 José Matos <jamatos@fep.up.pt>
9092 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9095 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9097 * a lot of small ws changes
9098 * add a lot of using std::XXX
9099 * use std construcs some places where approp.
9100 * use some exisint stuff from lyxfunctional where approp.
9101 * Make file changes to use partial linking (lets test this now...)
9103 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9107 remove #include "support/syscontr.h" as it's redundant. Always has been.
9115 change Systemcalls::System to Systemcalls::Wait and
9116 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9117 No change of functionality, just reflects the stripped down Systemcalls
9120 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9122 * debug.[Ch]: add a GRAPHICS type to the enum.
9124 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9126 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9128 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9131 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9133 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9134 match the changes below.
9136 * text2.C (toggleInset): if there is not editable inset at cursor
9137 position, try to see if cursor is _inside_ a collapsable inset
9140 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9142 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9143 document menu has a nice checkbox
9145 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9147 * lyxlength.C (asLatexString): change PW to output as percent of
9150 * lengthcommon.C: change '%' to 't%'
9152 * lyxfunc.C (dispatch): a few comments from Martin
9154 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9158 * BufferView_pimpl.h:
9159 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9162 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9164 * vspace.C (inPixels): fix compiler warning
9166 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9168 * lyxfunc.C (getStatus): fix status message for disabled commands.
9170 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9172 * BufferView_pimpl.C: fix crash on close buffer
9173 during selection (#227)
9175 2002-01-27 Herbert Voss <voss@lyx.org>
9177 * buffer.C: link old Figure to new graphic inset
9179 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9181 * FontLoader.C (getFontinfo): Change the latex font names in order
9182 to match the names of type1inst.
9184 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9186 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9188 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9191 (remove_files_with_extension): ditto
9192 (remove_file): ditto
9195 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9196 document is smaller than the work area height. Do not initialize
9197 static variables to 0.
9199 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9201 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9203 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9204 LFUN_LAYOUT_PARAGRAPHS.
9206 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9207 tabular. It is possible to provide a possible cell, which will
9208 typically be the actcell from the corresponding insettabular
9210 * lyxfunc.C (getStatus): small cleanup; disable
9211 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9214 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9216 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9218 * paragraph.C (startTeXParParams):
9219 (endTeXParParams): new methods. The LaTeX code to
9220 start/end paragraph formatting
9221 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9222 empty (fixes bug #200)
9224 * vspace.C (inPixels): adapt to the change below
9225 (inPixels): [later] more cleanups (remove unused variables)
9227 * lyxlength.C (inPixels): change to use a width and a height as
9230 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9232 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9233 Replaced with \paperwidth
9235 * DepTable.C (insert): add std:: qualifier
9237 2002-01-18 Allan Rae <rae@lyx.org>
9239 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9242 * text.C (drawInset): Turned out I didn't know enough about how
9243 rebreaking worked. This fixes most of the redraw problems. I see
9244 an occasional cursor trail when a line is broken now and the cursor
9245 placement can seem out by a few pixels also after a rebreak.
9247 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9249 * buffer.C (parseSingleLyXformat2Token): update because minipage
9250 width is now a LyXLength
9252 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9254 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9257 2002-01-17 Juergen Vigna <jug@sad.it>
9259 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9261 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9262 is set correctly and the inset is updated correctly.
9264 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9266 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9267 the beginning of the loop.
9269 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9271 * lyxrc.C: improve help for use_scalable_fonts
9273 2002-01-17 Allan Rae <rae@lyx.org>
9275 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9277 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9279 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9280 make sure to set their inset_owner to the right value (bug #171)
9282 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9285 * DepTable.C: Implement mtime checking to reduce time spent doing
9288 2002-01-16 Juergen Vigna <jug@sad.it>
9290 * tabular.C (GetAdditionalHeight): one of error fixed.
9292 * lyxrc.C (output): small fix in writing use_pspell.
9294 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9296 * sp_base.h: #include LString.h
9298 2002-01-16 Allan Rae <rae@lyx.org>
9300 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9301 Can someone check this please?
9303 * text.C (drawInset): It was possible that p.row would be removed by
9304 breakAgainOneRow upsetting a few other settings. There may be another
9305 small tweak possible by setting need_break_row = 0 when p.row has been
9306 removed but I don't know enough about the logic here.
9308 2002-01-15 Allan Rae <rae@lyx.org>
9310 * text.C (insertChar): removed conditional truism.
9312 * BufferView2.C (removeAutoInsets): More tweaks.
9313 cur_par_prev could be a stray pointer. Check for trailing empty line
9314 in case last line was cur_par and only had an error inset on it.
9316 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9318 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9321 * vc-backend.C (most methods):
9322 * exporter.C (Export):
9323 * converter.C (convert):
9325 * LyXSendto.C (SendtoApplyCB):
9326 * lyxfunc.C (dispatch):
9330 * lyx_cb.C (AutoSave):
9332 * BufferView_pimpl.C (MenuInsertLyXFile):
9333 * buffer.C (runChktex): use Buffer::filePath().
9335 * buffer.h: rename filename to filename_; rename filepath to
9336 filepath_ and make it private
9337 (filePath): new method
9339 * buffer.C (writeFile): use fileName()
9342 * lyx_main.C (init): fix starting of LyX when the binary is a
9343 link from so,ewhere else.
9345 * minibuffer.C: include <cctype> for isprint
9347 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9349 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9350 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9351 name clash with InsetCollapsable's width function.
9353 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9355 * lastfiles.C: include <iterator>
9357 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9359 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9362 * buffer.C (makeLaTeXFile): ditto.
9363 Also make loop operation more transparent.
9365 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9367 * ToolbarDefaults.C: remove trailing comma closing namespace.
9369 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9371 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9374 * trans.C (Load): comment out unused variable, allowed.
9376 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9378 * minibuffer.[Ch] (append_char): new method to recieve input from the
9379 drop-down completion browser. If a key was pressed, then recieve this
9380 char and append it to the existing string.
9381 (peek_event): modify the positioning data passed to the completion
9382 browser so that it can be placed above the minibuffer rather than below.
9383 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9385 * LyXAction.C (init): alloe error-next for readonly documents.
9387 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9390 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9392 * bufferlist.C (readFile): create the buffer _after_ checking that
9395 * lyxfunc.C (verboseDispatch): fix handling of arguments
9397 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9399 * lyxrc.C: use string::erase() instead of initializing to "".
9402 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9404 * BufferView_pimpl.h:
9405 * BufferView_pimpl.C:
9408 * text2.C: tell X when we have made a selection for copying
9410 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9412 * BufferView_pimpl.C (MenuInsertLyXFile):
9413 * lyxfunc.C (menuNew):
9415 (doImport): add shortcuts to directory buttons
9417 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9420 * lyxfunc.C (setStatusMessage):
9421 (getStatusMessage): new methods
9422 (getStatus):use setStatusMessage instead of setErrorMessage
9423 (dispatch): when function is disabled, set error message here
9424 [instead of in getStatus previously]
9426 * BufferView_pimpl.C (workAreaButtonRelease): update
9427 toolbar/menubar here too.
9429 2002-01-13 Allan Rae <rae@lyx.org>
9431 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9432 Now seems indestructible. Remaining task is to audit all other
9433 code affected by deleteEmptyParagraphMechanism. One small quirk
9434 left is that an empty document with an error in the preamble can
9435 be made to report an error but no error box appears. I don't know
9437 (removeAutoInsets): Improved comments.
9439 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9442 * Thesaurus.C: update for Aiksaurus 0.14
9444 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9446 * text2.C (firstParagraph): removed member function, all uses
9447 replaces with ownerParagraph
9448 (redoParagraphs): here
9450 (toggleAppendix): here
9451 * BufferView2.C (insertErrors): here
9452 (setCursorFromRow): here
9454 2002-01-13 Allan Rae <rae@lyx.org>
9456 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9457 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9458 There is still a way to segfault this although you may have to do this
9459 multiple times: Have an InsetERT with an unknown command in it.
9460 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9461 <down-arrow>, <Enter> again, View->DVI, BANG!
9463 * text2.C (setCursor):
9464 (deleteEmptyParagraphMechanism):
9465 * lyxtext.h (setCursor):
9466 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9467 Making use of the return value may help fix other bugs.
9469 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9471 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9473 * LyXView.C (updateMenubar): call MenuBar::update here
9474 (updateToolbar): but not here
9475 (showState): do not update toolbar/menubar
9477 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9478 should need to care about that.
9480 * lyxfunc.C (verboseDispatch): simplify a bit
9481 (getStatus): have a version which takes a pseudoaction, and
9482 another which requires a (kb_action,string).
9484 * LyXAction.C (retrieveActionArg): make it work also when action
9485 is not a pseudo-action.
9486 (getActionName): simplify a bit
9489 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9491 * lyxfunc.C (verboseDispatch): new families of methods with
9492 several ways to specify a command and a bool to indicate whether
9493 the command name and shortcut should be displayed in minibuffer
9494 (eventually, we could extend that to a finer bitmask like
9495 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9496 (dispatch): the pristine dispatch command which just, well,
9497 dispatchs! Note it still sets its result to minibuffer; I'm not
9500 * lyxfunc.h: remove setHintMessage
9502 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9504 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9506 * BufferView_pimpl.C (specialChar): delete new inset if we have
9507 not been able to insert it.
9509 * kbmap.C: revert to using int instead of kb_action, since all we
9510 are dealing with is pseudo-actions.
9512 * LyXAction.C (searchActionArg): change to return int instead of
9513 kb_action, since the result is a pseudoaction.
9515 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9517 * buffer.C (insertErtContents): Fix (partially) the font bug.
9519 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9521 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9522 as the other one is broken on my machine!
9524 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9527 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9529 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9531 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9532 reflect their actual use. Provide compatibility code for older lyxrc
9535 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9537 change names of popup font variables in line with the changes to lyxrc.C
9539 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9541 * buffer.C (asciiParagraph): avoid outputing a word twice after
9544 * lyxrc.C (getDescription): document that document_path and
9545 template_path can be empty.
9547 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9549 * LaTeXFeatures.C (getMacros):
9550 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9552 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9554 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9556 (getPackages): rename feature "floats" to "float". Use an array to
9557 iterate over 'simple' features (i.e. just a \usepackage). Add
9558 handling of "amsmath" (renamed from "amsstyle").
9560 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9562 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9565 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9567 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9568 FuncStaus::FuncStatus & FuncStaus::some_method().
9570 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9572 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9573 of the func_satus stuff. Edited and massaged in various ways by
9576 * lyxfunc.C (getStatus): use FuncStatus
9578 2002-01-08 Juergen Vigna <jug@sad.it>
9580 * text.C (nextBreakPoint): use function Inset::isChar().
9582 * paragraph.C (TeXOnePar): use function
9583 Inset::forceDefaultParagraphs.
9585 * buffer.C (latexParagraphs): use function
9586 Inset::forceDefaultParagraphs.
9588 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9590 * lyx_gui.C (init): set the style of the menu popups to
9591 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9593 2002-01-07 Juergen Vigna <jug@sad.it>
9595 * text.C (setHeightOfRow): small fix
9596 (prepareToPrint): don't look at alignment if we don't have the place
9599 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9601 * box.C: New file. Move the Box methods and functions out of box.h,
9602 following Lars' suggestion.
9604 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9606 * box.h: #include "support/LOstream.h", needed for inlined function.
9609 * lyxtextclasslist.C: added some using std declarations.
9611 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9613 * box.h: make signed dimensions to allow insets wider than
9614 the screen (bug #162)
9616 * BufferView_pimpl.C: add some insetHit debug
9618 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9620 * vc-backend.C: add FIXME
9622 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9624 * lyxfunc.C (getStatus): enable code for showing math font status
9627 2002-01-07 Juergen Vigna <jug@sad.it>
9629 * text.C (nextBreakPoint): removed debug output not needed anymore.
9631 2002-01-06 Juergen Vigna <jug@sad.it>
9633 * text.C (nextBreakPoint): fixed up this function we had this bug
9634 since ever but now hopefully we break row better.
9635 (insertChar): we have to check if an inset is the next char as it
9636 could now happen that a large inset is causing a break.
9638 2002-01-05 Juergen Vigna <jug@sad.it>
9640 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9641 if it doesn't like to be drawed.
9643 2002-01-04 Juergen Vigna <jug@sad.it>
9645 * BufferView2.C (lockInset): forgot to set a cursor.
9647 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9649 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9654 * form_maths_panel.C:
9655 * form_maths_panel.h:
9656 * form_maths_panel.fd: implemented sub- and super- buttons in math
9659 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9660 (or ^ space) to be used as in TeX (req'd by André).
9662 * lyxfunc.C: Allow ^ and _ again to be used both as
9663 super/subscript (mathed) and as themselves (in text).
9665 2002-01-03 Allan Rae <rae@lyx.org>
9667 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9668 "LyX" or the filename of the current buffer if it has one. This is a
9669 modified form of John Levon's patch.
9671 * XFormsView.C (setWindowTitle): also set icon title.
9673 * LyXView.h (setWindowTitle): signature changed.
9674 * XFormsView.h (setWindowTitle): ditto.
9676 2002-01-02 Juergen Vigna <jug@sad.it>
9678 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9680 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9682 * screen.C (topCursorVisible): introduce a temp var for
9683 text->cursor.row(), handle the case where this row is null. (kindo
9686 * text2.C (setCursor): add a couple of asserts.
9688 * paragraph.h (inset_iterator): add -> operator
9690 * paragraph.[Ch] (autoDeleteInsets): remove member function
9692 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9693 cursor pos correctly and handle inset deletion by itself.
9694 (insertErrors): move iterator declaration out of for expression
9696 * lyxtextclass.C: add <algorithm>
9698 * Makefile.am: added the new files to sources, removed layout.C
9700 * layout.C: removed file
9702 * layout.h: remove LYX_DUMMY_LAYOUT
9704 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9708 * lyxtextclass.[Ch]:
9709 * lyxtextclasslist.[Ch]: new files
9711 * include order changes to a lot of files, also changes because of
9714 2001-12-27 Juergen Vigna <jug@sad.it>
9716 * buffer.C (asciiParagraph): more fixes.
9718 * tabular.C (ascii): make ascii export support export of only the
9719 data separated by a column-delimiter.
9720 (ascii): better support for ascii export.
9722 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9724 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * tabular_funcs.C: use a "using std::getline" instead of the
9727 previous fix from Angus (necessary for cxx + lyxstring)
9729 2001-12-24 Juergen Vigna <jug@sad.it>
9731 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9733 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9734 problems. First check a minipage also if we have some ert-contents
9735 (not only on par->size(), second set the right depth of the paragraph
9736 on the relink to the root-paragraph-list!
9738 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9739 which then did not anymore update the main paragraphs on undo/redo!
9741 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9743 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9744 code. Support all font-changing funcs (even those which are not in
9745 menu currently). Support for reporting font settings in
9746 mathed (disabled until Andre provides a function on mathed's side).
9748 * func_status.h (toggle): small helper function to set toggle
9751 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9753 * tabular_funcs.C: getline -> std::getline
9755 2001-12-21 Juergen Vigna <jug@sad.it>
9757 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9758 accessed and could be 0 (I couldn't generate this but it seems
9761 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9763 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9764 * tabular_funcs.h: here and include iosfwd
9766 2001-12-20 Juergen Vigna <jug@sad.it>
9768 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9769 inside inset but undo_par was.
9771 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9773 * Thesaurus.C: always include <config.h> in sources.
9777 * box.h: do not include <config.h> in header files
9779 * text.C (paintLastRow): remove unused variable
9781 * text.C (transformChar):
9783 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9786 * font.C (width): rewrite to use uppercase() instead of
9789 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9791 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9793 * lyxfind.C: clean up of find failure position change
9795 2001-12-20 Juergen Vigna <jug@sad.it>
9797 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9799 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9800 (TeXRow): added to LaTeX a single tabular row.
9801 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9802 (Latex): simplified and finally good LT-h/f support.
9803 (various_functions): just small adaptions for LT-h/f support.
9805 * tabular_funcs.[hC]: added and moved here all not classfunctions
9808 2001-12-19 Juergen Vigna <jug@sad.it>
9810 * tabular.[Ch]: better support for longtabular options (not finished
9813 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9815 * text.C (paintLastRow): use the label font instead of the font of
9816 the last character to compute the size of *_BOX. This makes more
9817 sense and avoids a crash with empty paragraphs.
9818 Use Painter::rectangle to draw EMPTY_BOX.
9820 2001-12-19 Juergen Vigna <jug@sad.it>
9822 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9823 the paragraphs if the replaced paragraph is not the first one!
9824 Tried to delete not used paragraphs but does not work yet so for
9825 now it's inside #ifdef's and by default off!
9827 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9829 * MenuBackend.C: include "lyx_main.h" instead of declaring
9830 lastfiles (actually was declared as LastFiles* instead of a
9833 2001-12-17 Juergen Vigna <jug@sad.it>
9835 * tabular.C (AppendColumn): applied John's fix
9837 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9841 * BufferView_pimpl.h:
9842 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9845 * box.h: new start of class for above
9847 * lyxfunc.C: ignore space-only minibuffer dispatches.
9848 Show the command name when it doesn't exist
9850 * minibuffer.C: don't add empty lines to the history
9852 * minibuffer.C: add a space on dropdown completion
9854 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9856 * text.C: fix line above/below drawing in insets
9858 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9860 * lyxlength.C (LyXLength): Initialize private variables.
9862 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9864 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9865 when inserting error insets.
9867 2001-12-13 Juergen Vigna <jug@sad.it>
9869 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9870 actually sometimes the before-paragraph.
9871 (setUndo): don't clear the redostack if we're not actually undoing!
9873 2001-12-06 Juergen Vigna <jug@sad.it>
9875 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9876 and fixed redoing of main paragraph, so we can use it now ;)
9878 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9880 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9882 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9885 2001-12-13 André Pönitz <poenitz@gmx.net>
9888 * undo_func.C: minor cleanup
9890 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9892 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9893 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9894 font in urw-fonts package which is marked as -urw-fontspecific and
9895 does not work (incidentally, changing the encoding in the
9896 fonts.dir of this package to -adobe-fontspecific fixes the
9899 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9900 is a crash when undoing first paragraph (Juergen, please take a
9901 look). THis does not mean the undo fix is wrong, just that it
9904 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9905 the (Paragraph*) version when needed instead of duplicating the
9908 * text.C (workWidth): use Inset::parOwner to find out where the
9909 inset has been inserted. This is a huge performance gain for large
9910 documents with lots of insets. If Inset::parOwner is not set, fall
9911 back on the brute force method
9913 * paragraph_pimpl.C (insertInset):
9914 * paragraph.C (Paragraph):
9915 (cutIntoMinibuffer): set parOwner of insets when
9916 inserting/removing them
9918 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9920 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9926 * mathed/formulabase.C:
9927 * mathed/math_cursor.[Ch]:
9928 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9931 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9933 * lyxlength.[Ch] (operator!=): new function
9935 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9937 * text.C (workWidth): use Inset::parOwner to find out where the
9938 inset has been inserted. This is a huge performance gain for large
9939 documents with lots of insets. If Inset::parOwner is not set, fall
9940 back on the brute force method
9942 * paragraph_pimpl.C (insertInset):
9943 * paragraph.C (Paragraph):
9944 (cutIntoMinibuffer): set parOwner of insets when
9945 inserting/removing them
9947 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9949 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9951 * tabular-old.C (getTokenValue):
9952 * tabular.C (getTokenValue):
9953 (write_attribute): new versions for LyXLength
9954 (everywhere): adjust the use of widths
9956 * tabular.h: change the type of widths from string to LyXLength
9958 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9960 * paragraph.C: fixed missing line number count when exporting
9961 Environments to LaTeX file
9963 * buffer.C: added informational message for checking line numbers.
9965 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9967 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9968 paragraph, do the 'double space' part, but not the 'empty
9971 * text.C (workWidth): small optimization
9972 (getLengthMarkerHeight): use minimal size for negative lengths.
9974 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9976 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9978 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9980 2001-12-11 André Pönitz <poenitz@gmx.net>
9983 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9985 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9987 * text2.C: keep selection on a setFont()
9989 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9991 * lyx_cb.C: another bv->text misuse, from insert label
9993 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9996 * kbsequence.C: re-instate nmodifier mask
9998 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10000 * lyx_main.h: make lyxGUI private.
10002 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10004 * lyxfind.C: place the cursor correctly on failed search
10006 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10008 * text.C (getLengthMarkerHeight): for small heights, the arrows
10009 are not always on top/bottom of the text
10010 (drawLengthMarker): smaller arrows; take the left margin in
10011 account; draw also vfills.
10013 (paintLastRow): remove special code for vfill and standard spaces,
10014 since everything is handled in drawLengthMarker now.
10016 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10018 * buffer.C (insertErtContents): try to handle font and language
10019 interaction a bit better.g
10021 * ColorHandler.C (updateColor): change the hash to cover the whole
10022 LColor enum, ws cleanup
10023 (getGCLinepars): ditto
10024 (getGCLinepars): only lookup in the linecache once.
10026 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10028 * iterators.C (operator++): Make the iterator more robust
10030 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10032 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10034 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10037 * text.C: better added space drawing
10039 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10042 * BufferView2.C: fix layout combo update on inset unlock
10044 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10046 * Makefile.am: don't compile unused files
10048 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10052 * LyXAction.C: remove old LFUN_LAYOUTNO
10054 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10056 * paragraph_pimpl.h:
10057 * paragraph_pimpl.C: isTextAt() doesn't need font param
10059 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10062 * lyxlex.C: little cleanup
10064 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10066 * BufferView_pimpl.C: fix insertAscii for insets
10068 2001-12-05 Juergen Vigna <jug@sad.it>
10070 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10071 set the right font on the "multi" paragraph paste!
10073 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10079 * lyxlength.C: remove out-commented code.
10081 * BufferView_pimpl:
10095 * vc-backend.C: change "while(" to "while ("
10097 * lyxlength.[Ch]: add zero function to check if length is zero or
10099 * lyxgluelength.C: use it
10101 2001-12-05 Allan Rae <rae@lyx.org>
10103 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10104 Works for 2.95.3, from what I understand of Garst's reports this should
10105 work for other g++ versions. We're screwed if the abs(int) definition
10106 changed between bugfix releases of gcc.
10108 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10110 * text.C: fix chapter label offset !
10112 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10115 * text.C: fix hfill at end of line, clean up
10117 2001-12-04 Juergen Vigna <jug@sad.it>
10119 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10120 that we force an update of the inset and it's owners if neccessary.
10122 2001-12-03 Juergen Vigna <jug@sad.it>
10124 * text.C (rowLast): simplified code
10126 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10128 * lyxfunc.C: fix show options on timeout
10130 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10132 * screen.C (topCursorVisible): scroll half a page when the cursor
10133 reached top of bottom of screen
10135 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10137 * minibuffer.C: deactivate on loss of focus
10139 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10141 * vspace.[Ch] (operator!=): add operator.
10143 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10145 * BufferView_pimpl.C: refuse to open an inset when
10146 there's a selection.
10148 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10150 * BufferView_pimpl.C: allow to click on RHS of full row insets
10152 2001-11-30 Juergen Vigna <jug@sad.it>
10154 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10155 insets for undo reasons.
10157 2001-11-28 André Pönitz <poenitz@gmx.net>
10159 * vspace.[Ch]: cosmetical changes
10161 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10171 * kbsequence.C: part re-write of old kb code
10174 * WorkArea.C: remove Lgb_bug_find_hack
10176 2001-11-30 José Matos <jamatos@fep.up.pt>
10178 * buffer.C (makeDocBookFile): add a comment to point a hack.
10179 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10180 Fixed a double write of labels.
10182 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10185 * LaTeX.h Fixed bug in LaTeX class where it would not
10186 re-run latex if no depfiles were changed, but the .dvi was removed.
10188 2001-11-28 André Pönitz <poenitz@gmx.net>
10190 * all the files from the change on 2001/11/26:
10191 use lyx::layout_type instead of LyXTextClass::size_type
10192 use lyx::textclass_type instead of LyXTextClassList::size_type
10194 2001-11-29 Juergen Vigna <jug@sad.it>
10196 * text.C: added support for paragraph::isFreeSpacing()
10198 * buffer.C: same as above
10200 * paragraph.h: inserted isFreeSpacing() function to enable
10201 FreeSpacing inside InsetERT.
10203 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10204 of the paragraph's in the cut/copy buffer to 0!
10206 * text2.C (removeRow): remove the assert as it can!
10208 * lyxtext.h: added helper function firstRow returning firstrow and
10209 made firstrow private again.
10211 * BufferView2.C (lockInset): don't relock if we're already locked!
10213 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10214 the only paragraph.
10215 (removeRow): added Assert::(firstrow)
10217 * debug.C: forgot to add INSETTEXT here.
10219 2001-11-28 Juergen Vigna <jug@sad.it>
10221 * sp_spell.C (initialize): changed error text to more general
10222 spellchecker command use (not only ispell!)
10224 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10226 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10228 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10230 * vspace.C: initialise lyxgluelength on failure
10232 2001-11-28 Allan Rae <rae@lyx.org>
10234 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10235 declaration & definition that looks like a function declaration.
10237 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10239 * BufferView2.C (copy):
10240 (copyEnvironment): do not clear the selection when doing a copy.
10242 * text.C (paintFirstRow): compilation fix
10244 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10246 * tabular.C (Latex): correct line count when writing latex.
10248 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10250 * paragraph_pimpl.h:
10251 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10254 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10258 * LColor.C: change vfillline->added_space
10260 * text.C: add markers and text for added space
10262 * vspace.C: fix comment
10264 2001-11-28 André Pönitz <poenitz@gmx.net>
10266 * paragraph.C: whitespace changes
10267 * all the other files from the change on 2001/11/26:
10268 change *::pos_type into lyx::pos_type
10270 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10272 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10273 language of the document when inserting error insets.
10275 2001-11-26 André Pönitz <poenitz@gmx.net>
10277 * BufferView_pimpl.[Ch]:
10285 * paragraph_pimpl.[Ch]:
10288 * text2.C: reduce header dependencies, introduce type for positions
10290 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10292 * <various>: change to use Alert.h
10294 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10296 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10297 when encountering an unknown token.
10298 (readLyXformat2): Show an error message if there were unknown tokens.
10300 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10303 * BufferView_pimpl.C:
10307 * text2.C: use par->isInset()
10309 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10311 * paragraph_pimpl.h:
10312 * paragraph_pimpl.C: cleanup
10314 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10316 * text2.C (removeRow):
10317 * text.C (setHeightOfRow): remove useless (and costly) call to
10320 2001-11-20 Allan Rae <rae@lyx.org>
10322 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10323 Now need Inset*::checkInsertChar() to return true for appropriate
10324 cases so that the characters in the minibuffer will actually be
10327 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * text.C: change the order of the includes.
10330 (workWidth): initialize it at once.
10331 (workWidth): make maxw unsigned
10332 (setHeightOfRow): remove unused variable (inset)
10333 (selectSelectedWord): remove unused variable (inset)
10334 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10336 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10338 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10339 server is not running.
10341 (closeConnection): add debug info when server is disabled.
10343 * ColorHandler.C (getGCForeground): send debug message to GUI
10346 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10348 * kbmap.C (bind): modify because return conventions of
10349 kb_sequence::parse have changed.
10351 * kbsequence.C (parse): only ignore spaces and not any stupid
10352 control character. This avoids tests like s[i] <= ' ', which are
10353 guaranteed to fail with 8bit characters and signed chars.
10354 Change return code to string::npos when there have been no error
10355 (0 was a bad idea when error is at first character)
10357 2001-11-14 José Matos <jamatos@fep.up.pt>
10360 * buffer.C (simpleDocBookOnePar): removed unused argument.
10362 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10364 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10365 insets which are part of a word. Paragraph::isLetter takes care of
10366 that now. Use Paragraph::isInset to identify insets.
10367 (selectSelectedWord): do not test for hyphenation break.
10369 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10370 that protected spaces are considered as spaces.
10372 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10375 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10378 * lyxserver.C: fix it. and small cleanup.
10380 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10382 * BufferView_pimpl.C: use inline helpers
10385 * LaTeXFeatures.C: fix typos
10388 * Spacing.C: move spacing_string into class
10390 * ToolbarDefaults.C: move stuff into namespace anon
10392 * layout.h: update enum
10394 * lyxfunc.C: use better debug
10396 * minibuffer.h: fix typo
10400 * WorkArea.C: add and use Debug::WORKAREA
10404 * text2.C: code re-organisation, inline helpers
10406 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10408 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10409 std::vector.empty().
10411 2001-11-09 Allan Rae <rae@lyx.org>
10413 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10414 '\n's after tables. Tabular and ERT inset work now makes this no
10417 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10420 * minibuffer.C: fix crash, improve drop-down completion
10422 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10425 * lyxserver.C: invalidate fd's when doing endPipe()
10427 2001-11-08 José Matos <jamatos@fep.up.pt>
10429 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10430 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10433 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10435 2001-11-07 José Matos <jamatos@fep.up.pt>
10438 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10441 * buffer.C (sgmlOpenTag):
10442 * buffer.C (sgmlCloseTag): removed debug info.
10444 * buffer.h (sgmlOpenTag):
10445 * buffer.h (sgmlCloseTag): made public.
10447 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10449 * buffer.C (saveParamsAsDefaults):
10450 * lyx_cb.C (MenuLayoutSave): remove
10452 * LyXAction.C (init):
10454 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10456 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10458 * buffer.C (setPaperStuff): removed from here...
10460 * bufferparams.C (setPaperStuff): ... and moved there.
10462 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10466 * XFormsView.C: add support for drop-down completion
10468 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10470 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10473 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10475 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10478 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10480 * lyx_main.C: change ref to known bugs
10482 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10484 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10485 to work around older babel problems.
10487 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10489 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10491 2001-10-24 Juergen Vigna <jug@sad.it>
10493 * tabular-old.C (ReadOld): below variable changes reflected.
10495 * tabular.[Ch]: added ltType struct for longtable header/footer
10496 defines and changed all instances where they are used. Added
10497 future support for double top/bottom rows.
10499 2001-10-24 José Matos <jamatos@fep.up.pt>
10501 * buffer.h (docbookHandleCaption):
10502 * buffer.C (docbookHandleCaption): removed unused function.
10503 (makeDocBookFile): moved docbook supported version to v4.1.
10505 2001-10-24 José Matos <jamatos@fep.up.pt>
10508 * tabular.C (docbookRow): new function to export docbook code of a row.
10509 (DocBook): now honors the longtable flags.
10511 2001-10-23 José Matos <jamatos@fep.up.pt>
10514 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10515 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10517 * buffer.C (makeLinuxDocFile):
10518 (makeDocBookFile): reworked the preamble, more clean, and with
10519 support for lyx defined entities. Changed the document declaration
10520 to be more XML friendly.
10522 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10523 if we need to output XML that should be done with a filter.
10525 2001-10-22 Juergen Vigna <jug@sad.it>
10527 * sp_pspell.h (class PSpell): add alive function needed in the
10528 controller to see if the spellchecker could be started.
10530 2001-10-22 Juergen Vigna <jug@sad.it>
10532 * buffer.C (insertStringAsLines): modify the font for inserting
10533 chars in certain conditions by calling checkInsertChar(font).
10535 2001-10-19 Juergen Vigna <jug@sad.it>
10537 * text.C (workWidth): use getRow instead of wrong algorithm.
10538 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10540 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10545 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10547 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10549 * text.C (workWidth): do not search for the exact row when
10550 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10551 optimization for big documents.
10553 2001-10-18 Juergen Vigna <jug@sad.it>
10555 * text.C (workWidth): new function with added Inset * parameter.
10557 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10559 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10561 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10562 change return type of getColumnNearX.
10565 * text.C (changeRegionCase): use uppercase/lowercase instead of
10568 (rightMargin): simplify code by factoring out the uses of
10573 (appendParagraph): use Paragraph::size_type
10575 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10577 * vspace.C (asLatexString): add a missing break
10579 2001-10-15 Herbert Voss <voss@perce.de>
10581 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10583 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10585 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10588 2001-10-10 André Pönitz <poenitz@gmx.net>
10590 * lyxfunc.C: removed greek_kb_flag.
10592 2001-10-10 Herbert Voss <voss@perce.de>
10594 * lyx_main.C: delete global string help_lyxdir.
10596 2001-10-09 Herbert Voss <voss@perce.de>
10598 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10600 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10602 * lyx_main.C: added global string help_lyxdir.
10604 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10606 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10608 * lyxrc.C (set_font_norm_type): support iso8859-4
10610 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10612 * LaTeX.C (deplog): add another regex for MikTeX
10614 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10616 * lyxrc.C (set_font_norm_type): support iso8859-3
10618 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10620 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10622 * LaTeXFeatures.C: remove special case of french and index
10624 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10625 before \begin{document}). This solves several incompatibilities.
10627 2001-10-03 Garst Reese <reese@isn.net>
10629 * lyx_cb.C: change CheckTex error msg.
10631 2001-10-03 José Matos <jamatos@fep.up.pt>
10633 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10635 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10637 * .cvsignore: update
10639 * lyx_main.C (commandLineVersionInfo): use new style version info.
10641 * buffer.C (writeFile):
10643 (makeLinuxDocFile):
10644 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10646 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10648 * version.h: update to use stuff in version.C
10650 * version.C.in: new file. Contains version information determined
10651 at compile time. This is a merging of version.h and
10654 2001-10-03 Juergen Vigna <jug@sad.it>
10656 * BufferView_pimpl.C (update): don't change "dirty" status in
10659 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10661 * WorkArea.C (c-tor): re-position version string slightly.
10663 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10665 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10666 revert to previous code.
10668 WorkArea.[Ch]: (show, destroySplash): methods removed.
10670 WorkArea.C: rework code so that it's an amalgam of the codes before and
10671 after the splash screen was moved to WorkArea.
10673 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10676 * vspace.C (inPixels):
10679 * buffer.C (insertStringAsLines):
10680 (asciiParagraph): fix types to be large enough
10682 * lyxlex_pimpl.h: change member status from short to int
10684 * layout.h: fix type of endlabeltype
10687 * kbsequence.C (parse): change return type to string::size_type
10689 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10692 * Bullet.C (bulletSize):
10693 (bulletEntry): do not use short ints as parameters
10695 * BufferView2.C (insertLyXFile): change a char to an int.
10697 * WorkArea.C (WorkArea): remove unneeded floats in computation
10699 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10701 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10703 * paragraph.C (asString): Do not ignore newline/hfill chars when
10704 copying to the clipboard.
10706 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10708 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10709 after a multi-line inset.
10711 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10713 * paragraph.C (validate): Set NeedLyXFootnoteCode
10715 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10717 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10718 and decrease-error to decrease.
10720 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10722 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10723 it more readable (should be equivalent)
10725 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10727 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10729 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10731 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10732 of a cursor (row, etc.) after a character has been deleted
10733 (deleteEmptyParagraphMechanism): call the method above on _all_
10734 cursors held by the LyXText when a double space has been
10737 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10739 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10741 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10743 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10744 background. Use greyOut() and the new show() methods to toggle between
10745 the foreground and background. Add code to remove the splash after
10746 its initial showing.
10748 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10749 (create_forms): no longer call Dialogs::showSplash.
10751 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10753 * .cvsignore: add version_info.h
10755 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10757 * version_info.h.in: new file
10759 * Makefile.am: add version_info.h.in
10761 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10762 version_info.h instead of VERSION_INFO
10764 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10766 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10767 The ERT inset now returns string().
10769 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10771 * lyxtext.h, text.C (selectNextWord): renamed as
10772 selectNextWordToSpellcheck.
10774 * text.C (selectNextWordToSpellcheck): Modified to not select
10775 words inside an ERT inset.
10777 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10779 * lyx_cb.C (MenuLayoutSave): change a bit the question
10781 * sp_base.h: include <sys/types.h>
10783 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10785 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10787 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10789 * several files: fix typos in user-visible strings
10791 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10793 * text2.C (pasteSelection): do not set the selection, since it
10794 will be cleared later. Actually, the intent was to fix the way the
10795 selection was set, but I figured rmoving the code was just as good.
10797 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10799 * FontLoader.C (available): Check if font is available without
10802 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10804 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10806 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10808 * lyxrc.[Ch]: added display_graphics variable and associated code.
10810 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10812 * bufferparams.C (hasClassDefaults): new method. Returns true if
10813 the buffer parameters correspond to known class defaults
10815 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10817 * XFormsView.C (show): set minimum size to the main window.
10819 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10821 * text2.C (copySelection):
10823 * lyxfind.C (LyXReplace):
10824 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10825 LyXText::selectionAsString.
10827 * paragraph.C (asString): add "label" argument to the second form
10829 * text2.C (selectionAsString): add "label" argument and pass it to
10830 Paragraph::asString.
10832 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10834 * lyx_main.C (commandLineHelp): remove version information
10836 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10838 * lyx_main.C: add -version commandline option
10840 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10842 * paragraph.h: make the optional constructor arg required instead.
10843 some modifications to other files because of this.
10845 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10847 * lyxserver.C (C_LyXComm_callback): make it static
10849 * lyx_main.C (error_handler): make it static
10851 * lyx_gui.C (LyX_XErrHandler): make it static
10853 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10855 * WorkArea.C: make the extern "C" methods static.
10857 * Makefile.am (lyx_LDADD): simplify
10859 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10861 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10862 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10864 * LyXAction.C (init):
10865 * lyxfunc.C (dispatch): associated code removal.
10867 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10869 * lyxfont.h (isSymbolFont): shut off warning
10871 * text.C (setHeightOfRow):
10872 (getVisibleRow): fix crash with empty paragraphs which have a
10875 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10877 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10880 2001-09-04 José Matos <jamatos@fep.up.pt>
10883 * tabular.C (docbook): rename docBook method to docbook.
10885 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10887 * Makefile.am: add dependencies to main.o.
10889 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10891 * FontLoader.C (available): Return false if !lyxrc.use_gui
10893 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10895 * FontInfo.C (query):
10896 * converter.C (view):
10897 * importer.C (Import):
10898 * exporter.C (Export): Can not -> cannot.
10900 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10902 * BufferView_pimpl.C: allow to create index inset even if
10905 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10907 * buffer.C (getLists): replace boost::tie code with an explicit pair
10908 as boost::tie can break some compilers.
10910 * iterators.h: Added a std:: declaration to the return type of
10913 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10915 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10918 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10920 * iterators.[Ch]: New files. Provide paragraph iterators.
10922 * buffer.C (changeLanguage): Use paragraph iterators.
10923 (isMultiLingual): ditto
10925 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10927 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10929 * FontLoader.C: Support for cmr font.
10931 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10933 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10934 (available): New method.
10936 * FontInfo.C (getFontname): Use scalable fonts even when
10937 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10940 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10942 * converter.C (Formats::view): reverted! Incorrect fix.
10944 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10946 * converter.C (Formats::view): only output the -paper option
10947 if the dvi viewer is xdvi, thereby fixing bug #233429.
10949 2001-08-23 Herbert Voss <voss@perce>
10951 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10953 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10955 * Spacing.h (Spacing): Set space to Default on in the default
10958 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10960 * vc-backend.h (RCS::versionString): add RCS to version
10961 (CVS::versionString): add CVS to version
10963 * vc-backend.C (scanMaster): do not add CVS to version.
10964 (scanMaster): do not add RCS to version
10966 * lyxvc.C (versionString): new method
10968 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10970 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10972 * Spacing.C (set): initialize fval
10974 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10976 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10979 2001-08-16 Juergen Vigna <jug@sad.it>
10981 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10983 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10985 * BufferView_pimpl.C:
10988 * text2.C: setParagraph takes linespacing now
10990 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10992 * LyxAction.C: add internal LFUN_CITATION_INSERT
10994 * LyXView.C: actually apply fix
10996 * bufferlist.C: fix open non-existent file
10998 * lyxfind.C: fix indentation
11000 * lyxfunc.C: remove unneeded assert, fix typo
11002 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11004 * MenuBackend.C: use "Floatname List"
11006 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11008 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11009 when converting LaTeX layout to insetERT.
11010 Generate a non-collapsed float when reading old float
11012 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11014 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11017 2001-08-13 Juergen Vigna <jug@sad.it>
11019 * text.C (fill): return 0 instead of 20 as this seems to be the more
11022 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11024 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11027 2001-08-13 Juergen Vigna <jug@sad.it>
11029 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11031 (SearchBackward): comment out the unlocking of the inset_owner this
11032 should not be needed!
11034 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11036 * Many files: Remove inherit_language, and add latex_language
11038 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11039 collapsible insets.
11041 2001-08-10 Juergen Vigna <jug@sad.it>
11043 * text.C (prepareToPrint): fixed hfill-width in draw!
11045 * BufferView2.C (selectLastWord): save the selection cursor as this
11046 now is cleared in the function LyXText::clearSelection!
11048 2001-08-08 Juergen Vigna <jug@sad.it>
11050 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11051 BACKSPACE type functions.
11053 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11054 is only cutted from the document but not put in the cut-buffer, where
11055 still the old stuff should be.
11057 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11059 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11061 * tabular.C (SetWidthOfCell): fixed special case where the width
11063 (LeftLine): handle '|' in align_special.
11065 (LeftAlreadyDrawed): ditto
11066 (SetWidthOfCell): ditto
11068 2001-08-07 Juergen Vigna <jug@sad.it>
11070 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11072 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11074 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11075 * lyxlex.[hC]: ditto
11077 2001-08-06 Juergen Vigna <jug@sad.it>
11079 * text.C (getVisibleRow): fix up row clearing a bit.
11081 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11083 * minibuffer.C: make sure the X server sees the changes in the input.
11085 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11087 * paragraph.C (getFont): split into...
11088 (getLabelFont): this
11089 (getLayoutFont): and this
11090 * paragraph_pimpl.C (realizeFont): calling this
11092 * text2.C (getFont): split into...
11093 (getLayoutFont): this
11094 (getLabelFont): and this
11095 (realizeFont): all three calling this
11097 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11100 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11102 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11104 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11106 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11107 layouts from the Quote inset insertion.
11109 2001-08-03 Juergen Vigna <jug@sad.it>
11111 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11113 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11114 only if status not is already CHANGED_IN_DRAW (second level).
11116 * text.C (draw): don't set the need_break_row when inside an
11119 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11121 * buffer.C (parseSingleLyXformat2Token): handle more latex
11124 * bufferview_funcs.[hC]: change function names to
11125 begin with small char, adjust other files.
11127 2001-08-02 André Pönitz <poenitz@gmx.net>
11130 BufferView_pimpl.C: remove broken special code for math-greek
11132 2001-08-02 Juergen Vigna <jug@sad.it>
11134 * BufferView_pimpl.C (update): redone this function so that we
11135 update the text again if there was a CHANGE_IN_DRAW.
11137 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11138 (drawFromTo): added a new internal bool which is used by draw() and
11140 (general): some cursor drawing problems fixed.
11142 2001-08-01 Juergen Vigna <jug@sad.it>
11144 * lyxfind.C (LyXFind): fixed
11145 (SearchForward): ditto
11146 (SearchBackward): ditto
11148 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11149 spurius drawing of the cursor in the main area.
11151 * text2.C (status): small fix which could lead to a segfault!
11152 (clearSelection): remove unneeded BufferView param.
11154 2001-08-01 André Pönitz <poenitz@gmx.net>
11156 * lyxfunc.C: small change due to changed mathed interface
11158 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11160 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11162 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11164 * lyxfunc.c: fail gracefully if file doesn't exist
11169 * BufferView_pimpl.C: IsDirWriteable() proto changed
11171 * LyXView.C: fix updateWindowTitle() to store the last title
11173 2001-07-31 Juergen Vigna <jug@sad.it>
11175 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11176 the font (wrong since using of Paragraph::highestFontInRange).
11178 * paragraph.C (highestFontInRange): added a default_size parameter.
11180 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11181 (setHeightOfRow): reformat
11183 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11185 * converter.[hC] + affected files: move to (inital-char)lowercase
11188 * ParagraphParameters.C (ParagraphParameters): remove commented code
11190 * PainterBase.[Ch]: remove commented code
11192 * LaTeXFeatures.h: add "bool floats" for float.sty
11194 * LaTeXFeatures.C (LaTeXFeatures): init floats
11195 (require): handle float
11196 (getPackages): do it with floats
11198 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11200 * BufferView_pimpl.C (Dispatch): improve handling of
11201 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11203 * commandtags.h: #include lyxfont.h here temporarily to avoid
11206 * bufferlist.h: include LString.h here.
11208 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11210 * text2.C (getStringToIndex): new method.
11212 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11214 * *: Reduced header file dependencies all over.
11216 2001-07-30 Baruch Even <baruch@lyx.org>
11218 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11220 2001-07-29 Baruch Even <baruch@lyx.org>
11222 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11224 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11226 * ParameterStruct.h (endif): add a default constructor to make
11227 sure that all variables is initialized.
11229 * ParagraphParameters.C (ParagraphParameters): adjust
11231 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11233 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11234 index; also, check that there is something to index, and that it
11235 does not span over several paragraphs.
11236 (doubleClick): use WHOLE_WORD_STRICT for double click.
11238 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11240 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11243 2001-07-26 Baruch Even <baruch@lyx.org>
11245 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11246 an InsetFig figure, backwards compatible reading of old figure code.
11248 2001-07-27 Juergen Vigna <jug@sad.it>
11250 * text2.C: font.realize function adaption.
11252 * text.C (draw): add a warnings lyxerr text if needed.
11254 * layout.C: font.realize function adaption.
11256 * language.C: add inherit_language and implement it's handlings
11258 * bufferview_funcs.C (StyleReset): remove language parameter from
11259 font creation (should be language_inherit now).
11261 * bufferparams.C (writeFile): handle ignore_language.
11263 * paragraph.C (getFontSettings): the language has to be resolved
11264 otherwise we have problems in LyXFont!
11266 * lyxfont.C (lyxWriteChanges): added document_language parameter
11267 (update): removed unneeded language parameter
11269 * paragraph.C (validate): fixed wrong output of color-package when
11270 using interface colors for certain fonts in certain environments,
11271 which should not seen as that on the final output.
11273 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11275 * BufferView_pimpl.C:
11280 * LyXAction.C: add thesaurus support
11283 * lyxfind.C: add "once" parameter, for thesaurus, to not
11284 move to the next match
11286 2001-07-26 Juergen Vigna <jug@sad.it>
11288 * lyxfont.C (realize): honor ignore_language too!
11291 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11293 * text.C (draw): one place more for ignore_language to not draw
11296 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11298 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11300 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11302 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11303 the minipage conversion problem.
11305 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11307 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11310 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11312 * BufferView.h: don't forward declare WorkArea
11314 * BufferView.C: don't include WorkArea.h
11316 2001-07-25 André Pönitz <poenitz@gmx.net>
11320 * lyxfunc.C: new LFUN 'math-space'
11322 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11324 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11326 * text2.C (toggleInset): call open/close
11328 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11330 * lyxfunc.C (dispatch): add debug for the disabled case
11332 * font.C (buttonText): make similar to rectText
11334 * buffer.C (readInset): comment out parsing of insetlist and
11337 * PainterBase.C (rectText): small correction
11339 * BufferView_pimpl.C: comment out insettheorem and insetlist
11340 * LyXAction.C: ditto
11341 * commandtags.h: ditto
11343 2001-07-24 Juergen Vigna <jug@sad.it>
11345 * text.C (draw): honor the ignore_language.
11347 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11349 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11351 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11354 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11356 * lyxtext.h: remove unused (and unimplemented) methods
11358 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11360 * text.C (getVisibleRow): honor background color
11363 * Painter.h: remove default color argument for fillRectangle
11365 * text.C (backgroundColor): new method
11367 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11369 * text.C (getVisibleRow): adjust
11371 * font.[Ch] (rectText): new method, metrics
11372 (buttonText): new method, metrics
11374 * PainterBase.[hC]: make rectText and buttonText always draw and take
11377 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11379 * ToolbarDefaults.C (read):
11380 * MenuBackend.C (read): allow escaping in all strings
11382 * BufferView_pimpl.C (insertAndEditInset): new method.
11383 (Dispatch): use insertAndEditInset whenever appropriate.
11385 * BufferView_pimpl.C (insertNote): removed
11387 * BufferView_pimpl.C (smartQuote): new method, moved from
11388 BufferView; if an insetquote cannot be inserted, insert a '"'
11391 * BufferView2.C: remove insertCorrectQuote();
11393 * lyxfunc.C (getStatus): Add support for all remaingin
11394 inset-insert lfuns.
11396 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11398 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11399 command (necessary to pass " as parameter of self-insert.
11401 * text.C (selectWordWhenUnderCursor):
11402 (selectWord): add word_location parameter
11403 (selectWordWhenUnderCursor): same + remove special code for word
11405 (selectNextWord): use kind() to guess type of insetspecialchar,
11408 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11409 (insertErtContents): create ert insets as collapsed.
11410 (readInset): better compatibility code for Info inset.
11412 2001-07-20 Juergen Vigna <jug@sad.it>
11414 * lyxfunc.C (dispatch): use always LyXFind now!
11416 * text2.C (init): add a reinit flag so that the LyXText can be
11417 reinited instead of deleted and reallocated (used in InsetText).
11419 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11425 2001-07-18 Juergen Vigna <jug@sad.it>
11427 * text.C (selectNextWord): handle insets inside inset by calling
11428 always the bv->text functions so that we can go up the_locking_inset!
11430 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11431 in strange locations when inside an inset!
11433 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11434 handling to include insets.
11436 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11438 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11440 * LyXAction.C (init):
11442 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11443 LIGATURE_BREAK, since the name is so stupid.
11445 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11447 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11450 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11452 * sp_form.[Ch]: remove.
11454 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11456 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11459 * src/buffer.C (readInset): ditto.
11461 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11463 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11464 menuSeparator(), endOfSentenceDot(), ldots() and
11465 hyphenationPoint(), which are therefore removed.
11466 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11468 * LyXAction.C (init):
11469 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11471 * paragraph.C (getWord): removed.
11473 * BufferView_pimpl.C (Dispatch): use last word or selection for
11474 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11476 * lyx_main.C (queryUserLyXDir): do not ask before creating
11477 user_dir, except if it has been named explicitely.
11479 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11481 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11482 a document of zero size.
11484 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11486 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11487 approriately in the c-tor and in require().
11488 (getPackages): output the appropriate LaTeX for natbib support.
11490 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11491 variables "use_natbib" and "use_numerical_citations" when reading the
11493 (readInset): read the various natbib cite commands.
11494 (validate): white-space change.
11496 * bufferparams.[Ch]: new variables "bool use_natbib" and
11497 "bool use_numerical_citations".
11498 (writeFile): output them in the LyX file.
11500 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11502 * lyxfunc.C (getStatus): add support for all the inset insertion
11505 * text2.C (insertInset):
11506 * paragraph.C (insetAllowed):
11507 * BufferView_pimpl.C (insertInset): update to take in account the
11508 renaming of insertInsetAllowed
11510 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11512 * text2.C (getInset): new method. returns inset at cursor position.
11514 * BufferView_pimpl.C (Dispatch): changes because of this.
11516 * LyXAction.C (init): rename open-stuff to inset-toggle.
11518 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11520 * text2.C (toggleInset): renamed from openStuff; use
11523 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11525 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11527 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11529 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11531 * buffer.C (readLyXformat2): Add filename to the error dialog
11533 2001-07-18 Juergen Vigna <jug@sad.it>
11535 * tabular.C (GetCellNumber): put an assert here instead of the check!
11537 2001-07-17 Juergen Vigna <jug@sad.it>
11539 * BufferView_pimpl.C (toggleSelection): adapted too.
11541 * text.C (selectNextWord): adapted for use with insets.
11542 (selectSelectedWord): ditto
11544 2001-07-17 Juergen Vigna <jug@sad.it>
11546 * sp_spell.C (PSpell): fix initialitation order.
11548 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11550 * paragraph.C: spacing
11552 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11554 * sp_spell.C: repair language selection for pspell
11556 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11558 * lyxfunc.h: change more methods to begin with lower char.
11560 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11562 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11563 for unknown layouts.
11565 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11567 * buffer.C (readLyXformat2): Generate an error dialog if there are
11570 2001-07-16 Juergen Vigna <jug@sad.it>
11572 * sp_spell.C: always compile ISpell part.
11574 * lyxrc.C: added use_pspell entry and it's handling.
11576 2001-07-13 Juergen Vigna <jug@sad.it>
11578 * sp_spell.C: removed double includes.
11580 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11582 Consistent use of Lsstream.h:
11583 * Lsstream.h: added using std::stringstream for consistencies sake.
11585 * buffer.C: removed using std::stringstream
11587 * lyxfont.C (stateText):
11588 * paragraph.C (asString):
11589 * text.C (selectNextWord, selectSelectedWord):
11590 * text2.C (setCounter):
11591 * vspace.C (asString, asLatexString):
11592 std::ostringstream -> ostringstream.
11594 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11596 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11597 * commandtags.h: add LFUN_HELP_ABOUTLYX
11598 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11600 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11602 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11604 * lyx_gui_misc.C: remove spellchecker
11605 * lyxfunc.C: showSpellchecker
11607 * sp_ispell.h: added
11608 * sp_pspell.h: added
11609 * sp_spell.C: added
11610 * sp_form.[Ch]: removed
11611 * spellchecker.[Ch]: removed
11613 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11615 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11617 (simpleTeXSpecialChars): Simply print the input character without
11618 any special translation if pass_thru is set.
11620 * layout.h: Added bool pass_thru to layout class for being able to
11621 implement pass through of a paragraph for Literate Programming.
11623 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11624 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11625 * layout.C (Read): add "passthru" to list of layout tags and add
11626 code to set the pass_thru boolean when it is read.
11628 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11630 * trans_decl.h: remove allowed from KmodInfo
11632 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11633 remove allowed code
11636 * paragraph_pimpl.C (erase): use boost::prior
11638 * Painter.C (text): use data() instead of c_str() when length is
11640 * WorkArea.C (putClipboard): ditto
11641 * font.h (width): ditto
11643 * BufferView2.C: use it-> instead of (*it). for iterators
11645 * paragraph_pimpl.C: ditto
11646 * paragraph.C: ditto
11647 * minibuffer.C: ditto
11648 * language.C: ditto
11650 * encoding.C: ditto
11651 * counters.C: ditto
11652 * converter.C: ditto
11654 * Variables.C: ditto
11655 * TextCache.C: ditto
11656 * MenuBackend.C: ditto
11657 * LyXAction.C: ditto
11659 * FloatList.C: ditto
11660 * DepTable.C: ditto
11661 * ColorHandler.C (LyXColorHandler): ditto
11663 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11665 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11667 * text2.C (openStuff): reintroduce this method (which had been
11668 nuked in NEW_INSETS frenzy).
11670 * lyxfunc.C (Dispatch): when an action has not been handled, use
11671 its name in the error message, not its number.
11673 * paragraph.C (inInset): change method name to begin with lowercase.
11676 * text2.C: updates because of this.
11678 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11680 * ToolbarDefaults.C (add): add spaces in error message
11682 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11684 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11685 (readLyXformat2): rename return_par to first_par, use lyxlex's
11686 pushToken and remove the manual push handling.
11687 (parseSingleLyXformat2Token): add another ert comp. variable:
11688 in_tabular, rename return_par to first_par. handle newlines better
11690 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11692 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11694 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11696 * text2.C (getParFromID): removed
11698 * buffer.C (getParFromID): new method moved form lyxtext.
11699 * BufferView2.C (insertErrors): adjust
11700 (setCursorFromRow): adjust
11701 * BufferView_pimpl.C (restorePosition): adjust
11702 * lyxfunc.C (Dispatch): adjust
11703 * undo_funcs.C (textUndo): adjust
11705 (textHandleUndo): adjust
11706 (textHandleUndo): adjust
11708 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11710 * buffer.C: up' the LYX_FORMAT
11712 * lyxfont.h: turn NO_LATEX on as default
11714 * buffer.C (insertErtContents): new methods of tex style compability.
11715 (parseSingleLyXformat2Token): use it several places.
11716 * tabular.C (OldFormatRead): and here
11718 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11720 * text2.C: remove some commented code.
11723 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11724 * trans.C: changes because of the above.
11726 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11728 * text2.C (setCounter): Fix counters bug with bibliography layout.
11730 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11732 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11733 own member functions
11734 (simpleTeXSpecialChars): ditto
11736 2001-07-06 Juergen Vigna <jug@sad.it>
11738 * a lot of files: changed the access to LyXText::status and the
11739 call of undo-functions.
11741 * undo.[Ch]: added a inset_id to the undo informations.
11743 * undo_funcs.[Ch]: added and moved here all undo functions.
11745 * lyxtext.h: give the status enum a weight, made status_ a private
11746 variable and made accessor functions for it, removed the whole bunch
11747 of undo-functions as they are now in their own file, make some
11748 functions publically available. Added function ownerParagraph with
11751 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11752 made InInset() a const function, added getParFromID() function.
11754 * buffer.[Ch]: added const version for inset_iterator functions,
11755 added getInsetFromID() function.
11757 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11758 changed undo functions for new version.
11760 2001-07-05 Juergen Vigna <jug@sad.it>
11762 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11763 unknow mechanism does not call the proper constructor but only this
11764 one also if I request the other!?
11766 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11768 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11770 * text2.C (LyXText): use initialization lists.
11772 * lyxtext.h (Selection): initialize set_ and mark_
11773 (init): remove method
11775 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11777 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11779 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11781 * screen.[Ch]: change method names to begin with lowercase
11783 * BufferView_pimpl.C (updateScrollbar): simplify further and
11784 hopefully make it a bit faster.
11786 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11788 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11789 calling directly xforms functions.
11791 * Painter.C (Painter):
11792 * lyx_cb.C (MenuWrite):
11793 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11796 * lyx_gui.C: remove bogus guiruntime extern declaration.
11798 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11800 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11802 (redoDrawingOfParagraph): ditto
11803 (redoParagraphs): ditto
11804 (cutSelection): don't create a object for CutAndPaste use the
11805 static method directly
11806 (pasteSelection): ditto
11808 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11811 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11813 * modifications to some other files because of this.
11815 * Makefile.am (lyx_SOURCES): add XFormsView
11817 * XFormsView.[Ch]: new files
11819 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11820 the main window. Move the gui dependent stuff to XFormsView
11822 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11824 * tabular.C (GetCellInset): update cur_cell also in the row/col
11825 version of this function.
11827 * lyxfunc.C: no need to include figure_form.h here.
11833 * lyxvc.C: no need to include forms.h here.
11835 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11837 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11839 * lyxfunc.C (Dispatch):
11841 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11842 constructor argument.
11844 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11846 * paragraph.C (Paragraph): dont't clear, and just set layout.
11847 (makeSameLayout): use params's copy contructor.
11849 * ParagraphParameters.[Ch] (makeSame): delete method
11851 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11853 * Variables.[Ch]: fix indentation, rename set to isSet
11855 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11857 * lyxfunc.C (Dispatch): fix typo
11859 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11861 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11864 * bufferlist.C: include assert.h for emergencyWrite().
11866 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11868 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11869 give up at last (bug #425202) !
11871 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11877 * spellchecker.C: strip spellchecker options and bring up
11878 preferences tab instead
11880 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11882 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11883 the istringstream constructor
11885 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11887 * paragraph.C (getLayout): fix return value
11889 * paragraph.h: do not declare getLayout as inline.
11891 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11893 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11895 * lyxcursor.h (operator<): new func
11896 (operator>): new func
11897 (operator>=): new func
11898 (operator<=): new func
11900 * text.C (changeCase): use selection.start and selection.end
11901 (changeRegionCase): require from to be <= to. Require par to be a
11904 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11906 2001-06-27 Juergen Vigna <jug@sad.it>
11908 * text.C (cursorLeftOneWord): changed to return the cursor and added
11909 overlay with BufferView * parameter which calls this one.
11911 (selectWord): use new getWord function.
11912 (changeCase): renamed from changeWordCase as and extended to work
11913 also on selections.
11915 * lyxtext.h: added enum word_location
11917 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11918 changeCase as this operates now also on selections.
11920 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11922 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11924 * many files: send debug output to Debug::INFO instead of
11927 * converter.C (View):
11929 (Move): send debug output to Debug::FILES instead of console.
11931 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11933 * lyxfunc.C (getStatus): use func_status
11935 * func_status.h: new header, describing the results of
11936 LyXFunc::getStatus;
11938 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11941 2001-06-25 The LyX Project <jug@sad.it>
11943 * buffer.C (sgmlOpenTag):
11945 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11947 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11949 * text2.C: remove some dead code
11951 * tabular.C (GetCellInset): store the last cell checked (gotten)
11953 * tabular.h: add the helper for the speedup
11955 * lyxtext.h: remove some dead code
11957 2001-06-26 The LyX Project <Asger>
11959 * paragraph.C: Change export to LaTeX of alignment to
11960 \begin{center} and family for better roundtrip work with reLyX.
11962 * Tune the math drawing a bit.
11964 2001-06-25 The LyX Project <Asger>
11966 * LColor.C (LColor): New color for math background. New color
11969 2001-06-25 The LyX Project <jug@sad.it>
11971 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11973 * lyxfunc.C (Open):
11974 * bufferlist.C (newFile): do not restrict to files ending with
11977 * BufferView_pimpl.C (MenuInsertLyXFile):
11979 2001-06-24 The LyX Project <jug@sad.it>
11981 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11984 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11986 * lyxtext.h: rename most methods to begin with a small char.
11987 Lots of changes because of this.
11989 * paragraph.C (Paragraph): do not call fitToSize
11990 (erase): call Pimpl::erase
11991 (insertChar): call Pimpl::insertChar
11992 (insertInset): call Pipl::insertInset
11993 (breakParagraph): do not call fitToSize
11994 (breakParagraphConservative): do not call fitToSize
11995 (fitToSize): remove method
11997 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11999 2001-06-24 The LyX Project <Asger>
12001 * Fix Qt compilation^2
12003 2001-06-24 The LyX Project <jug@sad.it>
12005 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12006 depthHook(getDepth()-1).
12009 * ParagraphParameters.h:
12010 * ParameterStruct.h: change type of depth to unsigned int ==
12011 depth_type. Many adaptations to other files before of that.
12013 2001-06-24 The LyX Project <Asger>
12015 * Fix Qt compilation.
12017 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12019 * paragraph.h: renamed several methods to begin with small letter.
12020 several changes to many parts of the code because of this.
12022 2001-06-23 The LyX Project <jug@sad.it>
12024 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12025 rewritten to discard all double spaces when KeepEmpty is off
12026 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12027 to only handle newlines but not fiddle with spaces and friends.
12029 * lyxfunc.C (MenuNew): when doing 'new from template', use
12030 template_path as default directory
12032 2001-06-23 The LyX Project <Asger>
12034 * Clean-up of header file includes all over
12035 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12037 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12039 * paragraph.h: renamed from lyxparagraph.h
12041 2001-06-23 Asger <lyx@violet.home.sad.it>
12043 * Buffer.h: Removed Buffer::resize
12044 * BufferList.h: Removed BufferList::resize
12045 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12046 the document lazily when we change the width, or the font settings.
12048 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12050 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12052 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12054 * buffer.h: remove out of date comment
12056 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12059 * screen.C: fix "theoretical" GC leak
12061 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12063 * LaTeX.C (scanAuxFile):
12064 (deplog): remove trailing \r when reading stream (useful under
12067 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12069 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12070 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12071 and BufferView::theLockingInset(Inset*), so should use them and not
12072 access bv_->text->the_locking_inset directly.
12074 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12076 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12079 * tex-defs.h: remove old unused file
12081 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12083 * BufferView_pimpl.C: fix typo, remove minibuffer message
12084 when buffer has loaded
12086 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12088 * lyxfunc.C (Dispatch): use stringstream
12089 (MenuNew): use stringstream
12090 (Open): use stringstream
12092 * importer.C (Import): use stringstream
12094 * bufferview_funcs.C (CurrentState): use stringstream
12096 * LaTeX.C (run): use stringstream
12098 * BufferView_pimpl.C (savePosition): use stringstream
12099 (restorePosition): use stringstream
12100 (MenuInsertLyXFile): use stringstream
12102 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12115 * vspace.C: removed // -*- C++ -*- as first line.
12118 * version.h: added // -*- C++ -*- as first line.
12120 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12122 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12124 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12127 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12129 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12132 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12134 * gettext.C: include LString.h even when --disable-nls is on.
12136 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12138 * converter.h (Get): changed argument type from int to
12139 FormatList::size_type to avoid unnecessary conversion.
12141 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12144 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12146 * gettext.h: include LString.h even when --disable-nls is on.
12148 2001-06-07 Juergen Vigna <jug@sad.it>
12150 * text.C (BreakAgain): subst spaces with tabs.
12152 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12153 (resizeInsetsLyXText): set force on resizeLyXText.
12155 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12157 * gettext.h (gettext_init):
12158 (locale_init): use a real definition instead of a macro
12160 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12162 * Bufferview_pimpl.C:
12164 * LColor.C: further lcolor tidies
12166 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12168 * BufferView_pimpl.C (updateScrollbar): simplify.
12170 * BufferView2.C: don't include insets/insetinfo.h, change
12171 prototype for insertInset and call the Pimpl version. let
12172 updateInset call Pimpl version.
12174 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12175 gotoInset to BufferView::Pimpl
12177 2001-06-01 Juergen Vigna <jug@sad.it>
12179 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12180 inside a LockingInset (is the update needed at all?).
12182 2001-05-31 Juergen Vigna <jug@sad.it>
12184 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12185 here not the old one otherwise how should we compare it afterwards
12188 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12193 * FontInfo.C: bring C functions into global namespace when
12196 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12198 * LString.h: make sure config.h has been loaded before LString.h.
12200 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12201 (one for each char read by EatLine!).
12203 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12206 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12208 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12209 to the same as the par we break from
12211 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12213 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12215 * MenuBackend.C (expand): also create menu entries for wide
12216 versions of the floats.
12218 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12220 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12222 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12223 frontends/Makefile.am
12229 * tabular.C (getTokenValue): add std::
12231 * tabular-old.C (getTokenValue): add std::
12232 (getTokenValue): ditto
12233 (getTokenValue): ditto
12235 * screen.C (ToggleSelection): adjust
12237 * lyxtext.h: put selection cursors inside a Selection struct.
12239 * lyxfunc.C (moveCursorUpdate): adjust
12241 * lyxfont.C (latexWriteStartChanges): add std::
12243 * lyxfind.C: adjust
12245 * font.h: delete with(char const *, LyXFont const &)
12247 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12249 * FontInfo.C (getFontname): add std::
12251 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12252 (workAreaButtonPress): adjust
12253 (tripleClick): adjust
12255 (moveCursorUpdate): adjust
12258 * BufferView2.C (gotoInset): adjust
12260 2001-05-30 Juergen Vigna <jug@sad.it>
12262 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12263 to check pspell I add this as default as I now have new pspell
12264 libraries and they seem to use this.
12266 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12268 * text2.C (CutSelection): make the cursor valid before the call to
12271 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12273 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12274 relied on 0 terminated strings and other horrors. Bug found due to
12275 the new assert in lyxstring!
12277 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12280 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12282 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12285 * lyxfunc.C (processKeySym): change method of getting to the
12288 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12289 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12290 * BufferView_pimpl.[Ch]: here as private methods.
12292 2001-05-28 Juergen Vigna <jug@sad.it>
12294 * text.C (SetHeightOfRow): added the update() call again as it is
12295 needed to initialize inset dimensions!
12297 2001-05-16 Juergen Vigna <jug@sad.it>
12299 * text2.C (SetCharFont): Add new function with BufferView * and
12300 bool toggleall parameters for setting insets internal fonts.
12301 (SetFont): Freeze the undo as we may change fonts in Insets and
12302 all this change should be inside only one Undo!
12304 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12305 setting font's in insets as for them we have the SetFont function!
12307 2001-05-15 Juergen Vigna <jug@sad.it>
12309 * text2.C (ClearSelection): to be sure we REALLY don't have any
12312 * tabular.C (TeXCellPreamble): fixed the left border problem for
12315 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12317 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12320 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12322 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12323 LFUN_BREAKPARAGRAPH.
12325 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12326 help test to "internal only", similar for LFUN_INSERT_URL
12328 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12329 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12330 auto_region_delete and deadkeys.
12332 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12335 * LColor.C: remove some dead entries, tidy a little
12337 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12339 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12341 (Dispatch): implement LFUN_ESCAPE
12343 * commandtags.h: add LFUN_ESCAPE
12345 * LyXAction.C (init): add entry for LFUN_ESCAPE
12347 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12348 Remove commented code.
12349 (insertNote): moved here
12350 (open_new_inset): moved here
12352 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12355 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12357 * kbmap.C (findbinding): clean it up and make it work correctly.
12359 * lyx_main.C (init): do not pass argc and argv as parameters
12361 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12363 * buffer.C: fix path for OS/2 & Win32
12367 * lyx_main.C: Added os:: class.
12369 * os2_defines.h: update
12371 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12374 better by trying again with reduced state.
12376 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12378 * lyxrc.C (read): print error about invalid key sequence only when
12379 debugging (because not all latinX keysyms are known to some X
12382 * kbsequence.C (getiso): add a few std:: qualifiers
12383 (getiso): comment out extra return statement.
12385 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12387 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12389 (Dispatch): enhance the accent inset a bit. (not perfect)
12391 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12393 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12395 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12397 * bufferlist.C (emergencyWrite): fix assert() call
12399 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12401 * text.C (InsertChar): Added trivial patch to only send the "you
12402 can not do multiple spaces this way" message once during a
12405 2001-05-08 Baruch Even <baruch@lyx.org>
12407 * Makefile.am: Changed order of libraries to get LyX to link properly
12408 with the gnome frontend.
12410 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12412 * LaTeXFeatures.h: add a std:: qualifier
12414 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12416 * paragraph.C (String): use stringstream
12418 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12420 * paragraph.C (writeFile): remove footflag arg
12422 * buffer.C (makeLaTeXFile): use stringstream
12423 (latexParagraphs): remove footnot gurba
12425 * LaTeXFeatures.C (getPackages): use stringstream
12426 (getMacros): likewise
12427 (getTClassPreamble): likewise
12428 (getFloatDefinitions): new method
12430 * paragraph.C (writeFile): reindent
12433 * WorkArea.h: revert the xpos + etc changes.
12435 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12437 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12439 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12440 (pasteSelection): likewise
12441 * text2.C (CreateUndo): likewise
12443 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12445 * minibuffer.C (peek_event): temporarily reduce the functionality
12446 of the minibuffer (to allow args on lfuns)
12448 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12449 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12451 * buffer.C (readInset): add compability reading of old float
12452 lists, add reading of new style float list.
12453 (readInset): avoid reevaluation of inscmd.getCmdName()
12454 (getLists): reindent
12456 * MenuBackend.C (MenuItem): implement parsing of
12457 md_floatlistinsert and md_floatinsert.
12458 (expand::LastFiles): move initalizaton of iterators out of loop,
12459 avoid reevaluation.
12460 (expand::Documents): introduce typdedef vector<string> Strings,
12462 (expand::ExportFormats): introduce typedef vector<Format const *>
12463 Formats, and use it.
12464 (expand): implement FloatListInsert and FloatInsert.
12466 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12467 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12468 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12470 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12472 (Dispatch::LFUN_FLOAT_LIST): implement
12474 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12476 * LaTeX.C (run): Fix problem with --export code.
12478 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12480 * BufferView.[Ch] (workarea): removed.
12481 (getClipboard) new method; wrapper for workarea()->getClipboard()
12483 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12486 * WorkArea.h (width, height, xpos, ypos): These methods all
12487 returned the dimensions of the work_area sub-area of WorkArea,
12488 resulting in a position error if the WorkArea were resized. Now
12489 return the dimensions of the entire WorkArea.
12491 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12493 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12495 * LaTeX.C (deplog): correct the syntax of regex reg1
12497 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12499 * undo.C: remove !NEW_INSETS cruft
12501 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12503 * text2.C: remove !NEW_INSETS cruft
12505 * text.C: remove !NEW_INSETS cruft
12507 * tabular.C: remove !NEW_INSETS cruft
12509 * spellchecker.C: remove !NEW_INSETS cruft
12511 * lyxtext.h: remove !NEW_INSETS cruft
12513 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12515 * lyxfunc.C: remove !NEW_INSETS cruft
12517 * lyxfind.C: remove !NEW_INSETS cruft
12519 * lyx_cb.C: remove !NEW_INSETS cruft
12521 * figureForm.C: remove !NEW_INSETS cruft
12523 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12525 * buffer.[Ch]: remove !NEW_INSETS cruft
12527 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12529 * CutAndPaste.C: remove !NEW_INSETS cruft
12531 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12533 * BufferView2.C: remove !NEW_INSETS cruft
12535 * BufferView.h: remove !NEW_INSETS cruft
12537 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12539 * Lsstream.h: include LString.h before the sstream headers to
12540 fix problem with gcc 2.95.3 and lyxstring
12542 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12544 * lyx_main.C: add using directives when needed for C functions
12545 declared in std:: namespace.
12547 2001-04-27 Juergen Vigna <jug@sad.it>
12549 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12550 (SetHeightOfRow): comment out the update call should not be needed!
12552 2001-04-13 Juergen Vigna <jug@sad.it>
12554 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12555 (LyXTabular): tried to minimize operator= operations (and realized
12556 hopfully Lars wish).
12558 2001-04-27 Juergen Vigna <jug@sad.it>
12560 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12562 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12564 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12566 * buffer.C (readInset): hack to make listof algorithm work
12568 * BufferView_pimpl.C: hack to make listof algorithm work
12570 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12572 * LyXAction.C: removed all !NEW_INSETS cruft
12573 (init): moved lfun_item in method
12575 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12577 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12579 * BufferView2.C (theLockingInset): white space.
12581 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12583 * minibuffer.C: include <iostream>
12585 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12587 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12589 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12591 * text.[Ch] (TransposeChars): new method
12593 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12595 * call message directly through LyXView instead of through LyXFunc
12596 * BufferView2.C: adjust
12597 * BufferView_pimpl.C: adjust
12598 * FontLoader.C: adjust
12600 * bufferview_funcs.C: adjust
12601 * converter.C: adjust
12602 * figureForm.C: adjust
12603 * importer.C: adjust
12605 * lyx_gui_misc.C: adjust
12606 * lyxfunc.C: adjust
12609 + more files in subdirs
12611 * lyxparagraph.h (size): move up int file
12614 * adjust all uses of Assert to lyx::Assert.
12616 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12617 lyxfunctional in namespace lyx
12618 * layout.C (hasLayout): ditto
12621 (delete_layout): ditto
12622 (NumberOfClass): ditto
12623 * converter.C (GetFormat): ditto
12628 * bufferlist.C (getFileNames): ditto
12629 (emergencyWriteAll): ditto
12632 * MenuBackend.C (hasSubmenu): ditto
12635 * BufferView_pimpl.C (getInsetByCode): ditto
12637 2001-04-18 Juergen Vigna <jug@sad.it>
12639 * vspace.C (asLatexString): fixed the 100% problem.
12641 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12643 * lyxfunc.C (Dispatch):
12645 * minibuffer.h: add a few std:: qualifiers
12647 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12649 * minibuffer.[Ch]: reimplement so that commands is initiated and
12650 run from lyxfunc, simplified som handling, and made the completion
12651 and history code for complete. wip.
12653 * lyxfunc.C (processKeySym): call message
12654 (miniDispatch): new temporary method
12655 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12656 (LFUN_MESSAGE): implement
12657 (LFUN_MESSAGE_PUSH): implement
12658 (LFUN_MESSAGE_POP): implement
12659 (initMiniBuffer): the initial/defualt minibuffer message.
12661 * lyxfont.[Ch]: inline some more getters
12663 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12665 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12667 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12668 (AutoSave): use LFUN_MESSAGE
12669 (Reconfigure): ditto
12671 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12673 * figureForm.C: use LFUN_MESSAGE
12675 * converter.C (runLaTeX): use LFUN_MESSAGE
12677 * bufferview_funcs.C: use LFUN_MESSAGE
12679 (changeDepth): ditto
12681 * bufferparams.h: use boost::
12683 * bufferlist.h: inherit privately from noncopyable
12685 * bufferlist.C (loadLyXFile): remove some commented code.
12687 * buffer.C (runChktex): use LFUN_MESSAGE
12689 * ShareContainer.h: inherit privately from noncopyable
12691 * ParagraphParameters.[hC] (depth): inline it.
12693 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12695 (message): new method
12696 (messagePush): ditto
12697 (messagePop): ditto
12698 (show): init minibuffer
12699 (showState): direct call
12701 * LaTeX.[Ch]: inherit privately from noncopyable
12702 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12703 instead of WriteStatus.
12705 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12707 * BufferView_pimpl.C (buffer): don't init minibuffer
12708 (workAreaButtonPress): use LFUN_MESSAGE
12709 (workAreaButtonRelease): ditto
12710 (savePosition): ditto
12711 (restorePosition): ditto
12712 (MenuInsertLyXFile): ditto
12713 (workAreaExpose): don't init minibuffer
12714 (update): remove commented code, simplify
12716 * BufferView2.C (openStuff): use LFUN_MESSAGE
12717 (toggleFloat): ditto
12720 (copyEnvironment): ditto
12721 (pasteEnvironment): ditto
12726 (updateInset): remove some commented code
12728 * lastfiles.h: inherit privately from noncopyable
12731 * lyx_main.h: ditto
12733 * lyxlex_pimpl.h: ditto
12735 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12736 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12737 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12739 * LyXAction.h: inherit privately from noncopyable, add methods
12740 func_begin, func_end, returning iterators to the func map.
12742 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12743 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12744 (func_begin): new method
12745 (func_end): new method
12747 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12749 (copySelection): ditto
12750 (pasteSelection): ditto
12752 * BufferView.C: whitespace change
12753 * BufferView.h: inherit privately from noncopyable
12755 2001-04-16 Allan Rae <rae@lyx.org>
12757 * tabular-old.C (l_getline):
12758 * spellchecker.C (sc_check_word):
12759 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12760 an unrecognised preprocessor directive. So ensure they're wrapped.
12762 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12764 * src/exporter.C (Export): Give an error message when path to file
12767 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12769 * LaTeX.C (deplog): Always check that foundfile exists.
12771 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12774 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12776 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12778 * tabular.[Ch] (getLabelList): implement new method
12780 * minibuffer.h: comment ouf setTiimer
12782 * minibuffer.C (ExecutingCB): constify res
12783 (peek_event): constify s
12784 (Set): constify ntext
12785 (Init): constify nicename
12787 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12789 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12790 (savePosition): use two params to Minibuffer::Set
12791 (restorePosition): ditto
12793 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12795 * lyx_main.C: include language.h
12797 * Makefile.am (lyx_main.o): add language.h
12799 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12805 * CutAndPaste.C: include gettext.h
12807 * lyxfont.h: remove old hack with ON and OFF.
12810 * lyxfont.h: do not include language.h...
12815 * bufferview_funcs.C:
12821 * paragraph.C: ... but do it here instead
12823 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12825 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12827 * tabular.C: small reformat
12829 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12832 (BreakParagraph): ditto
12833 (SetOnlyLayout): ditto
12836 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12839 * lastfiles.C: removed most using decl, add std:: where needed
12841 * buffer.C: ws changes
12843 * MenuBackend.C (class compare_format): put into anon namespace
12844 (expand): constify label, names, action, action2
12847 * text.C (SingleWidth): constify font
12848 (IsBoundary): constify rtl2
12849 (GetVisibleRow): constify ww
12851 * LaTeX.C (deplog): constify logfile
12853 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12855 (workAreaExpose): constify widthChange, heightChange
12857 * lyxrow.C (par): moved
12860 * lyxrow.h: as inlines here
12862 * lyxfont.h (shape): moved from lyxfont.C
12863 (emph): moved from lyxfont.C
12865 * lyxfont.C (LyXFont): use initialization list for all
12867 (shape): move to lyxfont.h as inline
12868 (emph): move to lyxfont.h as inline
12871 2001-04-04 Juergen Vigna <jug@sad.it>
12873 * vspace.C: had to include stdio.h for use of sscanf
12875 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12878 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12879 independent of xforms.
12881 2001-04-02 Juergen Vigna <jug@sad.it>
12883 * spellchecker.C: fixed namespace placing!
12885 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12887 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12888 the LyXParagraph * is 0.
12890 2001-03-29 Juergen Vigna <jug@sad.it>
12892 * vspace.C: added support for %, c%, p%, l%.
12893 (stringFromUnit): added helper function.
12894 (asLatexString): changed to give right results for the %-values.
12896 * buffer.C: convert the widthp in a width%.
12898 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12900 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12903 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12904 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12906 * lyx_cb.[Ch]: see above.
12908 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12912 * lyx.[Ch]: replaced by figure_form.[Ch].
12916 * lyxfunc.C: changed headers associated with above changes.
12918 2001-03-27 Juergen Vigna <jug@sad.it>
12920 * BufferView_pimpl.C: set the temporary cursor right!
12922 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12924 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12926 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12928 * LString.h: removed "using std::getline"!
12930 * BufferView_pimpl.C (Dispatch): changes due to changes in
12931 InsetInclude::Params.
12933 * buffer.C (tag_name): removed redundant break statements as they were
12934 producing lots of warnings with my compiler.
12936 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12938 * LString.h: add "using std::getline" when using the real <string>.
12940 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12942 * buffer.C: removed bitset usage.
12943 PAR_TAG moved to an anonymous name space.
12944 (tag_name): new funtion, also in the anonymous namespace.
12945 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12946 (makeDocBookFile): clean code. Completed transition from string arrays
12948 (SimpleDocBookOnePar): code clean.
12950 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12952 * tabular.C: add some comments.
12954 2001-03-22 Juergen Vigna <jug@sad.it>
12956 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12957 compatibility read a bit and fixed bug with minipage in different
12960 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12962 * buffer.C (pop_tag): removed.
12963 (push_tag): removed.
12964 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12965 array replaced with vector. Added support for CDATA sections.
12966 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12968 (makeDocBookFile): XML conformant declaration of CDATA section,
12969 fixed bug related to <emphasis> in the first paragraph char.
12970 (sgmlOpenTag): exclude empty tags.
12971 (sgmlCloseTag): ditto.
12973 * buffer.h (pop_tag): removed.
12974 (push_tag): removed.
12976 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12978 * language.h (Languages): added size_type and size().
12980 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12982 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12983 response on compability reading of minipages. One probliem is that
12984 the old usage of minipages was «flertydig»
12986 * several files here and in subdirs: don't use static at file
12987 scope use anon namespaces instead.
12989 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12991 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12992 LaTeX output. This is necessary for Literate document
12995 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12997 * buffer.C: insert hfill when needed.
12999 * tabular.C (l_getline): use string::erase, small whitespace change.
13001 * BufferView_pimpl.C: try the anon namespace.
13002 * WorkArea.C: ditto
13004 2001-03-16 Juergen Vigna <jug@sad.it>
13006 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13007 otherwise it won't open options-dialogs.
13009 * buffer.C: honor pextraWidth(p) on converting minipages.
13011 * tabular.C (l_getline): changed the functions to strip trailing \r.
13013 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13015 * BufferView_pimpl.C:
13016 * minibuffer..C: added "using SigC::slot" declaration.
13018 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13020 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13026 * paragraph.C: ditto
13028 * lyxtext.h: NO_PEXTRA
13030 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13032 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13033 * ParameterStruct.h: ditto
13034 * ParagraphParameters.h: ditto
13035 * lyxparagraph.h: ditto
13037 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13039 * buffer.C: add compability for minipage alignment.
13040 (latexParagraphs): remove unwanted pextra check.
13042 * several files: remove CXX_WORKING_NAMESPACES
13044 * buffer.C (pop_tag): tie is in namespace boost
13046 * BufferView.h: noncopyable is in namespace boost
13048 * lyx_main.h: ditto
13051 * lastfiles.h: ditto
13052 * bufferlist.h: ditto
13053 * ShareContainer.h: ditto
13055 * LyXAction.h: ditto
13058 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13060 * Merging changes from BRANCH_MVC back into HEAD.
13062 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13064 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13066 * BufferView_pimpl.C: change from intl.C
13070 * Makefile.am: move combox.*
13076 * intl.C: remove dialog (covered by prefs)
13078 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13080 * lyxfunc.C (Dispatch): removed redundant break statement.
13082 2001-03-14 Juergen Vigna <jug@sad.it>
13084 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13086 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13088 * buffer.C: add hack to fix compability reading of minipages.
13090 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13092 * buffer.C (getLists): Cleanup.
13094 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13096 * lyxfont.C (update): don't honor toggleall on font size.
13098 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13102 * Makefile.am: moved to frontends/xforms/
13106 * BufferView_pimpl.C: changes for moved mathpanel
13108 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13110 * gettext.h: fix gettext_init() in --disable-nls
13112 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13114 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13116 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13119 * lyx.h: strip external form
13121 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13123 * BufferView_pimpl.C: add comment, destroySplash()
13125 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13127 * BufferView_pimpl.C:
13131 * lyxfunc.C: use re-worked insetinclude
13133 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13135 * buffer.C: add using std::stringstream.
13137 * lyx_cb.C: readd using std::ios.
13139 * buffer.C: add using std::map.
13141 * BufferView_pimpl.C: add using std::vector.
13143 * ShareContainer.h: add std:: to swap.
13145 * buffer.h: add some typedefs
13146 * buffer.C (getLists): use them
13147 (getLists): renamed from getTocList.
13148 add a counter for the different float types and use it in the
13150 (getLists): use the same counter for the NEW_INSETS and the "non"
13153 * lyx_cb.h: remove unused items, includes, using etc.
13155 * ShareContainer.h: remove some commented code, add more comments
13156 and "documentation".
13158 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13160 * buffer.C (getTocList): make the list also when NEW_INSETS is
13163 * buffer.h: remove TocType
13165 * buffer.C (getTocList): change to return a map<string,
13166 vector<TocItem> >, implement for dynamic number of list.
13168 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13169 * text2.C (PasteSelection): adjust
13170 * CutAndPaste.C (pasteSelection): adjust
13172 * FloatList.C (FloatList): update from the new_insets branch.
13173 * Floating.[Ch]: ditto
13174 * LaTeXFeatures.C: ditto
13176 * lyxlex_pimpl.C: ditto
13178 * paragraph.C (Last): remove when NEW_INSETS is defined.
13180 * other file: changes because of the above.
13182 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13184 * lyxparagraph.h: rename next to next_, previous to previous_,
13185 make them private for NEW_INSETS. Rename Next() to next(),
13186 Previous() to previous().
13188 * other files: changes because of the above.
13190 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13193 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13196 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13198 * main.C (main): pass lyx_localedir to gettext_init().
13200 * gettext.h: remove locale_init and gettext_init macros
13202 * gettext.C (locale_init): new function
13203 (gettext_init): new function
13205 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13208 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13210 * Moved credits to frontends:
13211 * credits.[Ch]: removed
13212 * credits_form.[Ch]: removed
13213 * lyx_gui_misc.C: remove credits stuff
13216 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13218 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13220 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13221 unneeded destructor.
13223 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13224 a standalone pointer again.
13226 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13228 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13234 * ToolbarDefaults.C:
13243 * BufferView_pimpl.C: use new file dialog in GUII
13246 * lyx_cb.C: remove LayoutsCB to Toolbar
13248 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13250 * ShareContainer.h (get): add std:: qualifier
13252 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13254 * ShareContainer.h: define a proper ShareContainer::value_type
13255 type (and use typename to please compaq cxx)
13257 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13259 * lyxparagraph.h: move serveral local vars to
13260 ParameterStruct/ParagraphParameters., use ShareContainer in
13261 FontTable., make vars in FontTable private and add getter and
13264 * paragraph.C: changes because of the above.
13266 * lyxfont.h: remove copy constructor and copy assignment. (the
13267 default ones is ok), move number inside FontBits. move inlines to
13270 * lyxfont.C: add number to initializaton of statics, move several
13271 inlines here. constify several local vars. some whitespace
13272 cleanup. Dont hide outerscope variables.
13274 * Spacing.h: add two new constructors to match the set methods.
13276 * ShareContainer.h: new file, will perhaps be moved to support
13278 * ParameterStruct.h: new file
13280 * ParagraphParameters.h: new file
13282 * ParagraphParameters.C: new file
13284 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13285 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13287 * BufferView_pimpl.C: ParagraphParameter changes.
13288 * buffer.C: Likewise.
13289 * bufferview_funcs.C: Likewise.
13290 * text.C: Likewise.
13291 * text2.C: Likewise.
13293 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13295 * lyxfind.C (LyXReplace): do not redefine default argument in
13297 (IsStringInText): ditto
13298 (SearchForward): ditto
13299 (SearchBackward): ditto
13301 2001-03-06 Juergen Vigna <jug@sad.it>
13303 * lyxfind.C (IsStringInText): put parentes around expressions.
13305 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13307 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13309 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13311 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13313 * stl_string_fwd.h: add comment
13315 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13318 * tabular.C: remove unused DocBook methods
13324 killed DO_USE_DEFAULT_LANGUAGE
13326 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13328 * lyx_gui.C: do not include language.h.
13330 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13331 arguments in function implementation.
13333 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13335 * BufferView_pimpl.C: add <ctime>
13337 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13339 * BufferView_pimpl.C: add using std::find_if
13341 2001-02-27 José Matos <jamatos@fep.up.pt>
13343 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13346 2001-02-11 José Matos <jamatos@fep.up.pt>
13348 * buffer.C (makeDocBookFile): command styles now have a parameter as
13349 "title" by default.
13351 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13353 * layout_forms.[Ch]: removed
13354 * lyx_cb.[Ch]: out character
13355 * lyx_gui.C: out character
13356 * lyx_gui_misc.C: out character
13357 * bufferview_funcs.C: : out character,
13358 added toggleall as parameter in ToggleAndShow
13360 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13362 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13364 * text2.C (SetCurrentFont): Disable number property at boundary.
13366 2001-02-26 Juergen Vigna <jug@sad.it>
13368 * lyxfunc.C (getStatus): added a string argument override function so
13369 that this is correctly called from LyXFunc::Dispatch if it contains a
13370 do_not_use_argument which is used!
13371 (Dispatch): added check for "custom" export and call appropriate func.
13373 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13375 * lyxrc.C: Add language_command_local, language_use_babel and
13376 language_global_options.
13378 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13380 * buffer.C (makeLaTeXFile): Use language_use_babel and
13381 language_global_options.
13383 2001-02-23 Juergen Vigna <jug@sad.it>
13385 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13386 which works with LyXText and putted it inside BufferView. Here now we
13387 only call for that part the BufferView::Dispatch() function.
13389 * BufferView.C (Dispatch): added.
13391 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13392 functions which needs to use a LyXText over from LyXFunc.
13393 (MenuInsertLyXFile): added
13394 (getInsetByCode): added
13395 (moveCursorUpdate): added
13396 (static TEXT): added
13398 2001-02-22 Juergen Vigna <jug@sad.it>
13400 * BufferView_pimpl.C (update): call a status update to see if LyXText
13403 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13405 * vc-backend.C (revert): implement for CVS
13406 (getLog): implement for CVS
13408 2001-02-20 Juergen Vigna <jug@sad.it>
13410 * text2.C (ClearSelection): added BufferView param for inset_owner call
13412 * lyxfunc.C (TEXT): added this function and use it instead of
13413 directly owner->view()-text of getLyXText().
13415 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13417 * src/layout_forms.C: out preamble
13418 * src/layout_forms.h: out preamble
13419 * src/lyx_cb.C: out preamble
13420 * src/lyx_cb.h: out preamble
13421 * src/lyx_gui.C: out preamble
13422 * src/lyx_gui_misc.C: out preamble
13423 * src/lyxfunc.C: connect with guii preamble
13425 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13427 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13429 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13431 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13432 whether to run bibtex.
13434 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13436 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13438 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13440 * Makefile.am (lyx_SOURCES): removed bibforms.h
13442 * vspace.h: doxygen
13444 * text.C (GetVisibleRow): make several local vars const
13446 * tabular.C: small cleanup.
13448 * lyxserver.C (callback): use compare instead of strncmp
13450 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13451 inlines to after class or to paragraph.C
13453 * lyxfont.h: remove friend operator!=
13455 * converter.h: move friend bool operator< to non friend and after
13458 * combox.h: small cleanup
13460 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13461 to inlines after class def.
13463 * buffer.C (pop_tag): use string operations instead of strcmp
13465 * bmtable.c: doxygen, small cleanup
13467 * LaTeX.h: remove friend operator==
13469 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13481 * BufferView_pimpl.C:
13482 * BufferView.[Ch]: remove cruft
13484 2001-02-14 Juergen Vigna <jug@sad.it>
13486 * lyxfunc.C: removed #if 0 unused code
13488 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13490 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13492 * text2.C (SetSelection): added a BufferView * parameter
13494 2001-02-13 Juergen Vigna <jug@sad.it>
13496 * lyxfunc.C (Dispatch): fixed protected blank problem.
13497 * BufferView2.C (protectedBlank): added LyxText * parameter.
13499 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13500 (AppendColumn): same as above for column_info.
13502 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13503 (moveCursorUpdate): use a LyXText param for support of InsetText.
13505 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13506 (tripleClick): ditto
13508 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13510 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13512 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13514 * text2.C (SetSelection): set correct update status if inset_owner
13515 (ToggleFree): ditto
13517 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13519 * tabular.C: remove some commented code.
13521 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13523 * BufferView_pimpl.C: call hideSplash()
13525 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13528 * bibforms.h: remove
13531 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13532 add LFUN_CHILD_CREATE
13534 * counters.h: fix tiny typo
13539 * lyx.C: move splash to frontends/xforms/
13541 * lyx_gui_misc.C: move Include and Bibform to frontends
13543 * lyxvc.h: clarify comment
13545 * vspace.C: tiny housekeeping
13547 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13549 * text.C (PrepareToPrint): RTL Fix.
13551 * paragraph.C (GetUChar): New method.
13552 (String): Use GetUChar.
13554 * buffer.C (asciiParagraph): Use GetUChar.
13556 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13558 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13560 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13563 * buffer.C: rename to getLogName(), handle
13564 build log / latex log nicely
13566 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13569 * MenuBackend.h: remove support for reference menuitem type.
13571 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13573 * BufferView_pimpl.C: housekeeping
13574 * BufferView_pimpl.h:
13579 * minibuffer.h: move Timeout GUI-I
13581 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13583 * lyxrc.C (read): Update converters data-structures.
13585 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13587 * LaTeX.h (operator!=): add operator != for Aux_Info
13589 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13591 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13593 * LaTeXLog.C: deleted, useful code moved to Buffer
13596 * buffer.C: new function getLatexLogName()
13602 * lyxfunc.C: use frontends for LaTeX and VC logs
13604 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13606 * LaTeX.h: yet another std:: that Allan forgot.
13608 * Variables.C (set): renamed from isset(), because this clashes
13609 with some HP-UX macros (grr).
13611 2001-02-06 Allan Rae <rae@lyx.org>
13613 * LaTeX.h: Another bug fix. Missing std:: this time.
13615 2001-02-04 Allan Rae <rae@lyx.org>
13617 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13618 floats problem. I've left it commented out because it's not quite
13619 correct. It should also test that the current object is a table or
13620 figure inset. But I haven't gotten around to figuring out how to do
13621 that. I *think* it'll be something like: "table" == inset.type()
13623 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13626 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13628 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13629 all the citation/databases/styles in the auxilary file.
13630 (run): Rerun latex if there was a babel language error.
13632 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13634 * text.C (Backspace): Preserve the font when changing newline char
13636 (BreakParagraph): If the cursor is before a space, delete the space.
13638 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13640 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13642 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13643 new argument (code).
13644 (ChangeCitationsIfUnique): New method.
13646 * paragraph.C (GetPositionOfInset): Handle bibkey.
13648 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13650 * BufferView_pimpl.h: change type of Position::par_pos to
13651 LyXParagraph::size_type.
13653 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13655 * BufferView_pimpl.C (savePosition, restorePosition): Write
13656 messages to minibuffer.
13658 2001-01-28 José Matos <jamatos@fep.up.pt>
13660 * buffer.C (makeDocBookFile): adds support for document language.
13661 A silly restriction on the name of LatexCommand types where removed.
13662 Added support for CDATA sections, allows to chars unescaped, used
13663 among others in code, to avoid escape < and >.
13665 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13667 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13668 saved positions instrad of a stack. Furthermore, a position is
13669 stored using paragraph id/paragraph position.
13671 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13672 Remove LFUN_REF_BACK.
13674 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13676 * converter.C (dvipdfm_options): New method.
13678 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13680 * vspace.C (isValidLength): Fix for empty input string.
13682 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13684 * LyXAction.C (init): change description of LFUN_FIGURE to
13687 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13689 * LaTeX.C: add using directive
13691 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13693 * MenuBackend.C (expand): Fix the sorting of the formats.
13695 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13697 * lyx_main.C: tiny error message fix
13699 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13701 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13702 calling fl_initialize(). This fixes the problem with ',' as
13703 decimal separator in text files.
13705 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13707 * trans.C (process): Fix the keymap bug.
13709 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13711 * LaTeX.C (scanAuxFiles): New method. Provides support for
13712 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13713 (scanLogFile) Scan for "run BibTeX" messages.
13715 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13716 OT1 font encoding. Also, load the aecompl package if the ae
13719 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13721 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13723 * texrow.C (increasePos): turn two error messages into debug
13726 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13728 * LaTeX.C (scanAux): Handle the \@input macro.
13729 (runBibTeX): Use scanAux().
13731 * language.C (latex_options_): New field.
13733 * LaTeXFeatures.C (getMacros): Add language macros.
13735 * buffer.C (makeLaTeXFile): Small fix.
13737 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13739 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13741 * text2.C: add a using directive.
13743 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13748 * lyxfunc.C: kill LyXBell.
13750 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13752 * text.C (IsBoundary): Remove the error message
13754 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13756 * lyxrc.C (setDefaults): Correct initialization value for
13759 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13761 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13764 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13765 and GotoNextNote().
13767 * src/LyXAction.C: Added reference-next.
13769 * text.C (InsertChar): Use contains instead of strchr.
13771 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13773 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13775 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13776 alignment commands (when needed).
13778 * text.C (InsertChar): Add ':' to number separator chars.