2 2003-11-10 André Pönitz <poenitz@gmx.net>
5 * BufferView_pimpl.[Ch]: merge update() and updateInset()
7 2003-11-10 André Pönitz <poenitz@gmx.net>
9 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
10 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
11 indicate that the cursor needs to leave an inset
13 * lyxtext.h: remove inset locking
15 * cursor.[Ch]: re-implement functionality provided by inset locking
18 * BufferView_pimpl.[Ch]:
20 * bufferview_funcs.[Ch]:
32 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
34 * PosIterator.[Ch]: replace the stack with a vector, add inset
36 * iterators.[C]: adjust
38 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
40 * lyxfind.C (replaceAll): mark the buffer dirty if something was
42 * paragraph_funcs.C (readParToken): put the correct id in the
43 error item, not the id of the top paragraph
45 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
47 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
48 * bufferview_funcs.C (put_selection_at): use the above
50 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
52 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
54 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * output_docbook.h: add #include statements
61 2003-11-05 José Matos <jamatos@lyx.org>
63 * output_docbook.[Ch]:
65 * output_linuxdoc.[Ch]:
66 * output_plaintext.[Ch]: New files for output formats.
67 * output.[Ch]: New file for helper functions.
70 * paragraph_funcs.[Ch]: output functions moved to new files.
72 * outputparams.h: rename of latexrunparams.h
80 * paragraph_funcs.[Ch]:
81 * paragraph_pimpl.[Ch]:
82 * tabular.[Ch]: rename ascii to plaintext
83 and LatexRunParams to OutputParams.
85 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
87 * iterators.[Ch] (text): require bv argument
88 * undo.C (recordUndo):
89 * lyxfunc.C (dispatch):
90 * bufferview_funcs.C (put_selection_at): adjust
92 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
94 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
96 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
98 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
101 2003-11-04 André Pönitz <poenitz@gmx.net>
103 * cursor.[Ch]: restructure
106 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
108 * iterators.[Ch] (asCursor): remove
110 * lfuns.h: remove LFUN_INSET_EDIT
116 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
118 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
120 * lyxfind.[Ch]: complete overhaul
121 * BufferView_pimpl.C:
123 * paragraph.[Ch] (insert): add
125 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
129 * text.C: remove dead spellcheck code
131 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
133 * dispatchresult.h: add a val setter
135 * cursor.C (dispatch): use a tempvar for data_[i]
137 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
139 * PosIterator.[Ch]: compile fix
141 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
143 * text.C (cursorPar): deactivate the cursor cache
145 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
147 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
149 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
151 * text3.C (dispatch): adjust for new DisptchResult semantics.
153 * lyxfunc.C (dispatch): handle update when return from
154 Cursor::dispatch, adjust for new DispatchResult semantics.
156 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
157 DispatchResult(true) mean to not update. Add class functions for
158 setting dispatched and update, as well as reading.
160 * cursor.C (dispatch): don't handle update here
162 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
164 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
165 * trans_mgr.C: adjust
167 * paragraph_funcs.C (readParToken): exception safety
169 * lyxvc.h: store the vcs pointer in a scoped_ptr
172 * lyxsocket.C (serverCallback): exception safety
174 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
176 * ispell.C (clone): make it return a auto_ptr
178 * factory.C (createInset): exception safety
179 (readInset): exception safety
181 * bufferlist.C (newBuffer): exception safety
183 * Thesaurus.C (Thesaurus): use initialization for aik_
185 * MenuBackend.C (expandToc): exception safety.
187 2003-11-03 André Pönitz <poenitz@gmx.net>
191 * bufferview_funcs.C: remove getInsetFromId()
194 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
200 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
202 * PosIterator.C (distance, advance): new
203 * bufferview_funcs.[Ch] (put_selection_at): new
204 * iterators.[Ch] (lockPath): new
206 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
208 * iterators.[Ch] (asPosIterator): added
209 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
210 * PosIterator.[Ch]: added
212 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
216 * cursor.C (dispatch):
217 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
219 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
220 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
221 contructor, add a class function dispatched. Remove operator>=
223 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
225 * debug.C: only use the default constructor for debugstream
228 * main.C (main): include debug.h and setup the lyxerr streambuf
231 2003-10-31 José Matos <jamatos@lyx.org>
233 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
235 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
236 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
237 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
238 * paragraph_pimpl.C (simpleTeXSpecialC):
239 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
240 add LatexRunParams argument.
242 * exporter.C (Export): change call accordingly.
244 * latexrunparams.h: add new member to take care of the other backends.
245 2003-10-30 José Matos <jamatos@lyx.org>
247 * buffer.C (makeLinuxDocFile, makeDocBookFile):
248 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
249 factorise code for paragraph output.
251 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
254 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
256 * text3.C (dispatch):
257 * lyxfunc.C (dispatch):
258 * cursor.C (dispatch):
259 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
261 * dispatchresult.h: make the dispatch_result_t ctor explicit
263 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
266 * buffer.C: small refactoring of docbook stuff
268 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
270 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
273 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
275 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
276 operator dispatch_result_t, and operators for == != and >=
278 * cursor.C (dispatch): adjust for operator dispatch_result_t
279 removal. comment out call to update
281 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
283 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
291 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
294 * dispatchresult.h: new file, DispatchResult broken out of
297 * Makefile.am (lyx_SOURCES): add dispatchresult.h
299 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
301 * text.C (rowBreakPoint): put a hack inside #if 0
303 2003-10-28 André Pönitz <poenitz@gmx.net>
310 * text2.C: general cleanup (lots of small stuff)
312 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
314 * text2.C (cursorEnd): simple fix to the "end key goes to one
315 before the end on last row" bug
317 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
319 * text.C (backspace): fix the "zombie characters"
321 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
323 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
325 2003-10-27 André Pönitz <poenitz@gmx.net>
327 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
329 * factory.C: handle new InsetPagebreak, InsetLine
331 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
332 and move handling into new InsetPagebreak, InsetLine
334 * BufferView_pimpl.C:
336 * ParagraphParameters.C:
349 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
358 * text3.C: remove lastPos uses in favour of Row::endpos
360 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
362 * undo.C (performUndoOrRedo): fix two crashes by setting a
363 cursor by hand and reordering some calls. Use bv->lockInset instead
364 of inset->edit because the latter loses cursor information
366 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
368 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
370 (rowBreakPoint): fix width. change point to point + 1.
373 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
376 * lyxfunc.C: fix (at least partly) the problems
377 with the Nav menu and headers inside branch insets
380 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
382 * paragraph.C (getChar): add strong asserts
384 * lyxrow_funcs.C (lastPos): remove hideous hack
386 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
387 (fill): adjust to that (avoid an infinite loop)
389 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
391 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
393 2003-10-23 André Pönitz <poenitz@gmx.net>
395 * RowList_fwd.h: change list<> to vector<> to gain speed
396 after suggestion from Alfredo
398 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
400 * lyxtext.h: move the bidi stuff from here...
403 * Bidi.[Ch]: ... to here
405 2003-10-23 André Pönitz <poenitz@gmx.net>
408 * text.C (isLastRow, isFirstRow): new functions
410 * paragraph.h: new width cache member
412 * rowpainter.C: replace RowList::iterator with Row & where possible
414 * lyxfunc.C: replace several view()->text with a single call
416 * toc.C: fix 'unused' warning
418 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
420 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
421 when woring with stream::pos_type
422 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
424 2003-10-22 André Pönitz <poenitz@gmx.net>
427 * text.C: use Row & instead of RowList::iterator
429 * lyxrow.h: rename end() to endpos()
435 2003-10-22 Angus Leeming <leeming@lyx.org>
437 * buffer.[Ch] (fully_loaded): new member function, returning true
438 only when the file has been loaded fully.
439 Used to prevent the premature generation of previews and by the
440 citation inset to prevent computation of the natbib-style label.
442 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
443 templates are all set up.
445 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
447 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
449 * text.C: fixed an "oops" in the "is a bit silly"
452 2003-10-21 André Pönitz <poenitz@gmx.net>
454 * FuncStatus.[Ch]: small stuff, whitespace
456 * lyxfont.[Ch]: operator<<() for debug reasons
460 * lyxtext.h: whitespace, spelling
462 * paragraph.C: naming of variables
465 * text2.C: small stuff
468 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
470 * text.C: (1) finish off the inset display() work;
471 (2) fix the "is a bit silly" bug (accessing char
474 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
476 * text.C: re-introduce display() for insets, fixing the
477 various bugs (stretch of line above, math inset
480 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
482 * text.C (rightMargin): remove spurious semicolon
484 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
487 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
489 * text3.C: fix one crash due to wrong cursor def
491 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
493 * vc-backend.C (scanMaster): make the regex static
495 * LaTeX.C (scanAuxFile): make the regexs static
497 * text3.C (doInsertInset, dispatch, dispatch):
498 * text2.C (cursorUp, cursorDown):
499 * text.C (selectNextWordToSpellcheck):
500 * BufferView_pimpl.C (dispatch):
501 * lyxfunc.C (dispatch): localDispatch -> dispatch
503 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
505 * lyxsocket.C: include <cerrno>
507 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
509 * lyxfunc.C (dispatch): remove textcache stuff
511 * bufferlist.C (release): remove textcache stuff
514 * TextCache.C: delete file
515 * TextCache.h: delete file
517 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
519 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
520 delete of the bv_->text.
521 (resizeCurrentBuffer): remove texcache stuff
522 (workAreaResize): ditto
524 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
526 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
529 2003-10-16 André Pönitz <poenitz@gmx.net>
536 * text3.C: speed up by storing y positions per paragraph plus per-row
537 offset instead of having a 'full' y position in the row.
539 2003-10-15 André Pönitz <poenitz@gmx.net>
543 * undo.[Ch]: make undo aware of inner insets
545 2003-10-14 Angus Leeming <leeming@lyx.org>
547 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
548 static member functions LyX::ref() and LyX::cref.
549 (lastfiles): new accessor functions for the new lastfiles_ member var.
550 (addLyXView, views_): add a new LyXView to the list of views_.
551 (updateInset): loop over all LyXViews to call their own updateInset
552 member function, returning a pointer to the Buffer owning the inset.
554 * BufferView_pimpl.C (loadLyXFile):
555 * MenuBackend.C (expandLastfiles):
556 * bufferlist.C (MenuWrite, QuitLyX):
557 lastfiles is no longer a global variable.
558 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
560 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
561 static function. Access through LyX::cref().emergencyCleanup().
563 2003-10-14 André Pönitz <poenitz@gmx.net>
565 * iterators.[Ch]: new direct access to innermost LyXText and Inset
567 * undo.[Ch]: restoring part of 'undo in insets'
570 * undo_funcs.[Ch]: merge with undo.[Ch]
572 * tabular.C: small cleansing stuff
574 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
576 * paragraph_funcs.C (readParToken): report unknown insets as error
577 boxes. Use the outer paragraph as location (also for unknown
580 * factory.C (readInset): do not abort on reading an unknown inset.
583 2003-10-13 Angus Leeming <leeming@lyx.org>
585 * lyx_main.C (LyX): remove call to setDisplayTranslator().
587 * lyxrc.C: displayTranslator is now a function,
588 declared in GraphicsTypes.h.
590 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
592 * format.C: new placeholder $$a to pass the socket address.
594 * bufferlist.[Ch]: new function getBufferFromTmp.
596 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
597 files in the temporary dir.
599 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
601 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
603 * Makefile.am: add lyxsocket.[Ch].
605 * lyx_main.C (error_handler): handle SIGPIPE.
607 2003-10-13 André Pönitz <poenitz@gmx.net>
609 * BufferView_pimpl.C:
614 * undo_funcs.[Ch]: use paroffset_type instead of
615 ParagraphList::iterators to prevent multiple conversion
616 (and get a more robust interface)
618 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
620 * lyxfunc.C (dispatch): RESULT -> dispatch_result
622 * text3.C (dispatch): ditto
624 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
626 * LaTeX.C (handleFoundFile): move the static to smaller scope,
627 move the onlyfile, use onlyfile instead of foundfile in a couple
630 * DepTable.C (update): flush the error stream a bit more
632 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
634 * lyxserver.C (callback): adjust
636 * lyxfunc.C (getStatus): add a missing brace in commented code
637 (ensureBufferClean): reindent
638 (dispatch): delete version taking a string
640 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
642 * LaTeX.C (deplog): move found file handlig from here...
643 (handleFoundFile): .. to new function here.
644 (deplog): make sure to discover several files mentioned on the
647 2003-10-10 André Pönitz <poenitz@gmx.net>
654 * text3.C: fix some of the tabular crashes
656 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
658 * MenuBackend.C (binding): put debug message into Debug::KBMAP
660 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
662 2003-10-09 André Pönitz <poenitz@gmx.net>
664 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
667 * BufferView_pimpl.C:
668 * bufferview_funcs.C:
679 * undo_funcs.C: adjust
681 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
683 * text2.C (incrementItemDepth): new function, use a backtracking
684 algorithm to discover the correct item depth.
685 (resetEnumCounterIfNeeded): new function, use a backtracking
686 algorithm to discover if counter reset is needed.
687 (setCounter): use them. Simplify a bit. Add different labels for
688 different item depths for itemize.
690 * paragraph.C (Paragraph): remove initialization of enumdepth
693 * paragraph.h: get rid of enumdepth, and use itemdepth both for
694 enumerate and itemize. Change the type of itemdepth to signed char.
696 2003-10-08 André Pönitz <poenitz@gmx.net>
698 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
703 * tabular.[Ch]: fix crash after 'row-insert'
705 2003-10-08 Angus Leeming <leeming@lyx.org>
707 Fix doxygen warnings.
709 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
710 Remove CutAndPaste:: prefix from header file declaration.
712 * LColor.h (fill): remove LColor:: prefix from declaration.
714 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
715 use lyx::depth_type rather than Paragraph::depth_type so that
716 header file and .C file match.
718 * converter.h (intToFormat): remove Converters:: prefix from declaration.
720 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
721 * aspell.C: \file aspell_local.C -> \file aspell.C
722 * gettext.C: \file gettext.C -> \file src/gettext.C
723 * gettext.h: \file gettext.h -> \file src/gettext.h
724 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
725 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
726 * text.C: \file text.C -> \file src/text.C
728 * toc.C: move comment so that doxygen is not confused.
730 2003-10-07 Angus Leeming <leeming@lyx.org>
732 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
734 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
737 * aspell_local.h: add forgotten std::string's.
739 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
746 * text3.C: The Box patch. Fancybox support, minipage, parbox
748 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
754 * ParagraphParameters.h:
764 * lyxtextclasslist.h:
768 * textcursor.h: add <string> and other small fixes to make Lars'
769 std::string patch compile with STLport.
771 2003-10-06 Angus Leeming <leeming@lyx.org>
773 * LColor.h: Add missing #include <string>.
775 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
777 * All most all file in all subdirs: Make <string> be the prefered
778 way of getting to std::string, add using declarations.
780 2003-10-06 André Pönitz <poenitz@gmx.net>
782 * metricsinfo.C: initialize LyXFont before changing attribute.
783 (fixes the 'math in \emph is upright' bug)
785 2003-10-06 André Pönitz <poenitz@gmx.net>
787 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
789 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
792 * paragraph_pimpl.C: Small fixes to build using STLport
794 2003-10-02 André Pönitz <poenitz@gmx.net>
797 * text3.C: move handling of LFUN_DEPTH *; fix #1360
799 2003-10-01 André Pönitz <poenitz@gmx.net>
801 * factory.C: assert early
803 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
805 * lyx_main.C: remove the global debug object
807 * debug.h: adjust for new debugstream
809 * debug.C: adjust for new debugstream and keep the global debug
812 2003-09-22 Angus Leeming <leeming@lyx.org>
814 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
815 of g++ which otherwise complain that the scoped_ptr destructor can't delete
816 an incomplete class LyXFont.
818 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
820 * factory.C: bug fix in branches
822 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
824 * lyxfunc.C (processKeySym): adjust
826 (dispatch): change arg name from ev to func, adjust
827 (sendDispatchMessage): ditto
829 * lyx_main.C (defaultKeyBindings): adjust keybindings
830 (deadKeyBindings): ditto
832 * kbsequence.C (addkey): return a FuncRequest
834 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
836 * kbmap.C (bind): take a FuncRequest as arg, adjust
839 (defkey): change to take a FuncRequest as arg, adjust
840 (findbinding): take a FuncRequest as arg, adjust.
842 * funcrequest.h (operator=): added
844 * funcrequest.C (FuncRequest): default kb_action changed from
845 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
847 * buffer.C (dispatch): simplify
848 (dispatch): adjust to take a FuncRequest as arg, adjust
850 * boost.C (assertion_failed): change assertion message slightly
852 * ToolbarBackend.C (read): simplify
854 * MenuBackend.C (binding): adjust call to findbinding, add a
855 message if no binding is found.
857 (expandToc): correct by adding a empty FuncRequest
859 * LyXAction.C: include <boost/assert.hpp>
860 (isPseudoAction): delete function
861 (LookupFunc): change name to...
862 (lookupFunc): this. change return type to FuncRequest.
863 (getActionName): take kb_action as arg, simplify
864 (funcHasFlag): add an assert, simplify.
866 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
868 * toc.C (action): return a FuncRequest, simplify
870 * lyxfunc.C (processKeySym): adjust
871 (getStatus): delete version that takes an int.
873 (dispatch): delete version that takes action as int
875 (sendDispatchMessage): simplify and adjust
877 * funcrequest.C (getArg): take unsigned int as arg
879 * ToolbarBackend.C (read): adjust
880 (add): delete version that takes func as a string.
881 (getIton): take a FuncRequest as arg
883 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
886 * MenuBackend.C (MenuItem): add a new construct that only takes a
887 Kind, simplify the constructor use for submenus.
889 (expandLastfiles): adjust
890 (expandDocuments): adjust
891 (expandFormats): adjust
892 (expandFloatListInsert): adjust
893 (expandFloatInsert): adjust
894 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
896 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
897 Remove class variables lyx_pseudo_map and lyx_arg_map
899 * LyXAction.C (searchActionArg): delete function
900 (getPseudoAction): delete function
901 (retrieveActionArg): delete function
902 (LookupFunc): make it return kb_action, simplify.
903 (getActionName): simplify
905 * factory.C (createInset): fix new bug
907 2003-09-19 Angus Leeming <leeming@lyx.org>
909 * CutAndPaste.C (pasteSelection): remove fudge used to set the
910 masterFilename_ parameter in the include inset.
912 * factory.C (createInset): changes due to the changes to InsetInclude.
914 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
916 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
918 2003-09-18 Angus Leeming <leeming@lyx.org>
921 * BufferView.C: pass the buffer when calling Inset::getLabelList,
922 Inset::fillWithBibKeys.
923 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
925 2003-09-18 Angus Leeming <leeming@lyx.org>
927 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
929 (ctor): pass and store a 'Buffer const &'
930 (buffer): new member function.
932 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
933 '*this' to the LaTeXFeatures ctor.
935 2003-09-18 Angus Leeming <leeming@lyx.org>
941 * text.C: rename EnumLColor as LColor_color.
943 2003-09-18 Angus Leeming <leeming@lyx.org>
945 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
946 remove #include "insets/insetbase.h" from cursor.h.
948 2003-09-18 Angus Leeming <leeming@lyx.org>
950 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
951 InsetOld_code to remove #include "inset.h".
953 * iterators.C: add #include "insets/inset.h"
955 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
957 * BufferView.C: remove more locking stuff that apparently doesn't
958 do anything sensible.
960 2003-09-16 André Pönitz <poenitz@gmx.net>
963 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
966 2003-09-16 Angus Leeming <leeming@lyx.org>
968 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
970 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
973 * paragraph.h: remove #include "lyxfont.h". Forward declare
976 2003-09-16 Angus Leeming <leeming@lyx.org>
978 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
979 of support/textutils.h.
980 (isWord): move the contents of support/textutils.h's IsWordChar here.
986 * text2.C: add #include "paragraph.h".
989 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
991 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
997 * LaTeX.C: use namespace alias for lyx::support::os
999 2003-09-16 Angus Leeming <leeming@lyx.org>
1002 * bufferview_funcs.C:
1005 * paragraph_pimpl.C:
1007 * text.C: add #include "LColor.h".
1009 2003-09-16 Angus Leeming <leeming@lyx.org>
1011 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1012 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1014 Store the FontBits::color variable as an int rather than as an
1015 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1018 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1019 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1020 string calls together.
1022 * lyxrc.C: add #include "LColor.h".
1024 2003-09-15 Angus Leeming <leeming@lyx.org>
1026 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1029 2003-09-15 Angus Leeming <leeming@lyx.org>
1031 * LColor.h: add an EnumLColor wrapper for LColor::color.
1033 * lyxfont.[Ch] (color, setColor, realColor):
1034 * lyxtext.h, text.C (backgroundColor):
1035 pass EnumLColor args to/from the functions, rather than LColor::color
1039 * lyxtext.h: forward declare EnumLColor.
1041 * lyx_main.C: add #include "LColor.h".
1043 2003-09-15 Angus Leeming <leeming@lyx.org>
1045 * .cvsignore: add lyx-gtk.
1047 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1052 * ParagraphParameters.C
1056 * bufferview_funcs.C
1066 * vc-backend.C: remove usage of STRCONV
1068 2003-09-15 Angus Leeming <leeming@lyx.org>
1070 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1071 explicitly define the color passed to the painter.
1073 2003-09-15 Angus Leeming <leeming@lyx.org>
1075 * bufferparams.C (BufferParams): reorder member initializers to avoid
1078 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1080 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1081 * text.C (updateRowPositions): remove an unusual nop
1083 2003-09-12 André Pönitz <poenitz@gmx.net>
1085 * BufferView_pimpl.C:
1094 * Counters.[Ch]: finish the 'automatic counters' job
1096 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1098 * aspell.C: include <boost/assert.cpp> (compile fix)
1100 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1102 * boost.C (assertion_failed): use lyx::support::abort instead of
1105 2003-09-10 Angus Leeming <leeming@lyx.org>
1107 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1108 with their _fwd progeny.
1110 2003-09-09 Angus Leeming <leeming@lyx.org>
1112 134 files throughtout the source tree: replace 'using namespace abc;'
1113 directives with the appropriate 'using abc::xyz;' declarations.
1115 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1117 * boost.C (emergencyCleanup): moved here from LAssert.c
1118 (assertion_failed): new function, called by BOOST_ASSERT
1120 * several files: change Assert to BOOST_ASSERT
1122 2003-09-09 Angus Leeming <leeming@lyx.org>
1124 * buffer.[Ch]: Add an Impl class and move Buffer's member
1125 variables into it. As a result move several header files out of
1128 Add header files to lots of .C files all over the tree as a result.
1130 2003-09-09 Angus Leeming <leeming@lyx.org>
1132 * buffer.[Ch]: make Buffer's member variables private. Add
1135 Lots of changes all over the tree as a result.
1137 2003-09-08 Angus Leeming <leeming@lyx.org>
1139 * graph.C: #include <config.h>.
1141 2003-09-08 Angus Leeming <leeming@lyx.org>
1145 * BufferView_pimpl.C:
1174 * toc.C: remove redundant using directives.
1176 2003-09-07 Angus Leeming <leeming@lyx.org>
1178 * LaTeXFeatures.h: remove #include "support/types.h".
1179 * ToolbarBackend.h: remove #include <algorithm>.
1180 * changes.h: remove #include <ctime>.
1181 * debug.h: remove #include <iosfwd>.
1182 * graph.h: remove #include "support/std_string.h".
1183 * lyx_main.h: remove #include <csignal>.
1184 * lyxlex_pimpl.h: remove #include <fstream>.
1185 * sgml.h: remove #include <algorithm>, <utility>.
1186 * toc.h: remove #include "support/std_ostream.h".
1187 Add #include <iosfwd>.
1189 2003-09-07 Angus Leeming <leeming@lyx.org>
1191 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1193 * converter.h: forward declare LatexRunParams.
1194 * encoding.h: remove #include "lyxrc.h".
1195 * lyxtext.h: remove #include "LColor.h".
1196 * lyxtextclass.h: remove #include "support/types.h".
1197 * trans.h: remove #include "tex-accent.h".
1198 * trans_mgr.h: remove #include "tex-accent.h".
1199 * insets/inset.h: remove #include "support/types.h", <vector>.
1200 * insets/insetcollapsable.h: remove #include "LColor.h".
1201 * insets/insetinclude.h: remove #include "dimension.h".
1202 * insets/insetlatexaccent.h: remove #include "dimension.h".
1203 * insets/insetoptarg.h:: remove #include "insettext.h".
1204 * insets/insettext.h: remove #include "dimension.h",
1205 <boost/shared_ptr.hpp>
1207 * insets/renderers.h: add #include "dimension.h".
1208 * insets/updatableinset.h: add #include "support/types.h".
1210 * many .C files: Associated changes.
1212 2003-09-06 Angus Leeming <leeming@lyx.org>
1214 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1215 one, inside testInvariant.
1217 * PrinterParams.C: new file.
1218 * PrinterParams.[Ch]: move the function bodies out of line.
1220 2003-09-06 Angus Leeming <leeming@lyx.org>
1222 * ParagraphParameters.h: forward declare ParameterStruct rather than
1223 including its header file.
1224 (depth): moved out-of-line.
1226 2003-09-06 Angus Leeming <leeming@lyx.org>
1228 * BufferView_pimpl.h:
1231 * lyxfunc.h: forward declare LyXKeySym rather than
1232 #include "frontends/LyXKeySym.h".
1234 * BufferView_pimpl.C:
1237 * lyxfunc.C: associated changes.
1239 2003-09-06 Angus Leeming <leeming@lyx.org>
1241 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1242 As a result, can remove the #include "insets/inset.h" from BufferView.h
1244 2003-09-06 Angus Leeming <leeming@lyx.org>
1246 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1247 As a result, can remove the #include "insets/inset.h" from BufferView.h
1249 2003-09-06 Angus Leeming <leeming@lyx.org>
1255 * bufferview_funcs.C:
1256 * BufferView_pimpl.C:
1261 * ParagraphParameters.C:
1266 * frontends/controllers/ControlDocument.C:
1267 * insets/insetcaption.C: rearrange the #includes into some sort of
1270 * buffer.h: remove #includes ErrorList.h, undo.h
1272 2003-09-06 Angus Leeming <leeming@lyx.org>
1274 * support/types.h: add a 'depth_type' typedef, used to store the
1275 nesting depth of a paragraph.
1278 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1279 defining explicitly.
1282 * paragraph_funcs.h:
1283 * ParagraphParameters.h:
1284 * sgml.h: use lyx::depth_type rather than Paragraph or
1285 ParameterStruct's depth_type.
1288 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1291 * BufferView_pimpl.C:
1293 * ParagraphParameters.C:
1296 * bufferview_funcs.C:
1303 * frontends/LyXView.C:
1304 * frontends/controllers/ControlDocument.C:
1305 * frontends/controllers/ControlErrorList.C:
1306 * insets/insetbibitem.C:
1307 * insets/insetbranch.C:
1308 * insets/insetcaption.C:
1309 * insets/insetcollapsable.C:
1310 * insets/insetenv.C:
1311 * insets/insetert.C:
1312 * insets/insetfloat.C:
1313 * insets/insetfoot.C:
1314 * insets/insetfootlike.C:
1315 * insets/insetnewline.C:
1316 * insets/insetquotes.C:
1317 * insets/insettabular.C:
1318 * insets/insettext.C:
1319 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1321 * frontends/controllers/ControlChanges.C: #include "changes.h".
1323 2003-09-06 Angus Leeming <leeming@lyx.org>
1325 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1326 than #including paragraph.h.
1329 * RowList.h: deleted. Superfluous.
1339 * insets/insettext.h: use ParagraphList_fwd.h rather than
1342 * paragraph.h: don't forward declare ParagraphList.
1345 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1346 rather than ParagraphList.h. paragraph.h is still needed for the
1347 Paragraph::depth_type parameters.
1349 * textcursor.h: enable it to compile stand-alone in light of the
1352 * bufferview_funcs.C:
1364 * frontends/controllers/ControlParagraph.C:
1365 * frontends/controllers/ControlTabular.C:
1366 * insets/insetmarginal.C:
1367 * insets/insetminipage.C:
1368 * insets/insetnote.C:
1369 * insets/insetoptarg.C: add header files needed to compile again.
1371 2003-09-06 Angus Leeming <leeming@lyx.org>
1373 * RowList_fwd.h: new file, forward-declaring Row rather than
1374 #including lyxrow.h.
1379 * insets/insettext.h: use it instead of RowList.h
1381 * bufferview_funcs.C:
1388 * text3.C: #include "RowList.h".
1390 2003-09-05 Angus Leeming <leeming@lyx.org>
1392 * factory.C (createInset):
1393 * vspace.C (c-tor): replace sscanf call with an istringstream.
1394 * ispell.C: re-add missing HP/UX headers.
1395 * lyxserver.C: re-add missing os2 headers.
1397 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1406 * text3.C: re-add missing system headers, needed for 2.95.2.
1408 2003-09-05 Angus Leeming <leeming@lyx.org>
1410 Changes most place everywhere due to the removal of using directives
1411 from support/std_sstream.h.
1413 2003-09-05 Angus Leeming <leeming@lyx.org>
1415 Replace LString.h with support/std_string.h,
1416 Lsstream.h with support/std_sstream.h,
1417 support/LIstream.h with support/std_istream.h,
1418 support/LOstream.h with support/std_ostream.h.
1420 Changes resulting throughout the tree.
1422 2003-09-05 Angus Leeming <leeming@lyx.org>
1424 * sgml.h: ensure that the header file can be compiled stand-alone.
1425 * *.C: strip out redundant #includes. (320 in total.)
1427 2003-09-04 Angus Leeming <leeming@lyx.org>
1429 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1430 here (from getPackages).
1432 * debug.[Ch]: add a new EXTERNAL tag.
1434 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1436 * text2.C (cursorEnd): simplify
1438 (getColumnNearX): adjust
1440 * text.C (computeBidiTables): adjust
1443 * rowpainter.C (paintChars): adjust
1444 (paintSelection): adjust
1445 (paintChangeBar): adjust
1448 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1450 (numberOfSeparators): adjust
1452 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1458 * text3.C: Restricts the mouse click functionality
1459 of insets like bibtex, include, toc and floatlist to the visible
1460 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1461 up the dialogs. Cursor has to be in front of the inset (i.e.
1462 start of row) for this to function.
1464 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1466 * bufferview_funcs.C (currentState): output row information
1468 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1470 * bufferview_funcs.C (currentState): output paragraph position
1472 2003-09-04 Angus Leeming <leeming@lyx.org>
1474 * FloatList.h: move out #include "Floating.h".
1475 * LaTeX.h: move out #include "DepTable.h".
1476 * LyXAction.h: move out #include "funcrequest.h".
1477 * buffer.h: move out #include "author.h", "iterators.h".
1478 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1479 * lyx_main.h: move out #include "errorlist.h".
1480 * lyxfunc.h: move out #include "FuncStatus.h".
1481 * lyxtext: move out #include "lyxcursor.h".
1482 * paragraph_pimpl.h: move out #include "counters.h".
1484 2003-09-03 Angus Leeming <leeming@lyx.org>
1486 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1487 preamble_snippets list, enabling us to add snippets to the preamble
1488 only if the snippet was not there already.
1490 2003-09-04 Angus Leeming <leeming@lyx.org>
1492 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1494 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1496 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1499 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1501 * BranchList.C: point fix, earlier forgotten
1503 2003-09-02 Angus Leeming <leeming@lyx.org>
1505 * box.C (contains): renamed from 'contained' after a fantastic
1508 2003-09-02 John Levon <levon@movementarian.org>
1514 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1516 2003-09-02 John Levon <levon@movementarian.org>
1518 * text2.C: simplification of cursorEnd(), including partial
1521 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1523 * buffer.C (readFile): add a space
1525 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1527 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1529 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * buffer.C (readFile): new function, take a filename and a
1532 ParagraphList::iterator
1534 (readFile): adjust, make it private. don't use setStream, make
1535 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1536 always contain the filename.
1538 * BufferView.C (insertLyXFile): simplify and make it work for
1541 2003-08-30 John Levon <levon@movementarian.org>
1543 * Makefile.am: fix dist (from Kayvan)
1545 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1547 * most files: change to use const Buffer refs
1549 2003-08-27 André Pönitz <poenitz@gmx.net>
1551 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1552 on top of ownerPar().
1554 2003-08-27 John Levon <levon@movementarian.org>
1556 * funcrequest.C: properly initialise POD members
1558 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1560 * lyxtext.h (top_y): move top_y from here
1565 * BufferView_pimpl.[Ch]: to here
1566 * frontends/screen.C:
1567 * insets/insettabular.C:
1568 * insets/insettext.C: adjust
1569 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1571 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1574 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1576 2003-08-26 André Pönitz <poenitz@gmx.net>
1578 * paragraph_func.[Ch] (outerPar): new function
1581 * paragraph_funcs.C:
1582 * paragraph_funcs.h:
1583 * paragraph_pimpl.C:
1584 * text2.C: remove Inset::par_owner
1586 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1591 * text2.C: eliminates the needFullRow/display() stuff
1592 altogether, putting the logic in metrics/draw in the insets.
1594 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1596 * text2.C (redoParagraphInternal, redoParagraphs):
1597 * text.C (redoParagraph): add a call to updateRowPositions at the
1598 end of each 'metrics-like' call. Remove all others.
1599 (getRow): remove the 'y-computing' version.
1600 (getRowNearY): do not compute nor return the real y. Solve the
1601 'y < 0' problem and simplify.
1603 2003-08-22 Angus Leeming <leeming@lyx.org>
1605 * *.[Ch]: clean-up of licence and author blurbs.
1606 Also move config.h out of a few .h files and into a few .C files.
1608 2003-08-22 André Pönitz <poenitz@gmx.net>
1610 * lyxrow.[Ch]: add x_ and *fill_ members
1615 * text2.C: adjust/remove prepareToPrint() calls
1617 2003-08-22 André Pönitz <poenitz@gmx.net>
1619 * lyxrow.[Ch]: add end_ member
1621 * lyxrow_funcs.C: use LyXRow::end_
1623 * lyxtext.h (singleWidth): add LyXFont parameter
1626 * text2.C: adjust LyXText::singleWidth() calls
1628 * text.C (redoParagraph): simplify row breaking logic
1631 2003-08-19 André Pönitz <poenitz@gmx.net>
1633 * funcrequest.C: initialize button_ member
1636 * rowpainter.[Ch]: interface consolidation
1638 2003-08-18 André Pönitz <poenitz@gmx.net>
1641 * BufferView_pimpl.C:
1643 * paragraph_funcs.C:
1645 * text3.C: remove LyXScreen::draw() and fitCursor calls
1647 * BranchList.h: remove spurious semicolons
1649 * MenuBackend.C: fix branchlist related crash
1651 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1659 * bufferparams.[Ch]:
1663 * text3.C: implements the 'branch inset'
1664 idea. This allows the output of various versions of a document
1665 from a single source version, selectively outputing or suppressing
1666 output of parts of the text.
1667 This implementation contains a 'branch list editor' in a separate
1668 tab of the document settings dialog. Branches are user definable
1669 and have a "display colour" to distinguish them on-screen.
1671 ColorHandler was somewhat cleaned up.
1672 (1) make possible a dynamically growing LColor list by allowing
1673 the graphic context cache to grow along (vector);
1674 (2) eliminate an IMHO unnecessary step in colour allocation.
1676 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1678 * BufferView_pimpl.C: compile fix
1680 2003-08-15 André Pönitz <poenitz@gmx.net>
1682 * rowpainter.C: remove extra metrics calls
1684 * lyxtext.h: merge the two constructors into a single one,
1685 pass reference to owner's par list
1687 * BufferView_pimpl.C:
1691 2003-08-15 André Pönitz <poenitz@gmx.net>
1693 * lyxrow_funcs.[Ch]:
1696 * paragraph_funcs.C:
1701 * text_funcs.C: split LyXText::rowlist_ into individual
1702 Paragraph::rows_ chunks
1705 * BufferView_pimpl.[Ch]:
1708 * text3.C: remove toggleSelection()
1710 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1712 * bufferlist.C: beautify two alerts (shorter text of buttons)
1713 * buffer.C: Remove redundant ' ' from message
1715 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1716 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1717 rename VALIGN_CENTER to VALIGN_MIDDLE
1719 2003-08-11 André Pönitz <poenitz@gmx.net>
1721 * lyxtext.h (getPar):
1722 * text.C: new function
1724 2003-08-11 André Pönitz <poenitz@gmx.net>
1727 * tracer.[Ch]: remove unneeded files
1729 * InsetList.[Ch]: remove resizeInsetsLyXText()
1734 * text3.C: merge insertParagraphs() and appendParagraph()
1735 remove breakAgain(), update()
1737 * BufferView_pimpl.[Ch]:
1738 * bufferview_funcs.[Ch]:
1742 * tabular.C: adjust after text & InsetList changes.
1744 2003-08-08 André Pönitz <poenitz@gmx.net>
1746 * text.C (insertChar, backspace): replace rowlist fiddling
1747 with rebreak of full par
1750 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1751 checkParagraph, updateInset): removed
1753 2003-08-07 André Pönitz <poenitz@gmx.net>
1756 * text3.C: merge some LFUN handlers, remove dead code
1758 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1760 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1762 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1764 * text2.C (DEPM): fix part of bug 1255 and 1256
1766 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1768 * BufferView_pimpl.C (workAreaDispatch): change to use
1769 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1770 that are no mouse related.
1772 2003-08-05 André Pönitz <poenitz@gmx.net>
1775 * BufferView_pimpl.[Ch]:
1776 * bufferview_funcs.C:
1778 * text3.C: rip out "deep update"
1780 * textcursor.[Ch] (last_sel_cursor): remove unused member
1782 2003-08-04 André Pönitz <poenitz@gmx.net>
1785 * BufferView_pimpl.[Ch]:
1786 * ParagraphParameters.C:
1787 * bufferview_funcs.C:
1793 * text3.C: replace "complicated" BufferView::update(...) calls with
1796 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1798 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1800 * Makefile.am (lyx_SOURCES): add paper.h
1802 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1804 * Makefile.am: move things around so that both lyx-qt and
1805 lyx-xforms can be built (according to --with-frontend). Then lyx
1806 is a symbolic link to lyx-[firstfrontend]
1808 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1810 * Always use std::endl with lyxerr
1812 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1814 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1816 2003-08-01 André Pönitz <poenitz@gmx.net>
1819 * BufferView_pimpl.[Ch]:
1821 * text3.C: merge BufferView::repaint() and BufferView::update()
1823 2003-08-01 José Matos <jamatos@lyx.org>
1825 * buffer.[Ch]: file_format is no longer a buffer data element.
1827 2003-08-01 André Pönitz <poenitz@gmx.net>
1832 * text2.C: make redoParagraph more independent of current cursor
1834 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1836 * text2.C: remove unneeded members
1838 2003-07-30 André Pönitz <poenitz@gmx.net>
1840 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1842 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1843 create a single function...
1845 * paragraph_funcs.C (moveItem): ... here.
1848 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1850 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1852 * LColor.[Ch]: Add comment and greyedout logical colors.
1854 2003-07-30 André Pönitz <poenitz@gmx.net>
1856 * tabular.C: don't use Assert too heavily. This crashes where it
1859 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1861 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1862 is disabled (bug 1232)
1864 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1866 * factory.C: limited 'arg' scope
1868 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1870 * factory.C: fixed Note submenu issues
1872 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1874 * factory.C: submenu for Note/Comment/Greyedout
1876 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1879 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1881 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1884 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1885 greyedout. Patch provided by Jürgen Spitzmüller.
1887 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1889 * kbmap.C (read): fix error message when reading bind files
1891 2003-07-29 Angus Leeming <leeming@lyx.org>
1893 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1894 certainly does not do what it purports to do. I am doing it, and
1895 us, a favour by killing it.
1897 2003-07-28 José Matos <jamatos@lyx.org>
1899 * buffer.C (readBody, do_writeFile):
1900 * paragraph.C(readParagraph): \end_document replaces \the_end.
1902 2003-07-29 André Pönitz <poenitz@gmx.net>
1905 * BufferView_pimpl.[Ch]:
1909 * textcursor.[Ch]: remove toggleToggle & Co
1911 2003-07-28 José Matos <jamatos@fep.up.pt>
1913 * buffer.C (readParagraph):
1914 * params_func (readParToken, readParagraph):
1915 * paragraph.C (write): \layout -> \begin_layout.
1917 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1919 * lyxlex_pimpl.C (setFile): clean up slightly.
1921 * bufferparams.h: add compressed var
1923 * buffer_funcs.C (readFile): adjust for LyXLex change
1924 (newFile): ditto + simplify
1926 * buffer.C (writeFile): handle writing of compressed files
1928 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1929 Check if the file is compressed and set a bufferparm if so.
1931 * Makefile.am (lyx_LDADD): remove explicit -lz
1933 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1935 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1936 makeDocBookFile): put the real LyX version in the first line of
1940 * version.C.in: remove lyx_docversion
1942 * tabular.C (write_attribute): add a template-based version to
1943 write enums properly
1945 2003-07-28 André Pönitz <poenitz@gmx.net>
1950 * text3.C: use doubles again for x-coordinates. They are needed.
1952 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1954 * messages.C (getLocaleDir): use lyx_localedir()
1956 * lyxlex_pimpl.C (setFile): compress stuff
1958 * buffer.C (writeFile): add some compression stuff
1959 (do_writeFile): new func, dont call expliti close... will this
1962 * Makefile.am (lyx_LDADD): add -lz
1964 2003-07-28 José Matos <jamatos@fep.up.pt>
1966 * buffer.C: increment file format.
1967 * paragraph_funcs (readParagraph, readParToken):
1968 * paragraph.C (readParagraph): add \end_layout.
1970 2003-07-27 Angus Leeming <leeming@lyx.org>
1972 * Makefile.am: remove special casing for configure-time setting of
1973 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1975 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1976 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1978 2003-07-26 André Pönitz <poenitz@gmx.net>
1980 * paragraph_func.[Ch]:
1981 * paragraph.C (realizeFont): inline it whereever it is used
1986 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1989 2003-07-26 André Pönitz <poenitz@gmx.net>
1993 * text2.C: get rid of LyXText::need_break_row
1995 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1997 * toc.[Ch]: put namespace toc inside namespace lyx
1999 * MenuBackend.C (expandToc2): adjust for lyx::toc
2002 * lyxfunc.C (dispatch): adjust for lyx::find
2004 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2005 lyx::find instead. Reorganize a bit.
2006 (LyXReplace): rename to replace
2007 (LyXFind): rename to find
2009 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2012 2003-07-26 André Pönitz <poenitz@gmx.net>
2014 * text.C (setHeightOfRow): restrict scope of temporary variable
2016 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2017 code (never has been used?)
2019 2003-07-27 Asger Alstrup <alstrup@local>
2021 * text.C (fill): Optimise algorithm to exploit that we can reuse
2022 the LyXFont for many characters.
2023 (setHeightOfRow): Same thing.
2024 (rowBreakPoint): Same thing.
2026 2003-07-26 Asger Alstrup <alstrup@local>
2028 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2030 * text.C (singleWidth): Spurious font copying in hot-spot
2031 singleWidth avoided. Reorder tests for arabic for efficiency.
2033 * text.C (fill): handle empty paragraphs better.
2035 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2038 * encoding.h: add includes
2040 * lyxrc.C: remove reading of bind files
2042 * lyx_main.C (init): setup bindings and menus only if we have a
2045 * kbmap.C (read): new method. Do the actual reading of bind
2048 * converter.C (dvipdfm_options):
2051 (output): adapt PAPER_* enums.
2053 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2055 * bufferparams.h: remove paper-related enums from there
2057 * paper.h: New file. A trivial header file to hold paper-related
2058 enums. It should later expand to contain many paper-related
2061 * lyxrc.C: declare extern displayTranslator
2063 2003-07-27 José Matos <jamatos@fep.up.pt>
2065 * tabular.[Ch] (linuxdoc): add support for tables and figures
2068 2003-07-27 José Matos <jamatos@fep.up.pt>
2070 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2071 consistency in both functions.
2072 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2074 2003-07-26 Asger Alstrup <alstrup@local>
2076 * rowpainter.C (paintRows): Change algorithm to work directly on
2077 the insets rather than asking every character in the document
2078 whether its an inset.
2080 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2082 * buffer.C (openFileWrite): factorize some code
2084 2003-07-26 Angus Leeming <leeming@lyx.org>
2087 * lyx_main.[Ch]: replace occurances of system_tempdir with
2090 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2092 * rename Inset to InsetOld
2094 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2096 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2097 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2098 which I think is a bit clearer. EDIT is gone, since it was
2099 premature optimisation, and broken for mathed anyway.
2100 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2101 with cursor positioning in insets as well (math insets still do not
2102 work, but that's a different story anyway.) It mysteriously
2103 crashes sometimes with undo in the first paragraph, but I'm fairly
2104 confident that this is a compiler bug.
2106 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2108 * paragraph.C (Paragraph): adjust for new clone return type
2110 (copyIntoMinibuffer): ditto
2112 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2114 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2115 by not having a special case, and always doing a full rebreak of
2116 the document after undo.
2118 2003-07-23 Angus Leeming <leeming@lyx.org>
2120 * factory.C (createInset): InsetExternal::setParams now takes a
2123 2003-07-23 Angus Leeming <leeming@lyx.org>
2125 * factory.C (createInset): changed interface to the external and
2126 graphics mailers' string2params functions.
2128 2003-07-23 Angus Leeming <leeming@lyx.org>
2130 * factory.C (createInset): pass a
2131 Buffer const * parameter to InsetExternalMailer's string2params.
2133 2003-07-22 John Levon <levon@movementarian.org>
2135 * Thesaurus.h: include the right aiksaurus header
2137 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2139 * MenuBackend.C (expand): check menu shortcuts unconditionally
2141 2003-07-21 Angus Leeming <leeming@lyx.org>
2143 * factory.C (createInset): pass a
2144 buffer_path parameter to InsetGraphicsMailer's string2params.
2146 2003-07-21 Angus Leeming <leeming@lyx.org>
2148 * BufferView_pimpl.C (buffer):
2151 * lyxfunc.C (dispatch):
2152 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2153 rather than the grfx shortcut.
2155 2003-07-21 André Pönitz <poenitz@gmx.net>
2157 * rowpainter.C: remove unused variables
2160 * tabular_funcs.h: move to tabular.C
2161 * Makefile.am: adjust
2163 * tabular.[Ch]: basic optical cleaning
2165 * author.h: pass references, not values
2167 2003-07-18 André Pönitz <poenitz@gmx.net>
2175 * text3.C: two-phase drawing for InsetText and InsetTabular
2176 some float -> int changes.
2178 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2180 * lyx_main.C: fix the fix
2182 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2184 * lyx_main.C: fix a crash in batch mode if no files specified
2187 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2189 * format.[Ch] (papersize): moved to BufferParams
2190 * converter.[Ch] (dvips_options): moved to BufferParams
2191 (dvipdfm_options): moved to anon namespace
2192 * bufferparams.[Ch]: added above functions.
2194 2003-07-17 André Pönitz <poenitz@gmx.net>
2198 * text2.C: don't call inset->update() anymore
2200 * metricsinfo.[Ch]: add convenience constructor
2202 2003-07-16 André Pönitz <poenitz@gmx.net>
2207 * text2.C: replace the LyXCursor::irow_ member with
2208 on-demand computation of the value
2210 2003-07-16 John Levon <levon@movementarian.org>
2212 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2214 2003-07-15 André Pönitz <poenitz@gmx.net>
2217 * text2.C: remove no more needed refresh_row
2219 2003-07-15 André Pönitz <poenitz@gmx.net>
2224 * text3.C: refresh_status tristate -> need_update bool
2226 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2228 * lyxtext.h (init): remove reinit argument (act as if always true)
2229 * text2.C: adjust to that
2231 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2233 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2234 * text3.C: use it to delete selections in some cases
2235 (bugs 441, 673, 702, 954).
2237 2003-07-14 André Pönitz <poenitz@gmx.net>
2239 * rowpainter.[Ch]: reduce interface
2241 2003-07-14 André Pönitz <poenitz@gmx.net>
2243 * BufferView_pimpl.C:
2244 * text2.C: adjust after removing unused BufferView * argument
2246 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2248 * text2.C (init): fix a crash fired on resize
2250 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2252 * buffer.[Ch]: added new closing signal
2253 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2254 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2255 BufferView::Pimpl via the closing the signal
2257 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2259 * buffer.[Ch]: take out all bv-related from buffer
2261 * BufferView_pimpl.[Ch]: connect to new signals
2262 * CutAndPaste.C: removed useless asserts
2263 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2266 * lyxfunc.C: moved view-related funciontality from vc here
2267 * paragraph.C: removed outdated comments
2270 2003-07-10 André Pönitz <poenitz@gmx.net>
2272 * BufferView_pimpl.C:
2276 * text2.C: remove InsetText::InnerCache, clean up consequences
2278 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2280 * ispell.C: fix two typos in error messages
2282 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2284 * Extend Note inset to other forms of annotation like Comment
2285 and Greyedout. Right button click gives dialog.
2287 Files modified or added (+):
2291 * ControlNote.[Ch] +
2293 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2294 frontends/controllers
2298 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2300 * aspell.C: add missing namespace lyx::support
2302 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2304 * BufferView.[Ch] (newFile): Add
2305 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2306 * LaTeX.[Ch] (message): added this signal and use it
2307 * buffer.[Ch] (busy, message): added these signals and use them
2308 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2312 * importer.C: use buffer signals instead of direct bv calling
2313 * lyx_cb.[Ch] (ShowMessage): removed
2316 * paragraph_funcs.C:
2317 * text2.C: use buffer signals
2319 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2321 * introduce namespace lyx::graphics
2323 2003-07-02 André Pönitz <poenitz@gmx.net>
2325 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2327 2003-07-01 André Pönitz <poenitz@gmx.net>
2334 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2335 text*.C to text_func.C
2337 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * introduce namespace lyx::support
2341 2003-06-30 André Pönitz <poenitz@gmx.net>
2346 * text.C: re-enable --with-included-string
2348 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2350 * textcursor.C: add <config.h>
2352 * text.C (getWord): remove const from word_location arg
2354 * lyxvc.C (getLogFile): fix const type order
2356 * lyxtext.h: remove const from word_location arg, add arg name
2358 * lyxlayout.h: currect type on labeltype.
2360 * importer.C: correct \file
2362 * converter.C (intToFormat): use std:: on ret val, ws changes
2364 * bufferlist.h: correct \file
2366 * buffer.C (makeLinuxDocFile): fix const type order
2367 (makeDocBookFile): ditto
2368 (fillWithBibKeys): use std:: on stdlib args.
2370 * CutAndPaste.C: fix authors.
2371 (availableSelections): use std:: on return vector
2373 2003-06-27 André Pönitz <poenitz@gmx.net>
2375 * BufferView_pimpl.C:
2376 * bufferview_funcs.C:
2384 * text3.C: remove LyXCursor::row_ member
2387 * text.C: rename fullRebreak() to partialRebreak() and implement
2388 a fullRebreak() that really bereks fully
2390 * textcursor.h: new struct for cursor-related data
2392 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2394 * lyx_main.C (LyX): get full path of document loaded on the
2397 2003-06-26 André Pönitz <poenitz@gmx.net>
2399 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2400 remove unused/broken operator>,<,>=.
2402 * text.C: remove only use of broken operator<= in an Assert().
2404 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2406 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2407 moved errorlist_.clear to showErrorList
2409 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2411 * converter.C (scanLog, runLaTeX):
2412 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2413 move the bv->showErrorList call to the callers
2414 * lyxfunc.C: i.e. here...
2416 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2417 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2418 namespace, the second to...
2419 * buffer_funcs (BufferFormat, parseErrors): added
2420 * errorlist.C (ErrorList(TeXErrors const &)): removed
2422 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2424 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2426 2003-06-24 "Garst R. Reese" <reese@isn.net>
2430 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2432 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2434 * version.C.in: change docversion to 1.4
2436 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2438 * buffer.C: fix a bug just introduced
2440 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2442 * buffer.[Ch]: added the parseError signal and use it, removed
2444 * BufferView.[Ch] (addError): moved to ...
2445 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2446 to the Buffer::parseError signal to catch (guess what) parse errors
2447 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2449 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2451 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2452 ability to create a buffer and to return an existing one from
2453 the list. Moved these functions to...
2454 * buffer_funcs.[Ch]: added
2455 * BufferView.[Ch] (loadLyXFile): added
2456 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2457 job removed from bufferlist::loadLyXFile.
2458 * buffer.C (setReadOnly): make it work without view
2459 (i.e added an if (users))
2461 2003-06-19 Angus Leeming <leeming@lyx.org>
2464 * LyXAction.C (init):
2465 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2466 with LFUN_DIALOG_SHOW <name> <data>.
2468 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2470 * CutAndPaste.C (availableSelections): small compilation fix for
2471 ancient (gcc 2.9x) compilers
2473 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * text3.C (cursorNext): add tmp var
2477 * text2.C (updateCounters): for function calling out of for clause
2478 (replaceSelectionWithString): ditto
2479 (insertStringAsParagraphs): ditto
2480 (getColumnNearX): add tmp var
2481 (setCursorFromCoordinates): add tmp var
2482 (cursorDownParagraph): add tmp var
2483 (deleteEmptyParagraphMechanism): add tmp var
2485 * text.C (insertChar): add tmp var
2487 * rowpainter.C (paintDepthBar): add tmp var
2489 * CutAndPaste.C (availableSelections): potentially check all
2490 paragraphs in a cut to fill the shown strings.
2492 2003-06-18 André Pönitz <poenitz@gmx.net>
2494 * kbmap.[Ch]: use vector<> instead of list<>
2496 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2498 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2499 pasteSelection with index
2501 * text2.C (pasteSelection): modify, call pasteSelection with index
2503 * paragraph.C (asString): reimplement version with no interval to
2504 call the one with interval.
2506 * lyxtext.h: add index arg to pasteSelection
2508 * MenuBackend.C (MenuItem): handle PasteRecent
2509 (Menu::read::Menutags): add md_pasterecent
2511 (expandPasteRecent): new function
2514 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2516 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2518 (availableSelections): new function
2520 2003-06-17 Angus Leeming <leeming@lyx.org>
2522 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2524 2003-06-17 Angus Leeming <leeming@lyx.org>
2527 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2529 * lyxfunc.C (dispatch): invoke it.
2531 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2533 * iterators.C (operator++, ParPosition): reintroduce some
2534 const_cast for the benefit of older compilers.
2536 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2538 * text3.C (dispatch): do not modify clipboard when doing
2539 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2540 LFUN_DELETE_SKIP on a selection selection
2542 2003-06-16 André Pönitz <poenitz@gmx.net>
2548 * tabular.[Ch]: IU of clone() and getLabelList();
2550 2003-06-13 André Pönitz <poenitz@gmx.net>
2552 * tabular.h: compactification
2554 2003-06-12 André Pönitz <poenitz@gmx.net>
2558 * tabular_funcs.h: some renaming plus whitespace
2560 2003-06-12 André Pönitz <poenitz@gmx.net>
2563 * BufferView_pimpl.C:
2569 * toc.C: Return a Paragraph & for ParIterator::operator*()
2571 2003-06-11 John Levon <levon@movementarian.org>
2575 * ToolbarBackend.C: add "Toolbars" section and
2578 2003-06-10 Angus Leeming <leeming@lyx.org>
2581 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2583 * lyxfunc.C (dispatch): invoke it.
2585 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2587 * main.C: protect <ios> with HAVE_IOS
2588 (main): protect sync_with_stdio with HAVE_IOS
2590 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2592 * text2.C (cutSelection): adjust
2593 (pasteSelection): adjust
2595 * messages.C: handle get of empty string
2597 * main.C (main): use sync_with_stdio(false)
2599 * lyxfunc.C (dispatch): adjust
2601 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2602 (WriteAs): remove unneeded BufferView arg.
2604 * bufferparams.h: use correct types on papersize, papersize2 and
2607 * bufferparams.C (readToken): adjust for type
2608 (writeLaTeX): add missing cases to switch.
2610 * bufferlist.C (quitWriteBuffer): adjust
2613 * buffer.C (asciiParagraph): remove some commented code.
2615 * CutAndPaste.C: remove current_view extern variable.
2616 (cutSelection): add BufferParams arg.
2617 (eraseSelection): add BufferParams arg.
2618 (pasteSelection): add Buffer const & arg
2620 2003-06-07 John Levon <levon@movementarian.org>
2623 * paragraph_funcs.C:
2624 * paragraph_pimpl.C:
2628 * paragraph.C: allow InsetERT to freely space lines,
2629 and some consolidation of code
2631 2003-06-06 José Matos <jamatos@fep.up.pt>
2633 * buffer.C (makeDocBookFile): fix bug #821
2635 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2637 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2639 2003-06-04 Angus Leeming <leeming@lyx.org>
2641 * buffer.C: bump format to 224.
2643 2003-06-05 André Pönitz <poenitz@gmx.net>
2645 * text2.C (redoParagraphs): remove two const_cast<>
2647 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2649 * ParagraphList.h: remove last remnants of NO_STD_LIST
2651 2003-06-03 Angus Leeming <leeming@lyx.org>
2653 * factory.C (createInset): small change to the way InsetExternal's params
2656 2003-06-04 André Pönitz <poenitz@gmx.net>
2658 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2660 * paragraph_pimpl.h:
2661 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2663 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2665 * undo_funcs.C: make some simple cases of undo work again
2667 2003-06-03 John Levon <levon@movementarian.org>
2669 * ispell.C: HPUX doesn't have sys/select.h
2672 2003-06-03 John Levon <levon@movementarian.org>
2674 * CutAndPaste.C: update tabular and include inset
2679 * paragraph.C: remove owningBuffer(), don't pass Buffer
2682 * factory.C: insetGraphicsParams changed
2684 2003-06-02 John Levon <levon@movementarian.org>
2690 * text3.C: remove insetparent
2692 2003-06-02 John Levon <levon@movementarian.org>
2695 * buffer.C: fix inset_iterator.end(), move out of line
2698 2003-06-01 John Levon <levon@movementarian.org>
2700 * text3.C: use a proper cut/paste when doing inset
2701 insert (from Jürgen Spitzmüller)
2703 2003-06-01 John Levon <levon@movementarian.org>
2705 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2707 2003-05-30 André Pönitz <poenitz@gmx.net>
2709 * rowpainter.C: unify second drawing phase
2711 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * trans_mgr.C: remove one case of current_view
2715 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2717 * paragraph_funcs.h: remove paragraph.h include
2719 * paragraph.h: delete NO_STD_LIST stuff
2721 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2723 * buffer.h: remove paragraph.h include
2725 * ParagraphList.C: delete file
2727 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2729 * toc.C (getTocList): adjust
2731 * paragraph_pimpl.C (validate): adjust
2733 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2735 * paragraph.C (Paragraph): adjust
2736 (getPositionOfInset): use const_iterator, adjust
2737 (bibitem): use const_iterator, adjust
2738 (setInsetOwner): adjust
2740 * iterators.C (operator++): adjust
2742 * InsetList.[Ch]: Replace selfmade iterator with standard
2743 vector::iterator also introduce const_iterator. Remove getPos,
2744 getInset and setInset from InsetTable. Adjust accordingly.
2746 * BufferView.C (lockInset): adjust
2747 (ChangeInsets): adjust
2749 * tabular.[Ch]: delete commented same_id functions
2751 2003-05-28 John Levon <levon@movementarian.org>
2753 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2755 2003-05-28 André Pönitz <poenitz@gmx.net>
2757 * metricsinfo.[Ch]: remove 'fullredraw' member
2759 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2761 * lyxtextclass.C (operator): remove caching.
2763 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2767 * text2.C (cursorBottom): adjust
2768 (setCounter): use ParagraphList::find, adjust
2770 * text.C (workWidth): use ParagraphList::find, adjust
2772 * lyxcursor.C (LyXCursor): adjust
2774 * buffer.C (inset_iterator): adjust
2776 * ParagraphList.h: make iterator(value_type) private, make
2777 ParagraphList a friend of iterator.
2779 * ParagraphList.C (find): new function
2781 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2783 2003-05-27 André Pönitz <poenitz@gmx.net>
2785 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2787 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2789 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2791 2003-05-26 John Levon <levon@movementarian.org>
2793 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2795 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2797 * remove same_id from function signatures, adjust.
2799 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2801 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2803 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2805 * paragraph.C (Paragraph): get rid of same_ids parameter
2807 * ParagraphList.C (insert): adjust
2810 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2812 * paragraph_funcs.C (breakParagraph): adjust
2813 (breakParagraphConservative): adjust
2815 * buffer.C (readParagraph): adjust
2817 * ParagraphList.C (insert): take a reference instead of a pointer
2820 * paragraph.[Ch] (id): new function
2822 * bufferlist.C (newFile): adjust
2824 * ParagraphList.C (ParagraphList): adjust
2826 (push_back): take a reference instead of a pointer.
2828 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2830 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2833 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2834 set else use old code.
2836 * ParagraphList.C: remove all NO_NEXT code and only compile this
2837 code of NO_STD_LIST is set.
2839 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2841 * BufferView_pimpl.C:
2851 * graphics/GraphicsConverter.C:
2852 * graphics/PreviewLoader.C: header adjustment
2854 2003-05-23 Angus Leeming <leeming@lyx.org>
2856 * LaTeXFeatures.[Ch] (useBabel): new method.
2857 * bufferparams.C (writeLaTeX): use it.
2859 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2861 * ParagraphList.h (set): remove unused function.
2863 2003-05-23 André Pönitz <poenitz@gmx.net>
2866 * BufferView_pimpl.C:
2870 * undo_funcs.C: setUndo reworked
2872 * iterators.[Ch]: add access to topmost ParagraphList
2874 * lyxtext.[Ch] (workWidth): add a const
2876 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2878 * texrow.[Ch] (increasePos): remove function
2879 * exporter.C (export): removed unused var and outdated comment
2881 2003-05-23 Angus Leeming <leeming@lyx.org>
2883 * latexrunparams.h: rename fragile as moving_arg.
2884 * paragraph.C (simpleTeXOnePar): ditto.
2885 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2887 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2889 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2891 (textUndoOrRedo): comment out a currently unused var.
2893 * paragraph.h (NO_NEXT): enable NO_NEXT
2895 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2897 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2899 * exporter.C (Export): adjust for removeAutoInsets removal.
2901 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2903 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2905 * BufferView.[Ch] (removeAutoInsets): delete function
2907 2003-05-22 Angus Leeming <leeming@lyx.org>
2909 * latexrunparams.h: add a free_spacing variable.
2911 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2912 to pass moving_arg, as the data is stored in runparams.fragile.
2914 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2915 to Inset::latexOptional or to simpleTeXOnePar.
2917 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2918 free_spacing arg to Inset::latexOptional.
2920 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2923 2003-05-22 Angus Leeming <leeming@lyx.org>
2925 * latexrunparams.h: add fragile and use_babel variables.
2927 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2928 * buffer.C (makeLaTeXFile): store this returned value in
2929 runparams.use_babel, thus passing it to the inset::latex methods.
2931 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2932 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2934 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2935 longer has a fragile arg, as it is stored in runparams.fragile.
2937 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2938 moving_arg parameter as the data is stored in runparams.fragile.
2940 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2941 a fragile parameter as the data is stored in runparams.fragile.
2943 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2945 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2947 2003-05-22 Angus Leeming <leeming@lyx.org>
2949 * latexrunparams.h: add a 'bool nice' which defaults to false.
2951 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2952 now encapsulated within runparams.
2954 * bufferlist.C (updateIncludedTeXfiles):
2955 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2957 2003-05-22 Angus Leeming <leeming@lyx.org>
2959 * latexrunparams.h: new file containing struct LatexRunParams.
2960 * Makefile.am: add new file.
2962 * LaTeX.[Ch] (c-tor, run):
2963 * buffer.[Ch] (makeLaTeXFile):
2964 * bufferlist.[Ch] (updateIncludedTeXfiles):
2965 * converter.C (convert, scanLog):
2966 * converter.[Ch] (runLaTeX):
2967 * exporter.C (Export):
2968 * paragraph.[Ch] (simpleTeXOnePar):
2969 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2970 * paragraph_funcs.[Ch] (latexParagraphs):
2971 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2972 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2973 pass around a LatexRunParams parameter.
2975 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2977 * paragraph.[Ch]: remove unused constructor
2979 * ParagraphList.C (erase): new function, taking two iterators
2981 2003-05-22 André Pönitz <poenitz@gmx.net>
2983 * undo_funcs.C: remove duplicated code
2985 * iterator.[Ch]: operator=
2987 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2989 * tabular.C (SetMultiColumn): ws changes
2991 * rowpainter.C (paintFirst): get rid of a ->previous
2993 * lyx_cb.C (getPossibleLabel): parlist simplification
2995 * BufferView.C (ChangeInsets): simplify slightly.
2997 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2999 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3000 * lfuns.h: new LFUN_SPACE
3001 * lyxfunc.C: protected space has a new lfun
3002 * paragraph_funcs.C: read new space insets
3004 * factory.C: handle new space insets
3006 2003-05-22 André Pönitz <poenitz@gmx.net>
3009 * BufferView_pimpl.C:
3012 * undo_funcs.C: return a ParIterator from getParFromID.
3014 * iterators.[Ch]: add two const's
3016 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3018 * toc.C (getTocList): adjust
3020 * iterators.[Ch]: rework for parlist
3022 * buffer.C (par_iterator_begin): adjust
3023 (par_iterator_end): adjust
3025 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3027 * BufferView.C (removeAutoInsets): adjust
3028 (ChangeInsets): adjust
3030 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3032 * text.C (top_y): fix bug 1110
3034 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3036 * errorlist.[Ch]: added
3039 * BufferView_pimpl.C:
3040 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3043 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3045 * Makefile.am: ensure that lyx is relinked upon changes to the
3046 various "convenience" libs.
3048 2003-05-20 Angus Leeming <leeming@lyx.org>
3050 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3051 files are compiled in alphabetical order again.
3053 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3055 2003-05-19 Angus Leeming <leeming@lyx.org>
3057 * gettext.[Ch]: remove "char const * _(char const *)".
3059 2003-05-19 André Pönitz <poenitz@gmx.net>
3061 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3070 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3072 2003-05-19 André Pönitz <poenitz@gmx.net>
3076 * lyxtextclass.[Ch]:
3078 * paragraph_funcs.[Ch]:
3080 * text3.C: more insetenv work
3082 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3084 * ParagraphParameters.C (params2string): small bug fixed
3086 2003-05-16 André Pönitz <poenitz@gmx.net>
3089 * bufferview_funcs.C: patch from Kornel Benko to prevent
3090 crash when _(...) is called twice in a statement
3092 2003-05-16 André Pönitz <poenitz@gmx.net>
3099 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3101 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3103 * lyx_main.C (init): remove spurious static_cast
3105 2003-05-14 André Pönitz <poenitz@gmx.net>
3107 * BufferView.C: fix format string
3109 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3111 * BufferView.[Ch] (insertErrors): removed
3112 * BufferView.[Ch] (showErrorList): added
3113 * buffer.C (runChkTeX):
3114 * converter.C (scanLog): call showErrorList instead of inserterrors
3116 2003-05-13 André Pönitz <poenitz@gmx.net>
3118 * BufferView_pimpl.C:
3120 * bufferview_func.C:
3127 * tabular_funcs.h: tostr() from its own header
3129 * ParagraphParameters.C:
3134 * text3.C: STRCONV()
3136 2003-05-12 André Pönitz <poenitz@gmx.net>
3139 * BufferView_pimpl.C:
3143 * ParagraphParameters.C:
3147 * bufferview_funcs.C:
3160 * paragraph_funcs.C:
3164 * text3.C: boost::format -> bformat all over the place
3167 2003-05-09 André Pönitz <poenitz@gmx.net>
3169 * LColor.[Ch]: Pimpl the #include <map> away
3171 2003-05-09 John Levon <levon@movementarian.org>
3173 * bufferlist.C: never remove emergency saves
3175 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3177 * Makefile.am: better lib building
3179 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3181 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3183 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3184 (simpleTeXSpecialChars): adjust
3185 (simpleTeXSpecialChars): adjust
3186 * paragraph.C (simpleTeXOnePar): adjust
3187 * buffer.C (makeLaTeXFile): adjust
3189 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3191 * text2.C (changeDepth): parlist cleanup
3192 (getColumnNearX): ditto
3194 * rowpainter.C (getLabelFont): parlist cleanup
3196 * bufferlist.C (newFile): parlist cleanup
3198 * CutAndPaste.C (eraseSelection): parlist cleanup
3200 * BufferView_pimpl.C (trackChanges): parlist cleanup
3203 * BufferView.C (lockInset): parlist cleanup.
3204 (ChangeInsets): ditto
3206 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3208 * CutAndPaste.h: Update file header.
3210 * CutAndPaste.C: Update file header.
3211 Store the parts cut out of the Document in a limited_stack.
3212 (copySelection): adjust
3213 (pasteSelection): new function, takes the index in the limited stack.
3214 (nrOfParagraphs): adjust
3215 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3216 simplify error inset insertion.
3217 (checkPastePossible): adjust
3219 2003-05-06 John Levon <levon@movementarian.org>
3221 * text2.C: don't cast wrap inset to float
3223 2003-05-05 André Pönitz <poenitz@gmx.net>
3226 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3228 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3229 few naked Paragraph *.
3231 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3233 * bufferparams.C: Output warning if a document with missing
3234 TeX document class is loaded
3235 * exporter.C: Disable TeX exports if the document class is missing
3238 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3239 isTeXClassAvailable()
3241 2003-05-03 John Levon <levon@movementarian.org>
3244 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3245 explicit cursor show/hide
3247 * BufferView_pimpl.h:
3248 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3249 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3251 * lyxfunc.C: hide cursor before dispatching.
3256 * text3.C: remove explicit cursor hides
3258 2003-05-02 André Pönitz <poenitz@gmx.net>
3260 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3263 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3266 * text2.C: tiny whitespace
3268 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * undo_funcs.C: almost only ws changes.
3272 * ParagraphList.C (splice): just return if pl is empty.
3274 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * ParagraphList.C (splice): new function.
3278 * CutAndPaste.C (pasteSelection): use it
3280 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3282 * CutAndPaste.C (pasteSelection): remove the last next and
3283 previous from this file.
3285 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3287 * CutAndPaste.C (pasteSelection): more clean up, user proper
3288 ParagraphList functions for pasteing.
3290 * ParagraphList.C (insert): new function, three arg insert
3292 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3294 * ParagraphList.C (insert): new function, three arg insert
3296 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3299 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3301 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3303 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3305 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3307 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3309 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3310 (copySelection): clean up a bit.
3311 (pasteSelection): use make_pair
3313 * ParagraphList.C (ParagraphList): implement copy constructor
3314 (operator=): implement, base on copy constructor.
3317 * paragraph.C (erase): return a bool
3319 * paragraph_pimpl.C (erasePos): remove function, move contents...
3320 (erase): ... here. Return a bool.
3321 (erase): call erase instead of erasePos.
3323 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3325 * ParagraphList.h: define PitPosPair
3326 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3327 ParagraphList, fix a bug on pasting multiple pars
3328 * text2.C: change interface to C&P
3330 2003-04-30 André Pönitz <poenitz@gmx.net>
3332 * undo_func.C: revert part of yesterday's patch 2
3334 2003-04-30 John Levon <levon@movementarian.org>
3336 * LColor.C: s/tabular/table/
3338 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3340 * text3.C (dispatch): do not convert iterator -> pointer
3341 * undo_funcs.C (setCursorParUndo): ditto
3342 * text_funcs.C (transposeChars): ditto
3344 * text2.C (setLayout): ws changes only
3346 * text.C (breakParagraph): do not convert iterator -> pointer
3348 (acceptChange): ditto
3349 (rejectChange): ditto
3354 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3357 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3359 * text3.C (gotoInset): YABG (yet another bad getChar)
3361 2003-04-29 André Pönitz <poenitz@gmx.net>
3363 * paragraph.h: make operator= private unimplemented as long as
3366 * ParagraphList.C: whitespace
3369 * paragraph_pimpl.[Ch]:
3370 * paragraph_funcs.C:
3372 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3375 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3377 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3379 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3380 * paragraph.[Ch] (erase):
3381 * paragraph_pimpl.[Ch] (erase): change return type and value
3382 * text2.C (cutSelection): some rework
3384 2003-04-28 John Levon <levon@movementarian.org>
3386 * bufferlist.C: changes for unsaved changes dialog
3388 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3390 * bufferlist.C (newFile): set language (messages_) for new
3393 * buffer.C (readFile): ws changes only.
3395 2003-04-28 André Pönitz <poenitz@gmx.net>
3400 * BufferView_pimpl.C:
3401 * BufferView.C: getParFromID related ParagraphList::iterator changes
3403 2003-04-28 André Pönitz <poenitz@gmx.net>
3405 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3408 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3410 * messages.C: remove one more localedir class variable.
3412 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3414 * messages.C (getLocaleDir): singleton generation function
3416 (Messages): add a default constructor.
3418 * main.C (main): do not setup localedir here, do not call
3421 * gettext.C (_): use it.
3422 (gettext_init): delete funciton
3424 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3426 * gettext.C (getLyXMessages): new singleton generating function.
3428 * buffer.C (updateDocLang): adjust
3430 * Makefile.am (messages.o): add target
3431 (main.o): remove target
3433 2003-04-27 John Levon <levon@movementarian.org>
3438 * lyxvc.C: specify cancel button in Alert::prompt
3440 2003-04-26 John Levon <levon@movementarian.org>
3445 * LyXAction.C: add LFUN_INSET_SETTINGS
3447 * lyxfunc.C: don't enable tabular-feature when there's
3448 just any locking inset
3450 2003-04-26 John Levon <levon@movementarian.org>
3452 * bufferlist.C: re-add Cancel to buffer close question
3454 * lyxfunc.C: fix import UI a bit
3456 2003-04-25 John Levon <levon@movementarian.org>
3458 * gettext.C: remove the broken asserts for now
3460 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3462 * messages.C: make case where setlocale cannot comply work better.
3464 * buffer.C (updateDocLang): new function
3465 (changeLanguage): use it
3468 * text2.C (setCounter): use B_ a bit.
3470 * lyxlayout.C (Read): be sure to trim the label strings.
3472 * messages.C (Messages): fix typo in comment
3474 * buffer.C (readFile): set message_ after file is loaded.
3475 (makeDocBookFile): remove double return
3476 (changeLanguage): reset message_ upon language change.
3477 (B_): new func, use this to get translated buffer strings.
3479 * main.C: add myself and Jean Marc as authors.
3481 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3483 * messages.[hC]: pimplify Messages, and three different pimpls to be
3484 used in different circumstances.
3486 * gettext.[Ch]: change for use with new message code.
3488 2003-04-24 André Pönitz <poenitz@gmx.net>
3490 * factory.C: support for eqref
3492 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3494 * messages.[Ch]: add missing char
3496 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3498 * messages.[Ch]: New files
3500 2003-04-18 John Levon <levon@movementarian.org>
3504 * BufferView_pimpl.C:
3508 * text2.C: remove layout-copy/paste (bug 778)
3510 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3512 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3514 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3516 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3517 if they succeed. Act accordingly.
3519 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3521 * text2.C (setCharFont): adjust
3522 (setCounter): adjust
3523 (insertStringAsLines): adjust
3525 * text.C (leftMargin): adjust
3526 (setHeightOfRow): adjust
3528 * rowpainter.C (paintFirst): adjust
3531 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3533 (isFirstInSequence): ditto
3534 (getEndLabel): ditto
3537 * paragraph.C (getParLanguage): comment out some hard stuff.
3539 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3541 (simpleDocBookOnePar): ditto
3542 (makeDocBookFile): use ParagraphList::iterator
3544 * CutAndPaste.C (pasteSelection): adjust
3546 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3548 * text2.C (getFont): adjust
3549 (getLayoutFont): adjust
3550 (getLabelFont): adjust
3552 * paragraph_funcs.C (TeXOnePar): adjust
3554 * buffer.C (simpleLinuxDocOnePar): adjust
3555 (simpleDocBookOnePar): adjust
3557 * CutAndPaste.C (pasteSelection): adjust
3559 * BufferView.C (getEncoding): adjust
3561 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3563 2003-04-16 John Levon <levon@movementarian.org>
3565 * lyxfind.C: use parlist stuff for search/changes
3567 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3569 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3571 * text2.C (deleteEmptyParagraphMechanism): adjust
3573 * text2.[Ch] (ownerParagraph): delete func (both of them
3575 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3577 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3579 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3581 * ParagraphList.C: prepare for NO_NEXT
3583 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3585 * text2.C (getFont): adjust
3586 (getLayoutFont): adjust
3587 (getLabelFont): adjust
3589 * paragraph.C (getFont): adjust
3590 (getLabelFont): adjust
3591 (getLayoutFont): adjust
3593 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3595 2003-04-15 John Levon <levon@movementarian.org>
3599 * lyx_main.C: handle Include in .ui files
3601 2003-04-15 John Levon <levon@movementarian.org>
3603 * MenuBackend.C: make the doc files length shorter
3606 * ToolbarBackend.C: handle toolbar placement flags,
3609 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3614 * paragraph_funcs.C (TeXOnePar): adjust
3616 * paragraph.C (getLabelFont): add outerfont arg, adjust
3617 (getLayoutFont): ditto
3618 (simpleTeXOnePar): adjust
3620 * paragraph_pimpl.C (realizeFont): delete func
3622 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3624 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3625 row argument, constify cur argument.
3627 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3629 * text2.C (getFont): adjust
3630 (getLayoutFont): adjust
3631 (getLabelFont): adjust
3633 * paragraph_funcs.C (TeXOnePar): adjust
3634 (outerFont): new func...
3635 (realizeFont): ...moved out from here, changed this to facilitate
3638 * paragraph.C (getFont): take outerfont as arg, adjust
3639 (simpleTeXOnePar): add outerfont arg, adjust
3641 * buffer.C (simpleLinuxDocOnePar): adjust
3642 (simpleDocBookOnePar): adjust
3644 * CutAndPaste.C (pasteSelection): adjust
3646 * BufferView.C (getEncoding): adjust
3648 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3650 * text2.C (setCharFont): adjust
3651 (setCounter): adjust
3653 * text.C (leftMargin): adjust
3654 (setHeightOfRow): adjust
3656 * rowpainter.C (paintFirst): adjust
3659 * paragraph_pimpl.C (realizeFont): adjust
3661 * paragraph.C (isFirstInSequence): move from here...
3662 * paragraph_funcs.C (isFirstInSequence): ...to here
3664 * paragraph.C (outerHook): move from here...
3665 * paragraph_funcs.C (outerHook): ...to here
3667 * paragraph.C (depthHook): move from here...
3668 * paragraph_funcs.C (depthHook): ...to here
3670 * paragraph.C (getEndLabel): move from here...
3671 * paragraph_funcs.C (getEndLabel): ...to here
3673 * text2.C (realizeFont): move from here...
3674 * paragraph_funcs.C (realizeFont): ...to here
3676 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3678 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3680 2003-04-14 Angus Leeming <leeming@lyx.org>
3682 * LColor.[Ch]: scrap LColor mathcursor.
3684 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3686 * lyxlex.[Ch] (text): delete function
3687 * trans.C (Load): adjust
3688 * paragraph_funcs.C (readParToken): adjust
3690 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3693 vector<char> instead of a char[].
3695 * lyxlex_pimpl.C (getString): adjust
3697 (lex): use getString
3701 * lyxlex.C (text): use pimpl_->getString()
3705 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3707 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3708 (makeFontEntriesLayoutSpecific): temp var for par.size()
3709 (setLayout): temp var for ownerParagraphs().end()
3710 (fullRebreak): temp var for rows().end()
3711 (selectionAsString): temp var for boost::next(startpit), realize
3712 that the while really is a regular for loop.
3713 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3714 setCursor in one place.
3715 (setParagraph): temp vr for ownerParagraphs().end()
3716 (updateCounters): make the while loop a for loop
3717 (cutSelection): temp var for ownerParagraphs().end()
3718 (updateInset): make the do {} while() a regular for loop
3719 (getCursorX): use temp vars
3720 (setCurrentFont): use temp vars
3721 (getColumnNearX): use temp vars
3723 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3725 * text.C (transformChar): use temp var for getChar
3726 (computeBidiTables): use temp var for row->par()
3727 (fill): move temp vars for row->par() and pit->layout() earlier in
3729 (labelFill): use temp var for row->par()
3730 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3731 asc and desc, realize that pit never changes and that firstpit is
3732 just a duplicate and not needed. Exchange rit->par() with pit in a
3734 (breakAgain): use a temp var for boost::next(rit)
3735 (breakAgainOneRow): ditto
3736 (breakParagraph): use a temp var for rows().begin()
3737 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3738 (cursorRightOneWord): use temp var for cursor.par() and
3739 cursor.pos(), remove usage of tmpcursor.
3740 (cursorLeftOneWord): use temp var for cursor.par() and
3741 cursor.pos() only set cur at end of function.
3743 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3745 * text.C, text2.C: exchange all usage of Paragraph::next with
3746 boost::next(ParagraphList::iterator)
3748 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3750 * text2.C (cursorTop): simplify implementation
3751 (cursorBottom): ditto
3752 (setParagraph): use ParagraphList::iterator
3753 (setCurrentFont): adjust
3754 (getColumnNearX): adjust
3755 (cursorRight): adjust
3756 (cursorLeft): remove usage of Paragraph::previous
3757 (cursorUpParagraph): ditto
3758 (deleteEmptyParagraphMechanism): slight cleanup
3760 * text.C (isBoundary): take a Paragraph const & instead of a
3762 (addressBreakPoint): ditto
3763 (leftMargin): remove usage of Paragraph::previous.
3764 (setHeightOfRow): ditto
3765 (cursorLeftOneWord): ditto
3766 (selectNextWordToSpellcheck): ditto
3769 (breakParagraph): remove one usage of Paragraph::next
3770 (redoParagraph): ditto
3771 (acceptChange): ditto
3772 (insertChar): adjust
3773 (rowBreakPoint): adjust
3775 * bufferview_funcs.C (toggleAndShow): adjust
3777 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3779 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3780 methods to access it.
3782 * text.C: Added updateRowPositions to compute all row positions.
3783 Make top_y and getRowNearY() to use the cached y position
3785 2003-04-11 John Levon <levon@movementarian.org>
3787 * text.C (rowBreakPoint): reintroduce the labelEnd
3788 checks, code copied from the row fill stuff. Deep voodoo.
3790 * text.C (fill): add a comment and debugging for the
3793 2003-04-11 John Levon <levon@movementarian.org>
3795 * text.C: make sure fullrow insets get wrapped to the next line,
3796 even when they're in a manual label
3798 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3800 * text2.C (insertParagraph): make it take ParagraphList::iterator
3802 (setLayout): make it return ParagraphList::iterator
3803 (redoParagraphs): ditto
3805 (checkParagraph): ditto
3807 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3809 * text2.C: adjust several funcs.
3810 (realizeFont): take a ParagraphList::iterator as arg.
3811 (getLayoutFont): ditto
3812 (getLabelFont): ditto
3813 (setCharFont): ditto
3815 * text.C: adjust several funcs.
3817 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3819 * text.C (selectNextWordToSpellcheck): don't accidentally
3822 2003-04-10 John Levon <levon@movementarian.org>
3824 * ToolbarBackend.C (getIcon): special handling for
3827 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3829 * text2.C (cursorRight): a getChar assert fixed
3831 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3833 * text2.C (getFont): change to take a ParagraphList::iterator
3834 instead of Paragraph*
3835 Adjust several functions.
3837 * text.C (transformChar): change to take a ParagraphList::iterator
3838 instead of Paragraph*
3839 (singleWidth): ditto
3840 Adjust several functions.
3842 * rowpainter.C: adjust several functions
3843 * rowpainter.h:store a ParagraphList::iterator and not a
3847 2003-04-09 John Levon <levon@movementarian.org>
3852 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3853 and the "help" bits as well
3855 2003-04-09 John Levon <levon@movementarian.org>
3858 * ToolbarBackend.C: allow multiple toolbars
3860 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3862 * undo_funcs.C (setCursorParUndo): adjust
3864 * text_funcs.C (transposeChars): adjust
3866 * text3.C (gotoNextInset): adjust
3869 * text2.C (setLayout): adjust
3870 (changeDepth): adjust
3872 (redoParagraphs): adjust
3873 (selectionAsString): adjust
3874 (setParagraph): adjust
3875 (insertInset): adjust
3876 (cutSelection): adjust
3877 (copySelection): adjust
3878 (pasteSelection): adjust
3879 (insertStringAsLines): adjust
3880 (updateInset): adjust
3881 (setCursor): change to take a ParagraphList::iterator parameter
3882 (setCursorIntern): change to take a ParagraphList::iterator parameter
3883 (setCurrentFont): adjust
3884 (cursorLeft): adjust
3885 (cursorRight): adjust
3886 (deleteEmptyParagraphMechanism): adjust
3888 * text.C (breakParagraph): adjust
3889 (insertChar): adjust
3890 (acceptChange): adjust
3891 (rejectChange): adjust
3892 (selectNextWordToSpellcheck): adjust
3893 (changeCase): adjust
3897 * lyxfind.C (SearchForward): adjust
3898 (SearchBackward): adjust
3899 (nextChange): adjust
3901 * lyxcursor.C (par): adjust
3903 * lyxcursor.h: store a ParagraphList::iterator instead of a
3906 * lyx_cb.C (getPossibleLabel): adjust
3908 * bufferview_funcs.C (toggleAndShow): adjust
3910 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3913 * BufferView.C (removeAutoInsets): adjust
3914 (lockedInsetStoreUndo): adjust
3916 2003-04-09 John Levon <levon@movementarian.org>
3918 * ToolbarBackend.C: try icon without argument
3919 if with argument fails
3921 2003-04-08 John Levon <levon@movementarian.org>
3924 * ToolbarBackend.C: add getIcon(), handle tooltip,
3925 and change from "Icon" to "Item".
3927 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3929 * BufferView.C (lockInset): another bad getchar crunched
3931 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3933 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3936 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3938 * lyxfind.C (searchForward, searchBackwards): bug 782
3940 2003-04-07 John Levon <levon@movementarian.org>
3942 * paragraph.C: remove dead comment
3944 * text.C: remove troublesome depth-fiddling code
3945 in leftMargin() and rightMargin() (bug 1017)
3947 * text.C: fix breaking of rows in nested lists
3950 * text2.C (updateCounters): fix up depth values
3953 2003-04-07 John Levon <levon@movementarian.org>
3955 * BufferView_pimpl.C: clear message when doc finishes resizing,
3956 and after a mouse event
3958 * lyxfunc.C: clear message after exiting inset
3960 2003-04-07 John Levon <levon@movementarian.org>
3962 * bufferview_funcs.C: show math status not outside
3963 status in the statusbar
3965 2003-04-07 John Levon <levon@movementarian.org>
3967 * lyxfunc.C: note status changed after a depth change
3969 2003-04-04 Angus Leeming <leeming@lyx.org>
3971 * LaTeX.h: move AuxInfo operator==, != out of line.
3972 Remove LaTeX virtual destructor; nothing derives from it.
3973 Move operator()() out of public area and rename it startscript().
3974 Change protected for private.
3976 2003-04-04 Angus Leeming <leeming@lyx.org>
3979 * text2.C: remove unneeded #includes.
3981 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3983 * text2.C (dEPM): fix the heigth of the next row
3985 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3987 * text.C: squashed an invalid getChar requester + some ws changes
3989 2003-04-03 John Levon <levon@movementarian.org>
3991 * bufferview_funcs.h:
3992 * bufferview_funcs.C:
3995 * text2.C: make getStatus work for the env depth lfuns
3997 2003-04-03 John Levon <levon@movementarian.org>
3999 * bufferview_funcs.h:
4000 * bufferview_funcs.C:
4003 * text2.C: parlistize decDepth(), by merging it with incDepth()
4005 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4007 * lyxrow.h: store a ParagraphList::iterator instead of a
4008 Paragraph* and adjust other class functions to suit.
4010 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4013 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4015 * text2.C (setCursor): do not anchor to cursor row for the time being
4017 2003-04-02 John Levon <levon@movementarian.org>
4024 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4026 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * paragraph.h: make ParagraphList and ParagraphList::iterator
4029 friends of Paragraph.
4031 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4033 * ParagraphList.C: Use the private next_ and previous_ from
4036 2003-04-01 John Levon <levon@movementarian.org>
4040 * Makefile.am: rename, remove defaults gunk
4043 * MenuBackend.C: remove defaults gunk
4046 * Languages.C: remove defaults gunk
4049 * lyx_main.C: error out if files couldn't be found.
4051 2003-04-02 John Levon <levon@movementarian.org>
4053 * text2.C: make incDepth() use parlist
4055 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4057 * undo_funcs.C (firstUndoParagraph): adjust
4059 * text3.C (gotoInset): adjust
4060 (dispatch): adjust, and rewrite loop.
4062 * text2.C (init): adjust, and rewrite loop.
4063 (redoParagraphs): adjust
4064 (updateInset): adjust, and rewrite loop.
4065 (deleteEmptyParagraphMechanism): adjust
4067 * tabular.C (LyXTabular): adjust
4068 (SetMultiColumn): adjust
4071 * lyxtext.[Ch] (ownerParagraph): delete function
4072 (ownerParagraphs): new function returns a ParagraphList.
4074 * BufferView.C (removeAutoInsets): adjust
4075 (insertErrors): adjust
4076 (setCursorFromRow): adjust
4078 2003-04-01 Angus Leeming <leeming@lyx.org>
4080 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4083 2003-04-02 John Levon <levon@movementarian.org>
4089 * text_funcs.C: make transposeChars a free function
4091 * lyxrow_funcs.C: remove wrong comment
4093 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4096 * rowpainter.C: adjust
4101 * lyxrow_funcs. [Ch]: new files
4103 * lyxrow.[Ch]: remove next and previous pointers
4104 (next,previous): remove accessor functions
4105 (isParEnd): move to lyxrow_funcs
4106 (lastPos): move to lyxrow_funcs
4107 (nextRowIsAllInset): move to lyxrow_funcs
4108 (lastPrintablePos): move to lyxrow_funcs
4109 (numberOfSeparators): move to lyxrow_funcs
4110 (numberOfHfills): move to lyxrow_funcs
4111 (numberOfLabelHfills): move to lyxrow_funcs
4112 (hfillExpansion): move to lyxrow_funcs
4116 * bufferview_funcs.C (toggleAndShow): adjust
4118 * RowList.h: Remove class RowList from file leave just a
4121 * RowList.C: delete file
4123 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4126 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4128 * text3.C (cursorPrevious): adjust
4129 (cursorNext): adjust
4132 * text2.C (redoHeightOfParagraph): adjust
4133 (redoDrawingOfParagraph): adjust
4136 * text.C (breakParagraph): adjust
4137 (insertChar): adjust
4140 * rowpainter.C (RowPainter): adjust
4141 (leftMargin): simplify and adjust
4142 (most rowpainter functions): adjust.
4144 * rowpainter.h: store the row as RowList::iterator not as Row*
4146 * lyxcursor.C (row): taka RowList::iterator as arg
4149 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4152 2003-04-01 Angus Leeming <leeming@lyx.org>
4154 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4155 stuff like bool Bool.
4157 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4159 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4162 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4164 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4167 * lyxtext.h (rows): drop one version and leve a const variant that
4168 returns a RowList::iterator.
4170 2003-03-31 Angus Leeming <leeming@lyx.org>
4172 * text.C (fill): ensure that the signature is the same as that in the
4175 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4177 * text2.C (redoParagraphs): adjust
4178 (updateCounters): adjust
4179 (checkParagraph): adjust
4180 (getColumnNearX): adjust and reformat a bit.
4182 * text.C (top_y): adjust
4184 (leftMargin): adjust
4185 (prepareToPrint): adjust
4187 (getRowNearY): adjust
4189 * lyxtext.h: make rowlist_ mutable.
4191 * RowList.h: add const_iterator
4192 * RowList.C: adjust for RowList::const_iterator.
4194 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4197 2003-03-31 John Levon <levon@movementarian.org>
4200 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4202 * lyx_main.C: set default fonts from using lyx_gui funcs
4204 * exporter.C: pdf_mode moved from lyxrc
4207 * lyxfunc.C: changes from above
4209 2003-03-31 John Levon <levon@movementarian.org>
4211 * lyx_main.C: fix to the last fix
4213 2003-03-31 John Levon <levon@movementarian.org>
4215 * bufferlist.C: "Load original" -> "Load Original"
4221 * format.C: more Alert cleanups
4223 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4225 * text2.C (removeParagraph): make it take a RowList::iterator as
4227 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4228 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4230 * text.C (anchor_row): make it take a RowList::iterator as arg,
4232 (computeBidiTables): make it take a const reference to Row instead
4233 of Row pointer, adjust.
4234 (leftMargin): make it take a RowList::iterator as arg, adjust.
4235 (rowBreakPoint): adjust
4236 (breakAgainOneRow): make it take a RowList::iterator as arg,
4238 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4240 * bufferview_funcs.C (toggleAndShow): adjust
4242 2003-03-30 John Levon <levon@movementarian.org>
4246 * boost-inst.C: moved to support
4248 * several files: changes as a result
4250 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * text2.C (LyXText): adjust.
4254 (removeRow): make it take a RowList::iterator as arg, adjust.
4255 (fullRebreak): adjust
4256 (deleteEmptyParagraphMechanism): adjust
4257 (clearPaint): adjust
4260 * text.C (top_y): adjust
4261 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4262 (breakAgain): make it take a RowList::iterator as arg, adjust.
4263 (breakParagraph): adjust
4264 (insertChar): adjust
4267 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4268 need_break_row, and refresh_row.
4270 * text3.C (dispatch): adjust
4272 * text2.C (checkParagraph): adjust
4274 (setCursorFromCoordinates): adjust
4276 * text.C (top_y): adjust
4278 (getRow): make it return a RowList::iterator, adjust
4279 (getRowNearY): make it return a RowList::iterator, adjust
4281 * text2.C (init): adjust
4282 (insertRow): remove function
4283 (insertParagraph): adjust
4284 (redoParagraphs): adjust
4285 (fullRebreak): adjust
4286 (updateCounters): adjust
4288 * text.C (top_y): rewrite to use RowList iterators.
4290 (setHeightOfRow): rewrite to sue RowList iterators.
4291 (appendParagraph): adjust
4292 (breakAgain): adjust
4293 (breakAgainOneRow): adjust
4294 (breakParagraph): adjust
4296 (getRowNearY): adjust, and remove commented code.
4298 * lyxtext.h (firstRow): delete function
4299 (lastRow): delete function
4300 (rows): new function (const and non-const versions.)
4301 (insertRow): delete function
4303 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4305 2003-03-29 John Levon <levon@movementarian.org>
4307 * BufferView_pimpl.C: always update scrollbar top
4308 because pasting text when we're anchored could mean we
4309 miss an update altogether
4311 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4313 * text2.C (init): use rowlist_.end() and not 0.
4314 (insertRow): change to take a RowList::iterator as arg, adjust
4316 (insertParagraph): change to take a RowList::iterator as arg,
4318 (redoParagraphs): remove some debug msgs.
4320 * text.C (appendParagraph): change to take a RowList::iterator
4321 arg, adjust for this.
4322 (breakAgain): add an assert
4323 (breakAgainOneRow): ditto
4325 2003-03-29 John Levon <levon@movementarian.org>
4327 * text2.C: do not clear selection after inc/decDepth
4330 2003-03-29 John Levon <levon@movementarian.org>
4333 * buffer.C: fix broken strerrors according to Lars
4335 2003-03-29 John Levon <levon@movementarian.org>
4337 * converters.C: more Alert cleanups
4339 2003-03-29 John Levon <levon@movementarian.org>
4341 * bufferview_funcs.C: remove pointless Alert
4343 * buffer.C: fix confusing error message when
4344 a template is chmoded 000
4346 2003-03-29 John Levon <levon@movementarian.org>
4350 * BufferView_pimpl.C: Alert fixes
4354 * tabular-old.C: remove unused table compat reading
4356 2003-03-29 John Levon <levon@movementarian.org>
4361 * lyx_cb.C: more Alert cleanups
4363 * lyxfunc.C: don't allow chktex if not latex document
4365 2003-03-29 John Levon <levon@movementarian.org>
4369 * buffer.C: warnings pushed down from support/,
4372 2003-03-29 John Levon <levon@movementarian.org>
4374 * lyxfunc.C: safety check for C-r (revert)
4376 2003-03-29 John Levon <levon@movementarian.org>
4379 * bufferlist.C: several UI fixes using Alert::prompt.
4380 Fix the pointless looping quit code. Fix stupid revert
4385 * lyx_cb.C: use Alert::prompt
4387 * lyx_main.C: remove a silly question
4389 * lyxfunc.C: remove a couple of silly questions,
4392 2003-03-28 John Levon <levon@movementarian.org>
4394 * text2.C: fix bug 974 (End on empty par)
4396 2003-03-28 John Levon <levon@movementarian.org>
4398 * BufferView_pimpl.C:
4400 * lfuns.h: remove do-nothing math greek lfuns
4402 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4404 * lyxgluelength.h (isValidGlueLength): add default arg on
4405 parameter 2. Remove default arg from friend in class.
4407 * lyxlength.h (isValidLength): add default arg on parameter 2.
4408 Remove default arg from friend in class.
4410 * text2.C (LyXText): adjust, initialize refresh_row.
4414 (insertParagraph): adjst
4415 (redoParagraphs): adjust
4416 (fullRebreak): adjust
4417 (updateCounters): adjust
4418 (deleteEmptyParagraphMechanism): first attempt at fixing a
4421 * text.C (top_y): adjust
4422 (setHeightOfRow): adjust
4424 (getRowNearY): adjust
4426 * lyxtext.h: include RowList.h
4427 (~LyXText): not needed anymore, deleted.
4428 (firstRow): modify for RowList
4429 (lastRow): new function
4430 Delete firstrow and lastrow class variables, add a Rowlist
4431 rowlist_ class variable.
4433 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4436 * RowList.C (insert): fix case where it == begin().
4438 2003-03-26 Angus Leeming <leeming@lyx.org>
4440 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4441 the thesaurus dialog.
4443 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4445 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4447 * RowList.[Ch]: new files
4449 * ParagraphList.C (erase): handle the case where it == begin
4452 2003-03-25 John Levon <levon@movementarian.org>
4456 * aspell.C: add new aspell support
4459 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4462 2003-03-25 Angus Leeming <leeming@lyx.org>
4465 * LyXAction.C (init): new LFUN_INSET_INSERT.
4467 * BufferView_pimpl.C (dispatch): split out part of the
4468 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4470 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4473 2003-03-25 Angus Leeming <leeming@lyx.org>
4475 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4477 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4480 * text3.C: remove useless row->height(0)
4482 2003-03-25 John Levon <levon@movementarian.org>
4486 * text3.C: rename the refreshing stuff to better names
4488 2003-03-24 John Levon <levon@movementarian.org>
4490 * BufferView_pimpl.h:
4491 * BufferView_pimpl.C: update layout choice on a mouse
4494 2003-03-23 John Levon <levon@movementarian.org>
4496 * Makefile.am: fix commandtags.h reference
4498 2003-03-22 John Levon <levon@movementarian.org>
4500 * BufferView_pimpl.C:
4505 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4507 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4510 * text.C: take the rtl methods out of line
4512 2003-03-21 André Pönitz <poenitz@gmx.net>
4514 * metricsinfo.[Ch]: new files containing structures to be passed around
4515 during the two-phase-drawing...
4517 2003-03-21 André Pönitz <poenitz@gmx.net>
4519 * lyxtextclass.C: read 'environment' tag.
4521 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4523 * text2.C (removeRow): fix bug 964
4525 2003-03-20 John Levon <levon@movementarian.org>
4529 * text2.C: paint cleanups. Inset::update() dropped font
4532 2003-03-19 John Levon <levon@movementarian.org>
4534 * lyxfunc.C: only fitcursor/markDirty if available()
4536 2003-03-19 John Levon <levon@movementarian.org>
4538 * commandtags.h: rename to ...
4540 * lfuns.h: ... this, and renumber / cleanup
4542 2003-03-19 John Levon <levon@movementarian.org>
4544 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4545 fit the cursor after an lfun
4549 * BufferView_pimpl.h:
4550 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4552 * LyXAction.C: layout-character should have ReadOnly
4554 * ParagraphParameters.C:
4556 * bufferview_funcs.C:
4563 * undo_funcs.C: changes from above
4565 2003-03-18 John Levon <levon@movementarian.org>
4567 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4568 remove it from update()
4570 * lyxfunc.C: update layout choice after an lfun
4572 * text3.C: remove extra updateLayoutChoice()s
4574 2003-03-18 John Levon <levon@movementarian.org>
4576 * text.C: top_y change means full repaint, fix
4577 a drawing bug with cursor movement
4579 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4583 * text2.C: anchor row on setCursor
4585 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4587 * lyxtext.h: remove almost all mutable keywords
4590 * text3.C: remove const keywords accordingly
4592 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4594 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4596 (TeXEnvironment): ditto
4599 2003-03-17 John Levon <levon@movementarian.org>
4601 * text.C (rowBreakPoint): remove attempt to fix displayed
4602 math insets inside a manual label
4604 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4606 * lyxtext.h: remove BufferView* as first arg from almost all class
4608 * other files: adjust.
4610 2003-03-17 John Levon <levon@movementarian.org>
4614 * text2.C: more paint cleanups
4616 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4619 * rowpainter.C: remove "smart" background painting code
4621 2003-03-16 John Levon <levon@movementarian.org>
4626 * text3.C: add helper functions for setting refresh_row/y
4628 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4630 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4631 newline inset which *can* get inserted in the pass_thru layouts.
4632 This is primarily for literate documents.
4634 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4636 * buffer.C: increment LYX_FORMAT to 223
4638 2003-03-14 André Pönitz <poenitz@gmx.net>
4640 * textclass.h: prepare for environment handling, ws changes
4641 * lyxlayout.C: read latexheader and latexfooter tags
4643 2003-03-14 John Levon <levon@movementarian.org>
4645 * text2.C: rewrite ::status() a bit
4647 2003-03-13 John Levon <levon@movementarian.org>
4649 * lyxtext.h: add some docs
4651 2003-03-13 John Levon <levon@movementarian.org>
4656 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4658 2003-03-13 John Levon <levon@movementarian.org>
4660 * text3.C: fix appendix redrawing
4662 2003-03-13 John Levon <levon@movementarian.org>
4664 * text.C (setHeightOfRow):
4666 * rowpainter.C: make appendix mark have the text
4667 "Appendix" so the user knows what it is
4670 * LColor.C: s/appendixline/appendix/ from above
4672 2003-03-13 John Levon <levon@movementarian.org>
4674 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4676 * text.C: fix a getChar(pos) bug properly
4678 2003-03-13 Angus Leeming <leeming@lyx.org>
4681 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4682 Probably only temporary. Let's see how things pan out.
4684 * BufferView.C (unlockInset):
4685 * BufferView_pimpl.C (fitCursor):
4686 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4688 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4689 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4691 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4692 new functions that convert ParagraphParameters to and from a string.
4694 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4695 BufferView::Pimpl's dispatch.
4696 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4698 2003-03-13 André Pönitz <poenitz@gmx.net>
4702 * factory.C: make it aware of InsetEnv
4704 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4706 * text2.C (setCursor): never ask for one past last
4707 (setCursor): add some debugging messages.
4709 * text.C (singleWidth): never ask for one past last
4710 (singleWidth): ditto
4712 (rightMargin): ditto
4713 (rowBreakPoint): ditto
4714 (setHeightOfRow): ditto
4715 (prepareToPrint): ditto
4717 * rowpainter.C (paintBackground): never ask for one past last
4718 (paintText): never ask for one past last
4720 * paragraph_pimpl.C (getChar): make the assert stricter, never
4721 allow the one past last pos to be taken
4723 * paragraph.C (getChar): ws changes only
4725 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4726 (numberOfSeparators): ditto
4727 (numberOfHfills): ditto
4729 2003-03-12 John Levon <levon@movementarian.org>
4735 * paragraph_funcs.C: fix per-buffer authorlists
4737 2003-03-12 John Levon <levon@movementarian.org>
4739 * text.C: fix newline in right address
4741 2003-03-12 Angus Leeming <leeming@lyx.org>
4743 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4744 duplicate those in LyXFunc::dispatch.
4748 * ToolbarDefaults.C:
4749 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4750 Add LFUN_FONTFREE_UPDATE.
4752 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4753 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4755 * bufferview_func.[Ch]: several new functions to facilliate
4756 transfer of data to and from the character dialog.
4758 2003-03-12 John Levon <levon@movementarian.org>
4763 * paragraph_funcs.C:
4764 * paragraph_pimpl.C:
4768 * text3.C: remove META_NEWLINE in favour of an inset
4771 * rowpainter.C: remove paintNewline (done by inset)
4773 2003-03-12 John Levon <levon@movementarian.org>
4775 * paragraph_pimpl.C: complain about bad getChar()s
4776 for a while at least
4778 2003-03-12 John Levon <levon@movementarian.org>
4781 * buffer.C: move paragraph read into a separate function,
4782 a little renaming to reflect that.
4785 * bufferparams.C: remove the author_ids map, not necessary now
4788 * factory.C: moved Buffer::readInset to here
4790 * paragraph_funcs.h:
4791 * paragraph_funcs.C: readParagraph free function moved from
4794 * tabular.C: name change
4796 2003-03-12 John Levon <levon@movementarian.org>
4799 * ParagraphParameters.C: move par params input to
4802 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4803 behave like a normal read from the stream wrt reading
4804 a line vs. a \\token
4806 2003-03-12 John Levon <levon@movementarian.org>
4809 * ParagraphParameters.h:
4810 * ParagraphParameters.C: move output code to a
4813 2003-03-12 John Levon <levon@movementarian.org>
4815 * BufferView.C (insertLyXFile):
4818 * tabular.C: use a parlist iterator for creating the
4821 2003-03-12 John Levon <levon@movementarian.org>
4823 * buffer.C: make current_change static local not
4826 2003-03-12 John Levon <levon@movementarian.org>
4828 * buffer.C: fix insertStringAsLines for change tracking
4830 2003-03-12 John Levon <levon@movementarian.org>
4837 * bufferparams.C: move author list into params. Rename some
4838 functions. Move the header reading into a separate token
4839 loop. Move the header token reading into BufferParams.
4841 2003-03-12 John Levon <levon@movementarian.org>
4843 * changes.C: put debug inside lyxerr.debugging() checks
4845 2003-03-11 André Pönitz <poenitz@gmx.net>
4847 * factory.C: make it aware of InsetHFill
4849 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4851 * buffer.C (latexParagraphs): move function from here...
4852 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4855 2003-03-10 Angus Leeming <leeming@lyx.org>
4857 * LyXAction.C (init): fix bug in poplating array with multiple entries
4858 with the same LFUN (spotted by JMarc).
4860 2003-03-10 John Levon <levon@movementarian.org>
4863 * text2.C: move getColumnNearX() near its
4866 2003-03-10 John Levon <levon@movementarian.org>
4868 * text.C: fix break before a minipage
4870 2003-03-10 John Levon <levon@movementarian.org>
4872 * text.C: fix the last commit
4874 2003-03-09 John Levon <levon@movementarian.org>
4878 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4879 bug 365 (don't break before insets unless needed). Don't
4880 return a value > last under any circumstances.
4882 2003-03-09 Angus Leeming <leeming@lyx.org>
4884 * BufferView_pimpl.C (trackChanges, dispatch): call
4885 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4887 2003-03-09 Angus Leeming <leeming@lyx.org>
4889 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4890 than Dialogs::showAboutlyx().
4892 2003-03-09 Angus Leeming <leeming@lyx.org>
4894 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4895 than Dialogs::showTabularCreate().
4897 2003-03-09 John Levon <levon@movementarian.org>
4901 * text2.C: 3rd arg to nextBreakPoint was always the same.
4904 2003-03-08 John Levon <levon@movementarian.org>
4911 * text2.C: Remove the "main" bit from the "main body"
4914 2003-03-08 John Levon <levon@movementarian.org>
4916 * text.C (leftMargin): The left margin of an empty
4917 manual label paragraph should not include the label width
4920 * text.C (prepareToPrint): don't attempt to measure hfills
4921 for empty manual label paragraphs - the answer should be 0
4923 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4925 * CutAndPaste.C: remove commented code and reindent.
4927 2003-03-08 John Levon <levon@movementarian.org>
4930 * lyxfunc.C: move reloadBuffer()
4933 * BufferView.C: to here
4935 * lyxvc.C: add comment
4938 * vc-backend.C: call bv->reload() to avoid
4939 getStatus() check on MENURELOAD
4941 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4943 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4944 to an old format .dep file.
4946 2003-03-07 Angus Leeming <leeming@lyx.org>
4948 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4949 when the LFUN_MOUSE_RELEASE should have been handled by
4950 inset->localDispatch.
4952 2003-03-07 Angus Leeming <leeming@lyx.org>
4954 * BufferView_pimpl.C (dispatch):
4955 * LyXAction.C (init):
4956 * ToolbarDefaults.C (init):
4958 * lyxfunc.C (getStatus):
4959 remove LFUN_INSET_GRAPHICS.
4961 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4963 2003-03-07 Angus Leeming <leeming@lyx.org>
4966 * LyXAction.C (init):
4967 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4969 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4972 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4974 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4975 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4977 2003-03-07 Angus Leeming <leeming@lyx.org>
4979 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4982 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4984 * ParagraphList.C (front): new function
4987 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4989 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4990 and top_row_offset_. removed var first_y.
4992 * text2.C (LyXText, removeRow):
4994 * BufferView_pimpl.C:
4995 use these methods instead of using first_y
4997 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * text2.C (pasteSelection): adjust for checkPastePossible
5001 * CutAndPaste.C: remove Paragraph * buf and replace with
5002 ParagraphList paragraphs.
5003 (DeleteBuffer): delete
5004 (cutSelection): change the tc type to textclass_type
5005 (copySelection): change the tc type to textclass_type
5006 (copySelection): adjust for ParagraphList
5007 (pasteSelection): change the tc type to textclass_type
5008 (pasteSelection): adjust for Paragraphlist
5009 (nrOfParagraphs): simplify for ParagraphList
5010 (checkPastePossible): simplify for ParagraphList
5011 (checkPastePossible): remove unused arg
5013 * ParagraphList.C (insert): handle the case where there are no
5016 * CutAndPaste.h: make CutAndPaste a namespace.
5018 * text3.C (dispatch): adjust
5020 * text.C (breakParagraph): add a ParagraphList as arg
5022 * paragraph_funcs.C (breakParagraph): change to take a
5023 BufferParams and a ParagraphList as args.
5024 (breakParagraphConservative): ditto
5025 (mergeParagraph): ditto
5026 (TeXDeeper): add a ParagraphList arg
5027 (TeXEnvironment): ditto
5030 * buffer.C (readLyXformat2): adjust
5031 (insertStringAsLines): adjust
5032 (latexParagraphs): adjust
5034 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5035 (cutSelection): adjust
5036 (pasteSelection): adjust
5038 * BufferView_pimpl.C (insertInset): adjust
5040 2003-03-05 Angus Leeming <leeming@lyx.org>
5043 * LyXAction.C (init):
5044 * BufferView_pimpl.C (dispatch):
5045 * lyxfunc.C (getStatus):
5046 remove LFUN_CHILD_INSERT.
5048 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5050 2003-03-05 Angus Leeming <leeming@lyx.org>
5053 * LyXAction.C (init):
5054 * src/factory.C (createInset):
5055 * lyxfunc.C (getStatus):
5056 * text3.C (dispatch):
5057 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5059 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5061 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5063 * ParagraphList.C (insert): handle insert right before end()
5064 (erase): fix cases where it can be first or last paragraph.
5066 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5069 Paragraph::next and Paragraph::previous
5072 * text.C (breakParagraph): adjust
5074 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5075 BufferParams& as arg.
5076 (breakParagraph): use ParagraphList::insert
5077 (breakParagraphConservative): take a Buffer* instead of a
5078 BufferParams& as arg.
5079 (breakParagraphConservative): use ParagraphList::insert.
5081 * buffer.C (insertStringAsLines): un-const it
5082 (insertStringAsLines): adjust
5084 * ParagraphList.C (insert): new function
5086 * CutAndPaste.C (pasteSelection): adjust
5088 * text.C (backspace): adjust
5090 * tabular.C (SetMultiColumn): adjust
5092 * CutAndPaste.C (cutSelection): adjust
5093 (pasteSelection): adjust
5095 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5096 Buffer const * as arg
5098 * ParagraphList.C (erase): new function
5099 * paragraph_funcs.C (mergeParagraph): use it
5100 (mergeParagraph): make it take a Buffer* instead of a
5101 BufferParams* as arg
5103 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5105 (breakParagraphConservative): ditto
5107 * paragraph.h: remove the breakParagraph friend
5109 * paragraph.C (eraseIntern): new function
5110 (setChange): new function
5112 * paragraph_funcs.C (mergeParagraph): make it take a
5113 ParagraphList::iterator instead of a Paragraph *, adjust
5116 * paragraph.h: move an #endif so that the change tracking stuff
5117 also works in the NO_NEXT case.
5119 2003-03-04 Angus Leeming <leeming@lyx.org>
5122 * LyXAction.C: new LFUN_INSET_MODIFY.
5124 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5125 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5127 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * several files: ws changes only
5131 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5132 (TeXEnvironment): ditto
5135 * buffer.C (makeLaTeXFile): adjust
5136 (latexParagraphs): make it take ParagraphList::iterator as args
5138 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5140 * buffer.C (latexParagraphs): adjust
5142 * paragraph.C (TeXOnePar): move function...
5143 (optArgInset): move function...
5144 (TeXEnvironment): move function...
5145 * paragraph_pimpl.C (TeXDeeper): move function...
5146 * paragraph_funcs.C: ...here
5148 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5150 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5152 * buffer.C (readInset): remove compability code for old Figure and
5155 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5157 * buffer.C: ws changes
5160 * BufferView_pimpl.C: ditto
5163 * bufferlist.h: ditto
5167 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5169 * converter.[Ch]: split into itself +
5172 * Makefile.am: += graph.[Ch] + format.[Ch]
5179 * lyxrc.C: added #include "format.h"
5181 2003-02-27 Angus Leeming <leeming@lyx.org>
5183 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5186 * factory.C (createInset): add "label" to the factory.
5188 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5189 string and do no more.
5191 2003-02-27 Angus Leeming <leeming@lyx.org>
5194 * LyXAction.C (init):
5195 * factory.C (createInset):
5196 * BufferView_pimpl.C (dispatch):
5197 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5199 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5201 * lyxfunc.C (dispatch):
5202 * text3.C (dispatch): pass name to params2string.
5204 2003-02-26 Angus Leeming <leeming@lyx.org>
5206 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5208 Rearrange the ~includes. Strip out the unnecessary ones.
5210 * factory.C (createInset): reformat.
5211 create new insets for the various LFUN_XYZ_APPLY lfuns.
5213 2003-02-26 John Levon <levon@movementarian.org>
5216 * lyxrow.C: add isParStart,isParEnd helpers
5218 * paragraph.h: make isInserted/DeletedText take refs
5220 * paragraph_funcs.h:
5221 * paragraph_funcs.C: remove #if 0'd code
5226 * text.C: use lyxrow helpers above.
5227 Move draw and paint routines to RowPainter.
5228 Make several methods use refs not pointers.
5229 Make backgroundColor() const.
5230 Add markChangeInDraw(), isInInset().
5231 Merge changeRegionCase into changeCase.
5232 Make workWidth() shouldn't-happen code into an Assert.
5235 * rowpainter.C: new class for painting a row.
5238 * vspace.C: make inPixels take a ref
5240 2003-02-26 Angus Leeming <leeming@lyx.org>
5242 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5245 2003-02-25 John Levon <levon@movementarian.org>
5247 * ispell.C: give the forked command a more accurate name
5249 2003-02-22 John Levon <levon@movementarian.org>
5252 * toc.C: make TocItem store an id not a Paragraph *
5255 2003-02-21 Angus Leeming <leeming@lyx.org>
5257 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5258 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5259 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5260 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5261 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5262 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5264 * BufferView_pimpl.C (dispatch):
5265 * LyXAction.C (init):
5266 * factory.C (createInset):
5267 * lyxfunc.C (getStatus, dispatch):
5268 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5270 2003-02-21 Angus Leeming <leeming@lyx.org>
5272 * BufferView_pimpl.C (MenuInsertLyXFile):
5273 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5274 * lyxfunc.C (menuNew, open, doImport):
5275 no longer pass a LyXView & to fileDlg.
5277 2003-02-21 Angus Leeming <leeming@lyx.org>
5279 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5280 * LyXAction.C: change, BIBKEY to BIBITEM.
5281 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5282 Change InsetBibKey to InsetBibitem.
5283 Change BIBKEY_CODE to BIBITEM_CODE.
5284 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5285 * factory.C: replace insetbib.h with insetbibitem.h.
5286 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5287 * paragraph.C: replace insetbib.h with insetbibitem.h.
5288 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5289 Change bibkey() to bibitem().
5290 * text.C: remove insetbib.h.
5291 * text2.C: replace insetbib.h with insetbibitem.h.
5292 change bibkey() to bibitem().
5293 * text3.C: remove insetbib.h.
5294 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5296 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5298 * lyxrc.C (output): enclose user email in quotes (in case there are
5301 2003-02-18 John Levon <levon@movementarian.org>
5303 * buffer.h: add std::
5305 2003-02-17 John Levon <levon@movementarian.org>
5311 * pspell.C: reworking. Especially in ispell, a large
5312 number of clean ups and bug fixes.
5314 * lyxfunc.C: fix revert to behave sensibly
5316 2003-02-17 André Pönitz <poenitz@gmx.net>
5319 * commandtags.h: new LFUN_INSERT_BIBKEY
5329 * paragraph_func.C: remove special bibkey handling
5331 2003-02-17 John Levon <levon@movementarian.org>
5333 * text.C (Delete): fix case where delete at the end of
5334 the very first paragraph would not merge the pars
5336 2003-02-17 John Levon <levon@movementarian.org>
5338 * lyxrow.C: fix lastPrintablePos()
5340 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5342 * bufferparams.C (writeLaTeX): add a std:here
5344 * buffer.C: and remove a using directive there
5346 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5348 * buffer.C (makeLaTeXFile): move the code that generates the
5351 * bufferparams.C (writeLaTeX): ... in this new method
5353 * LaTeXFeatures.C (getEncodingSet): make const
5354 (getLanguages): make const
5356 * MenuBackend.C (binding): returns the binding associated to this
5358 (add): sets the status of each item by calling getStatus. Adds
5360 (read): add support for OptSubMenu
5361 (expand): remove extra separator at the end of expanded menu
5363 2003-02-15 John Levon <levon@movementarian.org>
5366 * BufferView_pimpl.C:
5368 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5369 inset code that had no actual effect. Remove unneeded status
5372 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5374 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5377 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5379 * text.C (drawLengthMarker): also draw an arrow marker for
5380 symbolic lengths (medskip...)
5382 2003-02-14 John Levon <levon@movementarian.org>
5385 * tabular.C: better method names
5387 2003-02-14 John Levon <levon@movementarian.org>
5389 * BufferView_pimpl.C:
5394 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5395 it's a more accurate name. Remove some pointless uses.
5397 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5399 * text2.C (LyXText): change order of initilizers to shut off
5402 2003-02-14 John Levon <levon@movementarian.org>
5404 * buffer.C: use ParIterator for getParFromID()
5408 * paragraph_pimpl.h:
5409 * paragraph_pimpl.C: remove unused getParFromID()
5411 2003-02-14 John Levon <levon@movementarian.org>
5413 * buffer.C: remove some very old #if 0'd parse code
5415 2003-02-13 John Levon <levon@movementarian.org>
5419 * text2.C: move hfillExpansion(), numberOfSeparators(),
5420 rowLast(), rowLastPrintable(), numberofHfills(),
5421 numberOfLabelHfills() ...
5424 * lyxrow.C: ... to member functions here.
5429 * text.C: remove LyXText::beginningOfMainBody(), and call
5430 p->beginningOfMainBody() directly. Move the check for
5431 LABEL_MANUAL into the latter.
5438 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5444 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5445 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5447 2003-02-13 John Levon <levon@movementarian.org>
5449 * CutAndPaste.C: remove debug
5451 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5453 * paragraph.C (asString): remove two unused variables
5455 * lyxtextclass.C (readTitleType):
5457 (LyXTextClass): handle new members titletype_ and titlename_
5459 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5461 2003-02-09 John Levon <levon@movementarian.org>
5464 * buffer.C: replace hand-coded list with a map for the dep clean
5466 2003-02-08 John Levon <levon@movementarian.org>
5468 * LaTeX.C: consolidate code into showRunMessage() helper
5470 2003-02-08 John Levon <levon@movementarian.org>
5475 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5476 and pass the size in explicitly
5478 * BufferView_pimpl.h:
5479 * BufferView_pimpl.C:
5481 * BufferView.C: add getCurrentChange()
5483 * BufferView_pimpl.h:
5484 * BufferView_pimpl.C: handle change lfuns
5486 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5487 for changes. Mark pasted paragraphs as new.
5489 * support/lyxtime.h:
5490 * support/lyxtime.C:
5491 * DepTable.C: abstract time_t as lyx::time_type
5494 * LColor.C: add colours for new text, deleted text, changebars
5496 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5497 package use "usenames" option.
5501 * LyXAction.C: add change lfuns
5505 * author.C: author handling
5508 * buffer.C: add a per-buffer author list, with first entry as
5509 current author. Handle new .lyx tokens for change tracking. Output
5510 author list to .lyx file. Output dvipost stuff to .tex preamble.
5511 Bump lyx format to 222.
5514 * bufferlist.C: add setCurrentAuthor() to reset current author details
5518 * bufferparams.C: add param for tracking
5520 * bufferview_funcs.C: output change info in minibuffer
5524 * changes.C: add change-tracking structure
5527 * debug.C: add CHANGES debug flag
5530 * lyxfind.C: add code for finding the next change piece
5533 * lyxrc.C: add user_name and user_email
5536 * lyxrow.C: add a metric for the top of the text line
5539 * text.C: implement accept/rejectChange()
5542 * text.C: paint changebars. Paint new/deleted text in the chosen
5543 colours. Strike through deleted text.
5547 * paragraph_pimpl.h:
5548 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5549 in the current change to the insert functions. Rework erase to
5550 mark text as deleted, adding an eraseIntern() and a range-based
5551 erase(). Implement per-paragraph change lookup and
5554 * paragraph_funcs.C: Fixup paste for change tracking.
5556 * tabular.C: mark added row/columns as new.
5558 * text.C: fix rowLast() to never return -1. Don't allow
5559 spellchecking of deleted text. Track transpose changes. Don't
5560 allow paragraph break or merge where appropriate.
5562 * text2.C: leave cursor at end of selection after a cut.
5564 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5566 * text.C (getLengthMarkerHeight):
5567 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5568 visible on screen too.
5570 2003-02-07 John Levon <levon@movementarian.org>
5572 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5574 2003-02-05 Angus Leeming <leeming@lyx.org>
5576 * lyxserver.C (read_ready): revert my patch of 11 September last year
5577 as it sends PC cpu through the roof. Presumably this means that
5578 the lyxserver will no longer run on an Alpha...
5580 2003-01-30 Angus Leeming <leeming@lyx.org>
5582 * factory.C (createInset): create an InsetCommandParam of type "index"
5583 and use it to 'do the right thing'.
5585 * text2.C (getStringToIndex): ensure that cursor position is always
5586 reset to the reset_cursor position.
5588 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5590 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5593 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5597 * lyxfunc.C: Output messages with identical spelling, punctuation,
5600 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5602 * MenuBackend.C (expandFormats): List only viewable export formats
5605 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5608 * lyxfunc.C (getStatus): Make sure that formats other than
5609 "fax" can also be disabled
5611 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5613 * text3.C (dispatch): put the lfuns that insert insets in 3
5614 groups, and call doInsertInset with appropriate arguments.
5615 (doInsertInset): new function, that creates an inset and inserts
5616 it according to some boolean parameters.
5618 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5620 * buffer.C (readFile): remember to pass on 'par' when calling
5621 readFile recursively.
5623 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5625 * MenuBackend.C (expandFormats): add "..." to import formats.
5627 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5629 * paragraph.C (asString): Remove XForms RTL hacks.
5631 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5632 * buffer.C: fix typo
5634 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5636 * Makefile.am (LIBS): delete var
5637 (lyx_LDADD): add @LIBS@ here instead.
5639 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5641 * Clarify the meaning of "wheel mouse jump"
5643 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5645 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5648 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5650 * importer.C (Loaders): do not preallocate 3 elements in the
5651 vector, since one ends up with 6 elements otherwise
5653 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5655 * DepTable.C (write): write the file name as last element of the
5656 .dep file (because it may contain spaces)
5657 (read): read info in the right order
5659 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5661 * paragraph_pimpl.C (simpleTeXBlanks):
5662 (simpleTeXSpecialChars):
5663 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5665 * tabular.C (latex): add some missing case statements. Reindent.
5667 * MenuBackend.C (expandToc): remove unused variable.
5669 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5678 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5681 2003-01-05 John Levon <levon@movementarian.org>
5684 * BufferView.C: add getEncoding()
5687 * kbsequence.C: do not store last keypress
5690 * lyxfunc.C: store last keypress here instead. Pass encoding
5693 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5695 * lyx_main.C (init): remove annoying error message when following
5696 symbolic links (bug #780)
5698 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5700 * text.C (insertChar):
5701 * lyxrc.C (getDescription): remove extra spaces
5703 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5705 * lyxrc.C (getDescription): remove extra spaces
5707 2002-12-20 John Levon <levon@movementarian.org>
5709 * text3.C: hack fix for page up/down across tall rows
5711 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5713 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5716 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5718 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5719 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5720 thesaurus is not compiled in
5722 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5724 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5726 2002-12-16 Angus Leeming <leeming@lyx.org>
5729 * lyx_main.C (init): remove override_x_deadkeys stuff.
5731 2002-12-12 John Levon <levon@movementarian.org>
5733 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5734 insert. Only remove shift modifier under strict
5737 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5739 * MenuBackend.C (expandToc): fix crash.
5741 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5743 * MenuBackend.C (expandToc): gettext on float names.
5745 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5747 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5748 implement bool empty() [bug 490]
5750 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5754 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5756 * several files: ws changes
5758 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5760 * text2.C (setCounter): clean up a bit, use boost.format.
5761 (updateCounters): initialize par upon declaration.
5763 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5764 if the layout exists. We do not just store the layout any more.
5765 (SwitchLayoutsBetweenClasses): use boost.format
5767 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5769 * converter.C (convert): if from and to files are the same, use a
5770 temporary files as intermediary
5772 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5775 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5777 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5779 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5781 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5783 * tabular.C (asciiPrintCell): use string(size, char) instead of
5786 * sgml.C (openTag): fix order of arguments to string constructor
5789 * lyxfunc.C (dispatch): use boost.format
5791 * lots of files: change "c" -> 'c'
5793 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5795 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5797 2002-11-25 Angus Leeming <leeming@lyx.org>
5799 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5801 * lyx_main.C (init): compile fix.
5803 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5805 * lyx_cb.C (start): boost.formatify
5806 do not include <iostream>
5808 * lengthcommon.C: ws only
5810 * boost-inst.C,BoostFormat.h: add more explict instantations
5812 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5814 * lots of files: handle USE_BOOST_FORMAT
5816 2002-11-21 John Levon <levon@movementarian.org>
5818 * pspell.C: fix compile
5820 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5822 * lyxfunc.C (dispatch): use boost::format
5826 * lyxfont.C (stateText): use boost::format
5828 * lyx_main.C (LyX): use boost::format
5830 (queryUserLyXDir): ditto
5833 (typedef boost::function): use the recommened syntax.
5835 * importer.C (Import): use boost::format
5837 * debug.C (showLevel): use boost::format
5839 * converter.C (view): use boost::format
5844 * bufferview_funcs.C (currentState): use boost::format
5846 * bufferlist.C (emergencyWrite): use boost::format
5848 * buffer.C (readLyXformat2): use boost::format
5849 (parseSingleLyXformat2Token): ditto
5851 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5853 * LaTeX.C (run): use boost::format
5855 * Chktex.C (scanLogFile): use boost::format
5857 * BufferView_pimpl.C (savePosition): use boost::format
5858 (restorePosition): ditto
5859 (MenuInsertLyXFile): ditto
5861 * BoostFormat.h: help file for explicit instation.
5863 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5865 * tabular.C (latex): Support for block alignment in fixed width
5868 2002-11-17 John Levon <levon@movementarian.org>
5870 * BufferView_pimpl.C:
5872 * lyxfunc.C: split filedialog into open/save
5874 2002-11-08 Juergen Vigna <jug@sad.it>
5876 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5877 by my last patch (hopefully).
5879 2002-11-08 John Levon <levon@movementarian.org>
5888 * toc.C: ParConstIterator, and use it (from Lars)
5890 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5892 * lyxtextclass.[Ch]: revise and add doxygen comments
5894 2002-11-07 John Levon <levon@movementarian.org>
5896 * text.C: fix progress value for spellchecker
5898 * toc.C: fix navigate menu for insetwrap inside minipage
5900 * paragraph_funcs.C: added FIXME for suspect code
5902 2002-11-07 John Levon <levon@movementarian.org>
5904 * BufferView_pimpl.C: fix redrawing of insets
5907 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5909 * text2.C (updateCounters): fix bug 668
5911 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5913 * text3.C (dispatch): Do not make the buffer dirty when moving the
5916 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * vc-backend.C: STRCONV
5921 * text2.C (setCounter): STRCONV
5923 * paragraph.C (asString): STRCONV
5925 * lyxlength.C (asString): STRCONV
5926 (asLatexString): ditto
5928 * lyxgluelength.C (asString): STRCONV
5929 (asLatexString): ditto
5931 * lyxfunc.C (dispatch): STRCONV
5934 * lyxfont.C (stateText): STRCONV
5936 * importer.C (Import): STRCONV
5938 * counters.C (labelItem): STRCONV
5939 (numberLabel): ditto
5940 (numberLabel): remove unused ostringstream o
5945 * bufferview_funcs.C (currentState): STRCONV
5947 * buffer.C (readFile): STRCONV
5948 (asciiParagraph): ditto
5949 (makeLaTeXFile): ditto
5951 * Spacing.C (writeEnvirBegin): STRCONV
5953 * LaTeXFeatures.C (getLanguages): STRCONV
5954 (getPackages): ditto
5956 (getBabelOptions): ditto
5957 (getTClassPreamble): ditto
5958 (getLyXSGMLEntities): ditto
5959 (getIncludedFiles): ditto
5963 (scanAuxFile): ditto
5966 * LString.h: add the STRCONV macros
5968 * BufferView_pimpl.C (savePosition): STRCONV
5969 (restorePosition): ditto
5970 (MenuInsertLyXFile): ditto
5972 * vc-backend.C (scanMaster): change from submatch[...] to
5975 * funcrequest.C: include config.h
5977 * factory.C: include config.h
5979 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5981 * box.C: include config.h
5983 * LaTeX.C (scanAuxFile): change from submatch[...] to
5987 2002-10-25 Angus Leeming <leeming@lyx.org>
5989 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5991 * ispell.[Ch] (setError): new method.
5992 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5993 Use setError() insetead of goto END.
5995 * lyx_cb.C (AutoSave): move out child process into new class
5998 2002-10-30 John Levon <levon@movementarian.org>
6000 * text3.C: make start appendix undoable
6002 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6004 * lyxlength.C (inPixels): Fix returned value.
6006 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6009 2002-10-24 Angus Leeming <leeming@lyx.org>
6011 * lyxgluelength.h: no need to forward declare BufferParams
6012 or BufferView, so don't.
6014 2002-10-21 John Levon <levon@movementarian.org>
6016 * BufferView.C: menuUndo ->undo, redo
6018 * BufferView.h: document, remove dead, make some methods private
6020 * paragraph_funcs.h:
6021 * paragraph_funcs.C:
6022 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6027 * sgml.C: move sgml open/close tag into sgml.C
6029 * bufferview_funcs.h: unused prototype
6032 * lyxfunc.C: remove unused
6035 * text.C: remove unused
6037 2002-10-21 John Levon <levon@movementarian.org>
6041 * BufferView_pimpl.h:
6042 * BufferView_pimpl.C: fix mouse wheel handling based on
6043 patch from Darren Freeman
6045 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6047 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6049 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6051 * lyxlength.C (inPixels): Fix hanfling of negative length.
6052 Fix LyXLength::MU case.
6054 2002-10-16 John Levon <levon@movementarian.org>
6056 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6058 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6060 * converter.C (view): add support for $$i (file name) and $$p
6061 (file path) for the viewer command. If $$i is not specified, then
6062 it is appended to the command (for compatibility with old syntax)
6064 2002-10-14 Juergen Vigna <jug@sad.it>
6066 * undo_funcs.C (textHandleUndo): alter the order in which the
6067 new undopar is added to the LyXText, as we have to set first
6068 the right prev/next and then add it as otherwise the rebuild of
6069 LyXText is not correct. Also reset the cursor to the right paragraph,
6070 with this IMO we could remove the hack in "redoParagraphs()".
6072 2002-10-09 Angus Leeming <leeming@lyx.org>
6074 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6075 to turn off an optimisation if a new inset is to be inserted.
6077 2002-10-11 André Pönitz <poenitz@gmx.net>
6079 * lyxtext.h: make some functions public to allow access
6080 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6082 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6084 * text3.C (dispatch): when changing layout, avoid an infinite loop
6087 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6089 * lyxrc.C (read): treat a viewer or converter command of "none" as
6092 * MenuBackend.C (expandFormats): for an update, also allow the
6093 formats that are not viewable
6095 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6096 script if it is newer than the lyxrc.defaults in user directory
6098 2002-10-07 André Pönitz <poenitz@gmx.net>
6100 * text.C: Vitaly Lipatov's small i18n fix
6102 2002-09-25 Angus Leeming <leeming@lyx.org>
6104 * ispell.h: doxygen fix.
6106 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6108 * buffer.h (readFile): Add a new argument to the method, to allow
6109 reading of old-format templates.
6111 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6113 * toc.C (getTocList): Get TOC from InsetWrap.
6115 2002-09-16 John Levon <levon@movementarian.org>
6117 * lyxfunc.C: check tabular for cut/copy too
6119 2002-09-12 John Levon <levon@movementarian.org>
6124 * factory.C: add header
6126 * paragraph_funcs.h:
6127 * paragraph_funcs.C: cleanup
6129 2002-09-11 John Levon <levon@movementarian.org>
6131 * PrinterParams.h: odd/even default to true
6133 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6135 * PrinterParams.h: update printer parameters for new xforms dialog
6137 2002-09-11 Angus Leeming <leeming@lyx.org>
6139 * lyxserver.C (read_ready): re-write to make it more transparent
6140 and to make it work in coherent fashion under Tru64 Unix.
6142 2002-09-11 André Pönitz <poenitz@gmx.net>
6146 * text3.C: implement LFUN_WORDSEL
6148 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6150 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6151 make floatlist_ a boost::shared_ptr<FloatList>
6153 * lyxtextclass.C: include FloatList.h
6154 (LyXTextClass): initialize floatlist_
6155 (TextClassTags): add TC_NOFLOAT
6156 (Read): match "nofloat" to TC_NOFLOAT and use it.
6157 (readFloat): modify call to floatlist_
6161 * FloatList.[Ch] (FloatList): remove commented out float
6163 (erase): new function
6165 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6167 * MenuBackend.C (expandToc): fix crash when there is no document
6170 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6172 * many files: Add insetwrap.
6174 2002-09-09 John Levon <levon@movementarian.org>
6176 * text2.C: remove confusing and awkward depth wraparound
6178 2002-09-09 John Levon <levon@movementarian.org>
6180 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6183 * buffer.C: remove getIncludeonlyList()
6186 * lyxfunc.C: remove headers
6188 2002-09-09 Juergen Vigna <jug@sad.it>
6190 * text.C (getColumnNearX): fix form Michael this is most
6191 probably a cut&paste bug.
6193 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6197 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6198 references, ws changes.
6200 * text2.C (init): update counters after init
6201 (insertParagraph): no need to set counter on idividual paragraphs.
6202 (setCounter): access the counters object in the textclass object
6203 on in the buffer object.
6204 (updateCounters): ditto
6206 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6207 shared_ptr<Counters> to avoid loading counters.h in all
6209 (LyXTextClass): initialize ctrs_
6210 (TextClassTags): add TC_COUNTER, and ...
6211 (Read): use it here.
6212 (CounterTags): new tags
6213 (readCounter): new function
6214 (counters): new funtion
6215 (defaultLayoutName): return a const reference
6217 * counters.C (Counters): remove contructor
6218 (newCounter): remove a couple of unneeded statements.
6219 (newCounter): simplify a bit.
6220 (numberLabel): some small formatting changes.
6222 * buffer.[Ch]: remove all traces of counters, move the Counters
6223 object to the LyXTextClass.
6225 2002-09-06 Alain Castera <castera@in2p3.fr>
6227 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6228 package to set the horizontal alignment on fixed width columns.
6231 * lyx_sty.h: added tabularnewline macro def.
6233 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6235 2002-09-06 John Levon <levon@movementarian.org>
6237 * LyXAction.C: tooltips for sub/superscript
6239 * MenuBackend.C: a bit more verbose
6241 * lyxfunc.C: tiny clean
6243 * undo_funcs.C: document undo_frozen
6245 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6247 * counters.C (Counters): add missing algorithm counter.
6249 * text2.C (setCounter): lookup the counter with layouts latexname
6250 instead of by section number.
6251 (setCounter): use a hackish way to lookup the correct enum
6253 a float name->type change
6254 reset enum couners with counter name directly instead of depth value.
6256 * counters.C (Counters): remove the push_backs, change to use the
6257 float type not the float name.
6258 (labelItem): remove unused string, float name->type change
6260 * counters.h: don't include vector, loose the enums and sects vectors
6262 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6264 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6265 (Read): add float->TC_FLOAT to textclassTags
6266 (Read): and handle it in the switch
6267 (readFloat): new function
6269 * FloatList.C (FloatList): comment out the hardcoded float
6272 * lyxlayout.h: ws change.
6274 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6276 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6278 2002-09-03 Angus Leeming <leeming@lyx.org>
6280 * BufferView_pimpl.h: qualified name is not allowed in member
6281 declaration: WorkArea & Pimpl::workarea() const;
6283 * factory.C: added using std::endl directive.
6285 * text3.C: added using std::find and std::vector directives.
6287 2002-08-29 André Pönitz <poenitz@gmx.net>
6290 * text2.C: remove unused member number_of_rows
6293 * BufferView2.C: remove file, move contents to...
6294 * BufferView.C: ... here
6296 * BufferView_pimpl.C:
6297 * factory.C: move more inset creation to factory
6299 * vspace.C: avoid direct usage of LyXText, ws changes
6302 don't provide direct access to WorkArea, use two simple
6303 acessors haveSelction() and workHeight() instead
6306 2002-08-29 John Levon <levon@movementarian.org>
6308 * BufferView_pimpl.C (dispatch): do not continue when
6311 2002-08-28 André Pönitz <poenitz@gmx.net>
6313 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6316 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6318 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6320 * buffer.C: increment LYX_FORMAT to 221
6322 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6323 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6325 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6327 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6329 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6331 * factory.C (createInset): use LyXTextClass::floats
6333 * MenuBackend.C (expandFloatListInsert):
6334 (expandFloatInsert):
6337 * text2.C (setCounter):
6339 * LaTeXFeatures.C (useFloat):
6340 (getFloatDefinitions):
6342 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6344 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6345 floatlist_, with accessor floats().
6347 * FloatList.h: remove global FloatList
6349 2002-08-26 André Pönitz <poenitz@gmx.net>
6351 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6355 * BufferView_pimpl.C:
6356 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6358 2002-08-25 John Levon <levon@movementarian.org>
6360 * LyXAction.C: fix margin note description
6362 2002-08-24 John Levon <levon@movementarian.org>
6366 * bufferview_funcs.C:
6368 * undo_funcs.C: cleanups
6370 * lyxfunc.C: disable CUT/COPY when no selection
6372 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6374 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6375 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6377 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6378 Add backward compatibility to "mono", "gray" and "no".
6380 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6382 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6383 (and file_format >= 200).
6385 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6387 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6389 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6391 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6393 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6395 * BufferView_pimpl.C:
6402 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6403 inset and code to make it work with the paragraph code. The inset
6404 can be anywhere in the paragraph, but will only do the expected
6405 thing in LaTeX if the layout file contains the parameter line
6407 (or more generally, a nonzero value) for that layout.
6409 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6411 * paragraph.h: remove the declaration of undefined counters class
6414 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6416 * text2.C (setCounter): fixed enumeration mis-count as reported by
6417 Dr. Richard Hawkins.
6419 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6421 * paragraph_funcs.h: remove some unneeded includes
6423 * text.C (backspace): pasteParagraph now in global scipe
6425 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6426 (pasteSelection): ditto
6428 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6429 * paragraph_funcs.C (pasteParagraph): ... here
6431 2002-08-20 André Pönitz <poenitz@gmx.net>
6433 * commandtags.h: new LFUNs for swapping/copying table row/colums
6436 * lyxfunc.C: support for new lfuns
6438 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * buffer.[Ch]: remove NO_COMPABILITY stuff
6443 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6445 * boost.C (throw_exception): new file, with helper function for
6446 boost compiled without exceptions.
6451 * ParameterStruct.h:
6452 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6454 * bufferlist.C (emergencyWriteAll): use boost bind
6456 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6458 * text.C: include paragraph_funcs.h
6459 (breakParagraph): breakParagraph is now in global scope
6461 * paragraph_funcs.[Ch]: new files
6463 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6466 * buffer.C: include paragraph_funcs.h
6467 (insertStringAsLines): breakParagraph is now in global scope
6469 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6472 * CutAndPaste.C: include paragraph_funcs.h
6473 (cutSelection): breakParagraphConservative is now in global scope
6474 (pasteSelection): ditto
6476 * buffer.h: declare oprator== and operator!= for
6477 Buffer::inset_iterator
6479 * bufferlist.C (emergencyWrite): don't use fmt(...)
6481 * text3.C: add using std::endl
6483 * BufferView.C (moveCursorUpdate): remove default arg
6485 2002-08-20 André Pönitz <poenitz@gmx.net>
6487 * buffer.[Ch]: move inline functions to .C
6490 * BufferView_pimpl.C:
6492 * buffer.[Ch]: use improved inset_iterator
6495 * paragraph.[Ch]: write one paragraph at a time
6497 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6499 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6500 style if style is not specified.
6502 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6504 * text2.C (setCounter): when searching for right label for a
6505 caption, make sure to recurse to parent insets (so that a caption
6506 in a minipage in a figure float works) (bug #568)
6508 2002-08-20 André Pönitz <poenitz@gmx.net>
6510 * text3.C: new file for LyXText::dispatch() and helpers
6512 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6514 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6516 2002-08-19 André Pönitz <poenitz@gmx.net>
6519 * text.C: new LyXText::dispatch()
6521 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6523 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6525 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6527 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6530 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6532 * Makefile.am: use $(variables) instead of @substitutions@
6534 2002-08-15 André Pönitz <poenitz@gmx.net>
6537 * BufferView_pimpl.C: streamlining mathed <-> outer world
6541 * LyXAction.C: remove unused LFUN_MATH
6543 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6545 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6547 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * paragraph.C (Paragraph): reformat a bit
6550 (cutIntoMinibuffer): use builtin InsetList function instad of
6554 * buffer.C: include boost/bind.hpp, add using std::for_each
6555 (writeFileAscii): use ParagraphList iterators
6556 (validate): use for_each for validate traversal of paragraphs
6557 (getBibkeyList): use ParagraphList iterators
6558 (resizeInsets): use for_each to resizeInsetsLyXText for all
6560 (getParFromID): use ParagraphList iterators
6562 * BufferView2.C (lockInset): use paragraph list and iterators
6564 2002-08-14 John Levon <levon@movementarian.org>
6566 * lyxserver.C: remove spurious xforms include
6568 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6570 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6572 2002-08-13 André Pönitz <poenitz@gmx.net>
6575 * lyxfunc.C: further cleaning
6577 2002-08-13 André Pönitz <poenitz@gmx.net>
6579 * funcrequest.h: new constructor
6581 * funcrequest.C: move stuff here from .h
6584 * BufferView_pimpl.C:
6587 * lyxfunc.C: subsequent changes
6589 * lyxfunc.h: new view() member function
6591 * lyxfunc.C: subsequent changes
6593 2002-08-13 Angus Leeming <leeming@lyx.org>
6596 * BufferView_pimpl.C:
6604 changes due to the changed LyXView interface that now returns references
6605 to member variables not pointers.
6607 2002-08-13 Angus Leeming <leeming@lyx.org>
6609 * WordLangTuple (word, lang_code): return references to strings,
6614 * lyxtext.h: forward-declare WordLangTuple.
6619 * text.C: #include "WordLangTuple.h".
6622 * text.C: (selectNextWordToSpellcheck): constify return type.
6624 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6630 * paragraph_pimpl.h:
6633 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6635 Made updateCounter always count from start of buffer, and removed
6636 second argument (par).
6637 Reverted floats number display to '#'. Perhaps I'll try again when the
6638 code base is sanitized a bit.
6640 2002-08-12 Angus Leeming <leeming@lyx.org>
6642 * buffer.[Ch] (getLabelList): constify.
6644 2002-08-07 André Pönitz <poenitz@gmx.net>
6646 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6648 * funcrequest.h: extension to keep mouse (x,y) position
6650 2002-08-12 Juergen Vigna <jug@sad.it>
6652 * BufferView2.C (insertErrors): forbid undo when inserting error
6655 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6657 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6659 * ParagraphList.[Ch]: new files
6661 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6663 * BufferView2.C (lockInset): ParagraphList changes
6666 * bufferlist.C: ditto
6670 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6672 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6673 unused class variable counter_,
6675 * paragraph.[Ch] (getFirstCounter): delete unused function
6677 * counters.C: include LAssert.h
6678 (reset): add a new function with no arg, change other version to
6679 not have def. arg and to not allow empty arg.
6681 * text2.C (setCounter): remove empty arg from call to Counters::reset
6683 2002-08-11 John Levon <levon@movementarian.org>
6685 * Makefile.am: add WordLangTuple.h
6687 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6689 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6690 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6692 * insets/insettext.C: InsetList changes
6694 * graphics/GraphicsSupport.C (operator()): InsetList changes
6696 * toc.C (getTocList): InsetList changes
6698 * paragraph_pimpl.[Ch]: InsetList changes
6700 * paragraph.[Ch]: InsetList changes
6702 * buffer.C (inset_iterator): InsetList changes
6703 (setParagraph): ditto
6704 * buffer.h (inset_iterator): ditto
6705 * iterators.C (operator++): ditto
6706 * iterators.h: ditto
6708 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6710 * InsetList.[Ch]: new files, most InsetList handling moved out of
6713 * BufferView2.C (removeAutoInsets): InsetList changes
6715 (ChangeInsets): ditto
6717 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6719 * paragraph_pimpl.h (empty): new function
6721 * paragraph.[Ch] (empty): new function
6723 * other files: use the new Paragraph::empty function
6725 2002-08-09 John Levon <levon@movementarian.org>
6727 * lyxtext.h: remove unused refresh_height
6729 2002-08-09 John Levon <levon@movementarian.org>
6736 * paragraph.C: move sgml char escaping out of paragraph
6739 * paragraph.C: remove id setter
6743 * paragraph_pimpl.C: remove dead tex_code_break_column
6745 * bufferview_funcs.C: small cleanup
6747 * lyxfunc.C: remove dead proto
6749 * lyxtext.h: make some stuff private. Remove some dead stuff.
6751 * lyxgluelength.C: make as[LyX]String() readable
6753 2002-08-08 John Levon <levon@movementarian.org>
6758 * ToolbarDefaults.C:
6761 * toc.C: lyxaction cleanup
6763 2002-08-08 John Levon <levon@movementarian.org>
6765 * BufferView2.C: small cleanup
6768 * lyxfind.C: move unnecessary header into the .C
6770 2002-08-08 John Levon <levon@movementarian.org>
6772 * funcrequest.h: just tedious nonsense
6775 * lyx_main.C: cleanups
6778 * vspace.C: remove dead header lyx_main.h
6780 2002-08-07 Angus Leeming <leeming@lyx.org>
6783 * paragraph_pimpl.h:
6784 Forward declare class Counters in paragraph.h by moving the ctrs member
6785 variable into Paragraph::Pimpl.
6786 (counters): new method, returning a reference to pimpl_->ctrs.
6788 * text2.C: ensuing changes.
6790 2002-08-07 John Levon <levon@movementarian.org>
6792 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6794 * BufferView_pimpl.C: announce X selection on double/triple
6797 * lyx_main.C: use correct bool in batch dispatch
6799 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6801 2002-08-07 André Pönitz <poenitz@gmx.net>
6803 * funcrequest.h: new class to wrap a kb_action and its argument
6806 * BufferView_pimpl[Ch]:
6810 * lyxrc.C: subsequent changes
6813 2002-08-07 John Levon <levon@movementarian.org>
6815 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6816 document options change.
6818 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6823 * makefile.am: move counters functionality over from
6824 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6826 2002-08-06 John Levon <levon@movementarian.org>
6828 * WordLangTuple.h: new file for word + language code tuple
6839 * BufferView2.C: use WordLangTuple
6842 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6844 2002-08-06 John Levon <levon@movementarian.org>
6846 * lyx_main.C: fix cmdline batch handling
6848 2002-08-06 André Pönitz <poenitz@gmx.net>
6850 * lyxrc.C: set default for show_banner to true
6852 2002-08-06 John Levon <levon@movementarian.org>
6854 * pspell.C: fix a crash, and allow new aspell to work
6856 2002-08-06 John Levon <levon@movementarian.org>
6859 * kbmap.C: small cleanup
6862 * vspace.C: add const
6864 2002-08-05 John Levon <levon@movementarian.org>
6866 * LyXAction.C: back to tabular-insert
6868 2002-08-04 John Levon <levon@movementarian.org>
6871 * BufferView.C: cosmetic change
6873 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6883 * BufferView2.C: purge all "Lyx" not "LyX" strings
6886 * lyxcursor.C: attempt to add some documentation
6891 * ToolbarDefaults.C:
6892 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6893 merge with LFUN_TABULAR_INSERT
6900 * pspell.C: split up i/pspell implementations into separate
6901 files, many cleanups
6903 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6905 * text2.C: some cleanup
6907 * lyxfunc.C: don't check for isp_command == "none" any more, it
6908 didn't make any sense
6910 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6915 * makefile.am: move counters functionality over
6916 from text2.C/paragraph.[Ch] to counters.[Ch], and
6918 2002-08-02 John Levon <levon@movementarian.org>
6920 * buffer.C: s/lyxconvert/lyx2lyx/
6922 2002-08-02 Angus Leeming <leeming@lyx.org>
6924 * lyxlex.C: revert John's change as it breaks reading of the user
6927 2002-08-02 Angus Leeming <leeming@lyx.org>
6929 * importer.C (Import):
6930 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6931 changes due to LyXView::view() now returning a boost::shared_ptr.
6933 2002-08-02 John Levon <levon@movementarian.org>
6935 * lyxlex.C: small cleanup
6937 2002-08-02 John Levon <levon@movementarian.org>
6939 * text2.C (status): small cleanup, no logic change
6941 2002-08-01 John Levon <levon@movementarian.org>
6944 * buffer.C (writeFile): don't output alerts, caller
6948 * lyx_cb.C: from above
6950 * lyxfunc.C: allow to open non-existent files
6952 2002-07-31 John Levon <levon@movementarian.org>
6954 * lyxserver.C: don't let incidental errors get
6957 2002-07-30 John Levon <levon@movementarian.org>
6959 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6961 2002-07-30 John Levon <levon@movementarian.org>
6964 * lyxserver.C: remove I/O callback too
6966 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6968 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6971 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6973 * many files: strip,frontStrip -> trim,ltrim,rtrim
6975 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6977 * PrinterParams.h: remove extern containsOnly, and include
6978 support/lstrings.h instead.
6980 * LaTeX.C (scanAuxFile): modify because of strip changes
6982 * buffer.C (makeLaTeXFile): ditto
6983 * bufferparams.C (writeFile): ditt
6984 * lyxfont.C (stateText): ditto
6985 * lyxserver.C (read_ready): ditto
6986 * vc-backend.C (scanMaster): ditto
6988 * BufferView_pimpl.h: ws changes
6990 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6992 2002-07-26 André Pönitz <poenitz@gmx.net>
6994 * kb_sequence.C: remove unnedred usings
6996 2002-07-26 Juergen Vigna <jug@sad.it>
6998 * lyxfind.C (LyXReplace): we have to check better if the returned
6999 text is not of theLockingInset()->getLockingInset().
7001 2002-07-25 Juergen Vigna <jug@sad.it>
7003 * lyxfind.C (LyXReplace): don't replace if we don't get the
7006 * undo_funcs.C (createUndo): remove debugging code.
7008 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7010 * buffer.C (parseSingleLyXformat2Token): Use default placement
7011 when reading old floats.
7013 * FloatList.C (FloatList): Change the default placement of figure
7014 and tables to "tbp".
7016 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7018 * MenuBackend.C: using std::max
7020 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7022 * MenuBackend.C (expandToc):
7023 (expandToc2): code moved from xforms menu frontend. It is now
7024 generic and TOCs are transparent to menu frontends.
7026 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7028 * toc.C (getTocList): protect against buf=0
7030 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7031 Menu as first parameter. Now, this calls itself recursively to
7032 expand a whole tree (this will be useful for TOC handling)
7033 (expandFloatInsert): remove 'wide' version of floats
7035 * MenuBackend.h (submenuname): returns the name of the submenu.
7036 (submenu): returns the submenu itself, provided it has been
7037 created by MenuBackend::expand
7039 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7041 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7042 insets which have noFontChange == true. (bug #172)
7044 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7046 * BufferView_pimpl.C: add connection objects and use them...
7049 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7051 * MenuBackend.C (expandLastfiles):
7054 (expandFloatListInsert):
7055 (expandFloatInsert):
7056 (expand): split expand in parts
7058 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7060 * lyx_gui.C: use lyx_gui::exit()
7062 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7064 * LyXAction.C: show the failing pseudo action
7066 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7068 * buffer.C (readFile): Run the lyxconvert script in order to read
7071 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7075 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7077 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7081 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7083 2002-07-22 Herbert Voss <voss@lyx.org>
7086 * lyxlength.[Ch]: add support for the vertical lengths
7088 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7090 * toc.[Ch]: std:: fixes
7092 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7094 * lyxrc.C: do not include lyx_main.h
7096 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7102 * BufferView2.C: include "lyxlex.h"
7105 * bufferparams.h: do not #include "lyxlex.h"
7107 * lyxtextclasslist.C (Add): remove method
7108 (classlist): renamed to classlist_
7110 * paragraph_pimpl.C:
7114 * bufferview_funcs.C:
7119 * toc.C (getTocList): use BufferParams::getLyXTextClass
7121 * toc.C (getTocList): use InsetFloat::addToToc
7123 * toc.[Ch]: new files, containing helper functions to handle table
7126 * lyxfunc.C (dispatch): no need to remove spaces around command
7128 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7129 first command of the sequence; it is not very clever, but I do not
7130 have a better idea, actually
7132 * LyXAction.C (LookupFunc): make sure to remove space at the
7133 beginning and end of the command
7135 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7137 * MenuBackend.C (getMenubar): new method: return the menubar of
7139 (read): treat differently reading of menu and menubar (in
7140 particular, the menubar has no name now)
7141 (Menu::menubar): remove
7143 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7146 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7148 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7149 a bibitem inset in a RTL paragraph.
7151 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7153 * paragraph_pimpl.C: constify
7155 * BufferView_pimpl.C:
7157 * lyxfunc.C: fix dispatch in a nicer way
7159 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7161 * lyxfunc.C (dispatch):
7162 * BufferView_pimpl.C:
7163 * BufferView_pimpl.h:
7165 * BufferView.h: rename Dispatch() to dispatch()
7167 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7169 * lyxlayout.C (Read): honor DependsOn tag
7171 * lyxlayout.[Ch] (depends_on): new method
7173 * version.C.in: update lyx_docversion
7175 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7177 * paragraph.C (validate): remove from here...
7178 * paragraph_pimpl.C (validate): ... and move here
7179 (isTextAt): make it const
7181 * buffer.C (getLists): ws cleanup
7183 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7185 * language.C (read): Use iso8859-1 encoding in latex_lang
7186 (this prevents LyX from crashing when using iso10646-1 encoding).
7188 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7190 * text2.C (toggleInset): if cursor is inside an inset, close the
7191 inset and leave cursor _after_ it
7193 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7195 * lyxfunc.C: move minibuffer completion handling out of here
7197 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7199 * BufferView_pimpl.C:
7200 * LaTeX.C: fix dispatch calls
7202 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7204 * text.C (drawChars): Fix Arabic text rendering.
7206 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7210 * lyxfunc.C: remove message-push/pop
7214 * lyxfunc.C: rationalise some code by removing verboseDispatch
7215 in favour of a bool argument to dispatch()
7217 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7219 * lyx_main.C (init): make sure to read symlinks as absolute paths
7221 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7224 * lyxfunc.C: no need for commandshortcut to be a member
7226 2002-07-15 André Pönitz <poenitz@gmx.net>
7228 * converter.C: add support for $$s (scripts from lib/scripts dir)
7229 * lyx_main.C: white space
7231 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7235 * lyxrc.C: remove second exit confirmation
7237 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7242 * BufferView_pimpl.h:
7243 * BufferView_pimpl.C:
7244 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7246 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7248 * MenuBackend.C (expand): add numeric shortcuts to document menu
7250 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7252 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7254 * lyxfont.C (setLyXFamily):
7261 * buffer.C (asciiParagraph): use ascii_lowercase
7263 2002-07-15 Mike Fabian <mfabian@suse.de>
7265 * lyxlex_pimpl.C (search_kw):
7266 * lyxlex.C (getLongString):
7267 * converter.h (operator<):
7268 * converter.C (operator<):
7269 * buffer.C (parseSingleLyXformat2Token):
7271 * ToolbarDefaults.C (read):
7272 * MenuBackend.C (checkShortcuts):
7274 * LColor.C (getFromGUIName):
7275 (getFromLyXName): use the compare_ascii_no_case instead of
7276 compare_no_case, because in turkish, 'i' is not the lowercase
7277 version of 'I', and thus turkish locale breaks parsing of tags.
7279 2002-07-16 Angus Leeming <leeming@lyx.org>
7281 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7282 now takes a Buffer const & argument.
7284 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7286 * BufferView.C (resize): check there's a buffer to resize
7288 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7290 * lyxfunc.C: remove dead code
7293 * lyxserver.C: use lyx_guii::set_read_callback
7295 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7297 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7298 an inset in a RTL paragraph.
7300 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7302 * lyxfunc.C: repaint after a font size update
7304 2002-07-15 André Pönitz <poenitz@gmx.net>
7306 * lyxlength.C: inBP should be able to return negative values
7308 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7310 * lyxfunc.C: use lyx_gui::update_fonts()
7312 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7314 * lyxfunc.C: use lyx_gui::update_color()
7316 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7322 * lyxrc.C: remove file->new asks for name option, and let
7323 buffer-new take an argument
7325 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7327 * BufferView_pimpl.C: remove unneeded extra repaint()
7329 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7331 * LyXAction.C: allow command-sequence with NoBuffer
7333 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7335 2002-07-10 Angus Leeming <leeming@lyx.org>
7337 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7339 2002-07-09 Angus Leeming <leeming@lyx.org>
7341 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7343 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7345 * lengthcommon.h: whitespace
7347 * lyxfunc.C: update scrollbar after goto paragraph
7349 * lyxtext.h: factor out page break drawing, and fix it so
7350 page break/added space paints as selected nicely
7352 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7354 * BufferView_pimpl.C: add FIXMEs, clean up a little
7356 2002-07-09 André Pönitz <poenitz@gmx.net>
7358 * lyxfont.[Ch]: support for wasy symbols
7360 2002-07-08 André Pönitz <poenitz@gmx.net>
7362 * BufferView_pimpl.C: apply John's patch for #93.
7364 2002-07-05 Angus Leeming <leeming@lyx.org>
7366 * BufferView_pimpl.C (buffer): generate previews if desired.
7368 * LColor.h: add "preview" to the color enum.
7370 * LColor.C (LColor): add a corresponding entry to the items array.
7372 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7375 2002-07-05 Angus Leeming <leeming@lyx.org>
7377 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7378 The body of the code is now in the method that is passed an ostream &
7379 rather than a file name.
7380 Pass an additional only_preamble parameter, useful for the forthcoming
7383 2002-07-03 André Pönitz <poenitz@gmx.net>
7385 * lyxfunc.C: simplify getStatus() a bit for math stuff
7387 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7389 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7391 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7393 * text.C (changeRegionCase): do not change case of all the
7394 document when region ends at paragraph end (bug #461)
7396 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7398 * paragraph.C (startTeXParParams):
7399 (endTeXParParams): add \protect when necessary
7401 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7403 * BufferView_pimpl.C (workAreaExpose): remove warning
7405 2002-06-27 Angus Leeming <leeming@lyx.org>
7407 * Makefile.am: add lyxlayout_ptr_fwd.h.
7409 2002-06-26 André Pönitz <poenitz@gmx.net>
7411 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7413 2002-06-25 Angus Leeming <leeming@lyx.org>
7415 * lyxfunc.C (dispatch): Comment out the call to
7416 grfx::GCache::changeDisplay. The method no longer exists now that the
7417 pixmap generation part of the graphics loader has been moved into
7420 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7422 * text2.C: layout as layout
7424 * text.C: layout as layout
7426 * tabular.C (OldFormatRead): layout as layout
7428 * paragraph_pimpl.C (TeXDeeper): layout as layout
7429 (realizeFont): layout as layout
7431 * paragraph.C (writeFile): layout as layout
7432 (validate): layout as layout
7433 (getFont): layout as layout
7434 (getLabelFont): layout as layout
7435 (getLayoutFont): layout as layout
7436 (breakParagraph): layout as layout
7437 (stripLeadingSpaces): layout as layout
7438 (getEndLabel): layout as layout
7439 (getMaxDepthAfter): layout as layout
7440 (applyLayout): layout as layout
7441 (TeXOnePar): layout as layout
7442 (simpleTeXOnePar): layout as layout
7443 (TeXEnvironment): layout as layout
7444 (layout): layout as layout
7445 (layout): layout as layout
7447 * lyxtextclass.C (compare_name): new functor to work with
7448 shared_ptr, layout as layout
7449 (Read): layout as layout
7450 (hasLayout): layout as layout
7451 (operator): layout as layout
7452 (delete_layout): layout as layout
7453 (defaultLayout): layout as layout
7455 * lyxlayout_ptr_fwd.h: new file
7457 * lyxlayout.C (Read): layout as layout
7459 * lyx_cb.C (MenuInsertLabel): layout as layout
7461 * bufferlist.C (newFile): layout as layout
7463 * buffer.C (readLyXformat2): layout as layout
7464 (parseSingleLyXformat2Token): layout as layout
7465 (insertStringAsLines): layout as layout
7466 (asciiParagraph): layout as layout
7467 (latexParagraphs): layout as layout
7468 (makeLinuxDocFile): layout as layout
7469 (simpleLinuxDocOnePar): layout as layout
7470 (makeDocBookFile): layout as layout
7471 (simpleDocBookOnePar): layout as layout
7472 (getLists): layout as layout
7474 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7476 * CutAndPaste.C (cutSelection): layout as layout
7477 (pasteSelection): layout as layout
7478 (SwitchLayoutsBetweenClasses): layout as layout
7480 * BufferView_pimpl.C (Dispatch): layout as layout
7481 (smartQuote): layout as layout
7483 * BufferView2.C (unlockInset): layout as layout
7485 2002-06-24 André Pönitz <poenitz@gmx.net>
7487 * lyxfunc.C: fix #487
7489 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7493 * lyxfunc.C: remove display_shortcuts, show_banner
7495 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7497 * Buffer_pimpl.C: oops, update on resize
7499 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7506 * BufferView.C: use repaint()
7508 * BufferView_pimpl.h:
7509 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7510 as it's a clearer description. Remove superfluous
7513 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7515 * text.C: fix bug 488. Not ideal, but getting
7516 getWord() to work properly for the insets that
7517 matter is more difficult ...
7519 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7521 * BufferView_pimpl.C:
7524 * lyxfunc.C: remove the six million index lyxfuncs to just
7525 one, and DTRT (bug 458)
7527 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7531 * BufferView_pimpl.h:
7532 * BufferView_pimpl.C: clean up resize() stuff,
7533 and unnecessary updateScreen()s
7535 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7539 * BufferView_pimpl.h:
7540 * BufferView_pimpl.C:
7543 * minibuffer.C: remove focus management of workarea,
7544 not needed. Use screen's greyOut()
7546 2002-06-17 Herbert Voss <voss@lyx.org>
7548 * converter.C: (convert) do not post a message, when converting
7549 fails, let the calling function decide what to do in this case
7551 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7553 * lyxfunc.C: tidy up a little
7555 2002-06-16 <alstrup@diku.dk>
7557 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7558 Got rid of FORMS_H_LOCATION include. Now we are
7561 2002-06-15 LyX Development team <lyx@rilke>
7563 * buffer.[Ch] (sgmlOpenTag):
7564 (sgmlCloseTag): Added support for avoiding pernicious mixed
7565 content. Return number of lines written.
7568 (makeDocBookFile): Fixed calls to sgml*Tag.
7569 Simple white space clean.
7571 (simpleDocBookOnePar): Simple white space clean.
7573 * tabular.[Ch] (docBook): Renamed to docbook and got another
7574 argument to related with the pernicious mixed content.
7576 (docbookRow): Fixed calls for docbook inset method.
7578 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7580 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7581 so it's X11 independent.
7585 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7587 2002-06-15 Lyx Development team <lyx@electronia>
7589 * intl.h: Renamed getTrans to getTransManager.
7591 2002-06-14 Angus Leeming <leeming@lyx.org>
7593 * Makefile.am: nuke forgotten stl_string_fwd.h.
7595 2002-06-12 Angus Leeming <leeming@lyx.org>
7597 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7599 2002-06-13 Angus Leeming <leeming@lyx.org>
7602 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7604 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7606 * kbmap.C (getiso): add support for cyrillic and greek
7608 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7612 * BufferView_pimpl.h:
7613 * BufferView_pimpl.C: move bogus scrolling logic
7616 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7619 * BufferView_pimpl.C: view->resize() change
7621 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7623 * BufferView_pimpl.C: topCursorVisible
7626 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7630 * lyx_gui.C: move to frontends/
7634 * lyx_main.C: changes from above
7636 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7643 * lyx_main.C: minor tidy
7645 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7647 * BufferView_pimpl.h:
7648 * BufferView_pimpl.C:
7650 * BufferView.C: make painter() const,
7653 * BufferView2.C: use screen() accessor
7656 * lyx_main.C: some minor cleanup
7658 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7660 * BufferView_pimpl.h:
7661 * BufferView_pimpl.C: remove enter/leaveView,
7664 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7669 * BufferView_pimpl.h:
7670 * BufferView_pimpl.C: only construct screen once,
7673 * lyxrc.C: remove pointless comment
7675 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7678 * BufferView.C: remove active() and belowMouse()
7680 * BufferView_pimpl.h:
7681 * BufferView_pimpl.C: use workarea() not workarea_,
7682 and make it use a scoped_ptr instead
7684 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7686 * lyx_gui.C: add debug message on BadWindow
7688 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7690 * sp_spell.C: fdopen is not part of the C++ standard.
7692 * paragraph.C (InsetIterator): use >= instead of ==
7694 2002-06-07 Angus Leeming <leeming@lyx.org>
7696 Fixes needed to compile with Compaq cxx 6.5.
7697 * BufferView_pimpl.C:
7704 * lyxtextclasslist.C:
7709 all c-library variables have been moved into namespace std. Wrap
7710 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7715 Add a using std::abs declaration.
7717 * kbmap.h (modifier_pair):
7718 * paragraph.h (InsetTable, InsetList):
7719 * lyxfont.h (FontBits):
7720 type definition made public.
7722 * bufferlist.C (emergencyWriteAll): the compiler complains that
7723 there is more than one possible lyx::class_fun template to choose from.
7724 I re-named the void specialisation as lyx::void_class_fun.
7726 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7728 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7729 the compiler is is unable to find tostr in write_attribute.
7731 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7733 * buffer.C (sgmlError): hide #warning
7735 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7737 * xtl/*: get rid of xtl, which is not in use anyway
7739 * LyXAction.C (init):
7740 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7741 were unimplemented xtl experimentation
7743 2002-06-04 André Pönitz <poenitz@gmx.net>
7745 * lyxfunc.C: disable array operation on simple formulae
7747 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7749 * converter.C: constify a bit
7751 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7753 * lyx_gui.C: check xforms version correctly
7755 2002-04-30 Herbert Voss <voss@lyx.org>
7757 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7760 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7762 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7763 attempt to register it with a VCS)
7765 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7767 * lyx_main.C (init): honor variables LYX_DIR_13x and
7770 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7774 * lyx_main.C: fix a crash on bad command line,
7775 and give a useful exit status on error
7777 * lyxfunc.C (doImport): allow -i lyx to work
7779 2002-03-30 André Pönitz <poenitz@gmx.net>
7781 * lyxfunc.C: mathed font changes
7783 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7798 * trans_mgr.h: srcdocs, and some minor cleanups
7800 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7802 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7803 call getFont all the time)
7805 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7807 * switch from SigC signals to boost::signals
7809 2002-05-29 André Pönitz <poenitz@gmx.net>
7811 * paragraph_pimpl.C (getChar): don't call size() too often...
7813 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7815 * paragraph_pimpl.C (insertChar): do not try to update tables when
7816 appending (pos == size())
7818 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7819 in order to reduce drastically the number of comparisons needed to
7820 parse a large document
7822 2002-05-29 André Pönitz <poenitz@gmx.net>
7828 * textclasslist.[Ch]:
7829 * sp_ispell.h: whitespace change
7831 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7833 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7834 lyxaction directly now.
7836 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7840 * lyxvc.C: remove unused headers
7842 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7849 * undo_funcs.C: some cleanups. Use shared_ptr
7850 and a template for the undo stacks.
7852 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7854 * BufferView_pimpl.h:
7855 * BufferView_pimpl.C:
7862 * text2.C: use key_state/mouse_state
7864 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7866 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7869 * chset.C: change include order
7870 (loadFile): use boost regex and get rid of LRegex and LSubstring
7872 * Makefile.am (BOOST_LIBS): new variable
7875 * LaTeX.C: change include order.
7876 (scanAuxFile): use boost regex and get rid of LRegex and
7880 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7885 * FontInfo.C: moved to frontends/xforms/
7888 * FontLoader.C: moved into frontends for GUIIzation
7893 * lyxfunc.C: changes from above
7895 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7897 * LColor.C: remove spurious X include
7899 * BufferView_pimpl.C:
7904 * text2.C: move font metrics to frontends/
7906 2002-05-24 Juergen Vigna <jug@sad.it>
7908 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7909 setting the undo_cursor.
7911 * ParagraphParameters.h: include local includes first.
7913 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7915 * BufferView_pimpl.C:
7916 * BufferView_pimpl.h:
7920 * screen.C: move WorkArea into frontends/
7926 * BufferView2.C: move LyXScreen into frontends/
7930 * lyx_gui.C: move lyxlookup into frontends/xforms/
7932 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7935 * BufferView_pimpl.C:
7945 * bufferview_funcs.C:
7958 * vc-backend.C: move LyX/XFormsView into frontends/
7960 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7972 * text2.C: move Painter to frontends/
7974 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7976 * buffer.C: comment out some some code that depend upon lyx_format
7979 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7980 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7982 * buffer.h (NO_COMPABILITY): turn off compability
7984 * ColorHandler.C: include scoped_array.hpp
7986 * font.C: Use more specific smart_ptr header.
7989 * ShareContainer.h: ditto
7993 * BufferView_pimpl.h: ditto
7994 * ColorHandler.h: ditto
7996 * kbmap.C (defkey): change call to shared_ptr::reset
7998 2002-05-21 Juergen Vigna <jug@sad.it>
8000 * buffer.C (insertErtContents): fix to insert ert asis if it is
8001 non empty. Skip it completely if it contains only whitespaces.
8003 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8005 * BufferView_pimpl.C:
8006 * BufferView2.C: clear selection on paste (bug 393)
8008 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8010 * DepTable.C: include ctime
8012 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8014 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8016 2002-05-14 Juergen Vigna <jug@sad.it>
8018 * text.C (breakParagraph): fixed function to honor the keepempty
8019 layout in the right maner and also to permit the right breaking
8020 algorithm on empty or non empyt keepempty paragraphs.
8022 * paragraph.C (breakParagraph): we have to check also if the par
8023 is really empty (!size()) for isempty otherwise we do the wrong
8026 2002-05-10 Juergen Vigna <jug@sad.it>
8028 * buffer.[Ch] : The following are only changes to the ert
8029 compatibility read reading old LaTeX layout and font stuff and
8030 convert it to ERTInsets.
8032 * buffer.h: added isErtInset().
8034 * buffer.C (struct ErtComp): add a fromlayout bool to check
8035 if we're inside a LaTeX layout.
8036 (isErtInset): new helper function.
8037 (insertErtContents): look for other ert insets before this one
8038 and insert the contents there, so that we don't have subsequent
8039 ERT insets with nothing between them. This way we create only one
8040 inset with multiple paragraphs. Also check if we don't insert only
8041 spaces ' ' as they are ignored anyway afterwards in the .tex file
8042 so if we have only spaces we will ignore this latex part in the
8044 (parseSingleLyXformat2Token \\layout): better compatibility when
8045 reading layout-latex stuff.
8046 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8048 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8049 stuff after reading the inset only get the information back from
8052 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8054 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8056 * LaTeXFeatures.C (getBabelOptions): New method.
8058 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8060 * BufferView_pimpl.C (Dispatch): work around missing argument for
8063 2002-05-08 Juergen Vigna <jug@sad.it>
8065 * text.C (leftMargin): handle paragraph leftindent.
8067 * paragraph.C (writeFile): write the new \\leftindent tag.
8068 (validate): handle leftindent code.
8069 (TeXEnvironment): handle paragraphleftindent code again.
8071 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8073 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8074 for paragrap_extra indent code and new token \\leftindent.
8075 (latexParagraphs): handle the leftindent as environment.
8077 * ParameterStruct.h: added leftindent support.
8079 * ParagraphParameters.C (leftIndent): added support functions for
8080 the paragraph left indent.
8082 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8085 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8087 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8090 * text.C (computeBidiTables): No bidi in insetERT.
8092 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8095 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8097 * version.C.in: pre 5
8099 2002-05-02 José Matos <jamatos@fep.up.pt>
8100 * buffer.C (makeDocBookFile): white space changes, add newline to
8102 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8104 * tabular.C (docBook): fix typo.
8106 2002-05-03 Juergen Vigna <jug@sad.it>
8108 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8109 change in LyXText as we can not be sure it was not freed.
8110 (drawOneRow): remove unused code.
8112 * text.C (drawInset): redo the calculation of the need_break_row as
8113 it could have a row which was already freed.
8114 (draw): look at the return value of drawInset and return false if
8115 it also returned false.
8116 (paintRowText): look at the return value of draw and return false if
8117 it also returned false.
8119 * lyxtext.h: added bool return type to drawInset() and draw() so that
8120 if we have a change in the row so that the rowbreak has to be redone
8121 we abort drawing as it will be called again.
8123 2002-05-02 Juergen Vigna <jug@sad.it>
8125 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8126 a change in the maintext also if we're inside an inset.
8127 (Dispatch): set the cursor again after a break line and after the
8128 screen has been updated as it could be we're in a different row.
8130 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8131 to set the cursor behind the pargraph with > size().
8132 (setCursor): check also for the same paragraph when checking where
8133 to put the cursor if we have a NFR inset.
8135 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8136 parts of layout read further up as it still was in the wrong
8139 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8141 * screen.C (drawFromTo): change sine fullRebreak always return
8144 * buffer.C (parseSingleLyXformat2Token): reindent some
8146 * BufferView_pimpl.C (update): change since fullRebreak always
8148 (Dispatch): git rid of the last hardcoded "Standard"s.
8150 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8152 * text2.[Ch] (fullRebreak): make it return void now that we always
8155 2002-04-30 Juergen Vigna <jug@sad.it>
8157 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8158 ert compatibility check for "latex" layout.
8160 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8162 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8163 minipages: use col% instead of p%, and also use the current font.
8164 (makeLaTeXFile): Fix use babel condition.
8165 (parseSingleLyXformat2Token): Correct font when reading old floats.
8167 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8169 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8170 inserting list of floats.
8172 2002-04-25 Herbert Voss <voss@lyx.org>
8174 * MenuBackend.C (expand): don't add the graphics extensions to the
8177 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8179 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8180 non-existing layout, do not complain if it was the default layout
8181 of the original class (bug #342)
8183 2002-04-24 Juergen Vigna <jug@sad.it>
8185 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8186 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8188 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8190 * buffer.C (getBibkeyList): If using \bibliography, return the
8191 option field with the reference itself. Enables us to provide natbib
8192 support when using \bibliography.
8194 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8196 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8198 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8199 natbib is provided by the LaTeX class.
8201 2002-04-23 Juergen Vigna <jug@sad.it>
8203 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8206 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8208 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8210 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8212 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8213 ensuremath around textordmasculine, textordfeminine and
8216 2002-04-19 Juergen Vigna <jug@sad.it>
8218 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8219 reinitializing the buffer otherwise row-dimensions may be wrong.
8220 (update): reset also the selection cursors if they do exits otherwise
8221 their x/y positions may be wrong.
8223 * text2.C (cursorDown): don't enter the inset if we came from a row
8224 above and are one row over the inset.
8226 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8227 really leaving an inset.
8229 2002-04-18 Juergen Vigna <jug@sad.it>
8231 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8232 of the selected paragraph does not have the selected layout also if
8235 * text2.C (setLayout): fixed bug which did not change last selected
8238 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8239 changed the read and substituted \\end_float with \\end_inset!
8241 * BufferView_pimpl.C (cursorPrevious):
8242 (cursorNext): fixed to make it work with rows heigher than the work
8243 area without moving the cursor only the draw of the row.
8244 (workAreaMotionNotify): fix jumping over high rows.
8246 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8248 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8251 2002-04-16 Juergen Vigna <jug@sad.it>
8253 * text2.C (setCursor): set also the irow().
8254 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8256 (cursorDown): support for locking an inset if the x_fix value goes
8257 inside it. That way I can transverse insets too with cursor up/down.
8259 * lyxrow.h: added irow helper function same as other (i) functions.
8261 * BufferView_pimpl.C (cursorPrevious):
8262 (cursorNext): fixed for insets!
8264 2002-04-15 Juergen Vigna <jug@sad.it>
8266 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8267 position otherwise it is wrong in some cases.
8269 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8270 inside the inset before the call.
8272 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8274 * buffer.[Ch] (getBibkeyList): make it const.
8276 2002-04-12 Juergen Vigna <jug@sad.it>
8278 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8280 * text2.C (getCursorX): new helper function
8281 (setCursor): compute also ix_
8282 (setCursorFromCoordinates): set also ix.
8284 * lyxcursor.h: added ix_ and helper functions.
8286 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8288 * buffer.C (insertStringAsLines): dont break paragraph if the this
8289 paragraph is inside an inset which does not permit it!
8291 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8292 also with no chars on this paragraph.
8293 (paintRowText): only paint stuff if it's inside the workarea!
8295 * paragraph.C (breakParagraph): honor keepempty flag and break the
8296 paragraph always below not above.
8298 * BufferView2.C (unlockInset): update the paragraph layout on inset
8299 unlock as we changed paragraph in such a case.
8301 * lyxfind.C (LyXFind): clear the former selection if not found!
8303 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8304 again called in insertChar().
8306 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8307 an inset which uses the whole row!
8308 (rightMargin): ditto.
8309 (insertChar): force a rebreak if we inserted an inset!
8311 2002-03-28 Herbert Voss <voss@lyx.org>
8313 * lyxlength.[Ch]: add inBP() to get the right PS-point
8314 units (BigPoint). With inPixels we have rounding errors
8316 2002-04-11 Juergen Vigna <jug@sad.it>
8318 * text2.C (setCursorFromCoordinates): set iy to the right value.
8319 (setCursor): add check if row->previous exists!
8321 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8322 an old float_type as this was the case in the old code!
8324 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8326 * BufferView2.C (showLockedInsetCursor): use iy
8327 (fitLockedInsetCursor): ditto
8329 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8330 locked insets as there we have the right value now.
8332 * lyxcursor.C: added iy_ variable and iy functions to set to the
8333 baseline of cursor-y of the locked inset.
8335 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8336 (setCursor): fixed for insets which need a full row.
8338 * text.C (rowLastPrintable): don't ignore the last space when before
8339 an inset which needs a full row.
8340 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8341 as last character of a row when before a inset which needs a full row.
8343 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8345 * version.C.in: update date
8347 * text2.C (fullRebreak): try to always return true and see what
8350 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8352 * MenuBackend.C (expand): use Floating::listName
8354 * FloatList.C (FloatList): add listName argument to the built-in
8357 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8358 text associated with the float.
8360 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8362 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8364 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8366 * ShareContainer.h: add a couple of missing typenames.
8368 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8370 * lyxrc.C (getDescription): use _() correctly rather than N_().
8372 2002-03-28 Herbert Voss <voss@lyx.org>
8374 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8375 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8377 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8379 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8380 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8382 2002-03-29 Juergen Vigna <jug@sad.it>
8384 * lyxfunc.C (dispatch): add a missing fitCursor call.
8386 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8387 it was scrolled by a cursor move, so return the bool status.
8389 * BufferView.C (fitCursor): return the bool flag also to the outside
8390 world as this is needed.
8392 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8394 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8395 call the edit() as it is not needed (and wrong) IMO.
8396 (workAreaButtonPress): set the screen_first variable before evt.
8397 unlock the inset as this may change screen_first and then we have
8398 a wrong y position for the click!
8400 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8402 * MenuBackend.C (expand): another translation that I missed
8404 2002-03-28 Juergen Vigna <jug@sad.it>
8406 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8408 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8410 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8412 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8414 * MenuBackend.C (expand): fix export/view/update when there is no
8417 2002-03-27 Herbert Voss <voss@lyx.org>
8419 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8422 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8424 * bufferview_funcs.C (currentState): only show paragraph number
8425 for is DEVEL_VERSION is set.
8427 * lyxfunc.C (dispatch): put warning in INFO channel
8429 * MenuBackend.C (expand): translate the name of floats
8431 * FloatList.C (FloatList): mark the float names for translation
8433 * converter.C (convert): use LibScriptSearch
8435 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8437 * MenuBackend.C (defaults): fix default menu (we might as well get
8440 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8442 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8445 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8447 * lyxvc.C: reorder includes.
8449 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8451 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8454 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8456 * CutAndPaste.C: change layouts earlier on paste
8457 to avoid crashing when calling getFont()
8459 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8461 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8464 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8466 * WorkArea.C: remove 'Pending' debug message.
8468 * most files: ws cleanup
8470 * buffer.[Ch]: ws changes
8472 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8474 2002-03-21 Juergen Vigna <jug@sad.it>
8476 * tabular.C (SetMultiColumn): collapse also the contents of the
8477 cells and set the last border right. Added a Buffer const * param.
8479 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8481 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8484 2002-03-19 Juergen Vigna <jug@sad.it>
8486 * text2.C (clearSelection): reset also xsel_cache.
8488 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8489 where it needs to be called (John tells us to do so too :)
8490 (selectionLost): reset sel_cache.
8492 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8494 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8496 * text2.C (setCursorIntern): put debuging code in INSETS channel
8498 2002-03-19 André Pönitz <poenitz@gmx.net>
8500 * lyxfunc.C: tiny whitespace change
8502 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8504 * ToolbarDefaults.C (init):
8505 * LyXAction.C (init):
8507 * BufferView_pimpl.C (Dispatch):
8508 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8510 2002-03-19 Allan Rae <rae@lyx.org>
8512 * exporter.C (Export): removeAutoInsets before doing anything else.
8513 While I've just introduced a dependency on BufferView this really is
8514 the best place to clean the buffer otherwise you need to cleanup in
8515 a dozen places before calling export or cleanup in a dozen functions
8518 * converter.C (runLaTeX):
8519 (scanLog): Better handling of removeAutoInsets and screen updates.
8521 * lyxfunc.C (dispatch): small whitespace changes
8523 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8525 * WorkArea.C (C_WorkAreaEvent): return a value.
8526 (event_cb): return 1 if we handled the event, 0 otherwise.
8528 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8530 2002-03-18 Juergen Vigna <jug@sad.it>
8532 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8533 (GetAdditionalWidth): ditto.
8537 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8538 inset if we're there actually (probably not used right now but this
8539 is the direction to go for unifying code).
8540 (paste): disable code to clear the selection.
8542 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8543 inside an InsetText and move the check further up as it is in the
8546 * text2.C (pasteSelection): set a selection over the pasted text.
8548 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8550 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8551 and libgraphics to build on Cygwin.
8553 2002-03-15 Juergen Vigna <jug@sad.it>
8555 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8556 inserting an Inset into the paragraph. I know this is not the best
8557 fix but we already use current_view in CutAndPaste so we will remove
8558 all of it's using at the same time.
8560 * buffer.C (sgmlError): deactivated function till it is rewritten in
8561 the right mode, now it can create problems.
8563 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8564 before accessing it.
8566 2002-03-14 Juergen Vigna <jug@sad.it>
8568 * undo_funcs.C (textHandleUndo): do the right thing when updating
8569 the inset after the undo/redo.
8571 * text2.C (setCursor): just some testcode for #44 not ready yet.
8573 * undo_funcs.C (textHandleUndo): set the next() and previous()
8574 pointers of the paragraph to 0 before deleting otherwise we have
8575 problems with the Paragraph::[destructor].
8577 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8578 on a paragraph insertion.
8580 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8582 * buffer.C (asciiParagraph): use += operator for char append to
8585 * paragraph.C (getFontSettings): compare >= not just >
8586 (highestFontInRange): ditto
8589 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8591 * paragraph.C: change several algorithm to be more appripriate for
8592 the problem domain. This is lookip in FontList and in the InsetList.
8594 2002-03-13 André Pönitz <poenitz@gmx.net>
8597 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8599 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8604 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8606 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8608 * Painter.C (display): anon helper function, adjust code for this
8610 (pixmap): remove function.
8612 * Painter.h: remove private display variable.
8614 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8616 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8618 * WorkArea.[Ch]: remove figinset_canvas cruft.
8620 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8622 * lyxtextclass.C (operator): add one item cache optimization.
8624 * bufferlist.h: doxy changes
8626 * bufferlist.C: ws changes
8628 * DepTable.[Ch] (ext_exist): place const in the right spot.
8630 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8632 (workAreaExpose): call resizeInsets when the with BufferView changes.
8633 (Dispatch): adjust for protectedBlank removal
8634 (specialChar): call updateInset if the insert went ok.
8636 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8637 specialChar instead.
8639 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8641 * BufferView.h: doxy change
8643 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8645 * lyxtextclass.C (operator[]): remove non-const version
8646 (defaultLayout): remove non-const version
8648 2002-03-12 Juergen Vigna <jug@sad.it>
8650 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8651 did resize the LyXText too.
8653 * buffer.C (readLyXformat2): set layout information on newly allocated
8656 * tabular.C (OldFormatRead): set layout information on the paragraph.
8658 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8660 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8662 2002-03-11 Juergen Vigna <jug@sad.it>
8664 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8666 (resizeCurrentBuffer): force also the insets to resize themselfes.
8667 (moveCursorUpdate): fixed up for InsetText.
8669 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8672 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8673 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8674 value of Dialogs::tooltipsEnabled().
8675 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8677 2002-03-08 Juergen Vigna <jug@sad.it>
8679 * BufferView_pimpl.C (updateInset): update inset inside inset also
8680 if it isn't inside theLockingInset().
8682 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8684 * buffer.C (asciiParagraph): redo some of the word and line length
8686 (getLists): look for Caption instead of caption.
8688 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8690 * buffer.C (Buffer): initialize niceFile to true
8693 (makeDocBookFile): make sure niceFile is true on exit
8695 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8697 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8699 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8701 * LyXSendto.C: remove.
8702 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8703 * lyx_gui.C: remove now-redundant comment.
8704 * ColorHandler.h: remove forward declaration of class WorkArea.
8705 * lyxfunc.C: remove #include "WorkArea.h".
8707 2002-03-07 Juergen Vigna <jug@sad.it>
8709 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8710 got moved away with the DEPM and also set the inset_owner always
8711 right which before could have been omitted.
8713 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8715 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8716 wanted layout is not found.
8718 2002-03-07 Juergen Vigna <jug@sad.it>
8720 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8722 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8724 * paragraph.C (breakParagraph): use default layout not layout of
8726 (Paragraph): clear ParagraphParameters.
8728 2002-03-06 Juergen Vigna <jug@sad.it>
8730 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8731 otherwise it would not be a valid lenght. Fixed a special case in
8732 the minipage compatibility read where we end the document with a
8735 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8736 was set as it could be 0 for InsetTexts first entry.
8738 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8740 * paragraph.C (writeFile): if layout is empty write out
8741 defaultLayoutName().
8743 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8744 file without named layout we set layout to defaultLayoutName().
8746 2002-03-06 Juergen Vigna <jug@sad.it>
8748 * CutAndPaste.C (copySelection): set layout for new paragraph.
8750 * text.C (prepareToPrint): leave ERT inset left aligned
8751 (leftMargin): don't indent paragraphs inside ERT insets
8753 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8755 * paragraph.C (breakParagraph): dont call clear do the work manually
8757 * paragraph.[Ch] (clear): remove function
8759 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8761 * paragraph.C (Paragraph): dont call clear, the work has already
8764 * lyxtextclass.C (operator): assert if n is empty
8766 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8767 work manually instead.
8769 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8771 * BufferView_pimpl.C: protect selectionLost against text == 0
8773 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8775 * text.C (breakParagraph): fix a setting layout to '0' problem.
8777 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8779 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8780 final location of file, for the included files, and graphics.
8782 2002-03-05 Juergen Vigna <jug@sad.it>
8784 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8786 2002-03-04 Juergen Vigna <jug@sad.it>
8788 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8790 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8791 last column of multicolumn cells.
8792 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8794 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8796 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8797 file if it doesn't go to a temporary file.
8799 * buffer.C (sgmlOpenTag):
8800 (sgmlCloseTag): remove extra newline insertion.
8802 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8804 * text.C (getRowNearY): comment out debug msg
8806 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8808 * text2.C: first -> first_y
8810 * text.C (getRowNearY): add some attemts at a possible
8811 optimization, not working.
8813 * tabular.[Ch]: add BufferParams to several function so that newly
8814 created paragraph can be initialized to he default layotu for the
8817 * tabular-old.C (ReadOld): add buf->params to call of Init
8819 * screen.C: rename text->first to text->first_y
8821 * paragraph.C (breakParagraph): always set layout in the broken
8824 * lyxtextclass.C (Read): remove lowercase
8827 (delete_layout): ditto
8829 * lyxtext.h: rename first -> first_y
8831 * lyxlayout.C (Read): remove lowercase
8834 (obsoleted_by): ditto
8836 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8838 * buffer.C (insertErtContents): add params are to InsetERT
8839 (parseSingleLyXformat2Token): add code to check if a paragraphs
8840 layout really exist.
8841 (parseSingleLyXformat2Token): add params to several inset
8843 (asciiParagraph): remove lowercase, do the layout comparisons with
8846 * BufferView_pimpl.C (cursorNext): first -> first_y
8847 (resizeCurrentBuffer): first -> first_y
8848 (updateScrollbar): first -> first_y
8849 (scrollCB): first -> first_y
8850 (workAreaMotionNotify): first -> first_y
8851 (workAreaButtonPress): first -> first_y
8852 (checkInsetHit): first -> first_y
8853 (cursorPrevious): first -> first_y
8854 (cursorNext): first -> first_y
8855 (Dispatch): add buffer_->params to severl inset contructors
8857 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8859 * lyxlayout.C (Read): remove some debug info that I forgot.
8861 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8862 clean up the code slightly.
8863 (makeLinuxDocFile): ditto
8864 (makeDocBookFile): ditto
8866 * text2.C: layout as string
8868 * text.C: layout as string
8870 * paragraph_pimpl.C: layout as string
8872 * paragraph.[Ch]: layout as string
8874 * lyxtextclasslist.[Ch]: layout as string
8876 * lyxtextclass.[Ch]: layout as string
8878 * lyxtext.h: layout as string
8880 * lyxlayout.[Ch]: layout as string
8882 * lyx_cb.C: layout as string
8884 * bufferview_funcs.C: layout as string
8886 * bufferparams.C: layout as string
8888 * buffer.C: layout as string
8890 * LyXView.[Ch]: layout as string
8892 * LaTeXFeatures.[Ch]: layout as string
8894 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8896 * BufferView_pimpl.C: change current_layout to string, remove
8901 (workAreaButtonRelease): layout as string
8903 * BufferView2.C (unlockInset): adjust
8905 * vspace.C (asLatexCommand): use an explict temp variable.
8907 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8909 * Makefile.am: use FRONTEND_*
8911 2002-03-01 Juergen Vigna <jug@sad.it>
8913 * tabular.C (SetWidthOfMulticolCell): changed to something better
8914 I hope but still work in progress.
8915 (recalculateMulticolumnsOfColumn): renamed function from
8916 recalculateMulticolCells as it is more appropriate now.
8917 (SetWidthOfCell): calculate multicols better.
8919 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8921 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8923 * lyxfunc.C (processKeySym): print sequence also if it is
8924 `deleted' (complete)
8926 * kbsequence.C (print): print sequence even if it is deleted
8927 (complete would be a better word, actually).
8929 * lyxfunc.C (dispatch): print complete options after a prefix key
8931 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8933 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8935 * text2.C (setCharFont): eliminate setCharFont code duplication.
8937 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8939 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8940 LFUN_TABULAR_FEATURE (bug #177)
8942 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8944 * Makefile.am: remove figure.h
8946 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8948 * Bufferview_pimpl.C:
8960 * text2.C: remove #include "lyx_gui_misc.h".
8962 * LaTeX.C: added #include <cstdio>
8964 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8966 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8967 that the paragraph following this one can have.
8969 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8971 * vspace.C (asLatexCommand): fix bogus gcc warning
8973 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8975 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8977 * text2.C (setLayout): get rid of redundant code
8979 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8981 * text2.C (incDepth): make sure depth cannot be increased beyond
8984 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8986 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8987 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8989 * PainterBase.h (image):
8990 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8993 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8997 * BufferView_pimpl.C:
8998 * BufferView_pimpl.h:
9018 * sp_spell.C: remove fig inset, and the crap house of
9019 cards that follows it
9021 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9027 * nt_defines.h: move .h into support/
9029 * vms_defines.h: remove
9031 * WorkArea.C: add space in debug output
9035 * buffer.C: add WITH_WARNINGS
9039 * bufferlist.C: s/retrive/retrieve/, add docs
9050 * lyxgui.C: add ID to X error handler
9052 * lyxtestclass.c: fix typo
9054 2002-02-26 Juergen Vigna <jug@sad.it>
9056 * tabular_funcs.C (write_attribute): changed so that some default
9057 attributes are not written at all.
9058 (getTokenValue): set default values before trying to read the
9059 value so we have the return value always set as default if we don't
9060 find the token we search for.
9062 * tabular.C (Write): write bools as bools not as strings!
9064 2002-02-22 Juergen Vigna <jug@sad.it>
9066 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9067 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9069 * text.C (leftMargin): don't add an indent for paragraphs inside
9070 tabular cells (fix #208).
9072 2002-02-21 José Matos <jamatos@fep.up.pt>
9074 * tabular.C (docBook): fixed support for long tables.
9076 2002-02-20 Juergen Vigna <jug@sad.it>
9078 * text2.C (getFont): get the drawing font of the Inset if this
9079 paragraph is inside an inset (only important for InsetERT for now).
9081 * buffer.C (insertErtContents): use new lanugage params in ERT
9084 * CutAndPaste.C: commenting out seemingly uneeded code.
9086 2002-02-19 Allan Rae <rae@lyx.org>
9088 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9089 Iterators might be simple to use but they also get invalidated.
9090 (removeAutoInsets): renamed saved cursor tracking variables and added
9091 some comments to clarify what everything does.
9093 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9100 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9101 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9104 * vc-backend.h: remove #include "support/syscall.h"
9108 * converter.C: rearrange #includes in Lars' approved fashion.
9110 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9111 forward declare class Timeout in the header file.
9113 * XFormsView.C: changes due to the above.
9115 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9118 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9119 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9121 2002-02-18 José Matos <jamatos@fep.up.pt>
9123 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9126 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9128 * a lot of small ws changes
9129 * add a lot of using std::XXX
9130 * use std construcs some places where approp.
9131 * use some exisint stuff from lyxfunctional where approp.
9132 * Make file changes to use partial linking (lets test this now...)
9134 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9138 remove #include "support/syscontr.h" as it's redundant. Always has been.
9146 change Systemcalls::System to Systemcalls::Wait and
9147 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9148 No change of functionality, just reflects the stripped down Systemcalls
9151 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9153 * debug.[Ch]: add a GRAPHICS type to the enum.
9155 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9157 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9159 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9162 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9164 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9165 match the changes below.
9167 * text2.C (toggleInset): if there is not editable inset at cursor
9168 position, try to see if cursor is _inside_ a collapsable inset
9171 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9173 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9174 document menu has a nice checkbox
9176 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9178 * lyxlength.C (asLatexString): change PW to output as percent of
9181 * lengthcommon.C: change '%' to 't%'
9183 * lyxfunc.C (dispatch): a few comments from Martin
9185 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9189 * BufferView_pimpl.h:
9190 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9193 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9195 * vspace.C (inPixels): fix compiler warning
9197 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9199 * lyxfunc.C (getStatus): fix status message for disabled commands.
9201 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9203 * BufferView_pimpl.C: fix crash on close buffer
9204 during selection (#227)
9206 2002-01-27 Herbert Voss <voss@lyx.org>
9208 * buffer.C: link old Figure to new graphic inset
9210 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9212 * FontLoader.C (getFontinfo): Change the latex font names in order
9213 to match the names of type1inst.
9215 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9217 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9219 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9222 (remove_files_with_extension): ditto
9223 (remove_file): ditto
9226 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9227 document is smaller than the work area height. Do not initialize
9228 static variables to 0.
9230 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9232 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9234 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9235 LFUN_LAYOUT_PARAGRAPHS.
9237 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9238 tabular. It is possible to provide a possible cell, which will
9239 typically be the actcell from the corresponding insettabular
9241 * lyxfunc.C (getStatus): small cleanup; disable
9242 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9245 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9247 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9249 * paragraph.C (startTeXParParams):
9250 (endTeXParParams): new methods. The LaTeX code to
9251 start/end paragraph formatting
9252 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9253 empty (fixes bug #200)
9255 * vspace.C (inPixels): adapt to the change below
9256 (inPixels): [later] more cleanups (remove unused variables)
9258 * lyxlength.C (inPixels): change to use a width and a height as
9261 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9263 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9264 Replaced with \paperwidth
9266 * DepTable.C (insert): add std:: qualifier
9268 2002-01-18 Allan Rae <rae@lyx.org>
9270 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9273 * text.C (drawInset): Turned out I didn't know enough about how
9274 rebreaking worked. This fixes most of the redraw problems. I see
9275 an occasional cursor trail when a line is broken now and the cursor
9276 placement can seem out by a few pixels also after a rebreak.
9278 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9280 * buffer.C (parseSingleLyXformat2Token): update because minipage
9281 width is now a LyXLength
9283 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9285 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9288 2002-01-17 Juergen Vigna <jug@sad.it>
9290 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9292 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9293 is set correctly and the inset is updated correctly.
9295 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9297 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9298 the beginning of the loop.
9300 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9302 * lyxrc.C: improve help for use_scalable_fonts
9304 2002-01-17 Allan Rae <rae@lyx.org>
9306 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9308 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9310 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9311 make sure to set their inset_owner to the right value (bug #171)
9313 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9316 * DepTable.C: Implement mtime checking to reduce time spent doing
9319 2002-01-16 Juergen Vigna <jug@sad.it>
9321 * tabular.C (GetAdditionalHeight): one of error fixed.
9323 * lyxrc.C (output): small fix in writing use_pspell.
9325 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9327 * sp_base.h: #include LString.h
9329 2002-01-16 Allan Rae <rae@lyx.org>
9331 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9332 Can someone check this please?
9334 * text.C (drawInset): It was possible that p.row would be removed by
9335 breakAgainOneRow upsetting a few other settings. There may be another
9336 small tweak possible by setting need_break_row = 0 when p.row has been
9337 removed but I don't know enough about the logic here.
9339 2002-01-15 Allan Rae <rae@lyx.org>
9341 * text.C (insertChar): removed conditional truism.
9343 * BufferView2.C (removeAutoInsets): More tweaks.
9344 cur_par_prev could be a stray pointer. Check for trailing empty line
9345 in case last line was cur_par and only had an error inset on it.
9347 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9349 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9352 * vc-backend.C (most methods):
9353 * exporter.C (Export):
9354 * converter.C (convert):
9356 * LyXSendto.C (SendtoApplyCB):
9357 * lyxfunc.C (dispatch):
9361 * lyx_cb.C (AutoSave):
9363 * BufferView_pimpl.C (MenuInsertLyXFile):
9364 * buffer.C (runChktex): use Buffer::filePath().
9366 * buffer.h: rename filename to filename_; rename filepath to
9367 filepath_ and make it private
9368 (filePath): new method
9370 * buffer.C (writeFile): use fileName()
9373 * lyx_main.C (init): fix starting of LyX when the binary is a
9374 link from so,ewhere else.
9376 * minibuffer.C: include <cctype> for isprint
9378 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9380 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9381 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9382 name clash with InsetCollapsable's width function.
9384 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9386 * lastfiles.C: include <iterator>
9388 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9390 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9393 * buffer.C (makeLaTeXFile): ditto.
9394 Also make loop operation more transparent.
9396 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9398 * ToolbarDefaults.C: remove trailing comma closing namespace.
9400 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9402 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9405 * trans.C (Load): comment out unused variable, allowed.
9407 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9409 * minibuffer.[Ch] (append_char): new method to recieve input from the
9410 drop-down completion browser. If a key was pressed, then recieve this
9411 char and append it to the existing string.
9412 (peek_event): modify the positioning data passed to the completion
9413 browser so that it can be placed above the minibuffer rather than below.
9414 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9416 * LyXAction.C (init): alloe error-next for readonly documents.
9418 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9421 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9423 * bufferlist.C (readFile): create the buffer _after_ checking that
9426 * lyxfunc.C (verboseDispatch): fix handling of arguments
9428 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9430 * lyxrc.C: use string::erase() instead of initializing to "".
9433 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9435 * BufferView_pimpl.h:
9436 * BufferView_pimpl.C:
9439 * text2.C: tell X when we have made a selection for copying
9441 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9443 * BufferView_pimpl.C (MenuInsertLyXFile):
9444 * lyxfunc.C (menuNew):
9446 (doImport): add shortcuts to directory buttons
9448 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9451 * lyxfunc.C (setStatusMessage):
9452 (getStatusMessage): new methods
9453 (getStatus):use setStatusMessage instead of setErrorMessage
9454 (dispatch): when function is disabled, set error message here
9455 [instead of in getStatus previously]
9457 * BufferView_pimpl.C (workAreaButtonRelease): update
9458 toolbar/menubar here too.
9460 2002-01-13 Allan Rae <rae@lyx.org>
9462 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9463 Now seems indestructible. Remaining task is to audit all other
9464 code affected by deleteEmptyParagraphMechanism. One small quirk
9465 left is that an empty document with an error in the preamble can
9466 be made to report an error but no error box appears. I don't know
9468 (removeAutoInsets): Improved comments.
9470 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9473 * Thesaurus.C: update for Aiksaurus 0.14
9475 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9477 * text2.C (firstParagraph): removed member function, all uses
9478 replaces with ownerParagraph
9479 (redoParagraphs): here
9481 (toggleAppendix): here
9482 * BufferView2.C (insertErrors): here
9483 (setCursorFromRow): here
9485 2002-01-13 Allan Rae <rae@lyx.org>
9487 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9488 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9489 There is still a way to segfault this although you may have to do this
9490 multiple times: Have an InsetERT with an unknown command in it.
9491 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9492 <down-arrow>, <Enter> again, View->DVI, BANG!
9494 * text2.C (setCursor):
9495 (deleteEmptyParagraphMechanism):
9496 * lyxtext.h (setCursor):
9497 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9498 Making use of the return value may help fix other bugs.
9500 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9502 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9504 * LyXView.C (updateMenubar): call MenuBar::update here
9505 (updateToolbar): but not here
9506 (showState): do not update toolbar/menubar
9508 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9509 should need to care about that.
9511 * lyxfunc.C (verboseDispatch): simplify a bit
9512 (getStatus): have a version which takes a pseudoaction, and
9513 another which requires a (kb_action,string).
9515 * LyXAction.C (retrieveActionArg): make it work also when action
9516 is not a pseudo-action.
9517 (getActionName): simplify a bit
9520 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9522 * lyxfunc.C (verboseDispatch): new families of methods with
9523 several ways to specify a command and a bool to indicate whether
9524 the command name and shortcut should be displayed in minibuffer
9525 (eventually, we could extend that to a finer bitmask like
9526 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9527 (dispatch): the pristine dispatch command which just, well,
9528 dispatchs! Note it still sets its result to minibuffer; I'm not
9531 * lyxfunc.h: remove setHintMessage
9533 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9535 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9537 * BufferView_pimpl.C (specialChar): delete new inset if we have
9538 not been able to insert it.
9540 * kbmap.C: revert to using int instead of kb_action, since all we
9541 are dealing with is pseudo-actions.
9543 * LyXAction.C (searchActionArg): change to return int instead of
9544 kb_action, since the result is a pseudoaction.
9546 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9548 * buffer.C (insertErtContents): Fix (partially) the font bug.
9550 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9552 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9553 as the other one is broken on my machine!
9555 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9558 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9560 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9562 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9563 reflect their actual use. Provide compatibility code for older lyxrc
9566 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9568 change names of popup font variables in line with the changes to lyxrc.C
9570 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9572 * buffer.C (asciiParagraph): avoid outputing a word twice after
9575 * lyxrc.C (getDescription): document that document_path and
9576 template_path can be empty.
9578 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9580 * LaTeXFeatures.C (getMacros):
9581 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9583 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9585 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9587 (getPackages): rename feature "floats" to "float". Use an array to
9588 iterate over 'simple' features (i.e. just a \usepackage). Add
9589 handling of "amsmath" (renamed from "amsstyle").
9591 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9593 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9596 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9598 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9599 FuncStaus::FuncStatus & FuncStaus::some_method().
9601 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9603 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9604 of the func_satus stuff. Edited and massaged in various ways by
9607 * lyxfunc.C (getStatus): use FuncStatus
9609 2002-01-08 Juergen Vigna <jug@sad.it>
9611 * text.C (nextBreakPoint): use function Inset::isChar().
9613 * paragraph.C (TeXOnePar): use function
9614 Inset::forceDefaultParagraphs.
9616 * buffer.C (latexParagraphs): use function
9617 Inset::forceDefaultParagraphs.
9619 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9621 * lyx_gui.C (init): set the style of the menu popups to
9622 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9624 2002-01-07 Juergen Vigna <jug@sad.it>
9626 * text.C (setHeightOfRow): small fix
9627 (prepareToPrint): don't look at alignment if we don't have the place
9630 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9632 * box.C: New file. Move the Box methods and functions out of box.h,
9633 following Lars' suggestion.
9635 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9637 * box.h: #include "support/LOstream.h", needed for inlined function.
9640 * lyxtextclasslist.C: added some using std declarations.
9642 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9644 * box.h: make signed dimensions to allow insets wider than
9645 the screen (bug #162)
9647 * BufferView_pimpl.C: add some insetHit debug
9649 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9651 * vc-backend.C: add FIXME
9653 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9655 * lyxfunc.C (getStatus): enable code for showing math font status
9658 2002-01-07 Juergen Vigna <jug@sad.it>
9660 * text.C (nextBreakPoint): removed debug output not needed anymore.
9662 2002-01-06 Juergen Vigna <jug@sad.it>
9664 * text.C (nextBreakPoint): fixed up this function we had this bug
9665 since ever but now hopefully we break row better.
9666 (insertChar): we have to check if an inset is the next char as it
9667 could now happen that a large inset is causing a break.
9669 2002-01-05 Juergen Vigna <jug@sad.it>
9671 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9672 if it doesn't like to be drawed.
9674 2002-01-04 Juergen Vigna <jug@sad.it>
9676 * BufferView2.C (lockInset): forgot to set a cursor.
9678 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9680 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9685 * form_maths_panel.C:
9686 * form_maths_panel.h:
9687 * form_maths_panel.fd: implemented sub- and super- buttons in math
9690 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9691 (or ^ space) to be used as in TeX (req'd by André).
9693 * lyxfunc.C: Allow ^ and _ again to be used both as
9694 super/subscript (mathed) and as themselves (in text).
9696 2002-01-03 Allan Rae <rae@lyx.org>
9698 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9699 "LyX" or the filename of the current buffer if it has one. This is a
9700 modified form of John Levon's patch.
9702 * XFormsView.C (setWindowTitle): also set icon title.
9704 * LyXView.h (setWindowTitle): signature changed.
9705 * XFormsView.h (setWindowTitle): ditto.
9707 2002-01-02 Juergen Vigna <jug@sad.it>
9709 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9711 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9713 * screen.C (topCursorVisible): introduce a temp var for
9714 text->cursor.row(), handle the case where this row is null. (kindo
9717 * text2.C (setCursor): add a couple of asserts.
9719 * paragraph.h (inset_iterator): add -> operator
9721 * paragraph.[Ch] (autoDeleteInsets): remove member function
9723 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9724 cursor pos correctly and handle inset deletion by itself.
9725 (insertErrors): move iterator declaration out of for expression
9727 * lyxtextclass.C: add <algorithm>
9729 * Makefile.am: added the new files to sources, removed layout.C
9731 * layout.C: removed file
9733 * layout.h: remove LYX_DUMMY_LAYOUT
9735 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9739 * lyxtextclass.[Ch]:
9740 * lyxtextclasslist.[Ch]: new files
9742 * include order changes to a lot of files, also changes because of
9745 2001-12-27 Juergen Vigna <jug@sad.it>
9747 * buffer.C (asciiParagraph): more fixes.
9749 * tabular.C (ascii): make ascii export support export of only the
9750 data separated by a column-delimiter.
9751 (ascii): better support for ascii export.
9753 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9755 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9757 * tabular_funcs.C: use a "using std::getline" instead of the
9758 previous fix from Angus (necessary for cxx + lyxstring)
9760 2001-12-24 Juergen Vigna <jug@sad.it>
9762 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9764 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9765 problems. First check a minipage also if we have some ert-contents
9766 (not only on par->size(), second set the right depth of the paragraph
9767 on the relink to the root-paragraph-list!
9769 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9770 which then did not anymore update the main paragraphs on undo/redo!
9772 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9774 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9775 code. Support all font-changing funcs (even those which are not in
9776 menu currently). Support for reporting font settings in
9777 mathed (disabled until Andre provides a function on mathed's side).
9779 * func_status.h (toggle): small helper function to set toggle
9782 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9784 * tabular_funcs.C: getline -> std::getline
9786 2001-12-21 Juergen Vigna <jug@sad.it>
9788 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9789 accessed and could be 0 (I couldn't generate this but it seems
9792 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9794 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9795 * tabular_funcs.h: here and include iosfwd
9797 2001-12-20 Juergen Vigna <jug@sad.it>
9799 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9800 inside inset but undo_par was.
9802 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9804 * Thesaurus.C: always include <config.h> in sources.
9808 * box.h: do not include <config.h> in header files
9810 * text.C (paintLastRow): remove unused variable
9812 * text.C (transformChar):
9814 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9817 * font.C (width): rewrite to use uppercase() instead of
9820 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9822 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9824 * lyxfind.C: clean up of find failure position change
9826 2001-12-20 Juergen Vigna <jug@sad.it>
9828 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9830 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9831 (TeXRow): added to LaTeX a single tabular row.
9832 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9833 (Latex): simplified and finally good LT-h/f support.
9834 (various_functions): just small adaptions for LT-h/f support.
9836 * tabular_funcs.[hC]: added and moved here all not classfunctions
9839 2001-12-19 Juergen Vigna <jug@sad.it>
9841 * tabular.[Ch]: better support for longtabular options (not finished
9844 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9846 * text.C (paintLastRow): use the label font instead of the font of
9847 the last character to compute the size of *_BOX. This makes more
9848 sense and avoids a crash with empty paragraphs.
9849 Use Painter::rectangle to draw EMPTY_BOX.
9851 2001-12-19 Juergen Vigna <jug@sad.it>
9853 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9854 the paragraphs if the replaced paragraph is not the first one!
9855 Tried to delete not used paragraphs but does not work yet so for
9856 now it's inside #ifdef's and by default off!
9858 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9860 * MenuBackend.C: include "lyx_main.h" instead of declaring
9861 lastfiles (actually was declared as LastFiles* instead of a
9864 2001-12-17 Juergen Vigna <jug@sad.it>
9866 * tabular.C (AppendColumn): applied John's fix
9868 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9872 * BufferView_pimpl.h:
9873 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9876 * box.h: new start of class for above
9878 * lyxfunc.C: ignore space-only minibuffer dispatches.
9879 Show the command name when it doesn't exist
9881 * minibuffer.C: don't add empty lines to the history
9883 * minibuffer.C: add a space on dropdown completion
9885 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9887 * text.C: fix line above/below drawing in insets
9889 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9891 * lyxlength.C (LyXLength): Initialize private variables.
9893 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9895 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9896 when inserting error insets.
9898 2001-12-13 Juergen Vigna <jug@sad.it>
9900 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9901 actually sometimes the before-paragraph.
9902 (setUndo): don't clear the redostack if we're not actually undoing!
9904 2001-12-06 Juergen Vigna <jug@sad.it>
9906 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9907 and fixed redoing of main paragraph, so we can use it now ;)
9909 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9911 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9913 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9916 2001-12-13 André Pönitz <poenitz@gmx.net>
9919 * undo_func.C: minor cleanup
9921 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9923 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9924 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9925 font in urw-fonts package which is marked as -urw-fontspecific and
9926 does not work (incidentally, changing the encoding in the
9927 fonts.dir of this package to -adobe-fontspecific fixes the
9930 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9931 is a crash when undoing first paragraph (Juergen, please take a
9932 look). THis does not mean the undo fix is wrong, just that it
9935 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9936 the (Paragraph*) version when needed instead of duplicating the
9939 * text.C (workWidth): use Inset::parOwner to find out where the
9940 inset has been inserted. This is a huge performance gain for large
9941 documents with lots of insets. If Inset::parOwner is not set, fall
9942 back on the brute force method
9944 * paragraph_pimpl.C (insertInset):
9945 * paragraph.C (Paragraph):
9946 (cutIntoMinibuffer): set parOwner of insets when
9947 inserting/removing them
9949 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9951 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9957 * mathed/formulabase.C:
9958 * mathed/math_cursor.[Ch]:
9959 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9962 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9964 * lyxlength.[Ch] (operator!=): new function
9966 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9968 * text.C (workWidth): use Inset::parOwner to find out where the
9969 inset has been inserted. This is a huge performance gain for large
9970 documents with lots of insets. If Inset::parOwner is not set, fall
9971 back on the brute force method
9973 * paragraph_pimpl.C (insertInset):
9974 * paragraph.C (Paragraph):
9975 (cutIntoMinibuffer): set parOwner of insets when
9976 inserting/removing them
9978 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9980 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9982 * tabular-old.C (getTokenValue):
9983 * tabular.C (getTokenValue):
9984 (write_attribute): new versions for LyXLength
9985 (everywhere): adjust the use of widths
9987 * tabular.h: change the type of widths from string to LyXLength
9989 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9991 * paragraph.C: fixed missing line number count when exporting
9992 Environments to LaTeX file
9994 * buffer.C: added informational message for checking line numbers.
9996 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9998 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9999 paragraph, do the 'double space' part, but not the 'empty
10002 * text.C (workWidth): small optimization
10003 (getLengthMarkerHeight): use minimal size for negative lengths.
10005 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10007 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10009 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10011 2001-12-11 André Pönitz <poenitz@gmx.net>
10014 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10016 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10018 * text2.C: keep selection on a setFont()
10020 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10022 * lyx_cb.C: another bv->text misuse, from insert label
10024 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10027 * kbsequence.C: re-instate nmodifier mask
10029 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10031 * lyx_main.h: make lyxGUI private.
10033 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10035 * lyxfind.C: place the cursor correctly on failed search
10037 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10039 * text.C (getLengthMarkerHeight): for small heights, the arrows
10040 are not always on top/bottom of the text
10041 (drawLengthMarker): smaller arrows; take the left margin in
10042 account; draw also vfills.
10044 (paintLastRow): remove special code for vfill and standard spaces,
10045 since everything is handled in drawLengthMarker now.
10047 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10049 * buffer.C (insertErtContents): try to handle font and language
10050 interaction a bit better.g
10052 * ColorHandler.C (updateColor): change the hash to cover the whole
10053 LColor enum, ws cleanup
10054 (getGCLinepars): ditto
10055 (getGCLinepars): only lookup in the linecache once.
10057 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10059 * iterators.C (operator++): Make the iterator more robust
10061 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10063 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10065 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10068 * text.C: better added space drawing
10070 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10073 * BufferView2.C: fix layout combo update on inset unlock
10075 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10077 * Makefile.am: don't compile unused files
10079 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10083 * LyXAction.C: remove old LFUN_LAYOUTNO
10085 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10087 * paragraph_pimpl.h:
10088 * paragraph_pimpl.C: isTextAt() doesn't need font param
10090 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10093 * lyxlex.C: little cleanup
10095 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10097 * BufferView_pimpl.C: fix insertAscii for insets
10099 2001-12-05 Juergen Vigna <jug@sad.it>
10101 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10102 set the right font on the "multi" paragraph paste!
10104 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10110 * lyxlength.C: remove out-commented code.
10112 * BufferView_pimpl:
10126 * vc-backend.C: change "while(" to "while ("
10128 * lyxlength.[Ch]: add zero function to check if length is zero or
10130 * lyxgluelength.C: use it
10132 2001-12-05 Allan Rae <rae@lyx.org>
10134 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10135 Works for 2.95.3, from what I understand of Garst's reports this should
10136 work for other g++ versions. We're screwed if the abs(int) definition
10137 changed between bugfix releases of gcc.
10139 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10141 * text.C: fix chapter label offset !
10143 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10146 * text.C: fix hfill at end of line, clean up
10148 2001-12-04 Juergen Vigna <jug@sad.it>
10150 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10151 that we force an update of the inset and it's owners if neccessary.
10153 2001-12-03 Juergen Vigna <jug@sad.it>
10155 * text.C (rowLast): simplified code
10157 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10159 * lyxfunc.C: fix show options on timeout
10161 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10163 * screen.C (topCursorVisible): scroll half a page when the cursor
10164 reached top of bottom of screen
10166 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10168 * minibuffer.C: deactivate on loss of focus
10170 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10172 * vspace.[Ch] (operator!=): add operator.
10174 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10176 * BufferView_pimpl.C: refuse to open an inset when
10177 there's a selection.
10179 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10181 * BufferView_pimpl.C: allow to click on RHS of full row insets
10183 2001-11-30 Juergen Vigna <jug@sad.it>
10185 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10186 insets for undo reasons.
10188 2001-11-28 André Pönitz <poenitz@gmx.net>
10190 * vspace.[Ch]: cosmetical changes
10192 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10202 * kbsequence.C: part re-write of old kb code
10205 * WorkArea.C: remove Lgb_bug_find_hack
10207 2001-11-30 José Matos <jamatos@fep.up.pt>
10209 * buffer.C (makeDocBookFile): add a comment to point a hack.
10210 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10211 Fixed a double write of labels.
10213 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10216 * LaTeX.h Fixed bug in LaTeX class where it would not
10217 re-run latex if no depfiles were changed, but the .dvi was removed.
10219 2001-11-28 André Pönitz <poenitz@gmx.net>
10221 * all the files from the change on 2001/11/26:
10222 use lyx::layout_type instead of LyXTextClass::size_type
10223 use lyx::textclass_type instead of LyXTextClassList::size_type
10225 2001-11-29 Juergen Vigna <jug@sad.it>
10227 * text.C: added support for paragraph::isFreeSpacing()
10229 * buffer.C: same as above
10231 * paragraph.h: inserted isFreeSpacing() function to enable
10232 FreeSpacing inside InsetERT.
10234 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10235 of the paragraph's in the cut/copy buffer to 0!
10237 * text2.C (removeRow): remove the assert as it can!
10239 * lyxtext.h: added helper function firstRow returning firstrow and
10240 made firstrow private again.
10242 * BufferView2.C (lockInset): don't relock if we're already locked!
10244 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10245 the only paragraph.
10246 (removeRow): added Assert::(firstrow)
10248 * debug.C: forgot to add INSETTEXT here.
10250 2001-11-28 Juergen Vigna <jug@sad.it>
10252 * sp_spell.C (initialize): changed error text to more general
10253 spellchecker command use (not only ispell!)
10255 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10257 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10259 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10261 * vspace.C: initialise lyxgluelength on failure
10263 2001-11-28 Allan Rae <rae@lyx.org>
10265 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10266 declaration & definition that looks like a function declaration.
10268 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10270 * BufferView2.C (copy):
10271 (copyEnvironment): do not clear the selection when doing a copy.
10273 * text.C (paintFirstRow): compilation fix
10275 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10277 * tabular.C (Latex): correct line count when writing latex.
10279 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10281 * paragraph_pimpl.h:
10282 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10285 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10289 * LColor.C: change vfillline->added_space
10291 * text.C: add markers and text for added space
10293 * vspace.C: fix comment
10295 2001-11-28 André Pönitz <poenitz@gmx.net>
10297 * paragraph.C: whitespace changes
10298 * all the other files from the change on 2001/11/26:
10299 change *::pos_type into lyx::pos_type
10301 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10303 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10304 language of the document when inserting error insets.
10306 2001-11-26 André Pönitz <poenitz@gmx.net>
10308 * BufferView_pimpl.[Ch]:
10316 * paragraph_pimpl.[Ch]:
10319 * text2.C: reduce header dependencies, introduce type for positions
10321 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10323 * <various>: change to use Alert.h
10325 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10327 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10328 when encountering an unknown token.
10329 (readLyXformat2): Show an error message if there were unknown tokens.
10331 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10334 * BufferView_pimpl.C:
10338 * text2.C: use par->isInset()
10340 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10342 * paragraph_pimpl.h:
10343 * paragraph_pimpl.C: cleanup
10345 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10347 * text2.C (removeRow):
10348 * text.C (setHeightOfRow): remove useless (and costly) call to
10351 2001-11-20 Allan Rae <rae@lyx.org>
10353 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10354 Now need Inset*::checkInsertChar() to return true for appropriate
10355 cases so that the characters in the minibuffer will actually be
10358 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10360 * text.C: change the order of the includes.
10361 (workWidth): initialize it at once.
10362 (workWidth): make maxw unsigned
10363 (setHeightOfRow): remove unused variable (inset)
10364 (selectSelectedWord): remove unused variable (inset)
10365 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10367 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10369 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10370 server is not running.
10372 (closeConnection): add debug info when server is disabled.
10374 * ColorHandler.C (getGCForeground): send debug message to GUI
10377 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10379 * kbmap.C (bind): modify because return conventions of
10380 kb_sequence::parse have changed.
10382 * kbsequence.C (parse): only ignore spaces and not any stupid
10383 control character. This avoids tests like s[i] <= ' ', which are
10384 guaranteed to fail with 8bit characters and signed chars.
10385 Change return code to string::npos when there have been no error
10386 (0 was a bad idea when error is at first character)
10388 2001-11-14 José Matos <jamatos@fep.up.pt>
10391 * buffer.C (simpleDocBookOnePar): removed unused argument.
10393 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10395 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10396 insets which are part of a word. Paragraph::isLetter takes care of
10397 that now. Use Paragraph::isInset to identify insets.
10398 (selectSelectedWord): do not test for hyphenation break.
10400 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10401 that protected spaces are considered as spaces.
10403 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10406 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10409 * lyxserver.C: fix it. and small cleanup.
10411 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10413 * BufferView_pimpl.C: use inline helpers
10416 * LaTeXFeatures.C: fix typos
10419 * Spacing.C: move spacing_string into class
10421 * ToolbarDefaults.C: move stuff into namespace anon
10423 * layout.h: update enum
10425 * lyxfunc.C: use better debug
10427 * minibuffer.h: fix typo
10431 * WorkArea.C: add and use Debug::WORKAREA
10435 * text2.C: code re-organisation, inline helpers
10437 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10439 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10440 std::vector.empty().
10442 2001-11-09 Allan Rae <rae@lyx.org>
10444 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10445 '\n's after tables. Tabular and ERT inset work now makes this no
10448 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10451 * minibuffer.C: fix crash, improve drop-down completion
10453 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10456 * lyxserver.C: invalidate fd's when doing endPipe()
10458 2001-11-08 José Matos <jamatos@fep.up.pt>
10460 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10461 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10464 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10466 2001-11-07 José Matos <jamatos@fep.up.pt>
10469 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10472 * buffer.C (sgmlOpenTag):
10473 * buffer.C (sgmlCloseTag): removed debug info.
10475 * buffer.h (sgmlOpenTag):
10476 * buffer.h (sgmlCloseTag): made public.
10478 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10480 * buffer.C (saveParamsAsDefaults):
10481 * lyx_cb.C (MenuLayoutSave): remove
10483 * LyXAction.C (init):
10485 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10487 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10489 * buffer.C (setPaperStuff): removed from here...
10491 * bufferparams.C (setPaperStuff): ... and moved there.
10493 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10497 * XFormsView.C: add support for drop-down completion
10499 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10501 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10504 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10506 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10509 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10511 * lyx_main.C: change ref to known bugs
10513 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10515 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10516 to work around older babel problems.
10518 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10520 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10522 2001-10-24 Juergen Vigna <jug@sad.it>
10524 * tabular-old.C (ReadOld): below variable changes reflected.
10526 * tabular.[Ch]: added ltType struct for longtable header/footer
10527 defines and changed all instances where they are used. Added
10528 future support for double top/bottom rows.
10530 2001-10-24 José Matos <jamatos@fep.up.pt>
10532 * buffer.h (docbookHandleCaption):
10533 * buffer.C (docbookHandleCaption): removed unused function.
10534 (makeDocBookFile): moved docbook supported version to v4.1.
10536 2001-10-24 José Matos <jamatos@fep.up.pt>
10539 * tabular.C (docbookRow): new function to export docbook code of a row.
10540 (DocBook): now honors the longtable flags.
10542 2001-10-23 José Matos <jamatos@fep.up.pt>
10545 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10546 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10548 * buffer.C (makeLinuxDocFile):
10549 (makeDocBookFile): reworked the preamble, more clean, and with
10550 support for lyx defined entities. Changed the document declaration
10551 to be more XML friendly.
10553 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10554 if we need to output XML that should be done with a filter.
10556 2001-10-22 Juergen Vigna <jug@sad.it>
10558 * sp_pspell.h (class PSpell): add alive function needed in the
10559 controller to see if the spellchecker could be started.
10561 2001-10-22 Juergen Vigna <jug@sad.it>
10563 * buffer.C (insertStringAsLines): modify the font for inserting
10564 chars in certain conditions by calling checkInsertChar(font).
10566 2001-10-19 Juergen Vigna <jug@sad.it>
10568 * text.C (workWidth): use getRow instead of wrong algorithm.
10569 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10571 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10576 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10578 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10580 * text.C (workWidth): do not search for the exact row when
10581 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10582 optimization for big documents.
10584 2001-10-18 Juergen Vigna <jug@sad.it>
10586 * text.C (workWidth): new function with added Inset * parameter.
10588 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10590 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10592 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10593 change return type of getColumnNearX.
10596 * text.C (changeRegionCase): use uppercase/lowercase instead of
10599 (rightMargin): simplify code by factoring out the uses of
10604 (appendParagraph): use Paragraph::size_type
10606 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10608 * vspace.C (asLatexString): add a missing break
10610 2001-10-15 Herbert Voss <voss@perce.de>
10612 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10614 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10616 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10619 2001-10-10 André Pönitz <poenitz@gmx.net>
10621 * lyxfunc.C: removed greek_kb_flag.
10623 2001-10-10 Herbert Voss <voss@perce.de>
10625 * lyx_main.C: delete global string help_lyxdir.
10627 2001-10-09 Herbert Voss <voss@perce.de>
10629 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10631 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10633 * lyx_main.C: added global string help_lyxdir.
10635 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10637 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10639 * lyxrc.C (set_font_norm_type): support iso8859-4
10641 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10643 * LaTeX.C (deplog): add another regex for MikTeX
10645 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10647 * lyxrc.C (set_font_norm_type): support iso8859-3
10649 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10651 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10653 * LaTeXFeatures.C: remove special case of french and index
10655 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10656 before \begin{document}). This solves several incompatibilities.
10658 2001-10-03 Garst Reese <reese@isn.net>
10660 * lyx_cb.C: change CheckTex error msg.
10662 2001-10-03 José Matos <jamatos@fep.up.pt>
10664 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10666 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10668 * .cvsignore: update
10670 * lyx_main.C (commandLineVersionInfo): use new style version info.
10672 * buffer.C (writeFile):
10674 (makeLinuxDocFile):
10675 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10677 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10679 * version.h: update to use stuff in version.C
10681 * version.C.in: new file. Contains version information determined
10682 at compile time. This is a merging of version.h and
10685 2001-10-03 Juergen Vigna <jug@sad.it>
10687 * BufferView_pimpl.C (update): don't change "dirty" status in
10690 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10692 * WorkArea.C (c-tor): re-position version string slightly.
10694 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10696 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10697 revert to previous code.
10699 WorkArea.[Ch]: (show, destroySplash): methods removed.
10701 WorkArea.C: rework code so that it's an amalgam of the codes before and
10702 after the splash screen was moved to WorkArea.
10704 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10707 * vspace.C (inPixels):
10710 * buffer.C (insertStringAsLines):
10711 (asciiParagraph): fix types to be large enough
10713 * lyxlex_pimpl.h: change member status from short to int
10715 * layout.h: fix type of endlabeltype
10718 * kbsequence.C (parse): change return type to string::size_type
10720 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10723 * Bullet.C (bulletSize):
10724 (bulletEntry): do not use short ints as parameters
10726 * BufferView2.C (insertLyXFile): change a char to an int.
10728 * WorkArea.C (WorkArea): remove unneeded floats in computation
10730 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10732 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10734 * paragraph.C (asString): Do not ignore newline/hfill chars when
10735 copying to the clipboard.
10737 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10739 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10740 after a multi-line inset.
10742 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10744 * paragraph.C (validate): Set NeedLyXFootnoteCode
10746 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10748 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10749 and decrease-error to decrease.
10751 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10753 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10754 it more readable (should be equivalent)
10756 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10758 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10760 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10762 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10763 of a cursor (row, etc.) after a character has been deleted
10764 (deleteEmptyParagraphMechanism): call the method above on _all_
10765 cursors held by the LyXText when a double space has been
10768 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10770 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10772 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10774 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10775 background. Use greyOut() and the new show() methods to toggle between
10776 the foreground and background. Add code to remove the splash after
10777 its initial showing.
10779 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10780 (create_forms): no longer call Dialogs::showSplash.
10782 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10784 * .cvsignore: add version_info.h
10786 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10788 * version_info.h.in: new file
10790 * Makefile.am: add version_info.h.in
10792 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10793 version_info.h instead of VERSION_INFO
10795 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10797 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10798 The ERT inset now returns string().
10800 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10802 * lyxtext.h, text.C (selectNextWord): renamed as
10803 selectNextWordToSpellcheck.
10805 * text.C (selectNextWordToSpellcheck): Modified to not select
10806 words inside an ERT inset.
10808 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10810 * lyx_cb.C (MenuLayoutSave): change a bit the question
10812 * sp_base.h: include <sys/types.h>
10814 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10816 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10818 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10820 * several files: fix typos in user-visible strings
10822 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10824 * text2.C (pasteSelection): do not set the selection, since it
10825 will be cleared later. Actually, the intent was to fix the way the
10826 selection was set, but I figured rmoving the code was just as good.
10828 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10830 * FontLoader.C (available): Check if font is available without
10833 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10835 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10837 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10839 * lyxrc.[Ch]: added display_graphics variable and associated code.
10841 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10843 * bufferparams.C (hasClassDefaults): new method. Returns true if
10844 the buffer parameters correspond to known class defaults
10846 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10848 * XFormsView.C (show): set minimum size to the main window.
10850 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10852 * text2.C (copySelection):
10854 * lyxfind.C (LyXReplace):
10855 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10856 LyXText::selectionAsString.
10858 * paragraph.C (asString): add "label" argument to the second form
10860 * text2.C (selectionAsString): add "label" argument and pass it to
10861 Paragraph::asString.
10863 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10865 * lyx_main.C (commandLineHelp): remove version information
10867 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10869 * lyx_main.C: add -version commandline option
10871 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10873 * paragraph.h: make the optional constructor arg required instead.
10874 some modifications to other files because of this.
10876 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10878 * lyxserver.C (C_LyXComm_callback): make it static
10880 * lyx_main.C (error_handler): make it static
10882 * lyx_gui.C (LyX_XErrHandler): make it static
10884 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10886 * WorkArea.C: make the extern "C" methods static.
10888 * Makefile.am (lyx_LDADD): simplify
10890 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10892 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10893 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10895 * LyXAction.C (init):
10896 * lyxfunc.C (dispatch): associated code removal.
10898 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10900 * lyxfont.h (isSymbolFont): shut off warning
10902 * text.C (setHeightOfRow):
10903 (getVisibleRow): fix crash with empty paragraphs which have a
10906 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10908 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10911 2001-09-04 José Matos <jamatos@fep.up.pt>
10914 * tabular.C (docbook): rename docBook method to docbook.
10916 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10918 * Makefile.am: add dependencies to main.o.
10920 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10922 * FontLoader.C (available): Return false if !lyxrc.use_gui
10924 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10926 * FontInfo.C (query):
10927 * converter.C (view):
10928 * importer.C (Import):
10929 * exporter.C (Export): Can not -> cannot.
10931 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10933 * BufferView_pimpl.C: allow to create index inset even if
10936 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10938 * buffer.C (getLists): replace boost::tie code with an explicit pair
10939 as boost::tie can break some compilers.
10941 * iterators.h: Added a std:: declaration to the return type of
10944 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10946 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10949 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10951 * iterators.[Ch]: New files. Provide paragraph iterators.
10953 * buffer.C (changeLanguage): Use paragraph iterators.
10954 (isMultiLingual): ditto
10956 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10958 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10960 * FontLoader.C: Support for cmr font.
10962 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10964 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10965 (available): New method.
10967 * FontInfo.C (getFontname): Use scalable fonts even when
10968 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10971 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10973 * converter.C (Formats::view): reverted! Incorrect fix.
10975 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10977 * converter.C (Formats::view): only output the -paper option
10978 if the dvi viewer is xdvi, thereby fixing bug #233429.
10980 2001-08-23 Herbert Voss <voss@perce>
10982 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10984 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10986 * Spacing.h (Spacing): Set space to Default on in the default
10989 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10991 * vc-backend.h (RCS::versionString): add RCS to version
10992 (CVS::versionString): add CVS to version
10994 * vc-backend.C (scanMaster): do not add CVS to version.
10995 (scanMaster): do not add RCS to version
10997 * lyxvc.C (versionString): new method
10999 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11001 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11003 * Spacing.C (set): initialize fval
11005 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11007 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11010 2001-08-16 Juergen Vigna <jug@sad.it>
11012 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11014 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11016 * BufferView_pimpl.C:
11019 * text2.C: setParagraph takes linespacing now
11021 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11023 * LyxAction.C: add internal LFUN_CITATION_INSERT
11025 * LyXView.C: actually apply fix
11027 * bufferlist.C: fix open non-existent file
11029 * lyxfind.C: fix indentation
11031 * lyxfunc.C: remove unneeded assert, fix typo
11033 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11035 * MenuBackend.C: use "Floatname List"
11037 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11039 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11040 when converting LaTeX layout to insetERT.
11041 Generate a non-collapsed float when reading old float
11043 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11045 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11048 2001-08-13 Juergen Vigna <jug@sad.it>
11050 * text.C (fill): return 0 instead of 20 as this seems to be the more
11053 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11055 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11058 2001-08-13 Juergen Vigna <jug@sad.it>
11060 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11062 (SearchBackward): comment out the unlocking of the inset_owner this
11063 should not be needed!
11065 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11067 * Many files: Remove inherit_language, and add latex_language
11069 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11070 collapsible insets.
11072 2001-08-10 Juergen Vigna <jug@sad.it>
11074 * text.C (prepareToPrint): fixed hfill-width in draw!
11076 * BufferView2.C (selectLastWord): save the selection cursor as this
11077 now is cleared in the function LyXText::clearSelection!
11079 2001-08-08 Juergen Vigna <jug@sad.it>
11081 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11082 BACKSPACE type functions.
11084 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11085 is only cutted from the document but not put in the cut-buffer, where
11086 still the old stuff should be.
11088 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11090 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11092 * tabular.C (SetWidthOfCell): fixed special case where the width
11094 (LeftLine): handle '|' in align_special.
11096 (LeftAlreadyDrawed): ditto
11097 (SetWidthOfCell): ditto
11099 2001-08-07 Juergen Vigna <jug@sad.it>
11101 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11103 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11105 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11106 * lyxlex.[hC]: ditto
11108 2001-08-06 Juergen Vigna <jug@sad.it>
11110 * text.C (getVisibleRow): fix up row clearing a bit.
11112 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11114 * minibuffer.C: make sure the X server sees the changes in the input.
11116 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11118 * paragraph.C (getFont): split into...
11119 (getLabelFont): this
11120 (getLayoutFont): and this
11121 * paragraph_pimpl.C (realizeFont): calling this
11123 * text2.C (getFont): split into...
11124 (getLayoutFont): this
11125 (getLabelFont): and this
11126 (realizeFont): all three calling this
11128 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11131 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11133 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11135 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11137 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11138 layouts from the Quote inset insertion.
11140 2001-08-03 Juergen Vigna <jug@sad.it>
11142 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11144 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11145 only if status not is already CHANGED_IN_DRAW (second level).
11147 * text.C (draw): don't set the need_break_row when inside an
11150 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11152 * buffer.C (parseSingleLyXformat2Token): handle more latex
11155 * bufferview_funcs.[hC]: change function names to
11156 begin with small char, adjust other files.
11158 2001-08-02 André Pönitz <poenitz@gmx.net>
11161 BufferView_pimpl.C: remove broken special code for math-greek
11163 2001-08-02 Juergen Vigna <jug@sad.it>
11165 * BufferView_pimpl.C (update): redone this function so that we
11166 update the text again if there was a CHANGE_IN_DRAW.
11168 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11169 (drawFromTo): added a new internal bool which is used by draw() and
11171 (general): some cursor drawing problems fixed.
11173 2001-08-01 Juergen Vigna <jug@sad.it>
11175 * lyxfind.C (LyXFind): fixed
11176 (SearchForward): ditto
11177 (SearchBackward): ditto
11179 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11180 spurius drawing of the cursor in the main area.
11182 * text2.C (status): small fix which could lead to a segfault!
11183 (clearSelection): remove unneeded BufferView param.
11185 2001-08-01 André Pönitz <poenitz@gmx.net>
11187 * lyxfunc.C: small change due to changed mathed interface
11189 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11191 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11193 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11195 * lyxfunc.c: fail gracefully if file doesn't exist
11200 * BufferView_pimpl.C: IsDirWriteable() proto changed
11202 * LyXView.C: fix updateWindowTitle() to store the last title
11204 2001-07-31 Juergen Vigna <jug@sad.it>
11206 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11207 the font (wrong since using of Paragraph::highestFontInRange).
11209 * paragraph.C (highestFontInRange): added a default_size parameter.
11211 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11212 (setHeightOfRow): reformat
11214 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11216 * converter.[hC] + affected files: move to (inital-char)lowercase
11219 * ParagraphParameters.C (ParagraphParameters): remove commented code
11221 * PainterBase.[Ch]: remove commented code
11223 * LaTeXFeatures.h: add "bool floats" for float.sty
11225 * LaTeXFeatures.C (LaTeXFeatures): init floats
11226 (require): handle float
11227 (getPackages): do it with floats
11229 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11231 * BufferView_pimpl.C (Dispatch): improve handling of
11232 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11234 * commandtags.h: #include lyxfont.h here temporarily to avoid
11237 * bufferlist.h: include LString.h here.
11239 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11241 * text2.C (getStringToIndex): new method.
11243 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11245 * *: Reduced header file dependencies all over.
11247 2001-07-30 Baruch Even <baruch@lyx.org>
11249 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11251 2001-07-29 Baruch Even <baruch@lyx.org>
11253 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11255 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11257 * ParameterStruct.h (endif): add a default constructor to make
11258 sure that all variables is initialized.
11260 * ParagraphParameters.C (ParagraphParameters): adjust
11262 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11264 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11265 index; also, check that there is something to index, and that it
11266 does not span over several paragraphs.
11267 (doubleClick): use WHOLE_WORD_STRICT for double click.
11269 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11271 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11274 2001-07-26 Baruch Even <baruch@lyx.org>
11276 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11277 an InsetFig figure, backwards compatible reading of old figure code.
11279 2001-07-27 Juergen Vigna <jug@sad.it>
11281 * text2.C: font.realize function adaption.
11283 * text.C (draw): add a warnings lyxerr text if needed.
11285 * layout.C: font.realize function adaption.
11287 * language.C: add inherit_language and implement it's handlings
11289 * bufferview_funcs.C (StyleReset): remove language parameter from
11290 font creation (should be language_inherit now).
11292 * bufferparams.C (writeFile): handle ignore_language.
11294 * paragraph.C (getFontSettings): the language has to be resolved
11295 otherwise we have problems in LyXFont!
11297 * lyxfont.C (lyxWriteChanges): added document_language parameter
11298 (update): removed unneeded language parameter
11300 * paragraph.C (validate): fixed wrong output of color-package when
11301 using interface colors for certain fonts in certain environments,
11302 which should not seen as that on the final output.
11304 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11306 * BufferView_pimpl.C:
11311 * LyXAction.C: add thesaurus support
11314 * lyxfind.C: add "once" parameter, for thesaurus, to not
11315 move to the next match
11317 2001-07-26 Juergen Vigna <jug@sad.it>
11319 * lyxfont.C (realize): honor ignore_language too!
11322 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11324 * text.C (draw): one place more for ignore_language to not draw
11327 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11329 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11331 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11333 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11334 the minipage conversion problem.
11336 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11338 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11341 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11343 * BufferView.h: don't forward declare WorkArea
11345 * BufferView.C: don't include WorkArea.h
11347 2001-07-25 André Pönitz <poenitz@gmx.net>
11351 * lyxfunc.C: new LFUN 'math-space'
11353 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11355 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11357 * text2.C (toggleInset): call open/close
11359 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11361 * lyxfunc.C (dispatch): add debug for the disabled case
11363 * font.C (buttonText): make similar to rectText
11365 * buffer.C (readInset): comment out parsing of insetlist and
11368 * PainterBase.C (rectText): small correction
11370 * BufferView_pimpl.C: comment out insettheorem and insetlist
11371 * LyXAction.C: ditto
11372 * commandtags.h: ditto
11374 2001-07-24 Juergen Vigna <jug@sad.it>
11376 * text.C (draw): honor the ignore_language.
11378 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11380 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11382 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11385 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11387 * lyxtext.h: remove unused (and unimplemented) methods
11389 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11391 * text.C (getVisibleRow): honor background color
11394 * Painter.h: remove default color argument for fillRectangle
11396 * text.C (backgroundColor): new method
11398 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11400 * text.C (getVisibleRow): adjust
11402 * font.[Ch] (rectText): new method, metrics
11403 (buttonText): new method, metrics
11405 * PainterBase.[hC]: make rectText and buttonText always draw and take
11408 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11410 * ToolbarDefaults.C (read):
11411 * MenuBackend.C (read): allow escaping in all strings
11413 * BufferView_pimpl.C (insertAndEditInset): new method.
11414 (Dispatch): use insertAndEditInset whenever appropriate.
11416 * BufferView_pimpl.C (insertNote): removed
11418 * BufferView_pimpl.C (smartQuote): new method, moved from
11419 BufferView; if an insetquote cannot be inserted, insert a '"'
11422 * BufferView2.C: remove insertCorrectQuote();
11424 * lyxfunc.C (getStatus): Add support for all remaingin
11425 inset-insert lfuns.
11427 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11429 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11430 command (necessary to pass " as parameter of self-insert.
11432 * text.C (selectWordWhenUnderCursor):
11433 (selectWord): add word_location parameter
11434 (selectWordWhenUnderCursor): same + remove special code for word
11436 (selectNextWord): use kind() to guess type of insetspecialchar,
11439 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11440 (insertErtContents): create ert insets as collapsed.
11441 (readInset): better compatibility code for Info inset.
11443 2001-07-20 Juergen Vigna <jug@sad.it>
11445 * lyxfunc.C (dispatch): use always LyXFind now!
11447 * text2.C (init): add a reinit flag so that the LyXText can be
11448 reinited instead of deleted and reallocated (used in InsetText).
11450 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11456 2001-07-18 Juergen Vigna <jug@sad.it>
11458 * text.C (selectNextWord): handle insets inside inset by calling
11459 always the bv->text functions so that we can go up the_locking_inset!
11461 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11462 in strange locations when inside an inset!
11464 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11465 handling to include insets.
11467 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11469 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11471 * LyXAction.C (init):
11473 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11474 LIGATURE_BREAK, since the name is so stupid.
11476 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11478 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11481 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11483 * sp_form.[Ch]: remove.
11485 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11487 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11490 * src/buffer.C (readInset): ditto.
11492 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11494 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11495 menuSeparator(), endOfSentenceDot(), ldots() and
11496 hyphenationPoint(), which are therefore removed.
11497 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11499 * LyXAction.C (init):
11500 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11502 * paragraph.C (getWord): removed.
11504 * BufferView_pimpl.C (Dispatch): use last word or selection for
11505 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11507 * lyx_main.C (queryUserLyXDir): do not ask before creating
11508 user_dir, except if it has been named explicitely.
11510 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11512 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11513 a document of zero size.
11515 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11517 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11518 approriately in the c-tor and in require().
11519 (getPackages): output the appropriate LaTeX for natbib support.
11521 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11522 variables "use_natbib" and "use_numerical_citations" when reading the
11524 (readInset): read the various natbib cite commands.
11525 (validate): white-space change.
11527 * bufferparams.[Ch]: new variables "bool use_natbib" and
11528 "bool use_numerical_citations".
11529 (writeFile): output them in the LyX file.
11531 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11533 * lyxfunc.C (getStatus): add support for all the inset insertion
11536 * text2.C (insertInset):
11537 * paragraph.C (insetAllowed):
11538 * BufferView_pimpl.C (insertInset): update to take in account the
11539 renaming of insertInsetAllowed
11541 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11543 * text2.C (getInset): new method. returns inset at cursor position.
11545 * BufferView_pimpl.C (Dispatch): changes because of this.
11547 * LyXAction.C (init): rename open-stuff to inset-toggle.
11549 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11551 * text2.C (toggleInset): renamed from openStuff; use
11554 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11556 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11558 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11560 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11562 * buffer.C (readLyXformat2): Add filename to the error dialog
11564 2001-07-18 Juergen Vigna <jug@sad.it>
11566 * tabular.C (GetCellNumber): put an assert here instead of the check!
11568 2001-07-17 Juergen Vigna <jug@sad.it>
11570 * BufferView_pimpl.C (toggleSelection): adapted too.
11572 * text.C (selectNextWord): adapted for use with insets.
11573 (selectSelectedWord): ditto
11575 2001-07-17 Juergen Vigna <jug@sad.it>
11577 * sp_spell.C (PSpell): fix initialitation order.
11579 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11581 * paragraph.C: spacing
11583 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11585 * sp_spell.C: repair language selection for pspell
11587 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11589 * lyxfunc.h: change more methods to begin with lower char.
11591 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11593 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11594 for unknown layouts.
11596 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11598 * buffer.C (readLyXformat2): Generate an error dialog if there are
11601 2001-07-16 Juergen Vigna <jug@sad.it>
11603 * sp_spell.C: always compile ISpell part.
11605 * lyxrc.C: added use_pspell entry and it's handling.
11607 2001-07-13 Juergen Vigna <jug@sad.it>
11609 * sp_spell.C: removed double includes.
11611 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11613 Consistent use of Lsstream.h:
11614 * Lsstream.h: added using std::stringstream for consistencies sake.
11616 * buffer.C: removed using std::stringstream
11618 * lyxfont.C (stateText):
11619 * paragraph.C (asString):
11620 * text.C (selectNextWord, selectSelectedWord):
11621 * text2.C (setCounter):
11622 * vspace.C (asString, asLatexString):
11623 std::ostringstream -> ostringstream.
11625 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11627 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11628 * commandtags.h: add LFUN_HELP_ABOUTLYX
11629 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11631 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11633 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11635 * lyx_gui_misc.C: remove spellchecker
11636 * lyxfunc.C: showSpellchecker
11638 * sp_ispell.h: added
11639 * sp_pspell.h: added
11640 * sp_spell.C: added
11641 * sp_form.[Ch]: removed
11642 * spellchecker.[Ch]: removed
11644 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11646 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11648 (simpleTeXSpecialChars): Simply print the input character without
11649 any special translation if pass_thru is set.
11651 * layout.h: Added bool pass_thru to layout class for being able to
11652 implement pass through of a paragraph for Literate Programming.
11654 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11655 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11656 * layout.C (Read): add "passthru" to list of layout tags and add
11657 code to set the pass_thru boolean when it is read.
11659 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11661 * trans_decl.h: remove allowed from KmodInfo
11663 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11664 remove allowed code
11667 * paragraph_pimpl.C (erase): use boost::prior
11669 * Painter.C (text): use data() instead of c_str() when length is
11671 * WorkArea.C (putClipboard): ditto
11672 * font.h (width): ditto
11674 * BufferView2.C: use it-> instead of (*it). for iterators
11676 * paragraph_pimpl.C: ditto
11677 * paragraph.C: ditto
11678 * minibuffer.C: ditto
11679 * language.C: ditto
11681 * encoding.C: ditto
11682 * counters.C: ditto
11683 * converter.C: ditto
11685 * Variables.C: ditto
11686 * TextCache.C: ditto
11687 * MenuBackend.C: ditto
11688 * LyXAction.C: ditto
11690 * FloatList.C: ditto
11691 * DepTable.C: ditto
11692 * ColorHandler.C (LyXColorHandler): ditto
11694 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11696 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11698 * text2.C (openStuff): reintroduce this method (which had been
11699 nuked in NEW_INSETS frenzy).
11701 * lyxfunc.C (Dispatch): when an action has not been handled, use
11702 its name in the error message, not its number.
11704 * paragraph.C (inInset): change method name to begin with lowercase.
11707 * text2.C: updates because of this.
11709 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11711 * ToolbarDefaults.C (add): add spaces in error message
11713 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11715 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11716 (readLyXformat2): rename return_par to first_par, use lyxlex's
11717 pushToken and remove the manual push handling.
11718 (parseSingleLyXformat2Token): add another ert comp. variable:
11719 in_tabular, rename return_par to first_par. handle newlines better
11721 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11723 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11725 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11727 * text2.C (getParFromID): removed
11729 * buffer.C (getParFromID): new method moved form lyxtext.
11730 * BufferView2.C (insertErrors): adjust
11731 (setCursorFromRow): adjust
11732 * BufferView_pimpl.C (restorePosition): adjust
11733 * lyxfunc.C (Dispatch): adjust
11734 * undo_funcs.C (textUndo): adjust
11736 (textHandleUndo): adjust
11737 (textHandleUndo): adjust
11739 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11741 * buffer.C: up' the LYX_FORMAT
11743 * lyxfont.h: turn NO_LATEX on as default
11745 * buffer.C (insertErtContents): new methods of tex style compability.
11746 (parseSingleLyXformat2Token): use it several places.
11747 * tabular.C (OldFormatRead): and here
11749 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11751 * text2.C: remove some commented code.
11754 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11755 * trans.C: changes because of the above.
11757 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11759 * text2.C (setCounter): Fix counters bug with bibliography layout.
11761 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11763 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11764 own member functions
11765 (simpleTeXSpecialChars): ditto
11767 2001-07-06 Juergen Vigna <jug@sad.it>
11769 * a lot of files: changed the access to LyXText::status and the
11770 call of undo-functions.
11772 * undo.[Ch]: added a inset_id to the undo informations.
11774 * undo_funcs.[Ch]: added and moved here all undo functions.
11776 * lyxtext.h: give the status enum a weight, made status_ a private
11777 variable and made accessor functions for it, removed the whole bunch
11778 of undo-functions as they are now in their own file, make some
11779 functions publically available. Added function ownerParagraph with
11782 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11783 made InInset() a const function, added getParFromID() function.
11785 * buffer.[Ch]: added const version for inset_iterator functions,
11786 added getInsetFromID() function.
11788 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11789 changed undo functions for new version.
11791 2001-07-05 Juergen Vigna <jug@sad.it>
11793 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11794 unknow mechanism does not call the proper constructor but only this
11795 one also if I request the other!?
11797 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11799 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11801 * text2.C (LyXText): use initialization lists.
11803 * lyxtext.h (Selection): initialize set_ and mark_
11804 (init): remove method
11806 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11808 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11810 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11812 * screen.[Ch]: change method names to begin with lowercase
11814 * BufferView_pimpl.C (updateScrollbar): simplify further and
11815 hopefully make it a bit faster.
11817 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11819 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11820 calling directly xforms functions.
11822 * Painter.C (Painter):
11823 * lyx_cb.C (MenuWrite):
11824 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11827 * lyx_gui.C: remove bogus guiruntime extern declaration.
11829 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11831 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11833 (redoDrawingOfParagraph): ditto
11834 (redoParagraphs): ditto
11835 (cutSelection): don't create a object for CutAndPaste use the
11836 static method directly
11837 (pasteSelection): ditto
11839 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11842 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11844 * modifications to some other files because of this.
11846 * Makefile.am (lyx_SOURCES): add XFormsView
11848 * XFormsView.[Ch]: new files
11850 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11851 the main window. Move the gui dependent stuff to XFormsView
11853 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11855 * tabular.C (GetCellInset): update cur_cell also in the row/col
11856 version of this function.
11858 * lyxfunc.C: no need to include figure_form.h here.
11864 * lyxvc.C: no need to include forms.h here.
11866 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11868 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11870 * lyxfunc.C (Dispatch):
11872 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11873 constructor argument.
11875 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11877 * paragraph.C (Paragraph): dont't clear, and just set layout.
11878 (makeSameLayout): use params's copy contructor.
11880 * ParagraphParameters.[Ch] (makeSame): delete method
11882 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11884 * Variables.[Ch]: fix indentation, rename set to isSet
11886 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11888 * lyxfunc.C (Dispatch): fix typo
11890 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11892 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11895 * bufferlist.C: include assert.h for emergencyWrite().
11897 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11899 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11900 give up at last (bug #425202) !
11902 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11908 * spellchecker.C: strip spellchecker options and bring up
11909 preferences tab instead
11911 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11913 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11914 the istringstream constructor
11916 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11918 * paragraph.C (getLayout): fix return value
11920 * paragraph.h: do not declare getLayout as inline.
11922 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11924 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11926 * lyxcursor.h (operator<): new func
11927 (operator>): new func
11928 (operator>=): new func
11929 (operator<=): new func
11931 * text.C (changeCase): use selection.start and selection.end
11932 (changeRegionCase): require from to be <= to. Require par to be a
11935 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11937 2001-06-27 Juergen Vigna <jug@sad.it>
11939 * text.C (cursorLeftOneWord): changed to return the cursor and added
11940 overlay with BufferView * parameter which calls this one.
11942 (selectWord): use new getWord function.
11943 (changeCase): renamed from changeWordCase as and extended to work
11944 also on selections.
11946 * lyxtext.h: added enum word_location
11948 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11949 changeCase as this operates now also on selections.
11951 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11953 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11955 * many files: send debug output to Debug::INFO instead of
11958 * converter.C (View):
11960 (Move): send debug output to Debug::FILES instead of console.
11962 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11964 * lyxfunc.C (getStatus): use func_status
11966 * func_status.h: new header, describing the results of
11967 LyXFunc::getStatus;
11969 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11972 2001-06-25 The LyX Project <jug@sad.it>
11974 * buffer.C (sgmlOpenTag):
11976 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11978 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11980 * text2.C: remove some dead code
11982 * tabular.C (GetCellInset): store the last cell checked (gotten)
11984 * tabular.h: add the helper for the speedup
11986 * lyxtext.h: remove some dead code
11988 2001-06-26 The LyX Project <Asger>
11990 * paragraph.C: Change export to LaTeX of alignment to
11991 \begin{center} and family for better roundtrip work with reLyX.
11993 * Tune the math drawing a bit.
11995 2001-06-25 The LyX Project <Asger>
11997 * LColor.C (LColor): New color for math background. New color
12000 2001-06-25 The LyX Project <jug@sad.it>
12002 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12004 * lyxfunc.C (Open):
12005 * bufferlist.C (newFile): do not restrict to files ending with
12008 * BufferView_pimpl.C (MenuInsertLyXFile):
12010 2001-06-24 The LyX Project <jug@sad.it>
12012 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12015 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12017 * lyxtext.h: rename most methods to begin with a small char.
12018 Lots of changes because of this.
12020 * paragraph.C (Paragraph): do not call fitToSize
12021 (erase): call Pimpl::erase
12022 (insertChar): call Pimpl::insertChar
12023 (insertInset): call Pipl::insertInset
12024 (breakParagraph): do not call fitToSize
12025 (breakParagraphConservative): do not call fitToSize
12026 (fitToSize): remove method
12028 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12030 2001-06-24 The LyX Project <Asger>
12032 * Fix Qt compilation^2
12034 2001-06-24 The LyX Project <jug@sad.it>
12036 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12037 depthHook(getDepth()-1).
12040 * ParagraphParameters.h:
12041 * ParameterStruct.h: change type of depth to unsigned int ==
12042 depth_type. Many adaptations to other files before of that.
12044 2001-06-24 The LyX Project <Asger>
12046 * Fix Qt compilation.
12048 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12050 * paragraph.h: renamed several methods to begin with small letter.
12051 several changes to many parts of the code because of this.
12053 2001-06-23 The LyX Project <jug@sad.it>
12055 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12056 rewritten to discard all double spaces when KeepEmpty is off
12057 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12058 to only handle newlines but not fiddle with spaces and friends.
12060 * lyxfunc.C (MenuNew): when doing 'new from template', use
12061 template_path as default directory
12063 2001-06-23 The LyX Project <Asger>
12065 * Clean-up of header file includes all over
12066 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12068 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12070 * paragraph.h: renamed from lyxparagraph.h
12072 2001-06-23 Asger <lyx@violet.home.sad.it>
12074 * Buffer.h: Removed Buffer::resize
12075 * BufferList.h: Removed BufferList::resize
12076 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12077 the document lazily when we change the width, or the font settings.
12079 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12081 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12083 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12085 * buffer.h: remove out of date comment
12087 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12090 * screen.C: fix "theoretical" GC leak
12092 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12094 * LaTeX.C (scanAuxFile):
12095 (deplog): remove trailing \r when reading stream (useful under
12098 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12100 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12101 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12102 and BufferView::theLockingInset(Inset*), so should use them and not
12103 access bv_->text->the_locking_inset directly.
12105 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12107 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12110 * tex-defs.h: remove old unused file
12112 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12114 * BufferView_pimpl.C: fix typo, remove minibuffer message
12115 when buffer has loaded
12117 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12119 * lyxfunc.C (Dispatch): use stringstream
12120 (MenuNew): use stringstream
12121 (Open): use stringstream
12123 * importer.C (Import): use stringstream
12125 * bufferview_funcs.C (CurrentState): use stringstream
12127 * LaTeX.C (run): use stringstream
12129 * BufferView_pimpl.C (savePosition): use stringstream
12130 (restorePosition): use stringstream
12131 (MenuInsertLyXFile): use stringstream
12133 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12146 * vspace.C: removed // -*- C++ -*- as first line.
12149 * version.h: added // -*- C++ -*- as first line.
12151 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12153 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12155 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12158 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12160 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12163 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12165 * gettext.C: include LString.h even when --disable-nls is on.
12167 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12169 * converter.h (Get): changed argument type from int to
12170 FormatList::size_type to avoid unnecessary conversion.
12172 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12175 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12177 * gettext.h: include LString.h even when --disable-nls is on.
12179 2001-06-07 Juergen Vigna <jug@sad.it>
12181 * text.C (BreakAgain): subst spaces with tabs.
12183 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12184 (resizeInsetsLyXText): set force on resizeLyXText.
12186 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12188 * gettext.h (gettext_init):
12189 (locale_init): use a real definition instead of a macro
12191 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12193 * Bufferview_pimpl.C:
12195 * LColor.C: further lcolor tidies
12197 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12199 * BufferView_pimpl.C (updateScrollbar): simplify.
12201 * BufferView2.C: don't include insets/insetinfo.h, change
12202 prototype for insertInset and call the Pimpl version. let
12203 updateInset call Pimpl version.
12205 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12206 gotoInset to BufferView::Pimpl
12208 2001-06-01 Juergen Vigna <jug@sad.it>
12210 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12211 inside a LockingInset (is the update needed at all?).
12213 2001-05-31 Juergen Vigna <jug@sad.it>
12215 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12216 here not the old one otherwise how should we compare it afterwards
12219 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12224 * FontInfo.C: bring C functions into global namespace when
12227 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12229 * LString.h: make sure config.h has been loaded before LString.h.
12231 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12232 (one for each char read by EatLine!).
12234 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12237 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12239 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12240 to the same as the par we break from
12242 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12244 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12246 * MenuBackend.C (expand): also create menu entries for wide
12247 versions of the floats.
12249 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12251 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12253 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12254 frontends/Makefile.am
12260 * tabular.C (getTokenValue): add std::
12262 * tabular-old.C (getTokenValue): add std::
12263 (getTokenValue): ditto
12264 (getTokenValue): ditto
12266 * screen.C (ToggleSelection): adjust
12268 * lyxtext.h: put selection cursors inside a Selection struct.
12270 * lyxfunc.C (moveCursorUpdate): adjust
12272 * lyxfont.C (latexWriteStartChanges): add std::
12274 * lyxfind.C: adjust
12276 * font.h: delete with(char const *, LyXFont const &)
12278 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12280 * FontInfo.C (getFontname): add std::
12282 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12283 (workAreaButtonPress): adjust
12284 (tripleClick): adjust
12286 (moveCursorUpdate): adjust
12289 * BufferView2.C (gotoInset): adjust
12291 2001-05-30 Juergen Vigna <jug@sad.it>
12293 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12294 to check pspell I add this as default as I now have new pspell
12295 libraries and they seem to use this.
12297 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12299 * text2.C (CutSelection): make the cursor valid before the call to
12302 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12304 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12305 relied on 0 terminated strings and other horrors. Bug found due to
12306 the new assert in lyxstring!
12308 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12311 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12313 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12316 * lyxfunc.C (processKeySym): change method of getting to the
12319 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12320 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12321 * BufferView_pimpl.[Ch]: here as private methods.
12323 2001-05-28 Juergen Vigna <jug@sad.it>
12325 * text.C (SetHeightOfRow): added the update() call again as it is
12326 needed to initialize inset dimensions!
12328 2001-05-16 Juergen Vigna <jug@sad.it>
12330 * text2.C (SetCharFont): Add new function with BufferView * and
12331 bool toggleall parameters for setting insets internal fonts.
12332 (SetFont): Freeze the undo as we may change fonts in Insets and
12333 all this change should be inside only one Undo!
12335 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12336 setting font's in insets as for them we have the SetFont function!
12338 2001-05-15 Juergen Vigna <jug@sad.it>
12340 * text2.C (ClearSelection): to be sure we REALLY don't have any
12343 * tabular.C (TeXCellPreamble): fixed the left border problem for
12346 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12348 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12351 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12353 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12354 LFUN_BREAKPARAGRAPH.
12356 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12357 help test to "internal only", similar for LFUN_INSERT_URL
12359 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12360 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12361 auto_region_delete and deadkeys.
12363 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12366 * LColor.C: remove some dead entries, tidy a little
12368 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12370 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12372 (Dispatch): implement LFUN_ESCAPE
12374 * commandtags.h: add LFUN_ESCAPE
12376 * LyXAction.C (init): add entry for LFUN_ESCAPE
12378 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12379 Remove commented code.
12380 (insertNote): moved here
12381 (open_new_inset): moved here
12383 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12386 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12388 * kbmap.C (findbinding): clean it up and make it work correctly.
12390 * lyx_main.C (init): do not pass argc and argv as parameters
12392 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12394 * buffer.C: fix path for OS/2 & Win32
12398 * lyx_main.C: Added os:: class.
12400 * os2_defines.h: update
12402 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12404 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12405 better by trying again with reduced state.
12407 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12409 * lyxrc.C (read): print error about invalid key sequence only when
12410 debugging (because not all latinX keysyms are known to some X
12413 * kbsequence.C (getiso): add a few std:: qualifiers
12414 (getiso): comment out extra return statement.
12416 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12418 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12420 (Dispatch): enhance the accent inset a bit. (not perfect)
12422 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12424 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12426 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12428 * bufferlist.C (emergencyWrite): fix assert() call
12430 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12432 * text.C (InsertChar): Added trivial patch to only send the "you
12433 can not do multiple spaces this way" message once during a
12436 2001-05-08 Baruch Even <baruch@lyx.org>
12438 * Makefile.am: Changed order of libraries to get LyX to link properly
12439 with the gnome frontend.
12441 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12443 * LaTeXFeatures.h: add a std:: qualifier
12445 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12447 * paragraph.C (String): use stringstream
12449 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12451 * paragraph.C (writeFile): remove footflag arg
12453 * buffer.C (makeLaTeXFile): use stringstream
12454 (latexParagraphs): remove footnot gurba
12456 * LaTeXFeatures.C (getPackages): use stringstream
12457 (getMacros): likewise
12458 (getTClassPreamble): likewise
12459 (getFloatDefinitions): new method
12461 * paragraph.C (writeFile): reindent
12464 * WorkArea.h: revert the xpos + etc changes.
12466 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12468 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12470 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12471 (pasteSelection): likewise
12472 * text2.C (CreateUndo): likewise
12474 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12476 * minibuffer.C (peek_event): temporarily reduce the functionality
12477 of the minibuffer (to allow args on lfuns)
12479 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12480 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12482 * buffer.C (readInset): add compability reading of old float
12483 lists, add reading of new style float list.
12484 (readInset): avoid reevaluation of inscmd.getCmdName()
12485 (getLists): reindent
12487 * MenuBackend.C (MenuItem): implement parsing of
12488 md_floatlistinsert and md_floatinsert.
12489 (expand::LastFiles): move initalizaton of iterators out of loop,
12490 avoid reevaluation.
12491 (expand::Documents): introduce typdedef vector<string> Strings,
12493 (expand::ExportFormats): introduce typedef vector<Format const *>
12494 Formats, and use it.
12495 (expand): implement FloatListInsert and FloatInsert.
12497 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12498 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12499 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12501 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12503 (Dispatch::LFUN_FLOAT_LIST): implement
12505 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12507 * LaTeX.C (run): Fix problem with --export code.
12509 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12511 * BufferView.[Ch] (workarea): removed.
12512 (getClipboard) new method; wrapper for workarea()->getClipboard()
12514 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12517 * WorkArea.h (width, height, xpos, ypos): These methods all
12518 returned the dimensions of the work_area sub-area of WorkArea,
12519 resulting in a position error if the WorkArea were resized. Now
12520 return the dimensions of the entire WorkArea.
12522 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12524 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12526 * LaTeX.C (deplog): correct the syntax of regex reg1
12528 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12530 * undo.C: remove !NEW_INSETS cruft
12532 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12534 * text2.C: remove !NEW_INSETS cruft
12536 * text.C: remove !NEW_INSETS cruft
12538 * tabular.C: remove !NEW_INSETS cruft
12540 * spellchecker.C: remove !NEW_INSETS cruft
12542 * lyxtext.h: remove !NEW_INSETS cruft
12544 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12546 * lyxfunc.C: remove !NEW_INSETS cruft
12548 * lyxfind.C: remove !NEW_INSETS cruft
12550 * lyx_cb.C: remove !NEW_INSETS cruft
12552 * figureForm.C: remove !NEW_INSETS cruft
12554 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12556 * buffer.[Ch]: remove !NEW_INSETS cruft
12558 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12560 * CutAndPaste.C: remove !NEW_INSETS cruft
12562 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12564 * BufferView2.C: remove !NEW_INSETS cruft
12566 * BufferView.h: remove !NEW_INSETS cruft
12568 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12570 * Lsstream.h: include LString.h before the sstream headers to
12571 fix problem with gcc 2.95.3 and lyxstring
12573 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12575 * lyx_main.C: add using directives when needed for C functions
12576 declared in std:: namespace.
12578 2001-04-27 Juergen Vigna <jug@sad.it>
12580 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12581 (SetHeightOfRow): comment out the update call should not be needed!
12583 2001-04-13 Juergen Vigna <jug@sad.it>
12585 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12586 (LyXTabular): tried to minimize operator= operations (and realized
12587 hopfully Lars wish).
12589 2001-04-27 Juergen Vigna <jug@sad.it>
12591 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12593 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12595 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12597 * buffer.C (readInset): hack to make listof algorithm work
12599 * BufferView_pimpl.C: hack to make listof algorithm work
12601 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12603 * LyXAction.C: removed all !NEW_INSETS cruft
12604 (init): moved lfun_item in method
12606 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12608 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12610 * BufferView2.C (theLockingInset): white space.
12612 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12614 * minibuffer.C: include <iostream>
12616 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12618 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12620 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12622 * text.[Ch] (TransposeChars): new method
12624 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12626 * call message directly through LyXView instead of through LyXFunc
12627 * BufferView2.C: adjust
12628 * BufferView_pimpl.C: adjust
12629 * FontLoader.C: adjust
12631 * bufferview_funcs.C: adjust
12632 * converter.C: adjust
12633 * figureForm.C: adjust
12634 * importer.C: adjust
12636 * lyx_gui_misc.C: adjust
12637 * lyxfunc.C: adjust
12640 + more files in subdirs
12642 * lyxparagraph.h (size): move up int file
12645 * adjust all uses of Assert to lyx::Assert.
12647 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12648 lyxfunctional in namespace lyx
12649 * layout.C (hasLayout): ditto
12652 (delete_layout): ditto
12653 (NumberOfClass): ditto
12654 * converter.C (GetFormat): ditto
12659 * bufferlist.C (getFileNames): ditto
12660 (emergencyWriteAll): ditto
12663 * MenuBackend.C (hasSubmenu): ditto
12666 * BufferView_pimpl.C (getInsetByCode): ditto
12668 2001-04-18 Juergen Vigna <jug@sad.it>
12670 * vspace.C (asLatexString): fixed the 100% problem.
12672 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12674 * lyxfunc.C (Dispatch):
12676 * minibuffer.h: add a few std:: qualifiers
12678 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12680 * minibuffer.[Ch]: reimplement so that commands is initiated and
12681 run from lyxfunc, simplified som handling, and made the completion
12682 and history code for complete. wip.
12684 * lyxfunc.C (processKeySym): call message
12685 (miniDispatch): new temporary method
12686 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12687 (LFUN_MESSAGE): implement
12688 (LFUN_MESSAGE_PUSH): implement
12689 (LFUN_MESSAGE_POP): implement
12690 (initMiniBuffer): the initial/defualt minibuffer message.
12692 * lyxfont.[Ch]: inline some more getters
12694 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12696 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12698 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12699 (AutoSave): use LFUN_MESSAGE
12700 (Reconfigure): ditto
12702 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12704 * figureForm.C: use LFUN_MESSAGE
12706 * converter.C (runLaTeX): use LFUN_MESSAGE
12708 * bufferview_funcs.C: use LFUN_MESSAGE
12710 (changeDepth): ditto
12712 * bufferparams.h: use boost::
12714 * bufferlist.h: inherit privately from noncopyable
12716 * bufferlist.C (loadLyXFile): remove some commented code.
12718 * buffer.C (runChktex): use LFUN_MESSAGE
12720 * ShareContainer.h: inherit privately from noncopyable
12722 * ParagraphParameters.[hC] (depth): inline it.
12724 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12726 (message): new method
12727 (messagePush): ditto
12728 (messagePop): ditto
12729 (show): init minibuffer
12730 (showState): direct call
12732 * LaTeX.[Ch]: inherit privately from noncopyable
12733 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12734 instead of WriteStatus.
12736 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12738 * BufferView_pimpl.C (buffer): don't init minibuffer
12739 (workAreaButtonPress): use LFUN_MESSAGE
12740 (workAreaButtonRelease): ditto
12741 (savePosition): ditto
12742 (restorePosition): ditto
12743 (MenuInsertLyXFile): ditto
12744 (workAreaExpose): don't init minibuffer
12745 (update): remove commented code, simplify
12747 * BufferView2.C (openStuff): use LFUN_MESSAGE
12748 (toggleFloat): ditto
12751 (copyEnvironment): ditto
12752 (pasteEnvironment): ditto
12757 (updateInset): remove some commented code
12759 * lastfiles.h: inherit privately from noncopyable
12762 * lyx_main.h: ditto
12764 * lyxlex_pimpl.h: ditto
12766 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12767 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12768 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12770 * LyXAction.h: inherit privately from noncopyable, add methods
12771 func_begin, func_end, returning iterators to the func map.
12773 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12774 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12775 (func_begin): new method
12776 (func_end): new method
12778 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12780 (copySelection): ditto
12781 (pasteSelection): ditto
12783 * BufferView.C: whitespace change
12784 * BufferView.h: inherit privately from noncopyable
12786 2001-04-16 Allan Rae <rae@lyx.org>
12788 * tabular-old.C (l_getline):
12789 * spellchecker.C (sc_check_word):
12790 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12791 an unrecognised preprocessor directive. So ensure they're wrapped.
12793 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12795 * src/exporter.C (Export): Give an error message when path to file
12798 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12800 * LaTeX.C (deplog): Always check that foundfile exists.
12802 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12805 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12807 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12809 * tabular.[Ch] (getLabelList): implement new method
12811 * minibuffer.h: comment ouf setTiimer
12813 * minibuffer.C (ExecutingCB): constify res
12814 (peek_event): constify s
12815 (Set): constify ntext
12816 (Init): constify nicename
12818 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12820 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12821 (savePosition): use two params to Minibuffer::Set
12822 (restorePosition): ditto
12824 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12826 * lyx_main.C: include language.h
12828 * Makefile.am (lyx_main.o): add language.h
12830 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12836 * CutAndPaste.C: include gettext.h
12838 * lyxfont.h: remove old hack with ON and OFF.
12841 * lyxfont.h: do not include language.h...
12846 * bufferview_funcs.C:
12852 * paragraph.C: ... but do it here instead
12854 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12856 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12858 * tabular.C: small reformat
12860 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12863 (BreakParagraph): ditto
12864 (SetOnlyLayout): ditto
12867 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12870 * lastfiles.C: removed most using decl, add std:: where needed
12872 * buffer.C: ws changes
12874 * MenuBackend.C (class compare_format): put into anon namespace
12875 (expand): constify label, names, action, action2
12878 * text.C (SingleWidth): constify font
12879 (IsBoundary): constify rtl2
12880 (GetVisibleRow): constify ww
12882 * LaTeX.C (deplog): constify logfile
12884 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12886 (workAreaExpose): constify widthChange, heightChange
12888 * lyxrow.C (par): moved
12891 * lyxrow.h: as inlines here
12893 * lyxfont.h (shape): moved from lyxfont.C
12894 (emph): moved from lyxfont.C
12896 * lyxfont.C (LyXFont): use initialization list for all
12898 (shape): move to lyxfont.h as inline
12899 (emph): move to lyxfont.h as inline
12902 2001-04-04 Juergen Vigna <jug@sad.it>
12904 * vspace.C: had to include stdio.h for use of sscanf
12906 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12909 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12910 independent of xforms.
12912 2001-04-02 Juergen Vigna <jug@sad.it>
12914 * spellchecker.C: fixed namespace placing!
12916 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12918 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12919 the LyXParagraph * is 0.
12921 2001-03-29 Juergen Vigna <jug@sad.it>
12923 * vspace.C: added support for %, c%, p%, l%.
12924 (stringFromUnit): added helper function.
12925 (asLatexString): changed to give right results for the %-values.
12927 * buffer.C: convert the widthp in a width%.
12929 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12931 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12934 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12935 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12937 * lyx_cb.[Ch]: see above.
12939 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12943 * lyx.[Ch]: replaced by figure_form.[Ch].
12947 * lyxfunc.C: changed headers associated with above changes.
12949 2001-03-27 Juergen Vigna <jug@sad.it>
12951 * BufferView_pimpl.C: set the temporary cursor right!
12953 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12955 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12957 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12959 * LString.h: removed "using std::getline"!
12961 * BufferView_pimpl.C (Dispatch): changes due to changes in
12962 InsetInclude::Params.
12964 * buffer.C (tag_name): removed redundant break statements as they were
12965 producing lots of warnings with my compiler.
12967 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12969 * LString.h: add "using std::getline" when using the real <string>.
12971 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12973 * buffer.C: removed bitset usage.
12974 PAR_TAG moved to an anonymous name space.
12975 (tag_name): new funtion, also in the anonymous namespace.
12976 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12977 (makeDocBookFile): clean code. Completed transition from string arrays
12979 (SimpleDocBookOnePar): code clean.
12981 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12983 * tabular.C: add some comments.
12985 2001-03-22 Juergen Vigna <jug@sad.it>
12987 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12988 compatibility read a bit and fixed bug with minipage in different
12991 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12993 * buffer.C (pop_tag): removed.
12994 (push_tag): removed.
12995 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12996 array replaced with vector. Added support for CDATA sections.
12997 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12999 (makeDocBookFile): XML conformant declaration of CDATA section,
13000 fixed bug related to <emphasis> in the first paragraph char.
13001 (sgmlOpenTag): exclude empty tags.
13002 (sgmlCloseTag): ditto.
13004 * buffer.h (pop_tag): removed.
13005 (push_tag): removed.
13007 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13009 * language.h (Languages): added size_type and size().
13011 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13013 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13014 response on compability reading of minipages. One probliem is that
13015 the old usage of minipages was «flertydig»
13017 * several files here and in subdirs: don't use static at file
13018 scope use anon namespaces instead.
13020 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13022 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13023 LaTeX output. This is necessary for Literate document
13026 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13028 * buffer.C: insert hfill when needed.
13030 * tabular.C (l_getline): use string::erase, small whitespace change.
13032 * BufferView_pimpl.C: try the anon namespace.
13033 * WorkArea.C: ditto
13035 2001-03-16 Juergen Vigna <jug@sad.it>
13037 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13038 otherwise it won't open options-dialogs.
13040 * buffer.C: honor pextraWidth(p) on converting minipages.
13042 * tabular.C (l_getline): changed the functions to strip trailing \r.
13044 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13046 * BufferView_pimpl.C:
13047 * minibuffer..C: added "using SigC::slot" declaration.
13049 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13051 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13057 * paragraph.C: ditto
13059 * lyxtext.h: NO_PEXTRA
13061 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13063 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13064 * ParameterStruct.h: ditto
13065 * ParagraphParameters.h: ditto
13066 * lyxparagraph.h: ditto
13068 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13070 * buffer.C: add compability for minipage alignment.
13071 (latexParagraphs): remove unwanted pextra check.
13073 * several files: remove CXX_WORKING_NAMESPACES
13075 * buffer.C (pop_tag): tie is in namespace boost
13077 * BufferView.h: noncopyable is in namespace boost
13079 * lyx_main.h: ditto
13082 * lastfiles.h: ditto
13083 * bufferlist.h: ditto
13084 * ShareContainer.h: ditto
13086 * LyXAction.h: ditto
13089 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13091 * Merging changes from BRANCH_MVC back into HEAD.
13093 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13095 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13097 * BufferView_pimpl.C: change from intl.C
13101 * Makefile.am: move combox.*
13107 * intl.C: remove dialog (covered by prefs)
13109 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13111 * lyxfunc.C (Dispatch): removed redundant break statement.
13113 2001-03-14 Juergen Vigna <jug@sad.it>
13115 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13117 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13119 * buffer.C: add hack to fix compability reading of minipages.
13121 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13123 * buffer.C (getLists): Cleanup.
13125 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13127 * lyxfont.C (update): don't honor toggleall on font size.
13129 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13133 * Makefile.am: moved to frontends/xforms/
13137 * BufferView_pimpl.C: changes for moved mathpanel
13139 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13141 * gettext.h: fix gettext_init() in --disable-nls
13143 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13145 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13147 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13150 * lyx.h: strip external form
13152 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13154 * BufferView_pimpl.C: add comment, destroySplash()
13156 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13158 * BufferView_pimpl.C:
13162 * lyxfunc.C: use re-worked insetinclude
13164 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13166 * buffer.C: add using std::stringstream.
13168 * lyx_cb.C: readd using std::ios.
13170 * buffer.C: add using std::map.
13172 * BufferView_pimpl.C: add using std::vector.
13174 * ShareContainer.h: add std:: to swap.
13176 * buffer.h: add some typedefs
13177 * buffer.C (getLists): use them
13178 (getLists): renamed from getTocList.
13179 add a counter for the different float types and use it in the
13181 (getLists): use the same counter for the NEW_INSETS and the "non"
13184 * lyx_cb.h: remove unused items, includes, using etc.
13186 * ShareContainer.h: remove some commented code, add more comments
13187 and "documentation".
13189 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13191 * buffer.C (getTocList): make the list also when NEW_INSETS is
13194 * buffer.h: remove TocType
13196 * buffer.C (getTocList): change to return a map<string,
13197 vector<TocItem> >, implement for dynamic number of list.
13199 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13200 * text2.C (PasteSelection): adjust
13201 * CutAndPaste.C (pasteSelection): adjust
13203 * FloatList.C (FloatList): update from the new_insets branch.
13204 * Floating.[Ch]: ditto
13205 * LaTeXFeatures.C: ditto
13207 * lyxlex_pimpl.C: ditto
13209 * paragraph.C (Last): remove when NEW_INSETS is defined.
13211 * other file: changes because of the above.
13213 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13215 * lyxparagraph.h: rename next to next_, previous to previous_,
13216 make them private for NEW_INSETS. Rename Next() to next(),
13217 Previous() to previous().
13219 * other files: changes because of the above.
13221 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13224 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13227 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13229 * main.C (main): pass lyx_localedir to gettext_init().
13231 * gettext.h: remove locale_init and gettext_init macros
13233 * gettext.C (locale_init): new function
13234 (gettext_init): new function
13236 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13239 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13241 * Moved credits to frontends:
13242 * credits.[Ch]: removed
13243 * credits_form.[Ch]: removed
13244 * lyx_gui_misc.C: remove credits stuff
13247 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13249 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13251 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13252 unneeded destructor.
13254 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13255 a standalone pointer again.
13257 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13259 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13265 * ToolbarDefaults.C:
13274 * BufferView_pimpl.C: use new file dialog in GUII
13277 * lyx_cb.C: remove LayoutsCB to Toolbar
13279 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13281 * ShareContainer.h (get): add std:: qualifier
13283 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13285 * ShareContainer.h: define a proper ShareContainer::value_type
13286 type (and use typename to please compaq cxx)
13288 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13290 * lyxparagraph.h: move serveral local vars to
13291 ParameterStruct/ParagraphParameters., use ShareContainer in
13292 FontTable., make vars in FontTable private and add getter and
13295 * paragraph.C: changes because of the above.
13297 * lyxfont.h: remove copy constructor and copy assignment. (the
13298 default ones is ok), move number inside FontBits. move inlines to
13301 * lyxfont.C: add number to initializaton of statics, move several
13302 inlines here. constify several local vars. some whitespace
13303 cleanup. Dont hide outerscope variables.
13305 * Spacing.h: add two new constructors to match the set methods.
13307 * ShareContainer.h: new file, will perhaps be moved to support
13309 * ParameterStruct.h: new file
13311 * ParagraphParameters.h: new file
13313 * ParagraphParameters.C: new file
13315 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13316 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13318 * BufferView_pimpl.C: ParagraphParameter changes.
13319 * buffer.C: Likewise.
13320 * bufferview_funcs.C: Likewise.
13321 * text.C: Likewise.
13322 * text2.C: Likewise.
13324 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13326 * lyxfind.C (LyXReplace): do not redefine default argument in
13328 (IsStringInText): ditto
13329 (SearchForward): ditto
13330 (SearchBackward): ditto
13332 2001-03-06 Juergen Vigna <jug@sad.it>
13334 * lyxfind.C (IsStringInText): put parentes around expressions.
13336 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13338 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13340 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13342 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13344 * stl_string_fwd.h: add comment
13346 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13349 * tabular.C: remove unused DocBook methods
13355 killed DO_USE_DEFAULT_LANGUAGE
13357 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13359 * lyx_gui.C: do not include language.h.
13361 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13362 arguments in function implementation.
13364 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13366 * BufferView_pimpl.C: add <ctime>
13368 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13370 * BufferView_pimpl.C: add using std::find_if
13372 2001-02-27 José Matos <jamatos@fep.up.pt>
13374 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13377 2001-02-11 José Matos <jamatos@fep.up.pt>
13379 * buffer.C (makeDocBookFile): command styles now have a parameter as
13380 "title" by default.
13382 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13384 * layout_forms.[Ch]: removed
13385 * lyx_cb.[Ch]: out character
13386 * lyx_gui.C: out character
13387 * lyx_gui_misc.C: out character
13388 * bufferview_funcs.C: : out character,
13389 added toggleall as parameter in ToggleAndShow
13391 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13393 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13395 * text2.C (SetCurrentFont): Disable number property at boundary.
13397 2001-02-26 Juergen Vigna <jug@sad.it>
13399 * lyxfunc.C (getStatus): added a string argument override function so
13400 that this is correctly called from LyXFunc::Dispatch if it contains a
13401 do_not_use_argument which is used!
13402 (Dispatch): added check for "custom" export and call appropriate func.
13404 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13406 * lyxrc.C: Add language_command_local, language_use_babel and
13407 language_global_options.
13409 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13411 * buffer.C (makeLaTeXFile): Use language_use_babel and
13412 language_global_options.
13414 2001-02-23 Juergen Vigna <jug@sad.it>
13416 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13417 which works with LyXText and putted it inside BufferView. Here now we
13418 only call for that part the BufferView::Dispatch() function.
13420 * BufferView.C (Dispatch): added.
13422 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13423 functions which needs to use a LyXText over from LyXFunc.
13424 (MenuInsertLyXFile): added
13425 (getInsetByCode): added
13426 (moveCursorUpdate): added
13427 (static TEXT): added
13429 2001-02-22 Juergen Vigna <jug@sad.it>
13431 * BufferView_pimpl.C (update): call a status update to see if LyXText
13434 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13436 * vc-backend.C (revert): implement for CVS
13437 (getLog): implement for CVS
13439 2001-02-20 Juergen Vigna <jug@sad.it>
13441 * text2.C (ClearSelection): added BufferView param for inset_owner call
13443 * lyxfunc.C (TEXT): added this function and use it instead of
13444 directly owner->view()-text of getLyXText().
13446 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13448 * src/layout_forms.C: out preamble
13449 * src/layout_forms.h: out preamble
13450 * src/lyx_cb.C: out preamble
13451 * src/lyx_cb.h: out preamble
13452 * src/lyx_gui.C: out preamble
13453 * src/lyx_gui_misc.C: out preamble
13454 * src/lyxfunc.C: connect with guii preamble
13456 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13458 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13460 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13462 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13463 whether to run bibtex.
13465 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13467 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13469 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13471 * Makefile.am (lyx_SOURCES): removed bibforms.h
13473 * vspace.h: doxygen
13475 * text.C (GetVisibleRow): make several local vars const
13477 * tabular.C: small cleanup.
13479 * lyxserver.C (callback): use compare instead of strncmp
13481 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13482 inlines to after class or to paragraph.C
13484 * lyxfont.h: remove friend operator!=
13486 * converter.h: move friend bool operator< to non friend and after
13489 * combox.h: small cleanup
13491 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13492 to inlines after class def.
13494 * buffer.C (pop_tag): use string operations instead of strcmp
13496 * bmtable.c: doxygen, small cleanup
13498 * LaTeX.h: remove friend operator==
13500 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13512 * BufferView_pimpl.C:
13513 * BufferView.[Ch]: remove cruft
13515 2001-02-14 Juergen Vigna <jug@sad.it>
13517 * lyxfunc.C: removed #if 0 unused code
13519 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13521 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13523 * text2.C (SetSelection): added a BufferView * parameter
13525 2001-02-13 Juergen Vigna <jug@sad.it>
13527 * lyxfunc.C (Dispatch): fixed protected blank problem.
13528 * BufferView2.C (protectedBlank): added LyxText * parameter.
13530 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13531 (AppendColumn): same as above for column_info.
13533 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13534 (moveCursorUpdate): use a LyXText param for support of InsetText.
13536 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13537 (tripleClick): ditto
13539 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13541 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13543 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13545 * text2.C (SetSelection): set correct update status if inset_owner
13546 (ToggleFree): ditto
13548 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13550 * tabular.C: remove some commented code.
13552 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13554 * BufferView_pimpl.C: call hideSplash()
13556 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13559 * bibforms.h: remove
13562 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13563 add LFUN_CHILD_CREATE
13565 * counters.h: fix tiny typo
13570 * lyx.C: move splash to frontends/xforms/
13572 * lyx_gui_misc.C: move Include and Bibform to frontends
13574 * lyxvc.h: clarify comment
13576 * vspace.C: tiny housekeeping
13578 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13580 * text.C (PrepareToPrint): RTL Fix.
13582 * paragraph.C (GetUChar): New method.
13583 (String): Use GetUChar.
13585 * buffer.C (asciiParagraph): Use GetUChar.
13587 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13589 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13591 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13594 * buffer.C: rename to getLogName(), handle
13595 build log / latex log nicely
13597 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13600 * MenuBackend.h: remove support for reference menuitem type.
13602 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13604 * BufferView_pimpl.C: housekeeping
13605 * BufferView_pimpl.h:
13610 * minibuffer.h: move Timeout GUI-I
13612 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13614 * lyxrc.C (read): Update converters data-structures.
13616 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13618 * LaTeX.h (operator!=): add operator != for Aux_Info
13620 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13622 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13624 * LaTeXLog.C: deleted, useful code moved to Buffer
13627 * buffer.C: new function getLatexLogName()
13633 * lyxfunc.C: use frontends for LaTeX and VC logs
13635 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13637 * LaTeX.h: yet another std:: that Allan forgot.
13639 * Variables.C (set): renamed from isset(), because this clashes
13640 with some HP-UX macros (grr).
13642 2001-02-06 Allan Rae <rae@lyx.org>
13644 * LaTeX.h: Another bug fix. Missing std:: this time.
13646 2001-02-04 Allan Rae <rae@lyx.org>
13648 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13649 floats problem. I've left it commented out because it's not quite
13650 correct. It should also test that the current object is a table or
13651 figure inset. But I haven't gotten around to figuring out how to do
13652 that. I *think* it'll be something like: "table" == inset.type()
13654 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13657 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13659 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13660 all the citation/databases/styles in the auxilary file.
13661 (run): Rerun latex if there was a babel language error.
13663 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13665 * text.C (Backspace): Preserve the font when changing newline char
13667 (BreakParagraph): If the cursor is before a space, delete the space.
13669 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13671 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13673 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13674 new argument (code).
13675 (ChangeCitationsIfUnique): New method.
13677 * paragraph.C (GetPositionOfInset): Handle bibkey.
13679 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13681 * BufferView_pimpl.h: change type of Position::par_pos to
13682 LyXParagraph::size_type.
13684 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13686 * BufferView_pimpl.C (savePosition, restorePosition): Write
13687 messages to minibuffer.
13689 2001-01-28 José Matos <jamatos@fep.up.pt>
13691 * buffer.C (makeDocBookFile): adds support for document language.
13692 A silly restriction on the name of LatexCommand types where removed.
13693 Added support for CDATA sections, allows to chars unescaped, used
13694 among others in code, to avoid escape < and >.
13696 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13698 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13699 saved positions instrad of a stack. Furthermore, a position is
13700 stored using paragraph id/paragraph position.
13702 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13703 Remove LFUN_REF_BACK.
13705 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13707 * converter.C (dvipdfm_options): New method.
13709 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13711 * vspace.C (isValidLength): Fix for empty input string.
13713 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13715 * LyXAction.C (init): change description of LFUN_FIGURE to
13718 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13720 * LaTeX.C: add using directive
13722 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13724 * MenuBackend.C (expand): Fix the sorting of the formats.
13726 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13728 * lyx_main.C: tiny error message fix
13730 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13732 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13733 calling fl_initialize(). This fixes the problem with ',' as
13734 decimal separator in text files.
13736 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13738 * trans.C (process): Fix the keymap bug.
13740 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13742 * LaTeX.C (scanAuxFiles): New method. Provides support for
13743 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13744 (scanLogFile) Scan for "run BibTeX" messages.
13746 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13747 OT1 font encoding. Also, load the aecompl package if the ae
13750 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13752 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13754 * texrow.C (increasePos): turn two error messages into debug
13757 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13759 * LaTeX.C (scanAux): Handle the \@input macro.
13760 (runBibTeX): Use scanAux().
13762 * language.C (latex_options_): New field.
13764 * LaTeXFeatures.C (getMacros): Add language macros.
13766 * buffer.C (makeLaTeXFile): Small fix.
13768 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13770 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13772 * text2.C: add a using directive.
13774 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13779 * lyxfunc.C: kill LyXBell.
13781 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13783 * text.C (IsBoundary): Remove the error message
13785 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13787 * lyxrc.C (setDefaults): Correct initialization value for
13790 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13792 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13795 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13796 and GotoNextNote().
13798 * src/LyXAction.C: Added reference-next.
13800 * text.C (InsertChar): Use contains instead of strchr.
13802 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13804 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13806 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13807 alignment commands (when needed).
13809 * text.C (InsertChar): Add ':' to number separator chars.