1 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5 * paragraph_funcs.C (readParToken): put the correct id in the
6 error item, not the id of the top paragraph
8 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
10 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
11 * bufferview_funcs.C (put_selection_at): use the above
13 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
15 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
17 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
22 * output_docbook.h: add #include statements
24 2003-11-05 José Matos <jamatos@lyx.org>
26 * output_docbook.[Ch]:
28 * output_linuxdoc.[Ch]:
29 * output_plaintext.[Ch]: New files for output formats.
30 * output.[Ch]: New file for helper functions.
33 * paragraph_funcs.[Ch]: output functions moved to new files.
35 * outputparams.h: rename of latexrunparams.h
43 * paragraph_funcs.[Ch]:
44 * paragraph_pimpl.[Ch]:
45 * tabular.[Ch]: rename ascii to plaintext
46 and LatexRunParams to OutputParams.
48 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
50 * iterators.[Ch] (text): require bv argument
51 * undo.C (recordUndo):
52 * lyxfunc.C (dispatch):
53 * bufferview_funcs.C (put_selection_at): adjust
55 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
57 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
59 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
61 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
64 2003-11-04 André Pönitz <poenitz@gmx.net>
66 * cursor.[Ch]: restructure
69 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
71 * iterators.[Ch] (asCursor): remove
73 * lfuns.h: remove LFUN_INSET_EDIT
79 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
81 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
83 * lyxfind.[Ch]: complete overhaul
86 * paragraph.[Ch] (insert): add
88 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
92 * text.C: remove dead spellcheck code
94 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
96 * dispatchresult.h: add a val setter
98 * cursor.C (dispatch): use a tempvar for data_[i]
100 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
102 * PosIterator.[Ch]: compile fix
104 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
106 * text.C (cursorPar): deactivate the cursor cache
108 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
110 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
112 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
114 * text3.C (dispatch): adjust for new DisptchResult semantics.
116 * lyxfunc.C (dispatch): handle update when return from
117 Cursor::dispatch, adjust for new DispatchResult semantics.
119 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
120 DispatchResult(true) mean to not update. Add class functions for
121 setting dispatched and update, as well as reading.
123 * cursor.C (dispatch): don't handle update here
125 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
127 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
128 * trans_mgr.C: adjust
130 * paragraph_funcs.C (readParToken): exception safety
132 * lyxvc.h: store the vcs pointer in a scoped_ptr
135 * lyxsocket.C (serverCallback): exception safety
137 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
139 * ispell.C (clone): make it return a auto_ptr
141 * factory.C (createInset): exception safety
142 (readInset): exception safety
144 * bufferlist.C (newBuffer): exception safety
146 * Thesaurus.C (Thesaurus): use initialization for aik_
148 * MenuBackend.C (expandToc): exception safety.
150 2003-11-03 André Pönitz <poenitz@gmx.net>
154 * bufferview_funcs.C: remove getInsetFromId()
157 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
163 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
165 * PosIterator.C (distance, advance): new
166 * bufferview_funcs.[Ch] (put_selection_at): new
167 * iterators.[Ch] (lockPath): new
169 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
171 * iterators.[Ch] (asPosIterator): added
172 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
173 * PosIterator.[Ch]: added
175 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
179 * cursor.C (dispatch):
180 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
182 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
183 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
184 contructor, add a class function dispatched. Remove operator>=
186 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
188 * debug.C: only use the default constructor for debugstream
191 * main.C (main): include debug.h and setup the lyxerr streambuf
194 2003-10-31 José Matos <jamatos@lyx.org>
196 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
198 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
199 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
200 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
201 * paragraph_pimpl.C (simpleTeXSpecialC):
202 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
203 add LatexRunParams argument.
205 * exporter.C (Export): change call accordingly.
207 * latexrunparams.h: add new member to take care of the other backends.
208 2003-10-30 José Matos <jamatos@lyx.org>
210 * buffer.C (makeLinuxDocFile, makeDocBookFile):
211 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
212 factorise code for paragraph output.
214 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
217 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
219 * text3.C (dispatch):
220 * lyxfunc.C (dispatch):
221 * cursor.C (dispatch):
222 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
224 * dispatchresult.h: make the dispatch_result_t ctor explicit
226 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
229 * buffer.C: small refactoring of docbook stuff
231 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
233 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
236 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
238 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
239 operator dispatch_result_t, and operators for == != and >=
241 * cursor.C (dispatch): adjust for operator dispatch_result_t
242 removal. comment out call to update
244 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
246 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
254 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
257 * dispatchresult.h: new file, DispatchResult broken out of
260 * Makefile.am (lyx_SOURCES): add dispatchresult.h
262 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
264 * text.C (rowBreakPoint): put a hack inside #if 0
266 2003-10-28 André Pönitz <poenitz@gmx.net>
273 * text2.C: general cleanup (lots of small stuff)
275 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
277 * text2.C (cursorEnd): simple fix to the "end key goes to one
278 before the end on last row" bug
280 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
282 * text.C (backspace): fix the "zombie characters"
284 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
286 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
288 2003-10-27 André Pönitz <poenitz@gmx.net>
290 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
292 * factory.C: handle new InsetPagebreak, InsetLine
294 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
295 and move handling into new InsetPagebreak, InsetLine
297 * BufferView_pimpl.C:
299 * ParagraphParameters.C:
312 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
321 * text3.C: remove lastPos uses in favour of Row::endpos
323 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
325 * undo.C (performUndoOrRedo): fix two crashes by setting a
326 cursor by hand and reordering some calls. Use bv->lockInset instead
327 of inset->edit because the latter loses cursor information
329 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
331 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
333 (rowBreakPoint): fix width. change point to point + 1.
336 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
339 * lyxfunc.C: fix (at least partly) the problems
340 with the Nav menu and headers inside branch insets
343 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
345 * paragraph.C (getChar): add strong asserts
347 * lyxrow_funcs.C (lastPos): remove hideous hack
349 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
350 (fill): adjust to that (avoid an infinite loop)
352 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
354 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
356 2003-10-23 André Pönitz <poenitz@gmx.net>
358 * RowList_fwd.h: change list<> to vector<> to gain speed
359 after suggestion from Alfredo
361 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
363 * lyxtext.h: move the bidi stuff from here...
366 * Bidi.[Ch]: ... to here
368 2003-10-23 André Pönitz <poenitz@gmx.net>
371 * text.C (isLastRow, isFirstRow): new functions
373 * paragraph.h: new width cache member
375 * rowpainter.C: replace RowList::iterator with Row & where possible
377 * lyxfunc.C: replace several view()->text with a single call
379 * toc.C: fix 'unused' warning
381 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
383 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
384 when woring with stream::pos_type
385 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
387 2003-10-22 André Pönitz <poenitz@gmx.net>
390 * text.C: use Row & instead of RowList::iterator
392 * lyxrow.h: rename end() to endpos()
398 2003-10-22 Angus Leeming <leeming@lyx.org>
400 * buffer.[Ch] (fully_loaded): new member function, returning true
401 only when the file has been loaded fully.
402 Used to prevent the premature generation of previews and by the
403 citation inset to prevent computation of the natbib-style label.
405 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
406 templates are all set up.
408 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
410 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
412 * text.C: fixed an "oops" in the "is a bit silly"
415 2003-10-21 André Pönitz <poenitz@gmx.net>
417 * FuncStatus.[Ch]: small stuff, whitespace
419 * lyxfont.[Ch]: operator<<() for debug reasons
423 * lyxtext.h: whitespace, spelling
425 * paragraph.C: naming of variables
428 * text2.C: small stuff
431 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
433 * text.C: (1) finish off the inset display() work;
434 (2) fix the "is a bit silly" bug (accessing char
437 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
439 * text.C: re-introduce display() for insets, fixing the
440 various bugs (stretch of line above, math inset
443 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * text.C (rightMargin): remove spurious semicolon
447 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
450 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
452 * text3.C: fix one crash due to wrong cursor def
454 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
456 * vc-backend.C (scanMaster): make the regex static
458 * LaTeX.C (scanAuxFile): make the regexs static
460 * text3.C (doInsertInset, dispatch, dispatch):
461 * text2.C (cursorUp, cursorDown):
462 * text.C (selectNextWordToSpellcheck):
463 * BufferView_pimpl.C (dispatch):
464 * lyxfunc.C (dispatch): localDispatch -> dispatch
466 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * lyxsocket.C: include <cerrno>
470 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
472 * lyxfunc.C (dispatch): remove textcache stuff
474 * bufferlist.C (release): remove textcache stuff
477 * TextCache.C: delete file
478 * TextCache.h: delete file
480 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
482 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
483 delete of the bv_->text.
484 (resizeCurrentBuffer): remove texcache stuff
485 (workAreaResize): ditto
487 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
489 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
492 2003-10-16 André Pönitz <poenitz@gmx.net>
499 * text3.C: speed up by storing y positions per paragraph plus per-row
500 offset instead of having a 'full' y position in the row.
502 2003-10-15 André Pönitz <poenitz@gmx.net>
506 * undo.[Ch]: make undo aware of inner insets
508 2003-10-14 Angus Leeming <leeming@lyx.org>
510 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
511 static member functions LyX::ref() and LyX::cref.
512 (lastfiles): new accessor functions for the new lastfiles_ member var.
513 (addLyXView, views_): add a new LyXView to the list of views_.
514 (updateInset): loop over all LyXViews to call their own updateInset
515 member function, returning a pointer to the Buffer owning the inset.
517 * BufferView_pimpl.C (loadLyXFile):
518 * MenuBackend.C (expandLastfiles):
519 * bufferlist.C (MenuWrite, QuitLyX):
520 lastfiles is no longer a global variable.
521 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
523 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
524 static function. Access through LyX::cref().emergencyCleanup().
526 2003-10-14 André Pönitz <poenitz@gmx.net>
528 * iterators.[Ch]: new direct access to innermost LyXText and Inset
530 * undo.[Ch]: restoring part of 'undo in insets'
533 * undo_funcs.[Ch]: merge with undo.[Ch]
535 * tabular.C: small cleansing stuff
537 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
539 * paragraph_funcs.C (readParToken): report unknown insets as error
540 boxes. Use the outer paragraph as location (also for unknown
543 * factory.C (readInset): do not abort on reading an unknown inset.
546 2003-10-13 Angus Leeming <leeming@lyx.org>
548 * lyx_main.C (LyX): remove call to setDisplayTranslator().
550 * lyxrc.C: displayTranslator is now a function,
551 declared in GraphicsTypes.h.
553 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
555 * format.C: new placeholder $$a to pass the socket address.
557 * bufferlist.[Ch]: new function getBufferFromTmp.
559 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
560 files in the temporary dir.
562 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
564 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
566 * Makefile.am: add lyxsocket.[Ch].
568 * lyx_main.C (error_handler): handle SIGPIPE.
570 2003-10-13 André Pönitz <poenitz@gmx.net>
572 * BufferView_pimpl.C:
577 * undo_funcs.[Ch]: use paroffset_type instead of
578 ParagraphList::iterators to prevent multiple conversion
579 (and get a more robust interface)
581 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
583 * lyxfunc.C (dispatch): RESULT -> dispatch_result
585 * text3.C (dispatch): ditto
587 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
589 * LaTeX.C (handleFoundFile): move the static to smaller scope,
590 move the onlyfile, use onlyfile instead of foundfile in a couple
593 * DepTable.C (update): flush the error stream a bit more
595 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
597 * lyxserver.C (callback): adjust
599 * lyxfunc.C (getStatus): add a missing brace in commented code
600 (ensureBufferClean): reindent
601 (dispatch): delete version taking a string
603 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
605 * LaTeX.C (deplog): move found file handlig from here...
606 (handleFoundFile): .. to new function here.
607 (deplog): make sure to discover several files mentioned on the
610 2003-10-10 André Pönitz <poenitz@gmx.net>
617 * text3.C: fix some of the tabular crashes
619 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
621 * MenuBackend.C (binding): put debug message into Debug::KBMAP
623 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
625 2003-10-09 André Pönitz <poenitz@gmx.net>
627 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
630 * BufferView_pimpl.C:
631 * bufferview_funcs.C:
642 * undo_funcs.C: adjust
644 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
646 * text2.C (incrementItemDepth): new function, use a backtracking
647 algorithm to discover the correct item depth.
648 (resetEnumCounterIfNeeded): new function, use a backtracking
649 algorithm to discover if counter reset is needed.
650 (setCounter): use them. Simplify a bit. Add different labels for
651 different item depths for itemize.
653 * paragraph.C (Paragraph): remove initialization of enumdepth
656 * paragraph.h: get rid of enumdepth, and use itemdepth both for
657 enumerate and itemize. Change the type of itemdepth to signed char.
659 2003-10-08 André Pönitz <poenitz@gmx.net>
661 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
666 * tabular.[Ch]: fix crash after 'row-insert'
668 2003-10-08 Angus Leeming <leeming@lyx.org>
670 Fix doxygen warnings.
672 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
673 Remove CutAndPaste:: prefix from header file declaration.
675 * LColor.h (fill): remove LColor:: prefix from declaration.
677 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
678 use lyx::depth_type rather than Paragraph::depth_type so that
679 header file and .C file match.
681 * converter.h (intToFormat): remove Converters:: prefix from declaration.
683 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
684 * aspell.C: \file aspell_local.C -> \file aspell.C
685 * gettext.C: \file gettext.C -> \file src/gettext.C
686 * gettext.h: \file gettext.h -> \file src/gettext.h
687 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
688 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
689 * text.C: \file text.C -> \file src/text.C
691 * toc.C: move comment so that doxygen is not confused.
693 2003-10-07 Angus Leeming <leeming@lyx.org>
695 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
697 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
700 * aspell_local.h: add forgotten std::string's.
702 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
709 * text3.C: The Box patch. Fancybox support, minipage, parbox
711 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
717 * ParagraphParameters.h:
727 * lyxtextclasslist.h:
731 * textcursor.h: add <string> and other small fixes to make Lars'
732 std::string patch compile with STLport.
734 2003-10-06 Angus Leeming <leeming@lyx.org>
736 * LColor.h: Add missing #include <string>.
738 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
740 * All most all file in all subdirs: Make <string> be the prefered
741 way of getting to std::string, add using declarations.
743 2003-10-06 André Pönitz <poenitz@gmx.net>
745 * metricsinfo.C: initialize LyXFont before changing attribute.
746 (fixes the 'math in \emph is upright' bug)
748 2003-10-06 André Pönitz <poenitz@gmx.net>
750 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
752 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
755 * paragraph_pimpl.C: Small fixes to build using STLport
757 2003-10-02 André Pönitz <poenitz@gmx.net>
760 * text3.C: move handling of LFUN_DEPTH *; fix #1360
762 2003-10-01 André Pönitz <poenitz@gmx.net>
764 * factory.C: assert early
766 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
768 * lyx_main.C: remove the global debug object
770 * debug.h: adjust for new debugstream
772 * debug.C: adjust for new debugstream and keep the global debug
775 2003-09-22 Angus Leeming <leeming@lyx.org>
777 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
778 of g++ which otherwise complain that the scoped_ptr destructor can't delete
779 an incomplete class LyXFont.
781 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
783 * factory.C: bug fix in branches
785 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
787 * lyxfunc.C (processKeySym): adjust
789 (dispatch): change arg name from ev to func, adjust
790 (sendDispatchMessage): ditto
792 * lyx_main.C (defaultKeyBindings): adjust keybindings
793 (deadKeyBindings): ditto
795 * kbsequence.C (addkey): return a FuncRequest
797 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
799 * kbmap.C (bind): take a FuncRequest as arg, adjust
802 (defkey): change to take a FuncRequest as arg, adjust
803 (findbinding): take a FuncRequest as arg, adjust.
805 * funcrequest.h (operator=): added
807 * funcrequest.C (FuncRequest): default kb_action changed from
808 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
810 * buffer.C (dispatch): simplify
811 (dispatch): adjust to take a FuncRequest as arg, adjust
813 * boost.C (assertion_failed): change assertion message slightly
815 * ToolbarBackend.C (read): simplify
817 * MenuBackend.C (binding): adjust call to findbinding, add a
818 message if no binding is found.
820 (expandToc): correct by adding a empty FuncRequest
822 * LyXAction.C: include <boost/assert.hpp>
823 (isPseudoAction): delete function
824 (LookupFunc): change name to...
825 (lookupFunc): this. change return type to FuncRequest.
826 (getActionName): take kb_action as arg, simplify
827 (funcHasFlag): add an assert, simplify.
829 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
831 * toc.C (action): return a FuncRequest, simplify
833 * lyxfunc.C (processKeySym): adjust
834 (getStatus): delete version that takes an int.
836 (dispatch): delete version that takes action as int
838 (sendDispatchMessage): simplify and adjust
840 * funcrequest.C (getArg): take unsigned int as arg
842 * ToolbarBackend.C (read): adjust
843 (add): delete version that takes func as a string.
844 (getIton): take a FuncRequest as arg
846 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
849 * MenuBackend.C (MenuItem): add a new construct that only takes a
850 Kind, simplify the constructor use for submenus.
852 (expandLastfiles): adjust
853 (expandDocuments): adjust
854 (expandFormats): adjust
855 (expandFloatListInsert): adjust
856 (expandFloatInsert): adjust
857 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
859 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
860 Remove class variables lyx_pseudo_map and lyx_arg_map
862 * LyXAction.C (searchActionArg): delete function
863 (getPseudoAction): delete function
864 (retrieveActionArg): delete function
865 (LookupFunc): make it return kb_action, simplify.
866 (getActionName): simplify
868 * factory.C (createInset): fix new bug
870 2003-09-19 Angus Leeming <leeming@lyx.org>
872 * CutAndPaste.C (pasteSelection): remove fudge used to set the
873 masterFilename_ parameter in the include inset.
875 * factory.C (createInset): changes due to the changes to InsetInclude.
877 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
879 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
881 2003-09-18 Angus Leeming <leeming@lyx.org>
884 * BufferView.C: pass the buffer when calling Inset::getLabelList,
885 Inset::fillWithBibKeys.
886 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
888 2003-09-18 Angus Leeming <leeming@lyx.org>
890 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
892 (ctor): pass and store a 'Buffer const &'
893 (buffer): new member function.
895 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
896 '*this' to the LaTeXFeatures ctor.
898 2003-09-18 Angus Leeming <leeming@lyx.org>
904 * text.C: rename EnumLColor as LColor_color.
906 2003-09-18 Angus Leeming <leeming@lyx.org>
908 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
909 remove #include "insets/insetbase.h" from cursor.h.
911 2003-09-18 Angus Leeming <leeming@lyx.org>
913 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
914 InsetOld_code to remove #include "inset.h".
916 * iterators.C: add #include "insets/inset.h"
918 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
920 * BufferView.C: remove more locking stuff that apparently doesn't
921 do anything sensible.
923 2003-09-16 André Pönitz <poenitz@gmx.net>
926 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
929 2003-09-16 Angus Leeming <leeming@lyx.org>
931 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
933 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
936 * paragraph.h: remove #include "lyxfont.h". Forward declare
939 2003-09-16 Angus Leeming <leeming@lyx.org>
941 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
942 of support/textutils.h.
943 (isWord): move the contents of support/textutils.h's IsWordChar here.
949 * text2.C: add #include "paragraph.h".
952 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
954 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
960 * LaTeX.C: use namespace alias for lyx::support::os
962 2003-09-16 Angus Leeming <leeming@lyx.org>
965 * bufferview_funcs.C:
970 * text.C: add #include "LColor.h".
972 2003-09-16 Angus Leeming <leeming@lyx.org>
974 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
975 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
977 Store the FontBits::color variable as an int rather than as an
978 LColor::colorso that we can move LColor.h out of the lyxfont.h header
981 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
982 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
983 string calls together.
985 * lyxrc.C: add #include "LColor.h".
987 2003-09-15 Angus Leeming <leeming@lyx.org>
989 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
992 2003-09-15 Angus Leeming <leeming@lyx.org>
994 * LColor.h: add an EnumLColor wrapper for LColor::color.
996 * lyxfont.[Ch] (color, setColor, realColor):
997 * lyxtext.h, text.C (backgroundColor):
998 pass EnumLColor args to/from the functions, rather than LColor::color
1002 * lyxtext.h: forward declare EnumLColor.
1004 * lyx_main.C: add #include "LColor.h".
1006 2003-09-15 Angus Leeming <leeming@lyx.org>
1008 * .cvsignore: add lyx-gtk.
1010 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1015 * ParagraphParameters.C
1019 * bufferview_funcs.C
1029 * vc-backend.C: remove usage of STRCONV
1031 2003-09-15 Angus Leeming <leeming@lyx.org>
1033 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1034 explicitly define the color passed to the painter.
1036 2003-09-15 Angus Leeming <leeming@lyx.org>
1038 * bufferparams.C (BufferParams): reorder member initializers to avoid
1041 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1043 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1044 * text.C (updateRowPositions): remove an unusual nop
1046 2003-09-12 André Pönitz <poenitz@gmx.net>
1048 * BufferView_pimpl.C:
1057 * Counters.[Ch]: finish the 'automatic counters' job
1059 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1061 * aspell.C: include <boost/assert.cpp> (compile fix)
1063 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1065 * boost.C (assertion_failed): use lyx::support::abort instead of
1068 2003-09-10 Angus Leeming <leeming@lyx.org>
1070 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1071 with their _fwd progeny.
1073 2003-09-09 Angus Leeming <leeming@lyx.org>
1075 134 files throughtout the source tree: replace 'using namespace abc;'
1076 directives with the appropriate 'using abc::xyz;' declarations.
1078 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1080 * boost.C (emergencyCleanup): moved here from LAssert.c
1081 (assertion_failed): new function, called by BOOST_ASSERT
1083 * several files: change Assert to BOOST_ASSERT
1085 2003-09-09 Angus Leeming <leeming@lyx.org>
1087 * buffer.[Ch]: Add an Impl class and move Buffer's member
1088 variables into it. As a result move several header files out of
1091 Add header files to lots of .C files all over the tree as a result.
1093 2003-09-09 Angus Leeming <leeming@lyx.org>
1095 * buffer.[Ch]: make Buffer's member variables private. Add
1098 Lots of changes all over the tree as a result.
1100 2003-09-08 Angus Leeming <leeming@lyx.org>
1102 * graph.C: #include <config.h>.
1104 2003-09-08 Angus Leeming <leeming@lyx.org>
1108 * BufferView_pimpl.C:
1137 * toc.C: remove redundant using directives.
1139 2003-09-07 Angus Leeming <leeming@lyx.org>
1141 * LaTeXFeatures.h: remove #include "support/types.h".
1142 * ToolbarBackend.h: remove #include <algorithm>.
1143 * changes.h: remove #include <ctime>.
1144 * debug.h: remove #include <iosfwd>.
1145 * graph.h: remove #include "support/std_string.h".
1146 * lyx_main.h: remove #include <csignal>.
1147 * lyxlex_pimpl.h: remove #include <fstream>.
1148 * sgml.h: remove #include <algorithm>, <utility>.
1149 * toc.h: remove #include "support/std_ostream.h".
1150 Add #include <iosfwd>.
1152 2003-09-07 Angus Leeming <leeming@lyx.org>
1154 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1156 * converter.h: forward declare LatexRunParams.
1157 * encoding.h: remove #include "lyxrc.h".
1158 * lyxtext.h: remove #include "LColor.h".
1159 * lyxtextclass.h: remove #include "support/types.h".
1160 * trans.h: remove #include "tex-accent.h".
1161 * trans_mgr.h: remove #include "tex-accent.h".
1162 * insets/inset.h: remove #include "support/types.h", <vector>.
1163 * insets/insetcollapsable.h: remove #include "LColor.h".
1164 * insets/insetinclude.h: remove #include "dimension.h".
1165 * insets/insetlatexaccent.h: remove #include "dimension.h".
1166 * insets/insetoptarg.h:: remove #include "insettext.h".
1167 * insets/insettext.h: remove #include "dimension.h",
1168 <boost/shared_ptr.hpp>
1170 * insets/renderers.h: add #include "dimension.h".
1171 * insets/updatableinset.h: add #include "support/types.h".
1173 * many .C files: Associated changes.
1175 2003-09-06 Angus Leeming <leeming@lyx.org>
1177 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1178 one, inside testInvariant.
1180 * PrinterParams.C: new file.
1181 * PrinterParams.[Ch]: move the function bodies out of line.
1183 2003-09-06 Angus Leeming <leeming@lyx.org>
1185 * ParagraphParameters.h: forward declare ParameterStruct rather than
1186 including its header file.
1187 (depth): moved out-of-line.
1189 2003-09-06 Angus Leeming <leeming@lyx.org>
1191 * BufferView_pimpl.h:
1194 * lyxfunc.h: forward declare LyXKeySym rather than
1195 #include "frontends/LyXKeySym.h".
1197 * BufferView_pimpl.C:
1200 * lyxfunc.C: associated changes.
1202 2003-09-06 Angus Leeming <leeming@lyx.org>
1204 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1205 As a result, can remove the #include "insets/inset.h" from BufferView.h
1207 2003-09-06 Angus Leeming <leeming@lyx.org>
1209 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1210 As a result, can remove the #include "insets/inset.h" from BufferView.h
1212 2003-09-06 Angus Leeming <leeming@lyx.org>
1218 * bufferview_funcs.C:
1219 * BufferView_pimpl.C:
1224 * ParagraphParameters.C:
1229 * frontends/controllers/ControlDocument.C:
1230 * insets/insetcaption.C: rearrange the #includes into some sort of
1233 * buffer.h: remove #includes ErrorList.h, undo.h
1235 2003-09-06 Angus Leeming <leeming@lyx.org>
1237 * support/types.h: add a 'depth_type' typedef, used to store the
1238 nesting depth of a paragraph.
1241 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1242 defining explicitly.
1245 * paragraph_funcs.h:
1246 * ParagraphParameters.h:
1247 * sgml.h: use lyx::depth_type rather than Paragraph or
1248 ParameterStruct's depth_type.
1251 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1254 * BufferView_pimpl.C:
1256 * ParagraphParameters.C:
1259 * bufferview_funcs.C:
1266 * frontends/LyXView.C:
1267 * frontends/controllers/ControlDocument.C:
1268 * frontends/controllers/ControlErrorList.C:
1269 * insets/insetbibitem.C:
1270 * insets/insetbranch.C:
1271 * insets/insetcaption.C:
1272 * insets/insetcollapsable.C:
1273 * insets/insetenv.C:
1274 * insets/insetert.C:
1275 * insets/insetfloat.C:
1276 * insets/insetfoot.C:
1277 * insets/insetfootlike.C:
1278 * insets/insetnewline.C:
1279 * insets/insetquotes.C:
1280 * insets/insettabular.C:
1281 * insets/insettext.C:
1282 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1284 * frontends/controllers/ControlChanges.C: #include "changes.h".
1286 2003-09-06 Angus Leeming <leeming@lyx.org>
1288 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1289 than #including paragraph.h.
1292 * RowList.h: deleted. Superfluous.
1302 * insets/insettext.h: use ParagraphList_fwd.h rather than
1305 * paragraph.h: don't forward declare ParagraphList.
1308 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1309 rather than ParagraphList.h. paragraph.h is still needed for the
1310 Paragraph::depth_type parameters.
1312 * textcursor.h: enable it to compile stand-alone in light of the
1315 * bufferview_funcs.C:
1327 * frontends/controllers/ControlParagraph.C:
1328 * frontends/controllers/ControlTabular.C:
1329 * insets/insetmarginal.C:
1330 * insets/insetminipage.C:
1331 * insets/insetnote.C:
1332 * insets/insetoptarg.C: add header files needed to compile again.
1334 2003-09-06 Angus Leeming <leeming@lyx.org>
1336 * RowList_fwd.h: new file, forward-declaring Row rather than
1337 #including lyxrow.h.
1342 * insets/insettext.h: use it instead of RowList.h
1344 * bufferview_funcs.C:
1351 * text3.C: #include "RowList.h".
1353 2003-09-05 Angus Leeming <leeming@lyx.org>
1355 * factory.C (createInset):
1356 * vspace.C (c-tor): replace sscanf call with an istringstream.
1357 * ispell.C: re-add missing HP/UX headers.
1358 * lyxserver.C: re-add missing os2 headers.
1360 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1369 * text3.C: re-add missing system headers, needed for 2.95.2.
1371 2003-09-05 Angus Leeming <leeming@lyx.org>
1373 Changes most place everywhere due to the removal of using directives
1374 from support/std_sstream.h.
1376 2003-09-05 Angus Leeming <leeming@lyx.org>
1378 Replace LString.h with support/std_string.h,
1379 Lsstream.h with support/std_sstream.h,
1380 support/LIstream.h with support/std_istream.h,
1381 support/LOstream.h with support/std_ostream.h.
1383 Changes resulting throughout the tree.
1385 2003-09-05 Angus Leeming <leeming@lyx.org>
1387 * sgml.h: ensure that the header file can be compiled stand-alone.
1388 * *.C: strip out redundant #includes. (320 in total.)
1390 2003-09-04 Angus Leeming <leeming@lyx.org>
1392 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1393 here (from getPackages).
1395 * debug.[Ch]: add a new EXTERNAL tag.
1397 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1399 * text2.C (cursorEnd): simplify
1401 (getColumnNearX): adjust
1403 * text.C (computeBidiTables): adjust
1406 * rowpainter.C (paintChars): adjust
1407 (paintSelection): adjust
1408 (paintChangeBar): adjust
1411 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1413 (numberOfSeparators): adjust
1415 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1421 * text3.C: Restricts the mouse click functionality
1422 of insets like bibtex, include, toc and floatlist to the visible
1423 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1424 up the dialogs. Cursor has to be in front of the inset (i.e.
1425 start of row) for this to function.
1427 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1429 * bufferview_funcs.C (currentState): output row information
1431 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1433 * bufferview_funcs.C (currentState): output paragraph position
1435 2003-09-04 Angus Leeming <leeming@lyx.org>
1437 * FloatList.h: move out #include "Floating.h".
1438 * LaTeX.h: move out #include "DepTable.h".
1439 * LyXAction.h: move out #include "funcrequest.h".
1440 * buffer.h: move out #include "author.h", "iterators.h".
1441 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1442 * lyx_main.h: move out #include "errorlist.h".
1443 * lyxfunc.h: move out #include "FuncStatus.h".
1444 * lyxtext: move out #include "lyxcursor.h".
1445 * paragraph_pimpl.h: move out #include "counters.h".
1447 2003-09-03 Angus Leeming <leeming@lyx.org>
1449 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1450 preamble_snippets list, enabling us to add snippets to the preamble
1451 only if the snippet was not there already.
1453 2003-09-04 Angus Leeming <leeming@lyx.org>
1455 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1457 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1459 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1462 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1464 * BranchList.C: point fix, earlier forgotten
1466 2003-09-02 Angus Leeming <leeming@lyx.org>
1468 * box.C (contains): renamed from 'contained' after a fantastic
1471 2003-09-02 John Levon <levon@movementarian.org>
1477 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1479 2003-09-02 John Levon <levon@movementarian.org>
1481 * text2.C: simplification of cursorEnd(), including partial
1484 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1486 * buffer.C (readFile): add a space
1488 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1490 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1492 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1494 * buffer.C (readFile): new function, take a filename and a
1495 ParagraphList::iterator
1497 (readFile): adjust, make it private. don't use setStream, make
1498 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1499 always contain the filename.
1501 * BufferView.C (insertLyXFile): simplify and make it work for
1504 2003-08-30 John Levon <levon@movementarian.org>
1506 * Makefile.am: fix dist (from Kayvan)
1508 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1510 * most files: change to use const Buffer refs
1512 2003-08-27 André Pönitz <poenitz@gmx.net>
1514 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1515 on top of ownerPar().
1517 2003-08-27 John Levon <levon@movementarian.org>
1519 * funcrequest.C: properly initialise POD members
1521 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1523 * lyxtext.h (top_y): move top_y from here
1528 * BufferView_pimpl.[Ch]: to here
1529 * frontends/screen.C:
1530 * insets/insettabular.C:
1531 * insets/insettext.C: adjust
1532 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1534 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1537 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1539 2003-08-26 André Pönitz <poenitz@gmx.net>
1541 * paragraph_func.[Ch] (outerPar): new function
1544 * paragraph_funcs.C:
1545 * paragraph_funcs.h:
1546 * paragraph_pimpl.C:
1547 * text2.C: remove Inset::par_owner
1549 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1554 * text2.C: eliminates the needFullRow/display() stuff
1555 altogether, putting the logic in metrics/draw in the insets.
1557 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1559 * text2.C (redoParagraphInternal, redoParagraphs):
1560 * text.C (redoParagraph): add a call to updateRowPositions at the
1561 end of each 'metrics-like' call. Remove all others.
1562 (getRow): remove the 'y-computing' version.
1563 (getRowNearY): do not compute nor return the real y. Solve the
1564 'y < 0' problem and simplify.
1566 2003-08-22 Angus Leeming <leeming@lyx.org>
1568 * *.[Ch]: clean-up of licence and author blurbs.
1569 Also move config.h out of a few .h files and into a few .C files.
1571 2003-08-22 André Pönitz <poenitz@gmx.net>
1573 * lyxrow.[Ch]: add x_ and *fill_ members
1578 * text2.C: adjust/remove prepareToPrint() calls
1580 2003-08-22 André Pönitz <poenitz@gmx.net>
1582 * lyxrow.[Ch]: add end_ member
1584 * lyxrow_funcs.C: use LyXRow::end_
1586 * lyxtext.h (singleWidth): add LyXFont parameter
1589 * text2.C: adjust LyXText::singleWidth() calls
1591 * text.C (redoParagraph): simplify row breaking logic
1594 2003-08-19 André Pönitz <poenitz@gmx.net>
1596 * funcrequest.C: initialize button_ member
1599 * rowpainter.[Ch]: interface consolidation
1601 2003-08-18 André Pönitz <poenitz@gmx.net>
1604 * BufferView_pimpl.C:
1606 * paragraph_funcs.C:
1608 * text3.C: remove LyXScreen::draw() and fitCursor calls
1610 * BranchList.h: remove spurious semicolons
1612 * MenuBackend.C: fix branchlist related crash
1614 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1622 * bufferparams.[Ch]:
1626 * text3.C: implements the 'branch inset'
1627 idea. This allows the output of various versions of a document
1628 from a single source version, selectively outputing or suppressing
1629 output of parts of the text.
1630 This implementation contains a 'branch list editor' in a separate
1631 tab of the document settings dialog. Branches are user definable
1632 and have a "display colour" to distinguish them on-screen.
1634 ColorHandler was somewhat cleaned up.
1635 (1) make possible a dynamically growing LColor list by allowing
1636 the graphic context cache to grow along (vector);
1637 (2) eliminate an IMHO unnecessary step in colour allocation.
1639 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1641 * BufferView_pimpl.C: compile fix
1643 2003-08-15 André Pönitz <poenitz@gmx.net>
1645 * rowpainter.C: remove extra metrics calls
1647 * lyxtext.h: merge the two constructors into a single one,
1648 pass reference to owner's par list
1650 * BufferView_pimpl.C:
1654 2003-08-15 André Pönitz <poenitz@gmx.net>
1656 * lyxrow_funcs.[Ch]:
1659 * paragraph_funcs.C:
1664 * text_funcs.C: split LyXText::rowlist_ into individual
1665 Paragraph::rows_ chunks
1668 * BufferView_pimpl.[Ch]:
1671 * text3.C: remove toggleSelection()
1673 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1675 * bufferlist.C: beautify two alerts (shorter text of buttons)
1676 * buffer.C: Remove redundant ' ' from message
1678 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1679 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1680 rename VALIGN_CENTER to VALIGN_MIDDLE
1682 2003-08-11 André Pönitz <poenitz@gmx.net>
1684 * lyxtext.h (getPar):
1685 * text.C: new function
1687 2003-08-11 André Pönitz <poenitz@gmx.net>
1690 * tracer.[Ch]: remove unneeded files
1692 * InsetList.[Ch]: remove resizeInsetsLyXText()
1697 * text3.C: merge insertParagraphs() and appendParagraph()
1698 remove breakAgain(), update()
1700 * BufferView_pimpl.[Ch]:
1701 * bufferview_funcs.[Ch]:
1705 * tabular.C: adjust after text & InsetList changes.
1707 2003-08-08 André Pönitz <poenitz@gmx.net>
1709 * text.C (insertChar, backspace): replace rowlist fiddling
1710 with rebreak of full par
1713 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1714 checkParagraph, updateInset): removed
1716 2003-08-07 André Pönitz <poenitz@gmx.net>
1719 * text3.C: merge some LFUN handlers, remove dead code
1721 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1723 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1725 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1727 * text2.C (DEPM): fix part of bug 1255 and 1256
1729 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1731 * BufferView_pimpl.C (workAreaDispatch): change to use
1732 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1733 that are no mouse related.
1735 2003-08-05 André Pönitz <poenitz@gmx.net>
1738 * BufferView_pimpl.[Ch]:
1739 * bufferview_funcs.C:
1741 * text3.C: rip out "deep update"
1743 * textcursor.[Ch] (last_sel_cursor): remove unused member
1745 2003-08-04 André Pönitz <poenitz@gmx.net>
1748 * BufferView_pimpl.[Ch]:
1749 * ParagraphParameters.C:
1750 * bufferview_funcs.C:
1756 * text3.C: replace "complicated" BufferView::update(...) calls with
1759 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1761 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1763 * Makefile.am (lyx_SOURCES): add paper.h
1765 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1767 * Makefile.am: move things around so that both lyx-qt and
1768 lyx-xforms can be built (according to --with-frontend). Then lyx
1769 is a symbolic link to lyx-[firstfrontend]
1771 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1773 * Always use std::endl with lyxerr
1775 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1777 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1779 2003-08-01 André Pönitz <poenitz@gmx.net>
1782 * BufferView_pimpl.[Ch]:
1784 * text3.C: merge BufferView::repaint() and BufferView::update()
1786 2003-08-01 José Matos <jamatos@lyx.org>
1788 * buffer.[Ch]: file_format is no longer a buffer data element.
1790 2003-08-01 André Pönitz <poenitz@gmx.net>
1795 * text2.C: make redoParagraph more independent of current cursor
1797 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1799 * text2.C: remove unneeded members
1801 2003-07-30 André Pönitz <poenitz@gmx.net>
1803 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1805 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1806 create a single function...
1808 * paragraph_funcs.C (moveItem): ... here.
1811 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1813 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1815 * LColor.[Ch]: Add comment and greyedout logical colors.
1817 2003-07-30 André Pönitz <poenitz@gmx.net>
1819 * tabular.C: don't use Assert too heavily. This crashes where it
1822 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1824 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1825 is disabled (bug 1232)
1827 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1829 * factory.C: limited 'arg' scope
1831 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1833 * factory.C: fixed Note submenu issues
1835 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1837 * factory.C: submenu for Note/Comment/Greyedout
1839 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1842 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1844 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1847 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1848 greyedout. Patch provided by Jürgen Spitzmüller.
1850 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1852 * kbmap.C (read): fix error message when reading bind files
1854 2003-07-29 Angus Leeming <leeming@lyx.org>
1856 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1857 certainly does not do what it purports to do. I am doing it, and
1858 us, a favour by killing it.
1860 2003-07-28 José Matos <jamatos@lyx.org>
1862 * buffer.C (readBody, do_writeFile):
1863 * paragraph.C(readParagraph): \end_document replaces \the_end.
1865 2003-07-29 André Pönitz <poenitz@gmx.net>
1868 * BufferView_pimpl.[Ch]:
1872 * textcursor.[Ch]: remove toggleToggle & Co
1874 2003-07-28 José Matos <jamatos@fep.up.pt>
1876 * buffer.C (readParagraph):
1877 * params_func (readParToken, readParagraph):
1878 * paragraph.C (write): \layout -> \begin_layout.
1880 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1882 * lyxlex_pimpl.C (setFile): clean up slightly.
1884 * bufferparams.h: add compressed var
1886 * buffer_funcs.C (readFile): adjust for LyXLex change
1887 (newFile): ditto + simplify
1889 * buffer.C (writeFile): handle writing of compressed files
1891 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1892 Check if the file is compressed and set a bufferparm if so.
1894 * Makefile.am (lyx_LDADD): remove explicit -lz
1896 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1898 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1899 makeDocBookFile): put the real LyX version in the first line of
1903 * version.C.in: remove lyx_docversion
1905 * tabular.C (write_attribute): add a template-based version to
1906 write enums properly
1908 2003-07-28 André Pönitz <poenitz@gmx.net>
1913 * text3.C: use doubles again for x-coordinates. They are needed.
1915 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1917 * messages.C (getLocaleDir): use lyx_localedir()
1919 * lyxlex_pimpl.C (setFile): compress stuff
1921 * buffer.C (writeFile): add some compression stuff
1922 (do_writeFile): new func, dont call expliti close... will this
1925 * Makefile.am (lyx_LDADD): add -lz
1927 2003-07-28 José Matos <jamatos@fep.up.pt>
1929 * buffer.C: increment file format.
1930 * paragraph_funcs (readParagraph, readParToken):
1931 * paragraph.C (readParagraph): add \end_layout.
1933 2003-07-27 Angus Leeming <leeming@lyx.org>
1935 * Makefile.am: remove special casing for configure-time setting of
1936 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1938 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1939 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1941 2003-07-26 André Pönitz <poenitz@gmx.net>
1943 * paragraph_func.[Ch]:
1944 * paragraph.C (realizeFont): inline it whereever it is used
1949 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1952 2003-07-26 André Pönitz <poenitz@gmx.net>
1956 * text2.C: get rid of LyXText::need_break_row
1958 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1960 * toc.[Ch]: put namespace toc inside namespace lyx
1962 * MenuBackend.C (expandToc2): adjust for lyx::toc
1965 * lyxfunc.C (dispatch): adjust for lyx::find
1967 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1968 lyx::find instead. Reorganize a bit.
1969 (LyXReplace): rename to replace
1970 (LyXFind): rename to find
1972 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1975 2003-07-26 André Pönitz <poenitz@gmx.net>
1977 * text.C (setHeightOfRow): restrict scope of temporary variable
1979 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1980 code (never has been used?)
1982 2003-07-27 Asger Alstrup <alstrup@local>
1984 * text.C (fill): Optimise algorithm to exploit that we can reuse
1985 the LyXFont for many characters.
1986 (setHeightOfRow): Same thing.
1987 (rowBreakPoint): Same thing.
1989 2003-07-26 Asger Alstrup <alstrup@local>
1991 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1993 * text.C (singleWidth): Spurious font copying in hot-spot
1994 singleWidth avoided. Reorder tests for arabic for efficiency.
1996 * text.C (fill): handle empty paragraphs better.
1998 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2001 * encoding.h: add includes
2003 * lyxrc.C: remove reading of bind files
2005 * lyx_main.C (init): setup bindings and menus only if we have a
2008 * kbmap.C (read): new method. Do the actual reading of bind
2011 * converter.C (dvipdfm_options):
2014 (output): adapt PAPER_* enums.
2016 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2018 * bufferparams.h: remove paper-related enums from there
2020 * paper.h: New file. A trivial header file to hold paper-related
2021 enums. It should later expand to contain many paper-related
2024 * lyxrc.C: declare extern displayTranslator
2026 2003-07-27 José Matos <jamatos@fep.up.pt>
2028 * tabular.[Ch] (linuxdoc): add support for tables and figures
2031 2003-07-27 José Matos <jamatos@fep.up.pt>
2033 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2034 consistency in both functions.
2035 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2037 2003-07-26 Asger Alstrup <alstrup@local>
2039 * rowpainter.C (paintRows): Change algorithm to work directly on
2040 the insets rather than asking every character in the document
2041 whether its an inset.
2043 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2045 * buffer.C (openFileWrite): factorize some code
2047 2003-07-26 Angus Leeming <leeming@lyx.org>
2050 * lyx_main.[Ch]: replace occurances of system_tempdir with
2053 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2055 * rename Inset to InsetOld
2057 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2059 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2060 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2061 which I think is a bit clearer. EDIT is gone, since it was
2062 premature optimisation, and broken for mathed anyway.
2063 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2064 with cursor positioning in insets as well (math insets still do not
2065 work, but that's a different story anyway.) It mysteriously
2066 crashes sometimes with undo in the first paragraph, but I'm fairly
2067 confident that this is a compiler bug.
2069 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2071 * paragraph.C (Paragraph): adjust for new clone return type
2073 (copyIntoMinibuffer): ditto
2075 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2077 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2078 by not having a special case, and always doing a full rebreak of
2079 the document after undo.
2081 2003-07-23 Angus Leeming <leeming@lyx.org>
2083 * factory.C (createInset): InsetExternal::setParams now takes a
2086 2003-07-23 Angus Leeming <leeming@lyx.org>
2088 * factory.C (createInset): changed interface to the external and
2089 graphics mailers' string2params functions.
2091 2003-07-23 Angus Leeming <leeming@lyx.org>
2093 * factory.C (createInset): pass a
2094 Buffer const * parameter to InsetExternalMailer's string2params.
2096 2003-07-22 John Levon <levon@movementarian.org>
2098 * Thesaurus.h: include the right aiksaurus header
2100 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2102 * MenuBackend.C (expand): check menu shortcuts unconditionally
2104 2003-07-21 Angus Leeming <leeming@lyx.org>
2106 * factory.C (createInset): pass a
2107 buffer_path parameter to InsetGraphicsMailer's string2params.
2109 2003-07-21 Angus Leeming <leeming@lyx.org>
2111 * BufferView_pimpl.C (buffer):
2114 * lyxfunc.C (dispatch):
2115 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2116 rather than the grfx shortcut.
2118 2003-07-21 André Pönitz <poenitz@gmx.net>
2120 * rowpainter.C: remove unused variables
2123 * tabular_funcs.h: move to tabular.C
2124 * Makefile.am: adjust
2126 * tabular.[Ch]: basic optical cleaning
2128 * author.h: pass references, not values
2130 2003-07-18 André Pönitz <poenitz@gmx.net>
2138 * text3.C: two-phase drawing for InsetText and InsetTabular
2139 some float -> int changes.
2141 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2143 * lyx_main.C: fix the fix
2145 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2147 * lyx_main.C: fix a crash in batch mode if no files specified
2150 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2152 * format.[Ch] (papersize): moved to BufferParams
2153 * converter.[Ch] (dvips_options): moved to BufferParams
2154 (dvipdfm_options): moved to anon namespace
2155 * bufferparams.[Ch]: added above functions.
2157 2003-07-17 André Pönitz <poenitz@gmx.net>
2161 * text2.C: don't call inset->update() anymore
2163 * metricsinfo.[Ch]: add convenience constructor
2165 2003-07-16 André Pönitz <poenitz@gmx.net>
2170 * text2.C: replace the LyXCursor::irow_ member with
2171 on-demand computation of the value
2173 2003-07-16 John Levon <levon@movementarian.org>
2175 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2177 2003-07-15 André Pönitz <poenitz@gmx.net>
2180 * text2.C: remove no more needed refresh_row
2182 2003-07-15 André Pönitz <poenitz@gmx.net>
2187 * text3.C: refresh_status tristate -> need_update bool
2189 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2191 * lyxtext.h (init): remove reinit argument (act as if always true)
2192 * text2.C: adjust to that
2194 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2196 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2197 * text3.C: use it to delete selections in some cases
2198 (bugs 441, 673, 702, 954).
2200 2003-07-14 André Pönitz <poenitz@gmx.net>
2202 * rowpainter.[Ch]: reduce interface
2204 2003-07-14 André Pönitz <poenitz@gmx.net>
2206 * BufferView_pimpl.C:
2207 * text2.C: adjust after removing unused BufferView * argument
2209 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2211 * text2.C (init): fix a crash fired on resize
2213 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2215 * buffer.[Ch]: added new closing signal
2216 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2217 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2218 BufferView::Pimpl via the closing the signal
2220 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2222 * buffer.[Ch]: take out all bv-related from buffer
2224 * BufferView_pimpl.[Ch]: connect to new signals
2225 * CutAndPaste.C: removed useless asserts
2226 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2229 * lyxfunc.C: moved view-related funciontality from vc here
2230 * paragraph.C: removed outdated comments
2233 2003-07-10 André Pönitz <poenitz@gmx.net>
2235 * BufferView_pimpl.C:
2239 * text2.C: remove InsetText::InnerCache, clean up consequences
2241 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2243 * ispell.C: fix two typos in error messages
2245 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2247 * Extend Note inset to other forms of annotation like Comment
2248 and Greyedout. Right button click gives dialog.
2250 Files modified or added (+):
2254 * ControlNote.[Ch] +
2256 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2257 frontends/controllers
2261 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2263 * aspell.C: add missing namespace lyx::support
2265 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2267 * BufferView.[Ch] (newFile): Add
2268 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2269 * LaTeX.[Ch] (message): added this signal and use it
2270 * buffer.[Ch] (busy, message): added these signals and use them
2271 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2275 * importer.C: use buffer signals instead of direct bv calling
2276 * lyx_cb.[Ch] (ShowMessage): removed
2279 * paragraph_funcs.C:
2280 * text2.C: use buffer signals
2282 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2284 * introduce namespace lyx::graphics
2286 2003-07-02 André Pönitz <poenitz@gmx.net>
2288 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2290 2003-07-01 André Pönitz <poenitz@gmx.net>
2297 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2298 text*.C to text_func.C
2300 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2302 * introduce namespace lyx::support
2304 2003-06-30 André Pönitz <poenitz@gmx.net>
2309 * text.C: re-enable --with-included-string
2311 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2313 * textcursor.C: add <config.h>
2315 * text.C (getWord): remove const from word_location arg
2317 * lyxvc.C (getLogFile): fix const type order
2319 * lyxtext.h: remove const from word_location arg, add arg name
2321 * lyxlayout.h: currect type on labeltype.
2323 * importer.C: correct \file
2325 * converter.C (intToFormat): use std:: on ret val, ws changes
2327 * bufferlist.h: correct \file
2329 * buffer.C (makeLinuxDocFile): fix const type order
2330 (makeDocBookFile): ditto
2331 (fillWithBibKeys): use std:: on stdlib args.
2333 * CutAndPaste.C: fix authors.
2334 (availableSelections): use std:: on return vector
2336 2003-06-27 André Pönitz <poenitz@gmx.net>
2338 * BufferView_pimpl.C:
2339 * bufferview_funcs.C:
2347 * text3.C: remove LyXCursor::row_ member
2350 * text.C: rename fullRebreak() to partialRebreak() and implement
2351 a fullRebreak() that really bereks fully
2353 * textcursor.h: new struct for cursor-related data
2355 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2357 * lyx_main.C (LyX): get full path of document loaded on the
2360 2003-06-26 André Pönitz <poenitz@gmx.net>
2362 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2363 remove unused/broken operator>,<,>=.
2365 * text.C: remove only use of broken operator<= in an Assert().
2367 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2369 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2370 moved errorlist_.clear to showErrorList
2372 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2374 * converter.C (scanLog, runLaTeX):
2375 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2376 move the bv->showErrorList call to the callers
2377 * lyxfunc.C: i.e. here...
2379 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2380 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2381 namespace, the second to...
2382 * buffer_funcs (BufferFormat, parseErrors): added
2383 * errorlist.C (ErrorList(TeXErrors const &)): removed
2385 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2387 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2389 2003-06-24 "Garst R. Reese" <reese@isn.net>
2393 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2395 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2397 * version.C.in: change docversion to 1.4
2399 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2401 * buffer.C: fix a bug just introduced
2403 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2405 * buffer.[Ch]: added the parseError signal and use it, removed
2407 * BufferView.[Ch] (addError): moved to ...
2408 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2409 to the Buffer::parseError signal to catch (guess what) parse errors
2410 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2412 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2414 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2415 ability to create a buffer and to return an existing one from
2416 the list. Moved these functions to...
2417 * buffer_funcs.[Ch]: added
2418 * BufferView.[Ch] (loadLyXFile): added
2419 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2420 job removed from bufferlist::loadLyXFile.
2421 * buffer.C (setReadOnly): make it work without view
2422 (i.e added an if (users))
2424 2003-06-19 Angus Leeming <leeming@lyx.org>
2427 * LyXAction.C (init):
2428 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2429 with LFUN_DIALOG_SHOW <name> <data>.
2431 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2433 * CutAndPaste.C (availableSelections): small compilation fix for
2434 ancient (gcc 2.9x) compilers
2436 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * text3.C (cursorNext): add tmp var
2440 * text2.C (updateCounters): for function calling out of for clause
2441 (replaceSelectionWithString): ditto
2442 (insertStringAsParagraphs): ditto
2443 (getColumnNearX): add tmp var
2444 (setCursorFromCoordinates): add tmp var
2445 (cursorDownParagraph): add tmp var
2446 (deleteEmptyParagraphMechanism): add tmp var
2448 * text.C (insertChar): add tmp var
2450 * rowpainter.C (paintDepthBar): add tmp var
2452 * CutAndPaste.C (availableSelections): potentially check all
2453 paragraphs in a cut to fill the shown strings.
2455 2003-06-18 André Pönitz <poenitz@gmx.net>
2457 * kbmap.[Ch]: use vector<> instead of list<>
2459 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2461 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2462 pasteSelection with index
2464 * text2.C (pasteSelection): modify, call pasteSelection with index
2466 * paragraph.C (asString): reimplement version with no interval to
2467 call the one with interval.
2469 * lyxtext.h: add index arg to pasteSelection
2471 * MenuBackend.C (MenuItem): handle PasteRecent
2472 (Menu::read::Menutags): add md_pasterecent
2474 (expandPasteRecent): new function
2477 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2479 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2481 (availableSelections): new function
2483 2003-06-17 Angus Leeming <leeming@lyx.org>
2485 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2487 2003-06-17 Angus Leeming <leeming@lyx.org>
2490 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2492 * lyxfunc.C (dispatch): invoke it.
2494 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2496 * iterators.C (operator++, ParPosition): reintroduce some
2497 const_cast for the benefit of older compilers.
2499 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2501 * text3.C (dispatch): do not modify clipboard when doing
2502 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2503 LFUN_DELETE_SKIP on a selection selection
2505 2003-06-16 André Pönitz <poenitz@gmx.net>
2511 * tabular.[Ch]: IU of clone() and getLabelList();
2513 2003-06-13 André Pönitz <poenitz@gmx.net>
2515 * tabular.h: compactification
2517 2003-06-12 André Pönitz <poenitz@gmx.net>
2521 * tabular_funcs.h: some renaming plus whitespace
2523 2003-06-12 André Pönitz <poenitz@gmx.net>
2526 * BufferView_pimpl.C:
2532 * toc.C: Return a Paragraph & for ParIterator::operator*()
2534 2003-06-11 John Levon <levon@movementarian.org>
2538 * ToolbarBackend.C: add "Toolbars" section and
2541 2003-06-10 Angus Leeming <leeming@lyx.org>
2544 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2546 * lyxfunc.C (dispatch): invoke it.
2548 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2550 * main.C: protect <ios> with HAVE_IOS
2551 (main): protect sync_with_stdio with HAVE_IOS
2553 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2555 * text2.C (cutSelection): adjust
2556 (pasteSelection): adjust
2558 * messages.C: handle get of empty string
2560 * main.C (main): use sync_with_stdio(false)
2562 * lyxfunc.C (dispatch): adjust
2564 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2565 (WriteAs): remove unneeded BufferView arg.
2567 * bufferparams.h: use correct types on papersize, papersize2 and
2570 * bufferparams.C (readToken): adjust for type
2571 (writeLaTeX): add missing cases to switch.
2573 * bufferlist.C (quitWriteBuffer): adjust
2576 * buffer.C (asciiParagraph): remove some commented code.
2578 * CutAndPaste.C: remove current_view extern variable.
2579 (cutSelection): add BufferParams arg.
2580 (eraseSelection): add BufferParams arg.
2581 (pasteSelection): add Buffer const & arg
2583 2003-06-07 John Levon <levon@movementarian.org>
2586 * paragraph_funcs.C:
2587 * paragraph_pimpl.C:
2591 * paragraph.C: allow InsetERT to freely space lines,
2592 and some consolidation of code
2594 2003-06-06 José Matos <jamatos@fep.up.pt>
2596 * buffer.C (makeDocBookFile): fix bug #821
2598 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2600 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2602 2003-06-04 Angus Leeming <leeming@lyx.org>
2604 * buffer.C: bump format to 224.
2606 2003-06-05 André Pönitz <poenitz@gmx.net>
2608 * text2.C (redoParagraphs): remove two const_cast<>
2610 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2612 * ParagraphList.h: remove last remnants of NO_STD_LIST
2614 2003-06-03 Angus Leeming <leeming@lyx.org>
2616 * factory.C (createInset): small change to the way InsetExternal's params
2619 2003-06-04 André Pönitz <poenitz@gmx.net>
2621 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2623 * paragraph_pimpl.h:
2624 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2626 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2628 * undo_funcs.C: make some simple cases of undo work again
2630 2003-06-03 John Levon <levon@movementarian.org>
2632 * ispell.C: HPUX doesn't have sys/select.h
2635 2003-06-03 John Levon <levon@movementarian.org>
2637 * CutAndPaste.C: update tabular and include inset
2642 * paragraph.C: remove owningBuffer(), don't pass Buffer
2645 * factory.C: insetGraphicsParams changed
2647 2003-06-02 John Levon <levon@movementarian.org>
2653 * text3.C: remove insetparent
2655 2003-06-02 John Levon <levon@movementarian.org>
2658 * buffer.C: fix inset_iterator.end(), move out of line
2661 2003-06-01 John Levon <levon@movementarian.org>
2663 * text3.C: use a proper cut/paste when doing inset
2664 insert (from Jürgen Spitzmüller)
2666 2003-06-01 John Levon <levon@movementarian.org>
2668 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2670 2003-05-30 André Pönitz <poenitz@gmx.net>
2672 * rowpainter.C: unify second drawing phase
2674 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2676 * trans_mgr.C: remove one case of current_view
2678 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2680 * paragraph_funcs.h: remove paragraph.h include
2682 * paragraph.h: delete NO_STD_LIST stuff
2684 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2686 * buffer.h: remove paragraph.h include
2688 * ParagraphList.C: delete file
2690 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2692 * toc.C (getTocList): adjust
2694 * paragraph_pimpl.C (validate): adjust
2696 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2698 * paragraph.C (Paragraph): adjust
2699 (getPositionOfInset): use const_iterator, adjust
2700 (bibitem): use const_iterator, adjust
2701 (setInsetOwner): adjust
2703 * iterators.C (operator++): adjust
2705 * InsetList.[Ch]: Replace selfmade iterator with standard
2706 vector::iterator also introduce const_iterator. Remove getPos,
2707 getInset and setInset from InsetTable. Adjust accordingly.
2709 * BufferView.C (lockInset): adjust
2710 (ChangeInsets): adjust
2712 * tabular.[Ch]: delete commented same_id functions
2714 2003-05-28 John Levon <levon@movementarian.org>
2716 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2718 2003-05-28 André Pönitz <poenitz@gmx.net>
2720 * metricsinfo.[Ch]: remove 'fullredraw' member
2722 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2724 * lyxtextclass.C (operator): remove caching.
2726 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2730 * text2.C (cursorBottom): adjust
2731 (setCounter): use ParagraphList::find, adjust
2733 * text.C (workWidth): use ParagraphList::find, adjust
2735 * lyxcursor.C (LyXCursor): adjust
2737 * buffer.C (inset_iterator): adjust
2739 * ParagraphList.h: make iterator(value_type) private, make
2740 ParagraphList a friend of iterator.
2742 * ParagraphList.C (find): new function
2744 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2746 2003-05-27 André Pönitz <poenitz@gmx.net>
2748 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2750 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2752 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2754 2003-05-26 John Levon <levon@movementarian.org>
2756 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2758 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2760 * remove same_id from function signatures, adjust.
2762 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2764 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2766 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2768 * paragraph.C (Paragraph): get rid of same_ids parameter
2770 * ParagraphList.C (insert): adjust
2773 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2775 * paragraph_funcs.C (breakParagraph): adjust
2776 (breakParagraphConservative): adjust
2778 * buffer.C (readParagraph): adjust
2780 * ParagraphList.C (insert): take a reference instead of a pointer
2783 * paragraph.[Ch] (id): new function
2785 * bufferlist.C (newFile): adjust
2787 * ParagraphList.C (ParagraphList): adjust
2789 (push_back): take a reference instead of a pointer.
2791 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2793 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2796 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2797 set else use old code.
2799 * ParagraphList.C: remove all NO_NEXT code and only compile this
2800 code of NO_STD_LIST is set.
2802 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2804 * BufferView_pimpl.C:
2814 * graphics/GraphicsConverter.C:
2815 * graphics/PreviewLoader.C: header adjustment
2817 2003-05-23 Angus Leeming <leeming@lyx.org>
2819 * LaTeXFeatures.[Ch] (useBabel): new method.
2820 * bufferparams.C (writeLaTeX): use it.
2822 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2824 * ParagraphList.h (set): remove unused function.
2826 2003-05-23 André Pönitz <poenitz@gmx.net>
2829 * BufferView_pimpl.C:
2833 * undo_funcs.C: setUndo reworked
2835 * iterators.[Ch]: add access to topmost ParagraphList
2837 * lyxtext.[Ch] (workWidth): add a const
2839 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2841 * texrow.[Ch] (increasePos): remove function
2842 * exporter.C (export): removed unused var and outdated comment
2844 2003-05-23 Angus Leeming <leeming@lyx.org>
2846 * latexrunparams.h: rename fragile as moving_arg.
2847 * paragraph.C (simpleTeXOnePar): ditto.
2848 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2850 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2852 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2854 (textUndoOrRedo): comment out a currently unused var.
2856 * paragraph.h (NO_NEXT): enable NO_NEXT
2858 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2860 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2862 * exporter.C (Export): adjust for removeAutoInsets removal.
2864 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2866 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2868 * BufferView.[Ch] (removeAutoInsets): delete function
2870 2003-05-22 Angus Leeming <leeming@lyx.org>
2872 * latexrunparams.h: add a free_spacing variable.
2874 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2875 to pass moving_arg, as the data is stored in runparams.fragile.
2877 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2878 to Inset::latexOptional or to simpleTeXOnePar.
2880 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2881 free_spacing arg to Inset::latexOptional.
2883 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2886 2003-05-22 Angus Leeming <leeming@lyx.org>
2888 * latexrunparams.h: add fragile and use_babel variables.
2890 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2891 * buffer.C (makeLaTeXFile): store this returned value in
2892 runparams.use_babel, thus passing it to the inset::latex methods.
2894 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2895 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2897 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2898 longer has a fragile arg, as it is stored in runparams.fragile.
2900 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2901 moving_arg parameter as the data is stored in runparams.fragile.
2903 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2904 a fragile parameter as the data is stored in runparams.fragile.
2906 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2908 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2910 2003-05-22 Angus Leeming <leeming@lyx.org>
2912 * latexrunparams.h: add a 'bool nice' which defaults to false.
2914 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2915 now encapsulated within runparams.
2917 * bufferlist.C (updateIncludedTeXfiles):
2918 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2920 2003-05-22 Angus Leeming <leeming@lyx.org>
2922 * latexrunparams.h: new file containing struct LatexRunParams.
2923 * Makefile.am: add new file.
2925 * LaTeX.[Ch] (c-tor, run):
2926 * buffer.[Ch] (makeLaTeXFile):
2927 * bufferlist.[Ch] (updateIncludedTeXfiles):
2928 * converter.C (convert, scanLog):
2929 * converter.[Ch] (runLaTeX):
2930 * exporter.C (Export):
2931 * paragraph.[Ch] (simpleTeXOnePar):
2932 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2933 * paragraph_funcs.[Ch] (latexParagraphs):
2934 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2935 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2936 pass around a LatexRunParams parameter.
2938 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2940 * paragraph.[Ch]: remove unused constructor
2942 * ParagraphList.C (erase): new function, taking two iterators
2944 2003-05-22 André Pönitz <poenitz@gmx.net>
2946 * undo_funcs.C: remove duplicated code
2948 * iterator.[Ch]: operator=
2950 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2952 * tabular.C (SetMultiColumn): ws changes
2954 * rowpainter.C (paintFirst): get rid of a ->previous
2956 * lyx_cb.C (getPossibleLabel): parlist simplification
2958 * BufferView.C (ChangeInsets): simplify slightly.
2960 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2962 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2963 * lfuns.h: new LFUN_SPACE
2964 * lyxfunc.C: protected space has a new lfun
2965 * paragraph_funcs.C: read new space insets
2967 * factory.C: handle new space insets
2969 2003-05-22 André Pönitz <poenitz@gmx.net>
2972 * BufferView_pimpl.C:
2975 * undo_funcs.C: return a ParIterator from getParFromID.
2977 * iterators.[Ch]: add two const's
2979 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2981 * toc.C (getTocList): adjust
2983 * iterators.[Ch]: rework for parlist
2985 * buffer.C (par_iterator_begin): adjust
2986 (par_iterator_end): adjust
2988 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2990 * BufferView.C (removeAutoInsets): adjust
2991 (ChangeInsets): adjust
2993 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2995 * text.C (top_y): fix bug 1110
2997 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2999 * errorlist.[Ch]: added
3002 * BufferView_pimpl.C:
3003 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3006 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3008 * Makefile.am: ensure that lyx is relinked upon changes to the
3009 various "convenience" libs.
3011 2003-05-20 Angus Leeming <leeming@lyx.org>
3013 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3014 files are compiled in alphabetical order again.
3016 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3018 2003-05-19 Angus Leeming <leeming@lyx.org>
3020 * gettext.[Ch]: remove "char const * _(char const *)".
3022 2003-05-19 André Pönitz <poenitz@gmx.net>
3024 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3033 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3035 2003-05-19 André Pönitz <poenitz@gmx.net>
3039 * lyxtextclass.[Ch]:
3041 * paragraph_funcs.[Ch]:
3043 * text3.C: more insetenv work
3045 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3047 * ParagraphParameters.C (params2string): small bug fixed
3049 2003-05-16 André Pönitz <poenitz@gmx.net>
3052 * bufferview_funcs.C: patch from Kornel Benko to prevent
3053 crash when _(...) is called twice in a statement
3055 2003-05-16 André Pönitz <poenitz@gmx.net>
3062 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3064 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3066 * lyx_main.C (init): remove spurious static_cast
3068 2003-05-14 André Pönitz <poenitz@gmx.net>
3070 * BufferView.C: fix format string
3072 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3074 * BufferView.[Ch] (insertErrors): removed
3075 * BufferView.[Ch] (showErrorList): added
3076 * buffer.C (runChkTeX):
3077 * converter.C (scanLog): call showErrorList instead of inserterrors
3079 2003-05-13 André Pönitz <poenitz@gmx.net>
3081 * BufferView_pimpl.C:
3083 * bufferview_func.C:
3090 * tabular_funcs.h: tostr() from its own header
3092 * ParagraphParameters.C:
3097 * text3.C: STRCONV()
3099 2003-05-12 André Pönitz <poenitz@gmx.net>
3102 * BufferView_pimpl.C:
3106 * ParagraphParameters.C:
3110 * bufferview_funcs.C:
3123 * paragraph_funcs.C:
3127 * text3.C: boost::format -> bformat all over the place
3130 2003-05-09 André Pönitz <poenitz@gmx.net>
3132 * LColor.[Ch]: Pimpl the #include <map> away
3134 2003-05-09 John Levon <levon@movementarian.org>
3136 * bufferlist.C: never remove emergency saves
3138 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3140 * Makefile.am: better lib building
3142 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3144 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3146 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3147 (simpleTeXSpecialChars): adjust
3148 (simpleTeXSpecialChars): adjust
3149 * paragraph.C (simpleTeXOnePar): adjust
3150 * buffer.C (makeLaTeXFile): adjust
3152 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3154 * text2.C (changeDepth): parlist cleanup
3155 (getColumnNearX): ditto
3157 * rowpainter.C (getLabelFont): parlist cleanup
3159 * bufferlist.C (newFile): parlist cleanup
3161 * CutAndPaste.C (eraseSelection): parlist cleanup
3163 * BufferView_pimpl.C (trackChanges): parlist cleanup
3166 * BufferView.C (lockInset): parlist cleanup.
3167 (ChangeInsets): ditto
3169 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3171 * CutAndPaste.h: Update file header.
3173 * CutAndPaste.C: Update file header.
3174 Store the parts cut out of the Document in a limited_stack.
3175 (copySelection): adjust
3176 (pasteSelection): new function, takes the index in the limited stack.
3177 (nrOfParagraphs): adjust
3178 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3179 simplify error inset insertion.
3180 (checkPastePossible): adjust
3182 2003-05-06 John Levon <levon@movementarian.org>
3184 * text2.C: don't cast wrap inset to float
3186 2003-05-05 André Pönitz <poenitz@gmx.net>
3189 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3191 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3192 few naked Paragraph *.
3194 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3196 * bufferparams.C: Output warning if a document with missing
3197 TeX document class is loaded
3198 * exporter.C: Disable TeX exports if the document class is missing
3201 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3202 isTeXClassAvailable()
3204 2003-05-03 John Levon <levon@movementarian.org>
3207 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3208 explicit cursor show/hide
3210 * BufferView_pimpl.h:
3211 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3212 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3214 * lyxfunc.C: hide cursor before dispatching.
3219 * text3.C: remove explicit cursor hides
3221 2003-05-02 André Pönitz <poenitz@gmx.net>
3223 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3226 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3229 * text2.C: tiny whitespace
3231 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3233 * undo_funcs.C: almost only ws changes.
3235 * ParagraphList.C (splice): just return if pl is empty.
3237 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3239 * ParagraphList.C (splice): new function.
3241 * CutAndPaste.C (pasteSelection): use it
3243 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * CutAndPaste.C (pasteSelection): remove the last next and
3246 previous from this file.
3248 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3250 * CutAndPaste.C (pasteSelection): more clean up, user proper
3251 ParagraphList functions for pasteing.
3253 * ParagraphList.C (insert): new function, three arg insert
3255 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3257 * ParagraphList.C (insert): new function, three arg insert
3259 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3262 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3264 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3266 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3268 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3270 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3272 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3273 (copySelection): clean up a bit.
3274 (pasteSelection): use make_pair
3276 * ParagraphList.C (ParagraphList): implement copy constructor
3277 (operator=): implement, base on copy constructor.
3280 * paragraph.C (erase): return a bool
3282 * paragraph_pimpl.C (erasePos): remove function, move contents...
3283 (erase): ... here. Return a bool.
3284 (erase): call erase instead of erasePos.
3286 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3288 * ParagraphList.h: define PitPosPair
3289 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3290 ParagraphList, fix a bug on pasting multiple pars
3291 * text2.C: change interface to C&P
3293 2003-04-30 André Pönitz <poenitz@gmx.net>
3295 * undo_func.C: revert part of yesterday's patch 2
3297 2003-04-30 John Levon <levon@movementarian.org>
3299 * LColor.C: s/tabular/table/
3301 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3303 * text3.C (dispatch): do not convert iterator -> pointer
3304 * undo_funcs.C (setCursorParUndo): ditto
3305 * text_funcs.C (transposeChars): ditto
3307 * text2.C (setLayout): ws changes only
3309 * text.C (breakParagraph): do not convert iterator -> pointer
3311 (acceptChange): ditto
3312 (rejectChange): ditto
3317 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3320 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3322 * text3.C (gotoInset): YABG (yet another bad getChar)
3324 2003-04-29 André Pönitz <poenitz@gmx.net>
3326 * paragraph.h: make operator= private unimplemented as long as
3329 * ParagraphList.C: whitespace
3332 * paragraph_pimpl.[Ch]:
3333 * paragraph_funcs.C:
3335 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3338 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3340 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3342 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3343 * paragraph.[Ch] (erase):
3344 * paragraph_pimpl.[Ch] (erase): change return type and value
3345 * text2.C (cutSelection): some rework
3347 2003-04-28 John Levon <levon@movementarian.org>
3349 * bufferlist.C: changes for unsaved changes dialog
3351 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3353 * bufferlist.C (newFile): set language (messages_) for new
3356 * buffer.C (readFile): ws changes only.
3358 2003-04-28 André Pönitz <poenitz@gmx.net>
3363 * BufferView_pimpl.C:
3364 * BufferView.C: getParFromID related ParagraphList::iterator changes
3366 2003-04-28 André Pönitz <poenitz@gmx.net>
3368 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3371 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3373 * messages.C: remove one more localedir class variable.
3375 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3377 * messages.C (getLocaleDir): singleton generation function
3379 (Messages): add a default constructor.
3381 * main.C (main): do not setup localedir here, do not call
3384 * gettext.C (_): use it.
3385 (gettext_init): delete funciton
3387 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3389 * gettext.C (getLyXMessages): new singleton generating function.
3391 * buffer.C (updateDocLang): adjust
3393 * Makefile.am (messages.o): add target
3394 (main.o): remove target
3396 2003-04-27 John Levon <levon@movementarian.org>
3401 * lyxvc.C: specify cancel button in Alert::prompt
3403 2003-04-26 John Levon <levon@movementarian.org>
3408 * LyXAction.C: add LFUN_INSET_SETTINGS
3410 * lyxfunc.C: don't enable tabular-feature when there's
3411 just any locking inset
3413 2003-04-26 John Levon <levon@movementarian.org>
3415 * bufferlist.C: re-add Cancel to buffer close question
3417 * lyxfunc.C: fix import UI a bit
3419 2003-04-25 John Levon <levon@movementarian.org>
3421 * gettext.C: remove the broken asserts for now
3423 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3425 * messages.C: make case where setlocale cannot comply work better.
3427 * buffer.C (updateDocLang): new function
3428 (changeLanguage): use it
3431 * text2.C (setCounter): use B_ a bit.
3433 * lyxlayout.C (Read): be sure to trim the label strings.
3435 * messages.C (Messages): fix typo in comment
3437 * buffer.C (readFile): set message_ after file is loaded.
3438 (makeDocBookFile): remove double return
3439 (changeLanguage): reset message_ upon language change.
3440 (B_): new func, use this to get translated buffer strings.
3442 * main.C: add myself and Jean Marc as authors.
3444 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3446 * messages.[hC]: pimplify Messages, and three different pimpls to be
3447 used in different circumstances.
3449 * gettext.[Ch]: change for use with new message code.
3451 2003-04-24 André Pönitz <poenitz@gmx.net>
3453 * factory.C: support for eqref
3455 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3457 * messages.[Ch]: add missing char
3459 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3461 * messages.[Ch]: New files
3463 2003-04-18 John Levon <levon@movementarian.org>
3467 * BufferView_pimpl.C:
3471 * text2.C: remove layout-copy/paste (bug 778)
3473 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3475 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3477 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3479 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3480 if they succeed. Act accordingly.
3482 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3484 * text2.C (setCharFont): adjust
3485 (setCounter): adjust
3486 (insertStringAsLines): adjust
3488 * text.C (leftMargin): adjust
3489 (setHeightOfRow): adjust
3491 * rowpainter.C (paintFirst): adjust
3494 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3496 (isFirstInSequence): ditto
3497 (getEndLabel): ditto
3500 * paragraph.C (getParLanguage): comment out some hard stuff.
3502 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3504 (simpleDocBookOnePar): ditto
3505 (makeDocBookFile): use ParagraphList::iterator
3507 * CutAndPaste.C (pasteSelection): adjust
3509 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3511 * text2.C (getFont): adjust
3512 (getLayoutFont): adjust
3513 (getLabelFont): adjust
3515 * paragraph_funcs.C (TeXOnePar): adjust
3517 * buffer.C (simpleLinuxDocOnePar): adjust
3518 (simpleDocBookOnePar): adjust
3520 * CutAndPaste.C (pasteSelection): adjust
3522 * BufferView.C (getEncoding): adjust
3524 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3526 2003-04-16 John Levon <levon@movementarian.org>
3528 * lyxfind.C: use parlist stuff for search/changes
3530 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3532 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3534 * text2.C (deleteEmptyParagraphMechanism): adjust
3536 * text2.[Ch] (ownerParagraph): delete func (both of them
3538 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3540 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3542 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3544 * ParagraphList.C: prepare for NO_NEXT
3546 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3548 * text2.C (getFont): adjust
3549 (getLayoutFont): adjust
3550 (getLabelFont): adjust
3552 * paragraph.C (getFont): adjust
3553 (getLabelFont): adjust
3554 (getLayoutFont): adjust
3556 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3558 2003-04-15 John Levon <levon@movementarian.org>
3562 * lyx_main.C: handle Include in .ui files
3564 2003-04-15 John Levon <levon@movementarian.org>
3566 * MenuBackend.C: make the doc files length shorter
3569 * ToolbarBackend.C: handle toolbar placement flags,
3572 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3574 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3577 * paragraph_funcs.C (TeXOnePar): adjust
3579 * paragraph.C (getLabelFont): add outerfont arg, adjust
3580 (getLayoutFont): ditto
3581 (simpleTeXOnePar): adjust
3583 * paragraph_pimpl.C (realizeFont): delete func
3585 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3587 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3588 row argument, constify cur argument.
3590 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * text2.C (getFont): adjust
3593 (getLayoutFont): adjust
3594 (getLabelFont): adjust
3596 * paragraph_funcs.C (TeXOnePar): adjust
3597 (outerFont): new func...
3598 (realizeFont): ...moved out from here, changed this to facilitate
3601 * paragraph.C (getFont): take outerfont as arg, adjust
3602 (simpleTeXOnePar): add outerfont arg, adjust
3604 * buffer.C (simpleLinuxDocOnePar): adjust
3605 (simpleDocBookOnePar): adjust
3607 * CutAndPaste.C (pasteSelection): adjust
3609 * BufferView.C (getEncoding): adjust
3611 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3613 * text2.C (setCharFont): adjust
3614 (setCounter): adjust
3616 * text.C (leftMargin): adjust
3617 (setHeightOfRow): adjust
3619 * rowpainter.C (paintFirst): adjust
3622 * paragraph_pimpl.C (realizeFont): adjust
3624 * paragraph.C (isFirstInSequence): move from here...
3625 * paragraph_funcs.C (isFirstInSequence): ...to here
3627 * paragraph.C (outerHook): move from here...
3628 * paragraph_funcs.C (outerHook): ...to here
3630 * paragraph.C (depthHook): move from here...
3631 * paragraph_funcs.C (depthHook): ...to here
3633 * paragraph.C (getEndLabel): move from here...
3634 * paragraph_funcs.C (getEndLabel): ...to here
3636 * text2.C (realizeFont): move from here...
3637 * paragraph_funcs.C (realizeFont): ...to here
3639 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3641 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3643 2003-04-14 Angus Leeming <leeming@lyx.org>
3645 * LColor.[Ch]: scrap LColor mathcursor.
3647 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * lyxlex.[Ch] (text): delete function
3650 * trans.C (Load): adjust
3651 * paragraph_funcs.C (readParToken): adjust
3653 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3656 vector<char> instead of a char[].
3658 * lyxlex_pimpl.C (getString): adjust
3660 (lex): use getString
3664 * lyxlex.C (text): use pimpl_->getString()
3668 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3670 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3671 (makeFontEntriesLayoutSpecific): temp var for par.size()
3672 (setLayout): temp var for ownerParagraphs().end()
3673 (fullRebreak): temp var for rows().end()
3674 (selectionAsString): temp var for boost::next(startpit), realize
3675 that the while really is a regular for loop.
3676 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3677 setCursor in one place.
3678 (setParagraph): temp vr for ownerParagraphs().end()
3679 (updateCounters): make the while loop a for loop
3680 (cutSelection): temp var for ownerParagraphs().end()
3681 (updateInset): make the do {} while() a regular for loop
3682 (getCursorX): use temp vars
3683 (setCurrentFont): use temp vars
3684 (getColumnNearX): use temp vars
3686 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3688 * text.C (transformChar): use temp var for getChar
3689 (computeBidiTables): use temp var for row->par()
3690 (fill): move temp vars for row->par() and pit->layout() earlier in
3692 (labelFill): use temp var for row->par()
3693 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3694 asc and desc, realize that pit never changes and that firstpit is
3695 just a duplicate and not needed. Exchange rit->par() with pit in a
3697 (breakAgain): use a temp var for boost::next(rit)
3698 (breakAgainOneRow): ditto
3699 (breakParagraph): use a temp var for rows().begin()
3700 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3701 (cursorRightOneWord): use temp var for cursor.par() and
3702 cursor.pos(), remove usage of tmpcursor.
3703 (cursorLeftOneWord): use temp var for cursor.par() and
3704 cursor.pos() only set cur at end of function.
3706 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3708 * text.C, text2.C: exchange all usage of Paragraph::next with
3709 boost::next(ParagraphList::iterator)
3711 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3713 * text2.C (cursorTop): simplify implementation
3714 (cursorBottom): ditto
3715 (setParagraph): use ParagraphList::iterator
3716 (setCurrentFont): adjust
3717 (getColumnNearX): adjust
3718 (cursorRight): adjust
3719 (cursorLeft): remove usage of Paragraph::previous
3720 (cursorUpParagraph): ditto
3721 (deleteEmptyParagraphMechanism): slight cleanup
3723 * text.C (isBoundary): take a Paragraph const & instead of a
3725 (addressBreakPoint): ditto
3726 (leftMargin): remove usage of Paragraph::previous.
3727 (setHeightOfRow): ditto
3728 (cursorLeftOneWord): ditto
3729 (selectNextWordToSpellcheck): ditto
3732 (breakParagraph): remove one usage of Paragraph::next
3733 (redoParagraph): ditto
3734 (acceptChange): ditto
3735 (insertChar): adjust
3736 (rowBreakPoint): adjust
3738 * bufferview_funcs.C (toggleAndShow): adjust
3740 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3742 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3743 methods to access it.
3745 * text.C: Added updateRowPositions to compute all row positions.
3746 Make top_y and getRowNearY() to use the cached y position
3748 2003-04-11 John Levon <levon@movementarian.org>
3750 * text.C (rowBreakPoint): reintroduce the labelEnd
3751 checks, code copied from the row fill stuff. Deep voodoo.
3753 * text.C (fill): add a comment and debugging for the
3756 2003-04-11 John Levon <levon@movementarian.org>
3758 * text.C: make sure fullrow insets get wrapped to the next line,
3759 even when they're in a manual label
3761 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3763 * text2.C (insertParagraph): make it take ParagraphList::iterator
3765 (setLayout): make it return ParagraphList::iterator
3766 (redoParagraphs): ditto
3768 (checkParagraph): ditto
3770 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3772 * text2.C: adjust several funcs.
3773 (realizeFont): take a ParagraphList::iterator as arg.
3774 (getLayoutFont): ditto
3775 (getLabelFont): ditto
3776 (setCharFont): ditto
3778 * text.C: adjust several funcs.
3780 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3782 * text.C (selectNextWordToSpellcheck): don't accidentally
3785 2003-04-10 John Levon <levon@movementarian.org>
3787 * ToolbarBackend.C (getIcon): special handling for
3790 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3792 * text2.C (cursorRight): a getChar assert fixed
3794 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3796 * text2.C (getFont): change to take a ParagraphList::iterator
3797 instead of Paragraph*
3798 Adjust several functions.
3800 * text.C (transformChar): change to take a ParagraphList::iterator
3801 instead of Paragraph*
3802 (singleWidth): ditto
3803 Adjust several functions.
3805 * rowpainter.C: adjust several functions
3806 * rowpainter.h:store a ParagraphList::iterator and not a
3810 2003-04-09 John Levon <levon@movementarian.org>
3815 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3816 and the "help" bits as well
3818 2003-04-09 John Levon <levon@movementarian.org>
3821 * ToolbarBackend.C: allow multiple toolbars
3823 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * undo_funcs.C (setCursorParUndo): adjust
3827 * text_funcs.C (transposeChars): adjust
3829 * text3.C (gotoNextInset): adjust
3832 * text2.C (setLayout): adjust
3833 (changeDepth): adjust
3835 (redoParagraphs): adjust
3836 (selectionAsString): adjust
3837 (setParagraph): adjust
3838 (insertInset): adjust
3839 (cutSelection): adjust
3840 (copySelection): adjust
3841 (pasteSelection): adjust
3842 (insertStringAsLines): adjust
3843 (updateInset): adjust
3844 (setCursor): change to take a ParagraphList::iterator parameter
3845 (setCursorIntern): change to take a ParagraphList::iterator parameter
3846 (setCurrentFont): adjust
3847 (cursorLeft): adjust
3848 (cursorRight): adjust
3849 (deleteEmptyParagraphMechanism): adjust
3851 * text.C (breakParagraph): adjust
3852 (insertChar): adjust
3853 (acceptChange): adjust
3854 (rejectChange): adjust
3855 (selectNextWordToSpellcheck): adjust
3856 (changeCase): adjust
3860 * lyxfind.C (SearchForward): adjust
3861 (SearchBackward): adjust
3862 (nextChange): adjust
3864 * lyxcursor.C (par): adjust
3866 * lyxcursor.h: store a ParagraphList::iterator instead of a
3869 * lyx_cb.C (getPossibleLabel): adjust
3871 * bufferview_funcs.C (toggleAndShow): adjust
3873 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3876 * BufferView.C (removeAutoInsets): adjust
3877 (lockedInsetStoreUndo): adjust
3879 2003-04-09 John Levon <levon@movementarian.org>
3881 * ToolbarBackend.C: try icon without argument
3882 if with argument fails
3884 2003-04-08 John Levon <levon@movementarian.org>
3887 * ToolbarBackend.C: add getIcon(), handle tooltip,
3888 and change from "Icon" to "Item".
3890 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3892 * BufferView.C (lockInset): another bad getchar crunched
3894 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3896 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3899 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3901 * lyxfind.C (searchForward, searchBackwards): bug 782
3903 2003-04-07 John Levon <levon@movementarian.org>
3905 * paragraph.C: remove dead comment
3907 * text.C: remove troublesome depth-fiddling code
3908 in leftMargin() and rightMargin() (bug 1017)
3910 * text.C: fix breaking of rows in nested lists
3913 * text2.C (updateCounters): fix up depth values
3916 2003-04-07 John Levon <levon@movementarian.org>
3918 * BufferView_pimpl.C: clear message when doc finishes resizing,
3919 and after a mouse event
3921 * lyxfunc.C: clear message after exiting inset
3923 2003-04-07 John Levon <levon@movementarian.org>
3925 * bufferview_funcs.C: show math status not outside
3926 status in the statusbar
3928 2003-04-07 John Levon <levon@movementarian.org>
3930 * lyxfunc.C: note status changed after a depth change
3932 2003-04-04 Angus Leeming <leeming@lyx.org>
3934 * LaTeX.h: move AuxInfo operator==, != out of line.
3935 Remove LaTeX virtual destructor; nothing derives from it.
3936 Move operator()() out of public area and rename it startscript().
3937 Change protected for private.
3939 2003-04-04 Angus Leeming <leeming@lyx.org>
3942 * text2.C: remove unneeded #includes.
3944 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3946 * text2.C (dEPM): fix the heigth of the next row
3948 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3950 * text.C: squashed an invalid getChar requester + some ws changes
3952 2003-04-03 John Levon <levon@movementarian.org>
3954 * bufferview_funcs.h:
3955 * bufferview_funcs.C:
3958 * text2.C: make getStatus work for the env depth lfuns
3960 2003-04-03 John Levon <levon@movementarian.org>
3962 * bufferview_funcs.h:
3963 * bufferview_funcs.C:
3966 * text2.C: parlistize decDepth(), by merging it with incDepth()
3968 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * lyxrow.h: store a ParagraphList::iterator instead of a
3971 Paragraph* and adjust other class functions to suit.
3973 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3976 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3978 * text2.C (setCursor): do not anchor to cursor row for the time being
3980 2003-04-02 John Levon <levon@movementarian.org>
3987 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3989 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3991 * paragraph.h: make ParagraphList and ParagraphList::iterator
3992 friends of Paragraph.
3994 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3996 * ParagraphList.C: Use the private next_ and previous_ from
3999 2003-04-01 John Levon <levon@movementarian.org>
4003 * Makefile.am: rename, remove defaults gunk
4006 * MenuBackend.C: remove defaults gunk
4009 * Languages.C: remove defaults gunk
4012 * lyx_main.C: error out if files couldn't be found.
4014 2003-04-02 John Levon <levon@movementarian.org>
4016 * text2.C: make incDepth() use parlist
4018 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4020 * undo_funcs.C (firstUndoParagraph): adjust
4022 * text3.C (gotoInset): adjust
4023 (dispatch): adjust, and rewrite loop.
4025 * text2.C (init): adjust, and rewrite loop.
4026 (redoParagraphs): adjust
4027 (updateInset): adjust, and rewrite loop.
4028 (deleteEmptyParagraphMechanism): adjust
4030 * tabular.C (LyXTabular): adjust
4031 (SetMultiColumn): adjust
4034 * lyxtext.[Ch] (ownerParagraph): delete function
4035 (ownerParagraphs): new function returns a ParagraphList.
4037 * BufferView.C (removeAutoInsets): adjust
4038 (insertErrors): adjust
4039 (setCursorFromRow): adjust
4041 2003-04-01 Angus Leeming <leeming@lyx.org>
4043 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4046 2003-04-02 John Levon <levon@movementarian.org>
4052 * text_funcs.C: make transposeChars a free function
4054 * lyxrow_funcs.C: remove wrong comment
4056 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4059 * rowpainter.C: adjust
4064 * lyxrow_funcs. [Ch]: new files
4066 * lyxrow.[Ch]: remove next and previous pointers
4067 (next,previous): remove accessor functions
4068 (isParEnd): move to lyxrow_funcs
4069 (lastPos): move to lyxrow_funcs
4070 (nextRowIsAllInset): move to lyxrow_funcs
4071 (lastPrintablePos): move to lyxrow_funcs
4072 (numberOfSeparators): move to lyxrow_funcs
4073 (numberOfHfills): move to lyxrow_funcs
4074 (numberOfLabelHfills): move to lyxrow_funcs
4075 (hfillExpansion): move to lyxrow_funcs
4079 * bufferview_funcs.C (toggleAndShow): adjust
4081 * RowList.h: Remove class RowList from file leave just a
4084 * RowList.C: delete file
4086 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4089 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4091 * text3.C (cursorPrevious): adjust
4092 (cursorNext): adjust
4095 * text2.C (redoHeightOfParagraph): adjust
4096 (redoDrawingOfParagraph): adjust
4099 * text.C (breakParagraph): adjust
4100 (insertChar): adjust
4103 * rowpainter.C (RowPainter): adjust
4104 (leftMargin): simplify and adjust
4105 (most rowpainter functions): adjust.
4107 * rowpainter.h: store the row as RowList::iterator not as Row*
4109 * lyxcursor.C (row): taka RowList::iterator as arg
4112 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4115 2003-04-01 Angus Leeming <leeming@lyx.org>
4117 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4118 stuff like bool Bool.
4120 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4122 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4125 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4130 * lyxtext.h (rows): drop one version and leve a const variant that
4131 returns a RowList::iterator.
4133 2003-03-31 Angus Leeming <leeming@lyx.org>
4135 * text.C (fill): ensure that the signature is the same as that in the
4138 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4140 * text2.C (redoParagraphs): adjust
4141 (updateCounters): adjust
4142 (checkParagraph): adjust
4143 (getColumnNearX): adjust and reformat a bit.
4145 * text.C (top_y): adjust
4147 (leftMargin): adjust
4148 (prepareToPrint): adjust
4150 (getRowNearY): adjust
4152 * lyxtext.h: make rowlist_ mutable.
4154 * RowList.h: add const_iterator
4155 * RowList.C: adjust for RowList::const_iterator.
4157 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4160 2003-03-31 John Levon <levon@movementarian.org>
4163 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4165 * lyx_main.C: set default fonts from using lyx_gui funcs
4167 * exporter.C: pdf_mode moved from lyxrc
4170 * lyxfunc.C: changes from above
4172 2003-03-31 John Levon <levon@movementarian.org>
4174 * lyx_main.C: fix to the last fix
4176 2003-03-31 John Levon <levon@movementarian.org>
4178 * bufferlist.C: "Load original" -> "Load Original"
4184 * format.C: more Alert cleanups
4186 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * text2.C (removeParagraph): make it take a RowList::iterator as
4190 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4191 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4193 * text.C (anchor_row): make it take a RowList::iterator as arg,
4195 (computeBidiTables): make it take a const reference to Row instead
4196 of Row pointer, adjust.
4197 (leftMargin): make it take a RowList::iterator as arg, adjust.
4198 (rowBreakPoint): adjust
4199 (breakAgainOneRow): make it take a RowList::iterator as arg,
4201 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4203 * bufferview_funcs.C (toggleAndShow): adjust
4205 2003-03-30 John Levon <levon@movementarian.org>
4209 * boost-inst.C: moved to support
4211 * several files: changes as a result
4213 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * text2.C (LyXText): adjust.
4217 (removeRow): make it take a RowList::iterator as arg, adjust.
4218 (fullRebreak): adjust
4219 (deleteEmptyParagraphMechanism): adjust
4220 (clearPaint): adjust
4223 * text.C (top_y): adjust
4224 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4225 (breakAgain): make it take a RowList::iterator as arg, adjust.
4226 (breakParagraph): adjust
4227 (insertChar): adjust
4230 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4231 need_break_row, and refresh_row.
4233 * text3.C (dispatch): adjust
4235 * text2.C (checkParagraph): adjust
4237 (setCursorFromCoordinates): adjust
4239 * text.C (top_y): adjust
4241 (getRow): make it return a RowList::iterator, adjust
4242 (getRowNearY): make it return a RowList::iterator, adjust
4244 * text2.C (init): adjust
4245 (insertRow): remove function
4246 (insertParagraph): adjust
4247 (redoParagraphs): adjust
4248 (fullRebreak): adjust
4249 (updateCounters): adjust
4251 * text.C (top_y): rewrite to use RowList iterators.
4253 (setHeightOfRow): rewrite to sue RowList iterators.
4254 (appendParagraph): adjust
4255 (breakAgain): adjust
4256 (breakAgainOneRow): adjust
4257 (breakParagraph): adjust
4259 (getRowNearY): adjust, and remove commented code.
4261 * lyxtext.h (firstRow): delete function
4262 (lastRow): delete function
4263 (rows): new function (const and non-const versions.)
4264 (insertRow): delete function
4266 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4268 2003-03-29 John Levon <levon@movementarian.org>
4270 * BufferView_pimpl.C: always update scrollbar top
4271 because pasting text when we're anchored could mean we
4272 miss an update altogether
4274 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * text2.C (init): use rowlist_.end() and not 0.
4277 (insertRow): change to take a RowList::iterator as arg, adjust
4279 (insertParagraph): change to take a RowList::iterator as arg,
4281 (redoParagraphs): remove some debug msgs.
4283 * text.C (appendParagraph): change to take a RowList::iterator
4284 arg, adjust for this.
4285 (breakAgain): add an assert
4286 (breakAgainOneRow): ditto
4288 2003-03-29 John Levon <levon@movementarian.org>
4290 * text2.C: do not clear selection after inc/decDepth
4293 2003-03-29 John Levon <levon@movementarian.org>
4296 * buffer.C: fix broken strerrors according to Lars
4298 2003-03-29 John Levon <levon@movementarian.org>
4300 * converters.C: more Alert cleanups
4302 2003-03-29 John Levon <levon@movementarian.org>
4304 * bufferview_funcs.C: remove pointless Alert
4306 * buffer.C: fix confusing error message when
4307 a template is chmoded 000
4309 2003-03-29 John Levon <levon@movementarian.org>
4313 * BufferView_pimpl.C: Alert fixes
4317 * tabular-old.C: remove unused table compat reading
4319 2003-03-29 John Levon <levon@movementarian.org>
4324 * lyx_cb.C: more Alert cleanups
4326 * lyxfunc.C: don't allow chktex if not latex document
4328 2003-03-29 John Levon <levon@movementarian.org>
4332 * buffer.C: warnings pushed down from support/,
4335 2003-03-29 John Levon <levon@movementarian.org>
4337 * lyxfunc.C: safety check for C-r (revert)
4339 2003-03-29 John Levon <levon@movementarian.org>
4342 * bufferlist.C: several UI fixes using Alert::prompt.
4343 Fix the pointless looping quit code. Fix stupid revert
4348 * lyx_cb.C: use Alert::prompt
4350 * lyx_main.C: remove a silly question
4352 * lyxfunc.C: remove a couple of silly questions,
4355 2003-03-28 John Levon <levon@movementarian.org>
4357 * text2.C: fix bug 974 (End on empty par)
4359 2003-03-28 John Levon <levon@movementarian.org>
4361 * BufferView_pimpl.C:
4363 * lfuns.h: remove do-nothing math greek lfuns
4365 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4367 * lyxgluelength.h (isValidGlueLength): add default arg on
4368 parameter 2. Remove default arg from friend in class.
4370 * lyxlength.h (isValidLength): add default arg on parameter 2.
4371 Remove default arg from friend in class.
4373 * text2.C (LyXText): adjust, initialize refresh_row.
4377 (insertParagraph): adjst
4378 (redoParagraphs): adjust
4379 (fullRebreak): adjust
4380 (updateCounters): adjust
4381 (deleteEmptyParagraphMechanism): first attempt at fixing a
4384 * text.C (top_y): adjust
4385 (setHeightOfRow): adjust
4387 (getRowNearY): adjust
4389 * lyxtext.h: include RowList.h
4390 (~LyXText): not needed anymore, deleted.
4391 (firstRow): modify for RowList
4392 (lastRow): new function
4393 Delete firstrow and lastrow class variables, add a Rowlist
4394 rowlist_ class variable.
4396 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4399 * RowList.C (insert): fix case where it == begin().
4401 2003-03-26 Angus Leeming <leeming@lyx.org>
4403 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4404 the thesaurus dialog.
4406 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4408 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4410 * RowList.[Ch]: new files
4412 * ParagraphList.C (erase): handle the case where it == begin
4415 2003-03-25 John Levon <levon@movementarian.org>
4419 * aspell.C: add new aspell support
4422 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4425 2003-03-25 Angus Leeming <leeming@lyx.org>
4428 * LyXAction.C (init): new LFUN_INSET_INSERT.
4430 * BufferView_pimpl.C (dispatch): split out part of the
4431 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4433 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4436 2003-03-25 Angus Leeming <leeming@lyx.org>
4438 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4440 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4443 * text3.C: remove useless row->height(0)
4445 2003-03-25 John Levon <levon@movementarian.org>
4449 * text3.C: rename the refreshing stuff to better names
4451 2003-03-24 John Levon <levon@movementarian.org>
4453 * BufferView_pimpl.h:
4454 * BufferView_pimpl.C: update layout choice on a mouse
4457 2003-03-23 John Levon <levon@movementarian.org>
4459 * Makefile.am: fix commandtags.h reference
4461 2003-03-22 John Levon <levon@movementarian.org>
4463 * BufferView_pimpl.C:
4468 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4470 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4473 * text.C: take the rtl methods out of line
4475 2003-03-21 André Pönitz <poenitz@gmx.net>
4477 * metricsinfo.[Ch]: new files containing structures to be passed around
4478 during the two-phase-drawing...
4480 2003-03-21 André Pönitz <poenitz@gmx.net>
4482 * lyxtextclass.C: read 'environment' tag.
4484 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4486 * text2.C (removeRow): fix bug 964
4488 2003-03-20 John Levon <levon@movementarian.org>
4492 * text2.C: paint cleanups. Inset::update() dropped font
4495 2003-03-19 John Levon <levon@movementarian.org>
4497 * lyxfunc.C: only fitcursor/markDirty if available()
4499 2003-03-19 John Levon <levon@movementarian.org>
4501 * commandtags.h: rename to ...
4503 * lfuns.h: ... this, and renumber / cleanup
4505 2003-03-19 John Levon <levon@movementarian.org>
4507 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4508 fit the cursor after an lfun
4512 * BufferView_pimpl.h:
4513 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4515 * LyXAction.C: layout-character should have ReadOnly
4517 * ParagraphParameters.C:
4519 * bufferview_funcs.C:
4526 * undo_funcs.C: changes from above
4528 2003-03-18 John Levon <levon@movementarian.org>
4530 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4531 remove it from update()
4533 * lyxfunc.C: update layout choice after an lfun
4535 * text3.C: remove extra updateLayoutChoice()s
4537 2003-03-18 John Levon <levon@movementarian.org>
4539 * text.C: top_y change means full repaint, fix
4540 a drawing bug with cursor movement
4542 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4546 * text2.C: anchor row on setCursor
4548 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4550 * lyxtext.h: remove almost all mutable keywords
4553 * text3.C: remove const keywords accordingly
4555 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4557 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4559 (TeXEnvironment): ditto
4562 2003-03-17 John Levon <levon@movementarian.org>
4564 * text.C (rowBreakPoint): remove attempt to fix displayed
4565 math insets inside a manual label
4567 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4569 * lyxtext.h: remove BufferView* as first arg from almost all class
4571 * other files: adjust.
4573 2003-03-17 John Levon <levon@movementarian.org>
4577 * text2.C: more paint cleanups
4579 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4582 * rowpainter.C: remove "smart" background painting code
4584 2003-03-16 John Levon <levon@movementarian.org>
4589 * text3.C: add helper functions for setting refresh_row/y
4591 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4593 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4594 newline inset which *can* get inserted in the pass_thru layouts.
4595 This is primarily for literate documents.
4597 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4599 * buffer.C: increment LYX_FORMAT to 223
4601 2003-03-14 André Pönitz <poenitz@gmx.net>
4603 * textclass.h: prepare for environment handling, ws changes
4604 * lyxlayout.C: read latexheader and latexfooter tags
4606 2003-03-14 John Levon <levon@movementarian.org>
4608 * text2.C: rewrite ::status() a bit
4610 2003-03-13 John Levon <levon@movementarian.org>
4612 * lyxtext.h: add some docs
4614 2003-03-13 John Levon <levon@movementarian.org>
4619 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4621 2003-03-13 John Levon <levon@movementarian.org>
4623 * text3.C: fix appendix redrawing
4625 2003-03-13 John Levon <levon@movementarian.org>
4627 * text.C (setHeightOfRow):
4629 * rowpainter.C: make appendix mark have the text
4630 "Appendix" so the user knows what it is
4633 * LColor.C: s/appendixline/appendix/ from above
4635 2003-03-13 John Levon <levon@movementarian.org>
4637 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4639 * text.C: fix a getChar(pos) bug properly
4641 2003-03-13 Angus Leeming <leeming@lyx.org>
4644 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4645 Probably only temporary. Let's see how things pan out.
4647 * BufferView.C (unlockInset):
4648 * BufferView_pimpl.C (fitCursor):
4649 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4651 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4652 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4654 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4655 new functions that convert ParagraphParameters to and from a string.
4657 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4658 BufferView::Pimpl's dispatch.
4659 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4661 2003-03-13 André Pönitz <poenitz@gmx.net>
4665 * factory.C: make it aware of InsetEnv
4667 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4669 * text2.C (setCursor): never ask for one past last
4670 (setCursor): add some debugging messages.
4672 * text.C (singleWidth): never ask for one past last
4673 (singleWidth): ditto
4675 (rightMargin): ditto
4676 (rowBreakPoint): ditto
4677 (setHeightOfRow): ditto
4678 (prepareToPrint): ditto
4680 * rowpainter.C (paintBackground): never ask for one past last
4681 (paintText): never ask for one past last
4683 * paragraph_pimpl.C (getChar): make the assert stricter, never
4684 allow the one past last pos to be taken
4686 * paragraph.C (getChar): ws changes only
4688 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4689 (numberOfSeparators): ditto
4690 (numberOfHfills): ditto
4692 2003-03-12 John Levon <levon@movementarian.org>
4698 * paragraph_funcs.C: fix per-buffer authorlists
4700 2003-03-12 John Levon <levon@movementarian.org>
4702 * text.C: fix newline in right address
4704 2003-03-12 Angus Leeming <leeming@lyx.org>
4706 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4707 duplicate those in LyXFunc::dispatch.
4711 * ToolbarDefaults.C:
4712 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4713 Add LFUN_FONTFREE_UPDATE.
4715 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4716 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4718 * bufferview_func.[Ch]: several new functions to facilliate
4719 transfer of data to and from the character dialog.
4721 2003-03-12 John Levon <levon@movementarian.org>
4726 * paragraph_funcs.C:
4727 * paragraph_pimpl.C:
4731 * text3.C: remove META_NEWLINE in favour of an inset
4734 * rowpainter.C: remove paintNewline (done by inset)
4736 2003-03-12 John Levon <levon@movementarian.org>
4738 * paragraph_pimpl.C: complain about bad getChar()s
4739 for a while at least
4741 2003-03-12 John Levon <levon@movementarian.org>
4744 * buffer.C: move paragraph read into a separate function,
4745 a little renaming to reflect that.
4748 * bufferparams.C: remove the author_ids map, not necessary now
4751 * factory.C: moved Buffer::readInset to here
4753 * paragraph_funcs.h:
4754 * paragraph_funcs.C: readParagraph free function moved from
4757 * tabular.C: name change
4759 2003-03-12 John Levon <levon@movementarian.org>
4762 * ParagraphParameters.C: move par params input to
4765 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4766 behave like a normal read from the stream wrt reading
4767 a line vs. a \\token
4769 2003-03-12 John Levon <levon@movementarian.org>
4772 * ParagraphParameters.h:
4773 * ParagraphParameters.C: move output code to a
4776 2003-03-12 John Levon <levon@movementarian.org>
4778 * BufferView.C (insertLyXFile):
4781 * tabular.C: use a parlist iterator for creating the
4784 2003-03-12 John Levon <levon@movementarian.org>
4786 * buffer.C: make current_change static local not
4789 2003-03-12 John Levon <levon@movementarian.org>
4791 * buffer.C: fix insertStringAsLines for change tracking
4793 2003-03-12 John Levon <levon@movementarian.org>
4800 * bufferparams.C: move author list into params. Rename some
4801 functions. Move the header reading into a separate token
4802 loop. Move the header token reading into BufferParams.
4804 2003-03-12 John Levon <levon@movementarian.org>
4806 * changes.C: put debug inside lyxerr.debugging() checks
4808 2003-03-11 André Pönitz <poenitz@gmx.net>
4810 * factory.C: make it aware of InsetHFill
4812 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4814 * buffer.C (latexParagraphs): move function from here...
4815 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4818 2003-03-10 Angus Leeming <leeming@lyx.org>
4820 * LyXAction.C (init): fix bug in poplating array with multiple entries
4821 with the same LFUN (spotted by JMarc).
4823 2003-03-10 John Levon <levon@movementarian.org>
4826 * text2.C: move getColumnNearX() near its
4829 2003-03-10 John Levon <levon@movementarian.org>
4831 * text.C: fix break before a minipage
4833 2003-03-10 John Levon <levon@movementarian.org>
4835 * text.C: fix the last commit
4837 2003-03-09 John Levon <levon@movementarian.org>
4841 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4842 bug 365 (don't break before insets unless needed). Don't
4843 return a value > last under any circumstances.
4845 2003-03-09 Angus Leeming <leeming@lyx.org>
4847 * BufferView_pimpl.C (trackChanges, dispatch): call
4848 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4850 2003-03-09 Angus Leeming <leeming@lyx.org>
4852 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4853 than Dialogs::showAboutlyx().
4855 2003-03-09 Angus Leeming <leeming@lyx.org>
4857 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4858 than Dialogs::showTabularCreate().
4860 2003-03-09 John Levon <levon@movementarian.org>
4864 * text2.C: 3rd arg to nextBreakPoint was always the same.
4867 2003-03-08 John Levon <levon@movementarian.org>
4874 * text2.C: Remove the "main" bit from the "main body"
4877 2003-03-08 John Levon <levon@movementarian.org>
4879 * text.C (leftMargin): The left margin of an empty
4880 manual label paragraph should not include the label width
4883 * text.C (prepareToPrint): don't attempt to measure hfills
4884 for empty manual label paragraphs - the answer should be 0
4886 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4888 * CutAndPaste.C: remove commented code and reindent.
4890 2003-03-08 John Levon <levon@movementarian.org>
4893 * lyxfunc.C: move reloadBuffer()
4896 * BufferView.C: to here
4898 * lyxvc.C: add comment
4901 * vc-backend.C: call bv->reload() to avoid
4902 getStatus() check on MENURELOAD
4904 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4906 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4907 to an old format .dep file.
4909 2003-03-07 Angus Leeming <leeming@lyx.org>
4911 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4912 when the LFUN_MOUSE_RELEASE should have been handled by
4913 inset->localDispatch.
4915 2003-03-07 Angus Leeming <leeming@lyx.org>
4917 * BufferView_pimpl.C (dispatch):
4918 * LyXAction.C (init):
4919 * ToolbarDefaults.C (init):
4921 * lyxfunc.C (getStatus):
4922 remove LFUN_INSET_GRAPHICS.
4924 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4926 2003-03-07 Angus Leeming <leeming@lyx.org>
4929 * LyXAction.C (init):
4930 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4932 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4935 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4937 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4938 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4940 2003-03-07 Angus Leeming <leeming@lyx.org>
4942 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4945 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4947 * ParagraphList.C (front): new function
4950 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4952 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4953 and top_row_offset_. removed var first_y.
4955 * text2.C (LyXText, removeRow):
4957 * BufferView_pimpl.C:
4958 use these methods instead of using first_y
4960 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4962 * text2.C (pasteSelection): adjust for checkPastePossible
4964 * CutAndPaste.C: remove Paragraph * buf and replace with
4965 ParagraphList paragraphs.
4966 (DeleteBuffer): delete
4967 (cutSelection): change the tc type to textclass_type
4968 (copySelection): change the tc type to textclass_type
4969 (copySelection): adjust for ParagraphList
4970 (pasteSelection): change the tc type to textclass_type
4971 (pasteSelection): adjust for Paragraphlist
4972 (nrOfParagraphs): simplify for ParagraphList
4973 (checkPastePossible): simplify for ParagraphList
4974 (checkPastePossible): remove unused arg
4976 * ParagraphList.C (insert): handle the case where there are no
4979 * CutAndPaste.h: make CutAndPaste a namespace.
4981 * text3.C (dispatch): adjust
4983 * text.C (breakParagraph): add a ParagraphList as arg
4985 * paragraph_funcs.C (breakParagraph): change to take a
4986 BufferParams and a ParagraphList as args.
4987 (breakParagraphConservative): ditto
4988 (mergeParagraph): ditto
4989 (TeXDeeper): add a ParagraphList arg
4990 (TeXEnvironment): ditto
4993 * buffer.C (readLyXformat2): adjust
4994 (insertStringAsLines): adjust
4995 (latexParagraphs): adjust
4997 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4998 (cutSelection): adjust
4999 (pasteSelection): adjust
5001 * BufferView_pimpl.C (insertInset): adjust
5003 2003-03-05 Angus Leeming <leeming@lyx.org>
5006 * LyXAction.C (init):
5007 * BufferView_pimpl.C (dispatch):
5008 * lyxfunc.C (getStatus):
5009 remove LFUN_CHILD_INSERT.
5011 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5013 2003-03-05 Angus Leeming <leeming@lyx.org>
5016 * LyXAction.C (init):
5017 * src/factory.C (createInset):
5018 * lyxfunc.C (getStatus):
5019 * text3.C (dispatch):
5020 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5022 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5024 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5026 * ParagraphList.C (insert): handle insert right before end()
5027 (erase): fix cases where it can be first or last paragraph.
5029 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5031 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5032 Paragraph::next and Paragraph::previous
5035 * text.C (breakParagraph): adjust
5037 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5038 BufferParams& as arg.
5039 (breakParagraph): use ParagraphList::insert
5040 (breakParagraphConservative): take a Buffer* instead of a
5041 BufferParams& as arg.
5042 (breakParagraphConservative): use ParagraphList::insert.
5044 * buffer.C (insertStringAsLines): un-const it
5045 (insertStringAsLines): adjust
5047 * ParagraphList.C (insert): new function
5049 * CutAndPaste.C (pasteSelection): adjust
5051 * text.C (backspace): adjust
5053 * tabular.C (SetMultiColumn): adjust
5055 * CutAndPaste.C (cutSelection): adjust
5056 (pasteSelection): adjust
5058 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5059 Buffer const * as arg
5061 * ParagraphList.C (erase): new function
5062 * paragraph_funcs.C (mergeParagraph): use it
5063 (mergeParagraph): make it take a Buffer* instead of a
5064 BufferParams* as arg
5066 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5068 (breakParagraphConservative): ditto
5070 * paragraph.h: remove the breakParagraph friend
5072 * paragraph.C (eraseIntern): new function
5073 (setChange): new function
5075 * paragraph_funcs.C (mergeParagraph): make it take a
5076 ParagraphList::iterator instead of a Paragraph *, adjust
5079 * paragraph.h: move an #endif so that the change tracking stuff
5080 also works in the NO_NEXT case.
5082 2003-03-04 Angus Leeming <leeming@lyx.org>
5085 * LyXAction.C: new LFUN_INSET_MODIFY.
5087 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5088 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5090 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5092 * several files: ws changes only
5094 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5095 (TeXEnvironment): ditto
5098 * buffer.C (makeLaTeXFile): adjust
5099 (latexParagraphs): make it take ParagraphList::iterator as args
5101 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5103 * buffer.C (latexParagraphs): adjust
5105 * paragraph.C (TeXOnePar): move function...
5106 (optArgInset): move function...
5107 (TeXEnvironment): move function...
5108 * paragraph_pimpl.C (TeXDeeper): move function...
5109 * paragraph_funcs.C: ...here
5111 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5113 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5115 * buffer.C (readInset): remove compability code for old Figure and
5118 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * buffer.C: ws changes
5123 * BufferView_pimpl.C: ditto
5126 * bufferlist.h: ditto
5130 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5132 * converter.[Ch]: split into itself +
5135 * Makefile.am: += graph.[Ch] + format.[Ch]
5142 * lyxrc.C: added #include "format.h"
5144 2003-02-27 Angus Leeming <leeming@lyx.org>
5146 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5149 * factory.C (createInset): add "label" to the factory.
5151 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5152 string and do no more.
5154 2003-02-27 Angus Leeming <leeming@lyx.org>
5157 * LyXAction.C (init):
5158 * factory.C (createInset):
5159 * BufferView_pimpl.C (dispatch):
5160 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5162 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5164 * lyxfunc.C (dispatch):
5165 * text3.C (dispatch): pass name to params2string.
5167 2003-02-26 Angus Leeming <leeming@lyx.org>
5169 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5171 Rearrange the ~includes. Strip out the unnecessary ones.
5173 * factory.C (createInset): reformat.
5174 create new insets for the various LFUN_XYZ_APPLY lfuns.
5176 2003-02-26 John Levon <levon@movementarian.org>
5179 * lyxrow.C: add isParStart,isParEnd helpers
5181 * paragraph.h: make isInserted/DeletedText take refs
5183 * paragraph_funcs.h:
5184 * paragraph_funcs.C: remove #if 0'd code
5189 * text.C: use lyxrow helpers above.
5190 Move draw and paint routines to RowPainter.
5191 Make several methods use refs not pointers.
5192 Make backgroundColor() const.
5193 Add markChangeInDraw(), isInInset().
5194 Merge changeRegionCase into changeCase.
5195 Make workWidth() shouldn't-happen code into an Assert.
5198 * rowpainter.C: new class for painting a row.
5201 * vspace.C: make inPixels take a ref
5203 2003-02-26 Angus Leeming <leeming@lyx.org>
5205 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5208 2003-02-25 John Levon <levon@movementarian.org>
5210 * ispell.C: give the forked command a more accurate name
5212 2003-02-22 John Levon <levon@movementarian.org>
5215 * toc.C: make TocItem store an id not a Paragraph *
5218 2003-02-21 Angus Leeming <leeming@lyx.org>
5220 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5221 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5222 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5223 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5224 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5225 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5227 * BufferView_pimpl.C (dispatch):
5228 * LyXAction.C (init):
5229 * factory.C (createInset):
5230 * lyxfunc.C (getStatus, dispatch):
5231 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5233 2003-02-21 Angus Leeming <leeming@lyx.org>
5235 * BufferView_pimpl.C (MenuInsertLyXFile):
5236 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5237 * lyxfunc.C (menuNew, open, doImport):
5238 no longer pass a LyXView & to fileDlg.
5240 2003-02-21 Angus Leeming <leeming@lyx.org>
5242 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5243 * LyXAction.C: change, BIBKEY to BIBITEM.
5244 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5245 Change InsetBibKey to InsetBibitem.
5246 Change BIBKEY_CODE to BIBITEM_CODE.
5247 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5248 * factory.C: replace insetbib.h with insetbibitem.h.
5249 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5250 * paragraph.C: replace insetbib.h with insetbibitem.h.
5251 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5252 Change bibkey() to bibitem().
5253 * text.C: remove insetbib.h.
5254 * text2.C: replace insetbib.h with insetbibitem.h.
5255 change bibkey() to bibitem().
5256 * text3.C: remove insetbib.h.
5257 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5259 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5261 * lyxrc.C (output): enclose user email in quotes (in case there are
5264 2003-02-18 John Levon <levon@movementarian.org>
5266 * buffer.h: add std::
5268 2003-02-17 John Levon <levon@movementarian.org>
5274 * pspell.C: reworking. Especially in ispell, a large
5275 number of clean ups and bug fixes.
5277 * lyxfunc.C: fix revert to behave sensibly
5279 2003-02-17 André Pönitz <poenitz@gmx.net>
5282 * commandtags.h: new LFUN_INSERT_BIBKEY
5292 * paragraph_func.C: remove special bibkey handling
5294 2003-02-17 John Levon <levon@movementarian.org>
5296 * text.C (Delete): fix case where delete at the end of
5297 the very first paragraph would not merge the pars
5299 2003-02-17 John Levon <levon@movementarian.org>
5301 * lyxrow.C: fix lastPrintablePos()
5303 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5305 * bufferparams.C (writeLaTeX): add a std:here
5307 * buffer.C: and remove a using directive there
5309 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5311 * buffer.C (makeLaTeXFile): move the code that generates the
5314 * bufferparams.C (writeLaTeX): ... in this new method
5316 * LaTeXFeatures.C (getEncodingSet): make const
5317 (getLanguages): make const
5319 * MenuBackend.C (binding): returns the binding associated to this
5321 (add): sets the status of each item by calling getStatus. Adds
5323 (read): add support for OptSubMenu
5324 (expand): remove extra separator at the end of expanded menu
5326 2003-02-15 John Levon <levon@movementarian.org>
5329 * BufferView_pimpl.C:
5331 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5332 inset code that had no actual effect. Remove unneeded status
5335 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5337 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5340 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5342 * text.C (drawLengthMarker): also draw an arrow marker for
5343 symbolic lengths (medskip...)
5345 2003-02-14 John Levon <levon@movementarian.org>
5348 * tabular.C: better method names
5350 2003-02-14 John Levon <levon@movementarian.org>
5352 * BufferView_pimpl.C:
5357 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5358 it's a more accurate name. Remove some pointless uses.
5360 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5362 * text2.C (LyXText): change order of initilizers to shut off
5365 2003-02-14 John Levon <levon@movementarian.org>
5367 * buffer.C: use ParIterator for getParFromID()
5371 * paragraph_pimpl.h:
5372 * paragraph_pimpl.C: remove unused getParFromID()
5374 2003-02-14 John Levon <levon@movementarian.org>
5376 * buffer.C: remove some very old #if 0'd parse code
5378 2003-02-13 John Levon <levon@movementarian.org>
5382 * text2.C: move hfillExpansion(), numberOfSeparators(),
5383 rowLast(), rowLastPrintable(), numberofHfills(),
5384 numberOfLabelHfills() ...
5387 * lyxrow.C: ... to member functions here.
5392 * text.C: remove LyXText::beginningOfMainBody(), and call
5393 p->beginningOfMainBody() directly. Move the check for
5394 LABEL_MANUAL into the latter.
5401 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5407 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5408 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5410 2003-02-13 John Levon <levon@movementarian.org>
5412 * CutAndPaste.C: remove debug
5414 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5416 * paragraph.C (asString): remove two unused variables
5418 * lyxtextclass.C (readTitleType):
5420 (LyXTextClass): handle new members titletype_ and titlename_
5422 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5424 2003-02-09 John Levon <levon@movementarian.org>
5427 * buffer.C: replace hand-coded list with a map for the dep clean
5429 2003-02-08 John Levon <levon@movementarian.org>
5431 * LaTeX.C: consolidate code into showRunMessage() helper
5433 2003-02-08 John Levon <levon@movementarian.org>
5438 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5439 and pass the size in explicitly
5441 * BufferView_pimpl.h:
5442 * BufferView_pimpl.C:
5444 * BufferView.C: add getCurrentChange()
5446 * BufferView_pimpl.h:
5447 * BufferView_pimpl.C: handle change lfuns
5449 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5450 for changes. Mark pasted paragraphs as new.
5452 * support/lyxtime.h:
5453 * support/lyxtime.C:
5454 * DepTable.C: abstract time_t as lyx::time_type
5457 * LColor.C: add colours for new text, deleted text, changebars
5459 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5460 package use "usenames" option.
5464 * LyXAction.C: add change lfuns
5468 * author.C: author handling
5471 * buffer.C: add a per-buffer author list, with first entry as
5472 current author. Handle new .lyx tokens for change tracking. Output
5473 author list to .lyx file. Output dvipost stuff to .tex preamble.
5474 Bump lyx format to 222.
5477 * bufferlist.C: add setCurrentAuthor() to reset current author details
5481 * bufferparams.C: add param for tracking
5483 * bufferview_funcs.C: output change info in minibuffer
5487 * changes.C: add change-tracking structure
5490 * debug.C: add CHANGES debug flag
5493 * lyxfind.C: add code for finding the next change piece
5496 * lyxrc.C: add user_name and user_email
5499 * lyxrow.C: add a metric for the top of the text line
5502 * text.C: implement accept/rejectChange()
5505 * text.C: paint changebars. Paint new/deleted text in the chosen
5506 colours. Strike through deleted text.
5510 * paragraph_pimpl.h:
5511 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5512 in the current change to the insert functions. Rework erase to
5513 mark text as deleted, adding an eraseIntern() and a range-based
5514 erase(). Implement per-paragraph change lookup and
5517 * paragraph_funcs.C: Fixup paste for change tracking.
5519 * tabular.C: mark added row/columns as new.
5521 * text.C: fix rowLast() to never return -1. Don't allow
5522 spellchecking of deleted text. Track transpose changes. Don't
5523 allow paragraph break or merge where appropriate.
5525 * text2.C: leave cursor at end of selection after a cut.
5527 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5529 * text.C (getLengthMarkerHeight):
5530 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5531 visible on screen too.
5533 2003-02-07 John Levon <levon@movementarian.org>
5535 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5537 2003-02-05 Angus Leeming <leeming@lyx.org>
5539 * lyxserver.C (read_ready): revert my patch of 11 September last year
5540 as it sends PC cpu through the roof. Presumably this means that
5541 the lyxserver will no longer run on an Alpha...
5543 2003-01-30 Angus Leeming <leeming@lyx.org>
5545 * factory.C (createInset): create an InsetCommandParam of type "index"
5546 and use it to 'do the right thing'.
5548 * text2.C (getStringToIndex): ensure that cursor position is always
5549 reset to the reset_cursor position.
5551 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5553 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5556 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5560 * lyxfunc.C: Output messages with identical spelling, punctuation,
5563 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5565 * MenuBackend.C (expandFormats): List only viewable export formats
5568 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5571 * lyxfunc.C (getStatus): Make sure that formats other than
5572 "fax" can also be disabled
5574 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5576 * text3.C (dispatch): put the lfuns that insert insets in 3
5577 groups, and call doInsertInset with appropriate arguments.
5578 (doInsertInset): new function, that creates an inset and inserts
5579 it according to some boolean parameters.
5581 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5583 * buffer.C (readFile): remember to pass on 'par' when calling
5584 readFile recursively.
5586 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5588 * MenuBackend.C (expandFormats): add "..." to import formats.
5590 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5592 * paragraph.C (asString): Remove XForms RTL hacks.
5594 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5595 * buffer.C: fix typo
5597 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5599 * Makefile.am (LIBS): delete var
5600 (lyx_LDADD): add @LIBS@ here instead.
5602 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5604 * Clarify the meaning of "wheel mouse jump"
5606 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5608 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5611 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5613 * importer.C (Loaders): do not preallocate 3 elements in the
5614 vector, since one ends up with 6 elements otherwise
5616 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5618 * DepTable.C (write): write the file name as last element of the
5619 .dep file (because it may contain spaces)
5620 (read): read info in the right order
5622 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5624 * paragraph_pimpl.C (simpleTeXBlanks):
5625 (simpleTeXSpecialChars):
5626 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5628 * tabular.C (latex): add some missing case statements. Reindent.
5630 * MenuBackend.C (expandToc): remove unused variable.
5632 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5641 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5644 2003-01-05 John Levon <levon@movementarian.org>
5647 * BufferView.C: add getEncoding()
5650 * kbsequence.C: do not store last keypress
5653 * lyxfunc.C: store last keypress here instead. Pass encoding
5656 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5658 * lyx_main.C (init): remove annoying error message when following
5659 symbolic links (bug #780)
5661 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5663 * text.C (insertChar):
5664 * lyxrc.C (getDescription): remove extra spaces
5666 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5668 * lyxrc.C (getDescription): remove extra spaces
5670 2002-12-20 John Levon <levon@movementarian.org>
5672 * text3.C: hack fix for page up/down across tall rows
5674 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5676 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5679 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5681 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5682 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5683 thesaurus is not compiled in
5685 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5687 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5689 2002-12-16 Angus Leeming <leeming@lyx.org>
5692 * lyx_main.C (init): remove override_x_deadkeys stuff.
5694 2002-12-12 John Levon <levon@movementarian.org>
5696 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5697 insert. Only remove shift modifier under strict
5700 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5702 * MenuBackend.C (expandToc): fix crash.
5704 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * MenuBackend.C (expandToc): gettext on float names.
5708 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5710 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5711 implement bool empty() [bug 490]
5713 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5715 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5717 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5719 * several files: ws changes
5721 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5723 * text2.C (setCounter): clean up a bit, use boost.format.
5724 (updateCounters): initialize par upon declaration.
5726 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5727 if the layout exists. We do not just store the layout any more.
5728 (SwitchLayoutsBetweenClasses): use boost.format
5730 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5732 * converter.C (convert): if from and to files are the same, use a
5733 temporary files as intermediary
5735 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5738 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5740 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5742 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5744 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5746 * tabular.C (asciiPrintCell): use string(size, char) instead of
5749 * sgml.C (openTag): fix order of arguments to string constructor
5752 * lyxfunc.C (dispatch): use boost.format
5754 * lots of files: change "c" -> 'c'
5756 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5758 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5760 2002-11-25 Angus Leeming <leeming@lyx.org>
5762 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5764 * lyx_main.C (init): compile fix.
5766 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5768 * lyx_cb.C (start): boost.formatify
5769 do not include <iostream>
5771 * lengthcommon.C: ws only
5773 * boost-inst.C,BoostFormat.h: add more explict instantations
5775 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5777 * lots of files: handle USE_BOOST_FORMAT
5779 2002-11-21 John Levon <levon@movementarian.org>
5781 * pspell.C: fix compile
5783 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5785 * lyxfunc.C (dispatch): use boost::format
5789 * lyxfont.C (stateText): use boost::format
5791 * lyx_main.C (LyX): use boost::format
5793 (queryUserLyXDir): ditto
5796 (typedef boost::function): use the recommened syntax.
5798 * importer.C (Import): use boost::format
5800 * debug.C (showLevel): use boost::format
5802 * converter.C (view): use boost::format
5807 * bufferview_funcs.C (currentState): use boost::format
5809 * bufferlist.C (emergencyWrite): use boost::format
5811 * buffer.C (readLyXformat2): use boost::format
5812 (parseSingleLyXformat2Token): ditto
5814 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5816 * LaTeX.C (run): use boost::format
5818 * Chktex.C (scanLogFile): use boost::format
5820 * BufferView_pimpl.C (savePosition): use boost::format
5821 (restorePosition): ditto
5822 (MenuInsertLyXFile): ditto
5824 * BoostFormat.h: help file for explicit instation.
5826 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5828 * tabular.C (latex): Support for block alignment in fixed width
5831 2002-11-17 John Levon <levon@movementarian.org>
5833 * BufferView_pimpl.C:
5835 * lyxfunc.C: split filedialog into open/save
5837 2002-11-08 Juergen Vigna <jug@sad.it>
5839 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5840 by my last patch (hopefully).
5842 2002-11-08 John Levon <levon@movementarian.org>
5851 * toc.C: ParConstIterator, and use it (from Lars)
5853 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5855 * lyxtextclass.[Ch]: revise and add doxygen comments
5857 2002-11-07 John Levon <levon@movementarian.org>
5859 * text.C: fix progress value for spellchecker
5861 * toc.C: fix navigate menu for insetwrap inside minipage
5863 * paragraph_funcs.C: added FIXME for suspect code
5865 2002-11-07 John Levon <levon@movementarian.org>
5867 * BufferView_pimpl.C: fix redrawing of insets
5870 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5872 * text2.C (updateCounters): fix bug 668
5874 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5876 * text3.C (dispatch): Do not make the buffer dirty when moving the
5879 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5881 * vc-backend.C: STRCONV
5884 * text2.C (setCounter): STRCONV
5886 * paragraph.C (asString): STRCONV
5888 * lyxlength.C (asString): STRCONV
5889 (asLatexString): ditto
5891 * lyxgluelength.C (asString): STRCONV
5892 (asLatexString): ditto
5894 * lyxfunc.C (dispatch): STRCONV
5897 * lyxfont.C (stateText): STRCONV
5899 * importer.C (Import): STRCONV
5901 * counters.C (labelItem): STRCONV
5902 (numberLabel): ditto
5903 (numberLabel): remove unused ostringstream o
5908 * bufferview_funcs.C (currentState): STRCONV
5910 * buffer.C (readFile): STRCONV
5911 (asciiParagraph): ditto
5912 (makeLaTeXFile): ditto
5914 * Spacing.C (writeEnvirBegin): STRCONV
5916 * LaTeXFeatures.C (getLanguages): STRCONV
5917 (getPackages): ditto
5919 (getBabelOptions): ditto
5920 (getTClassPreamble): ditto
5921 (getLyXSGMLEntities): ditto
5922 (getIncludedFiles): ditto
5926 (scanAuxFile): ditto
5929 * LString.h: add the STRCONV macros
5931 * BufferView_pimpl.C (savePosition): STRCONV
5932 (restorePosition): ditto
5933 (MenuInsertLyXFile): ditto
5935 * vc-backend.C (scanMaster): change from submatch[...] to
5938 * funcrequest.C: include config.h
5940 * factory.C: include config.h
5942 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5944 * box.C: include config.h
5946 * LaTeX.C (scanAuxFile): change from submatch[...] to
5950 2002-10-25 Angus Leeming <leeming@lyx.org>
5952 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5954 * ispell.[Ch] (setError): new method.
5955 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5956 Use setError() insetead of goto END.
5958 * lyx_cb.C (AutoSave): move out child process into new class
5961 2002-10-30 John Levon <levon@movementarian.org>
5963 * text3.C: make start appendix undoable
5965 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5967 * lyxlength.C (inPixels): Fix returned value.
5969 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5972 2002-10-24 Angus Leeming <leeming@lyx.org>
5974 * lyxgluelength.h: no need to forward declare BufferParams
5975 or BufferView, so don't.
5977 2002-10-21 John Levon <levon@movementarian.org>
5979 * BufferView.C: menuUndo ->undo, redo
5981 * BufferView.h: document, remove dead, make some methods private
5983 * paragraph_funcs.h:
5984 * paragraph_funcs.C:
5985 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5990 * sgml.C: move sgml open/close tag into sgml.C
5992 * bufferview_funcs.h: unused prototype
5995 * lyxfunc.C: remove unused
5998 * text.C: remove unused
6000 2002-10-21 John Levon <levon@movementarian.org>
6004 * BufferView_pimpl.h:
6005 * BufferView_pimpl.C: fix mouse wheel handling based on
6006 patch from Darren Freeman
6008 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6010 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6012 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6014 * lyxlength.C (inPixels): Fix hanfling of negative length.
6015 Fix LyXLength::MU case.
6017 2002-10-16 John Levon <levon@movementarian.org>
6019 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6021 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6023 * converter.C (view): add support for $$i (file name) and $$p
6024 (file path) for the viewer command. If $$i is not specified, then
6025 it is appended to the command (for compatibility with old syntax)
6027 2002-10-14 Juergen Vigna <jug@sad.it>
6029 * undo_funcs.C (textHandleUndo): alter the order in which the
6030 new undopar is added to the LyXText, as we have to set first
6031 the right prev/next and then add it as otherwise the rebuild of
6032 LyXText is not correct. Also reset the cursor to the right paragraph,
6033 with this IMO we could remove the hack in "redoParagraphs()".
6035 2002-10-09 Angus Leeming <leeming@lyx.org>
6037 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6038 to turn off an optimisation if a new inset is to be inserted.
6040 2002-10-11 André Pönitz <poenitz@gmx.net>
6042 * lyxtext.h: make some functions public to allow access
6043 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6045 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6047 * text3.C (dispatch): when changing layout, avoid an infinite loop
6050 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6052 * lyxrc.C (read): treat a viewer or converter command of "none" as
6055 * MenuBackend.C (expandFormats): for an update, also allow the
6056 formats that are not viewable
6058 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6059 script if it is newer than the lyxrc.defaults in user directory
6061 2002-10-07 André Pönitz <poenitz@gmx.net>
6063 * text.C: Vitaly Lipatov's small i18n fix
6065 2002-09-25 Angus Leeming <leeming@lyx.org>
6067 * ispell.h: doxygen fix.
6069 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6071 * buffer.h (readFile): Add a new argument to the method, to allow
6072 reading of old-format templates.
6074 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6076 * toc.C (getTocList): Get TOC from InsetWrap.
6078 2002-09-16 John Levon <levon@movementarian.org>
6080 * lyxfunc.C: check tabular for cut/copy too
6082 2002-09-12 John Levon <levon@movementarian.org>
6087 * factory.C: add header
6089 * paragraph_funcs.h:
6090 * paragraph_funcs.C: cleanup
6092 2002-09-11 John Levon <levon@movementarian.org>
6094 * PrinterParams.h: odd/even default to true
6096 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6098 * PrinterParams.h: update printer parameters for new xforms dialog
6100 2002-09-11 Angus Leeming <leeming@lyx.org>
6102 * lyxserver.C (read_ready): re-write to make it more transparent
6103 and to make it work in coherent fashion under Tru64 Unix.
6105 2002-09-11 André Pönitz <poenitz@gmx.net>
6109 * text3.C: implement LFUN_WORDSEL
6111 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6113 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6114 make floatlist_ a boost::shared_ptr<FloatList>
6116 * lyxtextclass.C: include FloatList.h
6117 (LyXTextClass): initialize floatlist_
6118 (TextClassTags): add TC_NOFLOAT
6119 (Read): match "nofloat" to TC_NOFLOAT and use it.
6120 (readFloat): modify call to floatlist_
6124 * FloatList.[Ch] (FloatList): remove commented out float
6126 (erase): new function
6128 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6130 * MenuBackend.C (expandToc): fix crash when there is no document
6133 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6135 * many files: Add insetwrap.
6137 2002-09-09 John Levon <levon@movementarian.org>
6139 * text2.C: remove confusing and awkward depth wraparound
6141 2002-09-09 John Levon <levon@movementarian.org>
6143 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6146 * buffer.C: remove getIncludeonlyList()
6149 * lyxfunc.C: remove headers
6151 2002-09-09 Juergen Vigna <jug@sad.it>
6153 * text.C (getColumnNearX): fix form Michael this is most
6154 probably a cut&paste bug.
6156 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6158 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6160 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6161 references, ws changes.
6163 * text2.C (init): update counters after init
6164 (insertParagraph): no need to set counter on idividual paragraphs.
6165 (setCounter): access the counters object in the textclass object
6166 on in the buffer object.
6167 (updateCounters): ditto
6169 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6170 shared_ptr<Counters> to avoid loading counters.h in all
6172 (LyXTextClass): initialize ctrs_
6173 (TextClassTags): add TC_COUNTER, and ...
6174 (Read): use it here.
6175 (CounterTags): new tags
6176 (readCounter): new function
6177 (counters): new funtion
6178 (defaultLayoutName): return a const reference
6180 * counters.C (Counters): remove contructor
6181 (newCounter): remove a couple of unneeded statements.
6182 (newCounter): simplify a bit.
6183 (numberLabel): some small formatting changes.
6185 * buffer.[Ch]: remove all traces of counters, move the Counters
6186 object to the LyXTextClass.
6188 2002-09-06 Alain Castera <castera@in2p3.fr>
6190 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6191 package to set the horizontal alignment on fixed width columns.
6194 * lyx_sty.h: added tabularnewline macro def.
6196 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6198 2002-09-06 John Levon <levon@movementarian.org>
6200 * LyXAction.C: tooltips for sub/superscript
6202 * MenuBackend.C: a bit more verbose
6204 * lyxfunc.C: tiny clean
6206 * undo_funcs.C: document undo_frozen
6208 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6210 * counters.C (Counters): add missing algorithm counter.
6212 * text2.C (setCounter): lookup the counter with layouts latexname
6213 instead of by section number.
6214 (setCounter): use a hackish way to lookup the correct enum
6216 a float name->type change
6217 reset enum couners with counter name directly instead of depth value.
6219 * counters.C (Counters): remove the push_backs, change to use the
6220 float type not the float name.
6221 (labelItem): remove unused string, float name->type change
6223 * counters.h: don't include vector, loose the enums and sects vectors
6225 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6227 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6228 (Read): add float->TC_FLOAT to textclassTags
6229 (Read): and handle it in the switch
6230 (readFloat): new function
6232 * FloatList.C (FloatList): comment out the hardcoded float
6235 * lyxlayout.h: ws change.
6237 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6239 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6241 2002-09-03 Angus Leeming <leeming@lyx.org>
6243 * BufferView_pimpl.h: qualified name is not allowed in member
6244 declaration: WorkArea & Pimpl::workarea() const;
6246 * factory.C: added using std::endl directive.
6248 * text3.C: added using std::find and std::vector directives.
6250 2002-08-29 André Pönitz <poenitz@gmx.net>
6253 * text2.C: remove unused member number_of_rows
6256 * BufferView2.C: remove file, move contents to...
6257 * BufferView.C: ... here
6259 * BufferView_pimpl.C:
6260 * factory.C: move more inset creation to factory
6262 * vspace.C: avoid direct usage of LyXText, ws changes
6265 don't provide direct access to WorkArea, use two simple
6266 acessors haveSelction() and workHeight() instead
6269 2002-08-29 John Levon <levon@movementarian.org>
6271 * BufferView_pimpl.C (dispatch): do not continue when
6274 2002-08-28 André Pönitz <poenitz@gmx.net>
6276 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6279 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6281 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6283 * buffer.C: increment LYX_FORMAT to 221
6285 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6286 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6288 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6290 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6292 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6294 * factory.C (createInset): use LyXTextClass::floats
6296 * MenuBackend.C (expandFloatListInsert):
6297 (expandFloatInsert):
6300 * text2.C (setCounter):
6302 * LaTeXFeatures.C (useFloat):
6303 (getFloatDefinitions):
6305 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6307 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6308 floatlist_, with accessor floats().
6310 * FloatList.h: remove global FloatList
6312 2002-08-26 André Pönitz <poenitz@gmx.net>
6314 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6318 * BufferView_pimpl.C:
6319 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6321 2002-08-25 John Levon <levon@movementarian.org>
6323 * LyXAction.C: fix margin note description
6325 2002-08-24 John Levon <levon@movementarian.org>
6329 * bufferview_funcs.C:
6331 * undo_funcs.C: cleanups
6333 * lyxfunc.C: disable CUT/COPY when no selection
6335 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6337 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6338 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6340 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6341 Add backward compatibility to "mono", "gray" and "no".
6343 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6345 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6346 (and file_format >= 200).
6348 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6350 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6352 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6354 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6356 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6358 * BufferView_pimpl.C:
6365 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6366 inset and code to make it work with the paragraph code. The inset
6367 can be anywhere in the paragraph, but will only do the expected
6368 thing in LaTeX if the layout file contains the parameter line
6370 (or more generally, a nonzero value) for that layout.
6372 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6374 * paragraph.h: remove the declaration of undefined counters class
6377 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6379 * text2.C (setCounter): fixed enumeration mis-count as reported by
6380 Dr. Richard Hawkins.
6382 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6384 * paragraph_funcs.h: remove some unneeded includes
6386 * text.C (backspace): pasteParagraph now in global scipe
6388 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6389 (pasteSelection): ditto
6391 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6392 * paragraph_funcs.C (pasteParagraph): ... here
6394 2002-08-20 André Pönitz <poenitz@gmx.net>
6396 * commandtags.h: new LFUNs for swapping/copying table row/colums
6399 * lyxfunc.C: support for new lfuns
6401 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6404 * buffer.[Ch]: remove NO_COMPABILITY stuff
6406 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6408 * boost.C (throw_exception): new file, with helper function for
6409 boost compiled without exceptions.
6414 * ParameterStruct.h:
6415 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6417 * bufferlist.C (emergencyWriteAll): use boost bind
6419 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6421 * text.C: include paragraph_funcs.h
6422 (breakParagraph): breakParagraph is now in global scope
6424 * paragraph_funcs.[Ch]: new files
6426 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6429 * buffer.C: include paragraph_funcs.h
6430 (insertStringAsLines): breakParagraph is now in global scope
6432 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6435 * CutAndPaste.C: include paragraph_funcs.h
6436 (cutSelection): breakParagraphConservative is now in global scope
6437 (pasteSelection): ditto
6439 * buffer.h: declare oprator== and operator!= for
6440 Buffer::inset_iterator
6442 * bufferlist.C (emergencyWrite): don't use fmt(...)
6444 * text3.C: add using std::endl
6446 * BufferView.C (moveCursorUpdate): remove default arg
6448 2002-08-20 André Pönitz <poenitz@gmx.net>
6450 * buffer.[Ch]: move inline functions to .C
6453 * BufferView_pimpl.C:
6455 * buffer.[Ch]: use improved inset_iterator
6458 * paragraph.[Ch]: write one paragraph at a time
6460 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6462 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6463 style if style is not specified.
6465 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6467 * text2.C (setCounter): when searching for right label for a
6468 caption, make sure to recurse to parent insets (so that a caption
6469 in a minipage in a figure float works) (bug #568)
6471 2002-08-20 André Pönitz <poenitz@gmx.net>
6473 * text3.C: new file for LyXText::dispatch() and helpers
6475 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6477 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6479 2002-08-19 André Pönitz <poenitz@gmx.net>
6482 * text.C: new LyXText::dispatch()
6484 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6486 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6488 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6490 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6493 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6495 * Makefile.am: use $(variables) instead of @substitutions@
6497 2002-08-15 André Pönitz <poenitz@gmx.net>
6500 * BufferView_pimpl.C: streamlining mathed <-> outer world
6504 * LyXAction.C: remove unused LFUN_MATH
6506 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6508 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6510 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6512 * paragraph.C (Paragraph): reformat a bit
6513 (cutIntoMinibuffer): use builtin InsetList function instad of
6517 * buffer.C: include boost/bind.hpp, add using std::for_each
6518 (writeFileAscii): use ParagraphList iterators
6519 (validate): use for_each for validate traversal of paragraphs
6520 (getBibkeyList): use ParagraphList iterators
6521 (resizeInsets): use for_each to resizeInsetsLyXText for all
6523 (getParFromID): use ParagraphList iterators
6525 * BufferView2.C (lockInset): use paragraph list and iterators
6527 2002-08-14 John Levon <levon@movementarian.org>
6529 * lyxserver.C: remove spurious xforms include
6531 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6533 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6535 2002-08-13 André Pönitz <poenitz@gmx.net>
6538 * lyxfunc.C: further cleaning
6540 2002-08-13 André Pönitz <poenitz@gmx.net>
6542 * funcrequest.h: new constructor
6544 * funcrequest.C: move stuff here from .h
6547 * BufferView_pimpl.C:
6550 * lyxfunc.C: subsequent changes
6552 * lyxfunc.h: new view() member function
6554 * lyxfunc.C: subsequent changes
6556 2002-08-13 Angus Leeming <leeming@lyx.org>
6559 * BufferView_pimpl.C:
6567 changes due to the changed LyXView interface that now returns references
6568 to member variables not pointers.
6570 2002-08-13 Angus Leeming <leeming@lyx.org>
6572 * WordLangTuple (word, lang_code): return references to strings,
6577 * lyxtext.h: forward-declare WordLangTuple.
6582 * text.C: #include "WordLangTuple.h".
6585 * text.C: (selectNextWordToSpellcheck): constify return type.
6587 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6593 * paragraph_pimpl.h:
6596 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6598 Made updateCounter always count from start of buffer, and removed
6599 second argument (par).
6600 Reverted floats number display to '#'. Perhaps I'll try again when the
6601 code base is sanitized a bit.
6603 2002-08-12 Angus Leeming <leeming@lyx.org>
6605 * buffer.[Ch] (getLabelList): constify.
6607 2002-08-07 André Pönitz <poenitz@gmx.net>
6609 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6611 * funcrequest.h: extension to keep mouse (x,y) position
6613 2002-08-12 Juergen Vigna <jug@sad.it>
6615 * BufferView2.C (insertErrors): forbid undo when inserting error
6618 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6620 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6622 * ParagraphList.[Ch]: new files
6624 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6626 * BufferView2.C (lockInset): ParagraphList changes
6629 * bufferlist.C: ditto
6633 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6635 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6636 unused class variable counter_,
6638 * paragraph.[Ch] (getFirstCounter): delete unused function
6640 * counters.C: include LAssert.h
6641 (reset): add a new function with no arg, change other version to
6642 not have def. arg and to not allow empty arg.
6644 * text2.C (setCounter): remove empty arg from call to Counters::reset
6646 2002-08-11 John Levon <levon@movementarian.org>
6648 * Makefile.am: add WordLangTuple.h
6650 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6652 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6653 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6655 * insets/insettext.C: InsetList changes
6657 * graphics/GraphicsSupport.C (operator()): InsetList changes
6659 * toc.C (getTocList): InsetList changes
6661 * paragraph_pimpl.[Ch]: InsetList changes
6663 * paragraph.[Ch]: InsetList changes
6665 * buffer.C (inset_iterator): InsetList changes
6666 (setParagraph): ditto
6667 * buffer.h (inset_iterator): ditto
6668 * iterators.C (operator++): ditto
6669 * iterators.h: ditto
6671 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6673 * InsetList.[Ch]: new files, most InsetList handling moved out of
6676 * BufferView2.C (removeAutoInsets): InsetList changes
6678 (ChangeInsets): ditto
6680 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6682 * paragraph_pimpl.h (empty): new function
6684 * paragraph.[Ch] (empty): new function
6686 * other files: use the new Paragraph::empty function
6688 2002-08-09 John Levon <levon@movementarian.org>
6690 * lyxtext.h: remove unused refresh_height
6692 2002-08-09 John Levon <levon@movementarian.org>
6699 * paragraph.C: move sgml char escaping out of paragraph
6702 * paragraph.C: remove id setter
6706 * paragraph_pimpl.C: remove dead tex_code_break_column
6708 * bufferview_funcs.C: small cleanup
6710 * lyxfunc.C: remove dead proto
6712 * lyxtext.h: make some stuff private. Remove some dead stuff.
6714 * lyxgluelength.C: make as[LyX]String() readable
6716 2002-08-08 John Levon <levon@movementarian.org>
6721 * ToolbarDefaults.C:
6724 * toc.C: lyxaction cleanup
6726 2002-08-08 John Levon <levon@movementarian.org>
6728 * BufferView2.C: small cleanup
6731 * lyxfind.C: move unnecessary header into the .C
6733 2002-08-08 John Levon <levon@movementarian.org>
6735 * funcrequest.h: just tedious nonsense
6738 * lyx_main.C: cleanups
6741 * vspace.C: remove dead header lyx_main.h
6743 2002-08-07 Angus Leeming <leeming@lyx.org>
6746 * paragraph_pimpl.h:
6747 Forward declare class Counters in paragraph.h by moving the ctrs member
6748 variable into Paragraph::Pimpl.
6749 (counters): new method, returning a reference to pimpl_->ctrs.
6751 * text2.C: ensuing changes.
6753 2002-08-07 John Levon <levon@movementarian.org>
6755 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6757 * BufferView_pimpl.C: announce X selection on double/triple
6760 * lyx_main.C: use correct bool in batch dispatch
6762 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6764 2002-08-07 André Pönitz <poenitz@gmx.net>
6766 * funcrequest.h: new class to wrap a kb_action and its argument
6769 * BufferView_pimpl[Ch]:
6773 * lyxrc.C: subsequent changes
6776 2002-08-07 John Levon <levon@movementarian.org>
6778 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6779 document options change.
6781 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6786 * makefile.am: move counters functionality over from
6787 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6789 2002-08-06 John Levon <levon@movementarian.org>
6791 * WordLangTuple.h: new file for word + language code tuple
6802 * BufferView2.C: use WordLangTuple
6805 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6807 2002-08-06 John Levon <levon@movementarian.org>
6809 * lyx_main.C: fix cmdline batch handling
6811 2002-08-06 André Pönitz <poenitz@gmx.net>
6813 * lyxrc.C: set default for show_banner to true
6815 2002-08-06 John Levon <levon@movementarian.org>
6817 * pspell.C: fix a crash, and allow new aspell to work
6819 2002-08-06 John Levon <levon@movementarian.org>
6822 * kbmap.C: small cleanup
6825 * vspace.C: add const
6827 2002-08-05 John Levon <levon@movementarian.org>
6829 * LyXAction.C: back to tabular-insert
6831 2002-08-04 John Levon <levon@movementarian.org>
6834 * BufferView.C: cosmetic change
6836 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6846 * BufferView2.C: purge all "Lyx" not "LyX" strings
6849 * lyxcursor.C: attempt to add some documentation
6854 * ToolbarDefaults.C:
6855 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6856 merge with LFUN_TABULAR_INSERT
6863 * pspell.C: split up i/pspell implementations into separate
6864 files, many cleanups
6866 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6868 * text2.C: some cleanup
6870 * lyxfunc.C: don't check for isp_command == "none" any more, it
6871 didn't make any sense
6873 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6878 * makefile.am: move counters functionality over
6879 from text2.C/paragraph.[Ch] to counters.[Ch], and
6881 2002-08-02 John Levon <levon@movementarian.org>
6883 * buffer.C: s/lyxconvert/lyx2lyx/
6885 2002-08-02 Angus Leeming <leeming@lyx.org>
6887 * lyxlex.C: revert John's change as it breaks reading of the user
6890 2002-08-02 Angus Leeming <leeming@lyx.org>
6892 * importer.C (Import):
6893 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6894 changes due to LyXView::view() now returning a boost::shared_ptr.
6896 2002-08-02 John Levon <levon@movementarian.org>
6898 * lyxlex.C: small cleanup
6900 2002-08-02 John Levon <levon@movementarian.org>
6902 * text2.C (status): small cleanup, no logic change
6904 2002-08-01 John Levon <levon@movementarian.org>
6907 * buffer.C (writeFile): don't output alerts, caller
6911 * lyx_cb.C: from above
6913 * lyxfunc.C: allow to open non-existent files
6915 2002-07-31 John Levon <levon@movementarian.org>
6917 * lyxserver.C: don't let incidental errors get
6920 2002-07-30 John Levon <levon@movementarian.org>
6922 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6924 2002-07-30 John Levon <levon@movementarian.org>
6927 * lyxserver.C: remove I/O callback too
6929 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6931 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6934 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6936 * many files: strip,frontStrip -> trim,ltrim,rtrim
6938 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * PrinterParams.h: remove extern containsOnly, and include
6941 support/lstrings.h instead.
6943 * LaTeX.C (scanAuxFile): modify because of strip changes
6945 * buffer.C (makeLaTeXFile): ditto
6946 * bufferparams.C (writeFile): ditt
6947 * lyxfont.C (stateText): ditto
6948 * lyxserver.C (read_ready): ditto
6949 * vc-backend.C (scanMaster): ditto
6951 * BufferView_pimpl.h: ws changes
6953 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6955 2002-07-26 André Pönitz <poenitz@gmx.net>
6957 * kb_sequence.C: remove unnedred usings
6959 2002-07-26 Juergen Vigna <jug@sad.it>
6961 * lyxfind.C (LyXReplace): we have to check better if the returned
6962 text is not of theLockingInset()->getLockingInset().
6964 2002-07-25 Juergen Vigna <jug@sad.it>
6966 * lyxfind.C (LyXReplace): don't replace if we don't get the
6969 * undo_funcs.C (createUndo): remove debugging code.
6971 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6973 * buffer.C (parseSingleLyXformat2Token): Use default placement
6974 when reading old floats.
6976 * FloatList.C (FloatList): Change the default placement of figure
6977 and tables to "tbp".
6979 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6981 * MenuBackend.C: using std::max
6983 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6985 * MenuBackend.C (expandToc):
6986 (expandToc2): code moved from xforms menu frontend. It is now
6987 generic and TOCs are transparent to menu frontends.
6989 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6991 * toc.C (getTocList): protect against buf=0
6993 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6994 Menu as first parameter. Now, this calls itself recursively to
6995 expand a whole tree (this will be useful for TOC handling)
6996 (expandFloatInsert): remove 'wide' version of floats
6998 * MenuBackend.h (submenuname): returns the name of the submenu.
6999 (submenu): returns the submenu itself, provided it has been
7000 created by MenuBackend::expand
7002 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7004 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7005 insets which have noFontChange == true. (bug #172)
7007 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7009 * BufferView_pimpl.C: add connection objects and use them...
7012 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7014 * MenuBackend.C (expandLastfiles):
7017 (expandFloatListInsert):
7018 (expandFloatInsert):
7019 (expand): split expand in parts
7021 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7023 * lyx_gui.C: use lyx_gui::exit()
7025 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7027 * LyXAction.C: show the failing pseudo action
7029 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7031 * buffer.C (readFile): Run the lyxconvert script in order to read
7034 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7038 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7040 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7044 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7046 2002-07-22 Herbert Voss <voss@lyx.org>
7049 * lyxlength.[Ch]: add support for the vertical lengths
7051 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7053 * toc.[Ch]: std:: fixes
7055 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7057 * lyxrc.C: do not include lyx_main.h
7059 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7065 * BufferView2.C: include "lyxlex.h"
7068 * bufferparams.h: do not #include "lyxlex.h"
7070 * lyxtextclasslist.C (Add): remove method
7071 (classlist): renamed to classlist_
7073 * paragraph_pimpl.C:
7077 * bufferview_funcs.C:
7082 * toc.C (getTocList): use BufferParams::getLyXTextClass
7084 * toc.C (getTocList): use InsetFloat::addToToc
7086 * toc.[Ch]: new files, containing helper functions to handle table
7089 * lyxfunc.C (dispatch): no need to remove spaces around command
7091 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7092 first command of the sequence; it is not very clever, but I do not
7093 have a better idea, actually
7095 * LyXAction.C (LookupFunc): make sure to remove space at the
7096 beginning and end of the command
7098 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7100 * MenuBackend.C (getMenubar): new method: return the menubar of
7102 (read): treat differently reading of menu and menubar (in
7103 particular, the menubar has no name now)
7104 (Menu::menubar): remove
7106 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7109 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7111 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7112 a bibitem inset in a RTL paragraph.
7114 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7116 * paragraph_pimpl.C: constify
7118 * BufferView_pimpl.C:
7120 * lyxfunc.C: fix dispatch in a nicer way
7122 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7124 * lyxfunc.C (dispatch):
7125 * BufferView_pimpl.C:
7126 * BufferView_pimpl.h:
7128 * BufferView.h: rename Dispatch() to dispatch()
7130 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7132 * lyxlayout.C (Read): honor DependsOn tag
7134 * lyxlayout.[Ch] (depends_on): new method
7136 * version.C.in: update lyx_docversion
7138 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7140 * paragraph.C (validate): remove from here...
7141 * paragraph_pimpl.C (validate): ... and move here
7142 (isTextAt): make it const
7144 * buffer.C (getLists): ws cleanup
7146 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7148 * language.C (read): Use iso8859-1 encoding in latex_lang
7149 (this prevents LyX from crashing when using iso10646-1 encoding).
7151 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7153 * text2.C (toggleInset): if cursor is inside an inset, close the
7154 inset and leave cursor _after_ it
7156 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7158 * lyxfunc.C: move minibuffer completion handling out of here
7160 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7162 * BufferView_pimpl.C:
7163 * LaTeX.C: fix dispatch calls
7165 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7167 * text.C (drawChars): Fix Arabic text rendering.
7169 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7173 * lyxfunc.C: remove message-push/pop
7177 * lyxfunc.C: rationalise some code by removing verboseDispatch
7178 in favour of a bool argument to dispatch()
7180 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7182 * lyx_main.C (init): make sure to read symlinks as absolute paths
7184 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7187 * lyxfunc.C: no need for commandshortcut to be a member
7189 2002-07-15 André Pönitz <poenitz@gmx.net>
7191 * converter.C: add support for $$s (scripts from lib/scripts dir)
7192 * lyx_main.C: white space
7194 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7198 * lyxrc.C: remove second exit confirmation
7200 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7205 * BufferView_pimpl.h:
7206 * BufferView_pimpl.C:
7207 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7209 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7211 * MenuBackend.C (expand): add numeric shortcuts to document menu
7213 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7215 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7217 * lyxfont.C (setLyXFamily):
7224 * buffer.C (asciiParagraph): use ascii_lowercase
7226 2002-07-15 Mike Fabian <mfabian@suse.de>
7228 * lyxlex_pimpl.C (search_kw):
7229 * lyxlex.C (getLongString):
7230 * converter.h (operator<):
7231 * converter.C (operator<):
7232 * buffer.C (parseSingleLyXformat2Token):
7234 * ToolbarDefaults.C (read):
7235 * MenuBackend.C (checkShortcuts):
7237 * LColor.C (getFromGUIName):
7238 (getFromLyXName): use the compare_ascii_no_case instead of
7239 compare_no_case, because in turkish, 'i' is not the lowercase
7240 version of 'I', and thus turkish locale breaks parsing of tags.
7242 2002-07-16 Angus Leeming <leeming@lyx.org>
7244 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7245 now takes a Buffer const & argument.
7247 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7249 * BufferView.C (resize): check there's a buffer to resize
7251 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7253 * lyxfunc.C: remove dead code
7256 * lyxserver.C: use lyx_guii::set_read_callback
7258 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7260 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7261 an inset in a RTL paragraph.
7263 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7265 * lyxfunc.C: repaint after a font size update
7267 2002-07-15 André Pönitz <poenitz@gmx.net>
7269 * lyxlength.C: inBP should be able to return negative values
7271 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7273 * lyxfunc.C: use lyx_gui::update_fonts()
7275 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7277 * lyxfunc.C: use lyx_gui::update_color()
7279 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7285 * lyxrc.C: remove file->new asks for name option, and let
7286 buffer-new take an argument
7288 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7290 * BufferView_pimpl.C: remove unneeded extra repaint()
7292 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7294 * LyXAction.C: allow command-sequence with NoBuffer
7296 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7298 2002-07-10 Angus Leeming <leeming@lyx.org>
7300 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7302 2002-07-09 Angus Leeming <leeming@lyx.org>
7304 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7306 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7308 * lengthcommon.h: whitespace
7310 * lyxfunc.C: update scrollbar after goto paragraph
7312 * lyxtext.h: factor out page break drawing, and fix it so
7313 page break/added space paints as selected nicely
7315 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7317 * BufferView_pimpl.C: add FIXMEs, clean up a little
7319 2002-07-09 André Pönitz <poenitz@gmx.net>
7321 * lyxfont.[Ch]: support for wasy symbols
7323 2002-07-08 André Pönitz <poenitz@gmx.net>
7325 * BufferView_pimpl.C: apply John's patch for #93.
7327 2002-07-05 Angus Leeming <leeming@lyx.org>
7329 * BufferView_pimpl.C (buffer): generate previews if desired.
7331 * LColor.h: add "preview" to the color enum.
7333 * LColor.C (LColor): add a corresponding entry to the items array.
7335 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7338 2002-07-05 Angus Leeming <leeming@lyx.org>
7340 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7341 The body of the code is now in the method that is passed an ostream &
7342 rather than a file name.
7343 Pass an additional only_preamble parameter, useful for the forthcoming
7346 2002-07-03 André Pönitz <poenitz@gmx.net>
7348 * lyxfunc.C: simplify getStatus() a bit for math stuff
7350 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7352 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7354 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7356 * text.C (changeRegionCase): do not change case of all the
7357 document when region ends at paragraph end (bug #461)
7359 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7361 * paragraph.C (startTeXParParams):
7362 (endTeXParParams): add \protect when necessary
7364 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7366 * BufferView_pimpl.C (workAreaExpose): remove warning
7368 2002-06-27 Angus Leeming <leeming@lyx.org>
7370 * Makefile.am: add lyxlayout_ptr_fwd.h.
7372 2002-06-26 André Pönitz <poenitz@gmx.net>
7374 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7376 2002-06-25 Angus Leeming <leeming@lyx.org>
7378 * lyxfunc.C (dispatch): Comment out the call to
7379 grfx::GCache::changeDisplay. The method no longer exists now that the
7380 pixmap generation part of the graphics loader has been moved into
7383 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7385 * text2.C: layout as layout
7387 * text.C: layout as layout
7389 * tabular.C (OldFormatRead): layout as layout
7391 * paragraph_pimpl.C (TeXDeeper): layout as layout
7392 (realizeFont): layout as layout
7394 * paragraph.C (writeFile): layout as layout
7395 (validate): layout as layout
7396 (getFont): layout as layout
7397 (getLabelFont): layout as layout
7398 (getLayoutFont): layout as layout
7399 (breakParagraph): layout as layout
7400 (stripLeadingSpaces): layout as layout
7401 (getEndLabel): layout as layout
7402 (getMaxDepthAfter): layout as layout
7403 (applyLayout): layout as layout
7404 (TeXOnePar): layout as layout
7405 (simpleTeXOnePar): layout as layout
7406 (TeXEnvironment): layout as layout
7407 (layout): layout as layout
7408 (layout): layout as layout
7410 * lyxtextclass.C (compare_name): new functor to work with
7411 shared_ptr, layout as layout
7412 (Read): layout as layout
7413 (hasLayout): layout as layout
7414 (operator): layout as layout
7415 (delete_layout): layout as layout
7416 (defaultLayout): layout as layout
7418 * lyxlayout_ptr_fwd.h: new file
7420 * lyxlayout.C (Read): layout as layout
7422 * lyx_cb.C (MenuInsertLabel): layout as layout
7424 * bufferlist.C (newFile): layout as layout
7426 * buffer.C (readLyXformat2): layout as layout
7427 (parseSingleLyXformat2Token): layout as layout
7428 (insertStringAsLines): layout as layout
7429 (asciiParagraph): layout as layout
7430 (latexParagraphs): layout as layout
7431 (makeLinuxDocFile): layout as layout
7432 (simpleLinuxDocOnePar): layout as layout
7433 (makeDocBookFile): layout as layout
7434 (simpleDocBookOnePar): layout as layout
7435 (getLists): layout as layout
7437 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7439 * CutAndPaste.C (cutSelection): layout as layout
7440 (pasteSelection): layout as layout
7441 (SwitchLayoutsBetweenClasses): layout as layout
7443 * BufferView_pimpl.C (Dispatch): layout as layout
7444 (smartQuote): layout as layout
7446 * BufferView2.C (unlockInset): layout as layout
7448 2002-06-24 André Pönitz <poenitz@gmx.net>
7450 * lyxfunc.C: fix #487
7452 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7456 * lyxfunc.C: remove display_shortcuts, show_banner
7458 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7460 * Buffer_pimpl.C: oops, update on resize
7462 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7469 * BufferView.C: use repaint()
7471 * BufferView_pimpl.h:
7472 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7473 as it's a clearer description. Remove superfluous
7476 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7478 * text.C: fix bug 488. Not ideal, but getting
7479 getWord() to work properly for the insets that
7480 matter is more difficult ...
7482 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7484 * BufferView_pimpl.C:
7487 * lyxfunc.C: remove the six million index lyxfuncs to just
7488 one, and DTRT (bug 458)
7490 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7494 * BufferView_pimpl.h:
7495 * BufferView_pimpl.C: clean up resize() stuff,
7496 and unnecessary updateScreen()s
7498 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7502 * BufferView_pimpl.h:
7503 * BufferView_pimpl.C:
7506 * minibuffer.C: remove focus management of workarea,
7507 not needed. Use screen's greyOut()
7509 2002-06-17 Herbert Voss <voss@lyx.org>
7511 * converter.C: (convert) do not post a message, when converting
7512 fails, let the calling function decide what to do in this case
7514 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7516 * lyxfunc.C: tidy up a little
7518 2002-06-16 <alstrup@diku.dk>
7520 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7521 Got rid of FORMS_H_LOCATION include. Now we are
7524 2002-06-15 LyX Development team <lyx@rilke>
7526 * buffer.[Ch] (sgmlOpenTag):
7527 (sgmlCloseTag): Added support for avoiding pernicious mixed
7528 content. Return number of lines written.
7531 (makeDocBookFile): Fixed calls to sgml*Tag.
7532 Simple white space clean.
7534 (simpleDocBookOnePar): Simple white space clean.
7536 * tabular.[Ch] (docBook): Renamed to docbook and got another
7537 argument to related with the pernicious mixed content.
7539 (docbookRow): Fixed calls for docbook inset method.
7541 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7543 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7544 so it's X11 independent.
7548 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7550 2002-06-15 Lyx Development team <lyx@electronia>
7552 * intl.h: Renamed getTrans to getTransManager.
7554 2002-06-14 Angus Leeming <leeming@lyx.org>
7556 * Makefile.am: nuke forgotten stl_string_fwd.h.
7558 2002-06-12 Angus Leeming <leeming@lyx.org>
7560 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7562 2002-06-13 Angus Leeming <leeming@lyx.org>
7565 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7567 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7569 * kbmap.C (getiso): add support for cyrillic and greek
7571 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7575 * BufferView_pimpl.h:
7576 * BufferView_pimpl.C: move bogus scrolling logic
7579 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7582 * BufferView_pimpl.C: view->resize() change
7584 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7586 * BufferView_pimpl.C: topCursorVisible
7589 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7593 * lyx_gui.C: move to frontends/
7597 * lyx_main.C: changes from above
7599 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7606 * lyx_main.C: minor tidy
7608 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7610 * BufferView_pimpl.h:
7611 * BufferView_pimpl.C:
7613 * BufferView.C: make painter() const,
7616 * BufferView2.C: use screen() accessor
7619 * lyx_main.C: some minor cleanup
7621 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7623 * BufferView_pimpl.h:
7624 * BufferView_pimpl.C: remove enter/leaveView,
7627 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7632 * BufferView_pimpl.h:
7633 * BufferView_pimpl.C: only construct screen once,
7636 * lyxrc.C: remove pointless comment
7638 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7641 * BufferView.C: remove active() and belowMouse()
7643 * BufferView_pimpl.h:
7644 * BufferView_pimpl.C: use workarea() not workarea_,
7645 and make it use a scoped_ptr instead
7647 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7649 * lyx_gui.C: add debug message on BadWindow
7651 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7653 * sp_spell.C: fdopen is not part of the C++ standard.
7655 * paragraph.C (InsetIterator): use >= instead of ==
7657 2002-06-07 Angus Leeming <leeming@lyx.org>
7659 Fixes needed to compile with Compaq cxx 6.5.
7660 * BufferView_pimpl.C:
7667 * lyxtextclasslist.C:
7672 all c-library variables have been moved into namespace std. Wrap
7673 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7678 Add a using std::abs declaration.
7680 * kbmap.h (modifier_pair):
7681 * paragraph.h (InsetTable, InsetList):
7682 * lyxfont.h (FontBits):
7683 type definition made public.
7685 * bufferlist.C (emergencyWriteAll): the compiler complains that
7686 there is more than one possible lyx::class_fun template to choose from.
7687 I re-named the void specialisation as lyx::void_class_fun.
7689 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7691 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7692 the compiler is is unable to find tostr in write_attribute.
7694 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7696 * buffer.C (sgmlError): hide #warning
7698 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7700 * xtl/*: get rid of xtl, which is not in use anyway
7702 * LyXAction.C (init):
7703 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7704 were unimplemented xtl experimentation
7706 2002-06-04 André Pönitz <poenitz@gmx.net>
7708 * lyxfunc.C: disable array operation on simple formulae
7710 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7712 * converter.C: constify a bit
7714 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7716 * lyx_gui.C: check xforms version correctly
7718 2002-04-30 Herbert Voss <voss@lyx.org>
7720 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7723 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7725 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7726 attempt to register it with a VCS)
7728 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7730 * lyx_main.C (init): honor variables LYX_DIR_13x and
7733 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7737 * lyx_main.C: fix a crash on bad command line,
7738 and give a useful exit status on error
7740 * lyxfunc.C (doImport): allow -i lyx to work
7742 2002-03-30 André Pönitz <poenitz@gmx.net>
7744 * lyxfunc.C: mathed font changes
7746 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7761 * trans_mgr.h: srcdocs, and some minor cleanups
7763 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7765 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7766 call getFont all the time)
7768 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7770 * switch from SigC signals to boost::signals
7772 2002-05-29 André Pönitz <poenitz@gmx.net>
7774 * paragraph_pimpl.C (getChar): don't call size() too often...
7776 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7778 * paragraph_pimpl.C (insertChar): do not try to update tables when
7779 appending (pos == size())
7781 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7782 in order to reduce drastically the number of comparisons needed to
7783 parse a large document
7785 2002-05-29 André Pönitz <poenitz@gmx.net>
7791 * textclasslist.[Ch]:
7792 * sp_ispell.h: whitespace change
7794 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7796 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7797 lyxaction directly now.
7799 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7803 * lyxvc.C: remove unused headers
7805 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7812 * undo_funcs.C: some cleanups. Use shared_ptr
7813 and a template for the undo stacks.
7815 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7817 * BufferView_pimpl.h:
7818 * BufferView_pimpl.C:
7825 * text2.C: use key_state/mouse_state
7827 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7829 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7832 * chset.C: change include order
7833 (loadFile): use boost regex and get rid of LRegex and LSubstring
7835 * Makefile.am (BOOST_LIBS): new variable
7838 * LaTeX.C: change include order.
7839 (scanAuxFile): use boost regex and get rid of LRegex and
7843 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7848 * FontInfo.C: moved to frontends/xforms/
7851 * FontLoader.C: moved into frontends for GUIIzation
7856 * lyxfunc.C: changes from above
7858 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7860 * LColor.C: remove spurious X include
7862 * BufferView_pimpl.C:
7867 * text2.C: move font metrics to frontends/
7869 2002-05-24 Juergen Vigna <jug@sad.it>
7871 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7872 setting the undo_cursor.
7874 * ParagraphParameters.h: include local includes first.
7876 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7878 * BufferView_pimpl.C:
7879 * BufferView_pimpl.h:
7883 * screen.C: move WorkArea into frontends/
7889 * BufferView2.C: move LyXScreen into frontends/
7893 * lyx_gui.C: move lyxlookup into frontends/xforms/
7895 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7898 * BufferView_pimpl.C:
7908 * bufferview_funcs.C:
7921 * vc-backend.C: move LyX/XFormsView into frontends/
7923 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7935 * text2.C: move Painter to frontends/
7937 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7939 * buffer.C: comment out some some code that depend upon lyx_format
7942 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7943 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7945 * buffer.h (NO_COMPABILITY): turn off compability
7947 * ColorHandler.C: include scoped_array.hpp
7949 * font.C: Use more specific smart_ptr header.
7952 * ShareContainer.h: ditto
7956 * BufferView_pimpl.h: ditto
7957 * ColorHandler.h: ditto
7959 * kbmap.C (defkey): change call to shared_ptr::reset
7961 2002-05-21 Juergen Vigna <jug@sad.it>
7963 * buffer.C (insertErtContents): fix to insert ert asis if it is
7964 non empty. Skip it completely if it contains only whitespaces.
7966 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7968 * BufferView_pimpl.C:
7969 * BufferView2.C: clear selection on paste (bug 393)
7971 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7973 * DepTable.C: include ctime
7975 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7977 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7979 2002-05-14 Juergen Vigna <jug@sad.it>
7981 * text.C (breakParagraph): fixed function to honor the keepempty
7982 layout in the right maner and also to permit the right breaking
7983 algorithm on empty or non empyt keepempty paragraphs.
7985 * paragraph.C (breakParagraph): we have to check also if the par
7986 is really empty (!size()) for isempty otherwise we do the wrong
7989 2002-05-10 Juergen Vigna <jug@sad.it>
7991 * buffer.[Ch] : The following are only changes to the ert
7992 compatibility read reading old LaTeX layout and font stuff and
7993 convert it to ERTInsets.
7995 * buffer.h: added isErtInset().
7997 * buffer.C (struct ErtComp): add a fromlayout bool to check
7998 if we're inside a LaTeX layout.
7999 (isErtInset): new helper function.
8000 (insertErtContents): look for other ert insets before this one
8001 and insert the contents there, so that we don't have subsequent
8002 ERT insets with nothing between them. This way we create only one
8003 inset with multiple paragraphs. Also check if we don't insert only
8004 spaces ' ' as they are ignored anyway afterwards in the .tex file
8005 so if we have only spaces we will ignore this latex part in the
8007 (parseSingleLyXformat2Token \\layout): better compatibility when
8008 reading layout-latex stuff.
8009 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8011 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8012 stuff after reading the inset only get the information back from
8015 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8017 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8019 * LaTeXFeatures.C (getBabelOptions): New method.
8021 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8023 * BufferView_pimpl.C (Dispatch): work around missing argument for
8026 2002-05-08 Juergen Vigna <jug@sad.it>
8028 * text.C (leftMargin): handle paragraph leftindent.
8030 * paragraph.C (writeFile): write the new \\leftindent tag.
8031 (validate): handle leftindent code.
8032 (TeXEnvironment): handle paragraphleftindent code again.
8034 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8036 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8037 for paragrap_extra indent code and new token \\leftindent.
8038 (latexParagraphs): handle the leftindent as environment.
8040 * ParameterStruct.h: added leftindent support.
8042 * ParagraphParameters.C (leftIndent): added support functions for
8043 the paragraph left indent.
8045 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8048 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8050 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8053 * text.C (computeBidiTables): No bidi in insetERT.
8055 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8058 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8060 * version.C.in: pre 5
8062 2002-05-02 José Matos <jamatos@fep.up.pt>
8063 * buffer.C (makeDocBookFile): white space changes, add newline to
8065 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8067 * tabular.C (docBook): fix typo.
8069 2002-05-03 Juergen Vigna <jug@sad.it>
8071 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8072 change in LyXText as we can not be sure it was not freed.
8073 (drawOneRow): remove unused code.
8075 * text.C (drawInset): redo the calculation of the need_break_row as
8076 it could have a row which was already freed.
8077 (draw): look at the return value of drawInset and return false if
8078 it also returned false.
8079 (paintRowText): look at the return value of draw and return false if
8080 it also returned false.
8082 * lyxtext.h: added bool return type to drawInset() and draw() so that
8083 if we have a change in the row so that the rowbreak has to be redone
8084 we abort drawing as it will be called again.
8086 2002-05-02 Juergen Vigna <jug@sad.it>
8088 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8089 a change in the maintext also if we're inside an inset.
8090 (Dispatch): set the cursor again after a break line and after the
8091 screen has been updated as it could be we're in a different row.
8093 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8094 to set the cursor behind the pargraph with > size().
8095 (setCursor): check also for the same paragraph when checking where
8096 to put the cursor if we have a NFR inset.
8098 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8099 parts of layout read further up as it still was in the wrong
8102 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8104 * screen.C (drawFromTo): change sine fullRebreak always return
8107 * buffer.C (parseSingleLyXformat2Token): reindent some
8109 * BufferView_pimpl.C (update): change since fullRebreak always
8111 (Dispatch): git rid of the last hardcoded "Standard"s.
8113 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8115 * text2.[Ch] (fullRebreak): make it return void now that we always
8118 2002-04-30 Juergen Vigna <jug@sad.it>
8120 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8121 ert compatibility check for "latex" layout.
8123 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8125 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8126 minipages: use col% instead of p%, and also use the current font.
8127 (makeLaTeXFile): Fix use babel condition.
8128 (parseSingleLyXformat2Token): Correct font when reading old floats.
8130 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8132 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8133 inserting list of floats.
8135 2002-04-25 Herbert Voss <voss@lyx.org>
8137 * MenuBackend.C (expand): don't add the graphics extensions to the
8140 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8142 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8143 non-existing layout, do not complain if it was the default layout
8144 of the original class (bug #342)
8146 2002-04-24 Juergen Vigna <jug@sad.it>
8148 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8149 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8151 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8153 * buffer.C (getBibkeyList): If using \bibliography, return the
8154 option field with the reference itself. Enables us to provide natbib
8155 support when using \bibliography.
8157 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8159 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8161 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8162 natbib is provided by the LaTeX class.
8164 2002-04-23 Juergen Vigna <jug@sad.it>
8166 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8169 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8171 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8173 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8175 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8176 ensuremath around textordmasculine, textordfeminine and
8179 2002-04-19 Juergen Vigna <jug@sad.it>
8181 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8182 reinitializing the buffer otherwise row-dimensions may be wrong.
8183 (update): reset also the selection cursors if they do exits otherwise
8184 their x/y positions may be wrong.
8186 * text2.C (cursorDown): don't enter the inset if we came from a row
8187 above and are one row over the inset.
8189 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8190 really leaving an inset.
8192 2002-04-18 Juergen Vigna <jug@sad.it>
8194 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8195 of the selected paragraph does not have the selected layout also if
8198 * text2.C (setLayout): fixed bug which did not change last selected
8201 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8202 changed the read and substituted \\end_float with \\end_inset!
8204 * BufferView_pimpl.C (cursorPrevious):
8205 (cursorNext): fixed to make it work with rows heigher than the work
8206 area without moving the cursor only the draw of the row.
8207 (workAreaMotionNotify): fix jumping over high rows.
8209 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8211 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8214 2002-04-16 Juergen Vigna <jug@sad.it>
8216 * text2.C (setCursor): set also the irow().
8217 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8219 (cursorDown): support for locking an inset if the x_fix value goes
8220 inside it. That way I can transverse insets too with cursor up/down.
8222 * lyxrow.h: added irow helper function same as other (i) functions.
8224 * BufferView_pimpl.C (cursorPrevious):
8225 (cursorNext): fixed for insets!
8227 2002-04-15 Juergen Vigna <jug@sad.it>
8229 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8230 position otherwise it is wrong in some cases.
8232 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8233 inside the inset before the call.
8235 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8237 * buffer.[Ch] (getBibkeyList): make it const.
8239 2002-04-12 Juergen Vigna <jug@sad.it>
8241 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8243 * text2.C (getCursorX): new helper function
8244 (setCursor): compute also ix_
8245 (setCursorFromCoordinates): set also ix.
8247 * lyxcursor.h: added ix_ and helper functions.
8249 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8251 * buffer.C (insertStringAsLines): dont break paragraph if the this
8252 paragraph is inside an inset which does not permit it!
8254 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8255 also with no chars on this paragraph.
8256 (paintRowText): only paint stuff if it's inside the workarea!
8258 * paragraph.C (breakParagraph): honor keepempty flag and break the
8259 paragraph always below not above.
8261 * BufferView2.C (unlockInset): update the paragraph layout on inset
8262 unlock as we changed paragraph in such a case.
8264 * lyxfind.C (LyXFind): clear the former selection if not found!
8266 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8267 again called in insertChar().
8269 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8270 an inset which uses the whole row!
8271 (rightMargin): ditto.
8272 (insertChar): force a rebreak if we inserted an inset!
8274 2002-03-28 Herbert Voss <voss@lyx.org>
8276 * lyxlength.[Ch]: add inBP() to get the right PS-point
8277 units (BigPoint). With inPixels we have rounding errors
8279 2002-04-11 Juergen Vigna <jug@sad.it>
8281 * text2.C (setCursorFromCoordinates): set iy to the right value.
8282 (setCursor): add check if row->previous exists!
8284 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8285 an old float_type as this was the case in the old code!
8287 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8289 * BufferView2.C (showLockedInsetCursor): use iy
8290 (fitLockedInsetCursor): ditto
8292 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8293 locked insets as there we have the right value now.
8295 * lyxcursor.C: added iy_ variable and iy functions to set to the
8296 baseline of cursor-y of the locked inset.
8298 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8299 (setCursor): fixed for insets which need a full row.
8301 * text.C (rowLastPrintable): don't ignore the last space when before
8302 an inset which needs a full row.
8303 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8304 as last character of a row when before a inset which needs a full row.
8306 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8308 * version.C.in: update date
8310 * text2.C (fullRebreak): try to always return true and see what
8313 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8315 * MenuBackend.C (expand): use Floating::listName
8317 * FloatList.C (FloatList): add listName argument to the built-in
8320 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8321 text associated with the float.
8323 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8325 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8327 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8329 * ShareContainer.h: add a couple of missing typenames.
8331 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8333 * lyxrc.C (getDescription): use _() correctly rather than N_().
8335 2002-03-28 Herbert Voss <voss@lyx.org>
8337 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8338 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8340 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8342 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8343 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8345 2002-03-29 Juergen Vigna <jug@sad.it>
8347 * lyxfunc.C (dispatch): add a missing fitCursor call.
8349 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8350 it was scrolled by a cursor move, so return the bool status.
8352 * BufferView.C (fitCursor): return the bool flag also to the outside
8353 world as this is needed.
8355 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8357 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8358 call the edit() as it is not needed (and wrong) IMO.
8359 (workAreaButtonPress): set the screen_first variable before evt.
8360 unlock the inset as this may change screen_first and then we have
8361 a wrong y position for the click!
8363 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8365 * MenuBackend.C (expand): another translation that I missed
8367 2002-03-28 Juergen Vigna <jug@sad.it>
8369 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8371 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8373 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8375 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8377 * MenuBackend.C (expand): fix export/view/update when there is no
8380 2002-03-27 Herbert Voss <voss@lyx.org>
8382 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8385 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8387 * bufferview_funcs.C (currentState): only show paragraph number
8388 for is DEVEL_VERSION is set.
8390 * lyxfunc.C (dispatch): put warning in INFO channel
8392 * MenuBackend.C (expand): translate the name of floats
8394 * FloatList.C (FloatList): mark the float names for translation
8396 * converter.C (convert): use LibScriptSearch
8398 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8400 * MenuBackend.C (defaults): fix default menu (we might as well get
8403 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8405 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8408 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8410 * lyxvc.C: reorder includes.
8412 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8414 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8417 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8419 * CutAndPaste.C: change layouts earlier on paste
8420 to avoid crashing when calling getFont()
8422 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8424 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8427 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8429 * WorkArea.C: remove 'Pending' debug message.
8431 * most files: ws cleanup
8433 * buffer.[Ch]: ws changes
8435 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8437 2002-03-21 Juergen Vigna <jug@sad.it>
8439 * tabular.C (SetMultiColumn): collapse also the contents of the
8440 cells and set the last border right. Added a Buffer const * param.
8442 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8444 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8447 2002-03-19 Juergen Vigna <jug@sad.it>
8449 * text2.C (clearSelection): reset also xsel_cache.
8451 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8452 where it needs to be called (John tells us to do so too :)
8453 (selectionLost): reset sel_cache.
8455 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8457 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8459 * text2.C (setCursorIntern): put debuging code in INSETS channel
8461 2002-03-19 André Pönitz <poenitz@gmx.net>
8463 * lyxfunc.C: tiny whitespace change
8465 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8467 * ToolbarDefaults.C (init):
8468 * LyXAction.C (init):
8470 * BufferView_pimpl.C (Dispatch):
8471 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8473 2002-03-19 Allan Rae <rae@lyx.org>
8475 * exporter.C (Export): removeAutoInsets before doing anything else.
8476 While I've just introduced a dependency on BufferView this really is
8477 the best place to clean the buffer otherwise you need to cleanup in
8478 a dozen places before calling export or cleanup in a dozen functions
8481 * converter.C (runLaTeX):
8482 (scanLog): Better handling of removeAutoInsets and screen updates.
8484 * lyxfunc.C (dispatch): small whitespace changes
8486 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8488 * WorkArea.C (C_WorkAreaEvent): return a value.
8489 (event_cb): return 1 if we handled the event, 0 otherwise.
8491 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8493 2002-03-18 Juergen Vigna <jug@sad.it>
8495 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8496 (GetAdditionalWidth): ditto.
8500 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8501 inset if we're there actually (probably not used right now but this
8502 is the direction to go for unifying code).
8503 (paste): disable code to clear the selection.
8505 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8506 inside an InsetText and move the check further up as it is in the
8509 * text2.C (pasteSelection): set a selection over the pasted text.
8511 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8513 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8514 and libgraphics to build on Cygwin.
8516 2002-03-15 Juergen Vigna <jug@sad.it>
8518 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8519 inserting an Inset into the paragraph. I know this is not the best
8520 fix but we already use current_view in CutAndPaste so we will remove
8521 all of it's using at the same time.
8523 * buffer.C (sgmlError): deactivated function till it is rewritten in
8524 the right mode, now it can create problems.
8526 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8527 before accessing it.
8529 2002-03-14 Juergen Vigna <jug@sad.it>
8531 * undo_funcs.C (textHandleUndo): do the right thing when updating
8532 the inset after the undo/redo.
8534 * text2.C (setCursor): just some testcode for #44 not ready yet.
8536 * undo_funcs.C (textHandleUndo): set the next() and previous()
8537 pointers of the paragraph to 0 before deleting otherwise we have
8538 problems with the Paragraph::[destructor].
8540 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8541 on a paragraph insertion.
8543 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8545 * buffer.C (asciiParagraph): use += operator for char append to
8548 * paragraph.C (getFontSettings): compare >= not just >
8549 (highestFontInRange): ditto
8552 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8554 * paragraph.C: change several algorithm to be more appripriate for
8555 the problem domain. This is lookip in FontList and in the InsetList.
8557 2002-03-13 André Pönitz <poenitz@gmx.net>
8560 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8562 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8567 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8569 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8571 * Painter.C (display): anon helper function, adjust code for this
8573 (pixmap): remove function.
8575 * Painter.h: remove private display variable.
8577 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8579 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8581 * WorkArea.[Ch]: remove figinset_canvas cruft.
8583 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8585 * lyxtextclass.C (operator): add one item cache optimization.
8587 * bufferlist.h: doxy changes
8589 * bufferlist.C: ws changes
8591 * DepTable.[Ch] (ext_exist): place const in the right spot.
8593 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8595 (workAreaExpose): call resizeInsets when the with BufferView changes.
8596 (Dispatch): adjust for protectedBlank removal
8597 (specialChar): call updateInset if the insert went ok.
8599 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8600 specialChar instead.
8602 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8604 * BufferView.h: doxy change
8606 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8608 * lyxtextclass.C (operator[]): remove non-const version
8609 (defaultLayout): remove non-const version
8611 2002-03-12 Juergen Vigna <jug@sad.it>
8613 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8614 did resize the LyXText too.
8616 * buffer.C (readLyXformat2): set layout information on newly allocated
8619 * tabular.C (OldFormatRead): set layout information on the paragraph.
8621 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8623 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8625 2002-03-11 Juergen Vigna <jug@sad.it>
8627 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8629 (resizeCurrentBuffer): force also the insets to resize themselfes.
8630 (moveCursorUpdate): fixed up for InsetText.
8632 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8635 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8636 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8637 value of Dialogs::tooltipsEnabled().
8638 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8640 2002-03-08 Juergen Vigna <jug@sad.it>
8642 * BufferView_pimpl.C (updateInset): update inset inside inset also
8643 if it isn't inside theLockingInset().
8645 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8647 * buffer.C (asciiParagraph): redo some of the word and line length
8649 (getLists): look for Caption instead of caption.
8651 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8653 * buffer.C (Buffer): initialize niceFile to true
8656 (makeDocBookFile): make sure niceFile is true on exit
8658 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8660 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8662 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8664 * LyXSendto.C: remove.
8665 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8666 * lyx_gui.C: remove now-redundant comment.
8667 * ColorHandler.h: remove forward declaration of class WorkArea.
8668 * lyxfunc.C: remove #include "WorkArea.h".
8670 2002-03-07 Juergen Vigna <jug@sad.it>
8672 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8673 got moved away with the DEPM and also set the inset_owner always
8674 right which before could have been omitted.
8676 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8678 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8679 wanted layout is not found.
8681 2002-03-07 Juergen Vigna <jug@sad.it>
8683 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8685 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8687 * paragraph.C (breakParagraph): use default layout not layout of
8689 (Paragraph): clear ParagraphParameters.
8691 2002-03-06 Juergen Vigna <jug@sad.it>
8693 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8694 otherwise it would not be a valid lenght. Fixed a special case in
8695 the minipage compatibility read where we end the document with a
8698 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8699 was set as it could be 0 for InsetTexts first entry.
8701 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8703 * paragraph.C (writeFile): if layout is empty write out
8704 defaultLayoutName().
8706 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8707 file without named layout we set layout to defaultLayoutName().
8709 2002-03-06 Juergen Vigna <jug@sad.it>
8711 * CutAndPaste.C (copySelection): set layout for new paragraph.
8713 * text.C (prepareToPrint): leave ERT inset left aligned
8714 (leftMargin): don't indent paragraphs inside ERT insets
8716 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8718 * paragraph.C (breakParagraph): dont call clear do the work manually
8720 * paragraph.[Ch] (clear): remove function
8722 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8724 * paragraph.C (Paragraph): dont call clear, the work has already
8727 * lyxtextclass.C (operator): assert if n is empty
8729 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8730 work manually instead.
8732 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8734 * BufferView_pimpl.C: protect selectionLost against text == 0
8736 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8738 * text.C (breakParagraph): fix a setting layout to '0' problem.
8740 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8742 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8743 final location of file, for the included files, and graphics.
8745 2002-03-05 Juergen Vigna <jug@sad.it>
8747 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8749 2002-03-04 Juergen Vigna <jug@sad.it>
8751 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8753 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8754 last column of multicolumn cells.
8755 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8757 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8759 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8760 file if it doesn't go to a temporary file.
8762 * buffer.C (sgmlOpenTag):
8763 (sgmlCloseTag): remove extra newline insertion.
8765 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8767 * text.C (getRowNearY): comment out debug msg
8769 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8771 * text2.C: first -> first_y
8773 * text.C (getRowNearY): add some attemts at a possible
8774 optimization, not working.
8776 * tabular.[Ch]: add BufferParams to several function so that newly
8777 created paragraph can be initialized to he default layotu for the
8780 * tabular-old.C (ReadOld): add buf->params to call of Init
8782 * screen.C: rename text->first to text->first_y
8784 * paragraph.C (breakParagraph): always set layout in the broken
8787 * lyxtextclass.C (Read): remove lowercase
8790 (delete_layout): ditto
8792 * lyxtext.h: rename first -> first_y
8794 * lyxlayout.C (Read): remove lowercase
8797 (obsoleted_by): ditto
8799 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8801 * buffer.C (insertErtContents): add params are to InsetERT
8802 (parseSingleLyXformat2Token): add code to check if a paragraphs
8803 layout really exist.
8804 (parseSingleLyXformat2Token): add params to several inset
8806 (asciiParagraph): remove lowercase, do the layout comparisons with
8809 * BufferView_pimpl.C (cursorNext): first -> first_y
8810 (resizeCurrentBuffer): first -> first_y
8811 (updateScrollbar): first -> first_y
8812 (scrollCB): first -> first_y
8813 (workAreaMotionNotify): first -> first_y
8814 (workAreaButtonPress): first -> first_y
8815 (checkInsetHit): first -> first_y
8816 (cursorPrevious): first -> first_y
8817 (cursorNext): first -> first_y
8818 (Dispatch): add buffer_->params to severl inset contructors
8820 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8822 * lyxlayout.C (Read): remove some debug info that I forgot.
8824 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8825 clean up the code slightly.
8826 (makeLinuxDocFile): ditto
8827 (makeDocBookFile): ditto
8829 * text2.C: layout as string
8831 * text.C: layout as string
8833 * paragraph_pimpl.C: layout as string
8835 * paragraph.[Ch]: layout as string
8837 * lyxtextclasslist.[Ch]: layout as string
8839 * lyxtextclass.[Ch]: layout as string
8841 * lyxtext.h: layout as string
8843 * lyxlayout.[Ch]: layout as string
8845 * lyx_cb.C: layout as string
8847 * bufferview_funcs.C: layout as string
8849 * bufferparams.C: layout as string
8851 * buffer.C: layout as string
8853 * LyXView.[Ch]: layout as string
8855 * LaTeXFeatures.[Ch]: layout as string
8857 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8859 * BufferView_pimpl.C: change current_layout to string, remove
8864 (workAreaButtonRelease): layout as string
8866 * BufferView2.C (unlockInset): adjust
8868 * vspace.C (asLatexCommand): use an explict temp variable.
8870 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8872 * Makefile.am: use FRONTEND_*
8874 2002-03-01 Juergen Vigna <jug@sad.it>
8876 * tabular.C (SetWidthOfMulticolCell): changed to something better
8877 I hope but still work in progress.
8878 (recalculateMulticolumnsOfColumn): renamed function from
8879 recalculateMulticolCells as it is more appropriate now.
8880 (SetWidthOfCell): calculate multicols better.
8882 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8884 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8886 * lyxfunc.C (processKeySym): print sequence also if it is
8887 `deleted' (complete)
8889 * kbsequence.C (print): print sequence even if it is deleted
8890 (complete would be a better word, actually).
8892 * lyxfunc.C (dispatch): print complete options after a prefix key
8894 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8896 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8898 * text2.C (setCharFont): eliminate setCharFont code duplication.
8900 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8902 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8903 LFUN_TABULAR_FEATURE (bug #177)
8905 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8907 * Makefile.am: remove figure.h
8909 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8911 * Bufferview_pimpl.C:
8923 * text2.C: remove #include "lyx_gui_misc.h".
8925 * LaTeX.C: added #include <cstdio>
8927 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8929 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8930 that the paragraph following this one can have.
8932 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8934 * vspace.C (asLatexCommand): fix bogus gcc warning
8936 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8938 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8940 * text2.C (setLayout): get rid of redundant code
8942 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8944 * text2.C (incDepth): make sure depth cannot be increased beyond
8947 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8949 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8950 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8952 * PainterBase.h (image):
8953 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8956 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8960 * BufferView_pimpl.C:
8961 * BufferView_pimpl.h:
8981 * sp_spell.C: remove fig inset, and the crap house of
8982 cards that follows it
8984 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8990 * nt_defines.h: move .h into support/
8992 * vms_defines.h: remove
8994 * WorkArea.C: add space in debug output
8998 * buffer.C: add WITH_WARNINGS
9002 * bufferlist.C: s/retrive/retrieve/, add docs
9013 * lyxgui.C: add ID to X error handler
9015 * lyxtestclass.c: fix typo
9017 2002-02-26 Juergen Vigna <jug@sad.it>
9019 * tabular_funcs.C (write_attribute): changed so that some default
9020 attributes are not written at all.
9021 (getTokenValue): set default values before trying to read the
9022 value so we have the return value always set as default if we don't
9023 find the token we search for.
9025 * tabular.C (Write): write bools as bools not as strings!
9027 2002-02-22 Juergen Vigna <jug@sad.it>
9029 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9030 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9032 * text.C (leftMargin): don't add an indent for paragraphs inside
9033 tabular cells (fix #208).
9035 2002-02-21 José Matos <jamatos@fep.up.pt>
9037 * tabular.C (docBook): fixed support for long tables.
9039 2002-02-20 Juergen Vigna <jug@sad.it>
9041 * text2.C (getFont): get the drawing font of the Inset if this
9042 paragraph is inside an inset (only important for InsetERT for now).
9044 * buffer.C (insertErtContents): use new lanugage params in ERT
9047 * CutAndPaste.C: commenting out seemingly uneeded code.
9049 2002-02-19 Allan Rae <rae@lyx.org>
9051 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9052 Iterators might be simple to use but they also get invalidated.
9053 (removeAutoInsets): renamed saved cursor tracking variables and added
9054 some comments to clarify what everything does.
9056 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9063 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9064 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9067 * vc-backend.h: remove #include "support/syscall.h"
9071 * converter.C: rearrange #includes in Lars' approved fashion.
9073 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9074 forward declare class Timeout in the header file.
9076 * XFormsView.C: changes due to the above.
9078 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9081 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9082 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9084 2002-02-18 José Matos <jamatos@fep.up.pt>
9086 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9089 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9091 * a lot of small ws changes
9092 * add a lot of using std::XXX
9093 * use std construcs some places where approp.
9094 * use some exisint stuff from lyxfunctional where approp.
9095 * Make file changes to use partial linking (lets test this now...)
9097 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9101 remove #include "support/syscontr.h" as it's redundant. Always has been.
9109 change Systemcalls::System to Systemcalls::Wait and
9110 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9111 No change of functionality, just reflects the stripped down Systemcalls
9114 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9116 * debug.[Ch]: add a GRAPHICS type to the enum.
9118 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9120 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9122 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9125 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9127 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9128 match the changes below.
9130 * text2.C (toggleInset): if there is not editable inset at cursor
9131 position, try to see if cursor is _inside_ a collapsable inset
9134 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9136 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9137 document menu has a nice checkbox
9139 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9141 * lyxlength.C (asLatexString): change PW to output as percent of
9144 * lengthcommon.C: change '%' to 't%'
9146 * lyxfunc.C (dispatch): a few comments from Martin
9148 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9152 * BufferView_pimpl.h:
9153 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9156 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9158 * vspace.C (inPixels): fix compiler warning
9160 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9162 * lyxfunc.C (getStatus): fix status message for disabled commands.
9164 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9166 * BufferView_pimpl.C: fix crash on close buffer
9167 during selection (#227)
9169 2002-01-27 Herbert Voss <voss@lyx.org>
9171 * buffer.C: link old Figure to new graphic inset
9173 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9175 * FontLoader.C (getFontinfo): Change the latex font names in order
9176 to match the names of type1inst.
9178 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9180 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9182 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9185 (remove_files_with_extension): ditto
9186 (remove_file): ditto
9189 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9190 document is smaller than the work area height. Do not initialize
9191 static variables to 0.
9193 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9195 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9197 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9198 LFUN_LAYOUT_PARAGRAPHS.
9200 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9201 tabular. It is possible to provide a possible cell, which will
9202 typically be the actcell from the corresponding insettabular
9204 * lyxfunc.C (getStatus): small cleanup; disable
9205 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9208 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9210 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9212 * paragraph.C (startTeXParParams):
9213 (endTeXParParams): new methods. The LaTeX code to
9214 start/end paragraph formatting
9215 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9216 empty (fixes bug #200)
9218 * vspace.C (inPixels): adapt to the change below
9219 (inPixels): [later] more cleanups (remove unused variables)
9221 * lyxlength.C (inPixels): change to use a width and a height as
9224 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9226 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9227 Replaced with \paperwidth
9229 * DepTable.C (insert): add std:: qualifier
9231 2002-01-18 Allan Rae <rae@lyx.org>
9233 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9236 * text.C (drawInset): Turned out I didn't know enough about how
9237 rebreaking worked. This fixes most of the redraw problems. I see
9238 an occasional cursor trail when a line is broken now and the cursor
9239 placement can seem out by a few pixels also after a rebreak.
9241 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9243 * buffer.C (parseSingleLyXformat2Token): update because minipage
9244 width is now a LyXLength
9246 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9248 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9251 2002-01-17 Juergen Vigna <jug@sad.it>
9253 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9255 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9256 is set correctly and the inset is updated correctly.
9258 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9260 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9261 the beginning of the loop.
9263 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9265 * lyxrc.C: improve help for use_scalable_fonts
9267 2002-01-17 Allan Rae <rae@lyx.org>
9269 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9271 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9273 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9274 make sure to set their inset_owner to the right value (bug #171)
9276 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9279 * DepTable.C: Implement mtime checking to reduce time spent doing
9282 2002-01-16 Juergen Vigna <jug@sad.it>
9284 * tabular.C (GetAdditionalHeight): one of error fixed.
9286 * lyxrc.C (output): small fix in writing use_pspell.
9288 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9290 * sp_base.h: #include LString.h
9292 2002-01-16 Allan Rae <rae@lyx.org>
9294 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9295 Can someone check this please?
9297 * text.C (drawInset): It was possible that p.row would be removed by
9298 breakAgainOneRow upsetting a few other settings. There may be another
9299 small tweak possible by setting need_break_row = 0 when p.row has been
9300 removed but I don't know enough about the logic here.
9302 2002-01-15 Allan Rae <rae@lyx.org>
9304 * text.C (insertChar): removed conditional truism.
9306 * BufferView2.C (removeAutoInsets): More tweaks.
9307 cur_par_prev could be a stray pointer. Check for trailing empty line
9308 in case last line was cur_par and only had an error inset on it.
9310 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9312 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9315 * vc-backend.C (most methods):
9316 * exporter.C (Export):
9317 * converter.C (convert):
9319 * LyXSendto.C (SendtoApplyCB):
9320 * lyxfunc.C (dispatch):
9324 * lyx_cb.C (AutoSave):
9326 * BufferView_pimpl.C (MenuInsertLyXFile):
9327 * buffer.C (runChktex): use Buffer::filePath().
9329 * buffer.h: rename filename to filename_; rename filepath to
9330 filepath_ and make it private
9331 (filePath): new method
9333 * buffer.C (writeFile): use fileName()
9336 * lyx_main.C (init): fix starting of LyX when the binary is a
9337 link from so,ewhere else.
9339 * minibuffer.C: include <cctype> for isprint
9341 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9343 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9344 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9345 name clash with InsetCollapsable's width function.
9347 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9349 * lastfiles.C: include <iterator>
9351 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9353 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9356 * buffer.C (makeLaTeXFile): ditto.
9357 Also make loop operation more transparent.
9359 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9361 * ToolbarDefaults.C: remove trailing comma closing namespace.
9363 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9365 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9368 * trans.C (Load): comment out unused variable, allowed.
9370 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9372 * minibuffer.[Ch] (append_char): new method to recieve input from the
9373 drop-down completion browser. If a key was pressed, then recieve this
9374 char and append it to the existing string.
9375 (peek_event): modify the positioning data passed to the completion
9376 browser so that it can be placed above the minibuffer rather than below.
9377 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9379 * LyXAction.C (init): alloe error-next for readonly documents.
9381 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9384 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9386 * bufferlist.C (readFile): create the buffer _after_ checking that
9389 * lyxfunc.C (verboseDispatch): fix handling of arguments
9391 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9393 * lyxrc.C: use string::erase() instead of initializing to "".
9396 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9398 * BufferView_pimpl.h:
9399 * BufferView_pimpl.C:
9402 * text2.C: tell X when we have made a selection for copying
9404 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9406 * BufferView_pimpl.C (MenuInsertLyXFile):
9407 * lyxfunc.C (menuNew):
9409 (doImport): add shortcuts to directory buttons
9411 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9414 * lyxfunc.C (setStatusMessage):
9415 (getStatusMessage): new methods
9416 (getStatus):use setStatusMessage instead of setErrorMessage
9417 (dispatch): when function is disabled, set error message here
9418 [instead of in getStatus previously]
9420 * BufferView_pimpl.C (workAreaButtonRelease): update
9421 toolbar/menubar here too.
9423 2002-01-13 Allan Rae <rae@lyx.org>
9425 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9426 Now seems indestructible. Remaining task is to audit all other
9427 code affected by deleteEmptyParagraphMechanism. One small quirk
9428 left is that an empty document with an error in the preamble can
9429 be made to report an error but no error box appears. I don't know
9431 (removeAutoInsets): Improved comments.
9433 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9436 * Thesaurus.C: update for Aiksaurus 0.14
9438 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9440 * text2.C (firstParagraph): removed member function, all uses
9441 replaces with ownerParagraph
9442 (redoParagraphs): here
9444 (toggleAppendix): here
9445 * BufferView2.C (insertErrors): here
9446 (setCursorFromRow): here
9448 2002-01-13 Allan Rae <rae@lyx.org>
9450 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9451 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9452 There is still a way to segfault this although you may have to do this
9453 multiple times: Have an InsetERT with an unknown command in it.
9454 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9455 <down-arrow>, <Enter> again, View->DVI, BANG!
9457 * text2.C (setCursor):
9458 (deleteEmptyParagraphMechanism):
9459 * lyxtext.h (setCursor):
9460 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9461 Making use of the return value may help fix other bugs.
9463 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9465 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9467 * LyXView.C (updateMenubar): call MenuBar::update here
9468 (updateToolbar): but not here
9469 (showState): do not update toolbar/menubar
9471 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9472 should need to care about that.
9474 * lyxfunc.C (verboseDispatch): simplify a bit
9475 (getStatus): have a version which takes a pseudoaction, and
9476 another which requires a (kb_action,string).
9478 * LyXAction.C (retrieveActionArg): make it work also when action
9479 is not a pseudo-action.
9480 (getActionName): simplify a bit
9483 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9485 * lyxfunc.C (verboseDispatch): new families of methods with
9486 several ways to specify a command and a bool to indicate whether
9487 the command name and shortcut should be displayed in minibuffer
9488 (eventually, we could extend that to a finer bitmask like
9489 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9490 (dispatch): the pristine dispatch command which just, well,
9491 dispatchs! Note it still sets its result to minibuffer; I'm not
9494 * lyxfunc.h: remove setHintMessage
9496 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9498 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9500 * BufferView_pimpl.C (specialChar): delete new inset if we have
9501 not been able to insert it.
9503 * kbmap.C: revert to using int instead of kb_action, since all we
9504 are dealing with is pseudo-actions.
9506 * LyXAction.C (searchActionArg): change to return int instead of
9507 kb_action, since the result is a pseudoaction.
9509 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9511 * buffer.C (insertErtContents): Fix (partially) the font bug.
9513 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9515 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9516 as the other one is broken on my machine!
9518 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9521 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9523 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9525 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9526 reflect their actual use. Provide compatibility code for older lyxrc
9529 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9531 change names of popup font variables in line with the changes to lyxrc.C
9533 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9535 * buffer.C (asciiParagraph): avoid outputing a word twice after
9538 * lyxrc.C (getDescription): document that document_path and
9539 template_path can be empty.
9541 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9543 * LaTeXFeatures.C (getMacros):
9544 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9546 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9548 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9550 (getPackages): rename feature "floats" to "float". Use an array to
9551 iterate over 'simple' features (i.e. just a \usepackage). Add
9552 handling of "amsmath" (renamed from "amsstyle").
9554 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9556 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9559 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9561 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9562 FuncStaus::FuncStatus & FuncStaus::some_method().
9564 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9566 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9567 of the func_satus stuff. Edited and massaged in various ways by
9570 * lyxfunc.C (getStatus): use FuncStatus
9572 2002-01-08 Juergen Vigna <jug@sad.it>
9574 * text.C (nextBreakPoint): use function Inset::isChar().
9576 * paragraph.C (TeXOnePar): use function
9577 Inset::forceDefaultParagraphs.
9579 * buffer.C (latexParagraphs): use function
9580 Inset::forceDefaultParagraphs.
9582 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9584 * lyx_gui.C (init): set the style of the menu popups to
9585 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9587 2002-01-07 Juergen Vigna <jug@sad.it>
9589 * text.C (setHeightOfRow): small fix
9590 (prepareToPrint): don't look at alignment if we don't have the place
9593 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9595 * box.C: New file. Move the Box methods and functions out of box.h,
9596 following Lars' suggestion.
9598 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9600 * box.h: #include "support/LOstream.h", needed for inlined function.
9603 * lyxtextclasslist.C: added some using std declarations.
9605 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9607 * box.h: make signed dimensions to allow insets wider than
9608 the screen (bug #162)
9610 * BufferView_pimpl.C: add some insetHit debug
9612 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9614 * vc-backend.C: add FIXME
9616 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9618 * lyxfunc.C (getStatus): enable code for showing math font status
9621 2002-01-07 Juergen Vigna <jug@sad.it>
9623 * text.C (nextBreakPoint): removed debug output not needed anymore.
9625 2002-01-06 Juergen Vigna <jug@sad.it>
9627 * text.C (nextBreakPoint): fixed up this function we had this bug
9628 since ever but now hopefully we break row better.
9629 (insertChar): we have to check if an inset is the next char as it
9630 could now happen that a large inset is causing a break.
9632 2002-01-05 Juergen Vigna <jug@sad.it>
9634 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9635 if it doesn't like to be drawed.
9637 2002-01-04 Juergen Vigna <jug@sad.it>
9639 * BufferView2.C (lockInset): forgot to set a cursor.
9641 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9643 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9648 * form_maths_panel.C:
9649 * form_maths_panel.h:
9650 * form_maths_panel.fd: implemented sub- and super- buttons in math
9653 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9654 (or ^ space) to be used as in TeX (req'd by André).
9656 * lyxfunc.C: Allow ^ and _ again to be used both as
9657 super/subscript (mathed) and as themselves (in text).
9659 2002-01-03 Allan Rae <rae@lyx.org>
9661 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9662 "LyX" or the filename of the current buffer if it has one. This is a
9663 modified form of John Levon's patch.
9665 * XFormsView.C (setWindowTitle): also set icon title.
9667 * LyXView.h (setWindowTitle): signature changed.
9668 * XFormsView.h (setWindowTitle): ditto.
9670 2002-01-02 Juergen Vigna <jug@sad.it>
9672 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9674 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9676 * screen.C (topCursorVisible): introduce a temp var for
9677 text->cursor.row(), handle the case where this row is null. (kindo
9680 * text2.C (setCursor): add a couple of asserts.
9682 * paragraph.h (inset_iterator): add -> operator
9684 * paragraph.[Ch] (autoDeleteInsets): remove member function
9686 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9687 cursor pos correctly and handle inset deletion by itself.
9688 (insertErrors): move iterator declaration out of for expression
9690 * lyxtextclass.C: add <algorithm>
9692 * Makefile.am: added the new files to sources, removed layout.C
9694 * layout.C: removed file
9696 * layout.h: remove LYX_DUMMY_LAYOUT
9698 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9702 * lyxtextclass.[Ch]:
9703 * lyxtextclasslist.[Ch]: new files
9705 * include order changes to a lot of files, also changes because of
9708 2001-12-27 Juergen Vigna <jug@sad.it>
9710 * buffer.C (asciiParagraph): more fixes.
9712 * tabular.C (ascii): make ascii export support export of only the
9713 data separated by a column-delimiter.
9714 (ascii): better support for ascii export.
9716 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9718 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9720 * tabular_funcs.C: use a "using std::getline" instead of the
9721 previous fix from Angus (necessary for cxx + lyxstring)
9723 2001-12-24 Juergen Vigna <jug@sad.it>
9725 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9727 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9728 problems. First check a minipage also if we have some ert-contents
9729 (not only on par->size(), second set the right depth of the paragraph
9730 on the relink to the root-paragraph-list!
9732 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9733 which then did not anymore update the main paragraphs on undo/redo!
9735 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9737 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9738 code. Support all font-changing funcs (even those which are not in
9739 menu currently). Support for reporting font settings in
9740 mathed (disabled until Andre provides a function on mathed's side).
9742 * func_status.h (toggle): small helper function to set toggle
9745 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9747 * tabular_funcs.C: getline -> std::getline
9749 2001-12-21 Juergen Vigna <jug@sad.it>
9751 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9752 accessed and could be 0 (I couldn't generate this but it seems
9755 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9757 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9758 * tabular_funcs.h: here and include iosfwd
9760 2001-12-20 Juergen Vigna <jug@sad.it>
9762 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9763 inside inset but undo_par was.
9765 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9767 * Thesaurus.C: always include <config.h> in sources.
9771 * box.h: do not include <config.h> in header files
9773 * text.C (paintLastRow): remove unused variable
9775 * text.C (transformChar):
9777 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9780 * font.C (width): rewrite to use uppercase() instead of
9783 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9785 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9787 * lyxfind.C: clean up of find failure position change
9789 2001-12-20 Juergen Vigna <jug@sad.it>
9791 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9793 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9794 (TeXRow): added to LaTeX a single tabular row.
9795 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9796 (Latex): simplified and finally good LT-h/f support.
9797 (various_functions): just small adaptions for LT-h/f support.
9799 * tabular_funcs.[hC]: added and moved here all not classfunctions
9802 2001-12-19 Juergen Vigna <jug@sad.it>
9804 * tabular.[Ch]: better support for longtabular options (not finished
9807 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9809 * text.C (paintLastRow): use the label font instead of the font of
9810 the last character to compute the size of *_BOX. This makes more
9811 sense and avoids a crash with empty paragraphs.
9812 Use Painter::rectangle to draw EMPTY_BOX.
9814 2001-12-19 Juergen Vigna <jug@sad.it>
9816 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9817 the paragraphs if the replaced paragraph is not the first one!
9818 Tried to delete not used paragraphs but does not work yet so for
9819 now it's inside #ifdef's and by default off!
9821 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9823 * MenuBackend.C: include "lyx_main.h" instead of declaring
9824 lastfiles (actually was declared as LastFiles* instead of a
9827 2001-12-17 Juergen Vigna <jug@sad.it>
9829 * tabular.C (AppendColumn): applied John's fix
9831 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9835 * BufferView_pimpl.h:
9836 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9839 * box.h: new start of class for above
9841 * lyxfunc.C: ignore space-only minibuffer dispatches.
9842 Show the command name when it doesn't exist
9844 * minibuffer.C: don't add empty lines to the history
9846 * minibuffer.C: add a space on dropdown completion
9848 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9850 * text.C: fix line above/below drawing in insets
9852 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9854 * lyxlength.C (LyXLength): Initialize private variables.
9856 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9858 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9859 when inserting error insets.
9861 2001-12-13 Juergen Vigna <jug@sad.it>
9863 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9864 actually sometimes the before-paragraph.
9865 (setUndo): don't clear the redostack if we're not actually undoing!
9867 2001-12-06 Juergen Vigna <jug@sad.it>
9869 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9870 and fixed redoing of main paragraph, so we can use it now ;)
9872 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9874 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9876 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9879 2001-12-13 André Pönitz <poenitz@gmx.net>
9882 * undo_func.C: minor cleanup
9884 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9886 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9887 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9888 font in urw-fonts package which is marked as -urw-fontspecific and
9889 does not work (incidentally, changing the encoding in the
9890 fonts.dir of this package to -adobe-fontspecific fixes the
9893 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9894 is a crash when undoing first paragraph (Juergen, please take a
9895 look). THis does not mean the undo fix is wrong, just that it
9898 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9899 the (Paragraph*) version when needed instead of duplicating the
9902 * text.C (workWidth): use Inset::parOwner to find out where the
9903 inset has been inserted. This is a huge performance gain for large
9904 documents with lots of insets. If Inset::parOwner is not set, fall
9905 back on the brute force method
9907 * paragraph_pimpl.C (insertInset):
9908 * paragraph.C (Paragraph):
9909 (cutIntoMinibuffer): set parOwner of insets when
9910 inserting/removing them
9912 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9914 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9920 * mathed/formulabase.C:
9921 * mathed/math_cursor.[Ch]:
9922 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9925 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9927 * lyxlength.[Ch] (operator!=): new function
9929 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9931 * text.C (workWidth): use Inset::parOwner to find out where the
9932 inset has been inserted. This is a huge performance gain for large
9933 documents with lots of insets. If Inset::parOwner is not set, fall
9934 back on the brute force method
9936 * paragraph_pimpl.C (insertInset):
9937 * paragraph.C (Paragraph):
9938 (cutIntoMinibuffer): set parOwner of insets when
9939 inserting/removing them
9941 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9943 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9945 * tabular-old.C (getTokenValue):
9946 * tabular.C (getTokenValue):
9947 (write_attribute): new versions for LyXLength
9948 (everywhere): adjust the use of widths
9950 * tabular.h: change the type of widths from string to LyXLength
9952 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9954 * paragraph.C: fixed missing line number count when exporting
9955 Environments to LaTeX file
9957 * buffer.C: added informational message for checking line numbers.
9959 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9961 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9962 paragraph, do the 'double space' part, but not the 'empty
9965 * text.C (workWidth): small optimization
9966 (getLengthMarkerHeight): use minimal size for negative lengths.
9968 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9970 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9972 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9974 2001-12-11 André Pönitz <poenitz@gmx.net>
9977 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9979 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9981 * text2.C: keep selection on a setFont()
9983 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9985 * lyx_cb.C: another bv->text misuse, from insert label
9987 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9990 * kbsequence.C: re-instate nmodifier mask
9992 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9994 * lyx_main.h: make lyxGUI private.
9996 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9998 * lyxfind.C: place the cursor correctly on failed search
10000 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10002 * text.C (getLengthMarkerHeight): for small heights, the arrows
10003 are not always on top/bottom of the text
10004 (drawLengthMarker): smaller arrows; take the left margin in
10005 account; draw also vfills.
10007 (paintLastRow): remove special code for vfill and standard spaces,
10008 since everything is handled in drawLengthMarker now.
10010 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10012 * buffer.C (insertErtContents): try to handle font and language
10013 interaction a bit better.g
10015 * ColorHandler.C (updateColor): change the hash to cover the whole
10016 LColor enum, ws cleanup
10017 (getGCLinepars): ditto
10018 (getGCLinepars): only lookup in the linecache once.
10020 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10022 * iterators.C (operator++): Make the iterator more robust
10024 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10026 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10028 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10031 * text.C: better added space drawing
10033 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10036 * BufferView2.C: fix layout combo update on inset unlock
10038 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10040 * Makefile.am: don't compile unused files
10042 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10046 * LyXAction.C: remove old LFUN_LAYOUTNO
10048 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10050 * paragraph_pimpl.h:
10051 * paragraph_pimpl.C: isTextAt() doesn't need font param
10053 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10056 * lyxlex.C: little cleanup
10058 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10060 * BufferView_pimpl.C: fix insertAscii for insets
10062 2001-12-05 Juergen Vigna <jug@sad.it>
10064 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10065 set the right font on the "multi" paragraph paste!
10067 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10073 * lyxlength.C: remove out-commented code.
10075 * BufferView_pimpl:
10089 * vc-backend.C: change "while(" to "while ("
10091 * lyxlength.[Ch]: add zero function to check if length is zero or
10093 * lyxgluelength.C: use it
10095 2001-12-05 Allan Rae <rae@lyx.org>
10097 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10098 Works for 2.95.3, from what I understand of Garst's reports this should
10099 work for other g++ versions. We're screwed if the abs(int) definition
10100 changed between bugfix releases of gcc.
10102 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10104 * text.C: fix chapter label offset !
10106 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10109 * text.C: fix hfill at end of line, clean up
10111 2001-12-04 Juergen Vigna <jug@sad.it>
10113 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10114 that we force an update of the inset and it's owners if neccessary.
10116 2001-12-03 Juergen Vigna <jug@sad.it>
10118 * text.C (rowLast): simplified code
10120 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10122 * lyxfunc.C: fix show options on timeout
10124 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10126 * screen.C (topCursorVisible): scroll half a page when the cursor
10127 reached top of bottom of screen
10129 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10131 * minibuffer.C: deactivate on loss of focus
10133 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10135 * vspace.[Ch] (operator!=): add operator.
10137 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10139 * BufferView_pimpl.C: refuse to open an inset when
10140 there's a selection.
10142 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10144 * BufferView_pimpl.C: allow to click on RHS of full row insets
10146 2001-11-30 Juergen Vigna <jug@sad.it>
10148 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10149 insets for undo reasons.
10151 2001-11-28 André Pönitz <poenitz@gmx.net>
10153 * vspace.[Ch]: cosmetical changes
10155 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10165 * kbsequence.C: part re-write of old kb code
10168 * WorkArea.C: remove Lgb_bug_find_hack
10170 2001-11-30 José Matos <jamatos@fep.up.pt>
10172 * buffer.C (makeDocBookFile): add a comment to point a hack.
10173 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10174 Fixed a double write of labels.
10176 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10179 * LaTeX.h Fixed bug in LaTeX class where it would not
10180 re-run latex if no depfiles were changed, but the .dvi was removed.
10182 2001-11-28 André Pönitz <poenitz@gmx.net>
10184 * all the files from the change on 2001/11/26:
10185 use lyx::layout_type instead of LyXTextClass::size_type
10186 use lyx::textclass_type instead of LyXTextClassList::size_type
10188 2001-11-29 Juergen Vigna <jug@sad.it>
10190 * text.C: added support for paragraph::isFreeSpacing()
10192 * buffer.C: same as above
10194 * paragraph.h: inserted isFreeSpacing() function to enable
10195 FreeSpacing inside InsetERT.
10197 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10198 of the paragraph's in the cut/copy buffer to 0!
10200 * text2.C (removeRow): remove the assert as it can!
10202 * lyxtext.h: added helper function firstRow returning firstrow and
10203 made firstrow private again.
10205 * BufferView2.C (lockInset): don't relock if we're already locked!
10207 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10208 the only paragraph.
10209 (removeRow): added Assert::(firstrow)
10211 * debug.C: forgot to add INSETTEXT here.
10213 2001-11-28 Juergen Vigna <jug@sad.it>
10215 * sp_spell.C (initialize): changed error text to more general
10216 spellchecker command use (not only ispell!)
10218 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10220 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10222 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10224 * vspace.C: initialise lyxgluelength on failure
10226 2001-11-28 Allan Rae <rae@lyx.org>
10228 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10229 declaration & definition that looks like a function declaration.
10231 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10233 * BufferView2.C (copy):
10234 (copyEnvironment): do not clear the selection when doing a copy.
10236 * text.C (paintFirstRow): compilation fix
10238 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10240 * tabular.C (Latex): correct line count when writing latex.
10242 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10244 * paragraph_pimpl.h:
10245 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10248 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10252 * LColor.C: change vfillline->added_space
10254 * text.C: add markers and text for added space
10256 * vspace.C: fix comment
10258 2001-11-28 André Pönitz <poenitz@gmx.net>
10260 * paragraph.C: whitespace changes
10261 * all the other files from the change on 2001/11/26:
10262 change *::pos_type into lyx::pos_type
10264 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10266 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10267 language of the document when inserting error insets.
10269 2001-11-26 André Pönitz <poenitz@gmx.net>
10271 * BufferView_pimpl.[Ch]:
10279 * paragraph_pimpl.[Ch]:
10282 * text2.C: reduce header dependencies, introduce type for positions
10284 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10286 * <various>: change to use Alert.h
10288 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10290 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10291 when encountering an unknown token.
10292 (readLyXformat2): Show an error message if there were unknown tokens.
10294 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10297 * BufferView_pimpl.C:
10301 * text2.C: use par->isInset()
10303 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10305 * paragraph_pimpl.h:
10306 * paragraph_pimpl.C: cleanup
10308 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10310 * text2.C (removeRow):
10311 * text.C (setHeightOfRow): remove useless (and costly) call to
10314 2001-11-20 Allan Rae <rae@lyx.org>
10316 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10317 Now need Inset*::checkInsertChar() to return true for appropriate
10318 cases so that the characters in the minibuffer will actually be
10321 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10323 * text.C: change the order of the includes.
10324 (workWidth): initialize it at once.
10325 (workWidth): make maxw unsigned
10326 (setHeightOfRow): remove unused variable (inset)
10327 (selectSelectedWord): remove unused variable (inset)
10328 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10330 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10332 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10333 server is not running.
10335 (closeConnection): add debug info when server is disabled.
10337 * ColorHandler.C (getGCForeground): send debug message to GUI
10340 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10342 * kbmap.C (bind): modify because return conventions of
10343 kb_sequence::parse have changed.
10345 * kbsequence.C (parse): only ignore spaces and not any stupid
10346 control character. This avoids tests like s[i] <= ' ', which are
10347 guaranteed to fail with 8bit characters and signed chars.
10348 Change return code to string::npos when there have been no error
10349 (0 was a bad idea when error is at first character)
10351 2001-11-14 José Matos <jamatos@fep.up.pt>
10354 * buffer.C (simpleDocBookOnePar): removed unused argument.
10356 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10358 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10359 insets which are part of a word. Paragraph::isLetter takes care of
10360 that now. Use Paragraph::isInset to identify insets.
10361 (selectSelectedWord): do not test for hyphenation break.
10363 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10364 that protected spaces are considered as spaces.
10366 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10369 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10372 * lyxserver.C: fix it. and small cleanup.
10374 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10376 * BufferView_pimpl.C: use inline helpers
10379 * LaTeXFeatures.C: fix typos
10382 * Spacing.C: move spacing_string into class
10384 * ToolbarDefaults.C: move stuff into namespace anon
10386 * layout.h: update enum
10388 * lyxfunc.C: use better debug
10390 * minibuffer.h: fix typo
10394 * WorkArea.C: add and use Debug::WORKAREA
10398 * text2.C: code re-organisation, inline helpers
10400 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10402 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10403 std::vector.empty().
10405 2001-11-09 Allan Rae <rae@lyx.org>
10407 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10408 '\n's after tables. Tabular and ERT inset work now makes this no
10411 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10414 * minibuffer.C: fix crash, improve drop-down completion
10416 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10419 * lyxserver.C: invalidate fd's when doing endPipe()
10421 2001-11-08 José Matos <jamatos@fep.up.pt>
10423 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10424 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10427 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10429 2001-11-07 José Matos <jamatos@fep.up.pt>
10432 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10435 * buffer.C (sgmlOpenTag):
10436 * buffer.C (sgmlCloseTag): removed debug info.
10438 * buffer.h (sgmlOpenTag):
10439 * buffer.h (sgmlCloseTag): made public.
10441 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10443 * buffer.C (saveParamsAsDefaults):
10444 * lyx_cb.C (MenuLayoutSave): remove
10446 * LyXAction.C (init):
10448 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10450 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10452 * buffer.C (setPaperStuff): removed from here...
10454 * bufferparams.C (setPaperStuff): ... and moved there.
10456 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10460 * XFormsView.C: add support for drop-down completion
10462 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10464 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10467 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10469 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10472 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10474 * lyx_main.C: change ref to known bugs
10476 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10478 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10479 to work around older babel problems.
10481 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10483 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10485 2001-10-24 Juergen Vigna <jug@sad.it>
10487 * tabular-old.C (ReadOld): below variable changes reflected.
10489 * tabular.[Ch]: added ltType struct for longtable header/footer
10490 defines and changed all instances where they are used. Added
10491 future support for double top/bottom rows.
10493 2001-10-24 José Matos <jamatos@fep.up.pt>
10495 * buffer.h (docbookHandleCaption):
10496 * buffer.C (docbookHandleCaption): removed unused function.
10497 (makeDocBookFile): moved docbook supported version to v4.1.
10499 2001-10-24 José Matos <jamatos@fep.up.pt>
10502 * tabular.C (docbookRow): new function to export docbook code of a row.
10503 (DocBook): now honors the longtable flags.
10505 2001-10-23 José Matos <jamatos@fep.up.pt>
10508 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10509 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10511 * buffer.C (makeLinuxDocFile):
10512 (makeDocBookFile): reworked the preamble, more clean, and with
10513 support for lyx defined entities. Changed the document declaration
10514 to be more XML friendly.
10516 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10517 if we need to output XML that should be done with a filter.
10519 2001-10-22 Juergen Vigna <jug@sad.it>
10521 * sp_pspell.h (class PSpell): add alive function needed in the
10522 controller to see if the spellchecker could be started.
10524 2001-10-22 Juergen Vigna <jug@sad.it>
10526 * buffer.C (insertStringAsLines): modify the font for inserting
10527 chars in certain conditions by calling checkInsertChar(font).
10529 2001-10-19 Juergen Vigna <jug@sad.it>
10531 * text.C (workWidth): use getRow instead of wrong algorithm.
10532 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10534 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10539 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10541 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10543 * text.C (workWidth): do not search for the exact row when
10544 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10545 optimization for big documents.
10547 2001-10-18 Juergen Vigna <jug@sad.it>
10549 * text.C (workWidth): new function with added Inset * parameter.
10551 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10553 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10555 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10556 change return type of getColumnNearX.
10559 * text.C (changeRegionCase): use uppercase/lowercase instead of
10562 (rightMargin): simplify code by factoring out the uses of
10567 (appendParagraph): use Paragraph::size_type
10569 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10571 * vspace.C (asLatexString): add a missing break
10573 2001-10-15 Herbert Voss <voss@perce.de>
10575 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10577 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10579 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10582 2001-10-10 André Pönitz <poenitz@gmx.net>
10584 * lyxfunc.C: removed greek_kb_flag.
10586 2001-10-10 Herbert Voss <voss@perce.de>
10588 * lyx_main.C: delete global string help_lyxdir.
10590 2001-10-09 Herbert Voss <voss@perce.de>
10592 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10594 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10596 * lyx_main.C: added global string help_lyxdir.
10598 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10600 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10602 * lyxrc.C (set_font_norm_type): support iso8859-4
10604 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10606 * LaTeX.C (deplog): add another regex for MikTeX
10608 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10610 * lyxrc.C (set_font_norm_type): support iso8859-3
10612 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10614 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10616 * LaTeXFeatures.C: remove special case of french and index
10618 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10619 before \begin{document}). This solves several incompatibilities.
10621 2001-10-03 Garst Reese <reese@isn.net>
10623 * lyx_cb.C: change CheckTex error msg.
10625 2001-10-03 José Matos <jamatos@fep.up.pt>
10627 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10629 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10631 * .cvsignore: update
10633 * lyx_main.C (commandLineVersionInfo): use new style version info.
10635 * buffer.C (writeFile):
10637 (makeLinuxDocFile):
10638 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10640 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10642 * version.h: update to use stuff in version.C
10644 * version.C.in: new file. Contains version information determined
10645 at compile time. This is a merging of version.h and
10648 2001-10-03 Juergen Vigna <jug@sad.it>
10650 * BufferView_pimpl.C (update): don't change "dirty" status in
10653 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10655 * WorkArea.C (c-tor): re-position version string slightly.
10657 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10659 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10660 revert to previous code.
10662 WorkArea.[Ch]: (show, destroySplash): methods removed.
10664 WorkArea.C: rework code so that it's an amalgam of the codes before and
10665 after the splash screen was moved to WorkArea.
10667 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10670 * vspace.C (inPixels):
10673 * buffer.C (insertStringAsLines):
10674 (asciiParagraph): fix types to be large enough
10676 * lyxlex_pimpl.h: change member status from short to int
10678 * layout.h: fix type of endlabeltype
10681 * kbsequence.C (parse): change return type to string::size_type
10683 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10686 * Bullet.C (bulletSize):
10687 (bulletEntry): do not use short ints as parameters
10689 * BufferView2.C (insertLyXFile): change a char to an int.
10691 * WorkArea.C (WorkArea): remove unneeded floats in computation
10693 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10695 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10697 * paragraph.C (asString): Do not ignore newline/hfill chars when
10698 copying to the clipboard.
10700 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10702 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10703 after a multi-line inset.
10705 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10707 * paragraph.C (validate): Set NeedLyXFootnoteCode
10709 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10711 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10712 and decrease-error to decrease.
10714 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10716 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10717 it more readable (should be equivalent)
10719 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10721 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10723 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10725 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10726 of a cursor (row, etc.) after a character has been deleted
10727 (deleteEmptyParagraphMechanism): call the method above on _all_
10728 cursors held by the LyXText when a double space has been
10731 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10733 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10735 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10737 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10738 background. Use greyOut() and the new show() methods to toggle between
10739 the foreground and background. Add code to remove the splash after
10740 its initial showing.
10742 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10743 (create_forms): no longer call Dialogs::showSplash.
10745 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10747 * .cvsignore: add version_info.h
10749 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10751 * version_info.h.in: new file
10753 * Makefile.am: add version_info.h.in
10755 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10756 version_info.h instead of VERSION_INFO
10758 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10760 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10761 The ERT inset now returns string().
10763 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10765 * lyxtext.h, text.C (selectNextWord): renamed as
10766 selectNextWordToSpellcheck.
10768 * text.C (selectNextWordToSpellcheck): Modified to not select
10769 words inside an ERT inset.
10771 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10773 * lyx_cb.C (MenuLayoutSave): change a bit the question
10775 * sp_base.h: include <sys/types.h>
10777 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10779 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10781 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10783 * several files: fix typos in user-visible strings
10785 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10787 * text2.C (pasteSelection): do not set the selection, since it
10788 will be cleared later. Actually, the intent was to fix the way the
10789 selection was set, but I figured rmoving the code was just as good.
10791 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10793 * FontLoader.C (available): Check if font is available without
10796 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10798 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10800 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10802 * lyxrc.[Ch]: added display_graphics variable and associated code.
10804 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10806 * bufferparams.C (hasClassDefaults): new method. Returns true if
10807 the buffer parameters correspond to known class defaults
10809 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10811 * XFormsView.C (show): set minimum size to the main window.
10813 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10815 * text2.C (copySelection):
10817 * lyxfind.C (LyXReplace):
10818 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10819 LyXText::selectionAsString.
10821 * paragraph.C (asString): add "label" argument to the second form
10823 * text2.C (selectionAsString): add "label" argument and pass it to
10824 Paragraph::asString.
10826 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10828 * lyx_main.C (commandLineHelp): remove version information
10830 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10832 * lyx_main.C: add -version commandline option
10834 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10836 * paragraph.h: make the optional constructor arg required instead.
10837 some modifications to other files because of this.
10839 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10841 * lyxserver.C (C_LyXComm_callback): make it static
10843 * lyx_main.C (error_handler): make it static
10845 * lyx_gui.C (LyX_XErrHandler): make it static
10847 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10849 * WorkArea.C: make the extern "C" methods static.
10851 * Makefile.am (lyx_LDADD): simplify
10853 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10855 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10856 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10858 * LyXAction.C (init):
10859 * lyxfunc.C (dispatch): associated code removal.
10861 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10863 * lyxfont.h (isSymbolFont): shut off warning
10865 * text.C (setHeightOfRow):
10866 (getVisibleRow): fix crash with empty paragraphs which have a
10869 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10871 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10874 2001-09-04 José Matos <jamatos@fep.up.pt>
10877 * tabular.C (docbook): rename docBook method to docbook.
10879 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10881 * Makefile.am: add dependencies to main.o.
10883 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10885 * FontLoader.C (available): Return false if !lyxrc.use_gui
10887 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10889 * FontInfo.C (query):
10890 * converter.C (view):
10891 * importer.C (Import):
10892 * exporter.C (Export): Can not -> cannot.
10894 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10896 * BufferView_pimpl.C: allow to create index inset even if
10899 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10901 * buffer.C (getLists): replace boost::tie code with an explicit pair
10902 as boost::tie can break some compilers.
10904 * iterators.h: Added a std:: declaration to the return type of
10907 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10909 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10912 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10914 * iterators.[Ch]: New files. Provide paragraph iterators.
10916 * buffer.C (changeLanguage): Use paragraph iterators.
10917 (isMultiLingual): ditto
10919 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10921 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10923 * FontLoader.C: Support for cmr font.
10925 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10927 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10928 (available): New method.
10930 * FontInfo.C (getFontname): Use scalable fonts even when
10931 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10934 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10936 * converter.C (Formats::view): reverted! Incorrect fix.
10938 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10940 * converter.C (Formats::view): only output the -paper option
10941 if the dvi viewer is xdvi, thereby fixing bug #233429.
10943 2001-08-23 Herbert Voss <voss@perce>
10945 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10947 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10949 * Spacing.h (Spacing): Set space to Default on in the default
10952 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10954 * vc-backend.h (RCS::versionString): add RCS to version
10955 (CVS::versionString): add CVS to version
10957 * vc-backend.C (scanMaster): do not add CVS to version.
10958 (scanMaster): do not add RCS to version
10960 * lyxvc.C (versionString): new method
10962 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10964 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10966 * Spacing.C (set): initialize fval
10968 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10970 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10973 2001-08-16 Juergen Vigna <jug@sad.it>
10975 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10977 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10979 * BufferView_pimpl.C:
10982 * text2.C: setParagraph takes linespacing now
10984 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10986 * LyxAction.C: add internal LFUN_CITATION_INSERT
10988 * LyXView.C: actually apply fix
10990 * bufferlist.C: fix open non-existent file
10992 * lyxfind.C: fix indentation
10994 * lyxfunc.C: remove unneeded assert, fix typo
10996 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10998 * MenuBackend.C: use "Floatname List"
11000 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11002 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11003 when converting LaTeX layout to insetERT.
11004 Generate a non-collapsed float when reading old float
11006 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11008 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11011 2001-08-13 Juergen Vigna <jug@sad.it>
11013 * text.C (fill): return 0 instead of 20 as this seems to be the more
11016 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11018 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11021 2001-08-13 Juergen Vigna <jug@sad.it>
11023 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11025 (SearchBackward): comment out the unlocking of the inset_owner this
11026 should not be needed!
11028 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11030 * Many files: Remove inherit_language, and add latex_language
11032 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11033 collapsible insets.
11035 2001-08-10 Juergen Vigna <jug@sad.it>
11037 * text.C (prepareToPrint): fixed hfill-width in draw!
11039 * BufferView2.C (selectLastWord): save the selection cursor as this
11040 now is cleared in the function LyXText::clearSelection!
11042 2001-08-08 Juergen Vigna <jug@sad.it>
11044 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11045 BACKSPACE type functions.
11047 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11048 is only cutted from the document but not put in the cut-buffer, where
11049 still the old stuff should be.
11051 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11053 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11055 * tabular.C (SetWidthOfCell): fixed special case where the width
11057 (LeftLine): handle '|' in align_special.
11059 (LeftAlreadyDrawed): ditto
11060 (SetWidthOfCell): ditto
11062 2001-08-07 Juergen Vigna <jug@sad.it>
11064 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11066 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11068 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11069 * lyxlex.[hC]: ditto
11071 2001-08-06 Juergen Vigna <jug@sad.it>
11073 * text.C (getVisibleRow): fix up row clearing a bit.
11075 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11077 * minibuffer.C: make sure the X server sees the changes in the input.
11079 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11081 * paragraph.C (getFont): split into...
11082 (getLabelFont): this
11083 (getLayoutFont): and this
11084 * paragraph_pimpl.C (realizeFont): calling this
11086 * text2.C (getFont): split into...
11087 (getLayoutFont): this
11088 (getLabelFont): and this
11089 (realizeFont): all three calling this
11091 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11094 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11096 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11098 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11100 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11101 layouts from the Quote inset insertion.
11103 2001-08-03 Juergen Vigna <jug@sad.it>
11105 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11107 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11108 only if status not is already CHANGED_IN_DRAW (second level).
11110 * text.C (draw): don't set the need_break_row when inside an
11113 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11115 * buffer.C (parseSingleLyXformat2Token): handle more latex
11118 * bufferview_funcs.[hC]: change function names to
11119 begin with small char, adjust other files.
11121 2001-08-02 André Pönitz <poenitz@gmx.net>
11124 BufferView_pimpl.C: remove broken special code for math-greek
11126 2001-08-02 Juergen Vigna <jug@sad.it>
11128 * BufferView_pimpl.C (update): redone this function so that we
11129 update the text again if there was a CHANGE_IN_DRAW.
11131 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11132 (drawFromTo): added a new internal bool which is used by draw() and
11134 (general): some cursor drawing problems fixed.
11136 2001-08-01 Juergen Vigna <jug@sad.it>
11138 * lyxfind.C (LyXFind): fixed
11139 (SearchForward): ditto
11140 (SearchBackward): ditto
11142 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11143 spurius drawing of the cursor in the main area.
11145 * text2.C (status): small fix which could lead to a segfault!
11146 (clearSelection): remove unneeded BufferView param.
11148 2001-08-01 André Pönitz <poenitz@gmx.net>
11150 * lyxfunc.C: small change due to changed mathed interface
11152 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11154 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11156 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11158 * lyxfunc.c: fail gracefully if file doesn't exist
11163 * BufferView_pimpl.C: IsDirWriteable() proto changed
11165 * LyXView.C: fix updateWindowTitle() to store the last title
11167 2001-07-31 Juergen Vigna <jug@sad.it>
11169 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11170 the font (wrong since using of Paragraph::highestFontInRange).
11172 * paragraph.C (highestFontInRange): added a default_size parameter.
11174 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11175 (setHeightOfRow): reformat
11177 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11179 * converter.[hC] + affected files: move to (inital-char)lowercase
11182 * ParagraphParameters.C (ParagraphParameters): remove commented code
11184 * PainterBase.[Ch]: remove commented code
11186 * LaTeXFeatures.h: add "bool floats" for float.sty
11188 * LaTeXFeatures.C (LaTeXFeatures): init floats
11189 (require): handle float
11190 (getPackages): do it with floats
11192 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11194 * BufferView_pimpl.C (Dispatch): improve handling of
11195 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11197 * commandtags.h: #include lyxfont.h here temporarily to avoid
11200 * bufferlist.h: include LString.h here.
11202 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11204 * text2.C (getStringToIndex): new method.
11206 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11208 * *: Reduced header file dependencies all over.
11210 2001-07-30 Baruch Even <baruch@lyx.org>
11212 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11214 2001-07-29 Baruch Even <baruch@lyx.org>
11216 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11218 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11220 * ParameterStruct.h (endif): add a default constructor to make
11221 sure that all variables is initialized.
11223 * ParagraphParameters.C (ParagraphParameters): adjust
11225 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11227 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11228 index; also, check that there is something to index, and that it
11229 does not span over several paragraphs.
11230 (doubleClick): use WHOLE_WORD_STRICT for double click.
11232 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11234 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11237 2001-07-26 Baruch Even <baruch@lyx.org>
11239 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11240 an InsetFig figure, backwards compatible reading of old figure code.
11242 2001-07-27 Juergen Vigna <jug@sad.it>
11244 * text2.C: font.realize function adaption.
11246 * text.C (draw): add a warnings lyxerr text if needed.
11248 * layout.C: font.realize function adaption.
11250 * language.C: add inherit_language and implement it's handlings
11252 * bufferview_funcs.C (StyleReset): remove language parameter from
11253 font creation (should be language_inherit now).
11255 * bufferparams.C (writeFile): handle ignore_language.
11257 * paragraph.C (getFontSettings): the language has to be resolved
11258 otherwise we have problems in LyXFont!
11260 * lyxfont.C (lyxWriteChanges): added document_language parameter
11261 (update): removed unneeded language parameter
11263 * paragraph.C (validate): fixed wrong output of color-package when
11264 using interface colors for certain fonts in certain environments,
11265 which should not seen as that on the final output.
11267 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11269 * BufferView_pimpl.C:
11274 * LyXAction.C: add thesaurus support
11277 * lyxfind.C: add "once" parameter, for thesaurus, to not
11278 move to the next match
11280 2001-07-26 Juergen Vigna <jug@sad.it>
11282 * lyxfont.C (realize): honor ignore_language too!
11285 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11287 * text.C (draw): one place more for ignore_language to not draw
11290 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11292 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11294 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11296 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11297 the minipage conversion problem.
11299 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11301 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11304 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11306 * BufferView.h: don't forward declare WorkArea
11308 * BufferView.C: don't include WorkArea.h
11310 2001-07-25 André Pönitz <poenitz@gmx.net>
11314 * lyxfunc.C: new LFUN 'math-space'
11316 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11318 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11320 * text2.C (toggleInset): call open/close
11322 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11324 * lyxfunc.C (dispatch): add debug for the disabled case
11326 * font.C (buttonText): make similar to rectText
11328 * buffer.C (readInset): comment out parsing of insetlist and
11331 * PainterBase.C (rectText): small correction
11333 * BufferView_pimpl.C: comment out insettheorem and insetlist
11334 * LyXAction.C: ditto
11335 * commandtags.h: ditto
11337 2001-07-24 Juergen Vigna <jug@sad.it>
11339 * text.C (draw): honor the ignore_language.
11341 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11343 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11345 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11348 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11350 * lyxtext.h: remove unused (and unimplemented) methods
11352 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11354 * text.C (getVisibleRow): honor background color
11357 * Painter.h: remove default color argument for fillRectangle
11359 * text.C (backgroundColor): new method
11361 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11363 * text.C (getVisibleRow): adjust
11365 * font.[Ch] (rectText): new method, metrics
11366 (buttonText): new method, metrics
11368 * PainterBase.[hC]: make rectText and buttonText always draw and take
11371 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11373 * ToolbarDefaults.C (read):
11374 * MenuBackend.C (read): allow escaping in all strings
11376 * BufferView_pimpl.C (insertAndEditInset): new method.
11377 (Dispatch): use insertAndEditInset whenever appropriate.
11379 * BufferView_pimpl.C (insertNote): removed
11381 * BufferView_pimpl.C (smartQuote): new method, moved from
11382 BufferView; if an insetquote cannot be inserted, insert a '"'
11385 * BufferView2.C: remove insertCorrectQuote();
11387 * lyxfunc.C (getStatus): Add support for all remaingin
11388 inset-insert lfuns.
11390 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11392 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11393 command (necessary to pass " as parameter of self-insert.
11395 * text.C (selectWordWhenUnderCursor):
11396 (selectWord): add word_location parameter
11397 (selectWordWhenUnderCursor): same + remove special code for word
11399 (selectNextWord): use kind() to guess type of insetspecialchar,
11402 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11403 (insertErtContents): create ert insets as collapsed.
11404 (readInset): better compatibility code for Info inset.
11406 2001-07-20 Juergen Vigna <jug@sad.it>
11408 * lyxfunc.C (dispatch): use always LyXFind now!
11410 * text2.C (init): add a reinit flag so that the LyXText can be
11411 reinited instead of deleted and reallocated (used in InsetText).
11413 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11419 2001-07-18 Juergen Vigna <jug@sad.it>
11421 * text.C (selectNextWord): handle insets inside inset by calling
11422 always the bv->text functions so that we can go up the_locking_inset!
11424 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11425 in strange locations when inside an inset!
11427 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11428 handling to include insets.
11430 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11432 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11434 * LyXAction.C (init):
11436 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11437 LIGATURE_BREAK, since the name is so stupid.
11439 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11441 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11444 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11446 * sp_form.[Ch]: remove.
11448 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11450 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11453 * src/buffer.C (readInset): ditto.
11455 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11457 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11458 menuSeparator(), endOfSentenceDot(), ldots() and
11459 hyphenationPoint(), which are therefore removed.
11460 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11462 * LyXAction.C (init):
11463 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11465 * paragraph.C (getWord): removed.
11467 * BufferView_pimpl.C (Dispatch): use last word or selection for
11468 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11470 * lyx_main.C (queryUserLyXDir): do not ask before creating
11471 user_dir, except if it has been named explicitely.
11473 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11475 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11476 a document of zero size.
11478 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11480 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11481 approriately in the c-tor and in require().
11482 (getPackages): output the appropriate LaTeX for natbib support.
11484 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11485 variables "use_natbib" and "use_numerical_citations" when reading the
11487 (readInset): read the various natbib cite commands.
11488 (validate): white-space change.
11490 * bufferparams.[Ch]: new variables "bool use_natbib" and
11491 "bool use_numerical_citations".
11492 (writeFile): output them in the LyX file.
11494 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11496 * lyxfunc.C (getStatus): add support for all the inset insertion
11499 * text2.C (insertInset):
11500 * paragraph.C (insetAllowed):
11501 * BufferView_pimpl.C (insertInset): update to take in account the
11502 renaming of insertInsetAllowed
11504 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11506 * text2.C (getInset): new method. returns inset at cursor position.
11508 * BufferView_pimpl.C (Dispatch): changes because of this.
11510 * LyXAction.C (init): rename open-stuff to inset-toggle.
11512 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11514 * text2.C (toggleInset): renamed from openStuff; use
11517 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11519 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11521 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11523 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11525 * buffer.C (readLyXformat2): Add filename to the error dialog
11527 2001-07-18 Juergen Vigna <jug@sad.it>
11529 * tabular.C (GetCellNumber): put an assert here instead of the check!
11531 2001-07-17 Juergen Vigna <jug@sad.it>
11533 * BufferView_pimpl.C (toggleSelection): adapted too.
11535 * text.C (selectNextWord): adapted for use with insets.
11536 (selectSelectedWord): ditto
11538 2001-07-17 Juergen Vigna <jug@sad.it>
11540 * sp_spell.C (PSpell): fix initialitation order.
11542 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11544 * paragraph.C: spacing
11546 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11548 * sp_spell.C: repair language selection for pspell
11550 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11552 * lyxfunc.h: change more methods to begin with lower char.
11554 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11556 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11557 for unknown layouts.
11559 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11561 * buffer.C (readLyXformat2): Generate an error dialog if there are
11564 2001-07-16 Juergen Vigna <jug@sad.it>
11566 * sp_spell.C: always compile ISpell part.
11568 * lyxrc.C: added use_pspell entry and it's handling.
11570 2001-07-13 Juergen Vigna <jug@sad.it>
11572 * sp_spell.C: removed double includes.
11574 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11576 Consistent use of Lsstream.h:
11577 * Lsstream.h: added using std::stringstream for consistencies sake.
11579 * buffer.C: removed using std::stringstream
11581 * lyxfont.C (stateText):
11582 * paragraph.C (asString):
11583 * text.C (selectNextWord, selectSelectedWord):
11584 * text2.C (setCounter):
11585 * vspace.C (asString, asLatexString):
11586 std::ostringstream -> ostringstream.
11588 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11590 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11591 * commandtags.h: add LFUN_HELP_ABOUTLYX
11592 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11594 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11596 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11598 * lyx_gui_misc.C: remove spellchecker
11599 * lyxfunc.C: showSpellchecker
11601 * sp_ispell.h: added
11602 * sp_pspell.h: added
11603 * sp_spell.C: added
11604 * sp_form.[Ch]: removed
11605 * spellchecker.[Ch]: removed
11607 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11609 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11611 (simpleTeXSpecialChars): Simply print the input character without
11612 any special translation if pass_thru is set.
11614 * layout.h: Added bool pass_thru to layout class for being able to
11615 implement pass through of a paragraph for Literate Programming.
11617 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11618 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11619 * layout.C (Read): add "passthru" to list of layout tags and add
11620 code to set the pass_thru boolean when it is read.
11622 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11624 * trans_decl.h: remove allowed from KmodInfo
11626 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11627 remove allowed code
11630 * paragraph_pimpl.C (erase): use boost::prior
11632 * Painter.C (text): use data() instead of c_str() when length is
11634 * WorkArea.C (putClipboard): ditto
11635 * font.h (width): ditto
11637 * BufferView2.C: use it-> instead of (*it). for iterators
11639 * paragraph_pimpl.C: ditto
11640 * paragraph.C: ditto
11641 * minibuffer.C: ditto
11642 * language.C: ditto
11644 * encoding.C: ditto
11645 * counters.C: ditto
11646 * converter.C: ditto
11648 * Variables.C: ditto
11649 * TextCache.C: ditto
11650 * MenuBackend.C: ditto
11651 * LyXAction.C: ditto
11653 * FloatList.C: ditto
11654 * DepTable.C: ditto
11655 * ColorHandler.C (LyXColorHandler): ditto
11657 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11659 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11661 * text2.C (openStuff): reintroduce this method (which had been
11662 nuked in NEW_INSETS frenzy).
11664 * lyxfunc.C (Dispatch): when an action has not been handled, use
11665 its name in the error message, not its number.
11667 * paragraph.C (inInset): change method name to begin with lowercase.
11670 * text2.C: updates because of this.
11672 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11674 * ToolbarDefaults.C (add): add spaces in error message
11676 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11678 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11679 (readLyXformat2): rename return_par to first_par, use lyxlex's
11680 pushToken and remove the manual push handling.
11681 (parseSingleLyXformat2Token): add another ert comp. variable:
11682 in_tabular, rename return_par to first_par. handle newlines better
11684 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11686 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11688 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11690 * text2.C (getParFromID): removed
11692 * buffer.C (getParFromID): new method moved form lyxtext.
11693 * BufferView2.C (insertErrors): adjust
11694 (setCursorFromRow): adjust
11695 * BufferView_pimpl.C (restorePosition): adjust
11696 * lyxfunc.C (Dispatch): adjust
11697 * undo_funcs.C (textUndo): adjust
11699 (textHandleUndo): adjust
11700 (textHandleUndo): adjust
11702 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11704 * buffer.C: up' the LYX_FORMAT
11706 * lyxfont.h: turn NO_LATEX on as default
11708 * buffer.C (insertErtContents): new methods of tex style compability.
11709 (parseSingleLyXformat2Token): use it several places.
11710 * tabular.C (OldFormatRead): and here
11712 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11714 * text2.C: remove some commented code.
11717 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11718 * trans.C: changes because of the above.
11720 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11722 * text2.C (setCounter): Fix counters bug with bibliography layout.
11724 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11726 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11727 own member functions
11728 (simpleTeXSpecialChars): ditto
11730 2001-07-06 Juergen Vigna <jug@sad.it>
11732 * a lot of files: changed the access to LyXText::status and the
11733 call of undo-functions.
11735 * undo.[Ch]: added a inset_id to the undo informations.
11737 * undo_funcs.[Ch]: added and moved here all undo functions.
11739 * lyxtext.h: give the status enum a weight, made status_ a private
11740 variable and made accessor functions for it, removed the whole bunch
11741 of undo-functions as they are now in their own file, make some
11742 functions publically available. Added function ownerParagraph with
11745 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11746 made InInset() a const function, added getParFromID() function.
11748 * buffer.[Ch]: added const version for inset_iterator functions,
11749 added getInsetFromID() function.
11751 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11752 changed undo functions for new version.
11754 2001-07-05 Juergen Vigna <jug@sad.it>
11756 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11757 unknow mechanism does not call the proper constructor but only this
11758 one also if I request the other!?
11760 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11762 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11764 * text2.C (LyXText): use initialization lists.
11766 * lyxtext.h (Selection): initialize set_ and mark_
11767 (init): remove method
11769 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11771 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11773 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11775 * screen.[Ch]: change method names to begin with lowercase
11777 * BufferView_pimpl.C (updateScrollbar): simplify further and
11778 hopefully make it a bit faster.
11780 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11782 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11783 calling directly xforms functions.
11785 * Painter.C (Painter):
11786 * lyx_cb.C (MenuWrite):
11787 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11790 * lyx_gui.C: remove bogus guiruntime extern declaration.
11792 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11794 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11796 (redoDrawingOfParagraph): ditto
11797 (redoParagraphs): ditto
11798 (cutSelection): don't create a object for CutAndPaste use the
11799 static method directly
11800 (pasteSelection): ditto
11802 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11805 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11807 * modifications to some other files because of this.
11809 * Makefile.am (lyx_SOURCES): add XFormsView
11811 * XFormsView.[Ch]: new files
11813 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11814 the main window. Move the gui dependent stuff to XFormsView
11816 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11818 * tabular.C (GetCellInset): update cur_cell also in the row/col
11819 version of this function.
11821 * lyxfunc.C: no need to include figure_form.h here.
11827 * lyxvc.C: no need to include forms.h here.
11829 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11831 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11833 * lyxfunc.C (Dispatch):
11835 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11836 constructor argument.
11838 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11840 * paragraph.C (Paragraph): dont't clear, and just set layout.
11841 (makeSameLayout): use params's copy contructor.
11843 * ParagraphParameters.[Ch] (makeSame): delete method
11845 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11847 * Variables.[Ch]: fix indentation, rename set to isSet
11849 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11851 * lyxfunc.C (Dispatch): fix typo
11853 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11855 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11858 * bufferlist.C: include assert.h for emergencyWrite().
11860 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11862 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11863 give up at last (bug #425202) !
11865 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11871 * spellchecker.C: strip spellchecker options and bring up
11872 preferences tab instead
11874 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11876 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11877 the istringstream constructor
11879 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11881 * paragraph.C (getLayout): fix return value
11883 * paragraph.h: do not declare getLayout as inline.
11885 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11887 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11889 * lyxcursor.h (operator<): new func
11890 (operator>): new func
11891 (operator>=): new func
11892 (operator<=): new func
11894 * text.C (changeCase): use selection.start and selection.end
11895 (changeRegionCase): require from to be <= to. Require par to be a
11898 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11900 2001-06-27 Juergen Vigna <jug@sad.it>
11902 * text.C (cursorLeftOneWord): changed to return the cursor and added
11903 overlay with BufferView * parameter which calls this one.
11905 (selectWord): use new getWord function.
11906 (changeCase): renamed from changeWordCase as and extended to work
11907 also on selections.
11909 * lyxtext.h: added enum word_location
11911 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11912 changeCase as this operates now also on selections.
11914 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11916 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11918 * many files: send debug output to Debug::INFO instead of
11921 * converter.C (View):
11923 (Move): send debug output to Debug::FILES instead of console.
11925 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11927 * lyxfunc.C (getStatus): use func_status
11929 * func_status.h: new header, describing the results of
11930 LyXFunc::getStatus;
11932 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11935 2001-06-25 The LyX Project <jug@sad.it>
11937 * buffer.C (sgmlOpenTag):
11939 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11941 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11943 * text2.C: remove some dead code
11945 * tabular.C (GetCellInset): store the last cell checked (gotten)
11947 * tabular.h: add the helper for the speedup
11949 * lyxtext.h: remove some dead code
11951 2001-06-26 The LyX Project <Asger>
11953 * paragraph.C: Change export to LaTeX of alignment to
11954 \begin{center} and family for better roundtrip work with reLyX.
11956 * Tune the math drawing a bit.
11958 2001-06-25 The LyX Project <Asger>
11960 * LColor.C (LColor): New color for math background. New color
11963 2001-06-25 The LyX Project <jug@sad.it>
11965 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11967 * lyxfunc.C (Open):
11968 * bufferlist.C (newFile): do not restrict to files ending with
11971 * BufferView_pimpl.C (MenuInsertLyXFile):
11973 2001-06-24 The LyX Project <jug@sad.it>
11975 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11978 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11980 * lyxtext.h: rename most methods to begin with a small char.
11981 Lots of changes because of this.
11983 * paragraph.C (Paragraph): do not call fitToSize
11984 (erase): call Pimpl::erase
11985 (insertChar): call Pimpl::insertChar
11986 (insertInset): call Pipl::insertInset
11987 (breakParagraph): do not call fitToSize
11988 (breakParagraphConservative): do not call fitToSize
11989 (fitToSize): remove method
11991 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11993 2001-06-24 The LyX Project <Asger>
11995 * Fix Qt compilation^2
11997 2001-06-24 The LyX Project <jug@sad.it>
11999 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12000 depthHook(getDepth()-1).
12003 * ParagraphParameters.h:
12004 * ParameterStruct.h: change type of depth to unsigned int ==
12005 depth_type. Many adaptations to other files before of that.
12007 2001-06-24 The LyX Project <Asger>
12009 * Fix Qt compilation.
12011 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12013 * paragraph.h: renamed several methods to begin with small letter.
12014 several changes to many parts of the code because of this.
12016 2001-06-23 The LyX Project <jug@sad.it>
12018 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12019 rewritten to discard all double spaces when KeepEmpty is off
12020 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12021 to only handle newlines but not fiddle with spaces and friends.
12023 * lyxfunc.C (MenuNew): when doing 'new from template', use
12024 template_path as default directory
12026 2001-06-23 The LyX Project <Asger>
12028 * Clean-up of header file includes all over
12029 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12031 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12033 * paragraph.h: renamed from lyxparagraph.h
12035 2001-06-23 Asger <lyx@violet.home.sad.it>
12037 * Buffer.h: Removed Buffer::resize
12038 * BufferList.h: Removed BufferList::resize
12039 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12040 the document lazily when we change the width, or the font settings.
12042 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12044 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12046 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12048 * buffer.h: remove out of date comment
12050 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12053 * screen.C: fix "theoretical" GC leak
12055 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12057 * LaTeX.C (scanAuxFile):
12058 (deplog): remove trailing \r when reading stream (useful under
12061 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12063 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12064 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12065 and BufferView::theLockingInset(Inset*), so should use them and not
12066 access bv_->text->the_locking_inset directly.
12068 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12070 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12073 * tex-defs.h: remove old unused file
12075 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12077 * BufferView_pimpl.C: fix typo, remove minibuffer message
12078 when buffer has loaded
12080 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12082 * lyxfunc.C (Dispatch): use stringstream
12083 (MenuNew): use stringstream
12084 (Open): use stringstream
12086 * importer.C (Import): use stringstream
12088 * bufferview_funcs.C (CurrentState): use stringstream
12090 * LaTeX.C (run): use stringstream
12092 * BufferView_pimpl.C (savePosition): use stringstream
12093 (restorePosition): use stringstream
12094 (MenuInsertLyXFile): use stringstream
12096 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12109 * vspace.C: removed // -*- C++ -*- as first line.
12112 * version.h: added // -*- C++ -*- as first line.
12114 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12116 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12118 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12121 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12123 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12126 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12128 * gettext.C: include LString.h even when --disable-nls is on.
12130 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12132 * converter.h (Get): changed argument type from int to
12133 FormatList::size_type to avoid unnecessary conversion.
12135 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12138 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12140 * gettext.h: include LString.h even when --disable-nls is on.
12142 2001-06-07 Juergen Vigna <jug@sad.it>
12144 * text.C (BreakAgain): subst spaces with tabs.
12146 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12147 (resizeInsetsLyXText): set force on resizeLyXText.
12149 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12151 * gettext.h (gettext_init):
12152 (locale_init): use a real definition instead of a macro
12154 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12156 * Bufferview_pimpl.C:
12158 * LColor.C: further lcolor tidies
12160 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12162 * BufferView_pimpl.C (updateScrollbar): simplify.
12164 * BufferView2.C: don't include insets/insetinfo.h, change
12165 prototype for insertInset and call the Pimpl version. let
12166 updateInset call Pimpl version.
12168 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12169 gotoInset to BufferView::Pimpl
12171 2001-06-01 Juergen Vigna <jug@sad.it>
12173 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12174 inside a LockingInset (is the update needed at all?).
12176 2001-05-31 Juergen Vigna <jug@sad.it>
12178 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12179 here not the old one otherwise how should we compare it afterwards
12182 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12187 * FontInfo.C: bring C functions into global namespace when
12190 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12192 * LString.h: make sure config.h has been loaded before LString.h.
12194 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12195 (one for each char read by EatLine!).
12197 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12200 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12202 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12203 to the same as the par we break from
12205 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12207 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12209 * MenuBackend.C (expand): also create menu entries for wide
12210 versions of the floats.
12212 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12214 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12216 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12217 frontends/Makefile.am
12223 * tabular.C (getTokenValue): add std::
12225 * tabular-old.C (getTokenValue): add std::
12226 (getTokenValue): ditto
12227 (getTokenValue): ditto
12229 * screen.C (ToggleSelection): adjust
12231 * lyxtext.h: put selection cursors inside a Selection struct.
12233 * lyxfunc.C (moveCursorUpdate): adjust
12235 * lyxfont.C (latexWriteStartChanges): add std::
12237 * lyxfind.C: adjust
12239 * font.h: delete with(char const *, LyXFont const &)
12241 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12243 * FontInfo.C (getFontname): add std::
12245 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12246 (workAreaButtonPress): adjust
12247 (tripleClick): adjust
12249 (moveCursorUpdate): adjust
12252 * BufferView2.C (gotoInset): adjust
12254 2001-05-30 Juergen Vigna <jug@sad.it>
12256 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12257 to check pspell I add this as default as I now have new pspell
12258 libraries and they seem to use this.
12260 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12262 * text2.C (CutSelection): make the cursor valid before the call to
12265 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12267 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12268 relied on 0 terminated strings and other horrors. Bug found due to
12269 the new assert in lyxstring!
12271 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12274 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12276 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12279 * lyxfunc.C (processKeySym): change method of getting to the
12282 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12283 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12284 * BufferView_pimpl.[Ch]: here as private methods.
12286 2001-05-28 Juergen Vigna <jug@sad.it>
12288 * text.C (SetHeightOfRow): added the update() call again as it is
12289 needed to initialize inset dimensions!
12291 2001-05-16 Juergen Vigna <jug@sad.it>
12293 * text2.C (SetCharFont): Add new function with BufferView * and
12294 bool toggleall parameters for setting insets internal fonts.
12295 (SetFont): Freeze the undo as we may change fonts in Insets and
12296 all this change should be inside only one Undo!
12298 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12299 setting font's in insets as for them we have the SetFont function!
12301 2001-05-15 Juergen Vigna <jug@sad.it>
12303 * text2.C (ClearSelection): to be sure we REALLY don't have any
12306 * tabular.C (TeXCellPreamble): fixed the left border problem for
12309 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12311 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12314 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12316 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12317 LFUN_BREAKPARAGRAPH.
12319 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12320 help test to "internal only", similar for LFUN_INSERT_URL
12322 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12323 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12324 auto_region_delete and deadkeys.
12326 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12329 * LColor.C: remove some dead entries, tidy a little
12331 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12333 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12335 (Dispatch): implement LFUN_ESCAPE
12337 * commandtags.h: add LFUN_ESCAPE
12339 * LyXAction.C (init): add entry for LFUN_ESCAPE
12341 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12342 Remove commented code.
12343 (insertNote): moved here
12344 (open_new_inset): moved here
12346 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12349 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12351 * kbmap.C (findbinding): clean it up and make it work correctly.
12353 * lyx_main.C (init): do not pass argc and argv as parameters
12355 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12357 * buffer.C: fix path for OS/2 & Win32
12361 * lyx_main.C: Added os:: class.
12363 * os2_defines.h: update
12365 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12367 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12368 better by trying again with reduced state.
12370 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12372 * lyxrc.C (read): print error about invalid key sequence only when
12373 debugging (because not all latinX keysyms are known to some X
12376 * kbsequence.C (getiso): add a few std:: qualifiers
12377 (getiso): comment out extra return statement.
12379 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12381 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12383 (Dispatch): enhance the accent inset a bit. (not perfect)
12385 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12387 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12389 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12391 * bufferlist.C (emergencyWrite): fix assert() call
12393 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12395 * text.C (InsertChar): Added trivial patch to only send the "you
12396 can not do multiple spaces this way" message once during a
12399 2001-05-08 Baruch Even <baruch@lyx.org>
12401 * Makefile.am: Changed order of libraries to get LyX to link properly
12402 with the gnome frontend.
12404 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12406 * LaTeXFeatures.h: add a std:: qualifier
12408 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12410 * paragraph.C (String): use stringstream
12412 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12414 * paragraph.C (writeFile): remove footflag arg
12416 * buffer.C (makeLaTeXFile): use stringstream
12417 (latexParagraphs): remove footnot gurba
12419 * LaTeXFeatures.C (getPackages): use stringstream
12420 (getMacros): likewise
12421 (getTClassPreamble): likewise
12422 (getFloatDefinitions): new method
12424 * paragraph.C (writeFile): reindent
12427 * WorkArea.h: revert the xpos + etc changes.
12429 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12431 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12433 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12434 (pasteSelection): likewise
12435 * text2.C (CreateUndo): likewise
12437 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12439 * minibuffer.C (peek_event): temporarily reduce the functionality
12440 of the minibuffer (to allow args on lfuns)
12442 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12443 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12445 * buffer.C (readInset): add compability reading of old float
12446 lists, add reading of new style float list.
12447 (readInset): avoid reevaluation of inscmd.getCmdName()
12448 (getLists): reindent
12450 * MenuBackend.C (MenuItem): implement parsing of
12451 md_floatlistinsert and md_floatinsert.
12452 (expand::LastFiles): move initalizaton of iterators out of loop,
12453 avoid reevaluation.
12454 (expand::Documents): introduce typdedef vector<string> Strings,
12456 (expand::ExportFormats): introduce typedef vector<Format const *>
12457 Formats, and use it.
12458 (expand): implement FloatListInsert and FloatInsert.
12460 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12461 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12462 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12464 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12466 (Dispatch::LFUN_FLOAT_LIST): implement
12468 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12470 * LaTeX.C (run): Fix problem with --export code.
12472 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12474 * BufferView.[Ch] (workarea): removed.
12475 (getClipboard) new method; wrapper for workarea()->getClipboard()
12477 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12480 * WorkArea.h (width, height, xpos, ypos): These methods all
12481 returned the dimensions of the work_area sub-area of WorkArea,
12482 resulting in a position error if the WorkArea were resized. Now
12483 return the dimensions of the entire WorkArea.
12485 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12487 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12489 * LaTeX.C (deplog): correct the syntax of regex reg1
12491 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12493 * undo.C: remove !NEW_INSETS cruft
12495 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12497 * text2.C: remove !NEW_INSETS cruft
12499 * text.C: remove !NEW_INSETS cruft
12501 * tabular.C: remove !NEW_INSETS cruft
12503 * spellchecker.C: remove !NEW_INSETS cruft
12505 * lyxtext.h: remove !NEW_INSETS cruft
12507 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12509 * lyxfunc.C: remove !NEW_INSETS cruft
12511 * lyxfind.C: remove !NEW_INSETS cruft
12513 * lyx_cb.C: remove !NEW_INSETS cruft
12515 * figureForm.C: remove !NEW_INSETS cruft
12517 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12519 * buffer.[Ch]: remove !NEW_INSETS cruft
12521 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12523 * CutAndPaste.C: remove !NEW_INSETS cruft
12525 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12527 * BufferView2.C: remove !NEW_INSETS cruft
12529 * BufferView.h: remove !NEW_INSETS cruft
12531 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12533 * Lsstream.h: include LString.h before the sstream headers to
12534 fix problem with gcc 2.95.3 and lyxstring
12536 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12538 * lyx_main.C: add using directives when needed for C functions
12539 declared in std:: namespace.
12541 2001-04-27 Juergen Vigna <jug@sad.it>
12543 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12544 (SetHeightOfRow): comment out the update call should not be needed!
12546 2001-04-13 Juergen Vigna <jug@sad.it>
12548 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12549 (LyXTabular): tried to minimize operator= operations (and realized
12550 hopfully Lars wish).
12552 2001-04-27 Juergen Vigna <jug@sad.it>
12554 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12556 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12558 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12560 * buffer.C (readInset): hack to make listof algorithm work
12562 * BufferView_pimpl.C: hack to make listof algorithm work
12564 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12566 * LyXAction.C: removed all !NEW_INSETS cruft
12567 (init): moved lfun_item in method
12569 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12571 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12573 * BufferView2.C (theLockingInset): white space.
12575 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12577 * minibuffer.C: include <iostream>
12579 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12581 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12583 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12585 * text.[Ch] (TransposeChars): new method
12587 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12589 * call message directly through LyXView instead of through LyXFunc
12590 * BufferView2.C: adjust
12591 * BufferView_pimpl.C: adjust
12592 * FontLoader.C: adjust
12594 * bufferview_funcs.C: adjust
12595 * converter.C: adjust
12596 * figureForm.C: adjust
12597 * importer.C: adjust
12599 * lyx_gui_misc.C: adjust
12600 * lyxfunc.C: adjust
12603 + more files in subdirs
12605 * lyxparagraph.h (size): move up int file
12608 * adjust all uses of Assert to lyx::Assert.
12610 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12611 lyxfunctional in namespace lyx
12612 * layout.C (hasLayout): ditto
12615 (delete_layout): ditto
12616 (NumberOfClass): ditto
12617 * converter.C (GetFormat): ditto
12622 * bufferlist.C (getFileNames): ditto
12623 (emergencyWriteAll): ditto
12626 * MenuBackend.C (hasSubmenu): ditto
12629 * BufferView_pimpl.C (getInsetByCode): ditto
12631 2001-04-18 Juergen Vigna <jug@sad.it>
12633 * vspace.C (asLatexString): fixed the 100% problem.
12635 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12637 * lyxfunc.C (Dispatch):
12639 * minibuffer.h: add a few std:: qualifiers
12641 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12643 * minibuffer.[Ch]: reimplement so that commands is initiated and
12644 run from lyxfunc, simplified som handling, and made the completion
12645 and history code for complete. wip.
12647 * lyxfunc.C (processKeySym): call message
12648 (miniDispatch): new temporary method
12649 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12650 (LFUN_MESSAGE): implement
12651 (LFUN_MESSAGE_PUSH): implement
12652 (LFUN_MESSAGE_POP): implement
12653 (initMiniBuffer): the initial/defualt minibuffer message.
12655 * lyxfont.[Ch]: inline some more getters
12657 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12659 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12661 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12662 (AutoSave): use LFUN_MESSAGE
12663 (Reconfigure): ditto
12665 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12667 * figureForm.C: use LFUN_MESSAGE
12669 * converter.C (runLaTeX): use LFUN_MESSAGE
12671 * bufferview_funcs.C: use LFUN_MESSAGE
12673 (changeDepth): ditto
12675 * bufferparams.h: use boost::
12677 * bufferlist.h: inherit privately from noncopyable
12679 * bufferlist.C (loadLyXFile): remove some commented code.
12681 * buffer.C (runChktex): use LFUN_MESSAGE
12683 * ShareContainer.h: inherit privately from noncopyable
12685 * ParagraphParameters.[hC] (depth): inline it.
12687 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12689 (message): new method
12690 (messagePush): ditto
12691 (messagePop): ditto
12692 (show): init minibuffer
12693 (showState): direct call
12695 * LaTeX.[Ch]: inherit privately from noncopyable
12696 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12697 instead of WriteStatus.
12699 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12701 * BufferView_pimpl.C (buffer): don't init minibuffer
12702 (workAreaButtonPress): use LFUN_MESSAGE
12703 (workAreaButtonRelease): ditto
12704 (savePosition): ditto
12705 (restorePosition): ditto
12706 (MenuInsertLyXFile): ditto
12707 (workAreaExpose): don't init minibuffer
12708 (update): remove commented code, simplify
12710 * BufferView2.C (openStuff): use LFUN_MESSAGE
12711 (toggleFloat): ditto
12714 (copyEnvironment): ditto
12715 (pasteEnvironment): ditto
12720 (updateInset): remove some commented code
12722 * lastfiles.h: inherit privately from noncopyable
12725 * lyx_main.h: ditto
12727 * lyxlex_pimpl.h: ditto
12729 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12730 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12731 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12733 * LyXAction.h: inherit privately from noncopyable, add methods
12734 func_begin, func_end, returning iterators to the func map.
12736 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12737 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12738 (func_begin): new method
12739 (func_end): new method
12741 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12743 (copySelection): ditto
12744 (pasteSelection): ditto
12746 * BufferView.C: whitespace change
12747 * BufferView.h: inherit privately from noncopyable
12749 2001-04-16 Allan Rae <rae@lyx.org>
12751 * tabular-old.C (l_getline):
12752 * spellchecker.C (sc_check_word):
12753 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12754 an unrecognised preprocessor directive. So ensure they're wrapped.
12756 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12758 * src/exporter.C (Export): Give an error message when path to file
12761 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12763 * LaTeX.C (deplog): Always check that foundfile exists.
12765 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12768 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12770 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12772 * tabular.[Ch] (getLabelList): implement new method
12774 * minibuffer.h: comment ouf setTiimer
12776 * minibuffer.C (ExecutingCB): constify res
12777 (peek_event): constify s
12778 (Set): constify ntext
12779 (Init): constify nicename
12781 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12783 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12784 (savePosition): use two params to Minibuffer::Set
12785 (restorePosition): ditto
12787 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12789 * lyx_main.C: include language.h
12791 * Makefile.am (lyx_main.o): add language.h
12793 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12799 * CutAndPaste.C: include gettext.h
12801 * lyxfont.h: remove old hack with ON and OFF.
12804 * lyxfont.h: do not include language.h...
12809 * bufferview_funcs.C:
12815 * paragraph.C: ... but do it here instead
12817 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12819 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12821 * tabular.C: small reformat
12823 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12826 (BreakParagraph): ditto
12827 (SetOnlyLayout): ditto
12830 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12833 * lastfiles.C: removed most using decl, add std:: where needed
12835 * buffer.C: ws changes
12837 * MenuBackend.C (class compare_format): put into anon namespace
12838 (expand): constify label, names, action, action2
12841 * text.C (SingleWidth): constify font
12842 (IsBoundary): constify rtl2
12843 (GetVisibleRow): constify ww
12845 * LaTeX.C (deplog): constify logfile
12847 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12849 (workAreaExpose): constify widthChange, heightChange
12851 * lyxrow.C (par): moved
12854 * lyxrow.h: as inlines here
12856 * lyxfont.h (shape): moved from lyxfont.C
12857 (emph): moved from lyxfont.C
12859 * lyxfont.C (LyXFont): use initialization list for all
12861 (shape): move to lyxfont.h as inline
12862 (emph): move to lyxfont.h as inline
12865 2001-04-04 Juergen Vigna <jug@sad.it>
12867 * vspace.C: had to include stdio.h for use of sscanf
12869 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12872 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12873 independent of xforms.
12875 2001-04-02 Juergen Vigna <jug@sad.it>
12877 * spellchecker.C: fixed namespace placing!
12879 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12881 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12882 the LyXParagraph * is 0.
12884 2001-03-29 Juergen Vigna <jug@sad.it>
12886 * vspace.C: added support for %, c%, p%, l%.
12887 (stringFromUnit): added helper function.
12888 (asLatexString): changed to give right results for the %-values.
12890 * buffer.C: convert the widthp in a width%.
12892 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12894 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12897 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12898 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12900 * lyx_cb.[Ch]: see above.
12902 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12906 * lyx.[Ch]: replaced by figure_form.[Ch].
12910 * lyxfunc.C: changed headers associated with above changes.
12912 2001-03-27 Juergen Vigna <jug@sad.it>
12914 * BufferView_pimpl.C: set the temporary cursor right!
12916 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12918 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12920 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12922 * LString.h: removed "using std::getline"!
12924 * BufferView_pimpl.C (Dispatch): changes due to changes in
12925 InsetInclude::Params.
12927 * buffer.C (tag_name): removed redundant break statements as they were
12928 producing lots of warnings with my compiler.
12930 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12932 * LString.h: add "using std::getline" when using the real <string>.
12934 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12936 * buffer.C: removed bitset usage.
12937 PAR_TAG moved to an anonymous name space.
12938 (tag_name): new funtion, also in the anonymous namespace.
12939 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12940 (makeDocBookFile): clean code. Completed transition from string arrays
12942 (SimpleDocBookOnePar): code clean.
12944 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12946 * tabular.C: add some comments.
12948 2001-03-22 Juergen Vigna <jug@sad.it>
12950 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12951 compatibility read a bit and fixed bug with minipage in different
12954 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12956 * buffer.C (pop_tag): removed.
12957 (push_tag): removed.
12958 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12959 array replaced with vector. Added support for CDATA sections.
12960 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12962 (makeDocBookFile): XML conformant declaration of CDATA section,
12963 fixed bug related to <emphasis> in the first paragraph char.
12964 (sgmlOpenTag): exclude empty tags.
12965 (sgmlCloseTag): ditto.
12967 * buffer.h (pop_tag): removed.
12968 (push_tag): removed.
12970 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12972 * language.h (Languages): added size_type and size().
12974 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12976 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12977 response on compability reading of minipages. One probliem is that
12978 the old usage of minipages was «flertydig»
12980 * several files here and in subdirs: don't use static at file
12981 scope use anon namespaces instead.
12983 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12985 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12986 LaTeX output. This is necessary for Literate document
12989 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12991 * buffer.C: insert hfill when needed.
12993 * tabular.C (l_getline): use string::erase, small whitespace change.
12995 * BufferView_pimpl.C: try the anon namespace.
12996 * WorkArea.C: ditto
12998 2001-03-16 Juergen Vigna <jug@sad.it>
13000 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13001 otherwise it won't open options-dialogs.
13003 * buffer.C: honor pextraWidth(p) on converting minipages.
13005 * tabular.C (l_getline): changed the functions to strip trailing \r.
13007 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13009 * BufferView_pimpl.C:
13010 * minibuffer..C: added "using SigC::slot" declaration.
13012 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13014 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13020 * paragraph.C: ditto
13022 * lyxtext.h: NO_PEXTRA
13024 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13026 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13027 * ParameterStruct.h: ditto
13028 * ParagraphParameters.h: ditto
13029 * lyxparagraph.h: ditto
13031 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13033 * buffer.C: add compability for minipage alignment.
13034 (latexParagraphs): remove unwanted pextra check.
13036 * several files: remove CXX_WORKING_NAMESPACES
13038 * buffer.C (pop_tag): tie is in namespace boost
13040 * BufferView.h: noncopyable is in namespace boost
13042 * lyx_main.h: ditto
13045 * lastfiles.h: ditto
13046 * bufferlist.h: ditto
13047 * ShareContainer.h: ditto
13049 * LyXAction.h: ditto
13052 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13054 * Merging changes from BRANCH_MVC back into HEAD.
13056 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13058 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13060 * BufferView_pimpl.C: change from intl.C
13064 * Makefile.am: move combox.*
13070 * intl.C: remove dialog (covered by prefs)
13072 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13074 * lyxfunc.C (Dispatch): removed redundant break statement.
13076 2001-03-14 Juergen Vigna <jug@sad.it>
13078 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13080 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13082 * buffer.C: add hack to fix compability reading of minipages.
13084 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13086 * buffer.C (getLists): Cleanup.
13088 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13090 * lyxfont.C (update): don't honor toggleall on font size.
13092 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13096 * Makefile.am: moved to frontends/xforms/
13100 * BufferView_pimpl.C: changes for moved mathpanel
13102 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13104 * gettext.h: fix gettext_init() in --disable-nls
13106 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13108 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13110 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13113 * lyx.h: strip external form
13115 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13117 * BufferView_pimpl.C: add comment, destroySplash()
13119 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13121 * BufferView_pimpl.C:
13125 * lyxfunc.C: use re-worked insetinclude
13127 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13129 * buffer.C: add using std::stringstream.
13131 * lyx_cb.C: readd using std::ios.
13133 * buffer.C: add using std::map.
13135 * BufferView_pimpl.C: add using std::vector.
13137 * ShareContainer.h: add std:: to swap.
13139 * buffer.h: add some typedefs
13140 * buffer.C (getLists): use them
13141 (getLists): renamed from getTocList.
13142 add a counter for the different float types and use it in the
13144 (getLists): use the same counter for the NEW_INSETS and the "non"
13147 * lyx_cb.h: remove unused items, includes, using etc.
13149 * ShareContainer.h: remove some commented code, add more comments
13150 and "documentation".
13152 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13154 * buffer.C (getTocList): make the list also when NEW_INSETS is
13157 * buffer.h: remove TocType
13159 * buffer.C (getTocList): change to return a map<string,
13160 vector<TocItem> >, implement for dynamic number of list.
13162 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13163 * text2.C (PasteSelection): adjust
13164 * CutAndPaste.C (pasteSelection): adjust
13166 * FloatList.C (FloatList): update from the new_insets branch.
13167 * Floating.[Ch]: ditto
13168 * LaTeXFeatures.C: ditto
13170 * lyxlex_pimpl.C: ditto
13172 * paragraph.C (Last): remove when NEW_INSETS is defined.
13174 * other file: changes because of the above.
13176 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13178 * lyxparagraph.h: rename next to next_, previous to previous_,
13179 make them private for NEW_INSETS. Rename Next() to next(),
13180 Previous() to previous().
13182 * other files: changes because of the above.
13184 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13187 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13190 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13192 * main.C (main): pass lyx_localedir to gettext_init().
13194 * gettext.h: remove locale_init and gettext_init macros
13196 * gettext.C (locale_init): new function
13197 (gettext_init): new function
13199 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13202 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13204 * Moved credits to frontends:
13205 * credits.[Ch]: removed
13206 * credits_form.[Ch]: removed
13207 * lyx_gui_misc.C: remove credits stuff
13210 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13212 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13214 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13215 unneeded destructor.
13217 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13218 a standalone pointer again.
13220 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13222 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13228 * ToolbarDefaults.C:
13237 * BufferView_pimpl.C: use new file dialog in GUII
13240 * lyx_cb.C: remove LayoutsCB to Toolbar
13242 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13244 * ShareContainer.h (get): add std:: qualifier
13246 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13248 * ShareContainer.h: define a proper ShareContainer::value_type
13249 type (and use typename to please compaq cxx)
13251 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13253 * lyxparagraph.h: move serveral local vars to
13254 ParameterStruct/ParagraphParameters., use ShareContainer in
13255 FontTable., make vars in FontTable private and add getter and
13258 * paragraph.C: changes because of the above.
13260 * lyxfont.h: remove copy constructor and copy assignment. (the
13261 default ones is ok), move number inside FontBits. move inlines to
13264 * lyxfont.C: add number to initializaton of statics, move several
13265 inlines here. constify several local vars. some whitespace
13266 cleanup. Dont hide outerscope variables.
13268 * Spacing.h: add two new constructors to match the set methods.
13270 * ShareContainer.h: new file, will perhaps be moved to support
13272 * ParameterStruct.h: new file
13274 * ParagraphParameters.h: new file
13276 * ParagraphParameters.C: new file
13278 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13279 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13281 * BufferView_pimpl.C: ParagraphParameter changes.
13282 * buffer.C: Likewise.
13283 * bufferview_funcs.C: Likewise.
13284 * text.C: Likewise.
13285 * text2.C: Likewise.
13287 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13289 * lyxfind.C (LyXReplace): do not redefine default argument in
13291 (IsStringInText): ditto
13292 (SearchForward): ditto
13293 (SearchBackward): ditto
13295 2001-03-06 Juergen Vigna <jug@sad.it>
13297 * lyxfind.C (IsStringInText): put parentes around expressions.
13299 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13301 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13303 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13305 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13307 * stl_string_fwd.h: add comment
13309 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13312 * tabular.C: remove unused DocBook methods
13318 killed DO_USE_DEFAULT_LANGUAGE
13320 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13322 * lyx_gui.C: do not include language.h.
13324 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13325 arguments in function implementation.
13327 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13329 * BufferView_pimpl.C: add <ctime>
13331 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13333 * BufferView_pimpl.C: add using std::find_if
13335 2001-02-27 José Matos <jamatos@fep.up.pt>
13337 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13340 2001-02-11 José Matos <jamatos@fep.up.pt>
13342 * buffer.C (makeDocBookFile): command styles now have a parameter as
13343 "title" by default.
13345 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13347 * layout_forms.[Ch]: removed
13348 * lyx_cb.[Ch]: out character
13349 * lyx_gui.C: out character
13350 * lyx_gui_misc.C: out character
13351 * bufferview_funcs.C: : out character,
13352 added toggleall as parameter in ToggleAndShow
13354 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13356 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13358 * text2.C (SetCurrentFont): Disable number property at boundary.
13360 2001-02-26 Juergen Vigna <jug@sad.it>
13362 * lyxfunc.C (getStatus): added a string argument override function so
13363 that this is correctly called from LyXFunc::Dispatch if it contains a
13364 do_not_use_argument which is used!
13365 (Dispatch): added check for "custom" export and call appropriate func.
13367 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13369 * lyxrc.C: Add language_command_local, language_use_babel and
13370 language_global_options.
13372 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13374 * buffer.C (makeLaTeXFile): Use language_use_babel and
13375 language_global_options.
13377 2001-02-23 Juergen Vigna <jug@sad.it>
13379 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13380 which works with LyXText and putted it inside BufferView. Here now we
13381 only call for that part the BufferView::Dispatch() function.
13383 * BufferView.C (Dispatch): added.
13385 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13386 functions which needs to use a LyXText over from LyXFunc.
13387 (MenuInsertLyXFile): added
13388 (getInsetByCode): added
13389 (moveCursorUpdate): added
13390 (static TEXT): added
13392 2001-02-22 Juergen Vigna <jug@sad.it>
13394 * BufferView_pimpl.C (update): call a status update to see if LyXText
13397 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13399 * vc-backend.C (revert): implement for CVS
13400 (getLog): implement for CVS
13402 2001-02-20 Juergen Vigna <jug@sad.it>
13404 * text2.C (ClearSelection): added BufferView param for inset_owner call
13406 * lyxfunc.C (TEXT): added this function and use it instead of
13407 directly owner->view()-text of getLyXText().
13409 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13411 * src/layout_forms.C: out preamble
13412 * src/layout_forms.h: out preamble
13413 * src/lyx_cb.C: out preamble
13414 * src/lyx_cb.h: out preamble
13415 * src/lyx_gui.C: out preamble
13416 * src/lyx_gui_misc.C: out preamble
13417 * src/lyxfunc.C: connect with guii preamble
13419 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13421 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13423 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13425 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13426 whether to run bibtex.
13428 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13430 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13432 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13434 * Makefile.am (lyx_SOURCES): removed bibforms.h
13436 * vspace.h: doxygen
13438 * text.C (GetVisibleRow): make several local vars const
13440 * tabular.C: small cleanup.
13442 * lyxserver.C (callback): use compare instead of strncmp
13444 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13445 inlines to after class or to paragraph.C
13447 * lyxfont.h: remove friend operator!=
13449 * converter.h: move friend bool operator< to non friend and after
13452 * combox.h: small cleanup
13454 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13455 to inlines after class def.
13457 * buffer.C (pop_tag): use string operations instead of strcmp
13459 * bmtable.c: doxygen, small cleanup
13461 * LaTeX.h: remove friend operator==
13463 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13475 * BufferView_pimpl.C:
13476 * BufferView.[Ch]: remove cruft
13478 2001-02-14 Juergen Vigna <jug@sad.it>
13480 * lyxfunc.C: removed #if 0 unused code
13482 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13484 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13486 * text2.C (SetSelection): added a BufferView * parameter
13488 2001-02-13 Juergen Vigna <jug@sad.it>
13490 * lyxfunc.C (Dispatch): fixed protected blank problem.
13491 * BufferView2.C (protectedBlank): added LyxText * parameter.
13493 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13494 (AppendColumn): same as above for column_info.
13496 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13497 (moveCursorUpdate): use a LyXText param for support of InsetText.
13499 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13500 (tripleClick): ditto
13502 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13504 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13506 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13508 * text2.C (SetSelection): set correct update status if inset_owner
13509 (ToggleFree): ditto
13511 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13513 * tabular.C: remove some commented code.
13515 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13517 * BufferView_pimpl.C: call hideSplash()
13519 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13522 * bibforms.h: remove
13525 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13526 add LFUN_CHILD_CREATE
13528 * counters.h: fix tiny typo
13533 * lyx.C: move splash to frontends/xforms/
13535 * lyx_gui_misc.C: move Include and Bibform to frontends
13537 * lyxvc.h: clarify comment
13539 * vspace.C: tiny housekeeping
13541 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13543 * text.C (PrepareToPrint): RTL Fix.
13545 * paragraph.C (GetUChar): New method.
13546 (String): Use GetUChar.
13548 * buffer.C (asciiParagraph): Use GetUChar.
13550 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13552 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13554 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13557 * buffer.C: rename to getLogName(), handle
13558 build log / latex log nicely
13560 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13563 * MenuBackend.h: remove support for reference menuitem type.
13565 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13567 * BufferView_pimpl.C: housekeeping
13568 * BufferView_pimpl.h:
13573 * minibuffer.h: move Timeout GUI-I
13575 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13577 * lyxrc.C (read): Update converters data-structures.
13579 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13581 * LaTeX.h (operator!=): add operator != for Aux_Info
13583 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13585 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13587 * LaTeXLog.C: deleted, useful code moved to Buffer
13590 * buffer.C: new function getLatexLogName()
13596 * lyxfunc.C: use frontends for LaTeX and VC logs
13598 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13600 * LaTeX.h: yet another std:: that Allan forgot.
13602 * Variables.C (set): renamed from isset(), because this clashes
13603 with some HP-UX macros (grr).
13605 2001-02-06 Allan Rae <rae@lyx.org>
13607 * LaTeX.h: Another bug fix. Missing std:: this time.
13609 2001-02-04 Allan Rae <rae@lyx.org>
13611 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13612 floats problem. I've left it commented out because it's not quite
13613 correct. It should also test that the current object is a table or
13614 figure inset. But I haven't gotten around to figuring out how to do
13615 that. I *think* it'll be something like: "table" == inset.type()
13617 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13620 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13622 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13623 all the citation/databases/styles in the auxilary file.
13624 (run): Rerun latex if there was a babel language error.
13626 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13628 * text.C (Backspace): Preserve the font when changing newline char
13630 (BreakParagraph): If the cursor is before a space, delete the space.
13632 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13634 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13636 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13637 new argument (code).
13638 (ChangeCitationsIfUnique): New method.
13640 * paragraph.C (GetPositionOfInset): Handle bibkey.
13642 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13644 * BufferView_pimpl.h: change type of Position::par_pos to
13645 LyXParagraph::size_type.
13647 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13649 * BufferView_pimpl.C (savePosition, restorePosition): Write
13650 messages to minibuffer.
13652 2001-01-28 José Matos <jamatos@fep.up.pt>
13654 * buffer.C (makeDocBookFile): adds support for document language.
13655 A silly restriction on the name of LatexCommand types where removed.
13656 Added support for CDATA sections, allows to chars unescaped, used
13657 among others in code, to avoid escape < and >.
13659 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13661 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13662 saved positions instrad of a stack. Furthermore, a position is
13663 stored using paragraph id/paragraph position.
13665 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13666 Remove LFUN_REF_BACK.
13668 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13670 * converter.C (dvipdfm_options): New method.
13672 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13674 * vspace.C (isValidLength): Fix for empty input string.
13676 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13678 * LyXAction.C (init): change description of LFUN_FIGURE to
13681 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13683 * LaTeX.C: add using directive
13685 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13687 * MenuBackend.C (expand): Fix the sorting of the formats.
13689 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13691 * lyx_main.C: tiny error message fix
13693 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13695 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13696 calling fl_initialize(). This fixes the problem with ',' as
13697 decimal separator in text files.
13699 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13701 * trans.C (process): Fix the keymap bug.
13703 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13705 * LaTeX.C (scanAuxFiles): New method. Provides support for
13706 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13707 (scanLogFile) Scan for "run BibTeX" messages.
13709 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13710 OT1 font encoding. Also, load the aecompl package if the ae
13713 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13715 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13717 * texrow.C (increasePos): turn two error messages into debug
13720 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13722 * LaTeX.C (scanAux): Handle the \@input macro.
13723 (runBibTeX): Use scanAux().
13725 * language.C (latex_options_): New field.
13727 * LaTeXFeatures.C (getMacros): Add language macros.
13729 * buffer.C (makeLaTeXFile): Small fix.
13731 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13733 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13735 * text2.C: add a using directive.
13737 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13742 * lyxfunc.C: kill LyXBell.
13744 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13746 * text.C (IsBoundary): Remove the error message
13748 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13750 * lyxrc.C (setDefaults): Correct initialization value for
13753 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13755 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13758 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13759 and GotoNextNote().
13761 * src/LyXAction.C: Added reference-next.
13763 * text.C (InsertChar): Use contains instead of strchr.
13765 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13767 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13769 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13770 alignment commands (when needed).
13772 * text.C (InsertChar): Add ':' to number separator chars.